/* ===========================================================
   KITA landing page
   Tokens derived straight from the brand sheet: Navy / Amber /
   Mint / Warm White / Charcoal, Plus Jakarta Sans everywhere.
   =========================================================== */

:root {
  --navy: #252B48;
  --navy-soft: #3B4470;
  --navy-deep: #171B30;
  --amber: #FFB84D;
  --amber-deep: #F2971F;
  --mint: #BFE8D5;
  --teal: #1E9E82;
  --warm: #FAF9F6;
  --warm-dim: #F1EEE6;
  --charcoal: #224224;
  --ink: #20242B;
  --periwinkle: #7B85C4;

  --font: "Plus Jakarta Sans", system-ui, sans-serif;

  --container: 1160px;
  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--warm);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-amber {
  background: var(--amber);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -8px rgba(255, 184, 77, 0.7);
}
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 30px -8px rgba(255, 184, 77, 0.85); }
.btn-amber:active { transform: translateY(-1px) scale(0.98); transition-duration: 0.1s; }
.btn-ghost-light {
  background: transparent;
  color: var(--warm);
  border: 1.5px solid rgba(250, 249, 246, 0.4);
}
.btn-ghost-light:hover { background: rgba(250, 249, 246, 0.12); border-color: rgba(250, 249, 246, 0.7); transform: translateY(-3px); }
.btn-ghost-light:active { transform: translateY(-1px); transition-duration: 0.1s; }
.btn-small { padding: 10px 20px; font-size: 13.5px; }

/* button ripple */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 66, 36, 0.08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark-wrap { position: relative; display: inline-flex; }
.nav-mark { width: 30px; height: 30px; transition: transform 0.4s var(--ease-bounce); }
.nav-brand:hover .nav-mark { transform: rotate(-8deg) scale(1.08); }
.nav-mark-spark {
  position: absolute;
  top: -6px; right: -8px;
  width: 12px; height: 12px;
  opacity: 0;
  transform: scale(0.4) rotate(-20deg);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-bounce);
}
.nav-brand:hover .nav-mark-spark { opacity: 1; transform: scale(1) rotate(20deg); }
.nav-word { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.nav-word i { font-style: normal; color: var(--amber-deep); }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink); opacity: 0.75; transition: opacity 0.2s, color 0.2s; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -4px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { right: 0; }
.nav.is-scrolled { box-shadow: 0 8px 24px -16px rgba(37, 43, 72, 0.25); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 90% at 30% 0%, var(--navy-soft), var(--navy) 55%, var(--navy-deep) 100%);
  padding: 96px 28px 140px;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-sky { position: absolute; inset: 0; overflow: hidden; }
.hero-sky .star {
  position: absolute;
  background: var(--amber);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  opacity: 0.85;
  animation: twinkle 3.6s ease-in-out infinite;
}
.hero-sky .dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(250, 249, 246, 0.55);
  animation: twinkle 4.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  min-width: 0;
  margin: 0 auto;
  margin-left: max(28px, calc(50% - 560px));
  text-align: left;
}

/* ---- hero orchestrated entrance ---- */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-anim { opacity: 1; transform: none; animation: none; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 184, 77, 0.14);
  border: 1px solid rgba(255, 184, 77, 0.35);
  color: var(--amber);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-eyebrow-star { width: 14px; height: 14px; animation: twinkle 2.6s ease-in-out infinite; }

.hero-title {
  font-size: clamp(34px, 5.4vw, 58px);
  color: var(--warm);
}
.hero-title-accent { color: var(--amber); position: relative; }
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  max-width: 480px;
  color: rgba(250, 249, 246, 0.78);
}
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-illustration {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: min(46vw, 460px);
  z-index: 1;
  opacity: 0.96;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration > * { will-change: transform; }

.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.35), rgba(191, 232, 213, 0.16) 55%, transparent 72%);
  filter: blur(18px);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 0;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.75; }
  50% { transform: scale(1.06); opacity: 1; }
}

