/* ==========================================================================
   Greenhills — Admission Process, Campus Visit, Privacy Policy
   Small page-scoped additions only. Everything that already exists in the
   design system (.content-card, .routine-card, .check-list, .apply-grid) is
   reused rather than re-implemented.
   ========================================================================== */

.page-hero--process { --hero-image: url('/assets/preparatory.jpg'); }
.page-hero--visit   { --hero-image: url('/assets/campus-drone.jpg'); }
.page-hero--legal   { --hero-image: url('/assets/management/about-banner.jpg'); }

.lede { max-width: 780px; margin: 0 auto; text-align: center; }
.lede p { color: var(--muted); font-size: var(--text-lg); line-height: var(--lh-body); margin: 0; }

/* ── Process steps ────────────────────────────────────────────────────── */
.process-steps {
  width: min(880px, 100%);
  margin: 0 auto;
  counter-reset: step;
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.process-steps > li {
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.5rem 1.35rem 4.25rem;
  box-shadow: 0 12px 32px rgba(8, 27, 49, .045);
}
.process-steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-950);
  color: #fff;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
}
.process-steps h3 { margin: 0 0 .4rem; font-size: var(--card-title); line-height: var(--lh-title); }
.process-steps p { margin: 0; color: var(--muted); font-size: var(--text-card); line-height: 1.66; }
.process-steps .step-cta {
  display: inline-block;
  margin-top: .75rem;
  color: var(--blue-700);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Marks content the school still has to confirm. Deliberately visible in the
   page so nobody mistakes a placeholder for a published rule. */
.needs-confirmation {
  width: min(880px, 100%);
  margin: 1.25rem auto 0;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .95rem 1.1rem;
  background: rgba(200, 149, 31, .1);
  border-left: 3px solid #c8951f;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.needs-confirmation svg { flex: none; margin-top: .15rem; color: #8a660f; }
.needs-confirmation strong { color: var(--navy-850); }

/* ── Legal / policy prose ─────────────────────────────────────────────── */
.legal-prose { width: min(760px, 100%); margin: 0 auto; }
.legal-prose h2 {
  margin: 2.25rem 0 .6rem;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  line-height: var(--lh-title);
  color: var(--navy-950);
  scroll-margin-top: 92px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
  margin: 1.5rem 0 .4rem;
  font-family: var(--font-ui);
  font-size: var(--text-card);
  line-height: 1.35;
  color: var(--navy-850);
}
.legal-prose p,
.legal-prose li { color: var(--muted); font-size: var(--text-card); line-height: 1.75; }
.legal-prose ul { padding-left: 0; list-style: none; display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.legal-prose ul li { position: relative; padding-left: 1.5rem; }
.legal-prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62rem;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent);
}
.legal-prose a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-updated {
  margin: 0 0 2rem;
  padding: .7rem 1rem;
  background: var(--mist);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}

/* ── Campus visit ─────────────────────────────────────────────────────── */
.visit-grid {
  width: min(1080px, 100%);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.visit-grid article {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(8, 27, 49, .045);
}
.visit-grid h3 { margin: 0 0 .4rem; font-size: var(--text-card); font-family: var(--font-ui); line-height: 1.35; }
.visit-grid p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }

@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .lede { text-align: left; }
  .lede p { font-size: var(--text-base); }
  .process-steps > li { padding: 1.2rem 1.15rem 1.2rem 3.6rem; }
  .process-steps > li::before { left: 1rem; top: 1.2rem; width: 1.9rem; height: 1.9rem; }
}
