.brand strong,
.prelude {
  color: var(--gold-pale);
}
.grid-bg,
.journey-rail,
.mosaic-field,
.mosaic-field.two,
.orbit {
  pointer-events: none;
}
.about,
.journey,
.site,
.special {
  isolation: isolate;
}
.brand-seal,
.close,
.journey-ball,
.prelude,
.program-icon,
.step-icon {
  place-items: center;
}
.brand,
.developer-credit a,
.footer-route a,
.header-cta,
.nav a,
.primary,
.scroll-cue {
  text-decoration: none;
}
:root {
  --night: #102a26;
  --deep: #071714;
  --pine: #174139;
  --mist: #f6f1e8;
  --gold: #d7a94b;
  --gold-pale: #f2dca0;
  --ink: #17332d;
  --muted: #61736c;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--deep);
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--mist);
  font-family: Tajawal, Arial, sans-serif;
}
a,
button {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
.site {
  position: relative;
  overflow: clip;
  background: linear-gradient(162deg, #f9f5ed 0, #eee5d5 50%, #f8f5ef 100%);
}
.hero,
.hero-image,
.prelude {
  overflow: hidden;
}
.grid-bg {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.58;
  background-image:
    linear-gradient(
      30deg,
      rgba(23, 65, 57, 0.055) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(23, 65, 57, 0.055) 87.5%,
      rgba(23, 65, 57, 0.055)
    ),
    linear-gradient(
      150deg,
      rgba(23, 65, 57, 0.055) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(23, 65, 57, 0.055) 87.5%,
      rgba(23, 65, 57, 0.055)
    ),
    linear-gradient(
      30deg,
      rgba(23, 65, 57, 0.055) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(23, 65, 57, 0.055) 87.5%,
      rgba(23, 65, 57, 0.055)
    ),
    linear-gradient(
      150deg,
      rgba(23, 65, 57, 0.055) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(23, 65, 57, 0.055) 87.5%,
      rgba(23, 65, 57, 0.055)
    );
  background-size: 80px 140px;
  background-position:
    0 0,
    0 0,
    40px 70px,
    40px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 52%);
}
.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(215, 169, 75, 0.21);
  border-radius: 50%;
}
.orbit:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(215, 169, 75, 0.08);
}
.orbit-a {
  top: 700px;
  right: -160px;
  width: 430px;
  height: 430px;
  animation: 24s linear infinite spin;
}
.orbit-a:before {
  top: 30px;
  right: 50px;
}
.orbit-b {
  top: 1480px;
  left: -210px;
  width: 500px;
  height: 500px;
  border-color: rgba(23, 65, 57, 0.14);
  animation: 31s linear infinite reverse spin;
}
.orbit-b:before {
  bottom: 77px;
  left: 56px;
  background: var(--pine);
  box-shadow: 0 0 0 7px rgba(23, 65, 57, 0.08);
}
.prelude {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  background: radial-gradient(
    circle at 50% 40%,
    #1d4e43 0,
    #0b201b 46%,
    #05100e 100%
  );
  transition:
    opacity 0.56s var(--ease),
    visibility 0.56s;
}
.prelude.out {
  opacity: 0;
  visibility: hidden;
}
.prelude-pattern {
  position: absolute;
  inset: -20%;
  opacity: 0.27;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 35px,
    rgba(215, 169, 75, 0.25) 36px 37px,
    transparent 38px 70px
  );
}
.prelude-arch {
  position: absolute;
  bottom: -20vh;
  width: min(72vw, 950px);
  height: min(91vw, 1120px);
  border: 1px solid rgba(242, 220, 160, 0.38);
  border-radius: 48% 48% 0 0/28% 28% 0 0;
  box-shadow:
    0 0 0 24px rgba(215, 169, 75, 0.04),
    0 0 0 64px rgba(215, 169, 75, 0.025),
    inset 0 0 80px rgba(215, 169, 75, 0.08);
  animation: arch 1.5s var(--ease) both;
}
.prelude-arch.two {
  width: min(54vw, 700px);
  height: min(72vw, 860px);
  opacity: 0.45;
  animation-delay: 0.15s;
}
.prelude-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding-top: 8px;
  text-align: center;
  animation: rise 0.9s 0.45s var(--ease) both;
}
.prelude-content img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(215, 169, 75, 0.22));
}
.prelude-content span {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.prelude-content i {
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 12px;
  background: var(--gold);
}
header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  padding: 22px clamp(18px, 5vw, 72px);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: auto;
}
.brand,
.nav {
  align-items: center;
}
.brand {
  display: flex;
  gap: 10px;
  padding: 0;
  border: 0;
  color: #fff;
  background: 0 0;
  text-align: right;
}
.brand-seal {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 220, 160, 0.45);
  background: rgba(5, 16, 14, 0.33);
  backdrop-filter: blur(8px);
}
.brand-seal img,
.overlay.brochure-mode .panel-image img {
  object-fit: contain;
}
.brand strong {
  display: block;
  font:
    700 28px/1 "Aref Ruqaa",
    serif;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: clamp(15px, 2.2vw, 34px);
}
.header-cta,
.hero {
  align-items: center;
}
.header-cta,
.nav a,
.nav button {
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  background: 0 0;
  font-size: 12px;
  font-weight: 800;
  transition:
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.nav a:hover,
.nav button:hover {
  color: var(--gold-pale);
  transform: translateY(-2px);
}
.nav .active,
.programs .heading h2 em,
.scroll-cue i {
  color: var(--gold-pale);
}
.header-cta {
  display: inline-flex;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 220, 160, 0.42);
  border-radius: 999px;
  color: var(--night);
  background: var(--gold-pale);
}
.header-cta:hover {
  transform: translateY(-2px);
  background: #fff;
}
.menu {
  display: none;
  padding: 8px;
  border: 0;
  color: #fff;
  background: 0 0;
}
.hero {
  position: relative;
  display: flex;
  min-height: max(690px, 100svh);
  color: #fff;
  background: var(--deep);
}
.atmosphere,
.hero:before {
  position: absolute;
  inset: 0;
}
.eyebrow,
.overline,
em {
  color: var(--gold-pale);
}
.hero:before {
  content: "";
  z-index: 2;
  opacity: 0.7;
  background:
    linear-gradient(
      90deg,
      #071714 8%,
      rgba(7, 23, 20, 0.8) 43%,
      rgba(7, 23, 20, 0.1) 80%
    ),
    linear-gradient(0deg, rgba(5, 16, 14, 0.48), transparent 43%);
}
.atmosphere {
  z-index: 1;
  opacity: 0.16;
  background: linear-gradient(
    120deg,
    transparent 45%,
    rgba(215, 169, 75, 0.75) 45.3%,
    transparent 45.8%
  );
  background-size: 300px 300px;
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(1400px, calc(100% - 72px));
  min-height: 100svh;
  margin: auto;
  grid-template-columns: minmax(320px, 0.91fr) minmax(520px, 1.09fr);
  align-items: center;
  gap: 34px;
}
.hero-copy {
  padding-top: 58px;
}
.eyebrow,
.overline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.overline span {
  width: 27px;
  height: 1px;
  background: var(--gold);
}
h1 {
  max-width: 640px;
  margin: 17px 0 18px;
  text-wrap: balance;
}
em {
  font-style: normal;
}
.hero-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 31px;
}
.primary,
.quiet {
  display: inline-flex;
}
.primary {
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid var(--gold-pale);
  border-radius: 5px 5px 5px 20px;
  color: var(--night);
  background: var(--gold-pale);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease);
}
.quiet,
.scroll-cue {
  align-items: center;
}
.primary:hover {
  transform: translateY(-3px);
  background: #fff;
}
.quiet {
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  position: relative;
  z-index: 5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.hero-visual {
  position: relative;
  height: min(76vh, 735px);
  min-height: 540px;
  align-self: end;
}
.arch-light,
.hero-image,
.hero-image:after,
.route-badge,
.scroll-cue {
  position: absolute;
}
.hero-image {
  inset: 6% 0 0 5%;
  border: 1px solid rgba(242, 220, 160, 0.24);
  border-bottom: 0;
  border-radius: 52% 52% 0 0/20% 20% 0 0;
  box-shadow:
    0 0 0 10px rgba(242, 220, 160, 0.035),
    0 26px 80px rgba(0, 0, 0, 0.35);
}
.hero-image:after {
  content: "";
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(8, 23, 20, 0.09),
    transparent 52%,
    rgba(8, 23, 20, 0.5)
  );
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: 17s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate drift;
  will-change: transform;
}
.arch-light {
  z-index: 2;
  top: 1%;
  right: 8%;
  width: 48%;
  height: 90%;
  border: 1px solid rgba(215, 169, 75, 0.5);
  border-bottom: 0;
  border-radius: 50% 50% 0 0/20% 20% 0 0;
  opacity: 0.72;
  transform: translateX(20px);
}
.route-badge {
  z-index: 4;
  right: -7px;
  bottom: 12%;
  display: grid;
  width: 127px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 220, 160, 0.36);
  border-radius: 4px 4px 21px;
  color: #fff;
  background: rgba(9, 29, 25, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.mosaic-caption,
.scroll-cue {
  display: inline-flex;
  gap: 8px;
}
.close,
.overlay,
.program-icon {
  backdrop-filter: blur(8px);
}
.route-badge span,
.special > span {
  color: var(--gold-pale);
  font:
    700 25px/1 "Aref Ruqaa",
    serif;
}
.route-badge i {
  width: 32px;
  height: 1px;
  margin: 8px 0 6px;
  background: var(--gold);
}
.route-badge strong {
  font-size: 13px;
}
.route-badge small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
}
.scroll-cue {
  z-index: 5;
  right: clamp(18px, 5vw, 72px);
  bottom: 23px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.65);
  background: 0 0;
  font-size: 10px;
  font-weight: 800;
  animation: 2.1s ease-in-out infinite lift;
}
.about-copy h2 em,
.heading h2 em,
.mosaic-caption {
  color: var(--pine);
}
.about > :not(.section-mosaic),
.journey > :not(.section-mosaic),
.program-card > *,
.program-gallery,
.programs-intro,
.programs > :not(.section-mosaic),
.site > footer,
.site > main,
.special > * {
  position: relative;
  z-index: 1;
}
.journey:after,
.journey:before {
  position: absolute;
  z-index: -1;
  content: "";
}
.mosaic-field {
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 330px;
  opacity: 0.24;
  filter: saturate(1.05);
  background-color: #d7a94b;
  background-image: conic-gradient(
    from 22.5deg at 50% 50%,
    #174139 0 12.5%,
    #f2dca0 0 25%,
    transparent 0 37.5%,
    #174139 0 50%,
    #f2dca0 0 62.5%,
    transparent 0 75%,
    #174139 0 87.5%,
    #f2dca0 0
  );
  background-size: 72px 72px;
  mask-image: radial-gradient(circle, #000 0 65%, transparent 78%);
}
.about-copy,
.journey,
.journey-flow {
  position: relative;
}
.mosaic-field::before {
  content: "";
  position: absolute;
  inset: 13%;
  border: 2px solid rgba(215, 169, 75, 0.74);
  background: repeating-conic-gradient(
    from 22.5deg,
    rgba(23, 65, 57, 0.9) 0 12.5%,
    rgba(242, 220, 160, 0.9) 0 25%,
    transparent 0 37.5%
  );
  mask-image: linear-gradient(#000 0 0);
  transform: rotate(22.5deg);
}
.mosaic-field::after {
  content: "";
  position: absolute;
  inset: 28%;
  border: 1px solid rgba(255, 245, 205, 0.85);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      #f2dca0 0 5%,
      transparent 6% 28%,
      rgba(215, 169, 75, 0.78) 29% 31%,
      transparent 32%
    ),
    conic-gradient(
      from 45deg,
      transparent 0 12.5%,
      rgba(23, 65, 57, 0.84) 12.5% 25%,
      transparent 25% 37.5%,
      rgba(215, 169, 75, 0.8) 37.5% 50%,
      transparent 50% 62.5%,
      rgba(23, 65, 57, 0.84) 62.5% 75%,
      transparent 75% 87.5%,
      rgba(215, 169, 75, 0.8) 87.5% 100%
    );
  box-shadow:
    0 0 22px rgba(215, 169, 75, 0.5),
    inset 0 0 18px rgba(23, 65, 57, 0.55);
}
.mosaic-field.one {
  top: 58px;
  right: -70px;
  opacity: 0.42;
  transform: rotate(14deg);
}
.mosaic-field.two {
  bottom: 35px;
  left: -98px;
  width: 280px;
  height: 280px;
  opacity: 0.2;
  transform: rotate(-22deg);
  animation-delay: -6s;
}
.about-copy {
  z-index: 2;
}
.mosaic-field.three {
  top: 21%;
  left: 8%;
  width: 160px;
  height: 160px;
  opacity: 0.16;
  transform: rotate(9deg);
  animation-delay: -11s;
}
.section-mosaic {
  z-index: 0;
}
.journey > .section-mosaic {
  top: 12%;
  right: -115px;
}
.programs > .section-mosaic {
  top: 8%;
  left: -120px;
  opacity: 0.25;
}
.about > .section-mosaic {
  top: 12%;
  right: -90px;
  opacity: 0.2;
}
.mosaic-caption {
  align-items: center;
  margin-top: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(215, 169, 75, 0.45);
  border-radius: 3px 3px 11px;
  background: rgba(246, 241, 232, 0.72);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(23, 65, 57, 0.06);
}
.mosaic-caption i {
  color: var(--gold);
  font-size: 10px;
}
.section {
  width: min(1250px, calc(100% - 48px));
  margin: auto;
  padding: 120px 0;
}
.about-copy h2,
.heading h2 {
  margin: 8px 0 0;
  color: var(--night);
  letter-spacing: -0.02em;
}
.heading > p:last-child {
  max-width: 420px;
  margin: 17px 0 0;
  color: #526960;
  font-size: 14px;
  line-height: 2;
}
.journey:before {
  top: 86px;
  right: -8vw;
  width: 58vw;
  height: 510px;
  border: 1px solid rgba(215, 169, 75, 0.17);
  border-radius: 48% 48% 0 0/18% 18% 0 0;
  transform: rotate(-11deg);
}
.journey:after {
  right: -12vw;
  bottom: 7%;
  width: 62vw;
  height: 100px;
  opacity: 0.45;
  background: repeating-linear-gradient(
    145deg,
    transparent 0 37px,
    rgba(23, 65, 57, 0.1) 38px 39px,
    transparent 40px 76px
  );
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}
.journey-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 50px;
}
.journey-heading .eyebrow,
.journey-heading h2 {
  grid-column: 1;
}
.journey-heading > p:last-child {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
}
.journey-flow {
  display: grid;
  grid-template-columns: 0.88fr 1.08fr 0.88fr 1.14fr;
  gap: 22px;
  margin-top: 65px;
  padding-bottom: 14px;
}
.journey-rail {
  position: absolute;
  z-index: 0;
  right: 2%;
  left: 2%;
}
.journey-rail svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.journey-thread i,
.journey-thread:before {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
}
.route-base {
  fill: none;
  stroke: rgba(23, 65, 57, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 3 8;
}
.route-light {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 14;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(215, 169, 75, 0.75));
}
.journey-ball {
  position: absolute;
  top: 38px;
  left: 2%;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #f2dca0;
  border-radius: 50%;
  color: var(--night);
  background: radial-gradient(
    circle at 35% 30%,
    #fff7cb 0 8%,
    #e0b655 36%,
    #8e6421 100%
  );
  box-shadow:
    0 0 0 7px rgba(215, 169, 75, 0.13),
    0 0 22px rgba(215, 169, 75, 0.72);
  pointer-events: auto;
  transition:
    left 0.35s var(--ease),
    top 0.35s var(--ease);
  animation: 1.8s ease-in-out infinite ballPulse;
}
.journey-flow.route-active .journey-ball {
  animation:
    ballJourney 2.8s var(--ease) both,
    ballPulse 1.8s ease-in-out infinite;
}
.journey-flow.route-active .step {
  animation: stationGlow 0.55s var(--ease) both;
}
.journey-flow.route-active .step:nth-of-type(2) {
  animation-delay: 0.35s;
}
.journey-flow.route-active .step:nth-of-type(3) {
  animation-delay: 0.7s;
}
.journey-flow.route-active .step:nth-of-type(4) {
  animation-delay: 1.05s;
}
.journey-thread {
  position: absolute;
  z-index: -1;
  top: 60px;
  right: 3%;
  left: 3%;
  height: 2px;
  transform: rotate(-4.3deg);
  transform-origin: right center;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 8%,
    rgba(215, 169, 75, 0.42) 52%,
    var(--gold) 89%,
    transparent
  );
}
.programs,
.step {
  position: relative;
}
.journey-thread:before {
  content: "";
  right: 4%;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--mist);
}
.journey-thread:after {
  content: "";
  position: absolute;
  bottom: -116px;
  left: 3%;
  width: 1px;
  height: 115px;
  background: linear-gradient(var(--gold), transparent);
  transform: rotate(-13deg);
}
.journey-thread i {
  border-radius: 1px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 169, 75, 0.09);
  transform: rotate(45deg);
}
.journey-thread i:first-child {
  right: 24%;
}
.journey-thread i:nth-child(2),
.program-thread i:nth-child(2) {
  right: 51%;
}
.journey-thread i:nth-child(3) {
  right: 76%;
}
.step {
  padding: 0 10px;
}
.step:nth-of-type(2) {
  transform: translateY(25px);
}
.step:nth-of-type(3) {
  transform: translateY(-13px);
}
.step:nth-of-type(4) {
  transform: translateY(16px);
}
.step-index {
  display: block;
  color: var(--gold);
  font:
    700 22px/1 "Aref Ruqaa",
    serif;
}
.step-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-top: 13px;
  border: 1px solid rgba(23, 65, 57, 0.24);
  border-radius: 16px 16px 4px;
  color: var(--pine);
  background: #fbf8f0;
  box-shadow: 0 14px 25px rgba(23, 65, 57, 0.08);
  transition:
    transform 0.22s var(--ease),
    color 0.22s var(--ease),
    background 0.22s var(--ease);
}
.program-card,
.program-poster {
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.step:hover .step-icon {
  transform: translateY(-7px) rotate(-4deg);
  color: var(--mist);
  background: var(--pine);
}
.step h3 {
  margin: 18px 0 3px;
  color: var(--night);
  font:
    700 25px/1.2 "Aref Ruqaa",
    serif;
}
.step p {
  max-width: 164px;
  margin: 0;
  color: #687b73;
  font-size: 12px;
  font-weight: 700;
}
.journey-summary {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 65, 57, 0.15);
  color: var(--pine);
  font-size: 11px;
  font-weight: 800;
}
.journey-summary span,
.program-copy b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-route a:hover,
.footer-route button:hover,
.programs,
.programs .heading h2 {
  color: #fff;
}
.programs {
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100% - 1250px) / 2)) 130px;
  background: #102e29;
}
.programs:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    radial-gradient(
      ellipse at 85% 15%,
      rgba(215, 169, 75, 0.28),
      transparent 31%
    ),
    repeating-linear-gradient(
      145deg,
      transparent 0 52px,
      rgba(242, 220, 160, 0.2) 53px 54px,
      transparent 55px 104px
    );
  pointer-events: none;
}
.programs-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
}
.programs-intro > p {
  max-width: 340px;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
}
.program-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 1.18fr) minmax(230px, 0.84fr) minmax(
      180px,
      0.5fr
    );
  align-items: end;
  gap: 28px;
  margin-top: 58px;
}
.program-thread {
  position: absolute;
  z-index: 0;
  top: 54%;
  right: -2%;
  left: 3%;
  height: 2px;
  transform: rotate(10deg);
  transform-origin: right center;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215, 169, 75, 0.82) 16%,
    rgba(215, 169, 75, 0.16) 58%,
    rgba(215, 169, 75, 0.82) 90%,
    transparent
  );
  pointer-events: none;
}
.program-thread i {
  position: absolute;
  top: -5px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 5px rgba(215, 169, 75, 0.07);
}
.program-thread i:first-child {
  right: 14%;
}
.program-thread i:nth-child(3) {
  right: 85%;
}
.program-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 620px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(242, 220, 160, 0.32);
  border-radius: 2px 2px 50px;
  color: #fff;
  text-align: right;
  background: #0b201c;
  box-shadow: 0 23px 54px rgba(0, 0, 0, 0.18);
}
.program-card .program-poster,
.program-poster {
  position: absolute !important;
  z-index: 3 !important;
}
.program-card.elevated {
  min-height: 720px;
  margin-bottom: 65px;
  border-radius: 2px 52px 2px 2px;
}
.program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
}
.program-poster {
  top: 23%;
  left: 23px;
  width: 104px;
  height: 174px;
  padding: 0;
  border: 1px solid rgba(242, 220, 160, 0.75);
  border-radius: 3px 3px 17px;
  background: #f4eee2;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
  transform: rotate(-3deg);
}
.program-poster img {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top;
  filter: none !important;
}
.hover-word,
.program-icon,
.program-poster i,
.veil {
  position: absolute;
}
.program-poster i {
  right: 5px;
  bottom: 5px;
  left: 5px;
  padding: 4px;
  color: var(--night);
  background: rgba(242, 220, 160, 0.91);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}
