/* Bharat Abhyudaya Foundation — site styles (2026 redesign) */
:root {
  --indigo: #2F2A86;
  --indigo-soft: #F3F2F8;
  --indigo-line: #E6E4F0;
  --maroon: #7A2E1F;
  --turmeric: #F2A93B;
  --ink: #1D1B2E;
  --ink-2: #3A3850;
  --ink-3: #4B4964;
  --white: #ffffff;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Mukta', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
a:hover { color: var(--maroon); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--indigo-soft); }
.section--indigo { background: var(--indigo); color: var(--white); }
.section--indigo h2, .section--indigo h3 { color: var(--white); }
.section--maroon { background: var(--maroon); color: var(--white); }
.section--maroon h2 { color: var(--white); }
.h2 { font-weight: 700; font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-3); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.prose { max-width: 46em; display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s; }
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: #221E66; color: var(--white); }
.btn--accent { background: var(--turmeric); color: var(--ink); }
.btn--accent:hover { background: #E0952A; color: var(--ink); }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--ghost:hover { background: var(--indigo); color: var(--white); }
.btn--light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--maroon); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Utility bar + header */
.topbar { background: var(--indigo); color: var(--white); font-size: 15px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--indigo-line); position: sticky; top: 0; z-index: 50; }
.header__row { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.brand__name span { font-size: 14px; font-weight: 600; color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 2px solid var(--indigo-line); border-radius: 12px; width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }
.main-nav { border-top: 1px solid var(--indigo-line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; }
.main-nav a { display: block; padding: 12px 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--indigo); }
.main-nav a[aria-current="page"] { color: var(--indigo); border-bottom-color: var(--turmeric); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 0 16px; }
  .main-nav a { border-bottom: 0; border-left: 3px solid transparent; padding: 12px 14px; }
  .main-nav a[aria-current="page"] { border-left-color: var(--turmeric); }
  .main-nav .nav-cta { display: block; margin-top: 8px; }
  .section { padding: 72px 0; }
}
@media (min-width: 901px) { .main-nav .nav-cta { display: none; } }

