/* =========================================================
   ACMHANS — Homepage Redesign
   Namespace: acmh-  (kept isolated from legacy template classes)
   Palette:
     --acmh-navy      #0F2547  (institutional / trust)
     --acmh-navy-deep #0A1B36
     --acmh-gold      #C9A227  (signature accent)
     --acmh-gold-soft #E4C766
     --acmh-ivory     #F6F1E7  (warm section background)
     --acmh-sage      #6E8F74  (wellbeing accent, used sparingly)
     --acmh-ink       #1B2430
     --acmh-ink-soft  #5B6472
   Type:
     Display — 'Fraunces' (serif, humane, editorial)
     Body    — 'Poppins'  (already loaded sitewide)
     Eyebrow — 'Oswald'   (already loaded sitewide)
   ========================================================= */

.acmh {
  --acmh-navy: #0F2547;
  --acmh-navy-deep: #0A1B36;
  --acmh-gold: #C9A227;
  --acmh-gold-soft: #E4C766;
  --acmh-ivory: #F6F1E7;
  --acmh-sage: #6E8F74;
  --acmh-ink: #1B2430;
  --acmh-ink-soft: #5B6472;
  color: var(--acmh-ink);
  overflow: hidden;
}

.acmh * { box-sizing: border-box; }

.acmh .acmh-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.acmh .acmh-eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--acmh-gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.acmh .acmh-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--acmh-gold);
  display: inline-block;
}

.acmh--on-dark .acmh-eyebrow { color: var(--acmh-gold-soft); }

.acmh h2.acmh-title {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  color: var(--acmh-navy);
  margin: 0 0 20px;
  max-width: 780px;
}

.acmh--on-dark h2.acmh-title { color: #fff; }

.acmh p.acmh-lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--acmh-ink-soft);
  max-width: 720px;
  margin: 0 0 8px;
}

.acmh--on-dark p.acmh-lede { color: rgba(255,255,255,0.78); }

/* ---------- signature: neural pathway divider ---------- */
.acmh-pathway {
  display: block;
  width: 100%;
  height: 46px;
  line-height: 0;
}
.acmh-pathway svg { width: 100%; height: 100%; display: block; }

/* ================= HERO ================= */
.acmh-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('../images/backgrounds/hero-health.jpg') center/cover no-repeat;
  padding: 190px 0 130px;
  color: #fff;
}

.acmh-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* If the video fails to load, or reduced motion is requested, fall back to the static image */
@media (prefers-reduced-motion: reduce) {
  .acmh-hero__bg-video { display: none; }
}

.acmh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(10,27,54,0.94) 10%, rgba(15,37,71,0.72) 55%, rgba(15,37,71,0.55) 100%);
}

.acmh-hero__inner { position: relative; z-index: 3; max-width: 700px; }

.acmh-hero__eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--acmh-gold-soft);
  margin-bottom: 22px;
}

.acmh-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-style: normal;
  font-size: 68px;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 22px;
}

.acmh-hero h1 em {
  font-style: italic;
  color: var(--acmh-gold-soft);
}

.acmh-hero__sub {
  font-size: 19px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.6;
}

.acmh-hero__desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 40px;
}

.acmh-hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.acmh-btn {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  border: 1.5px solid transparent;
}

.acmh-btn--gold {
  background: var(--acmh-gold);
  color: var(--acmh-navy-deep) !important;
}
.acmh-btn--gold:hover { background: var(--acmh-gold-soft); transform: translateY(-2px); }

.acmh-btn--ghost {
  border-color: rgba(255,255,255,0.55);
  color: #fff !important;
}
.acmh-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.acmh-btn--outline-navy {
  border-color: var(--acmh-navy);
  color: var(--acmh-navy) !important;
}
.acmh-btn--outline-navy:hover { background: var(--acmh-navy); color: #fff !important; }

.acmh-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.acmh-hero__scroll .line { width: 40px; height: 1px; background: rgba(255,255,255,0.5); }

/* ================= WHY MENTAL HEALTH MATTERS (dark) ================= */
.acmh-why-mh {
  background: linear-gradient(180deg, var(--acmh-navy-deep), var(--acmh-navy) 60%);
  padding: 110px 0 100px;
  position: relative;
}

.acmh-domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.1);
}

.acmh-domain {
  background: var(--acmh-navy-deep);
  padding: 34px 28px;
  transition: background .3s ease;
}
.acmh-domain:hover { background: rgba(201,162,39,0.08); }

.acmh-domain__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--acmh-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--acmh-gold);
  font-size: 18px;
  margin-bottom: 20px;
}

.acmh-domain h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  margin: 0 0 10px;
}

.acmh-domain p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  margin: 0;
}

/* ================= WHY EDUCATION MUST EVOLVE (ivory) ================= */
.acmh-evolve {
  background: var(--acmh-ivory);
  padding: 110px 0 100px;
}