.program-card:nth-of-type(2) .program-poster {
  top: 29%;
  transform: rotate(3deg);
}
.program-card:hover .program-poster {
  transform: translateY(-9px) rotate(-1deg) scale(1.04);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.38);
}
.program-card:nth-of-type(2):hover .program-poster {
  transform: translateY(-9px) rotate(1deg) scale(1.04);
}
.veil {
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 20, 17, 0.08) 13%,
      rgba(6, 20, 17, 0.87) 88%
    ),
    linear-gradient(110deg, rgba(215, 169, 75, 0.09), transparent 55%);
}
.program-number {
  align-self: flex-start;
  color: var(--gold);
  font:
    700 28px/1 "Aref Ruqaa",
    serif;
}
.program-icon {
  top: 23px;
  left: 23px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 220, 160, 0.5);
  border-radius: 13px 13px 3px;
  color: var(--gold-pale);
  background: rgba(6, 20, 17, 0.42);
}
.program-copy {
  display: flex;
  align-self: flex-end;
  flex-direction: column;
  align-items: flex-start;
}
.program-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}
.program-copy strong {
  margin-top: 2px;
  color: var(--gold-pale);
  font:
    700 44px/1.2 "Aref Ruqaa",
    serif;
}
.program-copy b {
  margin-top: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.hover-word {
  left: -17px;
  bottom: 18%;
  color: rgba(242, 220, 160, 0.18);
  font:
    700 58px/1 "Aref Ruqaa",
    serif;
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateX(-13px);
  transition:
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.program-card:hover {
  transform: translateY(-12px) rotate(0.35deg);
  box-shadow: 0 38px 70px rgba(0, 0, 0, 0.3);
}
.program-card:hover img {
  transform: scale(1.075);
  filter: saturate(1.12);
}
.program-card:hover .hover-word {
  color: rgba(242, 220, 160, 0.35);
  transform: rotate(180deg) translateX(0);
}
.special {
  position: relative;
  z-index: 1;
  min-height: 430px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(242, 220, 160, 0.28);
  border-radius: 2px 2px 2px 28px;
  background: linear-gradient(145deg, #1a5248, #0b2722);
}
.special > i {
  display: block;
  margin: 34px 0 14px;
  color: var(--gold-pale);
  font-size: 26px;
}
.special h3 {
  margin: 0;
  font:
    700 35px/1.2 "Aref Ruqaa",
    serif;
}
.special p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}
.special small {
  position: absolute;
  bottom: 25px;
  color: var(--gold-pale);
  font-size: 10px;
  font-weight: 900;
}
.special-orb {
  position: absolute;
  z-index: 0;
  width: 190px;
  height: 190px;
  left: -66px;
  bottom: -47px;
  border: 1px solid rgba(242, 220, 160, 0.45);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(242, 220, 160, 0.06),
    0 0 0 54px rgba(242, 220, 160, 0.04);
  animation: 16s linear infinite spin;
}
.about,
.about-image,
footer {
  position: relative;
}
.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
}
.about:before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: 12%;
  width: 45vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: rotate(-8deg);
}
.close:hover,
.nav a::after {
  background: var(--gold-pale);
}
.about:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8%;
  left: -8vw;
  width: 32vw;
  height: 310px;
  border: 1px solid rgba(23, 65, 57, 0.12);
  border-radius: 50% 50% 0 0;
}
.about-image {
  min-height: 520px;
  overflow: visible;
}
.about-image:before {
  content: "";
  position: absolute;
  top: -17px;
  right: -17px;
  width: 74%;
  height: 80%;
  border: 1px solid var(--gold);
  border-radius: 160px 160px 0 0;
  opacity: 0.52;
}
.about-image > img,
.about-wash {
  border-radius: 160px 160px 5px 5px;
  position: absolute;
}
.about-image > img {
  inset: 0;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(15, 39, 33, 0.17);
}
.about-wash {
  inset: 0 24px 24px 0;
  background: linear-gradient(0deg, rgba(10, 35, 29, 0.44), transparent 52%);
  pointer-events: none;
}
.about-stamp {
  position: absolute;
  z-index: 2;
  bottom: 6px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(215, 169, 75, 0.54);
  border-radius: 3px 3px 14px;
  color: #fff;
  background: var(--night);
  font-size: 10px;
  font-weight: 800;
}
.about-stamp img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.about-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 23px 0 0;
  color: #526960;
  font-size: 15px;
  font-weight: 500;
}
.about-details {
  display: grid;
  gap: 10px;
  margin-top: 27px;
}
.about-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pine);
  font-size: 12px;
  font-weight: 900;
}
.about-details i,
.panel-points i {
  color: var(--gold);
}
footer {
  overflow: hidden;
  color: #fff;
  background: #0b211c;
}
.footer-arch {
  position: absolute;
  top: -240px;
  left: 5%;
  width: min(65vw, 820px);
  height: 360px;
  border: 1px solid rgba(242, 220, 160, 0.15);
  border-radius: 50% 50% 0 0;
}
.footer-bottom,
.footer-inner {
  position: relative;
  width: min(1250px, calc(100% - 48px));
  margin: auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 222px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-brand img {
  width: 49px;
  height: 49px;
  object-fit: contain;
}
.footer-brand strong {
  color: var(--gold-pale);
  font:
    700 37px/1 "Aref Ruqaa",
    serif;
}
.footer-brand p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
}
.footer-route {
  display: grid;
  gap: 9px;
  justify-items: end;
}
.footer-route span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
}
.footer-route a,
.footer-route button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--gold-pale);
  background: 0 0;
  font-size: 13px;
  font-weight: 900;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid rgba(242, 220, 160, 0.13);
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  font-weight: 700;
}
.developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(242, 220, 160, 0.72);
  font-family: Georgia, serif;
  letter-spacing: 0.02em;
}
.developer-credit b {
  font-family: Tajawal, Arial, sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.developer-credit strong {
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}
.developer-credit i {
  color: var(--gold);
  font-style: normal;
  font-size: 11px;
}
.overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(4, 15, 12, 0.68);
  transition:
    opacity 0.28s var(--ease),
    visibility 0.28s;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(320px, 0.72fr);
  width: min(930px, 100%);
  min-height: 100%;
  overflow: auto;
  color: var(--night);
  background: #fbf8f0;
  transform: translateX(100%);
  transition: transform 0.52s var(--ease);
}
.overlay.open .panel {
  transform: translateX(0);
}
.close {
  position: absolute;
  z-index: 4;
  top: 19px;
  right: 19px;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 220, 160, 0.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 23, 20, 0.58);
}
.close:hover {
  color: var(--night);
}
.panel-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--night);
}
.panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 23, 20, 0.55), transparent 55%);
}
.panel-glow {
  position: absolute;
  z-index: 1;
  top: 20%;
  left: -45%;
  width: 150%;
  height: 1px;
  background: rgba(242, 220, 160, 0.8);
  transform: rotate(-45deg);
  box-shadow: 0 0 21px 6px rgba(215, 169, 75, 0.22);
}
.panel-image span {
  position: absolute;
  z-index: 2;
  right: 27px;
  bottom: 25px;
  color: var(--gold-pale);
  font:
    700 61px/1 "Aref Ruqaa",
    serif;
}
.panel-body {
  align-self: center;
  padding: clamp(45px, 7vw, 84px) clamp(28px, 5vw, 63px);
}
.panel-body h2 {
  margin: 11px 0 0;
}
.panel-label {
  margin: 8px 0 0;
  color: var(--pine);
  font-size: 13px;
  font-weight: 900;
}
.panel-description {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.05;
}
.panel-points {
  display: grid;
  gap: 11px;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid rgba(23, 65, 57, 0.16);
}
.panel-points span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--night);
  font-size: 12px;
  font-weight: 800;
}
.panel-note {
  margin: 33px 0 0;
  color: #728279;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.9;
}
@keyframes arch {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes routeFlow {
  to {
    stroke-dashoffset: -64;
  }
}
@keyframes ballPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 7px rgba(215, 169, 75, 0.13),
      0 0 20px rgba(215, 169, 75, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 11px rgba(215, 169, 75, 0.06),
      0 0 31px rgba(215, 169, 75, 0.9);
  }
}
@keyframes ballJourney {
  0% {
    left: 2%;
    top: 38px;
  }
  25% {
    left: 28%;
    top: 74px;
  }
  50% {
    left: 53%;
    top: 27px;
  }
  75% {
    left: 77%;
    top: 73px;
  }
  100% {
    left: 96%;
    top: 34px;
  }
}
@keyframes stationGlow {
  from {
    filter: none;
    transform: translateY(0);
  }
  to {
    filter: drop-shadow(0 8px 18px rgba(215, 169, 75, 0.32));
    transform: translateY(-5px);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(2%, 2%, 0) rotate(2deg);
  }
}
@keyframes drift {
  from {
    transform: scale(1.04) translate3d(-1.1%, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(1.1%, -1.2%, 0);
  }
}
@keyframes atmosphere {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 300px 300px;
  }
}
@keyframes lift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mosaicFloat {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 36px -30px;
  }
}
@keyframes mosaicSpin {
  to {
    transform: rotate(382.5deg);
  }
}
@media (max-width: 900px) {
  header {
    padding: 17px 20px;
  }
  .nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 15px;
    left: 15px;
    display: none;
    padding: 13px;
    border: 1px solid rgba(242, 220, 160, 0.23);
    border-radius: 5px 5px 21px;
    background: rgba(7, 23, 20, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
  .nav.open {
    display: grid;
    gap: 4px;
  }
  .nav a,
  .nav button {
    padding: 10px;
    text-align: right;
  }
  .menu {
    display: grid;
    place-items: center;
  }
  .header-cta,
  .journey-thread i:nth-child(2),
  .journey-thread i:nth-child(3) {
    display: none;
  }
  .hero-inner {
    width: min(100% - 40px, 720px);
    min-height: 770px;
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 95px;
    padding-bottom: 92px;
  }
  .hero-copy {
    position: relative;
    z-index: 3;
    padding-top: 0;
  }
  .hero-visual {
    position: absolute;
    inset: 0 -20px 0 -20px;
    height: auto;
    min-height: 0;
    opacity: 0.52;
  }
  .hero-image {
    inset: 0;
    border: 0;
    border-radius: 0;
  }
  .arch-light {
    right: 10%;
    top: 10%;
    height: 76%;
  }
  .route-badge {
    right: auto;
    left: 4px;
    bottom: 77px;
    transform: scale(0.82);
    transform-origin: bottom left;
  }
  .hero:before {
    background:
      linear-gradient(90deg, rgba(7, 23, 20, 0.93), rgba(7, 23, 20, 0.72)),
      linear-gradient(0deg, rgba(5, 16, 14, 0.85), transparent 60%);
  }
  .scroll-cue {
    right: 20px;
  }
  .journey-heading {
    display: block;
  }
  .journey-heading > p:last-child {
    margin-top: 17px;
  }
  .journey-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 18px;
    margin-top: 44px;
  }
  .journey-thread {
    top: 48px;
    right: 12%;
    left: 12%;
    transform: rotate(-3deg);
  }
  .step:nth-of-type(2),
  .step:nth-of-type(3),
  .step:nth-of-type(4) {
    transform: none;
  }
  .program-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .program-card.elevated {
    margin-bottom: 55px;
  }
  .program-poster {
    width: 94px;
    height: 158px;
    left: 16px;
  }
  .program-card:nth-of-type(2) .program-poster {
    top: 31%;
  }
  .special {
    min-height: 300px;
    grid-column: 1/-1;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 62px;
  }
  .about-image {
    width: min(100%, 490px);
    min-height: 490px;
  }
  .about-copy {
    max-width: 630px;
  }
}
.journey-thread,
.program-poster {
  display: none !important;
}
.journey-rail {
  top: 12px !important;
  height: 180px !important;
}
.route-parallel {
  fill: none;
  stroke: rgba(23, 65, 57, 0.16);
  stroke-width: 1.25;
  stroke-dasharray: 4 13;
}
.developer-credit {
  direction: ltr;
  unicode-bidi: isolate;
  gap: 7px;
}
.overlay.brochure-mode {
  justify-content: center;
  padding: 20px;
}
.overlay.brochure-mode .panel {
  display: block;
  width: min(680px, 100%);
  min-height: 0;
  max-height: 96vh;
  overflow: hidden;
  background: #091d19;
  transform: translateY(25px) scale(0.98);
}
.overlay.open.brochure-mode .panel {
  transform: translateY(0) scale(1);
}
.overlay.brochure-mode .panel-image {
  height: min(92vh, 1040px);
  min-height: 0;
  background: #091d19;
}
.overlay.brochure-mode .panel-body,
.overlay.brochure-mode .panel-glow,
.overlay.brochure-mode .panel-image span,
.overlay.brochure-mode .panel-image:after {
  display: none;
}
.logo-user {
  object-fit: contain !important;
  background: 0 0;
}
.logo-user,
.special-image {
  object-fit: cover !important;
}
.hero-image img,
.program-card > img:first-child {
  opacity: 1 !important;
  visibility: visible !important;
}
.program-card > img:first-child {
  z-index: 0 !important;
}
.journey-ball {
  z-index: 9 !important;
}
@keyframes ballJourneyMobile {
  0% {
    right: 17px;
    top: 12px;
  }
  25% {
    right: 17px;
    top: 30%;
  }
  50% {
    right: 17px;
    top: 52%;
  }
  75% {
    right: 17px;
    top: 74%;
  }
  100% {
    right: 17px;
    top: 92%;
  }
}
.hero-visual {
  background: url("hero.jpg") center/cover no-repeat;
}
@media (max-width: 620px) {
  .panel,
  .program-gallery {
    grid-template-columns: 1fr;
  }
  .brand strong {
    font-size: 24px;
  }
  .brand small {
    font-size: 8px;
  }
  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }
  .hero-description,
  .journey-heading > p:last-child {
    font-size: 13px;
  }
  .quiet {
    font-size: 10px;
  }
  .hero-actions {
    gap: 15px;
  }
  .route-badge {
    display: none;
  }
  .about-copy h2,
  .heading h2 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .journey-flow {
    gap: 33px 13px;
  }
  .step h3 {
    font-size: 22px;
  }
  .step p {
    font-size: 11px;
    max-width: 100%;
  }
  .step-icon {
    width: 50px;
    height: 50px;
  }
  .journey-summary {
    display: grid;
    justify-content: start;
  }
  .programs {
    padding: 84px 17px 94px;
  }
  .programs-intro {
    display: block;
  }
  .programs-intro > p {
    margin-top: 17px;
  }
  .program-gallery {
    gap: 16px;
  }
  .program-thread {
    top: 46%;
    right: 10%;
    left: -11%;
    transform: rotate(78deg);
  }
  .special {
    grid-column: auto;
    min-height: 280px;
  }
  .about-image:before {
    top: -11px;
    right: -11px;
  }
  .about-image > img {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }
  .about-wash {
    inset: 0 16px 16px 0;
  }
  .footer-inner {
    display: grid;
    align-content: center;
    min-height: 230px;
    padding: 28px 0;
  }
  .footer-route {
    justify-items: start;
  }
  .footer-bottom {
    display: grid;
    font-size: 8px;
  }
  .panel {
    width: min(520px, 100%);
    overflow-y: auto;
  }
  .panel-image {
    min-height: 350px;
    max-height: 410px;
  }
  .panel-body {
    padding: 39px 27px 50px;
  }
  .overlay {
    justify-content: center;
  }
  .hero,
  .hero-inner {
    min-height: 700px;
  }
  body {
    overflow-x: hidden;
  }
  .site {
    overflow-x: clip;
  }
  .prelude-content img {
    width: 74px;
    height: 74px;
  }
  .brand-seal {
    width: 48px;
    height: 48px;
  }
  .brand-seal img {
    width: 38px;
    height: 38px;
  }
  .hero-inner {
    display: block;
    width: 100%;
    padding: 124px 22px 90px;
  }
  .hero-copy {
    position: relative;
    z-index: 4;
    padding: 0;
  }
  .hero-visual {
    position: absolute;
    inset: 0;
    opacity: 0.58;
  }
  .hero-image {
    inset: 0 !important;
    border: 0;
    border-radius: 0;
    inset: 0 !important;
  }
  .hero-image img,
  .program-card > img:first-child {
    object-position: center !important;
  }
  .arch-light {
    z-index: 2;
    right: 13%;
    top: 17%;
    width: 73%;
    height: 68%;
    opacity: 0.62;
  }
  .hero:before {
    z-index: 3;
    opacity: 1;
  }
  .route-badge {
    display: grid !important;
    z-index: 6;
    right: 20px;
    left: auto;
    bottom: 55px;
    transform: scale(0.74);
    transform-origin: bottom right;
  }
  .scroll-cue {
    z-index: 7;
    right: 20px;
    bottom: 24px;
  }
  .section {
    width: calc(100% - 32px);
    padding: 78px 0;
  }
  .journey-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
    padding: 8px 62px 5px 0;
    min-height: 430px;
  }
  .journey-rail {
    display: none !important;
  }
  .journey-flow:after,
  .journey-flow:before {
    content: "";
    position: absolute;
    right: 28px;
    top: 15px;
    bottom: 14px;
    width: 1px;
    background: repeating-linear-gradient(
      to bottom,
      var(--gold) 0 6px,
      transparent 6px 17px
    );
    opacity: 0.95;
  }
  .journey-flow:after {
    right: 42px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(23, 65, 57, 0.35) 0 5px,
      transparent 5px 16px
    );
  }
  .journey-ball {
    right: 17px !important;
    left: auto !important;
    top: 12px;
    width: 30px;
    height: 30px;
  }
  .journey-flow.route-active .journey-ball {
    animation:
      ballJourneyMobile 2.8s var(--ease) both,
      ballPulse 1.8s ease-in-out infinite;
  }
  .step,
  .step:nth-of-type(2),
  .step:nth-of-type(3),
  .step:nth-of-type(4) {
    transform: none !important;
    padding: 0;
  }
  .step-icon {
    margin-top: 0;
  }
  .step h3 {
    margin-top: 11px;
  }
  .journey-summary {
    margin-top: 32px;
  }
  .program-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .program-card,
  .program-card.elevated {
    min-height: 460px;
    margin: 0;
    border-radius: 2px 2px 34px;
  }
  .program-copy strong {
    font-size: 39px;
  }
  .about {
    gap: 44px;
  }
  .about-image {
    min-height: 360px;
  }
  .about-copy h2 {
    font-size: 43px;
  }
  .footer-inner {
    gap: 20px;
  }
  .footer-bottom {
    gap: 9px;
  }
  .overlay.brochure-mode {
    padding: 9px;
  }
  .overlay.brochure-mode .panel-image {
    height: calc(100svh - 18px);
  }
  .hero-image,
  .hero-image img,
  .hero-visual {
    display: block !important;
  }
  .hero-visual {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    height: 700px !important;
    min-height: 700px !important;
    opacity: 1 !important;
    background-position: center !important;
  }
  .hero-image img {
    opacity: 0.76 !important;
  }
  .hero:before {
    background:
      linear-gradient(180deg, rgba(7, 23, 20, 0.34), rgba(7, 23, 20, 0.83) 83%),
      linear-gradient(90deg, rgba(7, 23, 20, 0.66), rgba(7, 23, 20, 0.12)) !important;
  }
}
.special-image,
.special-wash {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0;
}
.brand-seal {
  border-radius: 4px;
}
.brand-seal img {
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 2px;
}
.logo-user {
  aspect-ratio: 1;
  border-radius: 3px;
}
.special-image {
  width: 100% !important;
  height: 100% !important;
  opacity: 0.82;
}
.special-wash {
  background: linear-gradient(
    145deg,
    rgba(10, 37, 31, 0.66),
    rgba(10, 37, 31, 0.84)
  );
}
.special > :not(.special-image):not(.special-wash) {
  z-index: 1 !important;
}
.atmosphere {
  animation: 16s linear infinite atmosphere;
}
.mosaic-field {
  animation: 10s ease-in-out infinite alternate mosaicFloat;
  will-change: auto;
}
.mosaic-field::before {
  animation: 38s linear infinite mosaicSpin;
  will-change: transform;
}
.mosaic-field::after {
  animation: 9s linear infinite reverse mosaicSpin;
}
.mosaic-field.three::before,
.mosaic-field.two::before,
.section-mosaic::before {
  animation: 15s linear infinite mosaicSpin;
}
.route-light {
  animation: 4s linear infinite routeFlow;
}
.about,
.journey,
.programs,
footer {
  contain: none !important;
  content-visibility: visible !important;
}
.about,
.programs {
  contain-intrinsic-size: auto;
}
.orbit-a {
  animation-duration: 24s;
}
.orbit-b {
  animation-duration: 31s;
}
.prelude-pattern {
  animation: 8s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate float;
}
.hero-copy {
  max-width: 620px;
}
.hero h1 {
  font-family: Tajawal, Arial, sans-serif;
  font-weight: 900;
  word-spacing: 0.16em;
  margin-top: 22px;
}
.hero-description {
  word-spacing: 0.08em;
  margin-top: 22px;
}
.about-copy h2,
.heading h2 {
  letter-spacing: 0;
  word-spacing: 0.12em;
}
.about-copy > p:not(.eyebrow),
.journey-heading > p:last-child,
.programs-intro > p {
  line-height: 2.3;
  word-spacing: 0.08em;
}
.program-copy strong,
.special h3,
.step h3 {
  line-height: 1.45;
  word-spacing: 0.08em;
}
.program-copy b,
.program-copy small,
.special p,
.special small,
.step p {
  line-height: 2;
  word-spacing: 0.06em;
}
.footer-brand p,
.footer-route span {
  line-height: 1.9;
  word-spacing: 0.06em;
}
@media (max-width: 620px) {
  .hero-visual {
    background-image: url("hero.jpg");
  }
  .special-image {
    opacity: 0.76;
  }
  .mosaic-field::before {
    animation: 16s linear infinite atmosphere;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(34px, 9.8vw, 49px);
    line-height: 1.55;
    word-spacing: 0.08em;
    margin-top: 20px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 2.4;
    word-spacing: 0.03em;
    margin-top: 21px;
    max-width: 100%;
  }
  .about-copy h2,
  .heading h2 {
    line-height: 1.56;
    word-spacing: 0.06em;
  }
  .about-copy > p:not(.eyebrow),
  .journey-heading > p:last-child,
  .programs-intro > p {
    line-height: 2.3;
    word-spacing: 0.02em;
  }
  .program-copy strong,
  .special h3,
  .step h3 {
    line-height: 1.5;
    word-spacing: 0.03em;
  }
  .program-copy b,
  .program-copy small,
  .special p,
  .special small,
  .step p {
    line-height: 2;
    word-spacing: 0;
  }
}
.about-copy h2,
.heading h2,
.hero h1 {
  line-height: 1.35;
  word-spacing: 0.04em;
}
.developer-credit {
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1.8;
}
.developer-credit small {
  flex-basis: 100%;
  display: block;
  color: rgba(242, 220, 160, 0.62);
  font-size: 8px;
  text-align: center;
  letter-spacing: 0.03em;
}
@media (min-width: 901px) {
  .hero {
    min-height: 96svh;
  }
  .hero-inner {
    width: min(1480px, calc(100% - 54px));
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 58px;
  }
  .hero-copy {
    padding-top: 38px;
  }
  .hero h1 {
    font-size: clamp(54px, 5.5vw, 86px);
  }
  .hero-description {
    max-width: 590px;
  }
  .hero-visual {
    height: min(91vh, 860px);
    min-height: 640px;
  }
  .hero-image {
    inset: 2% 0 0 2%;
  }
  .arch-light {
    right: 7%;
    height: 91%;
  }
  .brand-seal,
  .footer-brand img {
    width: 58px;
    height: 58px;
  }
  .brand-seal img {
    width: 49px;
    height: 49px;
    padding: 3px;
  }
  .brand strong {
    font-size: 35px;
  }
  .brand small {
    font-size: 10px;
  }
  .section {
    width: min(1420px, calc(100% - 70px));
    padding: 144px 0;
  }
  .journey {
    min-height: 760px;
  }
  .journey-flow {
    min-height: 250px;
    margin-top: 88px;
    gap: 42px;
  }
  .journey-heading h2,
  .programs-intro .heading h2 {
    font-size: clamp(58px, 5.2vw, 78px);
  }
  .programs {
    padding-top: 138px;
    padding-bottom: 150px;
  }
  .program-gallery {
    gap: 38px;
    margin-top: 70px;
  }
  .program-card {
    min-height: 700px;
    padding: 29px;
  }
  .program-card.elevated {
    min-height: 790px;
    margin-bottom: 78px;
  }
  .special {
    min-height: 560px;
  }
  .about {
    min-height: 760px;
    gap: 110px;
  }
  .about-image {
    min-height: 620px;
  }
  .about-copy {
    max-width: 650px;
  }
  .about-copy h2 {
    font-size: clamp(55px, 5vw, 76px);
  }
  footer {
    min-height: 290px;
  }
  .footer-inner {
    min-height: 260px;
  }
  .footer-brand strong {
    font-size: 46px;
  }
}
body,
html {
  overflow-x: hidden;
}
b,
button,
h1,
h2,
h3,
p,
small,
span,
strong {
  overflow-wrap: normal;
  word-break: normal;
}
.about-copy h2,
.heading h2,
.hero h1,
.program-copy strong,
.special h3 {
  text-wrap: balance;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.2vw, 78px);
}
.hero-description {
  max-width: 570px;
  line-height: 2.2;
  word-spacing: 0.02em;
}
@media (min-width: 621px) and (max-width: 900px) {
  .hero,
  .hero-inner {
    min-height: 760px;
  }
  header {
    padding: 18px 26px;
  }
  .hero-inner {
    display: block;
    width: min(100% - 52px, 720px);
    padding: 132px 0 92px;
  }
  .hero-copy {
    max-width: 560px;
    padding-top: 0;
  }
  .hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    opacity: 0.48;
  }
  .hero-image {
    inset: 0;
    border: 0;
    border-radius: 0;
  }
  .hero:before {
    background:
      linear-gradient(180deg, rgba(7, 23, 20, 0.56), rgba(7, 23, 20, 0.9) 86%),
      linear-gradient(90deg, rgba(7, 23, 20, 0.9), rgba(7, 23, 20, 0.25));
  }
  .arch-light {
    top: 12%;
    right: 12%;
    width: 62%;
    height: 76%;
  }
  .route-badge {
    right: 12px;
    bottom: 72px;
  }
  .journey-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .journey-heading > p:last-child {
    grid-column: auto;
    grid-row: auto;
    max-width: 520px;
  }
  .journey-flow,
  .program-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .special {
    grid-column: 1/-1;
  }
}
@media (max-width: 620px) {
  .hero,
  .hero-inner {
    min-height: 700px;
  }
  header {
    padding: 14px 17px;
  }
  .header-inner {
    gap: 8px;
  }
  .brand,
  .brand > span:last-child {
    min-width: 0;
  }
  .brand strong {
    font-size: 25px;
  }
  .brand small {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero-inner {
    padding: 126px 20px 88px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.6vw, 50px);
    line-height: 1.42;
    word-spacing: 0.02em;
  }
  .hero-description {
    max-width: 100%;
    font-size: 13px;
    line-height: 2.15;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
  }
  .footer-bottom,
  .quiet {
    line-height: 1.8;
  }
  .journey-flow {
    padding-right: 61px;
  }
  .journey-ball {
    touch-action: manipulation;
  }
  .program-copy strong {
    font-size: 37px;
    line-height: 1.35;
  }
}
@media (min-width: 901px) {
  .hero,
  .hero-inner {
    min-height: clamp(680px, 84svh, 840px);
  }
  .hero-visual {
    height: min(80svh, 760px);
    min-height: 560px;
  }
  .hero-copy {
    padding-top: 20px;
  }
}
.developer-credit a {
  color: inherit;
}
.developer-credit a:focus-visible,
.developer-credit a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav a {
  position: relative;
}
.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  content: "";
  transition: width 0.24s var(--ease);
}
.nav a.active::after,
.nav a:focus-visible::after,
.nav a:hover::after {
  width: 18px;
}
@media (max-width: 900px) {
  .nav a::after {
    right: 10px;
    bottom: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :after,
  :before {
    scroll-behavior: auto !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
  .journey-flow.route-active .journey-ball {
    animation: none;
  }
  .nav a::after {
    transition: none;
  }
}
/* ===== Social Icons in Footer ===== */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 220, 160, 0.45);
  border-radius: 50%;
  color: var(--gold-pale);
  background: rgba(242, 220, 160, 0.06);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.28s var(--ease);
}

