:root {
  --navy: #102a54;
  --navy-deep: #0d2247;
  --navy-darker: #0a1d3d;
  --gold: #b89759;
  --gold-light: #c9a961;
  --text: #1a2740;
  --text-muted: #4a5878;
  --bg: #ffffff;
  --bg-soft: #f4f3ee;
  --card-bg: #ffffff;
  --card-border: #e7e4dc;
  --hero-tint: #f2efe6;
  --sidebar-bg: #ebebf0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}
.page { max-width: 1536px; margin: 0 auto; background: #fff; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px 14px 48px;
  background: #fff;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-shield {
  width: 58px;
  height: 64px;
  flex-shrink: 0;
}
.brand-text { line-height: 1; }
.brand-text .word {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 0.95;
}
.brand-text .tag {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.32em;
  color: var(--navy);
  margin-top: 4px;
}
nav.primary {
  display: flex;
  gap: 38px;
  align-items: center;
}
nav.primary a {
  color: var(--text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: color .15s ease;
}
nav.primary a:hover { color: var(--gold); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.btn-apply-now {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-apply-now:hover { background: var(--navy-deep); }
.login {
  color: var(--text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
}
.login:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(95deg, #ffffff 0%, #fbf8ef 45%, #f1ece0 100%);
  min-height: 470px;
  overflow: hidden;
}
.hero-copy {
  padding: 60px 56px 60px 56px;
  z-index: 2;
  position: relative;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.hero h1 .gold {
  color: var(--gold);
  display: block;
  margin-top: 6px;
}
.hero p.lede {
  margin-top: 28px;
  max-width: 470px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 16px 36px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { background: #fbf8ef; }

.hero-image-wrap { position: relative; }
.hero-image-wrap img,
.hero-image-wrap image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-wrap::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 130px;
  background: linear-gradient(90deg, rgba(241,236,224,1) 0%, rgba(241,236,224,0) 100%);
  z-index: 2;
  pointer-events: none;
}
.quote-card {
  position: absolute;
  right: 36px;
  bottom: 44px;
  width: 280px;
  background: rgba(16, 42, 84, 0.55);
  backdrop-filter: blur(2px);
  padding: 18px 20px 18px 20px;
  color: #fff;
  z-index: 3;
  border-radius: 2px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.quote-card .icon {
  flex-shrink: 0;
  color: var(--gold-light);
  margin-top: 2px;
}
.quote-card p {
  font-size: 14.5px;
  line-height: 1.4;
  color: #fff;
}

/* ---------- Features bar ---------- */
.features {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 36px 48px 40px;
  gap: 0;
}
.feature {
  text-align: center;
  color: #fff;
  padding: 0 14px;
  position: relative;
}
.feature .ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature .ico img { max-width: 52px; max-height: 52px; }
.feature h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.005em;
}
.feature p {
  font-size: 14px;
  line-height: 1.45;
  color: #d8dde8;
  font-weight: 400;
}

/* ---------- Funding Solutions ---------- */
.solutions {
  padding: 44px 48px 24px;
  background: #fff;
}
.solutions h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 22px;
  letter-spacing: 0.005em;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 1.1fr;
  gap: 14px;
  align-items: stretch;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 26px 16px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.solution-card .ico {
  width: 60px;
  height: 60px;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-card .ico img { max-width: 60px; max-height: 60px; }
.solution-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.solution-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 400;
}

.schools-card {
  background: var(--sidebar-bg);
  border-radius: 4px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
}
.schools-card .top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.schools-card .school-ico {
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}
.schools-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}
.schools-card .desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}
.schools-card ul {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}
.schools-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  padding: 4px 0;
  font-weight: 500;
}
.schools-card li svg {
  color: var(--navy);
  flex-shrink: 0;
}
.btn-partner {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  align-self: stretch;
  margin-top: auto;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-partner:hover { background: var(--navy-deep); }

/* ---------- Stats footer ---------- */
.stats {
  background: var(--bg-soft);
  padding: 28px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.stats-lead {
  display: flex;
  gap: 16px;
  align-items: center;
}
.compass-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}
.stats-lead h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 4px;
}
.stats-lead p {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-muted);
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon {
  width: 56px;
  height: 56px;
  color: var(--navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat .big {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.005em;
}
.stat .label {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat .text-stat h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 3px;
}
.stat .text-stat p {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-darker);
  color: #cfd5e3;
  padding: 56px 48px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(184,151,89,0.22);
}
.footer-brand .brand-text .word { color: #fff; }
.footer-brand .brand-text .tag { color: var(--gold-light); }
.footer-brand p.about {
  color: #b8c0d2;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 320px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,97,0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  text-decoration: none;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.footer-col h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--gold-light);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  color: #cfd5e3;
  text-decoration: none;
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-contact .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #cfd5e3;
}
.footer-contact .row svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact .row strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 1px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 26px;
  font-size: 13px;
  color: #8d97ab;
}
.footer-bottom .legal {
  display: flex;
  gap: 26px;
}
.footer-bottom a {
  color: #8d97ab;
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold-light); }
