/* ==========================================================================
   ROCKHOUSE SKILLS CIC — PREMIUM EDITORIAL & 3D INTERACTIVE DESIGN SYSTEM
   Location: Reading and surrounding communities, United Kingdom
   Core Tagline: Skills • Opportunity • Inclusion • Community
   Secondary Phrase: Learn • Share • Connect • Grow
   ========================================================================== */

:root {
  /* Core Brand Palette */
  --navy-950: #070E1B;
  --navy-900: #0B1528;
  --navy-800: #12223E;
  --navy-700: #1C3156;
  --navy-600: #2C4670;

  --blue-600: #755532;
  --blue-500: #8E683E;
  --blue-400: #B58754;
  --blue-glow: rgba(117, 85, 50, 0.28);

  --green-600: #755532;
  --green-500: #9E7446;
  --green-400: #C99A64;
  --green-glow: rgba(117, 85, 50, 0.25);

  /* Warm & Editorial Surfaces */
  --bg-warm: #E1CFB7;
  --bg-warm-alt: #E1CFB7;
  --bg-neutral: #E1CFB7;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.76);
  --bg-dark-glass: rgba(11, 21, 40, 0.78);

  /* Text Hierarchy (WCAG AA/AAA Contrast) */
  --text-primary: #0B1528;
  --text-secondary: #334155;
  --text-muted: #56657A;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #CBD5E1;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #755532 0%, #9E7446 52%, #C99A64 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(117, 85, 50, 0.12) 0%, rgba(158, 116, 70, 0.12) 50%, rgba(201, 154, 100, 0.14) 100%);
  --gradient-dark: linear-gradient(145deg, #070E1B 0%, #0B1528 48%, #0E2938 100%);
  --gradient-surface: linear-gradient(180deg, #E1CFB7 0%, #E1CFB7 100%);

  /* Borders & Shadows */
  --border-subtle: rgba(11, 21, 40, 0.08);
  --border-medium: rgba(11, 21, 40, 0.14);
  --border-light-glass: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 4px 16px -2px rgba(11, 21, 40, 0.05);
  --shadow-md: 0 14px 34px -6px rgba(11, 21, 40, 0.08), 0 4px 12px -2px rgba(11, 21, 40, 0.04);
  --shadow-lg: 0 24px 54px -12px rgba(11, 21, 40, 0.14), 0 8px 20px -4px rgba(11, 21, 40, 0.06);
  --shadow-3d: 0 28px 60px -15px rgba(11, 21, 40, 0.18), 0 0 0 1px rgba(117, 85, 50, 0.18);
  --shadow-btn: 0 10px 24px -6px rgba(231, 176, 85, 0.48);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --section-py: clamp(4.5rem, 8vw, 7.5rem);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE ACCESSIBILITY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-warm);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.24s var(--ease-out-expo), filter 0.24s var(--ease-out-expo), transform 0.24s var(--ease-out-expo);
}

body.page-transition-enter {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px);
}

body.page-transition-exit {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-6px);
}

main {
  flex: 1;
}

img, svg, video, canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Accessible Skip Link & Focus States */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1.5rem;
  z-index: 2000;
  background: var(--navy-900);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--green-400);
}

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   SCROLL PROGRESS BAR (Requirement #11)
   ========================================================================== */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(11, 21, 40, 0.06);
  z-index: 1100;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(29, 99, 255, 0.55);
  transition: width 0.08s linear;
}