.social-link:hover {
  transform: translateY(-4px);
  color: #fff;
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.35);
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.social-link.phone:hover {
  background: #34b7f1;
  border-color: #34b7f1;
  box-shadow: 0 8px 22px rgba(52, 183, 241, 0.35);
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
  position: fixed;
  z-index: 50;
  bottom: 26px;
  left: 26px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 220, 160, 0.5);
  border-radius: 50%;
  color: var(--gold-pale);
  background: rgba(11, 33, 28, 0.92);
  backdrop-filter: blur(10px);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold-pale);
  color: var(--night);
  transform: translateY(-4px);
  border-color: var(--gold-pale);
}

/* ===== Programs Contact Text ===== */
.programs-contact {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 900px) {
  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .footer-social {
    justify-content: center;
    order: 3;
    width: 100%;
  }

  .footer-route {
    justify-items: center;
  }
}

@media (max-width: 620px) {
  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    left: 20px;
    font-size: 13px;
  }

  .programs-contact {
    margin-top: 28px;
    font-size: 13px;
  }

  .footer-social {
    gap: 10px;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

/* ===== Testimonials Section ===== */
.testimonials {
  position: relative;
  background: linear-gradient(162deg, #f9f5ed 0%, #eee5d5 50%, #f8f5ef 100%);
}

.testimonials-heading {
  text-align: center;
  margin-bottom: 58px;
}

.testimonials-heading h2 {
  font-size: clamp(38px, 5vw, 58px);
  color: var(--night);
  margin-top: 10px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid rgba(23, 65, 57, 0.12);
  border-radius: 4px 4px 28px 4px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 65, 57, 0.06);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(23, 65, 57, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
}

.testimonial-text {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  word-spacing: 0.04em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 65, 57, 0.08);
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--pine);
  font-size: 16px;
  font-weight: 800;
}

