/* Single Parent Family Outreach — site styles
   Navy and coral, left-aligned hero with a rule, programmes as a numbered
   list rather than cards. Its own layout language. */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&display=swap');

:root {
  --navy-900: #12233d;
  --navy-700: #1d3a63;
  --coral: #e0574f;
  --coral-dark: #c23f38;
  --ink: #1b2129;
  --muted: #5a6472;
  --line: #e3e7ed;
  --mist: #f5f7fa;
  --white: #fff;
  --max: 1000px;
  --body: "Libre Franklin", system-ui, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.72; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--coral-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }
.bg-mist { background: var(--mist); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.site-header { background: var(--navy-900); }
.nav { max-width: var(--max); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.brand span { display: block; font-weight: 400; font-size: .78rem; color: #9fb0c6; }
.nav__links { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav__links a { color: #d5dfeb; font-weight: 600; font-size: .93rem; text-decoration: none; }
.nav__links a:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 1px solid #33507d; border-radius: 6px; color: #d5dfeb; font-size: 1.3rem; padding: 2px 10px; cursor: pointer; }

/* Left-aligned hero with a coral rule above the headline */
.hero { padding: 84px 0 90px; }
.hero__rule { width: 64px; height: 5px; background: var(--coral); margin: 0 0 28px; }
.hero h1 { max-width: 16ch; }
.hero .tagline { font-size: 1.3rem; font-weight: 600; color: var(--coral-dark); margin: 0 0 .8em; }
.btn { display: inline-block; margin-top: 22px; padding: 13px 26px; background: var(--navy-900); color: #fff; font-weight: 700; text-decoration: none; font-size: .95rem; border-radius: 3px; }
.btn:hover { background: var(--navy-700); }

/* Programmes as a numbered list, not cards */
.list { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: item; }
.list li { counter-increment: item; border-top: 1px solid var(--line); padding: 24px 0 24px 62px; position: relative; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-weight: 800; color: var(--coral); font-size: 1.05rem; }
.list h3 { margin-bottom: .25em; }
.list p { margin: 0; color: var(--muted); }

.people { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 26px 0 0; list-style: none; }
.people li { font-weight: 600; color: var(--navy-900); }
.people li span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.site-footer { background: var(--navy-900); color: #9fb0c6; padding: 44px 0 30px; font-size: .92rem; }
.site-footer a { color: #cfdcea; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer__name { font-weight: 800; font-size: 1.05rem; color: #fff; margin: 0; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-size: .89rem; }
.site-footer hr { border: 0; border-top: 1px solid #24406b; margin: 26px 0; }
.footer__legal { text-align: center; font-size: .85rem; color: #8496ae; }
.footer__legal p { margin: 0 0 .5em; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .nav__toggle { display: block; }
  .nav__links { display: none; width: 100%; flex-direction: column; gap: 12px; padding: 12px 0 4px; }
  .nav__links.is-open { display: flex; }
  .nav { flex-wrap: wrap; }
}
