/* ============================================================
   World Space Week 2026 Pakistan — Rocket Revolution
   Design tokens derived from the official WSW-26 banner:
   deep dusk navy sky + violet brand mark + solar orange (SUPARCO/SEAD)
   ============================================================ */

/* ---------- Local fonts (no CDN) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/space-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/space-grotesk-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Sky / space surfaces (from banner background) */
  --void: #080B14;
  --space-navy: #121A2E;
  --space-navy-2: #1B2740;
  --space-navy-3: #24304D;

  /* Brand accents (from banner: WSW purple mark + SUPARCO/SEAD orange) */
  --nebula-purple: #8E2FE0;
  --nebula-purple-light: #B266F0;
  --nebula-purple-deep: #4E1590;
  --solar-orange: #FC9B2A;
  --solar-orange-light: #FFC069;
  --sunset-coral: #FE8F73;
  --sunset-gold: #FFD9A0;

  /* Neutrals */
  --star-white: #FFFFFF;
  --cloud-mist: #AFBBD6;
  --cloud-mist-dim: #7C89A8;
  --ink: #0B0E17;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Shape / motion */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22,.75,.28,1);
}

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

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--space-navy);
  color: var(--star-white);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
p { color: var(--cloud-mist); line-height: 1.7; }
::selection { background: var(--nebula-purple); color: #fff; }

:focus-visible {
  outline: 3px solid var(--solar-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-pad { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.container-x { width: min(1200px, 92%); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--solar-orange-light);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--nebula-purple), var(--solar-orange));
  display: inline-block;
}

.grad-text {
  background: linear-gradient(100deg, var(--nebula-purple-light), var(--solar-orange) 65%, var(--sunset-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   TOP BANNER — appears identically at the top of every page
   ============================================================ */
.top-banner {
  position: relative;
  width: 100%;
  line-height: 0;
  background: var(--space-navy);
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
}
.top-banner img {
  width: 100%;
  display: block;
  height: auto;
}
/* Soft blend so the banner's bottom edge melts into the page instead of a hard cut */
.top-banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  min-height: 26px;
  background: linear-gradient(180deg, transparent, var(--space-navy));
  pointer-events: none;
}
/* Thin brand-gradient seam under the banner, matching the divider line inside it */
.top-banner-seam {
  height: 3px;
  background: linear-gradient(90deg, var(--nebula-purple), var(--solar-orange), var(--sunset-coral));
}

/* ============================================================
   MAIN NAVIGATION — sits directly under the banner, sticky
   ============================================================ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 26, 46, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.main-nav.is-scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  background: rgba(12, 17, 31, .97);
}
.main-nav .navbar { padding: .55rem 0; }

.brand-mini { display: flex; align-items: center; gap: .6rem; }
.brand-mini .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sunset-gold), var(--solar-orange) 55%, var(--nebula-purple) 100%);
  box-shadow: 0 0 12px var(--solar-orange);
  flex: none;
}
.brand-mini strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--star-white);
  line-height: 1.1;
}
.brand-mini span {
  display: block;
  font-size: .68rem;
  color: var(--cloud-mist-dim);
  letter-spacing: .05em;
}

.main-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .92rem;
  color: var(--cloud-mist) !important;
  padding: .55rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .nav-link.active:not(.nav-cta) {
  color: var(--star-white) !important;
  background: rgba(142,47,224,.16);
}
.main-nav .nav-link.active:not(.nav-cta)::before {
  content: "";
  position: absolute; left: .9rem; right: .9rem; bottom: .18rem;
  height: 2px;
  background: linear-gradient(90deg, var(--nebula-purple), var(--solar-orange));
  border-radius: 2px;
}
.main-nav .dropdown-menu {
  background: var(--space-navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: .5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.main-nav .dropdown-item {
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--cloud-mist);
  border-radius: var(--radius-sm);
  padding: .55rem .8rem;
}
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus {
  background: rgba(142,47,224,.2);
  color: var(--star-white);
}
.main-nav .dropdown-item.active, .main-nav .dropdown-item:active {
  background: linear-gradient(100deg, var(--nebula-purple), var(--nebula-purple-deep));
  color: var(--star-white);
}
.main-nav .dropdown-divider { border-color: rgba(255,255,255,.08); }

/* "Contests" top-level dropdown — parent link goes to contests.html, "+" button opens the menu, hover also opens it on desktop */
.dropdown-hoverable > .dropdown-menu { display: none; }
.dropdown-hoverable.show > .dropdown-menu { display: block; }
@media (min-width: 992px) {
  .dropdown-hoverable:hover > .dropdown-menu { display: block; }
}
.nav-link-split {
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-link-split:has(.nav-link.active) { background: rgba(142,47,224,.16); }
.nav-link-split .nav-link { background: transparent !important; }
.dropdown-caret-btn {
  display: flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-left: .1rem;
  background: transparent; border: none; padding: 0;
  color: var(--cloud-mist);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .2s, background .2s, transform .25s var(--ease);
}
.dropdown-caret-btn svg { width: 16px; height: 16px; }
.dropdown-caret-btn .icon-plus { display: block; }
@media (min-width: 992px) {
  .nav-link-split .nav-link { padding-right: .3rem !important; }
  .dropdown-caret-btn { width: 14px; margin-left: 0; }
  .dropdown-caret-btn .icon-plus { display: none; }
  .dropdown-caret-btn::after {
    display: inline-block;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
  }
}
.nav-link-split:hover,
.nav-link-split:focus-within,
.dropdown-hoverable.show > .nav-link-split {
  background: rgba(142,47,224,.16);
}
.nav-link-split:hover .nav-link,
.nav-link-split:focus-within .nav-link {
  color: var(--star-white) !important;
}
.dropdown-caret-btn:hover, .dropdown-caret-btn:focus-visible { color: var(--star-white); }
.dropdown-caret-btn[aria-expanded="true"] { color: var(--star-white); }
@media (max-width: 991.98px) {
  .nav-link-split { justify-content: space-between; }
  .dropdown-caret-btn[aria-expanded="true"] { transform: rotate(45deg); }
}

/* Nested "Public Contests" submenu — 3-level navigation */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-item.dropdown-toggle::after { transition: transform .25s var(--ease); }
.dropdown-submenu > .dropdown-menu { display: none; }
.dropdown-submenu.show > .dropdown-menu { display: block; }

@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: -.5rem;
    left: 100%;
    margin-left: .4rem;
  }
  .dropdown-submenu:hover > .dropdown-menu { display: block; }
  .dropdown-submenu > .dropdown-item.dropdown-toggle::after { transform: rotate(-90deg); }
}
@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,.18);
    border-radius: var(--radius-sm);
    margin: .3rem 0 0;
    padding-left: .5rem;
  }
  .dropdown-submenu.show > .dropdown-item.dropdown-toggle::after { transform: rotate(180deg); }
}

