/* ==========================================================================
   ENACTUS RAMJAS - EDITORIAL SOCIAL IMPACT PLATFORM
   Theme: Crisp Light Architecture + Warm Enactus Amber/Yellow Accent
   Typography: Inter (Display & Headings) + JetBrains Mono (Metadata)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --canvas: #ffffff;
  --canvas-subtle: #f5f5f7; /* Apple light gray */
  --surface-card: #ffffff;
  --surface-card-hover: #fafafc;
  --surface-elevated: #f5f5f7;
  --hairline: #e5e5e7;
  --hairline-strong: #d2d2d7;
  --yellow-primary: #fec300; /* Exact Enactus logo yellow */
  --yellow-bright: #f9be00;
  --yellow-dark: #b48200; /* Deep gold for readable text on white */
  --yellow-light: #fffbf0;
  --yellow-border: #fde89c;
  --text-heading: #1d1d1f; /* Apple deep black */
  --text-body: #515154; /* Apple body graphite */
  --text-muted: #86868b; /* Apple caption / subhead gray */
  --text-faint: #a1a1a6;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  --card-shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Global Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--canvas);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background-color: transparent;
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  overflow-x: clip;
  line-height: 1.6;
}

body.bg-white {
  background-color: transparent !important;
}

/* Enforce Universal Inter Typography Across All Framework/Page Classes */
.font-montserrat,
.font-inter,
.font-playfair,
.font-serif,
.font-sans,
.font-display,
h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Custom Cursor (Desktop) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--yellow-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.2s ease,
              border-radius 0.2s ease;
  mix-blend-mode: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0f172a;
  white-space: nowrap;
}

.custom-cursor.is-expanded {
  width: 76px;
  height: 76px;
  background-color: rgba(254, 195, 0, 0.25);
  border: 1px solid var(--yellow-primary);
  border-radius: 50%;
}

.custom-cursor.is-text {
  width: auto;
  min-width: 84px;
  height: 32px;
  padding: 0 16px;
  border-radius: 9999px;
  background-color: #0f172a;
  color: #ffffff;
}

@media (pointer: coarse), (max-width: 1024px) {
  .custom-cursor {
    display: none !important;
  }
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow-primary), #fbbf24);
  width: 0%;
  z-index: 10000;
  pointer-events: none;
}

/* ==========================================================================
   GLOBAL ANIMATED MOTION-BASED AMBIENT BACKGROUND ENGINE
   Rich multi-orb kinetic mesh + ambient stardust across all pages
   ========================================================================== */
.animated-motion-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #fafafc 100%);
  transition: transform 0.2s ease-out;
}

/* Atmospheric Floating Orbs with GPU Transforms */
.motion-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  filter: blur(95px);
  -webkit-filter: blur(95px);
}

.motion-orb-1 {
  width: min(580px, 60vw);
  height: min(580px, 60vw);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(254, 195, 0, 0.28) 0%, rgba(254, 195, 0, 0.08) 55%, transparent 75%);
  animation: motionOrbDrift1 22s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

.motion-orb-2 {
  width: min(650px, 68vw);
  height: min(650px, 68vw);
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.24) 0%, rgba(245, 158, 11, 0.08) 50%, transparent 75%);
  animation: motionOrbDrift2 26s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

.motion-orb-3 {
  width: min(500px, 50vw);
  height: min(500px, 50vw);
  top: 35%;
  right: 15%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.20) 0%, rgba(217, 119, 6, 0.06) 55%, transparent 75%);
  animation: motionOrbDrift3 30s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

.motion-orb-4 {
  width: min(480px, 48vw);
  height: min(480px, 48vw);
  bottom: 25%;
  left: 10%;
  background: radial-gradient(circle, rgba(254, 222, 100, 0.26) 0%, rgba(254, 195, 0, 0.07) 50%, transparent 75%);
  animation: motionOrbDrift4 24s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Subtle Kinetic Micro-Grid Architecture */
.motion-grid-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.75;
  animation: motionGridShift 35s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 95%);
}

/* Fluid Keyframe Physics */
@keyframes motionOrbDrift1 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(140px, 90px, 0) scale(1.16) rotate(45deg); }
  100% { transform: translate3d(-50px, 120px, 0) scale(0.92) rotate(90deg); }
}

