:root {
  --black: #030611;
  --navy: #071239;
  --navy-deep: #04091d;
  --navy-soft: #101a49;
  --panel: rgba(8, 16, 45, 0.78);
  --panel-strong: rgba(10, 20, 58, 0.9);
  --white: #f7f9ff;
  --gray: #aab6cf;
  --gray-soft: #d8deec;
  --blue: #173f9b;
  --blue-soft: #2d65c8;
  --cyan: #37a6ff;
  --cyan-soft: #8acfff;
  --gold: #c8ad70;
  --line: rgba(138, 207, 255, 0.18);
  --line-strong: rgba(55, 166, 255, 0.42);
  --display: "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
  --arabic: "Cairo", Tahoma, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--black) 44%, #02040b 100%);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.intro-lock { overflow: hidden; }
body[dir="rtl"] { font-family: var(--arabic); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

body[dir="rtl"] .intro-title h1,
body[dir="rtl"] .navbar-brand,
body[dir="rtl"] .hero-copy h1,
body[dir="rtl"] .portrait-panel strong,
body[dir="rtl"] .section-head h2,
body[dir="rtl"] .contact-panel h2,
body[dir="rtl"] .program-banner h2,
body[dir="rtl"] .presence-panel h2 {
  font-family: var(--arabic);
  letter-spacing: 0;
}

body[dir="rtl"] .intro-title span,
body[dir="rtl"] .section-label,
body[dir="rtl"] .portrait-panel span,
body[dir="rtl"] .profile-list span,
body[dir="rtl"] .contact-grid span,
body[dir="rtl"] .timeline span {
  letter-spacing: 0.02em;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
}

.page-container { max-width: 1080px; }
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > * { width: 100%; min-width: 0; padding-inline: 12px; }
.g-4 { row-gap: 24px; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.img-fluid { height: auto; }
.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
.navbar > .container { display: flex; align-items: center; justify-content: space-between; }

@media (min-width: 992px) {
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #02040c;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.intro-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-image {
  position: absolute;
  inset: 0;
  background-image: url("full-screen.png");
  background-size: cover;
  background-position: center top;
  transform: scale(1.035);
  animation: introZoom 3400ms ease forwards;
}

.intro-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 14, 0.86) 0%, rgba(5, 15, 54, 0.34) 34%, rgba(2, 5, 14, 0.26) 70%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), transparent 35%, transparent 66%, rgba(0, 0, 0, 0.62));
}

.intro-title {
  position: absolute;
  top: clamp(42px, 9vh, 86px);
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  transform: translateX(-50%);
  text-align: center;
}

.intro-title span,
.section-label {
  display: block;
  margin: 0 0 12px;
  color: var(--cyan-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.intro-title h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(34px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.015em;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: titleReveal 1100ms cubic-bezier(.5, 0, .1, 1) 480ms forwards;
}

.intro-title span {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 700ms ease 250ms forwards;
}

.intro-enter {
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  border: 1px solid rgba(138, 207, 255, 0.34);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  background: rgba(3, 8, 24, 0.48);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-enter:hover { border-color: var(--cyan-soft); color: var(--cyan-soft); }

.site {
  opacity: 1;
  overflow: hidden;
  transition: opacity 700ms ease, transform 700ms ease;
}

.site.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.profile-nav {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 14, 0.86);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 29, 78, 0.55);
}

.lang-btn {
  min-width: 34px;
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--gray);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.lang-btn.active {
  color: #031022;
  background: var(--cyan-soft);
}

.hero-block {
  position: relative;
  padding: 106px 0 46px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 18, 57, 0.96), rgba(3, 6, 17, 0.98)),
    var(--navy);
}

.hero-block::before,
.program-banner::before,
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(55, 166, 255, 0.12) 38.2%, transparent 39.6%),
    linear-gradient(165deg, transparent 0 62%, rgba(138, 207, 255, 0.08) 62.2%, transparent 63.4%);
  opacity: 0.7;
}

.hero-copy { max-width: 625px; }

.hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.identity-line {
  max-width: 575px;
  margin: 14px 0 0;
  color: var(--gray-soft);
  font-size: 17px;
  line-height: 1.65;
}