/* "Public Contests" — real link (nav-link-split) + separate caret toggle, like the top-level items */
.dropdown-submenu > .nav-link-split { padding-right: .2rem; }
.dropdown-submenu > .nav-link-split > .dropdown-item { flex: 1; }
@media (min-width: 992px) {
  .dropdown-submenu > .nav-link-split .dropdown-caret-btn::after { transform: rotate(-90deg); }
}
.main-nav .nav-link.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  color: var(--ink) !important;
  background: linear-gradient(100deg, var(--solar-orange-light), var(--solar-orange));
  padding: .55rem 1.15rem !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(252,155,42,.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.main-nav .nav-link.nav-cta:hover,
.main-nav .nav-link.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(252,155,42,.4);
  color: var(--ink) !important;
  background: linear-gradient(100deg, var(--solar-orange), var(--sunset-coral)) !important;
}

.navbar-toggler { border: none; padding: .3rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .bar { display:block; width: 24px; height: 2px; background: var(--star-white); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 12%, rgba(254,143,115,.16), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 85%, rgba(142,47,224,.22), transparent 60%),
    linear-gradient(180deg, var(--void) 0%, var(--space-navy) 55%, var(--space-navy-2) 100%);
}
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero-horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: radial-gradient(ellipse 90% 100% at 50% 100%, rgba(252,155,42,.16), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 4rem); }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sunset-gold);
  background: rgba(142,47,224,.14);
  border: 1px solid rgba(142,47,224,.4);
  padding: .45rem .9rem; border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero-kicker .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--solar-orange);
  box-shadow: 0 0 0 0 rgba(252,155,42,.6);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(252,155,42,.55); }
  70% { box-shadow: 0 0 0 9px rgba(252,155,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(252,155,42,0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  color: var(--star-white);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--nebula-purple-light), var(--solar-orange) 60%, var(--sunset-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 46rem;
  color: var(--cloud-mist);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.btn-solar {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--ink); background: linear-gradient(100deg, var(--solar-orange-light), var(--solar-orange));
  border: none; padding: .85rem 1.7rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .6rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-solar:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(252,155,42,.35); color: var(--ink); }
.btn-ghost {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--star-white); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.28); padding: .85rem 1.7rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .6rem;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s;
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.5); color: var(--star-white); }

