/* ==========================================================================
   HOMEPAGE — assets/css/pages/home.css
   Loaded only on the front page.

   Everything here appears in the homepage design and nowhere in the
   membership design. Anything that turns up in a second design should be
   promoted to components.css.
   ========================================================================== */

/* --- Split section heading ---------------------------------------------- */
/* Heading on the left, "View all →" on the right. Homepage only so far. */

.sec-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-4);
  margin-bottom: 24px;
}
.sec-head--split .sec-head__lede { margin-top: 8px; }

.sec-head__link {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-link);
  white-space: nowrap;
}
.sec-head__link:hover { color: var(--navy); }

@media (max-width: 600px) {
  .sec-head--split { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* --- Quick links -------------------------------------------------------- */

.quick-links-section { padding-top: 44px; padding-bottom: 8px; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--rule);
  padding: 24px 22px;
  background: var(--navy);
  color: var(--on-dark);
  transition: background .18s var(--ease);
}
.quick-link--mid { background: var(--navy-mid); }
.quick-link:hover,
.quick-link:focus-visible { background: var(--navy-dark); color: var(--on-dark); }

.quick-link__kicker {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--on-dark-accent);
  margin-bottom: 10px;
}

.quick-link__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.quick-link__arrow { color: var(--gold); }

@media (max-width: 900px) { .quick-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .quick-links { grid-template-columns: 1fr; } }

/* --- What we do --------------------------------------------------------- */

.whatwedo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.whatwedo__media {
  height: 150px;
  border: 1px solid var(--rule);
  margin-bottom: 16px;
}

.whatwedo__title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.whatwedo__text  { font-size: 13px; line-height: 1.6; color: var(--ink-muted); margin: 0; }

@media (max-width: 900px) { .whatwedo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .whatwedo { grid-template-columns: 1fr; } }

/* --- Success stories ---------------------------------------------------- */

.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }

/* --- Student quote band ------------------------------------------------- */

.quote-band { text-align: center; padding-top: 60px; padding-bottom: 60px; }
.quote-band .eyebrow { margin-bottom: 22px; }

.quote-band__lead {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  font-style: italic;
  color: var(--on-dark);
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.quote-band__support {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.quote-band__support p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-dark-mut);
  max-width: 300px;
  margin: 0;
  border-top: 1px solid var(--rule-navy);
  padding-top: 18px;
}

/* Latest news uses the shared .news-grid from components.css at its
   two-column default — no override needed here. */

/* --- Partners ----------------------------------------------------------- */

.partners-section { text-align: center; }
.partners-section .eyebrow { margin-bottom: 26px; }

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 52px;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.partners__logo { width: 150px; height: 64px; }
.partners__logo img { object-fit: contain; }

@media (max-width: 900px) { .partners { gap: 24px 32px; } }

/* --- Pre-footer CTA ----------------------------------------------------- */

.cta-band {
  background: var(--navy);
  color: var(--on-dark);
  border-top: 1px solid var(--rule-navy);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.cta-band__title { font-size: 28px; color: var(--on-dark); margin: 0 0 8px; }
.cta-band__text  { font-size: 14.5px; color: var(--on-dark-mut); margin: 0; }

@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 18px; }
  .cta-band .btn--gold { justify-self: start; }
}
