:root {
  --navy: #011c30;
  --navy-2: #00293b;
  --brand-blue: #03316f;
  --green: #93cd45;
  --green-dark: #7fb832;
  --green-deep: #018941;
  --sky: #00adf2;
  --orange: #f99519;
  --pink: #ef0a67;
  --panel: #f0f4f1;
  --taupe: #b3ac9e;
  --ink: #000;
  --muted: #545454;
  --radius: 22px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; font-size: .8rem; font-weight: 500; letter-spacing: .03em; margin: 0 0 6px; }
.rounded { border-radius: var(--radius); }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 500; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--green); color: var(--navy); font-weight: 600; }
.btn-accent:hover { background: var(--green-dark); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #f1f1f1; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 54px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 44px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav-links a:hover { border-bottom-color: #ccc; }
.nav-links a[aria-current="page"] { border-bottom-color: var(--green); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-only { display: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; }

/* Navy page band (inner pages) */
.band { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 22px 0 40px; }
.band h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; }
.band .lead { font-size: 1.2rem; font-weight: 500; max-width: 900px; margin: 0 0 30px; }
.band-image { width: 100%; aspect-ratio: 16 / 9; max-height: 460px; object-fit: cover; border-radius: var(--radius); }

section { padding: 40px 0; }

/* Home hero */
.hero { padding: 8px 0 60px; }
.hero-inner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; display: grid; place-items: center; text-align: center; color: #fff; padding: 40px 24px; background: linear-gradient(rgba(1,28,48,.55), rgba(1,28,48,.75)), url('../assets/images/home-hero.jpg') center / cover; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin-bottom: 12px; }
.hero h1 { text-transform: uppercase; }
.hero h1 span { color: var(--green); }
.hero-strap { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem !important; margin-bottom: 14px !important; }
.hero-strap i { font-style: normal; color: var(--green); margin: 0 6px; }
.hero-badge { display: inline-block; background: var(--green); color: var(--navy); font-weight: 800; font-style: italic; text-transform: uppercase; padding: 6px 18px; transform: rotate(-3deg); border-radius: 4px; margin: 0 auto 22px !important; letter-spacing: .02em; }
.hero p { max-width: 640px; margin: 0 auto 36px; font-size: 1rem; }
.hero .btns { display: flex; gap: 24px 110px; justify-content: center; flex-wrap: wrap; }

/* Grey panels */
.panel { background: var(--panel); border-radius: var(--radius); padding: 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }

/* Home programme cards */
.section-title { text-align: center; max-width: 920px; margin: 0 auto 30px; }
.section-title h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.section-title p { font-weight: 600; font-size: .95rem; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.card h3 { font-size: 1.05rem; font-weight: 600; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 16px; }
.card p { font-size: .92rem; line-height: 1.9; margin: 0; }
a.card { text-decoration: none; display: block; transition: transform .25s, box-shadow .25s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1,28,48,.16); }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .92rem; color: var(--green-deep); }
.center { text-align: center; margin-top: 30px; }

