:root {
  --ink: #0B0B2E;
  --navy: #282860;
  --blue: #0063FF;
  --blue-2: #3D8BFF;
  --sky: #CFE6FF;
  --yellow: #FFBE19;
  --paper: #F5F7FC;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, .72);
  --muted-dark: #4A4A70;
  --line: rgba(255, 255, 255, .14);
  --line-dark: rgba(40, 40, 96, .14);
  --radius: 22px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Sora", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.ar { font-family: var(--font-ar); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 16px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255,190,25,.7); }
.btn--yellow:hover { background: #FFD04D; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.5); color: var(--white); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 20px 34px; font-size: clamp(16px, 2.2vw, 22px); }
.btn span { transition: transform .3s; }
.btn:hover span { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--yellow);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--blue); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,190,25,.25); }
.h2 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.02; font-weight: 700; }
.h2--dark { color: var(--navy); }

/* ---------- Curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  background: var(--blue);
  display: none; place-items: center;
}
.js .curtain { display: grid; }
.curtain__logo { width: min(240px, 50vw); opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50; width: calc(100% - 2 * var(--gutter)); max-width: 1240px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(11, 11, 46, .35); border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s;
}
.nav.is-solid { background: rgba(11, 11, 46, .82); }
.nav__brand img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--white); }
@media (max-width: 760px) { .nav__links { display: none; } .nav { padding-left: 16px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: 140px 0 110px;
}
.hero__bg {
  position: absolute; inset: -6%; background-size: cover; background-position: center;
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,11,46,.88) 0%, rgba(11,11,46,.6) 38%, rgba(11,11,46,.05) 72%),
    linear-gradient(0deg, rgba(11,11,46,.75) 0%, rgba(11,11,46,0) 30%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(64px, 10vw, 168px); line-height: .92; font-weight: 800;
  letter-spacing: -.04em; max-width: 12ch;
}
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__tagline { margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; color: var(--white); }
.hero__sub { max-width: 540px; margin-top: 16px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__cards {
  position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
  top: 50%; width: min(34vw, 440px); aspect-ratio: 4 / 5; transform: translateY(-46%);
}
.pcard {
  position: absolute; margin: 0; width: 64%; aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden; background: var(--navy);
  border: 6px solid var(--white);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard--1 { left: 0; top: 8%; transform: rotate(-8deg); }
.pcard--2 { right: 0; top: 0; transform: rotate(6deg); }
.pcard--3 { left: 20%; bottom: -6%; transform: rotate(-1deg); z-index: 2; }
@media (min-width: 1101px) { .hero__inner > * { max-width: 58%; } .hero__title { max-width: 58%; } }
@media (max-width: 1100px) { .hero__cards { display: none; } .hero__veil { background: linear-gradient(0deg, rgba(11,11,46,.9), rgba(11,11,46,.45)); } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 1.5px; height: 42px; background: linear-gradient(var(--yellow), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 34px); white-space: nowrap; }
.marquee__track b { color: var(--blue); font-size: .7em; }

/* ---------- Statement ---------- */
.statement { padding: clamp(100px, 16vw, 200px) var(--gutter); }
.statement__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.2vw, 58px); line-height: 1.15; letter-spacing: -.02em;
  max-width: 22ch; max-width: 1100px;
}
.statement__text .word { color: rgba(255,255,255,.14); }