.hero-figure {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite, heroSettle 1s var(--ease-bounce) 0.15s backwards;
  transition: transform 0.25s var(--ease);
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }
@keyframes heroSettle { from { opacity: 0; transform: scale(0.8) translateY(30px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.hero-orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.orbit-star {
  position: absolute;
  width: 22px; height: 22px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
}
.orbit-star-1 { top: 6%; right: 14%; width: 26px; height: 26px; animation: orbitFloat 4.5s ease-in-out infinite, twinkle 3.2s ease-in-out infinite; }
.orbit-star-2 { bottom: 20%; left: 2%; width: 18px; height: 18px; animation: orbitFloat 5.5s ease-in-out infinite reverse, twinkle 3.8s ease-in-out infinite 0.5s; }
.orbit-star-3 { top: 40%; right: -2%; width: 10px; height: 10px; animation: orbitFloat 3.8s ease-in-out infinite; opacity: 0.85; }
.orbit-star-4 { bottom: 8%; right: 26%; width: 15px; height: 15px; animation: orbitFloat 5s ease-in-out infinite 0.8s, twinkle 3s ease-in-out infinite 1.1s; }
@keyframes orbitFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -10px) rotate(14deg); }
}

.hero-sparks { position: absolute; inset: -10%; z-index: 2; pointer-events: none; overflow: visible; }
.hero-spark-particle {
  position: absolute;
  bottom: 10%;
  width: 6px; height: 6px;
  background: var(--amber);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: sparkRise 2.6s ease-out forwards;
}
@keyframes sparkRise {
  0% { transform: translateY(0) scale(0.4); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-140px) scale(1); opacity: 0; }
}

@media (max-width: 900px) {
  .hero-illustration { position: relative; right: auto; bottom: auto; width: 78vw; margin: 40px auto 0; }
  .hero-inner { margin-left: auto; margin-right: auto; text-align: center; padding: 0 16px; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero { flex-direction: column; padding-bottom: 40px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-figure, .hero-glow, .orbit-star { animation: none !important; }
}

/* ---------- context strip ---------- */
.context-strip {
  background: var(--mint);
  padding: 22px 28px;
  text-align: center;
}
.context-strip p {
  max-width: 640px;
  margin: 0 auto;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 15px;
}

/* ---------- section head ---------- */
.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--navy); }
.section-head p { margin-top: 14px; font-size: 16.5px; color: var(--ink); opacity: 0.72; }
.section-head-light h2 { color: var(--warm); }
.section-head-light p { color: rgba(250, 249, 246, 0.72); }

/* ---------- roles ---------- */
.roles { padding: 110px 24px; max-width: var(--container); margin: 0 auto; }

