/* ------------------------------------------------------------
   section-investors.css — Cinematic Investors (One-Screen Ready)
   ------------------------------------------------------------ */

/* Variables (safe fallback, won’t override globals) */
:root {
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --accent: #cfA84f;
  --accent-2: #e6c97a;
  --ink: #0b0b0b;
  --muted: #777b80;
  --t: 420ms;
  --ease: cubic-bezier(.22,.9,.32,1);
  --container-max: 1100px;
}

/* Scope */
#investors, #investors * { box-sizing: border-box; }

/* Section root */
#investors {
  position: relative;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(28px, 6vw, 88px));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(28px, 6vw, 88px));
  padding-left: clamp(14px, 4vw, 56px);
  padding-right: clamp(14px, 4vw, 56px);
  background: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  overflow: visible;
  width: 100%;
}

/* Inner wrapper */
#investors .investors__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(8px, 3.5vw, 36px);
}

/* Glow */
#investors::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(207,168,79,0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Header */
#investors .investors__header {
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}
#investors .section-heading {
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0;
}
#investors .investors__underline {
  display: block;
  width: min(280px, 44%);
  height: 6px;
  margin: .9rem auto 0;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(207,168,79,0.95),
    rgba(230,201,122,0.92),
    rgba(207,168,79,0.95)
  );
  background-size: 200% auto;
  box-shadow: 0 4px 16px rgba(207,168,79,0.25);
  animation: investors-shimmer 6s linear infinite;
}
@keyframes investors-shimmer {
  to { background-position: 200% center; }
}

/* Lead */
#investors .investors__lead {
  max-width: 72ch;
  margin: 0 auto var(--space-lg);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  position: relative;
  z-index: 1;
}
#investors .investors__lead.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* List grid */
#investors .investors__list {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-xl);
  max-width: 820px;
  display: grid;
  gap: clamp(10px, 2.2vw, 18px);
  width: 100%;
  position: relative;
  z-index: 1;
}
@media (min-width: 720px) {
  #investors .investors__list {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

/* List items */
#investors .investors__list li {
  font-size: 1.05rem;
  padding: clamp(12px, 2.2vw, 20px) clamp(12px, 2.2vw, 20px) clamp(12px, 2.2vw, 20px) clamp(28px, 4.4vw, 40px);
  position: relative;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  opacity: 0;
  transform: translateY(20px);
  overflow: visible;
}
#investors .investors__list li::before {
  content: "✓";
  position: absolute;
  left: clamp(12px, 2.2vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(207,168,79,0.45);
  animation: investors-pulse 2.5s infinite ease-in-out;
}
@keyframes investors-pulse {
  0%,100% { text-shadow: 0 0 6px rgba(207,168,79,0.4); }
  50% { text-shadow: 0 0 14px rgba(230,201,122,0.8); }
}
#investors .investors__list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
#investors .investors__list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA */
#investors .investors__cta {
  margin-top: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  position: relative;
  z-index: 1;
}
#investors .investors__cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button */
#investors .btn--secondary {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  background: linear-gradient(145deg, #fff, #f9f9f9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  display: inline-block;
}
#investors .btn--secondary:hover {
  background: linear-gradient(145deg, #fff, #fdfdfd);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Responsive tweaks */
@media (max-width: 900px) {
  #investors { padding-left: clamp(12px, 5vw, 36px); padding-right: clamp(12px, 5vw, 36px); }
  #investors .investors__lead { font-size: 1rem; max-width: 64ch; }
  #investors .investors__list { max-width: 720px; gap: 12px; }
  #investors .investors__list li { padding-left: clamp(20px, 6vw, 34px); }
  #investors .investors__list li::before { left: clamp(10px, 4vw, 18px); }
}
@media (max-width: 600px) {
  #investors {
    padding-top: calc(env(safe-area-inset-top, 0px) + clamp(18px, 7vw, 40px));
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(18px, 7vw, 40px));
    padding-left: env(safe-area-inset-left, 12px);
    padding-right: env(safe-area-inset-right, 12px);
  }
  #investors .investors__lead { font-size: .98rem; margin-bottom: var(--space-md); }
  #investors .investors__list { grid-template-columns: 1fr; gap: 10px; max-width: 100%; padding-inline: 6px; }
  #investors .investors__list li { padding: 12px 12px 12px 44px; border-radius: 12px; }
  #investors .investors__list li::before { left: 14px; font-size: 1rem; }
  #investors .btn--secondary { width: 100%; padding: 0.95rem 1rem; }
}

/* Slide layout compatibility */
.slide > #investors,
#investors.slide-section,
.slide .investors {
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(20px, 5vw, 56px));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(20px, 5vw, 56px));
  padding-left: clamp(12px, 4vw, 48px);
  padding-right: clamp(12px, 4vw, 48px);
}

/* Print */
@media print {
  #investors { background: transparent; border-bottom: none; padding: 12px; }
  #investors .investors__list li { background: transparent; box-shadow: none; border: none; }
  #investors .investors__underline { display: none; }
}
