/* Fondation Point d'Appui. Desktop values come from the Figma file (1600px wide).
   Sizes live in :root tokens, with one step for tablet (<1100px) and one for phone (<768px). */

@font-face {
	font-family: "Quicksand";
	src: url("../fonts/Quicksand-Variable.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #013d5f;
	--ink: #031b28;
	--orange: #ec8052;
	--orange-dark: #d86f40;
	--yellow: #fbc366;
	--cream: #f5f2eb;
	--grey: #617581;
	--line: #adbbba;
	--white: #fff;

	--card-green: #a8bd96;      --card-green-dot: #668063;
	--card-yellow: #ffeccd;     --card-yellow-dot: #fbc366;
	--card-orange: #f7dcd0;     --card-orange-dot: #ec8052;
	--card-blue: #dbe7ef;       --card-blue-dot: #6a8cae;
	--card-cream: #f1ebdd;      --card-cream-dot: #b9ad8f;

	--photo-yellow: #fbc366;
	--photo-orange: #ec8052;
	--photo-green: #a8bd96;
	--photo-blue: #6a8cae;
	--photo-cream: #e6ddcc;

	--font: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* layout */
	--content: 1296px;
	--gutter: 152px;
	--sec-pad: 100px;
	--radius: 20px;

	/* type */
	--fs-body: 18px;
	--lh-body: 28px;
	--fs-h1: 66px;  --lh-h1: 72px;
	--fs-h2: 52px;  --lh-h2: 58px;
	--fs-h3: 28px;

	/* header and buttons */
	--banner-h: 44px;
	--header-h: 100px;
	--btn-h: 50px;
	--btn-px: 27px;
	--btn-fs: 18px;
	--hero-h: 650px;
	--card-pad: 38px;
}

@media (max-width: 1599px) {
	:root { --gutter: clamp(32px, 9.5vw, 152px); }
}

@media (max-width: 1099px) {
	:root {
		--gutter: 40px;
		--sec-pad: 72px;
		--fs-h1: 48px; --lh-h1: 54px;
		--fs-h2: 40px; --lh-h2: 46px;
		--fs-h3: 24px;
		--header-h: 84px;
		--hero-h: auto;
	}
}

@media (max-width: 767px) {
	:root {
		--gutter: 20px;
		--sec-pad: 56px;
		--fs-body: 17px; --lh-body: 27px;
		--fs-h1: 38px; --lh-h1: 44px;
		--fs-h2: 32px; --lh-h2: 38px;
		--fs-h3: 22px;
		--header-h: 72px;
		--btn-px: 22px;
		--btn-fs: 16px;
		--card-pad: 28px;
	}
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: 400;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 3px;
}
.sr-only {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--navy); color: #fff;
	padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--content) + 2 * var(--gutter), 100%); padding-inline: var(--gutter); margin-inline: auto; }