@keyframes motionOrbDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-150px, -110px, 0) scale(1.22); }
  100% { transform: translate3d(60px, -60px, 0) scale(0.96); }
}

@keyframes motionOrbDrift3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  50% { transform: translate3d(-100px, 120px, 0) scale(1.18); }
  100% { transform: translate3d(80px, -70px, 0) scale(1); }
}

@keyframes motionOrbDrift4 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(120px, -90px, 0) scale(1.14); }
  100% { transform: translate3d(-70px, 80px, 0) scale(0.94); }
}

@keyframes motionGridShift {
  0% { background-position: 0 0; }
  100% { background-position: 72px 72px; }
}

/* Ensure Page Sections Float Cleanly with Translucent Breathability */
section:not(#hero-slider):not(#hero-pin-container),
footer,
main {
  position: relative;
  z-index: 2;
}

/* Ambient Section Translucency so Background Motion Shimmers Through Elegantly */
.bg-white {
  background-color: rgba(255, 255, 255, 0.90) !important;
}

.bg-\[\#f5f5f7\] {
  background-color: rgba(245, 245, 247, 0.88) !important;
}

/* ==========================================================================
   MAGNETIC HEADER STYLES (PRESERVED SIGNATURE DESIGN)
   ========================================================================== */
.magnetic-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-header-inner {
  height: 76px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-header-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
}

.nav-scrolled .magnetic-header-bg {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.nav-scrolled .magnetic-header-inner {
  height: 64px;
}

.magnetic-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.magnetic-nav:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.09);
}

.nav-pill-indicator {
  position: absolute;
  height: calc(100% - 8px);
  top: 4px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transition: opacity 0.25s ease, left 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

.nav-pill-indicator.active-glow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.magnetic-nav-link {
  position: relative;
  z-index: 1;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4b5563;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
  will-change: transform;
  user-select: none;
}

.magnetic-nav-link:hover { color: #111827; }

.magnetic-nav-link.is-active {
  color: #111827;
  font-weight: 600;
}

.magnetic-nav-link .link-text {
  display: inline-block;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.magnetic-nav-glow {
  display: none;
}

.magnetic-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: #FEC300;
  color: #1D1D1F;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(254, 195, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-cta:hover {
  background: #ffd033;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(254, 195, 0, 0.38);
}

.magnetic-cta .cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.magnetic-cta:hover .cta-shine { left: 100%; }

.magnetic-brand {
  text-decoration: none;
}

.magnetic-brand .brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.magnetic-brand:hover .brand-logo {
  transform: scale(1.04);
}

.hamburger-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0;
  transition: all 0.3s ease;
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: #ffffff;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM (LIGHT CANVASES)
   ========================================================================== */
.display-headline-xl {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--text-heading);
}

.display-headline-lg {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-heading);
}

.display-headline-md {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-heading);
}

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow-bright);
  background-color: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* Persistent Project Navigation (Desktop) */
.persistent-project-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: auto;
}

.project-nav-anchor {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-nav-anchor:hover,
.project-nav-anchor.is-active {
  opacity: 1;
  transform: translateX(-4px);
}

.project-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
  transition: all 0.3s ease;
}

.project-nav-anchor.is-active .project-nav-dot {
  background: var(--yellow-primary);
  transform: scale(1.6);
  box-shadow: 0 0 10px rgba(254, 195, 0, 0.4);
}

.project-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: 0.08em;
  display: none;
}

.persistent-project-nav:hover .project-nav-label {
  display: block;
}

@media (max-width: 1200px) {
  .persistent-project-nav {
    display: none;
  }
}

/* Project Stage Visual Indicator */
.stage-indicator-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--yellow-dark);
}

.stage-pill-track {
  width: 48px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.stage-pill-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--yellow-primary);
  border-radius: 3px;
}

