:root {
  --bg-primary: #050508;
  --bg-primary-rgb: 5, 5, 8;
  --bg-secondary: #0A0A0F;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --surface: #0F0F18;
  --accent-gold: #303a81;
  --accent-gold-light: #6b74b8;
  --accent-gold-dark: #1f244f;
  --accent-gold-rgb: 48, 58, 129;
  --accent-cyan: #00D4FF;
  --accent-cyan-dim: rgba(0, 212, 255, 0.15);
  --text-primary: #F0EDE6;
  --text-secondary: rgba(240, 237, 230, 0.85);
  --text-muted: rgba(240, 237, 230, 0.65);
  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(48, 58, 129, 0.3);
  --gradient-hero: radial-gradient(ellipse 120% 80% at 60% 20%, rgba(48, 58, 129, 0.12) 0%, rgba(0, 212, 255, 0.06) 50%, transparent 70%);
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #FAFAF7;
  --bg-primary-rgb: 250, 250, 247;
  --bg-secondary: #F2F0EA;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --surface: #FFFFFF;
  --accent-gold: #303a81;
  --accent-cyan: #0066CC;
  --text-primary: #1A1814;
  --text-secondary: rgba(26, 24, 20, 0.85);
  --text-muted: rgba(26, 24, 20, 0.7);
  --border: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(48, 58, 129, 0.3);
  --gradient-hero: radial-gradient(ellipse 120% 80% at 60% 20%, rgba(139, 111, 58, 0.08) 0%, rgba(0, 102, 204, 0.05) 50%, transparent 70%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  cursor: none;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color 0.6s, color 0.6s;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

section:not(.hero):not(.about-hero) {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

canvas#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.bg-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 70%);
  top: -200px;
  right: -100px;
  animation: blobDrift1 25s ease-in-out infinite;
}

.bg-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: blobDrift2 30s ease-in-out infinite;
}

.bg-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06), transparent 70%);
  top: 40%;
  left: 40%;
  animation: blobDrift3 20s ease-in-out infinite;
}

@keyframes blobDrift1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-80px, 60px) scale(1.1);
  }
}

@keyframes blobDrift2 {

  0%,
  100% {
    transform: translate(0, 0) scale(0.9);
  }

  50% {
    transform: translate(60px, -80px) scale(1.1);
  }
}

@keyframes blobDrift3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, 40px) scale(0.9);
  }
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.1s;
}

.cursor-ring {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s, border-radius 0.3s;
}

main,
section,
header,
footer,
nav {
  position: relative;
  z-index: 1;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

/* HEADER */
a {
  text-decoration: none;
  color: inherit;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  --text-primary: #1A1814;
  --text-secondary: rgba(26, 24, 20, 0.85);
  color: var(--text-primary);
}

header.scrolled {
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 40px);
  max-width: 1400px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled nav a,
header.scrolled .btn-cta-header {
  font-size: 12px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 32px;
  transition: var(--transition);
}

.mobile-only {
  display: none !important;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.logo-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.header-logo-wrapper {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  animation: none;
}

@keyframes goldPillGlow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(201, 169, 110, 0.4), 0 0 10px rgba(201, 169, 110, 0.2);
  }

  50% {
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.8), 0 0 30px rgba(201, 169, 110, 0.4);
  }
}

.client-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s, font-size 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
  font-weight: 600;
}

nav a.active {
  background: rgba(48, 58, 129, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
}

[data-theme="light"] nav a.active {
  background: rgba(48, 58, 129, 0.08);
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

nav a:hover::before,
nav a.active::before {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta-header {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 10px 24px;
  border: 1px solid var(--border-gold);
  border-radius: 40px;
  color: var(--accent-gold);
  background: transparent;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, font-size 0.3s;
}

.btn-cta-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold));
  transition: left 0.4s;
}

.btn-cta-header:hover::before {
  left: 0;
}

.btn-cta-header:hover {
  color: #050508;
}

.btn-cta-header span {
  position: relative;
  z-index: 1;
}

.theme-toggle {
  width: 44px;
  height: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  cursor: none;
  position: relative;
  transition: var(--transition);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--accent-gold);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(20px);
}

/* HERO */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