/* ==========================================================================
   TYPOGRAPHY & EDITORIAL HIERARCHY (Requirement #4)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 800;
}

.hero-display-title {
  font-size: clamp(2.65rem, 4.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.034em;
  font-weight: 800;
}

.page-hero-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 800;
}

.lead-text {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 500;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--blue-600);
  background: rgba(117, 85, 50, 0.1);
  border: 1px solid rgba(117, 85, 50, 0.22);
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 8px var(--blue-600);
}

.section-dark .eyebrow {
  color: #E7B055;
  background: rgba(231, 176, 85, 0.14);
  border-color: rgba(231, 176, 85, 0.3);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-on-dark);
}

.section-dark p,
.section-dark .lead-text {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  padding-block: var(--section-py);
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-warm-alt);
}

.section-neutral {
  background-color: var(--bg-neutral);
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--text-on-dark);
}

.section-header {
  max-width: 780px;
  margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

/* Ambient Background Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.ambient-orb-blue {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(29, 99, 255, 0.24) 0%, rgba(29, 99, 255, 0) 70%);
}

.ambient-orb-green {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0) 70%);
}

/* ==========================================================================
   GLOBAL STICKY NAVIGATION (Requirement #6)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 248, 238, 0.28) 50%,
    rgba(255, 255, 255, 0.44) 100%
  );
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 10px 32px -6px rgba(11, 21, 40, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.78),
    inset 0 -1px 1px rgba(117, 85, 50, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.32) 35%,
    rgba(255, 255, 255, 0.08) 65%,
    rgba(255, 255, 255, 0.24) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.site-header.scrolled {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 248, 238, 0.38) 50%,
    rgba(255, 255, 255, 0.54) 100%
  );
  backdrop-filter: blur(26px) saturate(195%);
  -webkit-backdrop-filter: blur(26px) saturate(195%);
  border-bottom-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 14px 38px -8px rgba(11, 21, 40, 0.13),
    inset 0 1px 1px rgba(255, 255, 255, 0.86),
    inset 0 -1px 1px rgba(117, 85, 50, 0.15);
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1.25rem;
}

.site-header .container.nav-inner {
  max-width: 100%;
  padding-left: clamp(0.65rem, 1.2vw, 1rem);
  padding-right: clamp(1rem, 2.2vw, 1.75rem);
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--navy-900);
  flex-shrink: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #050505;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 6px 16px -3px rgba(11, 21, 40, 0.32);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}

.brand-mark::before {
  display: none;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-logo:hover .brand-mark {
  transform: translateY(-1.5px) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #755532;
  margin-top: 2px;
  white-space: nowrap;
}

/* Primary Desktop Nav */
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(0.35rem, 1.15vw, 1.15rem);
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2.5px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-900);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-chevron {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -40px;
  width: 580px;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 64px -12px rgba(7, 14, 27, 0.22), 0 0 0 1px rgba(29, 99, 255, 0.08);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s var(--ease-out-expo), transform 0.22s var(--ease-out-expo), visibility 0.22s;
  z-index: 3000;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dropdown-header-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.dropdown-overview-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-overview-link:hover {
  color: var(--green-600);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.dropdown-card-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.dropdown-card-link:hover {
  background: var(--bg-warm);
  transform: translateX(3px);
}

.dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand-soft);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-card-link:hover .dropdown-icon {
  background: var(--gradient-brand);
  color: #fff;
}

.dropdown-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

.dropdown-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Header Actions & Mobile Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-medium);
  background: #fff;
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--bg-warm-alt);
}

/* Mobile Full-Screen Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  top: 82px;
  background: rgba(225, 207, 183, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 1.75rem var(--container-pad) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.28s var(--ease-out-expo), transform 0.28s var(--ease-out-expo), visibility 0.28s;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--navy-900);
}

.mobile-subnav {
  padding: 0.5rem 0 0.75rem 1rem;
  display: grid;
  gap: 0.5rem;
  border-left: 2px solid rgba(29, 99, 255, 0.25);
  margin-top: 0.25rem;
}

.mobile-subnav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.35rem 0;
}

/* ==========================================================================
   CTA BUTTONS & MICRO-INTERACTIONS (Requirement #26, #33)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.08rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: #e7b055;
  background-image: linear-gradient(135deg, #e7b055 0%, #efc06d 55%, #f6d48f 100%);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2.5px);
  background-position: 100% 50%;
  box-shadow: 0 14px 30px -6px rgba(231, 176, 85, 0.58);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-color: var(--border-medium);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2.5px);
  background: #fff;
  border-color: #e7b055;
  color: #e7b055;
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.btn-outline-light:hover {
  transform: translateY(-2.5px);
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.btn-arrow {
  display: inline-flex;
  transition: transform 0.25s var(--ease-out-expo);
}

.btn:hover .btn-arrow,
.text-link-cta:hover .btn-arrow,
.card-link:hover .btn-arrow {
  transform: translateX(4px);
}

.text-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-900);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.text-link-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out-expo);
}

.text-link-cta:hover {
  color: var(--blue-600);
}

.text-link-cta:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   HOME HERO & 3D EXPERIENCE (Requirements #7, #8, #9)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(94vh - 82px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem) 4.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 25%, rgba(29, 99, 255, 0.08) 0%, rgba(16, 185, 129, 0.06) 38%, rgba(225, 207, 183, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 700;
  color: var(--navy-800);
  margin-top: 1.1rem;
  margin-bottom: 0.85rem;
  line-height: 1.38;
}

.hero-description {
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  color: var(--text-secondary);
  margin-bottom: 1.85rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-tertiary-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   FUTURISTIC 3D SPATIAL HOLOGRAPHIC PORTAL (Requirement #8 Upgraded UX/UI)
   ========================================================================== */