/* Project Intro Architecture */
.project-intro-grid {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Editorial Surface Cards */
.editorial-card {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.editorial-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   TRANSFORMATION FLOW SEQUENCE (ZERO ARROWS, CLEAN STEPPERS)
   ========================================================================== */
.transformation-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--canvas-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.transformation-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  padding: 8px 14px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.transformation-node .node-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.transformation-node.is-final {
  background: var(--yellow-primary);
  color: #0f172a;
  border-color: var(--yellow-bright);
  font-weight: 700;
}

.transformation-node.is-final .node-index {
  background: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

/* Designed Media Placeholder Architecture (Clean White) */
.media-placeholder-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--canvas-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.media-placeholder-container:hover {
  border-color: rgba(254, 195, 0, 0.5);
  box-shadow: var(--card-shadow-hover);
}

.media-placeholder-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.media-placeholder-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-placeholder-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow-dark);
  text-transform: uppercase;
}

.media-placeholder-badge {
  font-size: 10px;
  color: var(--text-muted);
  border: 1px solid var(--hairline);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.media-placeholder-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.media-placeholder-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.media-placeholder-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.media-placeholder-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
}

/* Ecosystem Interactive Canvas Container */
#ecosystem-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  background: var(--canvas-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

#ecosystem-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Past Projects Archive List */
.past-project-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--text-heading);
  background: #ffffff;
  transition: all 0.25s ease;
}

.past-project-row:hover {
  background-color: var(--canvas-subtle);
  padding-left: 28px;
  border-color: rgba(254, 195, 0, 0.4);
}

.past-project-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow-dark);
}

.past-project-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-heading);
  transition: color 0.2s ease;
}

.past-project-row:hover .past-project-name {
  color: var(--yellow-bright);
}

.past-project-category {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .past-project-row {
    grid-template-columns: 50px 1fr;
    gap: 8px;
  }
  .past-project-category {
    grid-column: 2 / -1;
  }
}

/* Collaborations Ticker */
.collab-ticker-wrap {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas-subtle);
}

.collab-ticker-track {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: collabScroll 32s linear infinite;
}

.collab-item {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.2px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}

.collab-item:hover {
  color: #0f172a;
}

.collab-divider {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow-primary);
}

@keyframes collabScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Swabun Dual Avenue Branching Layout */
.swabun-branch-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .swabun-branch-container {
    grid-template-columns: 1fr;
  }
}

.swabun-branch-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.swabun-branch-card:hover {
  border-color: var(--yellow-border);
  box-shadow: var(--card-shadow-hover);
}

.swabun-branch-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--yellow-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Final CTA Band */
.editorial-cta-band {
  background: var(--yellow-primary);
  color: #0f172a;
  padding: 80px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 48px 0;
  box-shadow: 0 20px 40px rgba(254, 195, 0, 0.2);
}

.editorial-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-top: 28px;
  transition: transform 0.25s ease, background-color 0.2s ease, box-shadow 0.25s ease;
}

.editorial-cta-btn:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

