/* Sitewide review palette. Layout and page content stay in their existing stylesheets. */
:root {
  --ink: #122d61;
  --muted: #3c5274;
  --green: #2155a8;
  --sage: #bdd2f5;
  --paper: #f3f7ff;
  --line: #ccd9ed;
  --corporate-navy: #173b7d;
  --corporate-blue: #1e58b3;
  --corporate-light: #edf4ff;
}

#navigation > a.nav-item { background: #1e58b3; border-color: #1e58b3; color: #fff; }
#navigation > a.nav-item:hover { background: #174a9c; border-color: #174a9c; color: #fff; }
#navigation > a.nav-item:active,
#navigation > a.nav-item[aria-current],
#navigation > a.nav-item[aria-current]:hover { background: #123d83; border-color: #123d83; color: #fff; }

main > .page-heading {
  background: linear-gradient(120deg, #1c448b 0%, #2459ad 58%, #2b65bd 100%);
  color: #fff;
}
main > .page-heading .eyebrow,
main > .page-heading .lead,
main > .page-heading .about-hero-prose p { color: #f4f8ff; }

.contact-band,
.footer-bottom-band,
.home-page .contact-band,
.home-page .education-visual {
  background: linear-gradient(120deg, #1c448b 0%, #2459ad 58%, #2b65bd 100%);
  color: #fff;
}
.contact-band .eyebrow,
.home-page .contact-band .eyebrow { color: #e2edff; }
.contact-band h2,
.contact-band p:not(.eyebrow) { color: #f4f8ff; }
.contact-band:after { border-color: #dbe9ff40; }
.study-page-content .study-hero { background: #eaf2ff; border-bottom-color: #c5d6ed; }
.study-page-content .study-why,
.study-page-content .study-support { background: #fff; }
.study-page-content .study-section#study-strengths,
.study-page-content .study-partnership { background: #f0f6ff; }
.study-page-content .study-contact {
  background: linear-gradient(120deg, #1c448b 0%, #2459ad 58%, #2b65bd 100%);
  color: #fff;
}
.study-page-content .study-contact li { border-bottom-color: #9db8e1; }
.home-page .education-manners { background: #eaf2ff; border-top: 3px solid #2b65bd; }
.home-page .education-manners-curriculum { border: 1px solid #c5d6ed; }
.home-page .education-manners-curriculum h3,
.home-page .education-manners-curriculum li::before { color: #173b7d; }

.section-tint,
.recruitment-page .recruitment-professional,
.recruitment-page .recruitment-price-main,
.recruitment-page .recruitment-role-note,
.recruitment-page .recruitment-consultation-grid article:last-child,
.seminar-contact,
.seminar-themes,
.consult-output { background: #f0f6ff; }
.recruitment-page .recruitment-consultation-grid article:last-child { border-top-color: #4676bb; }
.recruitment-page .recruitment-price,
.recruitment-page .recruitment-consultation-grid article,
.seminar-flow li { border-color: #c5d5eb; }

footer { background: #eaf2ff; border-top: 3px solid #2b65bd; }
.footer-links {
  background: #f7faff;
  border: 1px solid #c5d6ed;
  border-inline-start: 3px solid #2b65bd;
  color: #173b7d;
  font-size: 14px;
  gap: 13px 25px;
}
.footer-links a { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; line-height: 1.55; }
.footer-links a:is(:hover,:focus-visible) { color: #174fc4; text-decoration: underline; text-underline-offset: 4px; }
.footer-links .footer-external { grid-column: 1 / -1; padding-top: 13px; border-top: 1px solid #c5d6ed; font-weight: 750; }
.footer-links .footer-external span { color: #174fc4; }
.footer-bottom-band { border-top: 1px solid #5d86cc; }
.footer-bottom span,
.footer-bottom a { color: #fff; }

/* The foundation page adopts the same blue family while retaining its layout. */
.foundation-page {
  --foundation-brown: #173b7d;
  --foundation-brown-deep: #102d63;
  --foundation-honey: #d9e8ff;
  --foundation-honey-ink: #2155a8;
  --foundation-warm-white: #fff;
  --foundation-border: #c3d4ec;
}
.foundation-page main { background: #f4f8ff; color: #263b5d; }
.foundation-page .foundation-hero {
  background: linear-gradient(122deg, #dceaff 0%, #edf5ff 55%, #fff 100%);
  border-color: #b9cee9;
}
.foundation-page .foundation-hero-copy { color: #102d63; }
.foundation-page .foundation-hero-copy .eyebrow { color: #2155a8; }
.foundation-page .foundation-hero-copy .lead { color: #314d76; }
.foundation-page .foundation-hero-copy strong { color: #194fc8; }
.foundation-page .foundation-index { color: #102d63; }
.foundation-page .foundation-index a { border-color: #adc5e6; }
.foundation-page .foundation-index a:is(:hover,:focus-visible) { background: #dceaff; }
.foundation-page .foundation-index a span,
.foundation-page .foundation-index a::after,
.foundation-page .foundation-index .foundation-index-app-icon { color: #2155a8; }
.foundation-page .foundation-section { background: #fff; border-color: #c3d4ec; color: #263b5d; }
.foundation-page .foundation-section-heading { background: linear-gradient(110deg,#d8e8ff,#ecf4ff); color: #102d63; }
.foundation-page .foundation-section-heading span { color: #2155a8; border-color: #8eb1df; }
.foundation-page .foundation-section-heading h2 { color: #102d63; }
.foundation-page .foundation-school-group {
  background: #f2f7ff;
  border-color: #c3d4ec;
  border-left-color: #2b65bd;
}
.foundation-page .foundation-school-group > .eyebrow,
.foundation-page .foundation-school-group > h3 { color: #102d63; }
.foundation-page .foundation-school-group > h3 { border-left-color: #2b65bd; }
.foundation-page .foundation-school-card,
.foundation-page .foundation-detail-card,
.foundation-page .foundation-school-classes .foundation-school-card { background: #fff; border-color: #c3d4ec; }
.foundation-page .foundation-school-card h4,
.foundation-page .foundation-detail-card h3,
.foundation-page .foundation-school-methods h4,
.foundation-page .foundation-teachers h4,
.foundation-page .foundation-teacher-topics-title { color: #102d63; }
.foundation-page .foundation-school-methods h4 { border-bottom-color: #9bbbe3; }
.foundation-page .foundation-detail-card h3::after { background: #2b65bd; }
.foundation-page .foundation-school-methods article:nth-child(1) { --method-color: #2155a8; }
.foundation-page .foundation-school-methods article:nth-child(2) { --method-color: #426db1; }
.foundation-page .foundation-school-methods article:nth-child(3) { --method-color: #5a7fb9; }
.foundation-page .foundation-school-card > .eyebrow { color: #2155a8; }
.foundation-page .foundation-school-card p:not(.eyebrow),
.foundation-page .foundation-detail-card p,
.foundation-page .foundation-teachers p,
.foundation-page #living-support .foundation-app-copy p { color: #314d76; }
.foundation-page #recruitment-education .foundation-recruitment-card,
.foundation-page #recruitment-education .foundation-preparation-card { --card-accent:#2155a8; --card-border:#c3d4ec; background:#f2f7ff; border-color:#c3d4ec; }
.foundation-page #recruitment-education .foundation-preparation-topics li { --topic-color:#2155a8; border-color:#c3d4ec; }
.foundation-page .foundation-teachers article { background:#fff; border-color:#c3d4ec; border-top-color:#2b65bd; }
.foundation-page .foundation-teacher-icon { color:#2155a8; }
.foundation-page .foundation-teacher-topics-title,
.foundation-page .foundation-app-menu { border-top-color:#c3d4ec; }
.foundation-page #living-support { background:#fff; border-color:#c3d4ec; border-left-color:#2b65bd; }
.foundation-page #living-support .foundation-app-copy h2 { color:#102d63; border-left-color:#2b65bd; }
.foundation-page .foundation-app-menu h3 { color:#102d63; }
.foundation-page .foundation-app-menu li { background:#f2f7ff; border-color:#c3d4ec; color:#173b7d; }
.foundation-page .foundation-app-menu-icon { color:#2155a8; }
.foundation-page .foundation-section .button,
.foundation-page .foundation-official-button { background:#1e58b3; border-color:#1e58b3; color:#fff; }
.foundation-page .foundation-section .button:hover,
.foundation-page .foundation-official-button:hover { background:#174a9c; border-color:#174a9c; }
.foundation-page .foundation-official-button { box-shadow:0 3px 0 #adc5e6; }
.foundation-page .foundation-official-button span { color:#e2edff; }

/* Departure checklist is scoped to the foundation page's Section 03. */
.foundation-page #entry-procedures .foundation-detail-grid {
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  align-items: start;
}
.foundation-page #entry-procedures .foundation-departure-title {
  margin: 26px 0 8px;
  padding-top: 20px;
  border-top: 1px solid #c3d4ec;
  color: #102d63;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}
.foundation-page #entry-procedures .foundation-departure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: departure-step;
}
.foundation-page #entry-procedures .foundation-departure-list li {
  display: grid;
  grid-template-columns: 2.3em minmax(0, 1fr);
  gap: 4px;
  align-items: start;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid #d6e2f2;
  color: #263b5d;
  font-size: 15px;
  line-height: 1.55;
  counter-increment: departure-step;
}
.foundation-page #entry-procedures .foundation-departure-list li::before {
  content: counter(departure-step) ".";
  color: #2155a8;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
@media(max-width:900px) {
  .foundation-page #entry-procedures .foundation-detail-grid { grid-template-columns: 1fr; }
}
@media(max-width:700px) {
  .foundation-page #entry-procedures .foundation-departure-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

@media(max-width:600px){
  .footer-links { font-size:13px; border-inline-start:1px solid #c5d6ed; border-block-start:3px solid #2b65bd; }
}