.hero-3d-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: clamp(390px, 34vw, 450px);
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  z-index: 2;
}

.hero-3d-aura {
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(29, 99, 255, 0.35) 0%, rgba(14, 165, 233, 0.25) 50%, rgba(16, 185, 129, 0.35) 100%);
  filter: blur(32px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  animation: pulseAura 6s ease-in-out infinite alternate;
}

@keyframes pulseAura {
  0% { opacity: 0.55; transform: scale(0.98); }
  100% { opacity: 0.85; transform: scale(1.02); }
}

.hero-3d-portal {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background:
    radial-gradient(90% 85% at 50% 42%, rgba(23, 52, 104, 0.72) 0%, rgba(9, 20, 42, 0.94) 62%, #050C1A 100%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow:
    0 32px 70px -16px rgba(7, 14, 27, 0.52),
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 0 48px rgba(29, 99, 255, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 1;
}

/* Subtle Futuristic Perspective Cyber-Grid */
.hero-3d-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.85) 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.85) 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Futuristic HUD Corner Brackets */
.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(52, 211, 153, 0.65);
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}
.hud-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.hud-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
.hud-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.hud-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }

/* Top Interactive Holographic Header */
.hero-3d-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: rgba(7, 14, 27, 0.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  flex-wrap: wrap;
}

.hero-3d-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #7DD3FC;
  text-transform: uppercase;
}

.hero-3d-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399, 0 0 20px #10B981;
  animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-3d-filter-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.22rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-3d-pill {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.68rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s ease;
}

.hero-3d-pill:hover {
  color: #fff;
}

.hero-3d-pill.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 99, 255, 0.45);
}

/* Main 3D Canvas Viewport */
.hero-3d-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

/* Perimeter Holographic Keyword Badges — Docked to Outer Corners to Prevent Overlap */
.floating-keyword {
  position: absolute;
  padding: 0.38rem 0.82rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 23, 48, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  pointer-events: none;
  user-select: none;
  animation: floatKeyword 6s ease-in-out infinite;
  z-index: 3;
}

.floating-keyword-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 8px #38BDF8;
}

.kw-1 { top: 22px; left: 22px; animation-delay: 0s; }
.kw-2 { top: 22px; right: 22px; animation-delay: -1.2s; }
.kw-3 { top: 47%; left: 18px; animation-delay: -2.5s; }
.kw-4 { top: 47%; right: 18px; animation-delay: -3.8s; }
.kw-5 { bottom: 22px; left: 22px; animation-delay: -1.8s; }
.kw-6 { bottom: 22px; right: 22px; animation-delay: -4.4s; }

@keyframes floatKeyword {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 8px); }
}

/* Bottom Interactive Telemetry & Active Node Inspector */
.hero-3d-hud-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(7, 14, 27, 0.76);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(56, 189, 248, 0.18);
}

.hero-3d-hud-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.hero-3d-hud-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.32rem 0.68rem;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #38BDF8;
}