/* About Page Components (Light) */
.heritage-timeline-card {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.heritage-timeline-card:hover {
  border-color: rgba(254, 195, 0, 0.5);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.heritage-year-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.stepper-container {
  position: relative;
  padding-left: 36px;
  border-left: 2px solid var(--hairline);
}

.stepper-step {
  position: relative;
  margin-bottom: 48px;
}

.stepper-step:last-child {
  margin-bottom: 0;
}

.stepper-icon-node {
  position: absolute;
  left: -48px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--yellow-primary);
  color: var(--yellow-dark);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.report-card {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.report-card:hover {
  border-color: rgba(254, 195, 0, 0.5);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   ADVANCED 3D MOTION, SCROLL ZOOM-IN & CARD TILT SYSTEM
   ========================================================================== */

/* 1. Scroll-Driven 3D Section Zoom-in */
.scroll-zoom-section {
  perspective: 1400px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.zoom-inner {
  transform-origin: center top;
  will-change: transform, opacity;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. 3D Card Gyroscopic Tilt & Dynamic Spotlight */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(254, 195, 0, 0.08);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(254, 195, 0, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* 3. Interactive Transformation Step Scrubber */
.transformation-node.is-interactive {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.transformation-node.is-interactive:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--yellow-primary);
  background: var(--yellow-light);
  box-shadow: 0 6px 16px rgba(254, 195, 0, 0.18);
}

.transformation-node.is-interactive:hover .node-index {
  background: var(--yellow-primary);
  color: #0f172a;
}

.transformation-node.is-active-step {
  border-color: var(--yellow-bright);
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--yellow-primary), 0 8px 20px rgba(254, 195, 0, 0.2);
}

/* 4. Glowing Radar & Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* 5. Animated Counter Numbers */
.counter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}



/* ==========================================================================
   APPLE-GRADE DESIGN SYSTEM & LUXURY SOCIAL ENTERPRISE COMPONENTS
   ========================================================================== */
.text-gradient-gold {
  background: linear-gradient(135deg, #b48200 0%, #fec300 60%, #d59800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B48200;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1D1D1F;
  line-height: 1.15;
}

.apple-pill-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B48200;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

/* Ambient Floating Glow Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
  animation: floatAmbient 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 15px) scale(1.06); }
  100% { transform: translate(-20px, 25px) scale(0.96); }
}

.apple-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
  transform: translateY(-3px);
}

.apple-bento-card {
  background: #ffffff;
  border: 1px solid #e5e5e7;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.apple-bento-card:hover {
  border-color: #fde89c;
  box-shadow: 0 16px 40px rgba(254, 195, 0, 0.08);
  transform: translateY(-3px);
}

.apple-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  background: #f5f5f7;
  border: 1px solid #e5e5e7;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.apple-step-pill:hover {
  background: #fff9e6;
  border-color: #fde89c;
  color: #946800;
  transform: translateY(-2px);
}

.apple-step-pill .pill-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #86868b;
}

.apple-step-pill:hover .pill-num {
  color: #b48200;
}

.apple-step-pill.is-final {
  background: #fec300;
  border-color: #f9be00;
  color: #1d1d1f;
  font-weight: 700;
}

.apple-step-pill.is-final .pill-num {
  color: rgba(0, 0, 0, 0.5);
}

.apple-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.apple-btn-primary:hover {
  background: #333336;
  transform: scale(1.02);
}

.apple-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #fec300;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(254, 195, 0, 0.3);
}

.apple-btn-gold:hover {
  background: #f9be00;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(254, 195, 0, 0.4);
}


/* ==========================================================================
   ENACTUS RAMJAS - EDITORIAL SOCIAL IMPACT PLATFORM
   Clean Apple / Stripe / Vercel Modern Architectural Design System
   ========================================================================== */

/* Ambient Floating Glow behind Hero */
.hero-ambient-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(254, 195, 0, 0.22) 0%, rgba(254, 195, 0, 0.06) 50%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
  animation: heroAmbientGlow 7s ease-in-out infinite alternate;
}

@keyframes heroAmbientGlow {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.55; }
  50% { transform: translate(-48%, -48%) scale(1.08); opacity: 0.95; }
  100% { transform: translate(-52%, -52%) scale(1.02); opacity: 0.75; }
}

/* Badge Typography */
.apple-pill-badge {
  box-shadow: none;
}

/* Step Pills Hover Micro-interaction */
.apple-step-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.apple-step-pill:hover {
  transform: translateY(-3px) scale(1.03);
  background: #fff9e6;
  border-color: #fde89c;
  box-shadow: 0 6px 16px rgba(254, 195, 0, 0.18);
  color: #946800;
}

.apple-step-pill.is-final:hover {
  background: #f9be00;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 20px rgba(254, 195, 0, 0.35);
}

/* Section 3D Zoom Container */
.scroll-zoom-section {
  perspective: 1400px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.zoom-inner {
  transform-origin: center top;
  will-change: transform, opacity;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tilt Card & Spotlight Glow */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(254, 195, 0, 0.12);
  border-color: #fde89c;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(254, 195, 0, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Counter Number roll */
.counter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  font-weight: 900;
}


/* ==========================================================================
   MODERN KINETIC PINNED HERO: 4 PROJECTS · 4 PROBLEMS · 4 SOLUTIONS · 1 PURPOSE
   ========================================================================== */
#hero-pin-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 20px;
  overflow: hidden;
  z-index: 20;
}

#hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-slide-stack {
  position: relative;
  width: 100%;
  max-width: 1080px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-pinned-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.hero-pinned-slide.is-interactive {
  pointer-events: auto;
}

.display-kinetic-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: #1d1d1f;
  margin-bottom: 22px;
}

.kinetic-subchips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.kinetic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #f5f5f7;
  border: 1px solid #e5e5e7;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.kinetic-chip:hover {
  background: #fff9e6;
  border-color: #fde89c;
  color: #946800;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(254, 195, 0, 0.2);
}

.kinetic-chip-gold {
  background: #fff9e6;
  border: 1px solid #fde89c;
  color: #946800;
  font-weight: 700;
}

/* Sequential Chip Items & Number Badges */
.hero-seq-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-seq-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1d1d1f;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform, opacity, filter;
}