[data-theme="light"] .hero-bg-video {
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-bg-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(var(--bg-primary-rgb), 0.15) 55%, var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .hero-bg-overlay {
  display: none;
}

[data-theme="light"] .hero-text-col {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-headline,
.hero-subtitle,
.hero-stats,
.hero-ctas,
.scroll-indicator {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: clamp(43px, 5.8vw, 87px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.3);
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-line.line-2 {
  transform: translateX(60px);
}

.hero-line.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-line .gold {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 1s;
  min-height: 56px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle.visible {
  opacity: 1;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
  background-color: var(--accent-gold);
  border-radius: 20px;
  padding: 24px 0;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(48, 58, 129, 0.2);
}

.hero-stats.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {
  padding: 0 48px;
  text-align: center;
}

.stat-item:first-child {
  padding-left: 48px;
}

.stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1;
}

.stat-num,
.stat-suffix {
  display: inline-block;
}

.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.hero-ctas.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 36px;
  background: var(--accent-gold);
  color: #FFFFFF;
  border-radius: 40px;
  border: none;
  cursor: none;
  letter-spacing: 0.02em;
  transition: box-shadow 0.3s, transform 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 16px 36px;
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  border-radius: 40px;
  cursor: none;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

.btn-secondary .play-icon {
  display: inline-block;
  transition: transform 0.6s;
}

.btn-secondary:hover .play-icon {
  transform: rotate(360deg);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border-gold);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 2px;
  position: absolute;
  top: -8px;
  left: -1px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    top: -8px;
    opacity: 1;
  }

  80% {
    top: 40px;
    opacity: 0;
  }

  100% {
    top: -8px;
    opacity: 0;
  }
}

.scroll-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes rotatering {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ABOUT */
.section {
  padding: 120px 0;
  position: relative;
}

.overline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: clamp(35px, 4.3vw, 58px);
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.section-title span {
  color: inherit;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.about-divider::before,
.about-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}

.about-divider span {
  color: var(--accent-gold);
  font-size: 14px;
}

.about-bullets {
  list-style: none;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.about-bullets li::before {
  content: '';
  width: 3px;
  height: 20px;
  background: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 4px;
  border-radius: 2px;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  height: 100%;
  display: flex;
  align-items: center;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.2) 0%, transparent 100%);
  pointer-events: none;
}

.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s;
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.05);
}

.orbit-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 20px rgba(var(--accent-gold-rgb), 0.1));
}

.orbit-svg {
  width: 380px;
  height: 380px;
}

.orbit-ring {
  stroke: var(--border-gold);
  stroke-opacity: 0.6;
}

.orbit-ring-inner {
  stroke: var(--accent-cyan);
  stroke-opacity: 0.3;
}

.orbit-center {
  fill: #ffffff;
  stroke: var(--accent-gold);
  stroke-width: 1.5;
}

.orbit-icon {
  transform-origin: center;
}

.orbit-text {
  fill: var(--accent-gold);
  font-weight: 600;
}

.orbit-particle-primary {
  fill: var(--accent-gold);
}

.orbit-particle-secondary {
  fill: var(--accent-cyan);
}

.orbit-line {
  stroke: var(--border-gold);
  stroke-opacity: 0.3;
}

[data-theme="light"] .orbit-ring,
[data-theme="light"] .orbit-line {
  stroke: #ffffff;
  stroke-opacity: 0.8;
}

[data-theme="light"] .orbit-ring-inner {
  stroke: #ffffff;
  stroke-opacity: 0.5;
}

[data-theme="light"] .orbit-particle-primary,
[data-theme="light"] .orbit-particle-secondary {
  fill: #ffffff;
}

[data-theme="light"] .orbit-center {
  fill: #ffffff;
  stroke: #ffffff;
}

/* STRATEGIES */
.strategies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.fund-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.fund-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), transparent 60%);
  transform: translate(-100%, -100%);
  transition: transform 0.6s;
}

.fund-card:hover::before {
  transform: translate(0, 0);
}

.fund-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(var(--accent-gold-rgb), 0.2), 0 0 0 1px var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(var(--bg-primary-rgb), 0.8);
}

.fund-card:hover::before {
  transform: translate(0, 0);
  opacity: 0.4;
}

.fund-card.featured {
  border-color: var(--accent-gold);
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.1);
}

.fund-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  display: block;
}

.fund-name {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text-primary);
  white-space: normal;
}

.fund-aum {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.fund-detail {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: start;
  text-align: left;
}

.fund-detail span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.flagship-badge {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

@media(max-width: 1024px) {
  .about-hero {
    padding: 160px 0 80px;
    background-attachment: scroll;
  }

  .about-mission-grid,
  .philosophy-layout,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-img-stack {
    height: 400px;
  }

  .phi-img {
    height: 400px;
  }

  .featured-leader-card {
    flex-direction: column !important;
    padding: 32px !important;
  }

  .fl-image {
    width: 100% !important;
    height: 300px !important;
    margin-bottom: 24px;
  }

  .fl-content {
    width: 100% !important;
  }
}

.featured-leader-card {
  display: flex;
  gap: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--accent-gold);
  padding: 56px;
  border-radius: 32px;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.featured-leader-card:hover {
  box-shadow: 0 20px 60px rgba(48, 58, 129, 0.2);
}

.featured-leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%, rgba(48, 58, 129, 0.15), transparent 60%);
  pointer-events: none;
}