.hero-3d-hud-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-3d-hud-text strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.hero-3d-hud-text span {
  font-size: 0.76rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-3d-hud-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #34D399;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.hero-3d-hud-action:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

/* Scroll Indicator (Requirement #9) */
.scroll-indicator {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  z-index: 4;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.scroll-indicator:hover {
  color: var(--blue-600);
  border-color: var(--blue-600);
}

.scroll-arrow-bounce {
  display: inline-block;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   SPLIT-SCREEN INTRODUCTION & IMAGE REVEALS (Requirements #12, #32)
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.editorial-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(117, 85, 50, 0.16), rgba(231, 176, 85, 0.2));
  box-shadow: var(--shadow-lg);
}

.image-reveal-mask {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}

.image-reveal-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease-out-expo);
}

.about-team-frame {
  width: 100%;
}

.about-team-frame .image-reveal-mask {
  aspect-ratio: auto;
  height: auto;
}

.about-team-frame .image-reveal-mask img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1);
}

.image-reveal-mask.is-visible img,
.editorial-visual-frame:hover .image-reveal-mask img {
  transform: scale(1);
}

.floating-stat-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  max-width: 280px;
  z-index: 3;
}

.floating-stat-card-right {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background: var(--navy-900);
  color: #fff;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 3;
}

/* ==========================================================================
   3D INTERACTIVE CARDS — WHAT WE BELIEVE / WHAT WE DO / VALUES (Req #13, #14, #15)
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.interactive-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s ease;
  transform-style: preserve-3d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Subtle radial gradient highlight following cursor */
.interactive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(29, 99, 255, 0.08), rgba(16, 185, 129, 0.05) 40%, transparent 80%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

/* Top accent bar */
.interactive-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.interactive-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d);
  border-color: rgba(29, 99, 255, 0.24);
}

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

.interactive-card:hover::after {
  transform: scaleX(1);
}

.card-content-inner {
  position: relative;
  z-index: 1;
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(29, 99, 255, 0.15);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  transition: transform 0.35s var(--ease-spring), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.interactive-card:hover .card-icon-wrap {
  transform: scale(1.08) rotate(-5deg);
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 22px -4px rgba(29, 99, 255, 0.4);
}

.card-number-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-600);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.card-title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--blue-600);
  margin-top: auto;
}

.interactive-card:hover .card-link {
  color: var(--green-600);
}

/* Dark theme cards */
.section-dark .interactive-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-dark .interactive-card .card-title {
  color: #fff;
}

.section-dark .interactive-card .card-desc {
  color: var(--text-on-dark-muted);
}

.section-dark .interactive-card .card-link {
  color: #38BDF8;
}

/* ==========================================================================
   OUR APPROACH — VISUAL JOURNEY TIMELINE (Requirement #16)
   LEARN ↓ PARTICIPATE ↓ SHARE ↓ MENTOR ↓ LEAD ↓ CREATE OPPORTUNITIES
   ========================================================================== */
.journey-timeline {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

.journey-step {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.85rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
}

.journey-step:hover {
  transform: translateX(8px);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
}

.journey-step-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px -5px rgba(29, 99, 255, 0.4);
}

.journey-step-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.25rem;
}

.journey-step-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.journey-step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.journey-arrow-connector {
  display: flex;
  justify-content: center;
  color: var(--blue-600);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  margin-block: -0.5rem;
}

/* ==========================================================================
   VISION & MISSION LARGE 3D CARDS (Requirement #17)
   ========================================================================== */