.testimonial-author strong {
  display: block;
  color: var(--night);
  font-size: 13px;
  font-weight: 800;
}

.testimonial-author small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .programs-contact-bar {
    flex-direction: column;
    gap: 14px;
    margin-top: 38px;
    padding-top: 24px;
  }
}

@media (max-width: 620px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .testimonials-heading {
    margin-bottom: 36px;
  }

  .testimonial-card {
    padding: 24px 20px 22px;
  }

  .programs-contact-bar {
    margin-top: 28px;
    padding-top: 20px;
  }

  .programs-contact-bar p {
    font-size: 13px;
  }
}

/* ===== Panel Contact (inside overlay) ===== */
.panel-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 65, 57, 0.14);
}

.panel-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.panel-social {
  display: flex;
  gap: 8px;
}

.panel-social .social-link {
  width: 34px;
  height: 34px;
  font-size: 13px;
  border-color: rgba(23, 65, 57, 0.2);
  background: rgba(242, 220, 160, 0.08);
}

.panel-social .social-link:hover {
  color: #fff;
}

/* ===== Updated Testimonials (6 cards) ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== Stats Section ===== */
.stats {
  position: relative;
  background: linear-gradient(162deg, #f9f5ed 0%, #eee5d5 50%, #f8f5ef 100%);
}

.stats-heading {
  text-align: center;
  margin-bottom: 58px;
}

.stats-heading h2 {
  font-size: clamp(38px, 5vw, 58px);
  color: var(--night);
  margin-top: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 36px 20px 32px;
  border: 1px solid rgba(23, 65, 57, 0.1);
  border-radius: 4px 4px 28px 4px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(23, 65, 57, 0.05);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(23, 65, 57, 0.09);
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border: 1px solid rgba(215, 169, 75, 0.35);
  border-radius: 14px 14px 4px;
  color: var(--gold);
  background: rgba(242, 220, 160, 0.1);
  font-size: 20px;
}

.stat-number {
  display: block;
  color: var(--night);
  font:
    700 42px/1 "Aref Ruqaa",
    serif;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .panel-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonials-heading {
    margin-bottom: 36px;
  }

  .testimonial-card {
    padding: 24px 20px 22px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-card {
    padding: 24px 14px 22px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
}

/* =====================================================================
   إزالة وميض القوس/المستطيل الذهبي من شاشة التحميل على الهاتف فقط
   ===================================================================== */

@media (max-width: 620px) {
  /* شاشة التحميل تبقى موجودة، لكن تختفي دون انتقال يمر فوق الـ hero */
  .prelude {
    transition: none !important;
    -webkit-transition: none !important;
  }

  /* هذه الزخارف هي القوس والخطوط الذهبية التي تظهر كطبقة مستطيلة */
  .prelude-pattern,
  .prelude-arch,
  .prelude-arch.two {
    display: none !important;
    animation: none !important;
    -webkit-animation: none !important;
  }

  /* يبقى محتوى شاشة التحميل نفسه ظاهرًا بدون ومضة حركة */
  .prelude-content {
    animation: none !important;
    -webkit-animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* عند انتهاء التحميل تختفي الشاشة كاملة ولا تعترض الصفحة */
  .prelude.out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* إزالة الإطار الذهبي الثابت حول نص الـ hero على الهاتف فقط.
   لا نوقف حركة الموزاييك أو الكرات أو شاشة التحميل. */
@media (max-width: 620px) {
  .arch-light {
    display: none !important;
  }
}

/* =====================================================================
   تثبيت نص الـ hero والزر أثناء إعادة الرسم على الهاتف فقط
   ===================================================================== */

@media (max-width: 620px) {
  /* طبقة الصورة والحركة تبقى خلف المحتوى */
  .hero-visual {
    position: absolute;
    z-index: 0 !important;
  }

  .hero::before {
    z-index: 1 !important;
  }

  /* طبقة المحتوى تبقى فوق الخلفية دائمًا */
  .hero-inner,
  .hero-copy {
    position: relative;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
    contain: none !important;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  /* منع اختفاء النص والزر لحظيًا أثناء تغيير طبقات الرسم */
  .hero-copy > *,
  .hero-copy h1,
  .hero-copy .hero-description,
  .hero-copy .hero-actions,
  .hero-copy .hero-actions > *,
  .hero-copy .primary,
  .hero-copy .quiet {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-copy .primary {
    position: relative;
    z-index: 11;
  }
}

/* =====================================================================
   هيدر الهاتف بنفس تخطيط الكمبيوتر مع تصغير المقاسات فقط
   ===================================================================== */

@media (max-width: 620px) {
  header {
    padding: 12px 12px !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .brand-seal {
    flex: 0 0 38px;
    width: 38px !important;
    height: 38px !important;
  }

  .brand-seal img {
    width: 31px !important;
    height: 31px !important;
  }

  .brand strong {
    font-size: 20px !important;
  }

  .brand small {
    max-width: 92px;
    font-size: 7px;
  }

  /* إظهار روابط الهيدر مثل الكمبيوتر بدل القائمة المنسدلة */
  .nav {
    position: static !important;
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav a,
  .nav button {
    padding: 4px 0 !important;
    font-size: 9px !important;
    white-space: nowrap;
  }

  .nav a::after {
    right: 0 !important;
    bottom: -3px !important;
  }

  .header-cta {
    display: inline-flex !important;
    flex: 0 0 auto;
    gap: 4px;
    padding: 7px 8px;
    font-size: 9px;
    white-space: nowrap;
  }

  .menu {
    display: none !important;
  }
}

/* =====================================================================
   إعادة دوائر شاشة التحميل وإخفاء زر القائمة حتى مقاس اللابتوب
   ===================================================================== */

@media (max-width: 620px) {
  /* إعادة دوائر شاشة التحميل والقوس كما في التصميم الأصلي */
  .prelude-pattern {
    display: block !important;
    animation: 8s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate float !important;
  }

  .prelude-arch,
  .prelude-arch.two {
    display: block !important;
    animation: arch 1.5s var(--ease) both !important;
  }

  .prelude-arch.two {
    animation-delay: 0.15s !important;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  /* نفس صف الكمبيوتر: الشعار، الروابط، ثم زر الدعوة */
  header {
    padding: 17px 20px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .nav {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 22px);
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav a,
  .nav button {
    padding: 6px 0 !important;
    white-space: nowrap;
  }

  .header-cta {
    display: inline-flex !important;
    flex: 0 0 auto;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .menu {
    display: none !important;
  }
}

@media (max-width: 620px) {
  /* على الهاتف أيضًا لا يظهر زر القائمة، وتبقى روابط الهيدر ظاهرة */
  .menu {
    display: none !important;
  }
}

/* =====================================================================
   إظهار عبارة الشعار كاملة على الهاتف مع إبقاء دوائر التحميل
   ===================================================================== */

@media (max-width: 620px) {
  .brand > span:last-child {
    flex: 0 0 auto;
    min-width: 104px;
  }

  .brand small {
    display: block !important;
    width: 104px;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: 6px !important;
    letter-spacing: 0 !important;
  }

  /* تأكيد بقاء دوائر شاشة التحميل والقوس ظاهرين كما في الأصل */
  .prelude-pattern {
    display: block !important;
    animation: 8s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate float !important;
  }

  .prelude-arch,
  .prelude-arch.two {
    display: block !important;
    animation: arch 1.5s var(--ease) both !important;
  }

  .prelude-arch.two {
    animation-delay: 0.15s !important;
  }
}

/* إبعاد زر «شاهد البرامج» عن آخر رابط في الهيدر على الهاتف */
@media (max-width: 620px) {
  .header-cta {
    margin-inline-start: 12px;
  }
}
