/* WIENU: civic editorial redesign
   Brand colours retained from the organisation logo:
   green #256A34 and purple #513F75.
   Photography is sourced only from wienu.org. */

:root {
  --green: #256a34;
  --green-deep: #173f22;
  --green-ink: #11291a;
  --green-soft: #e6eee2;
  --purple: #513f75;
  --purple-soft: #eeeaf5;
  --paper: #f7f4ed;
  --paper-deep: #efe9dd;
  --white: #ffffff;
  --ink: #1c2a20;
  --muted: #637066;
  --line: #d9ded4;
  --lime: #cfe6a6;
  --shadow: 0 20px 55px rgba(23, 63, 34, 0.12);
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .22;
  background-image: radial-gradient(rgba(23,63,34,.16) .6px, transparent .6px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.7rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10000; background: var(--green); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; }
.topbar { background: var(--green-deep); color: rgba(255,255,255,.82); font-size: .76rem; letter-spacing: .02em; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-tagline { margin: 0; display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(207,230,166,.18); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right > a:hover { color: var(--lime); }
.topbar-social, .footer-social, .contact-social { display: flex; align-items: center; gap: 7px; }
.topbar-social a, .footer-social a, .contact-social a {
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%; font-size: .62rem; font-weight: 800;
  text-transform: lowercase; transition: background .2s, color .2s, transform .2s;
}
.topbar-social a:hover, .footer-social a:hover, .contact-social a:hover { background: var(--lime); color: var(--green-deep); border-color: var(--lime); transform: translateY(-2px); }

.navbar { background: rgba(247,244,237,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.navbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.5rem; color: var(--green); letter-spacing: -.02em; }
.brand-text small { font-size: .61rem; color: var(--muted); max-width: 180px; line-height: 1.25; margin-top: 3px; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 10px 11px; font-size: .82rem; font-weight: 700; color: var(--green-ink); border-radius: 8px; transition: color .2s, background .2s; }
.nav-item > a:hover, .nav-item.is-active > a { color: var(--green); background: var(--green-soft); }
.has-dropdown > a { padding-right: 26px; }
.has-dropdown > a::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); }
.nav-drop-toggle { display: none; }
.submenu { position: absolute; left: 0; top: calc(100% + 10px); min-width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.nav-item:last-of-type .submenu, .nav-item:nth-last-child(2) .submenu { left: auto; right: 0; }
.has-dropdown:hover .submenu, .has-dropdown:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; font-size: .8rem; font-weight: 600; border-radius: 8px; }
.submenu a:hover { background: var(--purple-soft); color: var(--purple); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--purple); color: #fff; padding: 11px 17px; border-radius: 999px; font-size: .8rem; font-weight: 800; transition: transform .2s, background .2s; white-space: nowrap; }
.nav-cta:hover { transform: translateY(-2px); background: #42325f; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--green-deep); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: .9rem; border: 1px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light { background: var(--paper); color: var(--green-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }

/* Shared sections */
.section { padding: 92px 0; }
.section.tinted { background: var(--paper-deep); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: .5em; }
.section-head > p:last-child { color: var(--muted); font-size: 1.02rem; max-width: 640px; }
.kicker, .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 800; color: var(--purple); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 26px; height: 2px; background: var(--green); display: inline-block; }
.section-more { margin-top: 36px; display: flex; justify-content: center; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--delay, 0) * 90ms); }
.reveal.in-view { opacity: 1; transform: none; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; padding: 76px 0 84px; background: linear-gradient(115deg, var(--paper) 0%, var(--paper) 56%, var(--green-soft) 56%, var(--green-soft) 100%); }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.home-hero-copy h1 { max-width: 640px; }
.home-hero-copy h1 em { font-style: normal; color: var(--green); position: relative; }
.home-hero-copy h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(207,230,166,.65); z-index: -1; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats { display: flex; gap: 34px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 2rem; color: var(--green); line-height: 1; }
.hero-stats span { font-size: .72rem; color: var(--muted); margin-top: 6px; }
.home-hero-art { position: relative; min-height: 470px; }
.art-frame { position: absolute; overflow: hidden; border: 8px solid var(--paper); border-radius: 14px; box-shadow: var(--shadow); }
.art-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-one { width: 58%; height: 58%; left: 0; top: 0; transform: rotate(-2deg); }
.art-two { width: 44%; height: 52%; right: 0; top: 16%; border-color: var(--green-soft); transform: rotate(2deg); }
.art-three { width: 54%; height: 46%; left: 14%; bottom: 0; transform: rotate(1deg); }
.art-label { position: absolute; right: 0; bottom: 12px; background: var(--purple); color: #fff; font-size: .72rem; font-weight: 800; padding: 11px 16px; border-radius: 999px; }

.intro-band { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.intro-points { display: grid; gap: 0; border-left: 1px solid var(--line); padding-left: 34px; }
.intro-points > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; }
.intro-points > div:last-child { border-bottom: 0; }
.intro-points span { grid-row: 1 / 3; font-family: var(--serif); color: var(--purple); font-size: 1.1rem; }
.intro-points h3 { margin-bottom: 2px; font-size: 1.2rem; }
.intro-points p { margin: 0; color: var(--muted); font-size: .88rem; }

/* Page hero */
.page-hero { padding: 72px 0 78px; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.page-hero.reverse .hero-copy { order: 2; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.3vw, 3.7rem); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-chips span { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: .74rem; font-weight: 700; color: var(--green-deep); }
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Leader portraits need a taller frame so faces are not cropped */
.leader-detail .hero-frame { aspect-ratio: 4 / 4.5; }
.leader-detail .hero-frame img { object-position: center top; }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 2px solid var(--green); border-radius: var(--radius); z-index: 0; }
.hero-frame { z-index: 1; }
.hero-mark { position: absolute; left: -14px; bottom: -14px; z-index: 2; background: var(--purple); color: #fff; padding: 10px 18px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }

/* Grids and cards */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--green-deep); }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,41,26,.88), transparent 62%); }
.sector span { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 1.25rem; }
.sector:hover img { transform: scale(1.06); }