.vision-mission-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.vision-mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vm-vision {
  background: linear-gradient(145deg, #0B1528 0%, #14284B 100%);
  color: #fff;
}

.vm-vision h3, .vm-vision p {
  color: #fff;
}

.vm-mission {
  background: linear-gradient(145deg, #FFFFFF 0%, #F0F7FF 60%, #ECFDF5 100%);
  color: var(--navy-900);
}

.vm-floating-orb {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.16;
  filter: blur(24px);
  pointer-events: none;
}

/* ==========================================================================
   PARTNERSHIP PROCESS HORIZONTAL STEPPER (Requirement #24)
   CONNECT → SHARE IDEAS → COLLABORATE → CREATE OPPORTUNITIES → COMMUNITY IMPACT
   ========================================================================== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

.process-node {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease;
}

.process-node:hover {
  transform: translateY(-6px);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}

/* ==========================================================================
   STRATEGIC MID-PAGE CTA BANNERS (Requirement #25, #29)
   ========================================================================== */
.strategic-cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  background: var(--gradient-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.strategic-cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0.22;
  filter: blur(60px);
  pointer-events: none;
}

.strategic-cta-band h3 {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.strategic-cta-band p {
  color: var(--text-on-dark-muted);
  max-width: 580px;
  font-size: 1.05rem;
}

.final-cta-section {
  background: var(--gradient-dark);
  color: #fff;
  text-align: center;
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

.final-cta-box {
  max-width: 880px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   CONTACT FORM & EDITABLE PLACEHOLDERS (Requirements #27, #28, #39)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.88rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-warm);
  font-size: 0.96rem;
  color: var(--navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.14);
}

.form-control.invalid {
  border-color: #DC2626;
  background: #FEF2F2;
}

.form-error-msg {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #DC2626;
  margin-top: 0.35rem;
}

.form-control.invalid + .form-error-msg {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block: 1.25rem 1.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue-600);
  cursor: pointer;
}

.form-status-banner {
  display: none;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 1.25rem;
}

.form-status-banner.success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}

.form-status-banner.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #EF4444;
  color: #991B1B;
}

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: rgba(29, 99, 255, 0.08);
  border: 1px dashed rgba(29, 99, 255, 0.35);
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ==========================================================================
   COMMUNITY NETWORK VISUAL (Requirement #21, #22)
   ========================================================================== */
.network-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #081121 0%, #0F203C 60%, #0C2B36 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ==========================================================================
   SCROLL-TRIGGERED REVEAL SYSTEM (Requirement #10)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo), filter 0.7s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   PREMIUM FOOTER (Requirement #30)
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark);
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-desc {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  margin-block: 1.15rem 1.5rem;
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.94rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #C99A64;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.footer-brand-pill {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Requirement #35)
   ========================================================================== */
@media (max-width: 1120px) {
  .primary-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .split-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero-3d-stage {
    height: 400px;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .cards-grid-3,
  .cards-grid-2,
  .cards-grid-4,
  .process-flow,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    min-height: auto;
    padding-top: 2.25rem;
  }
  .hero-3d-stage {
    height: 330px;
  }
  .floating-keyword {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
  }
  .journey-step {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .floating-stat-card,
  .floating-stat-card-right {
    position: static;
    margin-top: 0.75rem;
    max-width: 100%;
  }
  .btn {
    width: 100%;
  }
  .nav-actions .btn {
    width: auto;
  }
  .hero-cta-group .btn {
    width: auto;
    flex: 1 1 200px;
  }
}

@media (max-width: 560px) {
  .nav-cta-desktop {
    display: none;
  }
}

/* ==========================================================================
   CERPOW-INSPIRED 3D RECESSED BACKLIT DARK / LIGHT MODE TOGGLE
   Ref: Dribbble Shot #25202646 by Voicu Apostol (cerpow)
   - Starts in Light Mode: 3D button is elevated, emitting luminous glow from
     its recessed base.
   - When toggled to Dark Mode: 3D button physically sinks into the recess,
     blocking the base light and switching the entire site to Dark Mode.
   ========================================================================== */
.theme-toggle-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  perspective: 600px;
  outline: none;
}

.theme-toggle-3d:focus-visible .theme-toggle-bezel {
  box-shadow:
    0 0 0 3px var(--blue-600),
    0 10px 24px -6px rgba(11, 21, 40, 0.28);
}

/* Outer 3D Sculpted Bezel Frame */
.theme-toggle-bezel {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  box-shadow:
    0 6px 16px -3px rgba(11, 21, 40, 0.16),
    0 2px 4px rgba(11, 21, 40, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px rgba(15, 23, 42, 0.18);
  transition:
    background 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo),
    transform 0.3s var(--ease-spring);
}

.theme-toggle-3d:hover .theme-toggle-bezel {
  transform: translateY(-1px);
}

/* Deep Recessed Chamber / Well */
.theme-toggle-recess {
  position: relative;
  width: 108px;
  height: 38px;
  border-radius: 999px;
  background: #070B14;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 4px 9px rgba(0, 0, 0, 0.85),
    inset 0 1px 3px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: visible;
  transition:
    background 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
}

/* Luminous Base Emitter Inside the Recess (Active in Light Mode) */
.theme-toggle-base-light {
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(251, 191, 36, 0.95) 0%,
    rgba(254, 240, 138, 1) 38%,
    rgba(56, 189, 248, 0.95) 100%
  );
  filter: blur(4px);
  opacity: 0.95;
  transform: scale(1.03);
  transition:
    opacity 0.45s var(--ease-out-expo),
    transform 0.45s var(--ease-out-expo),
    filter 0.45s var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}

/* Outer Ambient Light Spill Around the Recess Base (Light Mode) */
.theme-toggle-light-spill {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at 50% 85%,
    rgba(251, 191, 36, 0.55) 0%,
    rgba(56, 189, 248, 0.38) 52%,
    rgba(56, 189, 248, 0) 80%
  );
  filter: blur(7px);
  opacity: 1;
  transition:
    opacity 0.45s var(--ease-out-expo),
    transform 0.45s var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}

/* 3D Physical Button Cap — Elevated in Light Mode, Sinks into Recess in Dark Mode */
.theme-toggle-cap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  /* Raised 3D state in Light Mode so base light shines from underneath */
  transform: translate3d(0, -3.5px, 0) scale(0.965);
  /* 3D Extruded Lower Wall + Warm Illuminated Base Reflection */
  box-shadow:
    0 3.5px 0 #CBD5E1,
    0 4.5px 0 #94A3B8,
    0 6px 12px rgba(245, 158, 11, 0.48),
    0 2px 6px rgba(14, 165, 233, 0.35);
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.42s var(--ease-out-expo);
}

/* Top Tactile Surface of the 3D Button Cap */
.theme-cap-surface {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px 0 9px;
  gap: 6px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 58%, #E2E8F0 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1.5px 1px #FFFFFF,
    inset 0 -1.5px 2px rgba(251, 191, 36, 0.28);
  color: #0F172A;
  transition:
    background 0.42s var(--ease-out-expo),
    border-color 0.42s var(--ease-out-expo),
    box-shadow 0.42s var(--ease-out-expo),
    color 0.35s ease;
}

/* Icon Chamber on the 3D Cap */
.theme-cap-icons {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.24) 0%, rgba(251, 191, 36, 0.04) 100%);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.theme-svg-sun,
.theme-svg-moon {
  position: absolute;
  width: 14px;
  height: 14px;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.32s ease;
}

