/* Streymalvi website: Education page. Builds on style.css, animations.css and responsive.css. */

/* Scene 01 carries the page heading, sized like the chapter headings */
.feature .edu-h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.1rem); }
.edu-eyebrow { margin-bottom: 16px; font-size: 0.74rem; }
.edu-eyebrow img { border-radius: 6px; }

/* Scene 04 closes on the coming-soon note */
.edu-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 22px 0 0; color: var(--text-soft); font-size: 0.95rem; }

/* Closing section backdrop: the conveyor line from Scene 03 */
.edu-launch-bg { background-image: url("../media/education/E03_program_simulate_solve_poster.webp"); }

@media (max-width: 700px) {
  .feature .edu-h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .edu-eyebrow { margin-bottom: 10px; }
  .edu-eyebrow > span:not(.coming-soon-badge) { display: none; }
  .edu-soon { margin-top: 14px; font-size: 0.88rem; }
  .edu-soon > span:not(.coming-soon-badge) { display: none; }
}

/* Short landscape screens: keep the copy inside the page */
@media (max-height: 620px) and (min-width: 701px) {
  .page-education .feature .points { display: none; }
  .edu-eyebrow { display: none; }
}

/* Framing of the screen panel in each hero. On wide screens the panel is pushed away from the copy;
   on phones and portrait tablets the crop is centred on the panel. */
#learn-by-doing { --focal: 22% 50%; }
#theory-to-practice { --focal: 85% 50%; }
#program-simulate-solve { --focal: 35% 50%; }
#build-real-skills { --focal: 85% 50%; }
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  #learn-by-doing { --focal: 66% 50%; }
  #theory-to-practice { --focal: 34% 50%; }
  #program-simulate-solve { --focal: 60% 50%; }
  #build-real-skills { --focal: 34% 50%; }
}

/* The heroes show light app screens: a denser scrim keeps the copy on a calm midnight ground */
@media (min-width: 901px) and (orientation: landscape), (min-width: 1101px) {
  .page-education .feature .scrim {
    background:
      linear-gradient(to right, rgba(6, 28, 43, 0.97) 0%, rgba(6, 28, 43, 0.94) 36%, rgba(6, 28, 43, 0.7) 50%, rgba(6, 28, 43, 0.2) 64%, rgba(6, 28, 43, 0) 76%),
      linear-gradient(to top, rgba(6, 28, 43, 0.7) 0%, rgba(6, 28, 43, 0) 26%),
      linear-gradient(to bottom, rgba(6, 28, 43, 0.5) 0%, rgba(6, 28, 43, 0) 20%);
  }
  .page-education .feature-right .scrim {
    background:
      linear-gradient(to left, rgba(6, 28, 43, 0.97) 0%, rgba(6, 28, 43, 0.94) 36%, rgba(6, 28, 43, 0.7) 50%, rgba(6, 28, 43, 0.2) 64%, rgba(6, 28, 43, 0) 76%),
      linear-gradient(to top, rgba(6, 28, 43, 0.7) 0%, rgba(6, 28, 43, 0) 26%),
      linear-gradient(to bottom, rgba(6, 28, 43, 0.5) 0%, rgba(6, 28, 43, 0) 20%);
  }
}