/* Home hero */
.hero { background: var(--indigo-soft); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero__text { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: clamp(52px, 7vw, 96px); line-height: .95; letter-spacing: -0.02em; margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero h1 .c1 { color: var(--indigo); }
.hero h1 .c2 { color: var(--maroon); }
.hero h1 .c3 { color: var(--ink); }
.hero__text p { font-size: 20px; color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.hero__art { flex: 1 1 420px; min-width: 0; position: relative; display: flex; justify-content: center; }
.arch { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; border-radius: 240px 240px 28px 28px; overflow: hidden; border: 10px solid var(--white); box-shadow: 0 30px 60px -30px rgba(47,42,134,.45); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset { position: absolute; left: 0; bottom: -28px; width: 190px; height: 190px; border-radius: 50%; overflow: hidden; border: 8px solid var(--white); box-shadow: 0 20px 40px -20px rgba(29,27,46,.5); }
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; right: 4px; top: 36px; background: var(--turmeric); color: var(--ink); border-radius: 18px; padding: 14px 18px; font-weight: 600; font-size: 15px; line-height: 1.3; max-width: 170px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .35s; } .d4 { animation-delay: .55s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 600px) { .hero__inset { width: 130px; height: 130px; } .hero__badge { top: 16px; } }

/* Facts strip */
.facts { border-bottom: 1px solid var(--indigo-line); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--indigo); line-height: 1; white-space: nowrap; margin-bottom: 6px; }
.fact span { color: var(--ink-3); }

/* Inner page hero */
.page-hero { background: var(--indigo-soft); }
.page-hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.page-hero__text { flex: 1 1 460px; min-width: 0; }
.crumbs { font-size: 15px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.page-hero h1 { font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.015em; margin-bottom: 16px; }
.page-hero p { font-size: 20px; color: var(--ink-2); max-width: 34em; }
.page-hero__art { flex: 0 1 380px; min-width: 0; }
.page-hero__art .arch { max-width: 380px; aspect-ratio: 5 / 4; border-radius: 190px 190px 24px 24px; }

/* Two-column split */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split__aside { flex: 1 1 320px; min-width: 0; }
.split__main { flex: 2 1 520px; min-width: 0; }
.split--center { align-items: center; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.section--soft .card { background: var(--white); }
.section:not(.section--soft) .card--outlined { border: 1px solid var(--indigo-line); }
.card h3 { font-size: 22px; line-height: 1.25; }
.card p { font-size: 17px; color: var(--ink-3); }
.icon { width: 44px; height: 44px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--indigo { stroke: var(--indigo); }
.icon--maroon { stroke: var(--maroon); }
.card__more { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* Programme tabs (home) */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 36px; }
.tab { font-family: var(--body); font-size: 16px; font-weight: 600; padding: 10px 22px; min-height: 48px; border-radius: 999px; border: 2px solid #CFCDE0; background: var(--white); color: var(--indigo); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.tabpanel[hidden] { display: none; }
.programme { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.programme__img { flex: 1 1 420px; min-width: 0; border-radius: 28px; overflow: hidden; min-height: 360px; background: var(--indigo-soft); }
.programme__img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 70%; }
.programme__body { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.programme__kicker { font-weight: 600; color: var(--maroon); }
.programme__body h3 { font-size: 34px; }
.programme__tagline { font-size: 20px; color: var(--indigo); font-weight: 500; }
.programme__body h4 { font-size: 19px; margin-top: 6px; }
.programme__body ul { margin: 0; padding-left: 22px; color: var(--ink-2); font-size: 17px; display: flex; flex-direction: column; gap: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--indigo-soft); color: var(--indigo); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 500; }
.programme--flip { flex-direction: row-reverse; }
.subnav { background: var(--white); border-bottom: 1px solid var(--indigo-line); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.subnav a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 2px solid #CFCDE0; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.subnav a:hover { border-color: var(--indigo); }

.programme-block + .programme-block { margin-top: 96px; }
.programme-block { scroll-margin-top: 160px; }

/* Journey (integrated approach) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.journey li { position: relative; border-top: 3px dashed #8E89D6; padding: 28px 16px 0 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.journey li::before { content: ""; position: absolute; top: -13px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--turmeric); border: 4px solid var(--indigo); }
.journey li:last-child { border-top-style: solid; border-top-color: var(--turmeric); color: var(--turmeric); font-weight: 800; }
.journey li:last-child::before { width: 30px; height: 30px; top: -17px; background: var(--white); border: 6px solid var(--turmeric); }
@media (max-width: 600px) {
  .journey { grid-template-columns: 1fr; gap: 0; border-left: 3px dashed #8E89D6; margin-left: 10px; }
  .journey li { border-top: 0; padding: 0 0 28px 28px; }
  .journey li::before { top: 2px; left: -13px; }
  .journey li:last-child::before { top: -2px; left: -17px; }
}
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); color: var(--indigo); border-radius: 999px; padding: 8px 18px; font-weight: 600; }
.steps li::before { content: counter(step) "  "; }
.steps li:last-child { background: var(--turmeric); color: var(--ink); }
.panel-dark { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; background: rgba(255,255,255,.07); border-radius: 24px; padding: 32px; }
.on-indigo { color: #DCDAF2; }

/* Steps timeline (impact page) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; counter-reset: t; }
.timeline li { counter-increment: t; background: var(--white); border-radius: 20px; padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.timeline li::before { content: counter(t); font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--turmeric); line-height: 1; }
.timeline b { font-family: var(--display); font-size: 21px; }

/* Callouts */
.callout { background: var(--indigo); color: var(--white); border-radius: 28px; padding: 44px; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; }
.callout--turmeric { background: var(--turmeric); color: var(--ink); }
.callout small { display: block; font-family: var(--body); font-size: 16px; font-weight: 600; margin-bottom: 10px; opacity: .85; }

/* Quote */
.quote { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.quote img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 8px solid var(--white); flex: 0 0 auto; }
.quote figure { margin: 0; flex: 1 1 480px; min-width: 0; }
.quote blockquote { margin: 0 0 20px; font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }

/* Chairman page */
.letter { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.letter__photo { flex: 0 1 340px; min-width: 0; }
.letter__photo img { border-radius: 170px 170px 24px 24px; border: 10px solid var(--white); box-shadow: 0 30px 60px -30px rgba(47,42,134,.45); }
.letter__photo p { margin-top: 18px; font-weight: 600; }
.letter__photo p span { display: block; font-weight: 400; color: var(--ink-3); }
.letter__body { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; color: var(--ink-2); font-size: 19px; }
.letter__body .first { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; }

/* States */
.states { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.state { border-radius: 22px; padding: 30px 26px; color: var(--white); font-family: var(--display); font-weight: 700; font-size: 28px; min-height: 140px; display: flex; align-items: flex-end; }
.state--1 { background: var(--indigo); } .state--2 { background: var(--maroon); } .state--3 { background: var(--turmeric); color: var(--ink); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 22px; }
.gallery img:first-child { grid-column: 1 / span 2; height: 270px; }

/* Team */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.person { background: var(--white); border: 1px solid var(--indigo-line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.person__head { display: flex; gap: 18px; align-items: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--indigo-soft); }
.avatar--initials { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--indigo); }
.person h3 { font-size: 22px; }
.person h3 a { color: var(--ink); text-decoration: none; }
.person h3 a:hover { color: var(--indigo); text-decoration: underline; }
.person__role { color: var(--maroon); font-weight: 600; font-size: 16px; }
.person p { font-size: 16px; color: var(--ink-3); }
.advisors { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.advisor { background: var(--white); border-radius: 22px; padding: 26px; display: flex; gap: 16px; align-items: center; }
.advisor .avatar { width: 72px; height: 72px; font-size: 24px; }
.advisor h3 { font-size: 20px; }
.advisor p { font-size: 15px; color: var(--ink-3); line-height: 1.45; }

/* Partners */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.logo-tile { background: var(--white); border: 1px solid var(--indigo-line); border-radius: 20px; height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; }
.logo-tile img { max-height: 70px; max-width: 140px; width: auto; object-fit: contain; }
.logo-tile span { font-size: 14px; color: var(--ink-3); text-align: center; }

/* Partner page */
.ask { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
.ask span { display: block; }
.cta-card { background: var(--white); color: var(--ink); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cta-card h2 { font-size: 26px; }
.cta-card .btn { width: 100%; border-radius: 14px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { background: var(--white); border-radius: 22px; padding: 26px; display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--indigo-line); }
.contact-card:hover { border-color: var(--indigo); color: var(--ink); }
.contact-card .icon { flex: 0 0 auto; }
.contact-card b { display: block; font-family: var(--display); font-size: 19px; }

/* Footer */
.site-footer { background: var(--ink); color: #CFCDE0; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 32px; }
.site-footer a { color: #CFCDE0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__logo { background: var(--white); border-radius: 14px; padding: 10px; display: inline-block; }
.footer__logo img { height: 48px; width: auto; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer__h { color: var(--white); font-weight: 600; margin-bottom: 10px; }
.footer__bottom { border-top: 1px solid #34314A; }
.footer__bottom .wrap { display: block; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--turmeric); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
@media (min-width: 901px) {
  .programme-block .programme__img { align-self: flex-start; position: sticky; top: 150px; height: 520px; }
  .programme-block .programme__img img { height: 520px; min-height: 0; }
}

/* Field media (impact page) */
.media-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; align-items: stretch; }
.media-grid video, .media-grid img { width: 100%; height: 420px; object-fit: cover; border-radius: 22px; background: var(--ink); }
.media-grid video { object-fit: contain; }
@media (max-width: 900px) {
  .media-grid { grid-template-columns: 1fr 1fr; }
  .media-grid video { grid-column: 1 / span 2; height: auto; aspect-ratio: 16 / 9; }
  .media-grid img { height: 260px; }
}

/* ===== Tweaks round 3 ===== */
.center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; text-align: center; }
.topbar__row { justify-content: flex-end; }

/* About aside (home) */
.about__aside { display: flex; flex-direction: column; gap: 22px; }
.about__photo { width: 100%; height: 280px; object-fit: cover; border-radius: 160px 160px 22px 22px; border: 8px solid var(--indigo-soft); }
.about__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.about__chips span { background: var(--indigo-soft); color: var(--indigo); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }

/* Centred card rows: 3 + 2 (or 4) */
.cards-centered { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cards-centered > .card { flex: 0 1 calc((100% - 44px) / 3); min-width: 260px; text-align: center; align-items: center; transition: transform .25s ease, box-shadow .25s ease; }
.cards-centered--four > .card { flex-basis: calc((100% - 66px) / 4); min-width: 230px; }
.cards-centered > .card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(47,42,134,.45); }
@media (max-width: 900px) { .cards-centered > .card, .cards-centered--four > .card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .cards-centered > .card, .cards-centered--four > .card { flex-basis: 100%; min-width: 0; } }

/* Programmes page compact layout */
.programme-block .programme__img { position: static; height: auto; align-self: stretch; }
.programme-block .programme__img img { height: 100%; min-height: 380px; }
.programme--compact .programme__body { gap: 14px; }
.whatwedo { margin-top: 28px; background: var(--indigo-soft); border-radius: 24px; padding: 28px 30px; }
.whatwedo h3 { font-size: 20px; margin-bottom: 14px; }
.whatwedo ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.whatwedo li { position: relative; padding-left: 24px; font-size: 16.5px; color: var(--ink-2); line-height: 1.45; }
.whatwedo li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--turmeric); }
@media (max-width: 760px) { .whatwedo ul { grid-template-columns: 1fr; } }
.programme-block + .programme-block { margin-top: 80px; }

/* Road graphic */
.road-wrap { margin: 24px auto 0; max-width: 1100px; }
.road { width: 100%; height: auto; display: block; overflow: visible; }
.road--tall { display: none; max-width: 360px; margin: 0 auto; }
.road__label { font-family: var(--display); font-weight: 700; font-size: 24px; fill: var(--ink); }
.road__num { font-family: var(--display); font-weight: 800; font-size: 13px; fill: var(--indigo); }
.road__num--v { fill: #fff; font-size: 17px; }
.road__line { animation: roadflow 1.6s linear infinite; }
@keyframes roadflow { to { stroke-dashoffset: -34; } }
.road__stop { transform-box: fill-box; }
.road__stop path { transition: transform .25s ease; transform-origin: center bottom; transform-box: fill-box; }
.road__stop:hover path { transform: translateY(-6px) scale(1.08); }
@media (max-width: 700px) { .road--wide { display: none; } .road--tall { display: block; } }
@media (prefers-reduced-motion: reduce) { .road__line { animation: none; } }

/* Team: centred, bio on hover/focus */
.people { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; }
.person { flex: 0 1 340px; text-align: center; align-items: center; gap: 8px; padding: 30px 26px 22px; transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; cursor: default; outline: none; }
.person .avatar { width: 128px; height: 128px; margin-bottom: 8px; border: 6px solid var(--indigo-soft); }
.person .avatar--initials { font-size: 40px; }
.person h3 { font-size: 22px; }
.person__bio { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease, opacity .35s ease; opacity: 0; width: 100%; }
.person__bio > div { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.person__bio p { font-size: 15.5px; color: var(--ink-3); text-align: left; padding-top: 10px; }
.person__hint { font-size: 13px; color: var(--indigo); font-weight: 600; margin-top: 6px; transition: opacity .2s; }
.person:hover, .person:focus-within, .person:focus-visible { border-color: var(--indigo); box-shadow: 0 22px 44px -28px rgba(47,42,134,.55); transform: translateY(-3px); }
.person:hover .person__bio, .person:focus-within .person__bio, .person:focus-visible .person__bio { grid-template-rows: 1fr; opacity: 1; }
.person:hover .person__hint, .person:focus-within .person__hint, .person:focus-visible .person__hint { opacity: 0; height: 0; margin: 0; }
@media (hover: none) { .person__hint::after { content: ""; } }
@media (prefers-reduced-motion: reduce) { .person__bio, .person { transition: none; } }

/* Partners: centred grid with pop-out hover */
.logos--centered { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logos--centered .logo-tile { flex: 0 1 220px; height: 160px; transition: transform .28s cubic-bezier(.2,.8,.2,1.2), box-shadow .28s ease, border-color .28s ease; position: relative; }
.logos--centered .logo-tile:hover, .logos--centered .logo-tile:focus-within { transform: scale(1.12); z-index: 2; border-color: var(--indigo); box-shadow: 0 24px 44px -24px rgba(47,42,134,.55); }
.logo-tile--text b { width: 64px; height: 64px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.logo-tile--text span { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .logos--centered .logo-tile { transition: none; } }

/* Compact footer */
.site-footer .footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-top: 36px; padding-bottom: 22px; }
.footer__brand { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.site-footer .footer__nav { display: block; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid #34314A; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font-size: 15px; }
.footer__bottom .wrap { text-align: center; padding-top: 14px; padding-bottom: 18px; }
.whatwedo ul { grid-template-columns: 1fr; gap: 8px; }
.logo-tile span { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; text-align: center; }
.logos--centered .logo-tile img { max-height: 76px; max-width: 160px; }

/* ===== Round 4: hover interactions ===== */
/* Journey: one row on desktop, vertical below 900px */
.journey li span { display: inline-block; transition: transform .25s ease, color .25s ease; transform-origin: left bottom; }
.journey li::before { transition: all .3s ease; }
.journey li { outline: none; }
@media (min-width: 901px) {
  .journey { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .journey li { font-size: 21px; }
  .journey li:hover span, .journey li:focus-visible span { transform: translateY(-4px) scale(1.08); color: var(--turmeric); }
  /* the big yellow marker moves to whichever stop is hovered */
  .journey:hover li:last-child:not(:hover)::before, .journey:focus-within li:last-child:not(:focus)::before { width: 22px; height: 22px; top: -13px; background: var(--turmeric); border: 4px solid var(--indigo); }
  .journey:hover li:last-child:not(:hover) span { color: var(--white); }
  .journey li:hover::before, .journey li:focus-visible::before { width: 30px; height: 30px; top: -17px; background: var(--white); border: 6px solid var(--turmeric); box-sizing: border-box; }
  .journey li:hover, .journey li:focus-visible { border-top-color: var(--turmeric); border-top-style: solid; }
}
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; border-left: 3px dashed #8E89D6; margin-left: 10px; }
  .journey li { border-top: 0 !important; padding: 0 0 28px 28px; }
  .journey li::before { top: 2px; left: -13px; }
  .journey li:last-child::before { top: -2px; left: -17px; }
}

/* Home "How we create impact" steps */
.steps li { transition: background-color .25s ease, color .25s ease, transform .25s ease; cursor: default; }
.steps li:hover { background: var(--turmeric); color: var(--ink); transform: translateY(-3px); }
.steps li:last-child:hover { background: var(--white); color: var(--indigo); }

/* Callouts pop out */
.callout { transition: transform .3s ease, box-shadow .3s ease; }
.callout:hover { transform: translateY(-4px) scale(1.015); box-shadow: 0 28px 50px -28px rgba(29,27,46,.6); }

/* Approach pills change colour */
.pill { transition: background-color .2s ease, color .2s ease, transform .2s ease; cursor: default; }
.pill:hover { background: var(--indigo); color: var(--white); transform: translateY(-2px); }

/* State cards with map outline */
.state { position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; cursor: default; }
.state span { position: relative; z-index: 1; }
.state__map { position: absolute; right: 14px; top: 14px; width: 92px; height: 92px; fill: rgba(255,255,255,.22); stroke: rgba(255,255,255,.75); stroke-width: 1.4; stroke-linejoin: round; transition: transform .35s ease, fill .35s ease; }
.state--3 .state__map { fill: rgba(29,27,46,.12); stroke: rgba(29,27,46,.6); }
.state:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 26px 46px -26px rgba(29,27,46,.65); }
.state:hover .state__map { transform: scale(1.12) rotate(-3deg); fill: rgba(255,255,255,.35); }
.state--3:hover .state__map { fill: rgba(29,27,46,.2); }

/* Partners: logo only */
.logos--centered .logo-tile { gap: 0; }
.logos--centered .logo-tile img { max-height: 96px; max-width: 170px; }

@media (prefers-reduced-motion: reduce) { .journey li span, .steps li, .callout, .pill, .state, .state__map { transition: none; } }
.states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.state { min-height: 180px; padding: 24px 22px; font-size: 24px; line-height: 1.15; }
.state__map { width: 78px; height: 78px; right: 12px; top: 12px; }
@media (max-width: 700px) { .states { grid-template-columns: 1fr; } .state { min-height: 130px; } .state__map { width: 90px; height: 90px; top: 50%; margin-top: -45px; right: 18px; } }
