/* Hero Section */

      .hero-section {
        min-height: 100vh;
        padding-top: var(--nav-h);
        display: flex;
        width: 100%;
        position: relative;
      }

      /* 50 / 50 Split Columns */
      .hero-col {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 3rem clamp(1.5rem, 5vw, 4.5rem);
      }

      /* Left Content Layout */
.hero-content {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Eyebrow Badge */
.hero-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.14), rgba(56, 189, 248, 0.06));
  color: #c7d2fe;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  isolation: isolate; /* keeps the ::before ring contained to this element */
}

/* animated ring, sitting just behind the pill */
.hero-eyebrow::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px; /* controls ring thickness */
  background: conic-gradient(
    from var(--eyebrow-angle, 0deg),
    rgba(129, 140, 248, 0.1),
    #a5b4fc 20%,
    rgba(129, 140, 248, 0.1) 40%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: eyebrow-ring-spin 3.5s linear infinite;
}

@property --eyebrow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes eyebrow-ring-spin {
  to { --eyebrow-angle: 360deg; }
}

.hero-eyebrow span:first-child {
  color: #a5b4fc;
  font-size: 0.8rem;
  text-shadow: 0 0 8px rgba(165, 180, 252, 0.7);
}

.hero-eyebrow span:last-child {
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow::before {
    animation: none;
  }
}

.hero-eyebrow span:first-child {
  color: #a5b4fc;
  font-size: 0.95rem;
  text-shadow: 0 0 8px rgba(165, 180, 252, 0.7);
}

.hero-eyebrow span:last-child {
  letter-spacing: 0.08em;
}

/* Headline */
.hero-headline {
  font-family: "Fraunces", serif;
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #8b93a8;

  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-headline::first-line {
  color: #a5b4fc;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero-headline::first-line {
    background: linear-gradient(100deg, #a5b4fc 0%, #818cf8 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Description */
.hero-description {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 46ch;

  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* ============================================= */
/* Entrance animation — CSS only, no JS           */
/* ============================================= */

.animate-block {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

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

@media (prefers-reduced-motion: reduce) {
  .animate-block {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Mobile Responsive Layout (< 900px) */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - var(--navbar-height));
  }

  .hero-col {
    flex: 1 0 100%;
    max-width: 100%;
    padding: 2.5rem 1.5rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .nav-links {
    display: none;
  }
}