:root {
  --bg: #050912;
  --bg-soft: #08101d;
  --panel: rgba(11, 18, 31, 0.78);
  --panel-strong: #0b1322;
  --line: rgba(196, 156, 84, 0.18);
  --line-cool: rgba(137, 156, 186, 0.15);
  --gold: #e7c478;
  --gold-2: #b8883f;
  --gold-3: #6f4c1f;
  --text: #f7f2e8;
  --muted: #aab3c4;
  --muted-2: #758095;
  --ok: #89c7aa;
  --radius-lg: 28px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -5%, rgba(182, 136, 61, .11), transparent 28rem),
    linear-gradient(180deg, #060b14 0%, #040810 55%, #03060c 100%);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: var(--gold);
  color: #090d14;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5,9,18,.94), rgba(5,9,18,.72));
  border-bottom: 1px solid rgba(135, 151, 178, .1);
}

.brand {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}

.brand-copy { display: grid; gap: .05rem; }
.brand-copy b {
  font-family: "Amiri", serif;
  font-size: 1.45rem;
  font-weight: 700;
}
.brand-copy small {
  color: #9b875f;
  font-size: .76rem;
  letter-spacing: .02em;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  border: 1px solid rgba(220, 178, 93, .45);
  box-shadow: 0 0 30px rgba(199, 156, 72, .12), inset 0 0 18px rgba(199, 156, 72, .06);
}
.brand-core {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(231, 196, 120, .7);
}
.brand-orbit {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #b58b45;
}
.brand-orbit--1 { top: 6px; left: 21px; }
.brand-orbit--2 { top: 15px; right: 6px; }
.brand-orbit--3 { bottom: 8px; right: 11px; }
.brand-orbit--4 { bottom: 8px; left: 11px; }
.brand-orbit--5 { top: 15px; left: 6px; }

main { overflow: clip; }

.hero {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 5rem;
}

.hero-glow {
  position: absolute;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  inset-inline-start: -15rem;
  top: 12%;
  background: radial-gradient(circle, rgba(42, 79, 117, .13), rgba(5,9,18,0) 68%);
  pointer-events: none;
}

.hero-emblem {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(100%, 520px);
  opacity: .92;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.35));
}
.hero-emblem svg { display: block; width: 100%; height: auto; }

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 .7rem;
  color: #af8a4e;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.hero h1,
.section-head h2,
.manifesto h2 {
  font-family: "Amiri", serif;
  font-weight: 700;
  letter-spacing: -.025em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: .95;
  color: #f5e0af;
  text-shadow: 0 0 35px rgba(222, 179, 91, .08);
}
.hero-line {
  margin: 1.15rem 0 0;
  font-family: "Amiri", serif;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  color: var(--text);
  line-height: 1.35;
}
.hero-text {
  max-width: 35rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 300;
  line-height: 2;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(231,196,120,.42);
  color: #f0d79f;
  text-decoration: none;
  font-weight: 500;
  transition: gap .25s ease, color .25s ease;
}
.hero-cta:hover,
.hero-cta:focus-visible { gap: 1.1rem; color: #fff0c9; }

.paths-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0 4rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.3;
  color: #f1eadf;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.path-card {
  position: relative;
  min-height: 360px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-cool);
  background:
    linear-gradient(145deg, rgba(12,21,37,.92), rgba(7,12,22,.94)),
    var(--panel);
  box-shadow: inset 0 1px rgba(255,255,255,.015);
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.path-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% -15%;
  height: 62%;
  background: radial-gradient(ellipse, rgba(202, 158, 75, .11), transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.path-card--live:hover,
.path-card--live:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(218, 176, 92, .4);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.03);
  outline: none;
}
.path-card--live:hover::after,
.path-card--live:focus-visible::after { opacity: 1; }

.path-card:nth-child(1),
.path-card:nth-child(2),
.path-card:nth-child(3) { grid-column: span 4; }
.path-card:nth-child(4),
.path-card:nth-child(5) { grid-column: span 6; }

.path-card--featured {
  border-color: rgba(208, 165, 79, .32);
  background:
    linear-gradient(145deg, rgba(23,26,38,.96), rgba(10,15,26,.96)),
    var(--panel);
}
.path-card--soon { opacity: .68; }

