/* -------------------------------------------------------------------------- */
/* Hero Banner                                                                 */
/* -------------------------------------------------------------------------- */

.scdjj-hero {
  position: relative;
  margin-top: -2.75rem;
  padding-top: 4.625rem;
  color: var(--color-white);
  background: radial-gradient(circle at 22% 25%, rgba(48, 111, 228, 0.38) 0%, transparent 65%),
    radial-gradient(circle at 78% 75%, rgba(48, 111, 228, 0.65) 0%, transparent 65%),
    linear-gradient(135deg, #102449 0%, #050a19 50%, #0a1328 100%);
  overflow: hidden;
  isolation: isolate;
  min-height: 618px;
}

.scdjj-hero--image {
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
}

.scdjj-hero__gradient {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.scdjj-hero--image .scdjj-hero__gradient {
  background: rgba(4, 9, 20, var(--hero-overlay, 0.85));
  mix-blend-mode: multiply;
}

/* Inner content block: pt-60px gap-36px pb-100px from Figma */
.scdjj-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.25rem;
  padding: 3.75rem 1rem 6.25rem;
}

/* Headline group: gap-16px from Figma */
.scdjj-hero__headline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* "Are you someone" — Franklin Regular 72px from Figma */
.scdjj-hero__headline-text {
  font-family: var(--font-display-regular);
  font-size: 4.5rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-white);
  white-space: nowrap;
}

/* Highlight box — white bg, h-100px, px-30px, pt-2px from Figma */
.scdjj-hero__highlight {
  background-color: var(--color-white);
  border-radius: 0;
  height: 6.25rem;
  padding: 0.125rem 1.875rem 0;
  width: auto;
  box-shadow: 0 4px 12px rgba(8, 11, 33, 0.15);
  transition: width 0.45s ease;
  position: relative;
  z-index: 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scdjj-hero__highlight-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Highlight word — Franklin Black Italic 72px #89171a from Figma */
.scdjj-hero__highlight-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-black-italic);
  font-style: italic;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-red-100);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scdjj-hero__highlight-word.is-active {
  opacity: 1;
}

/* CTA group */
.scdjj-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 10;
}

/* CTA button — Franklin Bold 16px, px-20px py-10px, r-58px from Figma */
.scdjj-hero__ctas .btn {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 3.625rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-display-bold);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: var(--color-red-100);
  border: none;
  color: var(--color-white);
  box-shadow: 0 0 24px rgba(137, 23, 26, 1);
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.scdjj-hero__ctas .btn:hover {
  background: var(--color-red-75);
}

.scdjj-hero__ctas .btn + .btn {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

/* Ghost text — Franklin Black 100px tracking-3px lh-0.72 #55688b from Figma */
/* Desktop: one line, flush bottom */
.scdjj-hero__ghost {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-display-black);
  font-style: normal;
  font-size: clamp(4.5rem, 7vw, 6.25rem);
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #55688b;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  pointer-events: none;
  z-index: 1;
  line-height: 0.72;
  user-select: none;
}

/* ─── Tablet (wrapped ghost text before full desktop) ──────────────────────── */
@media (max-width: 1100px) {
  .scdjj-hero__inner {
    padding-bottom: clamp(6rem, 28vw, 11rem);
  }

  .scdjj-hero__ghost {
    white-space: normal;
    line-height: 0.72;
    font-size: clamp(4.5rem, 9vw, 6.25rem);
    padding: 0 0.5rem;
    overflow: hidden;
  }
}

/* ─── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero becomes a flex column so ghost text is last flow item, matching Figma */
  .scdjj-hero {
    display: flex;
    flex-direction: column;
    min-height: 396px;
    padding-top: 1rem;
    overflow: hidden;
  }

  /* py-60px symmetric, gap-36px — exact Figma content block values */
  .scdjj-hero__inner {
    gap: 2.25rem;
    padding: 3.75rem 0.875rem;
  }

  .scdjj-hero__headline {
    gap: 0.5rem;
  }

  .scdjj-hero__headline-text {
    font-size: 2rem;
    white-space: nowrap;
  }

  .scdjj-hero__highlight {
    height: auto;
    min-height: 3rem;
    padding: 0.125rem 1rem 0.5rem;
    max-width: none;
  }

  .scdjj-hero__highlight-word {
    font-size: 2rem;
  }

  .scdjj-hero__ctas .btn {
    font-size: 0.875rem;
    letter-spacing: 1.4px;
    padding: 0.625rem 1.25rem;
  }

  /* Pull ghost out of absolute flow — it's the last flex item in Figma */
  .scdjj-hero__ghost {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    margin-top: auto;
    width: 100%;
    font-size: 3.125rem;
    letter-spacing: 1.5px;
    line-height: 0.71;
    white-space: normal;
    padding: 0;
    overflow: hidden;
  }
}
