/* ============================================================
   AFTERBURN — apply.css
   apply.html ONLY. Calm intro + embedded form reveal.
   ============================================================ */

/* ============================================================
   INTRO SECTION
   ============================================================ */

.apply-intro {
  min-height: calc(100vh - var(--header-height, 64px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.apply-intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.apply-intro__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.apply-intro__blob--1 {
  width: 50vw; height: 50vw;
  top: -15vw; right: -10vw;
  background: radial-gradient(circle, var(--c-cyan), transparent 70%);
}
.apply-intro__blob--2 {
  width: 38vw; height: 38vw;
  bottom: -12vw; left: -8vw;
  background: radial-gradient(circle, var(--c-magenta), transparent 70%);
}

.apply-intro__inner {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  text-align: center;
}

.apply-intro__eyebrow {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.apply-intro__heading {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(100deg, var(--c-cyan) 0%, var(--c-magenta) 55%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.apply-intro__body {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.75;
  opacity: 0.82;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: left;
}

.apply-intro__body p + p {
  margin-top: 1em;
}

.apply-intro__body h2 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  opacity: 1;
}

.apply-intro__body h3 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
  opacity: 0.9;
}

.apply-intro__actions {
  display: flex;
  justify-content: center;
}

/* ============================================================
   FORM SECTION
   ============================================================ */

.apply-form {
  display: none;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.apply-form.is-visible {
  display: block;
}

.apply-form__heading {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0.7;
}

.apply-form__frame-wrap {
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.1);
}

.apply-form__iframe {
  width: 100%;
  /* tall enough to fit the whole Google Form so it doesn't scroll internally —
     this leaves the page as the single scrollbar (no nested second slider) */
  height: clamp(600px, 62vh, 900px);
  border: 0;
  display: block;
}
