@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%, 0%);
  }
  70% {
    transform: translate(0%, 15%);
  }
  80% {
    transform: translate(3%, 35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}

.animate-grain {
  animation: grain 8s steps(10) infinite;
}

@keyframes hero-load {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-hero-load {
  animation: hero-load 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cta-heading {
  color: #ffffff;
}

.cta-secondary-btn {
  color: #ffffff;
}

.cta-grid-bg {
  background-image:
    linear-gradient(rgba(188, 160, 106, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 160, 106, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: ctaGridPulse 8s ease-in-out infinite;
}

@keyframes ctaGridPulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.cta-orb {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.cta-orb-a {
  animation: ctaOrbA 14s ease-in-out infinite alternate;
  background: radial-gradient(
    circle,
    rgba(188, 160, 106, 0.18) 0%,
    rgba(188, 160, 106, 0.04) 55%,
    transparent 75%
  );
}

.cta-orb-b {
  animation: ctaOrbB 18s ease-in-out infinite alternate;
  background: radial-gradient(
    circle,
    rgba(188, 160, 106, 0.12) 0%,
    rgba(80, 50, 10, 0.05) 55%,
    transparent 75%
  );
}

.cta-orb-c {
  animation: ctaOrbC 11s ease-in-out infinite alternate;
  background: radial-gradient(circle, rgba(188, 160, 106, 0.08) 0%, transparent 70%);
}

@keyframes ctaOrbA {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-40px, 30px) scale(1.12);
  }
}

@keyframes ctaOrbB {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, -40px) scale(1.08);
  }
}

@keyframes ctaOrbC {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.cta-beam-ray {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(188, 160, 106, 0.04) 48%,
    rgba(188, 160, 106, 0.09) 50%,
    rgba(188, 160, 106, 0.04) 52%,
    transparent 60%
  );
  animation: ctaBeamSweep 9s ease-in-out infinite;
}

@keyframes ctaBeamSweep {
  0% {
    transform: translateX(-10%);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(230%);
    opacity: 0;
  }
}

.cta-geo-hex {
  animation: ctaGeoSpin 60s linear infinite;
  transform-origin: center;
}

.cta-geo-diamond {
  animation: ctaGeoSpin 80s linear infinite reverse;
  transform-origin: center;
}

.cta-spin-slow {
  animation: ctaGeoSpin 30s linear infinite;
}

@keyframes ctaGeoSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

:root.light .cta-heading {
  color: #110d0a;
}

:root.light .cta-secondary-btn {
  color: #D9B164;
}

:root.light .cta-grid-bg {
  background-image:
    linear-gradient(rgba(188, 160, 106, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 160, 106, 0.04) 1px, transparent 1px);
}

:root.light .cta-orb-a {
  background: radial-gradient(
    circle,
    rgba(188, 160, 106, 0.06) 0%,
    rgba(188, 160, 106, 0.01) 50%,
    transparent 75%
  );
}

:root.light .cta-orb-b {
  background: radial-gradient(circle, rgba(188, 160, 106, 0.04) 0%, transparent 75%);
}

:root.light .cta-orb-c {
  background: radial-gradient(circle, rgba(188, 160, 106, 0.03) 0%, transparent 70%);
}

:root.light .cta-beam-ray {
  opacity: 0;
  animation: none;
}

:root.light .cta-geo-hex,
:root.light .cta-geo-diamond {
  opacity: 0.04;
}

:root.light .cta-geo-ring {
  opacity: 0.05;
}

:root.light #contact .bg-gray-800 {
  background-color: rgba(188, 160, 106, 0.15);
}

:root.light #cta-particles {
  opacity: 0.15;
}

.footer-orb {
  animation: ftOrbPulse 14s ease-in-out infinite alternate;
}

.footer-orb-l {
  animation-duration: 19s;
  animation-delay: -5s;
}

.footer-orb-r {
  animation-duration: 22s;
  animation-delay: -11s;
}

@keyframes ftOrbPulse {
  0% {
    transform: scale(1) translateY(0px);
  }

  50% {
    transform: scale(1.08) translateY(-18px);
  }

  100% {
    transform: scale(0.95) translateY(10px);
  }
}

.footer-orb-main {
  animation-name: ftOrbMain;
}