/* Who we support */
.support .lead { font-size: 1.1rem; }
.support .muted { color: #6b7280; }

/* Gallery slider */
.slider { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; max-height: 720px; max-width: 720px; margin: 0 auto; background: #eee; }
.slides { display: flex; height: 100%; transition: transform .5s ease; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.35); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.slider-btn:hover { background: rgba(0,0,0,.6); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button.active { background: #fff; }

/* Navy call-to-action box */
.cta-box { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 50px 30px; text-align: center; }
.cta-box h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 10px; }
.cta-box h2 span { color: var(--green); }
.cta-box h2.small { font-size: clamp(1.4rem, 2.6vw, 1.8rem); text-transform: uppercase; }
.cta-box p { max-width: 900px; margin: 0 auto 30px; letter-spacing: .02em; font-size: 1.05rem; }
.cta-box .btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta-box .btns .btn { width: 100%; }

/* Navy feature panels (pillars, prevention) */
.navy-panel { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 44px 36px; }
.script { font-family: 'Caveat', cursive; font-size: clamp(1.9rem, 3.8vw, 2.7rem); color: var(--green); text-align: center; margin: 0 0 30px; line-height: 1.1; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { text-align: center; padding: 0 18px; }
.pillar + .pillar { border-left: 2px solid rgba(0,173,242,.45); }
.pillar h3 { text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; margin: 14px 0 8px; }
.pillar p { margin: 0; color: #d7e2ea; line-height: 1.5; }
.icon-circle { width: 84px; height: 84px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; }
.icon-circle svg { width: 40px; height: 40px; }
.icon-green { background: var(--green-deep); }
.icon-sky { background: var(--sky); }
.icon-orange { background: var(--orange); }
.icon-pink { background: var(--pink); }
.icon-purple { background: #8a4fe0; }
.icon-red { background: #e2231a; }
.icon-yellow { background: #f6c400; }
.icon-blue { background: #1f6fe0; }
.icon-lime { background: var(--green); }

.brush { display: inline-block; background: var(--green); color: var(--navy); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 2rem); padding: 8px 22px; transform: rotate(-2deg); border-radius: 4px; margin: 0 0 30px; }
.brush-light { background: #fff; color: var(--navy); box-shadow: 0 0 0 3px var(--green); }
.issues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.issues li { display: flex; align-items: center; gap: 14px; font-size: 1rem; line-height: 1.35; }
.issue-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.issue-icon svg { width: 24px; height: 24px; }
.prevention .center { margin-top: 34px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { margin: 0; border-radius: 16px; overflow: hidden; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy-2); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile figcaption { color: #fff; text-align: center; font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; padding: 12px 10px; }

/* About: purpose */
.purpose h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.purpose .text { font-size: 1.15rem; }
.purpose ul { margin: 16px 0 0; padding-left: 26px; }
.purpose .split img { aspect-ratio: auto; }

.pillars { background: var(--green); color: var(--navy); text-align: center; font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: .03em; padding: 22px 20px; border-radius: 12px; margin: 20px 0; }

/* About: leadership */
.leaders h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.leaders .intro { color: var(--muted); font-size: .95rem; max-width: 720px; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 900px; gap: 24px; margin-top: 24px; }
.person { background: var(--panel); border-radius: var(--radius); padding: 26px; }
.person h3 { font-size: 1.1rem; margin: 0; }
.person .role { font-size: .85rem; color: var(--green-deep); font-weight: 600; margin: 2px 0 14px; }
.person p { font-size: .95rem; margin: 0 0 12px; }

/* Programmes page: filter buttons + blocks */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filter { font: inherit; font-weight: 500; font-size: .95rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid #d5dbd7; background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.filter:hover { border-color: var(--navy); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.programme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.programme-card { background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.programme-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1,28,48,.16); }
.programme-card[hidden] { display: none; }
.programme-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.programme-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.programme-body h2 { font-size: 1.7rem; margin: 12px 0 4px; }
.programme-body h3 { font-size: .95rem; font-weight: 600; color: var(--brand-blue); margin: 0 0 12px; }
.programme-body p { font-size: .95rem; margin: 0 0 14px; }
.includes-title { font-weight: 700; margin-bottom: 8px !important; }
.chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 500; }
.programme-body .note { font-size: .8rem; color: var(--muted); }
.programme-body .tagline { font-weight: 700; margin-top: auto; padding-top: 6px; }
.programme-body .btn { align-self: flex-start; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; color: #fff; }
.tag-prevention { background: var(--navy); }
.tag-employment { background: var(--orange); color: var(--navy); }
.tag-skills { background: var(--sky); color: var(--navy); }
.tag-youth { background: var(--green-deep); }
.tag-wellbeing { background: var(--pink); }
.programme-card.featured { grid-column: 1 / -1; flex-direction: row; }
.programme-card.featured > img { width: 42%; aspect-ratio: auto; }

/* Contact page */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; margin-top: 10px; }
.help { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.4; border-radius: 14px; padding: 8px; transition: background .2s; }
.help:hover { background: rgba(255,255,255,.08); }
.help img { width: 44px; height: 44px; flex: none; }
.help b { display: block; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.contact-card { background: var(--panel); border-radius: var(--radius); padding: 34px 24px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1,28,48,.16); }
.contact-icon { font-size: 2rem; width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.contact-label { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.contact-value { font-size: 1.1rem; font-weight: 700; color: var(--brand-blue); white-space: nowrap; }
@media (max-width: 480px) { .contact-value { white-space: normal; overflow-wrap: anywhere; font-size: 1rem; } }

/* Simple pages */
.simple { padding: 90px 0; text-align: center; }
.simple h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 20px 0 14px; margin-top: 80px; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: 1fr .8fr 1.3fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.site-footer a[href^="mailto"], .site-footer a[href^="tel"] { white-space: nowrap; }
.site-footer h4 { margin: 0 0 4px; font-size: .95rem; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .tagline { font-style: italic; margin: 0; }
.footer-values { color: var(--green); font-weight: 600; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; margin: 8px 0 0; }
.footer-bottom { max-width: 860px; margin: 24px auto 0; border-top: 2px solid var(--green); padding-top: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { text-decoration: none; margin-left: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { gap: 26px; }
  .cards, .people, .help-grid, .pillar-grid, .issues, .tiles { grid-template-columns: 1fr 1fr; }
  .pillar-grid { gap: 30px 0; }
  .pillar:nth-child(3) { border-left: 0; }
  .programme-card.featured { flex-direction: column; }
  .programme-card.featured > img { width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-header nav { order: 3; }
  .site-header .header-actions { margin-left: auto; }
  .site-header .header-cta { display: none; }
  .nav-links .mobile-only { display: list-item; }
  .nav-links { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 14px; padding: 18px 20px 24px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .split, .cards, .people, .help-grid, .footer-cols, .cta-box .btns, .programme-grid, .contact-cards, .issues { grid-template-columns: 1fr; }
  .navy-panel { padding: 34px 22px; }
  .panel { padding: 26px 22px; }
  .hero-inner { min-height: 440px; }
  .hero .btns { gap: 14px; }
  .logo img { height: 44px; }
  .site-header .btn { padding: 9px 16px; font-size: .85rem; }
}

/* Contact pop-up */
.contact-dialog { border: 0; border-radius: var(--radius); padding: 34px 30px 28px; width: min(480px, calc(100% - 32px)); text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.contact-dialog::backdrop { background: rgba(1, 28, 48, .6); }
.contact-dialog h2 { font-size: 1.6rem; margin: 0 0 4px; }
.dialog-subject { color: var(--green-deep); font-weight: 600; margin: 0 0 18px; min-height: 1em; }
.dialog-email { background: var(--panel); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dialog-address { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.dialog-label { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 20px 0 10px; }
.dialog-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dialog-apps .btn { padding: 10px 8px; font-size: .9rem; }
.dialog-phone { margin: 20px 0 0; font-size: .95rem; }
.dialog-phone a { font-weight: 700; color: var(--brand-blue); }
.dialog-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.dialog-close:hover { color: #000; }
@media (max-width: 420px) { .dialog-apps { grid-template-columns: 1fr; } }