/* Rocket ascent — signature element */
.rocket-stage {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(30vw, 360px);
  height: 78%;
  z-index: 1;
  pointer-events: none;
}
.rocket-craft {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 78px;
  transform: translateX(-50%);
  animation: ascend 7s var(--ease) infinite;
  filter: drop-shadow(0 8px 20px rgba(142,47,224,.4));
}
@keyframes ascend {
  0%   { bottom: 4%;  transform: translateX(-50%) translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  85%  { bottom: 92%; transform: translateX(-50%) translateY(0) rotate(-3deg); opacity: 1; }
  100% { bottom: 92%; opacity: 0; }
}
.flame { transform-origin: 50% 0%; animation: flicker .12s infinite steps(2); }
@keyframes flicker { 0%{ transform: scaleY(1) } 50%{ transform: scaleY(.82) } 100%{ transform: scaleY(1.06) } }

.trail-line {
  position: absolute;
  left: 50%; bottom: 6%; top: 8%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(254,217,160,.5) 30%, rgba(252,155,42,.55) 65%, transparent);
  opacity: .55;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cloud-mist-dim); z-index: 2;
}
.scroll-cue .stick { width: 1px; height: 34px; background: linear-gradient(180deg, var(--cloud-mist-dim), transparent); position: relative; overflow: hidden; }
.scroll-cue .stick::after { content:""; position:absolute; left:0; top:-40%; width:100%; height:40%; background: var(--solar-orange); animation: scrollcue 2s infinite; }
@keyframes scrollcue { 0%{ top:-40% } 100%{ top:100% } }

/* Countdown panel */
.mission-clock {
  position: relative; z-index: 2;
  margin-top: 3rem;
  margin-bottom: 2.75rem;
  background: rgba(18,26,46,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem) 1.3rem;
  backdrop-filter: blur(6px);
  max-width: 640px;
  overflow: hidden;
  animation: clock-glow 3s ease-in-out infinite;
}
@keyframes clock-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(142,47,224,.12), 0 20px 40px rgba(0,0,0,.3); }
  50% { box-shadow: 0 0 0 1px rgba(252,155,42,.28), 0 20px 46px rgba(0,0,0,.35); }
}
.mission-clock .clabel {
  font-family: var(--font-display); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cloud-mist-dim);
  display: block; margin-bottom: .9rem;
}
.clock-units { display: flex; align-items: center; gap: .55rem; }
.cu {
  text-align: center; min-width: 58px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: .55rem .3rem .5rem;
  position: relative;
  overflow: hidden;
}
.cu::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--nebula-purple), var(--solar-orange));
  opacity: .8;
}
.cu-sep {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--cloud-mist-dim); align-self: flex-start; margin-top: .5rem;
}
.clock-units .num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--star-white); line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.cu.tick .num { animation: digit-punch .45s var(--ease); }
@keyframes digit-punch {
  0%   { transform: scale(1); text-shadow: none; }
  35%  { transform: scale(1.22); color: var(--solar-orange-light); text-shadow: 0 0 14px rgba(252,155,42,.65); }
  100% { transform: scale(1); text-shadow: none; }
}
.clock-units .unit { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cloud-mist-dim); display:block; margin-top:.25rem; }

@media (prefers-reduced-motion: reduce) {
  .mission-clock { animation: none; }
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-top: .8rem; color: var(--star-white); }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }

/* ============================================================
   ABOUT / THEME
   ============================================================ */
.theme-section { background: var(--space-navy); position: relative; }
.orbit-divider {
  display: flex; align-items: center; gap: 1rem; margin: 2.2rem 0;
}
.orbit-divider .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(142,47,224,.6), transparent); }
.orbit-divider .planet { width: 10px; height: 10px; border-radius: 50%; background: var(--solar-orange); box-shadow: 0 0 14px var(--solar-orange); flex: none; }

.theme-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 991px) { .theme-grid { grid-template-columns: 1fr; } }

.milestone-card {
  background: linear-gradient(160deg, var(--space-navy-2), var(--space-navy));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}