.fl-image {
  width: 320px;
  height: 380px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(48, 58, 129, 0.3);
  z-index: 1;
  flex-shrink: 0;
}

.fl-content {
  flex: 1;
  z-index: 1;
}

.fl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.fl-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 35px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.1;
  font-weight: 600;
}

.fl-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
}

.fl-bio {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* TEAM MODAL */
.team-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-modal.show {
  display: block;
  opacity: 1;
}

.team-modal-content {
  background: var(--bg-primary);
  margin: 10% auto;
  padding: 40px;
  border: 1px solid var(--accent-gold);
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.team-modal.show .team-modal-content {
  transform: translateY(0);
}

.team-modal-close {
  color: var(--accent-gold);
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.team-modal-close:hover {
  color: var(--accent-cyan);
}

.cursor-ring {
  z-index: 9999999 !important;
}

/* GLOBAL RESPONSIVE FIXES */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  header {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .modal-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .subnav-links {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 20px !important;
    padding: 0 16px 4px;
    scrollbar-width: none;
    width: 100%;
  }

  .subnav-links a {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .subnav-links a::after {
    bottom: -12px;
  }

  .subnav-links::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
  }

  .insights-subnav {
    overflow: hidden;
    scrollbar-width: none;
  }

  .insights-subnav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
  }

  .insights-subnav::-webkit-scrollbar {
    display: none;
  }

  .top-bar-right {
    display: none !important;
  }

  .top-bar .container {
    justify-content: center !important;
  }
}

@media (max-width: 1200px) {
  .mobile-only {
    display: block !important;
  }

  [data-theme="light"] .hero-text-col {
    padding: 24px;
  }

  .hero-headline {
    font-size: clamp(32px, 10vw, 80px) !important;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .orbit-svg {
    width: 100%;
    height: auto;
    max-width: 380px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    padding: 16px;
    width: 100%;
    gap: 12px;
  }

  .stat-item {
    padding: 0 !important;
  }

  .stat-value {
    font-size: 36px;
  }

  .stat-label {
    font-size: 10px;
  }

  .stat-item:first-child {
    padding-left: 0 !important;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
    margin: 8px auto;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .hero-ctas button {
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.1);
  }

  .header-content.active {
    left: 0;
  }

  nav {
    flex-direction: column;
    width: 100%;
    gap: 24px;
    align-items: flex-start;
  }

  nav a {
    font-size: 16px;
    text-align: left;
    display: block;
    width: 100%;
  }

  .header-content nav a,
  .header-content nav a.active,
  .header-content nav a:hover {
    background: none !important;
    padding: 0 !important;
    font-weight: 400 !important;
    color: var(--text-secondary) !important;
  }

  .header-content nav a::before {
    display: none !important;
  }

  .header-actions {
    margin-top: 24px;
    width: 100%;
    justify-content: flex-start;
  }
}

/* FEE STRUCTURE */
.fee-structure-container {
  width: 100%;
  margin: 60px auto 0;
}

.fee-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.fee-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
}

.fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--accent-gold-rgb), 0.1);
  border-color: var(--accent-gold);
}

.fee-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 64px;
  font-weight: 500;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.fee-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.fee-footer-text {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 32px;
}

