/* ==========================================================================
   Academics hero (academics.html only).
   Same two-column layout as the About Us hero (about-hero.css) and the index.html
   hero: .hp-hero / .hp-wrap / .hp-hero-grid / .hp-h1 / .hp-lead / .hp-btns / .hp-pill
   with the orange .hp-script line from shared-chrome.css.
   Every selector is scoped under .ph-acad so no other section changes.
   The right-hand image is a simple arch with a sky disc behind it.
   ========================================================================== */

.ph-acad.hp-hero {
  position: relative;
  padding: 64px 0 72px;
  overflow-x: clip;
}

.ph-acad .hp-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
  position: relative;
}

.ph-acad .hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.ph-acad .hp-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.ph-acad .hp-hero-copy .crumbs {
  margin-bottom: 22px;
}

.ph-acad .hp-h1 {
  font-family: var(--hp-sans);
  font-size: clamp(44px, 5.1vw, 74px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--hp-navy);
  margin: 0 0 30px;
  text-wrap: balance;
}

.ph-acad .hp-lead {
  font-family: var(--hp-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--hp-ink);
  max-width: 600px;
  margin-bottom: 36px;
}

.ph-acad .hp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---- right-hand image: shown as supplied, no frame or decoration ---- */
.ph-acad .hp-hero-art {
  justify-self: end;
  width: 100%;
  max-width: 640px;
}

.ph-acad .hp-hero-school {
  display: block;
  width: 100%;
  height: auto;
}

/* tablet and below: stack copy above the image */
@media (max-width: 1024px) {
  .ph-acad.hp-hero {
    padding: 48px 0 48px;
  }
  .ph-acad .hp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-acad .hp-hero-copy {
    max-width: none;
  }
  .ph-acad .hp-hero-art {
    justify-self: center;
    max-width: 560px;
  }
}

/* phones */
@media (max-width: 720px) {
  .ph-acad.hp-hero {
    padding: 28px 0 40px;
  }
  .ph-acad .hp-h1 {
    font-size: clamp(40px, 11.2vw, 52px);
    line-height: 1.1;
    margin-bottom: 22px;
  }
  .ph-acad .hp-h1 .hp-script {
    font-size: 1.05em;
    white-space: normal;
  }
  .ph-acad .hp-lead {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .ph-acad .hp-btns {
    gap: 12px;
  }
  .ph-acad .hp-btns .hp-pill {
    flex: 1 1 auto;
    min-height: 52px;
    padding: 0 20px;
    font-size: 16px;
  }
  @media (max-width: 360px) {
  .ph-acad .hp-btns .hp-pill {
    font-size: 15px;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-acad .hp-pill {
    transition: none;
  }
}