.milestone-card::before {
  content: "";
  position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(142,47,224,.35), transparent 70%);
}
.milestone-row { display: flex; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index:1; }
.milestone-row:last-child { border-bottom: none; }
.milestone-row .ym { font-family: var(--font-display); font-weight: 700; color: var(--solar-orange-light); min-width: 84px; }
.milestone-row .desc { color: var(--cloud-mist); font-size: .93rem; }
.milestone-row .desc strong { color: var(--star-white); }

/* Decorative orbit graphic — replaces the milestone card in the theme section */
.orbit-col { display: flex; align-items: center; justify-content: center; }
.orbit-visual {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
}
.orbit-visual::before {
  content: "";
  position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(142,47,224,.22), transparent 68%);
  filter: blur(2px);
}
.orbit-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-spin-slow { animation: orbit-spin 34s linear infinite; }
.orbit-spin-med { animation: orbit-spin 20s linear infinite reverse; }
.orbit-spin-fast { animation: orbit-spin 11s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit-center {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .35rem;
}
.oc-eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--solar-orange-light);
}
.oc-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.08;
  background: linear-gradient(100deg, var(--nebula-purple-light), var(--solar-orange) 65%, var(--sunset-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.oc-date {
  margin-top: .3rem;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .08em; color: var(--cloud-mist);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: .3rem .8rem;
}
@media (prefers-reduced-motion: reduce) {
  .orbit-spin-slow, .orbit-spin-med, .orbit-spin-fast { animation: none; }
}

/* ============================================================
   CONTEST CARDS
   ============================================================ */
.contest-card {
  height: 100%;
  background: linear-gradient(160deg, var(--space-navy-2), var(--space-navy));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.contest-card::after {
  content: "";
  position: absolute; inset: auto -30% -30% auto; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(252,155,42,.18), transparent 70%);
  transition: opacity .35s;
  opacity: 0;
}
.contest-card:hover { transform: translateY(-8px); border-color: rgba(142,47,224,.55); box-shadow: 0 24px 50px rgba(8,11,20,.55); }
.contest-card:hover::after { opacity: 1; }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--nebula-purple), var(--nebula-purple-deep));
  margin-bottom: 1.3rem;
  box-shadow: 0 10px 24px rgba(142,47,224,.35);
}
.card-icon svg { width: 28px; height: 28px; }
.contest-card h3 { font-size: 1.28rem; color: var(--star-white); margin-bottom: .7rem; }
.contest-card p { font-size: .92rem; margin-bottom: 1.1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.chip {
  font-size: .74rem; font-family: var(--font-display); font-weight: 500;
  color: var(--cloud-mist); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: .32rem .7rem; border-radius: 999px;
}
.card-link {
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  color: var(--solar-orange-light); display: inline-flex; align-items: center; gap: .4rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.contest-card:hover .card-link svg { transform: translate(3px,-3px); }
.contest-card.is-soon { cursor: default; }
.contest-card.is-soon:hover { transform: none; border-color: rgba(255,255,255,.09); box-shadow: none; }
.contest-card.is-soon:hover::after { opacity: 0; }
.contest-card.is-soon h3 { color: var(--cloud-mist); }

/* ============================================================
   ACTIVITIES — flight path timeline
   ============================================================ */
.activities-section { background: linear-gradient(180deg, var(--space-navy), var(--void)); position: relative; padding-top:0px; }
.flight-path { position: relative; }
.flight-path .path-line {
  position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background-image: linear-gradient(90deg, rgba(142,47,224,.7) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
}
@media (max-width: 767px) { .flight-path .path-line { display: none; } }
.activity-node { position: relative; text-align: center; padding-top: 0; }
.node-dot {
  width: 70px; height: 70px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--space-navy-3), var(--space-navy));
  border: 2px solid rgba(255,255,255,.14);
  position: relative; z-index: 1;
  transition: border-color .3s, transform .3s var(--ease);
}
.activity-node:hover .node-dot { border-color: var(--solar-orange); transform: translateY(-4px); }
.node-dot svg { width: 30px; height: 30px; }
.activity-node h4 { font-size: 1.08rem; color: var(--star-white); margin-bottom: .5rem; }
.activity-node p { font-size: .88rem; max-width: 22rem; margin-inline: auto; }
.tag-list { display:flex; flex-wrap:wrap; gap:.4rem; justify-content:center; margin-top:.8rem; }
.tag-list span { font-size: .72rem; color: var(--nebula-purple-light); background: rgba(142,47,224,.14); border:1px solid rgba(142,47,224,.35); padding: .25rem .6rem; border-radius: 999px; font-family: var(--font-display); }

/* Webinar mini schedule */
.webinar-strip {
  margin-top: clamp(2.4rem, 5vw, 3.5rem);
  background: var(--space-navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.webinar-row { display: flex; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.webinar-row:last-child { border-bottom: none; }
.webinar-row .wdate {
  font-family: var(--font-display); font-weight: 700; color: var(--solar-orange-light);
  min-width: 92px; font-size: .88rem;
}
.webinar-row .wtitle { color: var(--cloud-mist); font-size: .93rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--void);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stat-item { text-align: center; padding: 1.6rem 1rem; }
.stat-item .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--star-white); }
.stat-item .num span { color: var(--solar-orange); }
.stat-item .lbl { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cloud-mist-dim); margin-top: .4rem; }

/* ============================================================
   PAGE HERO — compact intro banner for inner pages (About, etc.)
   ============================================================ */
.page-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 6vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(142,47,224,.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 100%, rgba(252,155,42,.14), transparent 60%),
    linear-gradient(180deg, var(--void) 0%, var(--space-navy) 100%);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--star-white); text-wrap: balance; max-width: 42rem; }
