/* ============================================================================
   KEY QUOTE SECTION
   Dark backdrop credibility statement. "Failure is not an option." mic drop.
   This section is a CONVICTION STATEMENT. It must land with authority.
   ============================================================================ */

.key-quote {
  background: var(--color-bg-dark);
  padding: var(--space-5xl) 0;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle blue glow from center — authority radiating */
.key-quote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.key-quote__content {
  max-width: var(--max-width-prose);
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   HEADLINE — "PRINCIPLED ENGINEERING."
   -------------------------------------------------------------------------- */

.key-quote__headline {
  font-family: 'NewPanamSkyline', var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--weight-black);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--leading-none);
  margin: 0 0 var(--space-2xl);
  opacity: 0;
  transform: translateY(16px);
}

.key-quote--visible .key-quote__headline {
  animation: key-quote-reveal 0.6s var(--ease-snappy) forwards;
}

.key-quote__dot {
  display: inline-block;
  color: #3b82f6;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.3);
  animation: key-quote-dot-pulse 2s ease-in-out infinite;
}

@keyframes key-quote-dot-pulse {
  0%, 100% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.3); }
  50% { text-shadow: 0 0 30px rgba(59, 130, 246, 0.9), 0 0 60px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.2); }
}

/* --------------------------------------------------------------------------
   BODY — The credibility paragraph
   -------------------------------------------------------------------------- */

.key-quote__body {
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  color: rgba(203, 213, 225, 0.9);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-2xl);
  opacity: 0;
  transform: translateY(12px);
}

.key-quote--visible .key-quote__body {
  animation: key-quote-reveal 0.6s var(--ease-snappy) 0.3s forwards;
}

/* --------------------------------------------------------------------------
   STATEMENT — "Failure is not an option." The mic drop.
   -------------------------------------------------------------------------- */

.key-quote__statement {
  font-family: 'NewPanamSkyline', var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin: 0;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(59, 130, 246, 0.25);
  opacity: 0;
  transform: translateY(12px);
}

.key-quote--visible .key-quote__statement {
  animation: key-quote-reveal 0.6s var(--ease-snappy) 0.7s forwards;
}

@keyframes key-quote-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   MOBILE — 768px
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .key-quote {
    padding: var(--space-3xl) 0;
    min-height: 50vh;
  }

  .key-quote__headline {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
  }

  .key-quote__body {
    font-size: var(--text-lg);
  }

  .key-quote__statement {
    font-size: var(--text-2xl);
  }
}