.theme-svg-sun {
  color: #D97706;
  opacity: 1;
  transform: rotate(0deg) scale(1);
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.55));
}

.theme-svg-moon {
  color: #38BDF8;
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

/* Tactile Engraved Label */
.theme-cap-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #0F172A;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* Glowing Status LED Pill on the 3D Cap */
.theme-cap-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow:
    0 0 8px 2px rgba(245, 158, 11, 0.85),
    inset 0 1px 1px #FEF08A;
  flex-shrink: 0;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

/* Active Physical Press Micro-Interaction */
.theme-toggle-3d:active .theme-toggle-cap {
  transform: translate3d(0, 2.5px, 0) scale(0.985) !important;
}

/* --- DARK MODE STATE OF THE 3D BUTTON (Sunken into Recess, Blocking Light) --- */
[data-theme="dark"] .theme-toggle-bezel {
  background: linear-gradient(180deg, #1E293B 0%, #090F1D 100%);
  box-shadow:
    0 8px 20px -4px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(148, 163, 184, 0.16),
    inset 0 -1px 1px rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .theme-toggle-recess {
  background: #03060C;
  box-shadow:
    inset 0 5px 12px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px rgba(15, 23, 42, 0.9),
    0 1px 0 rgba(148, 163, 184, 0.12);
}

/* Light is physically blocked when the 3D button sinks into the recess */
[data-theme="dark"] .theme-toggle-base-light {
  opacity: 0.06;
  transform: scale(0.78);
  filter: blur(2px);
}

[data-theme="dark"] .theme-toggle-light-spill {
  opacity: 0;
  transform: scale(0.85);
}

/* Button Cap Sinks Deep Into the Recess in Dark Mode */
[data-theme="dark"] .theme-toggle-cap {
  transform: translate3d(0, 1.5px, 0) scale(0.995);
  box-shadow:
    0 0.5px 0 #090D16,
    0 1px 2px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .theme-cap-surface {
  background: linear-gradient(180deg, #162238 0%, #0D1627 65%, #080E1A 100%);
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow:
    inset 0 1px 1px rgba(148, 163, 184, 0.14),
    inset 0 -2px 4px rgba(0, 0, 0, 0.85);
  color: #E2E8F0;
}

[data-theme="dark"] .theme-cap-icons {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.75);
}

[data-theme="dark"] .theme-svg-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

[data-theme="dark"] .theme-svg-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.65));
}

[data-theme="dark"] .theme-cap-text {
  color: #E2E8F0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .theme-cap-led {
  background: #38BDF8;
  box-shadow:
    0 0 9px 2px rgba(56, 189, 248, 0.8),
    inset 0 1px 1px #E0F2FE;
}

/* ==========================================================================
   FULL WEBSITE DARK MODE THEME SYSTEM ([data-theme="dark"])
   Converts all backgrounds, cards, headers, forms, timelines & typography
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg-warm: #070E1B;
  --bg-warm-alt: #0B1528;
  --bg-neutral: #0E1B31;
  --bg-card: rgba(15, 28, 50, 0.88);
  --bg-glass: rgba(11, 21, 40, 0.82);

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-medium: rgba(148, 163, 184, 0.24);

  --shadow-sm: 0 6px 20px -4px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 16px 38px -8px rgba(0, 0, 0, 0.6), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 60px -12px rgba(0, 0, 0, 0.75), 0 10px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-3d: 0 28px 64px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.28);
}

/* Smooth Theme Transitions on Surfaces */
html,
body,
.site-header,
.section,
.interactive-card,
.journey-step,
.vision-mission-card,
.process-node,
.form-card,
.form-control,
.dropdown-menu {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.3s ease,
    box-shadow 0.35s ease;
}

/* Header & Navigation in Dark Mode */
[data-theme="dark"] .site-header {
  background: linear-gradient(
    135deg,
    rgba(18, 34, 62, 0.56) 0%,
    rgba(7, 14, 27, 0.42) 50%,
    rgba(18, 34, 62, 0.50) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top-color: rgba(255, 255, 255, 0.12);
  border-bottom-color: rgba(201, 154, 100, 0.22);
  box-shadow:
    0 12px 34px -8px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    inset 0 -1px 1px rgba(201, 154, 100, 0.14);
}

[data-theme="dark"] .site-header::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.07) 35%,
    rgba(255, 255, 255, 0.02) 65%,
    rgba(255, 255, 255, 0.06) 100%
  );
}