.role-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.role-tab-indicator {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--navy);
  z-index: 0;
  transition: left 0.4s var(--ease-bounce), width 0.4s var(--ease-bounce);
}
.role-tab {
  position: relative;
  z-index: 1;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(34, 66, 36, 0.14);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.role-tab:hover { border-color: var(--navy); transform: translateY(-1px); }
.role-tab.is-active { border-color: transparent; color: var(--warm); }

.role-panels { position: relative; }
.role-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  background: var(--warm-dim);
  border-radius: var(--radius-l);
  padding: 52px;
}
.role-panel.is-active { display: grid; animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.role-panel-art { transition: transform 0.4s var(--ease); }
.role-panel.is-active:hover .role-panel-art { transform: translateY(-4px) rotate(-0.6deg); }
.role-panel-text h3 { font-size: 25px; color: var(--navy); margin-bottom: 12px; }
.role-panel-text > p { opacity: 0.75; margin-bottom: 22px; font-size: 15.5px; }
.role-panel-text ul { display: flex; flex-direction: column; gap: 12px; }
.role-panel-text li {
  font-size: 15px;
  padding-left: 26px;
  position: relative;
  color: var(--ink);
}
.role-panel-text li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.role-panel-art {
  aspect-ratio: 1 / 0.85;
  border-radius: var(--radius-m);
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}
.role-panel-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 20%, rgba(255,184,77,0.35), transparent 40%),
                     radial-gradient(circle at 20% 80%, rgba(191,232,213,0.3), transparent 45%);
}
.role-art-svg { position: relative; z-index: 1; width: 100%; max-width: 300px; }
.role-panel-art[data-art="sekolah"] { background: linear-gradient(145deg, var(--teal), #14705B); }
.role-panel-art[data-art="ortu"] { background: linear-gradient(145deg, var(--periwinkle), var(--navy-soft)); }
.role-panel-art[data-art="siswa"] { background: linear-gradient(145deg, var(--amber-deep), #C97400); }

@media (max-width: 820px) {
  .role-panel { grid-template-columns: 1fr; padding: 32px 24px; }
  .role-panel-art { order: -1; aspect-ratio: 16/10; }
}

/* ---------- journey (signature moment) ---------- */
.journey {
  background: var(--navy-deep);
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.journey-drift { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.journey-drift .drift-star {
  position: absolute;
  background: var(--amber);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  opacity: 0;
  animation: driftUp linear infinite;
}
@keyframes driftUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.55; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-1300px) rotate(90deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .journey-drift { display: none; } }
.journey-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 1400px;
}
.journey-path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.journey-walker {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 78px;
  height: 58px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  will-change: transform;
  z-index: 2;
}
.journey-walker .bike-svg { width: 100%; height: 100%; overflow: visible; animation: bikeBob 0.5s ease-in-out infinite; }
@keyframes bikeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.2px); }
}
.bike-wheel { transform-origin: center; transform-box: fill-box; animation: wheelSpin 0.7s linear infinite; }
@keyframes wheelSpin { to { transform: rotate(360deg); } }
.bike-leg { transform-origin: 48px 39px; animation: pedal 0.7s ease-in-out infinite; }
.bike-leg-1 { animation-delay: 0s; }
.bike-leg-2 { animation-delay: 0.35s; }
@keyframes pedal {
  0%, 100% { transform: rotate(-16deg) translateY(0); }
  50% { transform: rotate(16deg) translateY(-1px); }
}
.bike-flag { transform-origin: 18px 40px; animation: flagWave 1.1s ease-in-out infinite; }
@keyframes flagWave { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
.bike-rider { animation: riderBounce 0.7s ease-in-out infinite; transform-origin: 50px 45px; }
@keyframes riderBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4px); } }

@media (prefers-reduced-motion: reduce) {
  .journey-walker .bike-svg, .bike-wheel, .bike-leg, .bike-flag, .bike-rider { animation: none !important; }
}

.journey-dust { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dust-puff {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(191, 232, 213, 0.6);
  animation: dustPop 0.7s ease-out forwards;
}
@keyframes dustPop {
  0% { transform: scale(0.4) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.4) translate(-16px, 10px); opacity: 0; }
}

.journey-stop {
  position: absolute;
  top: var(--stop-top);
  width: 46%;
  transform: translateY(-50%);
}
.journey-stop[data-align="left"] { left: 0; text-align: right; }
.journey-stop[data-align="right"] { right: 0; text-align: left; }

.journey-dot {
  display: none;
}

.journey-card {
  background: rgba(250, 249, 246, 0.05);
  border: 1px solid rgba(250, 249, 246, 0.1);
  border-radius: var(--radius-m);
  padding: 26px 28px;
  backdrop-filter: blur(6px);
}
.journey-card-final { background: var(--amber); border-color: transparent; }
.journey-card-final .journey-kicker,
.journey-card-final h3,
.journey-card-final p { color: var(--navy-deep); }

.journey-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 8px;
}
.journey-card h3 { font-size: 19px; color: var(--warm); margin-bottom: 8px; }
.journey-card p { font-size: 14.5px; color: rgba(250, 249, 246, 0.68); }