/* ---------- Story ---------- */
.story { padding: 110px 0 80px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .story { min-height: 0; padding-top: 40px; } }
.story__head { margin-bottom: 36px; }
.story__pin { overflow: hidden; }
.story__track {
  display: flex; gap: 28px; width: max-content;
  padding: 0 var(--gutter);
}
.chapter {
  position: relative; flex: 0 0 auto; width: min(78vw, 820px); height: min(62vh, 540px);
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #15154A, #0F0F38);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr;
}
.chapter__year {
  position: absolute; top: 26px; left: 30px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 7vw, 104px);
  line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--blue-2);
}
.chapter__body { align-self: end; padding: 34px 30px; }
.chapter__body h3 { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.12; margin-bottom: 14px; }
.chapter__body p { color: var(--muted); font-size: 16px; }
.chapter__img { margin: 0; height: 100%; overflow: hidden; }
.chapter__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.chapter__img--tall img { object-position: center 30%; }
.chapter__img--mock { overflow: hidden; background: radial-gradient(circle at 50% 40%, #2B7BFF, var(--blue) 60%, #0048C4); display: grid; place-items: center; }
.chapter__img--mock img { width: 135%; max-width: none; height: auto; object-fit: contain; transform: none; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.chapter--pivot { background: var(--blue); grid-template-columns: 1fr; width: min(78vw, 640px); border: none; }
.chapter--pivot .chapter__year { -webkit-text-stroke: 0; color: var(--yellow); }
.chapter--pivot p { color: rgba(255,255,255,.88); margin-bottom: 26px; }
@media (max-width: 760px) {
  .story__track { flex-direction: column; width: auto; }
  .chapter, .chapter--pivot { width: 100%; height: auto; grid-template-columns: 1fr; }
  .chapter__img { height: 260px; order: -1; }
  .chapter__year { top: 18px; left: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
  .chapter--pivot { padding-top: 90px; }
  .chapter__body { padding: 24px 22px 28px; }
}

/* ---------- Lessons (light) ---------- */
.lessons, .services, .process { background: var(--paper); color: var(--navy); }
.lessons { padding: clamp(90px, 12vw, 160px) 0 60px; border-radius: 40px 40px 0 0; }
.lessons__list { list-style: none; padding: 0; margin: 60px 0 0; }
.lesson {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start;
  padding: 34px 0; border-top: 1px solid var(--line-dark);
}
.lesson:last-child { border-bottom: 1px solid var(--line-dark); }
.lesson__n { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--blue); padding-top: 10px; }
.lesson h3 { font-size: clamp(26px, 3.6vw, 48px); line-height: 1.08; margin-bottom: 10px; }
.lesson p { color: var(--muted-dark); max-width: 620px; }
@media (max-width: 600px) { .lesson { grid-template-columns: 1fr; gap: 6px; } .lesson__n { padding-top: 0; } }

/* ---------- Services ---------- */
.services { padding: 100px 0 clamp(90px, 12vw, 150px); }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.services__intro { max-width: 400px; color: var(--muted-dark); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 32px 28px 34px; min-height: 250px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, background .4s, color .4s;
}
.svc:hover { transform: translateY(-6px); background: var(--blue); color: var(--white); box-shadow: 0 30px 60px -30px rgba(0,99,255,.6); }
.svc:hover p { color: rgba(255,255,255,.85); }
.svc:hover .svc__icon { background: var(--yellow); color: var(--ink); }
.svc__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,99,255,.1); color: var(--blue); font-size: 22px; margin-bottom: 46px;
  transition: background .4s, color .4s;
}
.svc h3 { font-size: 23px; margin-bottom: 10px; }
.svc p { color: var(--muted-dark); font-size: 16px; transition: color .4s; }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; background: var(--ink); }
.gallery__head { margin-bottom: 70px; }
.gallery__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 0 var(--gutter); max-width: 1400px; margin: 0 auto;
}
.gcol { display: flex; flex-direction: column; gap: 18px; }
.gcol:nth-child(2) { margin-top: 80px; }
.gcol img { width: 100%; border-radius: 18px; object-fit: cover; }
.gcol img { aspect-ratio: 3 / 4; }
.gcol:nth-child(2) img { aspect-ratio: 2 / 3; }
@media (max-width: 700px) {
  .gallery__cols { grid-template-columns: 1fr 1fr; }
  .gcol:nth-child(3) { display: none; }
  .gcol:nth-child(2) { margin-top: 40px; }
}

/* ---------- About ---------- */
.about { background: var(--ink); padding: 0 0 clamp(100px, 13vw, 170px); }
.about__grid { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.about__copy { max-width: 520px; margin-top: 24px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.about__photo { margin: 0 auto; }
.about__frame { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; }
.about__frame img { width: 100%; height: 118%; object-fit: cover; }
@media (max-width: 700px) { .about__frame { aspect-ratio: 16 / 10; border-radius: 20px; } }

/* ---------- Process ---------- */
.process { padding: clamp(90px, 12vw, 150px) 0; border-radius: 40px 40px 0 0; }
.process__rail { position: relative; height: 3px; background: var(--line-dark); border-radius: 3px; margin: 64px 0 40px; overflow: hidden; }
.process__bar { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform-origin: left; transform: scaleX(0); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process__steps { grid-template-columns: 1fr; } }
.step__n { display: inline-block; font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 15px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(0,99,255,.1); }
.step h3 { font-size: 28px; margin-bottom: 10px; }
.step p { color: var(--muted-dark); font-size: 16px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; text-align: center; background: var(--blue); }
.cta__bg { position: absolute; inset: -10%; background-size: cover; background-position: center; opacity: .55; mix-blend-mode: screen; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,60,190,.35), rgba(11,11,46,.75)); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(56px, 11vw, 170px); line-height: .92; font-weight: 800; letter-spacing: -.05em; }
.cta__sub { max-width: 560px; margin: 30px 0 40px; color: rgba(255,255,255,.88); font-size: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: 80px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__tag { margin-top: 16px; color: var(--muted); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { text-decoration: none; color: var(--muted); }
.footer__links a:hover { color: var(--white); }
.footer__legal { font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer__legal strong { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: rgba(255,255,255,.5); }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll i { animation: none; }
  .statement__text .word { color: inherit; }
}
@media (max-width: 760px) {
  .chapter__year { -webkit-text-stroke: 0; color: var(--white); }
  .chapter--pivot .chapter__year { color: var(--yellow); }
}