@keyframes ftOrbMain {
  0% {
    transform: translateX(-50%) scale(1) translateY(0px);
  }

  50% {
    transform: translateX(-50%) scale(1.06) translateY(-20px);
  }

  100% {
    transform: translateX(-50%) scale(0.97) translateY(8px);
  }
}

.footer-shield {
  animation: ftShieldSpin 120s linear infinite;
  transform-origin: center;
}

:root.light .footer-shield {
  opacity: 0.045;
}

@keyframes ftShieldSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.footer-topline {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(188, 160, 106, 0.5) 25%,
    rgba(188, 160, 106, 0.85) 50%,
    rgba(188, 160, 106, 0.5) 75%,
    transparent 100%
  );
}

:root.light .footer-topline {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(156, 128, 76, 0.4) 25%,
    rgba(156, 128, 76, 0.7) 50%,
    rgba(156, 128, 76, 0.4) 75%,
    transparent 100%
  );
}

:root.light .footer-orb-main {
  background: radial-gradient(
    circle,
    rgba(188, 160, 106, 0.11) 0%,
    rgba(188, 160, 106, 0.03) 45%,
    transparent 70%
  ) !important;
}

:root.light .footer-orb-l,
:root.light .footer-orb-r {
  background: radial-gradient(circle, rgba(188, 160, 106, 0.06) 0%, transparent 70%) !important;
}

:root.light #footer-aurora {
  opacity: 0.2;
}

.footer-ember {
  position: absolute;
  border-radius: 50%;
  background: rgba(188, 160, 106, 0.7);
  box-shadow: 0 0 6px 2px rgba(188, 160, 106, 0.4);
  animation: ftEmberRise linear infinite;
  pointer-events: none;
}

:root.light .footer-ember {
  background: rgba(156, 128, 76, 0.5);
  box-shadow: 0 0 4px 1px rgba(156, 128, 76, 0.3);
}

@keyframes ftEmberRise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-320px) translateX(var(--drift)) scale(0.3);
    opacity: 0;
  }
}

:root.light #about-hero {
  background-color: #fdfcf9;
}

:root.light #about-hero #hero-parallax-bg {
  filter: brightness(1.2) contrast(1.1) saturate(0.9) opacity(0.25);
}

:root.light #about-hero .bg-gradient-to-b {
  background: linear-gradient(to bottom, #fdfcf9, rgba(253, 252, 249, 0.7), transparent);
}

.light #about-hero .hero-radial-bg {
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(188, 160, 106, 0.05) 50%,
    rgba(188, 160, 106, 0.1) 100%
  );
}
:root.light #about-hero .bg-black\/30 {
  background-color: rgba(253, 252, 249, 0.4);
}

:root.light #about-hero .bg-gradient-to-t {
  background: linear-gradient(to top, #fdfcf9, rgba(253, 252, 249, 0.8), transparent);
}

:root.light #about-hero h1 {
  color: #1a1a1a !important;
  text-shadow: none;
}

:root.light #about-hero p {
  color: #4a4a4a !important;
  text-shadow: none;
}

#about-hero .about-badge {
  color: #ffffff !important;
}

:root.light #about-hero .about-badge {
  color: #000000 !important;
}

:root.light #about-hero .bg-primary-600\/10 {
  background-color: rgba(188, 160, 106, 0.15);
  border-color: rgba(188, 160, 106, 0.3);
}

:root.light #about-hero .text-primary-400 {
  color: #8c703c;
}

:root.light #about-hero .group\/timeline {
  background-color: white;
  border-color: rgba(188, 160, 106, 0.2);
  box-shadow: 0 32px 64px -16px rgba(188, 160, 106, 0.15);
}

:root.light #about-hero .group\/timeline > div {
  background-color: #fdfcf9;
  border-color: rgba(0, 0, 0, 0.05);
}

:root.light #about-hero .group\/timeline > div:hover {
  background-color: white;
}

:root.light #about-hero .group\/timeline h3 {
  color: #1a1a1a;
}

:root.light #about-hero .group\/timeline p {
  color: #666666 !important;
}

:root.light #mouse-glow {
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(188, 160, 106, 0.08),
    transparent 80%
  );
}