@media(max-width: 768px) {
  .fee-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* INNER PAGE HERO STYLES */
.about-hero {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(48, 58, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .about-hero::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(48, 58, 129, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 102, 204, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(48, 58, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 58, 129, 0.03) 1px, transparent 1px);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(var(--bg-primary-rgb), 0.15) 55%, var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .about-hero-overlay {
  display: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-page-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: clamp(26px, 5.8vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-page-title span {
  color: inherit;
}

.about-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ABOUT MISSION & VISION */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-quote {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--accent-gold);
  margin-top: 40px;
  padding-left: 24px;
  border-left: 3px solid var(--accent-gold);
}

.mission-visual {
  position: relative;
}

.mission-img-stack {
  position: relative;
  height: 600px;
  width: 100%;
}

.m-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 24px;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 12px solid var(--bg-primary);
}

.m-img-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  object-fit: cover;
  border-radius: 24px;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 12px solid var(--bg-primary);
}

.centered-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

/* CORE VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-page .values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.careers-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .about-page .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-page .values-grid {
    grid-template-columns: 1fr;
  }
}

.careers-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.careers-values-grid .value-card svg {
  display: block;
  margin: 0 auto 20px;
}

@media(max-width: 1024px) {
  .careers-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .careers-values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.value-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--border-gold);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(var(--accent-gold-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  color: var(--accent-gold);
}

.value-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* MEDIA / MARQUEE SECTION */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
  position: relative;
  background: transparent;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
  gap: 40px;
}

.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.media-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.media-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: transform 0.4s;
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.quote-mark {
  font-family: 'Libre Baskerville', serif;
  font-size: 58px;
  color: var(--accent-gold);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 20px;
}

.media-quote {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.media-source {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* CTA SECTION */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.cta-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(29px, 4.3vw, 58px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.cta-title span {
  color: inherit;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 776px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-cta-large {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 48px;
  background: var(--accent-gold);
  color: #FFFFFF;
  border-radius: 40px;
  border: none;
  cursor: none;
  letter-spacing: 0.02em;
  transition: box-shadow 0.3s, transform 0.3s;
  display: inline-block;
  /*margin-bottom: 40px;*/
}

.btn-cta-large:hover {
  box-shadow: 0 0 30px rgba(48, 58, 129, 0.4);
  transform: translateY(-2px);
}

.cta-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .cta-contact {
    flex-direction: column;
    gap: 16px;
  }
}

a.cta-ibkr {
  padding: 14px;
  display: inline-block;
  text-align: center;
}

.cta-email,
.cta-ibkr {
  font-size: 15px;
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
}

.cta-email:hover,
.cta-ibkr:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.cta-legal {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* FOOTER */
footer {
  background: #303a81 !important;
  padding: 80px 0 40px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}

.footer-col h4, .footer-col a {
  white-space: nowrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s;
}

.social-link:hover {
  background: #ffffff;
  color: #303a81;
  border-color: #ffffff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  border-top: none;
}
@media (max-width: 900px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-bottom > div {
    text-align: center !important;
  }
}

.footer-copy,
.footer-disc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-time-container {
  text-align: right;
}

/* ─── TEAM CARDS & GRID ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 0 !important;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 33% 1fr;
  grid-template-areas:
    "image name"
    "image title"
    "image bio"
    "image actions"
    "image modal";
  align-items: start;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  z-index: 1;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 33% 1fr;
  }
}

@media (max-width: 600px) {
  .team-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "name"
      "title"
      "bio"
      "actions"
      "modal";
  }

  .team-header {
    min-height: 200px !important;
  }
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
}

.founder-card {
  grid-column: 1 / -1;
  margin: 0 auto;
  width: 100%;
  max-width: 550px;
  border: 2px solid var(--accent-gold) !important;
  box-shadow: 0 0 40px rgba(48, 58, 129, 0.2) !important;
  grid-template-rows: auto auto 1fr auto auto;
}

.founder-card:hover {
  box-shadow: 0 10px 50px rgba(48, 58, 129, 0.4) !important;
}

.team-header {
  grid-area: image;
  height: 100%;
  min-height: 250px;
  margin-bottom: 0 !important;
  position: relative;
}

.avatar-sm {
  grid-area: image;
}

.team-header img,
.team-header .team-avatar-initials {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  object-fit: cover !important;
  margin: 0 !important;
}

.team-header .team-avatar-initials {
  font-size: 48px !important;
}

.team-social {
  position: static !important;
  display: flex;
  gap: 10px;
  padding: 0;
}

.team-social svg {
  width: 16px;
  height: 16px;
}

.team-social a {
  color: #303a81 !important;
  transition: color 0.3s;
}

.team-social a:hover {
  color: var(--accent-cyan) !important;
}

.team-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px 30px 20px;
  flex-wrap: wrap;
}

.t-name {
  grid-area: name;
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;

  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 900;
  padding: 24px 20px 0 20px;
}

.t-title {
  grid-area: title;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;

  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 12px;
  padding: 0 20px;
}

.t-title p {
  color: gray;
  margin-top: 5px;
}



.t-bio {
  grid-area: bio;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding: 0 20px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card .btn-cta-large {
  width: max-content !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.team-card .full-details {
  grid-area: modal;
}

/* ─── CAREERS JOB BOARD REDESIGN ──────────────────────────────────── */

.careers-search-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  backdrop-filter: blur(20px);
}

.search-inputs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-end;
}

.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 8px;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.btn-search {
  background: var(--accent-gold);
  border: none;
  border-radius: 8px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.btn-search:hover {
  transform: translateY(-2px);
  background: var(--accent-cyan);
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.job-count {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.dropdowns {
  display: flex;
  gap: 16px;
}

.dropdowns select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.sort-control {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-control:hover {
  color: var(--accent-gold);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.job-board-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
  backdrop-filter: blur(20px);
}

.job-board-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.job-board-card.event-card {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(0, 191, 255, 0.05));
  border-color: rgba(212, 175, 55, 0.3);
}

.job-board-card.network-card {
  background: rgba(10, 15, 30, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  justify-content: center;
  text-align: center;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.job-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  text-transform: uppercase;
}

.job-actions {
  display: flex;
  gap: 12px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  color: var(--accent-gold);
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 16px;
}

@media(max-width: 480px) {
  .job-meta {
    grid-template-columns: 1fr;
  }
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.job-meta svg {
  color: var(--accent-gold);
}

.job-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

@media(max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media(max-width: 768px) {
  .media-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }

  .footer-time-container {
    text-align: center;
  }

  .search-inputs {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .btn-search {
    width: 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .strategies-grid {
    grid-template-columns: 1fr;
  }

  .about-mission-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-img-stack {
    height: 400px;
  }
}

.btn-cta-header:hover,
.btn-cta-header:hover span {
  color: #ffffff !important;
}

/* ─── LOGIN DROPDOWN ────────────────────────────────────────────── */
.login-dropdown {
  position: relative;
  display: inline-block;
}

.login-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-dropdown-trigger .chevron {
  display: inline-block;
  font-size: 8px;
  transition: transform 0.3s ease;
  margin-left: 4px;
  vertical-align: middle;
}

.login-dropdown:hover .login-dropdown-trigger .chevron,
.login-dropdown.active .login-dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.login-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  z-index: 1100;
}

[data-theme="light"] .login-dropdown-menu {
  box-shadow: 0 10px 30px rgba(48, 58, 129, 0.12);
}

.login-dropdown:hover .login-dropdown-menu,
.login-dropdown.active .login-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.login-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
}

.login-dropdown-item:hover {
  background: var(--accent-gold);
  color: #FFFFFF !important;
}

.login-dropdown-item .icon {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── VERTICAL TIMELINE STYLES ────────────────────────────────────── */
.process-vertical-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-gold);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  margin-bottom: 40px;
  width: 100%;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-number {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: 'DM Sans', sans-serif;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.3);
  transition: var(--transition);
}

.timeline-item:hover .timeline-number {
  background: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(var(--accent-gold-rgb), 0.6);
  transform: translateX(-50%) scale(1.1);
}

.timeline-content {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 30px;
  max-width: 400px;
  margin: 0 40px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(var(--accent-gold-rgb), 0.15);
}

.timeline-content h4 {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
  }

  .timeline-number {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-item:hover .timeline-number {
    transform: translateX(-50%) scale(1.1);
  }

  .timeline-content {
    margin: 0;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .process-vertical-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0;
  }

  .timeline-line {
    display: none;
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 !important;
    margin-bottom: 0;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-left: 0;
  }

  /* Grid Layout for zigzag pattern:
     1  2  3
     6  5  4
     7
  */
  .timeline-item:nth-child(2) {
    grid-row: 1;
    grid-column: 1;
  }

  .timeline-item:nth-child(3) {
    grid-row: 1;
    grid-column: 2;
  }

  .timeline-item:nth-child(4) {
    grid-row: 1;
    grid-column: 3;
  }

  .timeline-item:nth-child(5) {
    grid-row: 2;
    grid-column: 3;
  }

  .timeline-item:nth-child(6) {
    grid-row: 2;
    grid-column: 2;
  }

  .timeline-item:nth-child(7) {
    grid-row: 2;
    grid-column: 1;
  }

  .timeline-item:nth-child(8) {
    grid-row: 3;
    grid-column: 1;
  }

  .timeline-number {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 0 20px 0 !important;
    z-index: 4;
    background: var(--bg-primary) !important;
  }

  .timeline-item:hover .timeline-number {
    background: var(--accent-gold) !important;
    color: #FFFFFF !important;
    transform: scale(1.1) !important;
  }

  .timeline-content {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100%;
    z-index: 3;
    text-align: left;
  }

  /* Connecting Zigzag Lines (Dashed) */
  /* Step 1 to 2 */
  .timeline-item:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 20px;
    /* Center of the 40px circle */
    left: calc(50% + 20px);
    width: calc(100% + 40px - 40px);
    /* 100% col width + 40px gap - 40px circle diameter */
    border-top: 2px dashed var(--accent-gold);
    z-index: 2;
  }

  /* Step 2 to 3 */
  .timeline-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(50% + 20px);
    width: calc(100% + 40px - 40px);
    border-top: 2px dashed var(--accent-gold);
    z-index: 2;
  }

  /* Step 3 to 4 (vertical from bottom of row 1 to circle 4) */
  .timeline-item:nth-child(4)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 80px;
    /* 60px row gap + 20px circle radius */
    border-left: 2px dashed var(--accent-gold);
    z-index: 2;
  }

  /* Step 4 to 5 (going left) */
  .timeline-item:nth-child(5)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: calc(50% + 20px);
    width: calc(100% + 40px - 40px);
    border-top: 2px dashed var(--accent-gold);
    z-index: 2;
  }

  /* Step 5 to 6 (going left) */
  .timeline-item:nth-child(6)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: calc(50% + 20px);
    width: calc(100% + 40px - 40px);
    border-top: 2px dashed var(--accent-gold);
    z-index: 2;
  }

  /* Step 6 to 7 (vertical from bottom of row 2 to circle 7) */
  .timeline-item:nth-child(7)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 80px;
    /* 60px row gap + 20px circle radius */
    border-left: 2px dashed var(--accent-gold);
    z-index: 2;
  }
}

/* ─── MEDIA HEIGHT COMPACTNESS ────────────────────────────────────── */
#media {
  padding: 60px 0;
}