@media (max-width: 780px) {
  .journey-path, .journey-walker { display: none; }
  .journey-track { min-height: 0; }
  .journey-stop {
    position: static;
    width: 100%;
    transform: none;
    text-align: left !important;
    margin-bottom: 20px;
  }
}

/* ---------- modules ---------- */
.modules { padding: 110px 24px; max-width: var(--container); margin: 0 auto; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.module-card {
  background: var(--warm-dim);
  border-radius: var(--radius-m);
  padding: 30px;
  grid-column: span 2;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.module-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 20px 36px -18px rgba(37, 43, 72, 0.4);
}
.module-card:hover .module-icon { animation: iconPop 0.5s var(--ease-bounce); }
@keyframes iconPop {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.18) rotate(-10deg); }
  70% { transform: scale(0.95) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.module-card-feature {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.module-card-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 10%, rgba(255,255,255,0.14), transparent 45%);
  pointer-events: none;
}
.module-navy { background: linear-gradient(150deg, var(--navy), var(--navy-soft)); }
.module-navy h3, .module-navy p { color: var(--warm); }
.module-navy p { opacity: 0.75; }
.module-mint { background: linear-gradient(150deg, var(--mint), #9BD8C0); }
.module-mint h3, .module-mint p { color: var(--charcoal); }

.module-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease);
}
.module-icon svg { width: 24px; height: 24px; }
.module-icon-light { background: rgba(250, 249, 246, 0.16); color: var(--warm); }
.module-icon-dark { background: rgba(34, 66, 36, 0.14); color: var(--charcoal); }
.module-icon-amber { background: rgba(255, 184, 77, 0.28); color: var(--navy-deep); }
.module-icon-mint { background: rgba(30, 158, 130, 0.16); color: var(--teal); }
.module-icon-navy { background: rgba(37, 43, 72, 0.1); color: var(--navy); }
.module-icon-badge {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--warm);
  box-shadow: 0 8px 18px -8px rgba(242, 151, 31, 0.65);
}

.module-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; position: relative; z-index: 1; }
.module-card p { font-size: 14px; opacity: 0.7; position: relative; z-index: 1; }

@media (max-width: 900px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card, .module-card-feature { grid-column: span 2; grid-row: span 1; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--teal);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 2; }
.cta-banner h2 { color: var(--navy-deep); font-size: clamp(28px, 4vw, 40px); }
.cta-banner p { margin-top: 16px; color: rgba(23, 27, 48, 0.75); font-size: 16.5px; }
.cta-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-ghost-light { color: var(--navy-deep); border-color: rgba(23,27,48,0.3); }
.cta-banner .btn-ghost-light:hover { background: rgba(23,27,48,0.08); border-color: rgba(23,27,48,0.5); }
.cta-spark { position: absolute; width: 46px; opacity: 0.5; animation: twinkle 3.2s ease-in-out infinite, spin 12s linear infinite; }
.cta-spark-1 { top: 14%; left: 8%; }
.cta-spark-2 { bottom: 12%; right: 10%; width: 34px; animation-delay: 1.1s; }
.cta-spark-3 { top: 62%; left: 16%; width: 22px; opacity: 0.35; animation-delay: 0.6s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); padding: 44px 24px; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand .footer-logo { height: 22px; width: auto; transition: transform 0.3s var(--ease-bounce); }
.footer-brand:hover .footer-logo { transform: scale(1.05) rotate(-1deg); }
.footer-brand p { margin-top: 8px; font-size: 13px; color: rgba(250,249,246,0.55); }
.footer-copy { font-size: 13px; color: rgba(250,249,246,0.45); }

/* ===========================================================
   Scroll reveal system
   =========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* staggered children within grids */
.module-grid[data-reveal-group] .module-card,
.module-card[data-reveal] {
  transition-delay: calc(var(--i, 0) * 70ms);
}
.role-panels[data-reveal] { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
