/* Vrindvila Foundation — Version 2
   Institutional direction: two-tier header, full-bleed banner, denser content blocks.
   Same brand colours as V1, different weighting and typography. */

:root {
	--navy: #134e8c;
	--navy-700: #0e3b6b;
	--navy-900: #0a2b4f;
	--navy-50: #eef4fb;
	--green: #5cb24a;
	--green-600: #4a9c39;
	--green-700: #3d8230;
	--green-800: #2f6b26;
	--green-50: #eff7ec;
	--saffron: #e8853a;
	--saffron-50: #fdf1e7;
	--ink: #16232f;
	--muted: #5e6d7c;
	--line: #dfe6ed;
	--bg: #ffffff;
	--bg-soft: #f4f7fa;

	--font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r: 8px;
	--r-lg: 14px;
	--shadow: 0 2px 10px rgba(14, 40, 66, .08);
	--shadow-lg: 0 18px 44px rgba(14, 40, 66, .16);
	--container: 1240px;
	--section: clamp(48px, 6vw, 82px);
	--mhead: 60px; /* mobile header height — the slide-down menu anchors to it */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--font);
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 {
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	color: var(--navy-900);
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.lead { font-size: 1.06rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Section heading with a rule under it (different device to V1's eyebrow) */
.head { margin-bottom: 40px; }
.head.center { text-align: center; }
.head__kicker {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--green-700);
	margin-bottom: 8px;
}
.head h2 { margin-bottom: 14px; }
.head__rule { width: 66px; height: 4px; background: var(--saffron); border-radius: 2px; }
.head.center .head__rule { margin: 0 auto; }

/* Buttons — squarer than V1 */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 24px;
	border: 2px solid transparent;
	border-radius: var(--r);
	font: inherit;
	font-weight: 600;
	font-size: .93rem;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-700); color: #fff; }
.btn--saffron { background: var(--saffron); color: #fff; }
.btn--saffron:hover { background: #d0742c; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--line { border-color: var(--line); background: #fff; color: var(--navy); }
.btn--line:hover { border-color: var(--navy); }
.btn--white-line { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--white-line:hover { background: #fff; color: var(--navy-900); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Two-tier header ---------- */
.utility {
	background: var(--navy-900);
	color: #b7c9db;
	font-size: .8rem;
}
.utility .container { display: flex; justify-content: space-between; gap: 14px; min-height: 38px; align-items: center; flex-wrap: wrap; }
.utility a { color: #d7e4f0; }
.utility a:hover { color: #fff; }
.utility__set { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utility__links { display: flex; gap: 14px; }
.utility__mail { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.utility__mail svg { width: 14px; height: 14px; opacity: .8; }
.utility__social { display: flex; gap: 8px; }
.utility__social a { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 4px; background: rgba(255,255,255,.1); }
.utility__social svg { width: 13px; height: 13px; }

/* Row 1 — logo + info blocks + CTA */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead .container { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }

.logo { display: flex; align-items: center; gap: 13px; flex: 0 1 auto; min-width: 0; }
.logo__mark { height: 52px; width: auto; flex: none; }
.logo__word { height: 30px; width: auto; }

/* The navy half of the mark has too little contrast on the dark footer,
   so the lockup sits on a white chip there instead. */
.logo-chip {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 10px;
	padding: 12px 16px;
}
.logo-chip .logo__mark { height: 40px; }
.logo-chip .logo__word { height: 36px; }

.infoblocks { display: flex; gap: 26px; margin-left: auto; }
.info {
	display: flex;
	align-items: center;
	gap: 11px;
	padding-left: 26px;
	border-left: 1px solid var(--line);
}
.info:first-child { border-left: 0; padding-left: 0; }
.info__icon {
	width: 40px; height: 40px; flex: none;
	border-radius: 50%;
	display: grid; place-items: center;
	background: var(--green-50);
	color: var(--green-600);
}
.info__icon svg { width: 19px; height: 19px; }
.info__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 600; }
.info__value { font-size: .95rem; font-weight: 600; color: var(--navy-900); white-space: nowrap; }

.masthead__cta { display: flex; gap: 10px; flex: none; }

/* Row 2 — dark full-width menu bar */
.menubar { background: var(--navy); position: sticky; top: 0; z-index: 60; }
.menubar.is-stuck { box-shadow: var(--shadow-lg); }
.menubar .container { display: flex; align-items: center; gap: 12px; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 16px 17px;
	color: #e3edf7;
	font-size: .9rem;
	font-weight: 500;
	white-space: nowrap;
}
.menu > li > a:hover, .menu > li.is-active > a { background: rgba(255,255,255,.12); color: #fff; }
.menu svg { width: 13px; height: 13px; opacity: .7; }

.submenu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 228px;
	background: #fff;
	border-radius: 0 0 var(--r) var(--r);
	box-shadow: var(--shadow-lg);
	padding: 8px;
	list-style: none;
	margin: 0;
	display: none;
	z-index: 5;
}
.menu > li:hover .submenu { display: block; }
.submenu a { display: block; padding: 9px 13px; border-radius: 6px; font-size: .88rem; color: var(--ink); }
.submenu a:hover { background: var(--green-50); color: var(--green-700); }

.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menubar__search {
	display: flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,.12);
	border-radius: var(--r);
	padding: 8px 13px;
}
.menubar__search input { background: none; border: 0; color: #fff; font: inherit; font-size: .85rem; width: 130px; outline: none; }
.menubar__search input::placeholder { color: #a9c3dc; }
.menubar__search svg { width: 15px; height: 15px; color: #a9c3dc; }

.menu__mobile-only { display: none; }

.menu-toggle {
	display: none;
	background: rgba(255,255,255,.14);
	border: 0;
	color: #fff;
	padding: 11px 14px;
	border-radius: var(--r);
	font: inherit;
	font-weight: 600;
	font-size: .9rem;
	cursor: pointer;
	align-items: center;
	gap: 9px;
}
.menu-toggle svg { width: 18px; height: 18px; }

/* ---------- Full-bleed banner slider ---------- */
.banner { position: relative; }
.slide {
	position: relative;
	min-height: clamp(440px, 62vh, 620px);
	display: none;
	align-items: center;
}
.slide.is-active { display: flex; }
.slide__bg { position: absolute; inset: 0; overflow: hidden; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; }
.slide__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,43,79,.92) 0%, rgba(10,43,79,.78) 42%, rgba(10,43,79,.25) 100%);
}
.slide .container { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 74px; }
.slide__inner { max-width: 620px; color: #fff; }
.slide__tag {
	display: inline-block;
	background: var(--saffron);
	color: #fff;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 4px;
	margin-bottom: 16px;
}
.slide h1, .slide h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.15rem); margin-bottom: 14px; }
.slide h1 span, .slide h2 span { color: #8fd07f; }
.slide p { color: #cfdded; font-size: 1.05rem; margin-bottom: 26px; }
.slide__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.slider-dots {
	position: absolute;
	left: 0; right: 0;
	bottom: 108px;
	z-index: 3;
	display: flex;
	gap: 9px;
	justify-content: center;
}
.slider-dots button {
	width: 32px; height: 4px;
	border: 0; border-radius: 2px;
	background: rgba(255,255,255,.4);
	cursor: pointer;
	padding: 0;
}
.slider-dots button.is-active { background: var(--saffron); }

/* Quick action tiles overlapping the banner */
.quick { position: relative; z-index: 4; margin-top: -68px; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.quick__item {
	background: #fff;
	padding: 24px 22px;
	display: flex;
	gap: 15px;
	align-items: center;
	transition: background .15s;
}
.quick__item:hover { background: var(--green-50); }
.quick__icon { width: 44px; height: 44px; flex: none; border-radius: var(--r); display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.quick__item:nth-child(2) .quick__icon { background: var(--green-50); color: var(--green-700); }
.quick__item:nth-child(3) .quick__icon { background: var(--saffron-50); color: var(--saffron); }
.quick__icon svg { width: 22px; height: 22px; }
.quick__item strong { display: block; font-size: .98rem; color: var(--navy-900); }
/* :not() keeps this off the icon span, which needs its own display/colour */
.quick__item span:not(.quick__icon) { font-size: .84rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Stats band ---------- */
.statband { background: var(--navy-900); color: #fff; }
.statband .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 46px; padding-bottom: 46px; }
.statband__item { display: flex; gap: 15px; align-items: center; }
.statband__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #8fd07f; }
.statband__icon svg { width: 24px; height: 24px; }
.statband b { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.statband span:not(.statband__icon) { font-size: .86rem; color: #a9c0d6; }

/* ---------- About + video ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(10,43,79,.3);
	border: 0;
	cursor: pointer;
}
.media-frame__play i {
	width: 74px; height: 74px;
	border-radius: 50%;
	background: #fff;
	display: grid; place-items: center;
	box-shadow: var(--shadow-lg);
}
.media-frame__play svg { width: 26px; height: 26px; color: var(--green-700); margin-left: 4px; }
.media-badge {
	position: absolute;
	right: 18px; bottom: 18px;
	background: var(--saffron);
	color: #fff;
	border-radius: var(--r);
	padding: 14px 18px;
	text-align: center;
}
.media-badge b { display: block; font-size: 1.6rem; line-height: 1; }
.media-badge span { font-size: .76rem; }

.ticks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.ticks svg { width: 20px; height: 20px; flex: none; color: var(--green-600); margin-top: 3px; }

/* ---------- Tabbed programmes ---------- */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
	border: 2px solid var(--line);
	background: #fff;
	border-radius: var(--r);
	padding: 12px 24px;
	font: inherit;
	font-weight: 600;
	font-size: .93rem;
	color: var(--muted);
	cursor: pointer;
	transition: all .15s;
}
.tab:hover { border-color: var(--green); color: var(--green-700); }
.tab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* ---------- Cause cards (different to V1: horizontal meta, sharp corners) ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .18s, transform .18s;
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tile__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile__flag {
	position: absolute; top: 12px; left: 12px;
	background: var(--saffron); color: #fff;
	font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 5px 11px; border-radius: 4px;
}
.tile__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tile__body h3 { margin-bottom: 10px; }
.tile__foot { margin-top: auto; padding-top: 16px; }

.bar { height: 7px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; margin: 16px 0 9px; }
.bar > i { display: block; height: 100%; background: var(--green); }
.bar-meta { display: flex; justify-content: space-between; font-size: .85rem; }
.bar-meta b { color: var(--green-700); }
.bar-meta span { color: var(--muted); }

/* ---------- Numbered process strip ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: p; }
.process__item { position: relative; text-align: center; padding: 0 8px; }
.process__num {
	width: 66px; height: 66px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #fff;
	border: 2px dashed var(--green);
	color: var(--green-700);
	display: grid; place-items: center;
	font-size: 1.4rem; font-weight: 700;
	position: relative; z-index: 2;
}
.process__item::after {
	content: "";
	position: absolute;
	top: 33px; left: 60%; width: 80%;
	border-top: 2px dotted var(--line);
	z-index: 1;
}
.process__item:last-child::after { display: none; }
.process h3 { font-size: 1.02rem; margin-bottom: 6px; }
.process p { font-size: .9rem; color: var(--muted); }

/* ---------- Myths (two-column list, not accordion) ---------- */
.myth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.myth-item {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 4px solid var(--saffron);
	border-radius: var(--r);
	padding: 22px;
}
.myth-item h3 { font-size: 1rem; display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; }
.myth-item h3 svg { width: 19px; height: 19px; flex: none; color: var(--saffron); margin-top: 3px; }
.myth-item p { font-size: .92rem; color: var(--muted); margin: 0; }
.myth-item p b { color: var(--green-700); }

/* ---------- Testimonial row ---------- */
.quote {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 26px;
	position: relative;
}
.quote__mark { font-size: 3.4rem; line-height: .7; color: var(--green); opacity: .3; font-weight: 700; }
.quote p { font-size: .95rem; color: var(--muted); margin: 8px 0 18px; }
.quote__who { display: flex; align-items: center; gap: 13px; }
.quote__who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.quote__who b { display: block; font-size: .93rem; color: var(--navy-900); }
.quote__who span { font-size: .82rem; color: var(--muted); }

/* ---------- News strip ---------- */
.news { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news:last-child { border-bottom: 0; }
.news__img { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; }
.news__img img { width: 100%; height: 100%; object-fit: cover; }
.news__date { font-size: .78rem; color: var(--saffron); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.news h3 { font-size: 1.02rem; margin: 5px 0 6px; }
.news p { font-size: .89rem; color: var(--muted); margin: 0; }

/* ---------- Gallery mosaic (different to V1's even grid) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 12px; }
.mosaic div { overflow: hidden; border-radius: var(--r); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic div:hover img { transform: scale(1.07); }
.mosaic div:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* ---------- Donate strip ---------- */
.donate-strip {
	background: linear-gradient(100deg, var(--green-700) 0%, var(--green) 55%, #7cc26a 100%);
	color: #fff;
}
.donate-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.donate-strip h2 { color: #fff; margin-bottom: 6px; }
.donate-strip p { color: rgba(255,255,255,.9); margin: 0; }
.amount-row { display: flex; gap: 10px; flex-wrap: wrap; }
.amount-row a {
	background: rgba(255,255,255,.18);
	border: 1px solid rgba(255,255,255,.4);
	color: #fff;
	border-radius: var(--r);
	padding: 12px 20px;
	font-weight: 600;
	font-size: .95rem;
}
.amount-row a:hover, .amount-row a.is-primary { background: #fff; color: var(--green-700); }

/* ---------- Newsletter ---------- */
.subscribe { background: var(--navy-900); color: #fff; }
.subscribe .container { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.subscribe h3 { color: #fff; margin-bottom: 5px; }
.subscribe p { color: #a9c0d6; margin: 0; font-size: .92rem; }
.subscribe form { display: flex; gap: 10px; }
.subscribe input {
	flex: 1;
	padding: 14px 16px;
	border: 1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.1);
	color: #fff;
	border-radius: var(--r);
	font: inherit;
	font-size: .93rem;
}
.subscribe input::placeholder { color: #93aec8; }
.subscribe input:focus { outline: none; border-color: var(--green); }

/* ---------- Footer ---------- */
.foot { background: #07243f; color: #9db4c9; padding-top: var(--section); font-size: .92rem; }
.foot h4 { color: #fff; font-size: .92rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; }
.foot a { color: #9db4c9; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__logo { margin-bottom: 16px; }
.bankbox { background: rgba(255,255,255,.06); border-radius: var(--r); padding: 15px 17px; line-height: 1.75; font-size: .87rem; }
.bankbox b { color: #fff; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }
.foot__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Sticky mobile action bar (V2-only device) */
.mobilebar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.menu > li > a { padding: 16px 13px; font-size: .86rem; }
	.menubar__search { display: none; }
}

@media (max-width: 1024px) {
	.quick__grid { grid-template-columns: repeat(2, 1fr); }
	.statband .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
	.about-split, .subscribe .container, .myth-grid { grid-template-columns: 1fr; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
	.process__item::after { display: none; }
	.mosaic { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	/* One compact row: menu · logo · Donate. The helpline and Pledge already
	   live in the sticky bottom bar, and the logins move into the menu. */
	.utility { display: none; }

	.masthead { position: sticky; top: 0; z-index: 61; }
	.masthead .container {
		flex-wrap: nowrap;
		gap: 10px;
		min-height: var(--mhead);
		padding-top: 0;
		padding-bottom: 0;
	}
	/* The toggle sits on the white masthead here, not the dark menu bar. */
	.menu-toggle {
		display: inline-flex;
		flex: none;
		padding: 9px 10px;
		background: var(--navy-50);
		color: var(--navy-900);
	}
	.menu-toggle svg { width: 22px; height: 22px; }
	.logo { gap: 9px; }
	.logo__mark { height: 36px; }
	.logo__word { height: 21px; }
	.infoblocks { display: none; }
	.masthead__cta { margin-left: auto; flex: none; }
	.masthead__cta .btn--line { display: none; }
	.masthead__cta .btn { padding: 9px 15px; font-size: .82rem; }

	.menubar { position: static; background: transparent; }
	.menubar .container { padding: 0; }
	.menubar__right { display: none; }

	.menu {
		position: fixed;
		top: var(--mhead); left: 0; right: 0;
		z-index: 60; /* .menubar goes static above, so the panel carries its own */
		background: var(--navy);
		flex-direction: column;
		flex-wrap: nowrap;
		padding: 8px;
		display: none;
		box-shadow: var(--shadow-lg);
		max-height: calc(100dvh - var(--mhead));
		overflow-y: auto;
	}
	.menu.is-open { display: flex; }
	.menu__mobile-only { display: block; border-top: 1px solid rgba(255,255,255,.12); margin-top: 6px; padding-top: 6px; }
	.menu > li > a { padding: 13px 15px; justify-content: space-between; }
	.menu > li > a svg { transition: transform .2s ease; }
	.menu > li.is-expanded > a svg { transform: rotate(180deg); }
	.submenu { position: static; display: none; box-shadow: none; background: rgba(255,255,255,.07); border-radius: 6px; margin: 2px 0 6px; }
	.menu > li:hover .submenu { display: none; }
	.menu > li.is-expanded > .submenu { display: block; }
	.submenu a { color: #cfe0ef; }
	.submenu a:hover { background: rgba(255,255,255,.1); color: #fff; }
	.grid--3, .grid--2 { grid-template-columns: 1fr; }
	.slide__bg::after { background: linear-gradient(180deg, rgba(10,43,79,.82) 0%, rgba(10,43,79,.92) 100%); }
	.slider-dots { bottom: 92px; }
	.donate-strip .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	.quick__grid { grid-template-columns: 1fr; }
	.statband .container { grid-template-columns: 1fr; }
	.grid--4 { grid-template-columns: 1fr; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; }
	.mosaic div:nth-child(1) { grid-column: span 2; }
	.foot__grid { grid-template-columns: 1fr; gap: 30px; }
	.news { grid-template-columns: 96px 1fr; }
	.logo__word { height: 19px; }
	.masthead__cta .btn { padding: 9px 13px; font-size: .8rem; }
	.subscribe form { flex-direction: column; }

	.mobilebar {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 80;
		background: #fff;
		border-top: 1px solid var(--line);
		box-shadow: 0 -4px 16px rgba(14,40,66,.1);
	}
	.mobilebar a {
		padding: 11px 6px;
		text-align: center;
		font-size: .76rem;
		font-weight: 600;
		color: var(--navy);
		display: grid;
		justify-items: center;
		gap: 3px;
	}
	.mobilebar a svg { width: 19px; height: 19px; }
	.mobilebar a.is-primary { background: var(--green); color: #fff; }
	body { padding-bottom: 62px; }
}