#media .marquee-wrapper {
  padding: 16px 0;
  margin-bottom: 40px;
}

#media .section-title {
  margin-bottom: 20px;
}

/* ─── NAVIGATION DROPDOWN ────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: none;
}

.nav-dropdown-trigger .chevron {
  display: inline-block;
  font-size: 8px;
  transition: transform 0.3s ease;
  vertical-align: middle;
  margin-left: 2px;
}

.nav-dropdown:hover .nav-dropdown-trigger .chevron,
.nav-dropdown.active .nav-dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-top: 12px;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  z-index: 1100;
}

[data-theme="light"] .nav-dropdown-menu {
  box-shadow: 0 10px 30px rgba(48, 58, 129, 0.12);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: var(--accent-gold);
  color: #FFFFFF !important;
}

/* Mobile responsive styles for the navigation dropdown */
@media (max-width: 1200px) {
  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    text-align: left;
  }

  .nav-dropdown-trigger .chevron {
    font-size: 10px;
    margin-left: 6px;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    margin-top: 8px;
    width: 100%;
    min-width: 100%;
    background: rgba(0, 0, 0, 0.12);
    box-shadow: none;
    display: none;
    flex-direction: column;
    padding: 6px;
    gap: 2px;
    border: none;
    border-radius: 8px;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  [data-theme="light"] .nav-dropdown-menu {
    background: rgba(48, 58, 129, 0.04);
    box-shadow: none;
  }

  .nav-dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: left;
    white-space: normal;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .login-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .login-dropdown-trigger {
    width: 100%;
    justify-content: flex-start !important;
  }

  .login-dropdown-menu {
    position: static;
    transform: none !important;
    margin-top: 8px;
    width: 100%;
    min-width: 100%;
    background: rgba(0, 0, 0, 0.12);
    box-shadow: none !important;
    display: none;
    flex-direction: column;
    padding: 6px;
    gap: 2px;
    border: none;
    border-radius: 8px;
  }

  .login-dropdown.active .login-dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  [data-theme="light"] .login-dropdown-menu {
    background: rgba(48, 58, 129, 0.04);
  }
}