[data-theme="dark"] .site-header.scrolled {
  background: linear-gradient(
    135deg,
    rgba(18, 34, 62, 0.68) 0%,
    rgba(7, 14, 27, 0.54) 50%,
    rgba(18, 34, 62, 0.62) 100%
  );
  box-shadow:
    0 14px 38px -8px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(201, 154, 100, 0.18);
}

[data-theme="dark"] .brand-logo,
[data-theme="dark"] .brand-name {
  color: #F8FAFC;
}

[data-theme="dark"] .brand-sub {
  color: #C99A64;
}

[data-theme="dark"] .nav-link {
  color: #CBD5E1;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #FFFFFF;
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(11, 21, 40, 0.98);
  border-color: rgba(201, 154, 100, 0.24);
  box-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(201, 154, 100, 0.15);
}

[data-theme="dark"] .dropdown-card-title {
  color: #F8FAFC;
}

[data-theme="dark"] .dropdown-card-link:hover {
  background: rgba(201, 154, 100, 0.08);
}

[data-theme="dark"] .dropdown-overview-link {
  color: #C99A64;
}

[data-theme="dark"] .mobile-menu-toggle {
  background: rgba(15, 28, 50, 0.9);
  border-color: rgba(201, 154, 100, 0.26);
  color: #F8FAFC;
}