.wrap--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.h2 {
	font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 300; color: var(--ink); letter-spacing: 0;
}
.h2--light { color: #fff; }
.accent { font-weight: 700; color: var(--yellow); }
.h2 .accent { color: var(--orange); }

.prose > * + * { margin-top: 18px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose strong { font-weight: 700; }

/* --------------------------------------------------------------- buttons */
.btn {
	appearance: none; -webkit-appearance: none; border: 1px solid transparent; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; text-align: center;
	min-height: var(--btn-h); padding: 12px var(--btn-px); border-radius: 40px;
	font-family: inherit; font-size: var(--btn-fs); line-height: 24px; font-weight: 600; letter-spacing: -.2px;
	white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; min-height: 58px; padding-inline: 37px; }
@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover { background: var(--orange-dark); }
	.btn--white:hover { background: var(--navy); color: #fff; }
	.btn--outline-light:hover { background: #fff; color: var(--navy); }
}
@media (max-width: 1099px) { .btn { min-height: 46px; } .btn--outline-light { min-height: 52px; } }

/* ---------------------------------------------------------- announcement */
.announce { background: var(--yellow); min-height: var(--banner-h); display: flex; align-items: center; justify-content: center; padding: 8px 20px; }
.announce__link { padding-left: 10px; display: inline-flex; align-items: center; gap: 22px; color: var(--navy); font-weight: 500; font-size: 16px; line-height: 20px; text-align: center; }
.announce__arrow { transform: rotate(90deg); width: 10.3px; height: 12.4px; flex: none; transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) { a.announce__link:hover .announce__arrow { transform: rotate(90deg) translateY(-3px); } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .25s ease; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(1, 61, 95, .08); }
.header__row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 38px; }
.logo { display: block; flex: none; }
.logo img { width: 161px; height: auto; }
@media (max-width: 767px) { .logo img { width: 128px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 59px; }
.nav__list a { font-size: 18px; line-height: 24px; color: var(--ink); padding: 8px 0; position: relative; }
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange);
	transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
@media (hover: hover) and (pointer: fine) { .nav__list a:hover::after { transform: scaleX(1); } }
.nav__list a:focus-visible::after { transform: scaleX(1); }
.nav__langs { display: none; }

.header__actions { display: flex; align-items: center; gap: 37px; }
.header__donate { min-height: 50px; padding-inline: 27px; }

.lang { position: relative; }
.lang__btn {
	appearance: none; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 18px; line-height: 24px;
	color: #527a90; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0;
}
.lang__chev { transform: rotate(90deg); width: 5px; height: 10px; margin-inline: 2.5px; transition: transform .2s ease; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(-90deg); }
.lang__menu {
	position: absolute; right: -12px; top: calc(100% + 6px); min-width: 84px; background: #fff; border-radius: 12px;
	box-shadow: 0 10px 30px rgba(1, 61, 95, .15); padding: 6px; z-index: 5;
}
.lang__menu[hidden] { display: none; }
.lang__menu a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 16px; }
.lang__menu a[aria-current="true"] { background: var(--cream); }
@media (hover: hover) and (pointer: fine) { .lang__menu a:hover { background: var(--cream); } }

.burger { display: none; appearance: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
	.header__actions { gap: 16px; }
	.burger { display: block; }
	.nav {
		position: fixed; inset: calc(var(--header-h) + var(--banner-offset, 0px)) 0 0 0; background: #fff; padding: 24px var(--gutter) 40px;
		display: none; flex-direction: column; overflow-y: auto; margin: 0; z-index: 99;
	}
	body.nav-open .nav { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { display: block; font-size: 22px; padding: 18px 0; border-bottom: 1px solid #e8e4da; }
	.nav__list a::after { display: none; }
	.nav__langs { display: flex; gap: 12px; margin-top: 28px; }
	.nav__langs a { display: inline-block; padding: 10px 20px; border: 1px solid var(--line); border-radius: 40px; color: var(--navy); font-weight: 600; }
	.nav__langs a[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
	.lang { display: none; }
}
@media (max-width: 767px) { .header__donate { min-height: 42px; padding-inline: 18px; font-size: 15px; } }

/* ------------------------------------------------------------------ hero */
.hero { background: var(--navy); color: #fff; min-height: var(--hero-h); display: flex; }
.hero__grid { display: grid; grid-template-columns: 1fr 550px; align-items: stretch; }
.hero__text { align-self: center; padding: 60px 0 62px; max-width: 627px; }
.hero__eyebrow { text-transform: uppercase; font-size: 18px; line-height: 24px; margin-bottom: 18px; }
.hero__title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 300; letter-spacing: -.02em; margin-bottom: 33px; }
.hero__media { align-self: end; height: 583px; border-radius: 262px 262px 0 0; overflow: hidden; margin-top: 67px; background: rgba(255,255,255,.08); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero--no-image .hero__grid { grid-template-columns: 1fr; }
@media (max-width: 1099px) {
	.hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
	.hero__text { padding: 56px 0 0; max-width: none; }
	.hero__eyebrow { margin-bottom: 24px; }
	.hero__media { height: auto; aspect-ratio: 550 / 583; width: min(440px, 78%); margin: 0 auto; border-radius: 220px 220px 0 0; }
}
@media (max-width: 767px) { .hero__media { width: min(340px, 86%); } .hero__eyebrow { font-size: 15px; } }

/* -------------------------------------------------------------- sections */
.sec { padding-block: var(--sec-pad); position: relative; background: #fff; }
.sec--cream { background: var(--cream); }
.sec--divider::before { content: ""; position: absolute; top: 0; left: min(48px, var(--gutter)); right: min(48px, var(--gutter)); height: 1px; background: var(--line); }
.sec--cream.sec--divider::before { display: none; }
.sec__title--center { text-align: center; margin-bottom: 35px; }
.sec__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec__head .h2 { min-height: 65px; }
.sec__head .btn { min-height: 58px; padding-inline: 24.5px; }
@media (max-width: 767px) { .sec__head { flex-direction: column; align-items: flex-start; } }

/* ----------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: 14px; padding: var(--card-pad); display: flex; flex-direction: column; align-items: flex-start; }
.card__icon {
	width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; flex: none;
	background: var(--card-dot, var(--card-green-dot));
}
.card__glyph { max-width: none; width: auto; height: auto; }
.card__glyph--custom { max-width: 48px; max-height: 44px; object-fit: contain; }
.card__title { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.card__text { margin-bottom: 18px; flex: 1; }
.card .btn { min-height: 52px; padding-inline: 21px; }
@media (min-width: 1100px) {
	.cards .card:nth-child(1) .btn { min-width: 200px; }
	.cards .card:nth-child(2) .btn { min-width: 210px; }
	.cards .card:nth-child(3) .btn { min-width: 180px; }
}
.card--green { background: var(--card-green); --card-dot: var(--card-green-dot); }
.card--yellow { background: var(--card-yellow); --card-dot: var(--card-yellow-dot); }
.card--orange { background: var(--card-orange); --card-dot: var(--card-orange-dot); }
.card--blue { background: var(--card-blue); --card-dot: var(--card-blue-dot); }
.card--cream { background: var(--card-cream); --card-dot: var(--card-cream-dot); }
@media (max-width: 1099px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .card__icon { width: 72px; height: 72px; } }

/* ---------------------------------------------------------------- events */
.events { position: relative; }
.events__title { position: absolute; top: 14px; left: var(--gutter); z-index: 2; max-width: 526px; }
.carousel { position: relative; }
.carousel { display: flow-root; --slide-pt: 24px; --slide-px: min(40px, var(--gutter)); --slide-pb: 36px; }
/* Room around each slide so photo shadows stay inside their own slide; the negative margin cancels it out. */
.carousel__viewport { overflow: hidden; margin: calc(-1 * var(--slide-pt)) calc(-1 * var(--slide-px)) calc(-1 * var(--slide-pb)); }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 534px 660px; justify-content: space-between; align-items: stretch; padding: var(--slide-pt) var(--slide-px) var(--slide-pb); }
.slide__text { padding-top: 107px; }
.slide__badge { display: inline-block; background: #e6ddcc; color: var(--navy); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
.slide__date { text-transform: uppercase; color: var(--grey); line-height: 24px; margin-bottom: 18px; white-space: pre-wrap; }
.slide__title { font-size: var(--fs-h3); line-height: 35px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.slide__text .prose { margin-bottom: 18px; }
.slide__text .btn { min-height: 58px; padding-inline: 40.5px; }
.sec--events { padding-bottom: calc(var(--sec-pad) + 1px); }
.slide__text .prose > * + * { margin-top: 18px; }
/* The photo is as tall as the slide (never under 506px), so it never ends before the text. */
.slide__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .04); min-height: 506px; background: var(--cream); }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__media--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--cream), #ece4d3); }
.slide__logo { width: 220px; opacity: .9; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 38px; }
.carousel__btn {
	appearance: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0;
	background: var(--navy); border: 1px solid var(--navy); transition: background-color .2s ease, border-color .2s ease;
}
.carousel__btn--prev { transform: rotate(180deg); }
.carousel__btn--prev .carousel__arrow, .carousel__btn--next .carousel__arrow { width: 24px; height: 24px; }
.carousel__btn:disabled { background: transparent; border-color: #afa99d; cursor: default; }
.carousel__btn:not(:disabled) .carousel__arrow--off, .carousel__btn:disabled .carousel__arrow--on { display: none; }
.carousel__dots { display: flex; gap: 10px; }
.carousel__dot { appearance: none; border: 0; padding: 0; width: 15px; height: 15px; border-radius: 50%; background: #e6ddcc; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.carousel__dot[aria-current="true"] { background: var(--navy); }
@media (hover: hover) and (pointer: fine) { .carousel__dot:hover { transform: scale(1.2); } }
@media (max-width: 1099px) {
	.events__title { position: static; margin-bottom: 32px; }
	.slide { grid-template-columns: 1fr; gap: 32px; }
	.slide__text { padding-top: 0; order: 2; }
	.slide__media { order: 1; min-height: 0; aspect-ratio: 660 / 506; }
}

/* --------------------------------------------------- mission / photo rows */
.rows { display: grid; gap: 48px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; min-height: 458px; }
.row--photo-right .tile--photo { order: 2; }
.tile { border-radius: var(--radius); overflow: hidden; position: relative; }
.tile--text { background: #fff; display: flex; align-items: center; }
.tile__inner { padding: 67px 86px; width: 100%; }
.tile__inner .h2 { margin-bottom: 35px; }
.tile--photo { min-height: 458px; background: var(--photo-yellow); }
.tile--green { background: var(--photo-green); } .tile--orange { background: var(--photo-orange); }
.tile--blue { background: var(--photo-blue); } .tile--cream { background: var(--photo-cream); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--contain .tile__img { inset: 30px 36px 0; width: calc(100% - 72px); height: calc(100% - 30px); object-fit: contain; object-position: 50% 100% !important; }
.highlights { display: flex; flex-wrap: wrap; gap: 20px 22px; margin-top: 28px; }
.highlight { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 16px; line-height: 20px; }
.highlight__label { width: min-content; min-width: 49px; max-width: 110px; }
.highlight__icon { width: 62px; height: 62px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.highlight__glyph { max-width: 32px; max-height: 32px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 1099px) {
	.row { grid-template-columns: 1fr; min-height: 0; gap: 16px; }
	.row--photo-right .tile--photo { order: 0; }
	.tile--photo { min-height: 0; aspect-ratio: 636 / 458; }
	.tile__inner { padding: 44px 36px; }
	.rows { gap: 32px; }
}
@media (max-width: 767px) { .tile__inner { padding: 32px 24px; } }

/* ----------------------------------------------------------------- story */
.story { display: grid; grid-template-columns: 440px 1fr; gap: 85px; align-items: center; }
.story--no-photo { grid-template-columns: 1fr; }
.story__photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .04); height: 418px; }
.story__img { width: 100%; height: 100%; object-fit: cover; }
.story__text .h2 { margin-bottom: 35px; }
.story__text .prose { margin-bottom: 18px; }
.story__name { font-weight: 600; font-size: 18px; line-height: 23px; color: var(--navy); }
.story__role { font-size: 16px; line-height: 22px; margin-top: 8px; }
@media (max-width: 1099px) {
	.story { grid-template-columns: 1fr; gap: 32px; }
	.story__photo { height: auto; aspect-ratio: 440 / 418; max-width: 460px; }
}

/* ----------------------------------------------------------------- logos */
.tier { font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 36px 0 16px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.logos__item {
	width: calc((100% - 4 * 28px) / 5); height: 140px; border: 1px solid rgba(173, 187, 186, .5); border-radius: 10px;
	display: grid; place-items: center; padding: 27px; background: #fff;
}
.logos__item a { display: block; width: 100%; height: 100%; }
.logos__box { position: relative; display: block; width: 100%; height: 100%; }
/* Each logo fills the card's inner box (180 x 84) and is contained, so any logo keeps its shape. */
/* Every logo: main.js trims its empty margins and sizes it to the standard box. Without JS it is simply contained. */
.logos__img { display: block; position: absolute; left: 50%; top: 50%; width: var(--lw, 100%); height: var(--lh, 100%); max-width: none; object-fit: contain; transform: translate(var(--lx, -50%), var(--ly, -50%)); filter: grayscale(1); transition: filter .25s ease; }
.js .logos__img:not(.is-fit) { opacity: 0; }
html:not(.js) .logos__img { position: static; width: 100%; height: 100%; max-width: 100%; transform: none; }
@media (hover: hover) and (pointer: fine) { .logos__item:hover .logos__img { filter: none; } }
@media (max-width: 1099px) { .logos__item { width: calc((100% - 2 * 20px) / 3); height: 120px; } .logos { gap: 20px; } }
@media (max-width: 767px) { .logos__item { width: calc((100% - 14px) / 2); height: 104px; padding: 12px; } .logos { gap: 14px; } }

/* --------------------------------------------------------------- contact */
.sec--navy { background: var(--navy); color: #fff; padding-block: 90px; }
.contact { display: grid; grid-template-columns: 526px 636px; justify-content: space-between; align-items: start; }
.contact__info { padding-top: 42px; }
.contact__info .h2 { margin-bottom: 33px; }
.contact__text { opacity: .9; max-width: 526px; }
.contact__notice { margin-top: 20px; background: rgba(255, 255, 255, .1); border-left: 4px solid var(--yellow); border-radius: 6px; padding: 14px 18px; margin-bottom: 28px; font-size: 16px; line-height: 24px; }
.contact__block { margin-top: 28px; }
.contact__text + .contact__block { margin-top: 18px; }
.contact__label { font-size: 18px; line-height: 28px; font-weight: 700; margin-bottom: 12px; }
.contact__mail { display: flex; width: fit-content; align-items: center; gap: 18px; font-size: 20px; line-height: 24px; padding-top: 3px; }
.contact__mail-icon { width: 33px; height: 24px; flex: none; }
.contact__mail span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s ease; }
@media (hover: hover) and (pointer: fine) { .contact__mail:hover span { background-size: 100% 1px; } }
.social { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 2px; }
.social a { display: block; width: 43px; height: 43px; border-radius: 50%; transition: transform .2s ease; }
.social__icon { width: 43px; height: 43px; }
.social__custom { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #fff; border-radius: 50%; }
.social__img { max-width: 20px; max-height: 20px; }
@media (hover: hover) and (pointer: fine) { .social a:hover { transform: translateY(-3px); } }
.contact__charity { font-size: 20px; line-height: 24px; }

.form-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 48px 58px; box-shadow: 0 4px 15px rgba(16, 40, 66, .03); }
@media (max-width: 1099px) {
	.contact { grid-template-columns: 1fr; gap: 40px; }
	.contact__info { padding-top: 0; }
	.sec--navy { padding-block: 64px; }
}
@media (max-width: 1099px) { .form-card { padding: 40px 36px; } .fnd-form .btn { width: 100%; margin-inline: 0; } }
@media (max-width: 767px) { .form-card { padding: 28px 20px; } }

/* Contact Form 7 */
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }
.wpcf7 form > p, .wpcf7-form p { margin: 0; }
.fnd-form { display: grid; gap: 28px; }
.fnd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 599px) { .fnd-form__row { grid-template-columns: 1fr; } }
.fnd-form label { display: block; font-size: 16px; line-height: 22px; font-weight: 500; color: #091a2c; }
.fnd-form .wpcf7-form-control-wrap { display: block; margin-top: 18px; position: relative; }
.fnd-form input[type="text"], .fnd-form input[type="email"], .fnd-form input[type="tel"], .fnd-form select, .fnd-form textarea {
	width: 100%; font-family: inherit; font-size: 16px; line-height: 22px; color: var(--ink); background: #feffff;
	border: 1px solid #c8d0d9; border-radius: 4px; padding: 16px 24px; min-height: 56px; appearance: none; -webkit-appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.fnd-form textarea { height: 124px; min-height: 124px; resize: none; }
.fnd-form ::placeholder { color: #a2a9b0; opacity: 1; }
.fnd-form select {
	background-image: url("../images/icons/select-chevron.svg"); background-repeat: no-repeat; background-position: right 20px center;
	background-size: 10px 5px; background-position: right 24px center; padding-right: 52px; cursor: pointer;
}
/* Custom dropdown (main.js). The real <select> stays in the page, hidden, and is what is submitted. */
.js .fnd-form select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.fnd-field .fnd-label { display: block; font-size: 16px; line-height: 22px; font-weight: 500; color: #091a2c; }
.fnd-select { position: relative; }
.fnd-select__btn {
	appearance: none; -webkit-appearance: none; cursor: pointer; width: 100%; min-height: 56px; padding: 16px 52px 16px 24px; text-align: left;
	font-family: inherit; font-size: 16px; line-height: 22px; color: var(--ink); background: #feffff url("../images/icons/select-chevron.svg") no-repeat right 24px center / 10px 5px;
	border: 1px solid #c8d0d9; border-radius: 4px; transition: border-color .2s ease, box-shadow .2s ease;
}
.fnd-select.is-open .fnd-select__btn, .fnd-select__btn:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(1, 61, 95, .12); outline: none; }
.fnd-select__btn[aria-expanded="true"] { background-image: url("../images/icons/select-chevron-up.svg"); }
.fnd-select__list {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: #fff;
	border: 1px solid #e3e8ed; border-radius: 10px; box-shadow: 0 14px 34px rgba(1, 61, 95, .16); max-height: 280px; overflow-y: auto; outline: none;
}
.fnd-select__list[hidden] { display: none; }
.fnd-select__list li { padding: 13px 18px; border-radius: 6px; font-size: 16px; line-height: 22px; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fnd-select__list li[aria-selected="true"] { background: var(--cream); color: var(--navy); font-weight: 600; }
.fnd-select__list li[aria-selected="true"]::after { content: ""; width: 7px; height: 12px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); flex: none; }
.fnd-select__list li.is-active { background: #eef3f7; }
@media (hover: hover) and (pointer: fine) { .fnd-select__list li:hover { background: #eef3f7; } }
.fnd-form input:focus, .fnd-form select:focus, .fnd-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(1, 61, 95, .12); outline: none; }
.fnd-form .wpcf7-not-valid { border-color: #c0392b; }
.fnd-form .wpcf7-not-valid-tip { color: #c0392b; font-size: 14px; line-height: 20px; margin-top: 6px; display: block; }
.fnd-form__consent { font-size: 14px; line-height: 22px; font-weight: 400; }
.fnd-form__consent .wpcf7-list-item { margin: 0; }
.fnd-form__consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.fnd-form__consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.fnd-form__consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.fnd-form .btn { width: calc(100% + 20px); margin-inline: -10px; min-height: 54px; border-radius: 30px; }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .btn { opacity: .7; pointer-events: none; }
.fnd-form .btn:disabled { opacity: .45; cursor: not-allowed; }
.wpcf7 form .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output { display: block; }
.wpcf7-response-output { margin: 4px 0 0 !important; border: 0 !important; border-radius: 8px; padding: 14px 18px !important; font-size: 15px; line-height: 22px; background: #eef5ee; color: #1f4d2b; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { background: #fdecea; color: #8a2a1f; }
.fnd-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ text block */
.textblock--center { text-align: center; }
.textblock .h2 { margin-bottom: 24px; }
.textblock .btn { margin-top: 28px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #fff; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; flex-wrap: wrap; padding-block: 20px; }
.footer__links { display: flex; gap: 12px 33px; flex-wrap: wrap; }
.footer__links li + li { position: relative; }
.footer__links li + li::before { content: "·"; position: absolute; left: -18px; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 767px) { .footer__row { flex-direction: column; align-items: flex-start; } }

/* ----------------------------------------------------------- legal pages */
.legal { padding-block: 72px 96px; min-height: 60vh; }
.legal h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 300; margin-bottom: 32px; }
.legal__body > * + * { margin-top: 18px; }
.legal__body h2 { font-size: 26px; line-height: 32px; font-weight: 700; color: var(--navy); margin-top: 40px; }
.legal__body ul { list-style: disc; padding-left: 1.3em; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }

/* ---------------------------------------------------------- soft reveals */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in [data-stagger] > * { opacity: 1; transform: none; }
.js [data-reveal].is-in [data-stagger] > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal].is-in [data-stagger] > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].is-in [data-stagger] > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal].is-in [data-stagger] > *:nth-child(n+5) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; transition: none; }
	.carousel__track { transition: none; }
}

/* anchors land below the sticky header */
.sec[id] { scroll-margin-top: var(--header-h); }

/* Send button: 10px wider than the fields on desktop (as in the design), same width as the fields on tablet and phone. */
@media (max-width: 1099px) { .fnd-form .btn { width: 100%; margin-inline: 0; } }

/* Touch targets: at least ~44px to tap on tablet and phone, without changing how things look. */
@media (max-width: 1099px) {
	.carousel__dot { position: relative; }
	.carousel__dot::after { content: ""; position: absolute; inset: -15px -5px; }
	.announce__link { padding-block: 10px; }
	.contact__mail { padding-block: 10px; }
	.footer__links a { display: inline-block; padding-block: 11px; }
	.footer__links { row-gap: 0; }
	.nav__langs a { min-height: 44px; }
}