/* ─── FOUNDER DESK REDESIGN ───────────────────────────────────────── */
.founder-desk-container {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.founder-desk-container:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 50px rgba(var(--accent-gold-rgb), 0.1);
}

.founder-desk-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.founder-image-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-image-wrapper {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  margin-bottom: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.founder-image-wrapper:hover {
  transform: scale(1.03);
}

.founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.founder-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.founder-socials {
  display: flex;
  gap: 12px;
}

.founder-socials .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.founder-socials .social-icon:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.founder-message-col {
  position: relative;
  display: flex;
  flex-direction: column;
}

.message-quote-icon {
  font-family: 'Libre Baskerville', serif;
  font-size: 101px;
  color: var(--accent-gold);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: -65px;
  left: -20px;
  pointer-events: none;
}

.founder-message-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.founder-message-content p {
  margin: 0;
}

.founder-message-content .thank-you {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 500;
  margin-top: 10px;
}

.founder-signature {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.sig-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sig-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .founder-desk-container {
    padding: 30px;
  }

  .founder-desk-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-image-wrapper {
    max-width: 220px;
  }
}

/* ─── NOTICE MODAL ────────────────────────────────────────────────── */
.notice-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
  justify-content: center;
}

.notice-modal.show {
  display: flex;
  opacity: 1;
}