[data-theme="dark"] .mobile-menu-toggle:hover {
  background: rgba(28, 49, 86, 0.95);
}

[data-theme="dark"] .mobile-nav-drawer {
  background: rgba(7, 14, 27, 0.98);
}

[data-theme="dark"] .mobile-nav-link {
  color: #F8FAFC;
}

/* Hero & Typography in Dark Mode */
[data-theme="dark"] .hero-section {
  background: radial-gradient(
    circle at 80% 25%,
    rgba(117, 85, 50, 0.16) 0%,
    rgba(201, 154, 100, 0.1) 38%,
    rgba(7, 14, 27, 0) 72%
  );
}

[data-theme="dark"] .hero-subtitle {
  color: #E2E8F0;
}

[data-theme="dark"] .eyebrow {
  color: #E7B055;
  background: rgba(231, 176, 85, 0.12);
  border-color: rgba(231, 176, 85, 0.28);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(15, 28, 50, 0.82);
  border-color: rgba(231, 176, 85, 0.35);
  color: #F8FAFC;
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(28, 49, 86, 0.95);
  border-color: #e7b055;
  color: #e7b055;
}

[data-theme="dark"] .text-link-cta {
  color: #F8FAFC;
}

[data-theme="dark"] .text-link-cta:hover {
  color: #C99A64;
}

[data-theme="dark"] .scroll-indicator {
  background: rgba(15, 28, 50, 0.82);
  border-color: rgba(201, 154, 100, 0.22);
  color: #CBD5E1;
}

[data-theme="dark"] .scroll-indicator:hover {
  color: #C99A64;
  border-color: #C99A64;
}

/* Cards, Floating Badges, Timelines & Process Nodes in Dark Mode */
[data-theme="dark"] .floating-stat-card {
  background: rgba(11, 21, 40, 0.95);
  border-color: rgba(201, 154, 100, 0.24);
  color: #F8FAFC;
}

[data-theme="dark"] .card-title,
[data-theme="dark"] .journey-step-title {
  color: #F8FAFC;
}

[data-theme="dark"] .card-icon-wrap {
  color: #C99A64;
  background: rgba(201, 154, 100, 0.14);
  border-color: rgba(201, 154, 100, 0.25);
}

[data-theme="dark"] .card-number-badge {
  color: #E7B055;
  background: rgba(231, 176, 85, 0.14);
}

[data-theme="dark"] .card-link {
  color: #C99A64;
}

[data-theme="dark"] .interactive-card:hover .card-link {
  color: #E7B055;
}

[data-theme="dark"] .journey-step,
[data-theme="dark"] .process-node,
[data-theme="dark"] .form-card {
  background: rgba(15, 28, 50, 0.88);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="dark"] .journey-step-label {
  color: #C99A64;
}

[data-theme="dark"] .vm-mission {
  background: linear-gradient(145deg, #0F1E38 0%, #132A4A 60%, #0C2D3A 100%);
  border-color: rgba(201, 154, 100, 0.26);
  color: #F8FAFC;
}

[data-theme="dark"] .vm-mission h2,
[data-theme="dark"] .vm-mission h3 {
  color: #FFFFFF;
}

/* Contact Form & Placeholders in Dark Mode */
[data-theme="dark"] .form-label {
  color: #E2E8F0;
}

[data-theme="dark"] .form-control {
  background: rgba(7, 14, 27, 0.85);
  border-color: rgba(148, 163, 184, 0.25);
  color: #F8FAFC;
}

[data-theme="dark"] .form-control::placeholder {
  color: #64748B;
}

[data-theme="dark"] .form-control:focus {
  background: rgba(11, 21, 40, 0.98);
  border-color: #C99A64;
  box-shadow: 0 0 0 4px rgba(201, 154, 100, 0.18);
}

[data-theme="dark"] .placeholder-tag {
  background: rgba(201, 154, 100, 0.12);
  border-color: rgba(201, 154, 100, 0.35);
  color: #FDE68A;
}

/* ==========================================================================
   REDUCED MOTION SUPPORT (Requirement #34)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .image-reveal-mask img {
    transform: none !important;
  }
}