.journey-panel {
  position: relative;
  border-radius: 2.5rem;
  padding: 2.5rem 1.5rem 3rem;
  background: rgba(9, 12, 17, 0.6);
  border: 1px solid rgba(188, 160, 106, 0.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 40px 90px -28px rgba(0, 0, 0, 0.65);
}

@media (min-width: 768px) {
  .journey-panel {
    padding: 3.5rem 3rem 3.75rem;
  }
}

:root.light .journey-panel {
  background: rgba(253, 252, 249, 0.95);
  border-color: rgba(188, 160, 106, 0.28);
  box-shadow: 0 40px 90px -28px rgba(150, 100, 20, 0.22);
}

.timeline-row {
  position: relative;
}

.timeline-step {
  position: relative;
  z-index: 2;
  max-width: 170px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-number {
  display: block;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(188, 160, 106, 0.9);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.timeline-icon-circle {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #e4c98e 0%, #bca06a 55%, #8f7442 100%);
  border: none;
  color: #1c1712;
  margin-bottom: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  box-shadow: 0 10px 22px -8px rgba(120, 88, 30, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(60, 42, 10, 0.25);
}

.timeline-step:hover .timeline-icon-circle,
.timeline-step.is-active .timeline-icon-circle {
  filter: brightness(1.12) saturate(1.1);
  box-shadow: 0 0 28px rgba(212, 181, 122, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(60, 42, 10, 0.25);
  transform: translateY(-4px) scale(1.07);
}

.timeline-step.is-active .timeline-icon-circle::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 9999px;
  border: 1.5px solid rgba(188, 160, 106, 0.55);
  animation: pulseRing 1.7s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-icon-circle {
    animation: none !important;
  }
  .timeline-step.is-active .timeline-icon-circle::after {
    animation: none !important;
    display: none;
  }
}

.timeline-step.is-active .timeline-number {
  color: #d4b57a;
}

.timeline-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9fafb;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.timeline-step:hover .timeline-title,
.timeline-step.is-active .timeline-title {
  color: #bca06a;
}

.timeline-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.5;
}

.timeline-connector {
  flex: 1 1 auto;
  align-self: flex-start;
  margin-top: 50px;
  height: 8px;
  min-width: 24px;
  position: relative;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(188, 160, 106, 0.75) 0,
    rgba(188, 160, 106, 0.75) 6px,
    transparent 6px,
    transparent 13px
  );
  background-size: 26px 2px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.timeline-connector.is-drawn {
  transform: scaleX(1);
  animation: connectorFlow 1.3s linear infinite;
}

.timeline-connector::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid rgba(188, 160, 106, 0.65);
  transform: translateY(-50%);
}

.timeline-connector.is-drawn::after {
  animation: arrowNudge 1.4s ease-in-out infinite;
}

@keyframes connectorFlow {
  from { background-position: 0 50%; }
  to { background-position: 26px 50%; }
}

@keyframes arrowNudge {
  0%, 100% {
    transform: translate(0, -50%);
  }
  50% {
    transform: translate(4px, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-connector.is-drawn {
    animation: none !important;
  }
  .timeline-connector.is-drawn::after {
    animation: none !important;
    transform: translateY(-50%) !important;
  }
}

@media (max-width: 767px) {
  .timeline-row {
    align-items: center;
  }
  .timeline-step {
    max-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-step,
  .timeline-connector,
  .feature-card {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.feature-card {
  position: relative;
  background: rgba(17, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.5s ease,
    border-color 0.5s ease, box-shadow 0.5s ease;
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  background: rgba(31, 41, 55, 0.65);
  border-color: rgba(188, 160, 106, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -20px rgba(188, 160, 106, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: linear-gradient(150deg, #e4c98e 0%, #bca06a 55%, #8f7442 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c1712;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 18px -8px rgba(120, 88, 30, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover .feature-icon {
  filter: brightness(1.12) saturate(1.1);
  box-shadow: 0 0 22px rgba(212, 181, 122, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transform: scale(1.08) rotate(-4deg);
}

.feature-title {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #f9fafb;
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .feature-title {
    font-size: 1rem;
  }
}

.feature-subtitle {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #bca06a;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.6;
}


:root.light .timeline-title {
  color: #1a1a1a;
}

:root.light .timeline-step:hover .timeline-title,
:root.light .timeline-step.is-active .timeline-title {
  color: #8c703c;
}

:root.light .timeline-desc {
  color: #6b6b6b;
}

:root.light .feature-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px -18px rgba(150, 100, 20, 0.15);
}

:root.light .feature-card:hover {
  border-color: rgba(188, 160, 106, 0.4);
  box-shadow: 0 24px 50px -20px rgba(150, 100, 20, 0.2);
}

:root.light .feature-title {
  color: #1a1a1a;
}

:root.light .feature-desc {
  color: #666666;
}


.hub-eyebrow {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(212, 181, 122, 0.95);
}

.hub-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 480px;
}

@media (max-width: 640px) {
  .hub-diagram { max-height: 380px; }
}

.hub-lines { pointer-events: none; }

.hub-line {
  stroke: rgba(212, 181, 122, 0.5);
  stroke-width: 0.5;
  stroke-dasharray: 4 3;
  stroke-dashoffset: 60;
  opacity: 0;
  transition: opacity 0.5s ease, stroke 0.35s ease, stroke-width 0.35s ease;
}

.hub-diagram.is-visible .hub-line {
  opacity: 1;
  animation: hubDraw 1.1s ease-out forwards, hubDash 3.5s linear 1.1s infinite;
  animation-delay: calc(var(--i) * 90ms), calc(var(--i) * 90ms + 1.1s);
}

.hub-line.is-highlighted {
  stroke: rgba(230, 197, 140, 0.95);
  stroke-width: 1;
  filter: drop-shadow(0 0 3px rgba(212, 181, 122, 0.6));
}

@keyframes hubDraw {
  from { stroke-dashoffset: 60; }
  to { stroke-dashoffset: 0; }
}
@keyframes hubDash {
  to { stroke-dashoffset: -14; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-line { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}

.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 100px;
  height: 100px;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #2e2419 0%, #17130d 75%);
  border: 2.5px solid #e6c58c;
  color: #f0d9a8;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 0 10px rgba(230, 197, 140, 0.12),
    0 14px 34px -8px rgba(0, 0, 0, 0.75);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.hub-diagram.is-visible .hub-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hub-center svg {
  color: #f0d9a8;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.hub-center::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 181, 122, 0.35);
  animation: hubPulseRing 2.6s ease-out infinite;
}

.hub-center::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 181, 122, 0.18);
  animation: hubPulseRing 2.6s ease-out infinite 0.6s;
}

@keyframes hubPulseRing {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-center::before, .hub-center::after { animation: none !important; display: none; }
}

.hub-center-label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  color: #f5e2b8;
  margin-top: 4px;
}

.hub-center-sub {
  font-size: 0.56rem;
  font-weight: 600;
  color: #d4d8de;
  text-align: center;
  line-height: 1.3;
  margin-top: 3px;
}

@media (max-width: 640px) {
  .hub-center { width: 76px; height: 76px; }
  .hub-center-label { font-size: 0.66rem; }
  .hub-center-sub { font-size: 0.48rem; }
}

.hub-node {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.hub-diagram.is-visible .hub-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: calc(var(--n) * 70ms + 0.15s);
}

.hub-node-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 20, 15, 0.75);
  border: 1.5px solid rgba(212, 181, 122, 0.55);
  color: #d4b57a;
  margin-bottom: 7px;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.hub-node-icon svg { width: 18px; height: 18px; }

.hub-node:hover .hub-node-icon,
.hub-node:focus-visible .hub-node-icon,
.hub-node.is-active .hub-node-icon {
  transform: scale(1.18) translateY(-2px);
  background: linear-gradient(150deg, #e6c58c 0%, #bca06a 100%);
  color: #1c1712;
  border-color: rgba(212, 181, 122, 0.95);
  box-shadow: 0 0 22px rgba(212, 181, 122, 0.55), 0 8px 18px -6px rgba(0, 0, 0, 0.5);
}

.hub-node-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #e5e7eb;
  line-height: 1.3;
  background: rgba(13, 17, 23, 0.55);
  padding: 1px 6px;
  border-radius: 4px;
  transition: color 0.3s ease, background 0.3s ease;
}

.hub-node:hover .hub-node-label,
.hub-node.is-active .hub-node-label {
  color: #f3d9a8;
  background: rgba(13, 17, 23, 0.8);
}

.hub-node:focus-visible {
  outline: none;
}
.hub-node:focus-visible .hub-node-icon {
  outline: 2px solid rgba(212, 181, 122, 0.9);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hub-node { width: 74px; }
  .hub-node-icon { width: 34px; height: 34px; }
  .hub-node-icon svg { width: 15px; height: 15px; }
  .hub-node-label { font-size: 0.6rem; }
}

.hub-stats-row {
  border-top-color: rgba(212, 181, 122, 0.28) !important;
}

.hub-stat {
  padding: 0.75rem 0.4rem;
  border-radius: 0.85rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-stat:hover {
  background: rgba(212, 181, 122, 0.09);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.5);
}

.hub-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #2e2419 0%, #17130d 100%);
  border: 1.5px solid rgba(212, 181, 122, 0.6);
  color: #e6c58c;
  margin: 0 auto 8px;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hub-stat:hover .hub-stat-icon {
  transform: scale(1.12) rotate(-4deg);
  border-color: #e6c58c;
}

.hub-stat-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.hub-stat-value {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 900;
  color: #f0d9a8;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.hub-stat-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c7cbd2;
  margin-top: 6px;
  line-height: 1.35;
}

.hub-tagline {
  color:  #7a5210!important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
}

#partners-viz-wrap {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
#partners-viz-wrap:hover {
  border-color: rgba(212, 181, 122, 0.5);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 181, 122, 0.08);
}

.hub-live-badge {
  animation: hubLiveGlow 2.4s ease-in-out infinite;
}
@keyframes hubLiveGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(212, 181, 122, 0); }
  50% { box-shadow: 0 0 14px rgba(212, 181, 122, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-live-badge { animation: none !important; }
}

:root.light #partners-viz-wrap {
  background: linear-gradient(135deg, #faf7f0 0%, #fdf9f2 50%, #faf7f0 100%);
  border-color: rgba(180, 140, 60, 0.3);
}
:root.light #partners-viz-grid {
  background-image: linear-gradient(rgba(160, 120, 40, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 120, 40, 0.12) 1px, transparent 1px);
}
:root.light .hub-node-label {
  color: #2a2a2a;
  background: rgba(255, 255, 255, 0.7);
}
:root.light .hub-node:hover .hub-node-label,
:root.light .hub-node.is-active .hub-node-label {
  color: #7a5a1e;
  background: rgba(255, 255, 255, 0.92);
}

:root.light .hub-center {
  background: radial-gradient(circle at 35% 30%, #3a2f20 0%, #221a10 75%);
  border-color: #b8863f;
}
:root.light .hub-center-sub { color: #afaca5; font-weight: 500; }

:root.light .hub-stat-icon {
  background: linear-gradient(150deg, #ffffff 0%, #f3ecdd 100%);
  border-color: rgba(150, 100, 20, 0.4);
  color: #96641d;
}
:root.light .hub-stat-value { color: #7a5210; }
:root.light .hub-stat-label { color: #5a5a5a; }

.hub-grid {
  background-image: linear-gradient(rgba(212, 181, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 181, 122, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

@media (max-width: 400px) {
  .hub-diagram {
    max-height: 300px;
  }

  .hub-node {
    width: 58px;
  }

  .hub-node-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
  }

  .hub-node-icon svg {
    width: 12px;
    height: 12px;
  }

  .hub-node-label {
    font-size: 0.52rem;
    padding: 1px 4px;
    line-height: 1.15;
  }

  .hub-center {
    width: 58px;
    height: 58px;
  }

  .hub-center svg {
    width: 20px !important;
    height: 20px !important;
  }

  .hub-center-label {
    font-size: 0.56rem;
  }

  .hub-center-sub {
    font-size: 0.42rem;
    line-height: 1.15;
  }
}

@media (max-width: 400px) {
  #partners-viz-wrap {
    padding: 1rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .timeline-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
    align-items: start;
  }

  .timeline-step {
    max-width: none;
    width: 100%;
  }

  .timeline-connector {
    display: none;
  }

  .timeline-title {
    font-size: 0.85rem;
  }

  .timeline-desc {
    font-size: 0.92rem;
    color: #b7bcc4;
  }

  :root.light .timeline-desc {
    color: #52525b;
  }
}

@media (min-width: 1024px) {
  .timeline-row {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .feature-desc {
    font-size: 0.95rem;
    color: #b7bcc4;
  }

  :root.light .feature-desc {
    color: #52525b;
  }

  .feature-title {
    font-size: 1.1rem;
  }
}

/* ---------------------------------------------------- */
/* 3-Stage Network Flow Card Styling & Animations       */
/* ---------------------------------------------------- */

/* Ensure Roboto font family is enforced on all Network Flow elements */
.net-flow-card,
.net-stage-row,
.net-stage-chevron,
.net-stakeholder-node,
.net-node-label,
.net-node-sub,
.net-orbit-label {
  font-family: 'Roboto', sans-serif !important;
}

.net-flow-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.net-stage-row {
  background: linear-gradient(135deg, rgba(16, 12, 8, 0.75) 0%, rgba(10, 8, 5, 0.85) 100%);
  border: 1px solid rgba(217, 177, 100, 0.25);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.net-stage-row:hover {
  background: linear-gradient(135deg, rgba(38, 25, 11, 0.88) 0%, rgba(16, 11, 5, 0.95) 50%, rgba(32, 21, 9, 0.88) 100%);
  border-color: rgba(217, 177, 100, 0.7);
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.65), 0 0 35px rgba(217, 177, 100, 0.38), inset 0 0 25px rgba(217, 177, 100, 0.18);
  transform: translateY(-2px);
}

/* Chevron Banner Badge on Left (AEGIS Golden Theme) */
.net-stage-chevron {
  background: linear-gradient(135deg, rgba(217, 177, 100, 0.32) 0%, rgba(42, 29, 12, 0.96) 45%, rgba(18, 12, 5, 0.98) 100%);
  border: 1px solid rgba(217, 177, 100, 0.55);
  box-shadow: inset 0 1px 2px rgba(255, 235, 190, 0.25), 0 0 25px rgba(217, 177, 100, 0.28), 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0.75rem;
}

@media (min-width: 1280px) {
  .net-stage-chevron {
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  }
}

@media (max-width: 1279px) {
  .net-stage-chevron {
    clip-path: none;
    width: 100% !important;
    border-radius: 0.75rem;
  }
}

.net-stage-chevron:hover {
  background: linear-gradient(135deg, rgba(217, 177, 100, 0.48) 0%, rgba(60, 42, 17, 0.98) 45%, rgba(28, 18, 7, 0.99) 100%);
  border-color: rgba(217, 177, 100, 0.9);
  box-shadow: inset 0 1px 4px rgba(255, 240, 200, 0.4), 0 0 35px rgba(217, 177, 100, 0.5), 0 10px 25px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.net-stage-chevron span {
  text-shadow: 0 0 12px rgba(217, 177, 100, 0.5);
}

.net-stakeholder-node {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(26, 20, 11, 0.95) 100%);
  border: 1.5px solid rgba(217, 177, 100, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
  min-width: 0;
}

.net-stakeholder-node:hover {
  background: linear-gradient(145deg, rgba(26, 20, 11, 0.95) 0%, rgba(40, 28, 12, 0.95) 100%);
  border-color: #D9B164;
  box-shadow: 0 8px 24px rgba(217, 177, 100, 0.35);
  transform: translateY(-2px);
}

.net-node-icon {
  background-color: rgba(217, 177, 100, 0.12) !important;
  color: #D9B164 !important;
  border: 1.5px solid #D9B164 !important;
  box-shadow: 0 2px 8px rgba(217, 177, 100, 0.2);
  transition: all 0.35s ease;
}

.net-node-icon svg {
  stroke: #D9B164 !important;
  color: #D9B164 !important;
}

.net-stakeholder-node:hover .net-node-icon {
  background-color: #D9B164 !important;
  border-color: #D9B164 !important;
  color: #0F172A !important;
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 0 18px rgba(217, 177, 100, 0.6);
}

.net-stakeholder-node:hover .net-node-icon svg {
  stroke: #0F172A !important;
  color: #0F172A !important;
}

.net-node-label {
  color: #F8FAFC !important;
  font-weight: 800 !important;
}

.net-node-sub {
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

/* Light Mode Overrides for 3-Stage Network Card */
:root.light .net-flow-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

:root.light .net-stage-row {
  background: #FFFFFF !important;
  border-color: rgba(217, 177, 100, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

:root.light .net-stage-row:hover {
  background: #FFFFFF !important;
  border-color: rgba(217, 177, 100, 0.6);
  box-shadow: 0 12px 30px rgba(217, 177, 100, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

:root.light .net-stage-chevron {
  background: #FFFFFF !important;
  border-color: rgba(217, 177, 100, 0.4);
  box-shadow: 0 4px 12px rgba(217, 177, 100, 0.12);
}

:root.light .net-stage-chevron h4 {
  color: #0f172a !important;
}

:root.light .net-stage-chevron p {
  color: #475569 !important;
}

:root.light .net-stakeholder-grid > div:not(:last-child) {
  border-right-color: rgba(217, 177, 100, 0.2);
}

@media (max-width: 767px) {
  :root.light .net-stakeholder-grid > div {
    border-bottom-color: rgba(217, 177, 100, 0.2) !important;
  }
}

:root.light .net-stakeholder-node {
  background: #FFFFFF !important;
  border-color: rgba(217, 177, 100, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(217, 177, 100, 0.1) !important;
}

:root.light .net-stakeholder-node:hover {
  background: #FFFFFF !important;
  border-color: #D9B164 !important;
  box-shadow: 0 8px 24px rgba(217, 177, 100, 0.2) !important;
}

:root.light .net-node-icon {
  background-color: #FFF7ED !important;
  border: 1.5px solid #D9B164 !important;
  color: #D9B164 !important;
  box-shadow: 0 2px 6px rgba(217, 177, 100, 0.12) !important;
}

:root.light .net-node-icon svg {
  stroke: #D9B164 !important;
  color: #D9B164 !important;
}

:root.light .net-stakeholder-node:hover .net-node-icon {
  background-color: #D9B164 !important;
  border-color: #D9B164 !important;
  color: #FFFFFF !important;
  transform: scale(1.12);
  box-shadow: 0 0 16px rgba(217, 177, 100, 0.45) !important;
}

:root.light .net-stakeholder-node:hover .net-node-icon svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

:root.light .net-node-label {
  color: #0f172a !important;
}

:root.light .net-node-sub {
  color: #475569 !important;
}

/* Central AEGIS Core Hub styling (Themes Support) */
.net-core-hub {
  background: linear-gradient(135deg, #24190c 0%, #0d121c 50%, #24190c 100%);
  border: 2px solid #D9B164;
  box-shadow: 0 0 35px rgba(217, 177, 100, 0.45), inset 0 0 15px rgba(217, 177, 100, 0.2);
}

.net-core-text {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(217, 177, 100, 0.7);
}

:root.light .net-core-hub {
  background: linear-gradient(135deg, #1c150c 0%, #0f1420 50%, #1c150c 100%);
  border: 2px solid #D9B164;
  box-shadow: 0 0 35px rgba(217, 177, 100, 0.4), inset 0 0 12px rgba(217, 177, 100, 0.25);
}

:root.light .net-core-text {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(217, 177, 100, 0.7);
}

/* Orbit Radial Hub Nodes Styling for High Readability */
.net-orbit-icon {
  background: rgba(217, 177, 100, 0.12) !important;
  color: #D9B164 !important;
  border: 1.5px solid #D9B164 !important;
  box-shadow: 0 4px 15px rgba(217, 177, 100, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.net-orbit-icon svg {
  stroke: #D9B164 !important;
  color: #D9B164 !important;
}

.net-orbit-icon:hover {
  transform: scale(1.18) rotate(5deg);
  box-shadow: 0 0 25px rgba(217, 177, 100, 0.7);
  background: #D9B164 !important;
  border-color: #D9B164 !important;
  color: #0F172A !important;
}

.net-orbit-icon:hover svg {
  stroke: #0F172A !important;
  color: #0F172A !important;
}

.net-orbit-label {
  background: rgba(10, 14, 22, 0.92);
  color: #FFFFFF !important;
  border: 1px solid rgba(217, 177, 100, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

:root.light .net-orbit-icon {
  background-color: #FFF7ED !important;
  background: #FFF7ED !important;
  border: 1.5px solid #D9B164 !important;
  color: #D9B164 !important;
  box-shadow: 0 2px 6px rgba(217, 177, 100, 0.15) !important;
}

:root.light .net-orbit-icon svg {
  stroke: #D9B164 !important;
  color: #D9B164 !important;
}

:root.light .net-orbit-icon:hover {
  background-color: #D9B164 !important;
  background: #D9B164 !important;
  border-color: #D9B164 !important;
  color: #FFFFFF !important;
  transform: scale(1.18) rotate(4deg);
  box-shadow: 0 0 20px rgba(217, 177, 100, 0.55) !important;
}

:root.light .net-orbit-icon:hover svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

:root.light .net-orbit-label {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid rgba(217, 177, 100, 0.45) !important;
  box-shadow: 0 4px 12px rgba(217, 177, 100, 0.15) !important;
}

/* Origins Grid Light Theme Styling */
:root.light .origins-grid .group {
  background-color: #ffffff !important;
  border-color: rgba(217, 177, 100, 0.4) !important;
  box-shadow: 0 8px 30px -12px rgba(217, 177, 100, 0.12) !important;
}

:root.light .origins-grid .group:hover {
  background-color: #fdfcf9 !important;
  border-color: #D9B164 !important;
  box-shadow: 0 0 35px rgba(217, 177, 100, 0.35) !important;
}

:root.light .origins-grid .group > div:first-child {
  background-color: #FFF7ED !important;
  border: 1.5px solid #D9B164 !important;
  color: #D9B164 !important;
  box-shadow: 0 2px 6px rgba(217, 177, 100, 0.15) !important;
}

:root.light .origins-grid .group > div:first-child svg {
  stroke: #D9B164 !important;
  color: #D9B164 !important;
}

:root.light .origins-grid .group:hover > div:first-child {
  background-color: #D9B164 !important;
  border-color: #D9B164 !important;
  color: #FFFFFF !important;
  transform: scale(1.18) rotate(4deg) !important;
  box-shadow: 0 0 20px rgba(217, 177, 100, 0.55) !important;
}

:root.light .origins-grid .group:hover > div:first-child svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* Mission & Vision Card Light Theme Styling */
:root.light .mission-vision-card {
  background-color: #ffffff !important;
  border-color: rgba(217, 177, 100, 0.4) !important;
  box-shadow: 0 10px 40px -10px rgba(217, 177, 100, 0.15) !important;
}

:root.light .mission-vision-card p {
  color: #475569 !important;
}

:root.light .mission-vision-card .border-b {
  border-color: rgba(217, 177, 100, 0.25) !important;
}

/* Leadership Cards Light Theme Styling */
:root.light .leadership-cards .group {
  background-color: #ffffff !important;
  border-color: rgba(217, 177, 100, 0.4) !important;
  box-shadow: 0 4px 20px -5px rgba(217, 177, 100, 0.12) !important;
}

:root.light .leadership-cards .group:hover {
  background-color: #fdfcf9 !important;
  border-color: #D9B164 !important;
  box-shadow: 0 0 30px rgba(217, 177, 100, 0.3) !important;
}

:root.light .leadership-cards .group > div:first-child {
  background-color: #FFF7ED !important;
  border: 1.5px solid #D9B164 !important;
  color: #D9B164 !important;
  box-shadow: 0 2px 6px rgba(217, 177, 100, 0.15) !important;
}

:root.light .leadership-cards .group > div:first-child svg {
  stroke: #D9B164 !important;
  color: #D9B164 !important;
}

:root.light .leadership-cards .group:hover > div:first-child {
  background-color: #D9B164 !important;
  border-color: #D9B164 !important;
  color: #FFFFFF !important;
  transform: scale(1.18) rotate(4deg) !important;
  box-shadow: 0 0 20px rgba(217, 177, 100, 0.55) !important;
}

:root.light .leadership-cards .group:hover > div:first-child svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

:root.light .leadership-cards h3 {
  color: #0f172a !important;
}

:root.light .leadership-cards p {
  color: #475569 !important;
}