.notice-modal-content {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  width: 90%;
  max-width: 650px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.notice-modal.show .notice-modal-content {
  transform: translateY(0);
}

.notice-modal-close {
  color: var(--text-muted);
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.notice-modal-close:hover {
  color: var(--accent-gold);
}

.notice-modal-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.notice-modal-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

/* Options Grid */
.notice-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 580px) {
  .notice-options-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.notice-option-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.notice-option-card:hover {
  border-color: var(--accent-gold);
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
}

.notice-option-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.notice-option-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.notice-option-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Visibility states */
.notice-state-hidden {
  display: none !important;
}

.notice-state-active {
  display: block !important;
}

/* Public Notice details */
.notice-warning-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ff4a4a;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notice-scroll-body {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 12px;
  margin-bottom: 24px;
  text-align: left;
}

.notice-scroll-body::-webkit-scrollbar {
  width: 4px;
}

.notice-scroll-body::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 2px;
}

.notice-scroll-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.notice-scroll-body p:last-child {
  margin-bottom: 0;
}

.notice-date {
  color: var(--text-muted) !important;
  margin-top: 24px;
  font-size: 13px !important;
}

.btn-notice-back {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-notice-back:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

/* Staff Login Form */
.notice-login-form {
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.notice-form-group {
  margin-bottom: 16px;
}

.notice-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.notice-form-group input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
}

.notice-form-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.btn-notice-login {
  width: 100%;
  padding: 12px;
  background: var(--accent-gold);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
}

.btn-notice-login:hover {
  background: var(--accent-gold-light);
}

.btn-notice-login:active {
  transform: scale(0.98);
}

.login-feedback {
  color: #ff4a4a;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
  display: none;
}

/* ─── DROPDOWN ACTIVE CONTRAST FIX ───────────────────────────────── */
#headerContent nav .nav-dropdown-menu a.nav-dropdown-item {
  padding: 10px 16px;
  background: transparent;
  color: var(--text-secondary);
}

#headerContent nav .nav-dropdown-menu a.nav-dropdown-item:hover,
#headerContent nav .nav-dropdown-menu a.nav-dropdown-item.active {
  background: var(--accent-gold) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 16px !important;
}

#headerContent nav .nav-dropdown-menu a.nav-dropdown-item::before {
  display: none !important;
}

/* ─── LEAFLET DYNAMIC MAP STYLES ──────────────────────────────────── */
#quantumvest-map {
  background: transparent !important;
}

.leaflet-container {
  background: transparent !important;
  font-family: 'DM Sans', sans-serif;
}

.leaflet-bar {
  border: 1px solid var(--border-gold) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: none !important;
}

.leaflet-bar a {
  background-color: var(--surface) !important;
  color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border) !important;
  transition: background 0.3s;
}

.leaflet-bar a:hover {
  background-color: var(--bg-glass-hover) !important;
}

.leaflet-popup-content-wrapper {
  background: var(--surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-popup-tip {
  background: var(--surface) !important;
  border-left: 1px solid var(--border-gold) !important;
  border-bottom: 1px solid var(--border-gold) !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
  line-height: 1.4 !important;
}

.leaflet-popup-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #c9a96e;
  margin: 0 0 4px 0 !important;
}

.leaflet-popup-content p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 !important;
}

/* Pulsing Custom Gold Marker styling */
.custom-map-marker {
  position: relative;
  width: 16px;
  height: 16px;
}

.marker-dot {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: #c9a96e;
  border-radius: 50%;
  z-index: 2;
  border: 1px solid var(--surface);
}

.marker-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: #c9a96e;
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-marker 1.8s infinite ease-in-out;
  z-index: 1;
}

@keyframes pulse-marker {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ─── EMAIL TRANSMISSION MODAL ────────────────────────────────────── */
.mail-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mail-modal.show {
  display: flex;
  opacity: 1;
}

.mail-modal-content {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  width: 90%;
  max-width: 650px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mail-modal.show .mail-modal-content {
  transform: scale(1);
}

.mail-modal-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mail-modal-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mail-modal-close {
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.mail-modal-close:hover {
  color: var(--accent-cyan);
}

.mail-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: 70vh;
}

.email-envelope {
  background: #FFFFFF;
  color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}

.email-env-header {
  background: #0A0A0F;
  padding: 20px;
  text-align: center;
  border-bottom: 3px solid #303a81;
}

.email-env-header img {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1);
}

.email-env-metadata {
  background: #f7f9fa;
  padding: 16px 20px;
  border-bottom: 1px solid #eef1f2;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
}

.email-env-metadata strong {
  color: #111111;
}

.email-env-content {
  padding: 30px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.email-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #303a81;
  font-weight: 600;
  border-bottom: 1px solid #eef1f2;
  padding-bottom: 6px;
  margin: 20px 0 10px 0;
}

.email-section-title:first-of-type {
  margin-top: 0;
}

.email-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.email-grid-label {
  font-weight: 600;
  color: #666666;
}

.email-grid-value {
  color: #111111;
}

.email-message-box {
  background: #f8f9fa;
  border-left: 4px solid #303a81;
  padding: 12px 16px;
  font-style: italic;
  margin-top: 10px;
  border-radius: 0 8px 8px 0;
  color: #444444;
}

.email-attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f4;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #444444;
  margin-top: 5px;
  border: 1px solid #dadce0;
}