.focus-grid, .support-grid, .statement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.focus-card, .support-card, .statement, .value, .benefit, .why-item, .leader-card, .card, .mini-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.focus-card { padding: 30px; min-height: 240px; display: flex; flex-direction: column; }
.focus-num { font-family: var(--serif); font-size: 1rem; color: var(--purple); }
.focus-card h3 { margin-top: 22px; }
.focus-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.focus-card a { font-size: .82rem; font-weight: 800; color: var(--green); }
.focus-card a:hover { color: var(--purple); }

.mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mini-card { overflow: hidden; padding-bottom: 18px; transition: transform .25s, box-shadow .25s; }
.mini-card:hover, .card:hover, .leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini-card span { display: block; margin: 16px 16px 6px; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--purple); }
.mini-card h3 { margin: 0 16px; font-size: 1.05rem; line-height: 1.25; }

.card-grid, .blog-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card-link { display: block; height: 100%; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-cat { display: inline-block; font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--purple); margin-bottom: 12px; }
.card-body h3 { font-size: 1.3rem; }
.card-body p { color: var(--muted); font-size: .89rem; min-height: 4.8em; }
.card-more { font-size: .8rem; font-weight: 800; color: var(--green); }
.card.is-hidden { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { border: 1px solid var(--line); background: var(--white); color: var(--muted); border-radius: 999px; padding: 8px 16px; font-size: .78rem; font-weight: 800; cursor: pointer; transition: .2s; }
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.partner { height: 120px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.partner img { max-height: 74px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }

/* About */
.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.story-quote { background: var(--green); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: center; }
.story-quote > span { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--lime); }
.story-quote p { font-family: var(--serif); font-size: 1.6rem; margin: 18px 0; }
.story-quote cite { font-style: normal; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.statement { padding: 32px; border-top: 5px solid var(--purple); }
.statement span { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--purple); }
.statement p { margin: 14px 0 0; font-size: .93rem; color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.value { padding: 26px 18px; text-align: center; }
.value span { display: block; color: var(--purple); font-size: .72rem; font-weight: 800; }
.value strong { font-family: var(--serif); font-size: 1.15rem; }

/* Leadership */
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.leader-card { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.leader-photo { aspect-ratio: 4 / 4.5; overflow: hidden; background: var(--green-soft); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.leader-card:hover .leader-photo img { transform: scale(1.04); }
.leader-card > span { display: block; margin: 20px 20px 4px; color: var(--purple); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.leader-card h3 { margin: 0 20px 8px; font-size: 1.3rem; }
.leader-card p { margin: 0 20px 20px; color: var(--green); font-size: .78rem; font-weight: 800; }
.message-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 64px; }
.message-copy p { font-size: 1rem; color: #3c4b40; margin-bottom: 1.3rem; }
.message-quote { align-self: start; background: var(--purple); color: #fff; padding: 36px; border-radius: var(--radius); }
.message-quote > span { font-family: var(--serif); font-size: 4.5rem; line-height: .5; color: var(--lime); }
.message-quote blockquote { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; margin: 18px 0 28px; }
.message-quote p { margin: 0; font-size: .82rem; }
.message-quote small { color: rgba(255,255,255,.7); }
.leader-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: -40px; margin-bottom: 90px; }
.leader-nav a { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; transition: .2s; }
.leader-nav a:last-child { text-align: right; }
.leader-nav a:hover { border-color: var(--green); }
.leader-nav span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--purple); font-weight: 800; }
.leader-nav strong { font-family: var(--serif); font-size: 1.15rem; }

/* Programmes */
.programme-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.programme { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.programme-num { font-family: var(--serif); font-size: 2.4rem; color: var(--purple); line-height: 1; }
.programme h2 { font-size: 1.8rem; }
.programme p { color: var(--muted); max-width: 760px; }
.programme ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 24px; margin-top: 18px; }
.programme li { position: relative; padding-left: 20px; font-size: .88rem; color: var(--green-deep); }
.programme li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }

/* WIESoPs */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benefit { display: flex; gap: 16px; padding: 22px; }
.benefit > span { font-family: var(--serif); color: var(--purple); font-size: .9rem; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); font-size: .81rem; }
.hospital-grid, .eligibility-grid, .contact-info, .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.hospital-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hospital-lists h3 { font-size: 1.1rem; color: var(--green); }
.hospital-lists li { padding: 7px 0 7px 18px; border-bottom: 1px solid var(--line); position: relative; font-size: .86rem; }
.hospital-lists li::before { content: "·"; position: absolute; left: 2px; color: var(--purple); font-weight: 900; }
.eligibility-grid > div:first-child p { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mou-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mou-grid figure { margin: 0; }
.mou-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.mou-grid figcaption { font-size: .72rem; color: var(--muted); margin-top: 8px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.why-item { padding: 20px 24px; display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: .9rem; }
.why-item span { color: var(--green); font-size: 1.2rem; }

/* Contact and support */
.support-card { padding: 34px; }
.support-card > span { font-family: var(--serif); color: var(--purple); font-size: 1.1rem; }
.support-card h3 { margin-top: 20px; }
.support-card p { color: var(--muted); font-size: .9rem; min-height: 5em; }
.contact-card { padding: 38px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h2 { font-size: 1.9rem; }
.contact-card p:not(.kicker) { color: var(--muted); }
.contact-details { display: grid; gap: 24px; }
.contact-details > div { padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.contact-details span { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; font-weight: 800; color: var(--purple); margin-bottom: 10px; }
.contact-details a { display: block; font-weight: 700; }
.contact-details a:hover { color: var(--green); }
.contact-details small { color: var(--muted); }
.contact-social { margin-top: 10px; }
.contact-social a { color: var(--green); }

/* Article pages */
.article-hero { background: var(--white); padding: 54px 0 60px; border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: 860px; }
.article-back { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 800; color: var(--green); margin-bottom: 34px; }
.article-back:hover { color: var(--purple); }
.article-hero h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.article-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; padding: 64px 0; }
.article-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 3; }
.article-body p { font-size: 1.02rem; color: #3c4b40; margin-bottom: 1.4rem; }
.article-body p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 3.6rem; line-height: .8; padding: 8px 10px 0 0; color: var(--green); }
.article-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.article-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* CTA band and footer */
.cta-band { background: var(--green-deep); color: #fff; padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .kicker, .cta-band .eyebrow { color: var(--lime); }
.cta-band h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); max-width: 620px; }
.cta-band p:not(.kicker) { color: rgba(255,255,255,.74); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--green-ink); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.2fr; gap: 46px; padding-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 16px; }
.footer-brand img { width: 46px; height: 46px; object-fit: contain; }
.footer-about p { font-size: .85rem; }
.footer-col h3 { color: #fff; font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 9px; font-size: .85rem; }
.footer-col a:hover { color: var(--lime); }
.footer-contact p { font-size: .85rem; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 20px; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom span { opacity: .65; }
.back-top { color: var(--lime); font-weight: 800; }

.not-found { min-height: 65vh; display: grid; place-items: center; text-align: center; padding: 90px 0; background: var(--white); }
.not-found .eyebrow { justify-content: center; font-size: 1rem; }
.not-found h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.not-found p:not(.eyebrow) { color: var(--muted); }
.not-found .hero-actions { justify-content: center; }

/* Responsive */
@media (max-width: 1050px) {
  .primary-nav { gap: 12px; }
  .nav-item > a { font-size: .75rem; padding: 9px 7px; }
  .nav-cta { padding: 10px 13px; font-size: .74rem; }
  .brand-text small { display: none; }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .topbar-right > a { display: none; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: block; padding: 18px 20px 26px;
    max-height: calc(100vh - 116px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease;
    box-shadow: 0 20px 40px rgba(23,63,34,.12);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav > ul { display: block; }
  .nav-item > a { font-size: .95rem; padding: 12px 10px; }
  .has-dropdown > a { padding-right: 40px; }
  .nav-drop-toggle { display: grid; place-items: center; position: absolute; right: 4px; top: 6px; width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; }
  .nav-drop-toggle span { width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .2s; }
  .nav-drop-toggle[aria-expanded="true"] span { transform: rotate(225deg); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 10px; min-width: 0; display: none; }
  .has-dropdown.open .submenu { display: block; }
  .nav-cta { margin-top: 14px; }
  .home-hero-grid, .hero-grid, .intro-grid, .story-grid, .message-grid, .hospital-grid, .eligibility-grid, .contact-info, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .home-hero-art { min-height: 420px; }
  .hero-visual { max-width: 560px; }
  .section { padding: 68px 0; }
  .page-hero.reverse .hero-copy { order: 0; }
  .sector-grid, .card-grid, .blog-grid, .project-grid, .focus-grid, .support-grid, .statement-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar-inner { justify-content: center; }
  .topbar-tagline { font-size: .68rem; }
  .navbar-inner { min-height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.25rem; }
  .home-hero { padding: 50px 0 60px; background: var(--paper); }
  .home-hero-art { min-height: 340px; margin-top: 20px; }
  .art-one { width: 62%; height: 56%; }
  .art-two { width: 48%; height: 50%; }
  .art-three { width: 58%; height: 44%; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .section { padding: 54px 0; }
  .sector-grid, .card-grid, .blog-grid, .project-grid, .focus-grid, .support-grid, .statement-grid, .benefit-grid, .leader-grid, .value-grid, .mini-grid, .partner-grid, .hospital-lists, .mou-grid, .why-grid, .programme ul { grid-template-columns: 1fr; }
  .programme { grid-template-columns: 1fr; gap: 12px; }
  .intro-points { padding-left: 20px; }
  .leader-nav { grid-template-columns: 1fr; margin-top: -20px; }
  .leader-nav a:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .article-gallery { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