.primary-role {
  margin: 16px 0 0;
  color: var(--cyan-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.role-lines {
  max-width: 580px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.role-lines p {
  margin: 0 0 8px;
  color: var(--gray-soft);
  font-size: 15px;
  line-height: 1.62;
}

.press-syndicate-line {
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-inline-start: 3px solid var(--cyan);
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(23, 63, 155, 0.56), rgba(8, 16, 45, 0.82));
  font-weight: 800;
}

.action-row,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-btn,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--white);
  background: rgba(138, 207, 255, 0.055);
  font-size: 13px;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-btn-primary {
  color: #031022;
  border-color: var(--cyan-soft);
  background: var(--cyan-soft);
}

.profile-btn:hover,
.social-links a:hover {
  color: var(--cyan-soft);
  border-color: var(--line-strong);
  background: rgba(55, 166, 255, 0.1);
  transform: translateY(-1px);
}

.profile-btn-primary:hover { color: #031022; background: #b9e2ff; }

.portrait-panel {
  position: relative;
  width: min(100%, 390px);
  height: 500px;
  margin: 0 0 0 auto;
  overflow: visible;
}

.portrait-panel::before {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 0;
  left: 34px;
  height: 390px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(55, 166, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(8, 16, 45, 0.62);
  backdrop-filter: blur(10px);
}

.portrait-rule {
  position: absolute;
  top: 32px;
  bottom: 36px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(138, 207, 255, 0.75), transparent);
}

.portrait-panel img {
  position: absolute;
  right: -84px;
  bottom: -42px;
  z-index: 1;
  display: block;
  width: auto;
  max-width: none;
  height: 610px;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.36));
}

.portrait-panel figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(235px, calc(100% - 34px));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(2, 5, 14, 0.78);
  backdrop-filter: blur(12px);
}

.portrait-panel span,
.profile-list span,
.contact-grid span,
.timeline span {
  display: block;
  color: var(--cyan-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-panel strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editorial-section { padding: 54px 0; }
.profile-section,
.platforms-section,
.timeline-section { background: var(--black); }
.program-section,
.presence-section { background: linear-gradient(180deg, #02040b, var(--navy-deep)); }
.contact-section { padding-top: 24px; padding-bottom: 70px; background: #02040b; }

.section-head {
  max-width: 710px;
  margin-bottom: 24px;
}

.section-head h2,
.contact-panel h2,
.program-banner h2,
.presence-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.bio-panel,
.contact-panel,
.presence-panel,
.program-banner,
.quote-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.bio-panel { padding: 22px; }
.bio-panel > p {
  margin: 0 0 14px;
  color: var(--gray-soft);
  font-size: 15px;
  line-height: 1.75;
}

.focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.focus-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan-soft);
  background: rgba(55, 166, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.profile-list article,
.contact-grid a,
.contact-grid div,
.platform-grid article,
.timeline article {
  border: 1px solid var(--line);
  background: rgba(138, 207, 255, 0.035);
}

.profile-list article {
  min-height: 112px;
  padding: 17px;
  border-radius: 14px;
}

.profile-list .press-card {
  position: relative;
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(23, 63, 155, 0.48), rgba(8, 16, 45, 0.7));
}

.profile-list .press-card::before {
  content: "";
  position: absolute;
  inset-block: 16px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 99px;
  background: var(--cyan);
}

.profile-list p {
  margin: 8px 0 0;
  color: var(--gray-soft);
  font-size: 14px;
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.platform-grid article {
  min-height: 210px;
  padding: 18px;
  border-radius: 16px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.platform-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(55, 166, 255, 0.08);
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan-soft);
  background: rgba(23, 63, 155, 0.34);
  font-weight: 800;
}

.platform-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.platform-grid p {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.65;
}

.program-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(23, 63, 155, 0.42), rgba(3, 6, 17, 0.9)),
    var(--panel-strong);
}

.program-banner > * { position: relative; z-index: 1; }
.program-banner p:not(.section-label) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--gray-soft);
  font-size: 15px;
  line-height: 1.75;
}

.quote-section { padding-block: 44px; background: #02040b; }
.quote-card {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
  padding: 28px 30px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(13, 29, 78, 0.84), rgba(2, 5, 14, 0.92)),
    var(--panel-strong);
}