.acmh-evolve__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
  margin-top: 50px;
}

.acmh-needs { list-style: none; margin: 0; padding: 0; position: relative; }
.acmh-needs::before {
  content: "";
  position: absolute;
  left: 23px; top: 10px; bottom: 10px;
  width: 1px;
  background: rgba(15,37,71,0.15);
}

.acmh-needs li {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.acmh-needs li:last-child { padding-bottom: 0; }

.acmh-needs__num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--acmh-gold);
  color: var(--acmh-navy);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
}

.acmh-needs h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--acmh-navy);
  margin: 6px 0 8px;
}

.acmh-needs p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--acmh-ink-soft);
  margin: 0;
  max-width: 480px;
}

.acmh-evolve__panel {
  background: var(--acmh-navy);
  color: #fff;
  border-radius: 6px;
  padding: 46px 42px;
  position: sticky;
  top: 120px;
}

.acmh-evolve__panel .acmh-tag {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--acmh-gold-soft);
  margin-bottom: 16px;
  display: block;
}

.acmh-evolve__panel h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.25;
  margin: 0 0 18px;
}

.acmh-evolve__panel p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin-bottom: 30px;
}

/* ================= ABOUT ================= */
.acmh-about {
  background: #fff;
  padding: 110px 0;
}

.acmh-about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.acmh-about__figure {
  position: relative;
  height: 480px;
}
.acmh-about__figure img {
  position: absolute;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 25px 50px -20px rgba(15,37,71,0.35);
}
.acmh-about__figure .img-a {
  width: 72%; height: 78%;
  top: 0; left: 0;
  z-index: 2;
}
.acmh-about__figure .img-b {
  width: 55%; height: 46%;
  bottom: 0; right: 0;
  z-index: 3;
  border: 6px solid #fff;
}
.acmh-about__badge {
  position: absolute;
  top: 22px; right: 18px;
  z-index: 4;
  background: var(--acmh-gold);
  color: var(--acmh-navy-deep);
  padding: 22px 20px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 18px 30px -12px rgba(201,162,39,0.55);
}
.acmh-about__badge strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 30px;
  line-height: 1;
}
.acmh-about__badge span {
  font-family: 'Oswald', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.acmh-about__body p.acmh-lede { margin-bottom: 30px; }

/* ================= MISSION AREAS ================= */
.acmh-mission {
  background: var(--acmh-ivory);
  padding: 110px 0;
}

.acmh-mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 54px;
}

.acmh-mission__card {
  background: #fff;
  padding: 38px 30px;
  border-top: 3px solid var(--acmh-gold);
  border-radius: 4px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.acmh-mission__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -18px rgba(15,37,71,0.22);
}

.acmh-mission__card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(15,37,71,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--acmh-navy);
  font-size: 20px;
  margin-bottom: 22px;
}

.acmh-mission__card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--acmh-navy);
  margin: 0 0 10px;
}

.acmh-mission__card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--acmh-ink-soft);
  margin: 0;
}

/* ================= DIRECTOR'S MESSAGE ================= */
.acmh-director {
  background: var(--acmh-navy);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.acmh-director__grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.acmh-director__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.acmh-director__photo img { width: 100%; height: 100%; object-fit: cover; }
.acmh-director__photo::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--acmh-gold);
  outline: 8px solid transparent;
  margin: 14px;
  border-radius: 4px;
}

.acmh-director__quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 90px;
  line-height: 0.6;
  color: var(--acmh-gold);
  display: block;
  margin-bottom: 10px;
}

.acmh-director blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 26px;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 30px;
  max-width: 640px;
}

.acmh-director__meta { margin-bottom: 30px; }
.acmh-director__meta strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--acmh-gold-soft);
}
.acmh-director__meta span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Oswald', sans-serif;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .acmh-evolve__grid,
  .acmh-about__grid,
  .acmh-director__grid { grid-template-columns: 1fr; }
  .acmh-evolve__panel { position: static; }
  .acmh-mission__grid { grid-template-columns: repeat(2, 1fr); }
  .acmh-domains { grid-template-columns: repeat(2, 1fr); }
  .acmh-about__figure { height: 360px; margin-bottom: 10px; }
  .acmh-director__photo { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .acmh-hero { padding: 130px 0 80px; min-height: 100vh; min-height: 100svh; }
  .acmh-hero h1 { font-size: 42px; }
  .acmh-hero__sub { font-size: 17px; }
  .acmh h2.acmh-title { font-size: 32px; }
  .acmh-mission__grid { grid-template-columns: 1fr; }
  .acmh-domains { grid-template-columns: 1fr; }
  .acmh-hero__scroll { display: none; }
  .acmh-director__quote-mark { font-size: 60px; }
  .acmh-director blockquote { font-size: 21px; }
}