.page-hero .lead { margin-top: 1.2rem; max-width: 46rem; font-size: clamp(1rem, 1.6vw, 1.12rem); }

.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .82rem; font-weight: 500;
  color: var(--cloud-mist-dim); margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--cloud-mist); transition: color .2s; }
.breadcrumb a:hover { color: var(--solar-orange-light); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--star-white); }

/* ============================================================
   FOCUS GRID — small activity/topic tiles
   ============================================================ */
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .9rem; margin-top: 1.8rem; }
.focus-tile {
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md); padding: .95rem 1.1rem;
  font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--star-white);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.focus-tile:hover { border-color: rgba(142,47,224,.5); transform: translateY(-3px); background: rgba(142,47,224,.08); }
.focus-tile .ft-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--solar-orange); box-shadow: 0 0 10px var(--solar-orange); flex: none; }

/* ============================================================
   QUOTE PANEL
   ============================================================ */
.quote-panel {
  border-left: 3px solid var(--solar-orange);
  background: linear-gradient(160deg, var(--space-navy-2), var(--space-navy));
  border-radius: var(--radius-md);
  padding: 1.8rem clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
}
.quote-panel p { color: var(--star-white); font-size: 1.05rem; font-family: var(--font-display); font-weight: 500; line-height: 1.6; margin: 0; }

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-table-wrap {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, var(--space-navy-2), var(--space-navy));
}
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table thead th {
  background: linear-gradient(100deg, var(--nebula-purple), var(--solar-orange));
  color: var(--star-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: .9rem 1.3rem;
}
.schedule-table thead th:last-child { text-align: right; }
.schedule-table tbody td {
  padding: .95rem 1.3rem;
  color: var(--cloud-mist);
  font-size: .96rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.schedule-table tbody td:first-child { color: var(--star-white); font-weight: 500; }
.schedule-table tbody td:last-child { text-align: right; color: var(--solar-orange-light); font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.schedule-table tbody tr:hover td { background: rgba(142,47,224,.1); }
@media (max-width: 575.98px) {
  .schedule-table thead th, .schedule-table tbody td { padding: .75rem .9rem; font-size: .88rem; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 52rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: linear-gradient(160deg, var(--space-navy-2), var(--space-navy));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.is-open { border-color: rgba(142,47,224,.5); box-shadow: 0 20px 44px rgba(8,11,20,.4); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--star-white);
  transition: background .25s;
}
.faq-question:hover, .faq-question:focus-visible { background: rgba(255,255,255,.03); }
.faq-question .qnum {
  color: var(--solar-orange-light); margin-right: .6rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--cloud-mist);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .3s, background .3s;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-question[aria-expanded="true"] .faq-icon {
  background: linear-gradient(135deg, var(--nebula-purple), var(--solar-orange));
  border-color: transparent; transform: rotate(180deg);
}
.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer-inner { padding: 0 1.4rem 1.35rem; }
.faq-answer-inner p { font-size: .94rem; }
.faq-answer-inner p + p { margin-top: .7rem; }
.faq-answer-inner strong { color: var(--star-white); }
.faq-answer-inner a { color: var(--solar-orange-light); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   CONTEST DETAIL PAGES
   ============================================================ */
.contest-meta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.meta-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--cloud-mist);
}
.meta-chip.is-deadline { color: var(--sunset-coral); border-color: rgba(254,143,115,.4); background: rgba(254,143,115,.1); }
.meta-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.contest-content { max-width: 46rem; margin-inline: auto; }
.contest-content h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--star-white);
  margin-top: clamp(2.6rem, 5vw, 3.4rem); margin-bottom: 1rem;
}
.contest-content > .reveal:first-child h2 { margin-top: 0; }
.contest-content p { font-size: 1rem; }
.contest-content p a,
.rule-list a {
  color: var(--solar-orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}
.contest-content p a:hover,
.rule-list a:hover { color: var(--solar-orange); }

.rule-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.rule-list li {
  position: relative; padding-left: 1.4rem;
  font-size: .98rem; color: var(--cloud-mist); line-height: 1.65;
}
.rule-list li::before {
  content: ""; position: absolute; left: 0; top: .6rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--solar-orange); box-shadow: 0 0 8px rgba(252,155,42,.6);
}
.rule-sublist { list-style: none; margin: .8rem 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.rule-sublist li { position: relative; padding-left: 1.2rem; font-size: .92rem; color: var(--cloud-mist); }
.rule-sublist li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nebula-purple-light);
}