.hero-seq-item:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #fec300;
  box-shadow: 0 10px 24px -4px rgba(254, 195, 0, 0.25);
}

.chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #946800;
  background: #fff4cc;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

.hero-seq-item-gold {
  background: rgba(255, 249, 230, 0.9);
  border: 1px solid #fde89c;
  color: #946800;
}

.hero-seq-item-gold .chip-num {
  background: #fec300;
  color: #1d1d1f;
}

/* ==========================================================================
   AWARD-WINNING INTERACTIVE SOCIAL IMPACT SIMULATOR ("IMPACT ENGINE")
   ========================================================================== */
.impact-engine-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid #e5e5e7;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.impact-engine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fec300, transparent);
  pointer-events: none;
}

.sim-slider-container {
  position: relative;
  width: 100%;
}

.sim-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #e5e5e7;
  outline: none;
  transition: background 0.2s;
}

.sim-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fec300;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(254, 195, 0, 0.5), 0 1px 3px rgba(0,0,0,0.1);
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sim-range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(254, 195, 0, 0.7);
}

.sim-metric-box {
  background: #ffffff;
  border: 1px solid #e5e5e7;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sim-metric-box:hover {
  border-color: #fde89c;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(254, 195, 0, 0.15);
}

/* ==========================================================================
   VENTURE DIMENSION SWITCHER TABS
   ========================================================================== */
.venture-tab-nav {
  display: inline-flex;
  padding: 4px;
  background: #f5f5f7;
  border-radius: 9999px;
  border: 1px solid #e5e5e7;
  gap: 4px;
}

.venture-tab-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #86868b;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  background: transparent;
}

.venture-tab-btn.is-active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.venture-tab-btn:hover:not(.is-active) {
  color: #1d1d1f;
}

.venture-panel {
  display: none;
  animation: tabFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.venture-panel.is-active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ANUBHAVA EMPATHY INTERACTIVE SIMULATOR
   ========================================================================== */
.empathy-sim-container {
  background: #1d1d1f;
  color: #f5f5f7;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.empathy-sim-screen {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  min-height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.sensory-glitch {
  animation: sensoryJitter 0.15s infinite;
  filter: contrast(180%) blur(0.6px);
  text-shadow: 2px 0 #fec300, -2px 0 #ff4d4d;
}

@keyframes sensoryJitter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 1.5px); }
  50% { transform: translate(2px, -1.5px); }
  75% { transform: translate(-1.5px, -1px); }
  100% { transform: translate(1.5px, 1px); }
}

.aac-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aac-tile:hover {
  background: rgba(254, 195, 0, 0.2);
  border-color: #fec300;
  transform: translateY(-2px);
}

.aac-tile.is-selected {
  background: #fec300;
  color: #1d1d1f;
  border-color: #fec300;
}

/* ==========================================================================
   FLOATING VENTURE COMMAND DOCK (AWWWARDS DETAIL)
   ========================================================================== */
#floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(29, 29, 31, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  pointer-events: auto;
}

#floating-dock.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #a1a1a6;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.dock-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.dock-pill.is-active {
  background: #fec300;
  color: #1d1d1f;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(254, 195, 0, 0.5);
}

/* Stardust trail particle canvas */
#stardust-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* Authentic Project Media Showcase Styles */
.project-media-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(254, 195, 0, 0.35);
}

.project-media-hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #f5f5f7;
}

@media (min-width: 640px) {
  .project-media-hero {
    height: 300px;
  }
}

.project-media-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-media-card:hover .project-media-hero img {
  transform: scale(1.04);
}

.media-badge-glass {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(29, 29, 31, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.media-badge-glass .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fec300;
}

.project-thumb-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  aspect-ratio: 4 / 3;
  transition: all 0.3s ease;
}

.project-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-thumb-item:hover img {
  transform: scale(1.06);
}

.project-thumb-caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  padding: 6px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
}

/* ==========================================================================
   ENACTUS SIGNATURE INTERACTIVE TILES (POLYGON EXPANDING HOVER ENGINE)
   ========================================================================== */

.enactus-interactive-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #0f172a;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  user-select: none;
  cursor: pointer;
}