.mail-success-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
}

.mail-success-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.mail-success-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mail-success-text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}




/* ─── CARD ALIGNMENTS ─────────────────────────────────────────────── */
@media (min-width: 769px) {

  /* Business Verticals Cards */
  .fund-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .fund-card .fund-name {
    min-height: 35px;
  }

  .fund-card p {
    min-height: 100px;
  }

  .fund-card .fund-detail {
    min-height: 23px;
  }

  /* Core Values Cards */
  .value-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .value-card h3 {
    min-height: 64px;
  }

  .value-card p {
    min-height: 80px;
  }
}

@media print {

  /* --- Header: stop it floating over content --- */
  header {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  .top-bar {
    display: none !important;
  }

  main {
    padding-top: 0 !important;
  }

  /* --- Page breaks: never slice a card or section across pages --- */
  .value-card,
  .fund-card,
  .jd-section,
  .matrix-grid,
  .team-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Keep headings attached to the content that follows them */
  .section-title,
  .centered-header,
  .jd-section h3 {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* --- Remove decorative elements --- */
  .bg-blobs,
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  /* --- Legibility: solid black text on white --- */
  body {
    background: #fff !important;
    color: #000 !important;
  }

  /* Backgrounds/borders that carry meaning still print */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ─── SCROLLED HEADER TOP BAR ADJUSTMENT ────────────────────────── */
header.scrolled .top-bar {
  display: none !important;
}





.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.history-content {
  flex: 0 0 50%;
  max-width: 60%;
}

.history-image {
  flex: 0 0 50%;
  max-width: 40%;
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Mobile */
@media (max-width:768px) {
  .history-row {
    flex-direction: column;
  }

  .history-content,
  .history-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* --- NEW INVESTMENT PROCESS INTERACTIVE --- */
.process-interactive-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.process-arch-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 2 / 1.2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.process-arch-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 83.33%; /* 1 / 1.2 */
  border: 1.5px dashed #ccc;
  border-bottom: none;
  border-radius: 500px 500px 0 0;
  z-index: 1;
}

.process-arch-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: var(--accent-gold);
  font-size: 18px;
  z-index: 1;
}

.process-node {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fdfdfc;
  border: 1px solid #dcdcdc;
  color: #1a1814;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.process-node:hover {
  background: #f0f0f0;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.process-node.active {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 4px 12px rgba(48,58,129,0.2);
}

/* Node Positions (Semi-circle bounding box top-left origin) */
.process-node[data-step='1'] { left: 0%; top: 83.33%; }
.process-node[data-step='2'] { left: 6.7%; top: 41.66%; }
.process-node[data-step='3'] { left: 25%; top: 11.16%; }
.process-node[data-step='4'] { left: 50%; top: 0%; }
.process-node[data-step='5'] { left: 75%; top: 11.16%; }
.process-node[data-step='6'] { left: 93.3%; top: 41.66%; }
.process-node[data-step='7'] { left: 100%; top: 83.33%; }

.process-details-card {
  background: #efece5;
  border-radius: 16px;
  padding: 40px;
}

.process-step-label {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: #5d6a89;
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 32px;
  color: var(--accent-gold);
  margin-bottom: 16px;
  font-weight: 400;
}

.process-step-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 32px;
  min-height: 80px;
}

.process-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 24px;
}

.legend-item {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.legend-num {
  font-weight: 600;
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .process-interactive-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .process-arch-container {
    max-width: 100%;
    aspect-ratio: 2 / 1.3;
  }
  .process-arch-line {
    height: 76.9%; /* 1 / 1.3 */
  }
  /* Re-adjust positions slightly for mobile aspect ratio */
  .process-node[data-step='1'] { top: 76.9%; }
  .process-node[data-step='2'] { top: 38.45%; }
  .process-node[data-step='3'] { top: 10.3%; }
  .process-node[data-step='5'] { top: 10.3%; }
  .process-node[data-step='6'] { top: 38.45%; }
  .process-node[data-step='7'] { top: 76.9%; }
  
  .process-legend {
    grid-template-columns: 1fr;
  }
}