.path-number {
  display: block;
  font-size: .73rem;
  letter-spacing: .14em;
  color: #7f8a9b;
}
.path-state {
  position: absolute;
  top: 1.5rem;
  inset-inline-start: 1.5rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(137,199,170,.25);
  color: #9ed4b8;
  font-size: .7rem;
  background: rgba(40,92,70,.08);
}
.path-state--soon {
  color: #a5adba;
  border-color: rgba(165,173,186,.18);
  background: transparent;
}
.path-kicker {
  display: block;
  margin-top: 3.5rem;
  color: #b99150;
  font-size: .86rem;
}
.path-card h3 {
  margin: .45rem 0 .8rem;
  font-family: "Amiri", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.25;
  color: #f5eee4;
}
.path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 300;
}
.path-link {
  position: absolute;
  bottom: 1.65rem;
  inset-inline-end: 2rem;
  color: #e7c989;
  font-size: .86rem;
  font-weight: 500;
}
.path-link--muted { color: var(--muted-2); }

.manifesto {
  width: min(960px, calc(100% - 2rem));
  margin: 5rem auto 7rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem;
  border-block: 1px solid var(--line);
}
.manifesto-mark {
  font-family: serif;
  font-size: 7rem;
  line-height: .8;
  color: #a77c38;
  opacity: .55;
  text-align: center;
}
.manifesto h2 {
  margin: 0 0 .8rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #f1e6d3;
}
.manifesto p:last-child {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 2.05;
  font-weight: 300;
}

.footer {
  border-top: 1px solid rgba(128, 147, 177, .1);
  background: rgba(2,5,10,.8);
}
.footer-line {
  width: min(1180px, calc(100% - 2rem));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(220,176,89,.42), transparent);
}
.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0 3rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.footer-inner b {
  font-family: "Amiri", serif;
  font-size: 1.45rem;
}
.footer-inner p { margin: .15rem 0 0; color: var(--muted-2); font-size: .82rem; }
.footer-note { max-width: 28rem; text-align: start; }

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 2.2rem 0 4.5rem;
  }
  .hero-emblem {
    grid-column: 1;
    grid-row: 1;
    width: min(82vw, 420px);
    opacity: .72;
    margin: 0 auto -2.8rem;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    margin: 0 auto;
  }
  .hero-text { margin-inline: auto; }
  .path-card:nth-child(1),
  .path-card:nth-child(2),
  .path-card:nth-child(3),
  .path-card:nth-child(4),
  .path-card:nth-child(5) { grid-column: span 12; }
  .path-card { min-height: 330px; }
}

@media (max-width: 620px) {
  .brand { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-copy b { font-size: 1.3rem; }
  .brand-copy small { font-size: .7rem; }

  .hero {
    width: min(100% - 1.5rem, 520px);
    padding-top: 1.4rem;
  }
  .hero-emblem { width: 88vw; margin-bottom: -3.3rem; }
  .hero h1 { font-size: clamp(4.2rem, 20vw, 6rem); }
  .hero-line { font-size: 2rem; }
  .hero-text { font-size: 1.02rem; line-height: 1.95; max-width: 20rem; }
  .hero-cta { margin-top: 1.4rem; padding: .9rem 1rem; }

  .paths-section {
    width: min(100% - 1.5rem, 520px);
    padding-top: 4.5rem;
  }
  .section-head h2 { font-size: 2.55rem; }
  .paths-grid { gap: .85rem; }
  .path-card {
    min-height: 320px;
    padding: 1.55rem;
    border-radius: 24px;
  }
  .path-state { top: 1.25rem; inset-inline-start: 1.25rem; }
  .path-kicker { margin-top: 3.25rem; }
  .path-card h3 { font-size: 2.25rem; }
  .path-card p { font-size: .98rem; line-height: 1.9; }
  .path-link { inset-inline-end: 1.55rem; bottom: 1.45rem; }

  .manifesto {
    width: min(100% - 1.5rem, 520px);
    grid-template-columns: 1fr;
    gap: .5rem;
    margin: 4rem auto 5rem;
    padding: 2.3rem .4rem;
  }
  .manifesto-mark { text-align: start; font-size: 4rem; }
  .manifesto h2 { font-size: 2.45rem; }
  .manifesto p:last-child { font-size: 1rem; }

  .footer-inner {
    width: min(100% - 1.5rem, 520px);
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }
}

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