.enactus-interactive-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.24);
}

.enactus-tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.enactus-interactive-tile:hover .enactus-tile-bg {
  transform: scale(1.08);
}

/* Bottom-Left Golden Triangle */
.enactus-tile-corner-shape {
  position: absolute;
  inset: 0;
  background: #FEC300;
  clip-path: polygon(0 60%, 46% 100%, 0 100%);
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bottom-Left Plus Button */
.enactus-tile-btn {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background-color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.enactus-tile-btn i,
.enactus-tile-btn svg {
  color: #FEC300;
  stroke: #FEC300;
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, stroke 0.3s ease;
}

/* On hover / active, rotate plus sign smoothly into an open indicator */
.enactus-interactive-tile:hover .enactus-tile-btn i,
.enactus-interactive-tile.is-active .enactus-tile-btn i,
.enactus-interactive-tile:hover .enactus-tile-btn svg,
.enactus-interactive-tile.is-active .enactus-tile-btn svg {
  transform: rotate(135deg);
  color: #1D1D1F;
  stroke: #1D1D1F;
}

/* The Expanding Angled Overlay */
.enactus-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  clip-path: polygon(56% 0%, 100% 0%, 100% 100%, 32% 100%);
  transition: clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  color: #FFFFFF;
}

.enactus-interactive-tile:hover .enactus-tile-overlay,
.enactus-interactive-tile.is-active .enactus-tile-overlay {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Tint Overlays - Harmonious Shades of Enactus Yellow & Gold (No Red / Blue / Green) */
.enactus-overlay-coral,
.enactus-overlay-amber-dark {
  background: rgba(180, 130, 0, 0.92); /* Deep Rich Enactus Gold */
}

.enactus-overlay-blue,
.enactus-overlay-amber-warm {
  background: rgba(217, 119, 6, 0.92); /* Vibrant Warm Amber */
}

.enactus-overlay-teal,
.enactus-overlay-amber-bright {
  background: rgba(245, 158, 11, 0.92); /* Honey Sunburst Yellow */
}

.enactus-overlay-amber {
  background: rgba(234, 179, 8, 0.92); /* Golden Ochre */
}

.enactus-overlay-indigo,
.enactus-overlay-amber-deep {
  background: rgba(146, 64, 14, 0.92); /* Bronze Gold */
}

.enactus-overlay-emerald,
.enactus-overlay-amber-light {
  background: rgba(202, 138, 4, 0.92); /* Radiant Mustard Gold */
}

/* Resting State Badge (Right side of tile) */
.enactus-resting-badge {
  position: absolute;
  right: 1.5rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  z-index: 25;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.enactus-interactive-tile:hover .enactus-resting-badge,
.enactus-interactive-tile.is-active .enactus-resting-badge {
  opacity: 0;
  transform: translateX(16px) scale(0.92);
}

/* Hover Content Revealed on Full Expansion */
.enactus-hover-content {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s 0.15s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  pointer-events: none;
  padding-bottom: 3.5rem; /* leaves room for bottom-left button */
}

.enactus-interactive-tile:hover .enactus-hover-content,
.enactus-interactive-tile.is-active .enactus-hover-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   FLOATING GOLDEN PAPER PLANE PRELOADER
   ========================================================================== */
.page-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.page-preloader.is-exiting {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.page-preloader.is-hidden {
  display: none !important;
  visibility: hidden !important;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  max-width: 900px;
  width: 92vw;
}

.preloader-plane-container {
  width: 100%;
  max-width: 680px;
  height: 44vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.preloader-plane-container svg {
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
  overflow: visible;
}

.preloader-progress-track {
  width: 180px;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  margin: 1.25rem auto 1rem;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: #1D1D1F;
  border-radius: 9999px;
  animation: preloader-fill 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes preloader-fill {
  0% {
    width: 0%;
    transform: translateX(-10%);
  }
  50% {
    width: 75%;
    transform: translateX(0%);
  }
  100% {
    width: 100%;
    transform: translateX(0%);
  }
}

.preloader-meta {
  display: none !important;
}

.preloader-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #1d1d1f;
  text-transform: uppercase;
}

.preloader-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #6E6E73;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.preloader-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #1D1D1F;
  animation: preloader-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes preloader-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 6px rgba(29, 29, 31, 0.25);
  }
}