.quote-card > * { position: relative; z-index: 1; }
.quote-card::after {
  content: "";
  position: absolute;
  right: 28px;
  left: 28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-soft), transparent);
  opacity: 0.65;
}

.quote-mark {
  display: block;
  height: 22px;
  color: rgba(138, 207, 255, 0.5);
  font-size: 58px;
  line-height: 0.7;
}

.quote-ar {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--arabic);
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
}

.quote-divider {
  width: min(420px, 70%);
  height: 1px;
  margin: 18px auto;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.quote-translation {
  max-width: 720px;
  margin: 7px auto 0;
  color: var(--gray-soft);
  font-size: 14px;
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.timeline article {
  position: relative;
  min-height: 150px;
  padding: 18px;
  border-radius: 16px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 21px;
  inset-inline-start: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan-soft);
  border-radius: 50%;
  background: var(--navy-deep);
}

.timeline p {
  margin: 10px 0 0;
  color: var(--gray-soft);
  font-size: 13px;
  line-height: 1.65;
}

.presence-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
}

.contact-panel { padding: 24px; }
.contact-note {
  max-width: 280px;
  margin: 14px 0 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-grid a,
.contact-grid div {
  min-height: 92px;
  padding: 15px;
  border-radius: 13px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-grid a:hover {
  color: var(--white);
  border-color: var(--line-strong);
  background: rgba(55, 166, 255, 0.08);
  transform: translateY(-1px);
}

.contact-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes introZoom { to { transform: scale(1); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes titleReveal { to { opacity: 1; clip-path: inset(0 0 0 0); } }

@media (max-width: 991.98px) {
  .hero-block { padding-top: 96px; }
  .portrait-panel { width: min(100%, 360px); height: 450px; margin-inline: auto; }
  .portrait-panel::before { left: 22px; height: 342px; }
  .portrait-panel img { right: -92px; bottom: -34px; height: 535px; }
  .platform-grid,
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-banner,
  .presence-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
  .container { padding-inline: 16px; }
  .profile-nav { padding: 10px 0; }
  .navbar-brand { max-width: 58vw; font-size: 12px; letter-spacing: 0.08em; }
  .lang-switch { gap: 2px; padding: 2px; }
  .lang-btn { min-width: 31px; padding: 5px 7px; font-size: 10px; }
  .intro-title { top: 44px; width: calc(100vw - 28px); }
  .intro-title h1 { font-size: clamp(30px, 8.4vw, 40px); letter-spacing: 0.02em; }
  .intro-enter { right: 50%; bottom: 20px; transform: translateX(50%); }
  .hero-block { padding: 84px 0 42px; }
  .hero-copy,
  .role-lines { width: 100%; max-width: calc(100vw - 32px); }
  .hero-copy h1 { font-size: clamp(25px, 6.8vw, 30px); line-height: 1; letter-spacing: -0.055em; white-space: nowrap; }
  body[dir="rtl"] .hero-copy h1 { font-size: clamp(28px, 7.6vw, 33px); letter-spacing: 0; }
  .identity-line { font-size: 14px; }
  .primary-role { font-size: 13px; }
  .role-lines p { font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .press-syndicate-line { width: 100%; }
  .portrait-panel { width: min(100%, 310px); height: 390px; margin-top: 4px; }
  .portrait-panel::before { right: 0; left: 18px; height: 298px; }
  .portrait-rule { top: 28px; bottom: 28px; }
  .portrait-panel img { right: -58px; bottom: -32px; height: 445px; }
  .portrait-panel figcaption { right: 12px; bottom: 12px; }
  .editorial-section { padding: 40px 0; }
  .section-head h2,
  .contact-panel h2,
  .program-banner h2,
  .presence-panel h2 { font-size: clamp(24px, 7vw, 31px); }
  .profile-list,
  .contact-grid,
  .platform-grid,
  .timeline { grid-template-columns: 1fr; }
  .profile-list article,
  .platform-grid article,
  .timeline article { min-height: auto; padding: 16px; }
  .bio-panel,
  .contact-panel,
  .presence-panel,
  .program-banner,
  .quote-card { padding: 18px; }
  .quote-ar { font-size: clamp(25px, 8vw, 34px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