.deadline-callout {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(254,143,115,.12), rgba(142,47,224,.06));
  border: 1px solid rgba(254,143,115,.35);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  margin-top: 1rem;
}
.deadline-callout .dc-date { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--sunset-coral); }
.deadline-callout .dc-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cloud-mist-dim); }

.download-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.download-item {
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-sm); padding: .85rem 1.1rem;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--star-white);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.download-item svg { width: 18px; height: 18px; color: var(--solar-orange-light); flex: none; }
.download-item .dl-arrow { margin-left: auto; width: 16px; height: 16px; color: var(--cloud-mist-dim); flex: none; transition: transform .25s var(--ease), color .25s; }
a.download-item:hover { border-color: rgba(142,47,224,.5); background: rgba(142,47,224,.08); transform: translateX(4px); color: var(--star-white); }
a.download-item:hover .dl-arrow { color: var(--solar-orange-light); transform: translateY(2px); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--nebula-purple-deep), var(--nebula-purple) 55%, var(--solar-orange));
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4rem);
  margin-inline: auto;
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-band::before { width: 260px; height: 260px; top: -120px; left: -80px; }
.cta-band::after { width: 180px; height: 180px; bottom: -90px; right: -40px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: #fff; position: relative; z-index:1; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 38rem; margin: 1rem auto 1.8rem; position: relative; z-index:1; }
.cta-band .hero-actions { justify-content: center; position: relative; z-index: 1; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.55); }
.cta-band .btn-solar { background: #fff; color: var(--ink); }
.cta-band .btn-solar:hover { background: var(--ink); color:#fff; box-shadow: 0 14px 30px rgba(0,0,0,.35); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--void); border-top: 1px solid rgba(255,255,255,.07); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--star-white); }
.site-footer p.tagline { max-width: 26rem; font-size: .92rem; }
.footer-heading { font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cloud-mist-dim); margin-bottom: 1.1rem; }
.footer-links a { display: block; font-size: .92rem; color: var(--cloud-mist); padding: .32rem 0; transition: color .2s, transform .2s; }
.footer-links a:hover { color: var(--solar-orange-light); transform: translateX(3px); }
.footer-contact li { display: flex; gap: .7rem; font-size: .92rem; color: var(--cloud-mist); margin-bottom: .8rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--solar-orange); }
.social-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); color: var(--star-white);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.social-row a:hover { background: linear-gradient(135deg, var(--nebula-purple), var(--solar-orange)); border-color: transparent; transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 2.6rem; padding: 1.4rem 0; font-size: .82rem; color: var(--cloud-mist-dim); display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; }
.footer-bottom a { color: var(--cloud-mist-dim); }
.footer-bottom a:hover { color: var(--star-white); }
.hashtags { font-family: var(--font-display); color: var(--nebula-purple-light); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible .rs-item:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible .rs-item:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible .rs-item:nth-child(3) { transition-delay: .25s; }

/* ============================================================
   SKIP LINK / A11y
   ============================================================ */
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--solar-orange); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  z-index: 2000; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 991px) {
  .rocket-stage { display: none; }
  .mission-clock { max-width: 100%; }
}
@media (max-width: 767px) {
  .theme-grid { gap: 2rem; }
  .cta-band { border-radius: var(--radius-md); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}
