/* =========================================================
   Var Mısın homepage — navy + red brand
   (local)
   ========================================================= */

.varmis-home {
	--wfp-teal: #0068D0;
	--wfp-teal-deep: #004A96;
	--wfp-donate: #F80000;
	--wfp-donate-ink: #ffffff;
	--wfp-ink: #101820;
	--wfp-ink-soft: #4a5560;
	--wfp-paper: #ffffff;
	--wfp-mist: #f4f6f7;
	--wfp-dark: #0c1520;
	--wfp-dark-2: #162033;
	--wfp-line: rgba(16, 24, 32, 0.1);
	--wfp-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--wfp-sans: 'Outfit', 'Segoe UI', sans-serif;
	--wfp-display: 'Fraunces', Georgia, serif;
	color: var(--wfp-ink);
	font-family: var(--wfp-sans);
	background: var(--wfp-paper);
	overflow-x: hidden;
}

.varmis-home *,
.varmis-home *::before,
.varmis-home *::after {
	box-sizing: border-box;
}

.wfp-wrap {
	width: min(1180px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.wfp-h2 {
	margin: 0 0 1rem;
	font-family: var(--wfp-display);
	font-size: clamp(1.9rem, 3.6vw, 2.85rem);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: inherit;
}

.wfp-section-head {
	max-width: 40rem;
	margin: 0 0 2.5rem;
}

.wfp-section-head p {
	margin: 0;
	color: var(--wfp-ink-soft);
	font-size: 1.08rem;
	line-height: 1.55;
}

.wfp-section-head--light {
	color: #fff;
}

.wfp-section-head--light p {
	color: rgba(255, 255, 255, 0.78);
}

.wfp-center {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

/* Buttons */
.wfp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.7rem 1.35rem;
	border-radius: 2px;
	font-family: var(--wfp-sans);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: transform 0.3s var(--wfp-ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wfp-btn:hover {
	transform: translateY(-2px);
}

.wfp-btn--donate {
	background: var(--wfp-donate);
	color: var(--wfp-donate-ink) !important;
	border-color: var(--wfp-donate);
}

.wfp-btn--donate:hover {
	background: #C40000;
	color: var(--wfp-donate-ink) !important;
}

.wfp-btn--light {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.75);
}

.wfp-btn--light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff !important;
}

.wfp-btn--light-solid {
	background: #fff;
	color: var(--wfp-ink) !important;
}

.wfp-btn--light-solid:hover {
	background: var(--wfp-mist);
	color: var(--wfp-ink) !important;
}

.wfp-btn--outline {
	background: transparent;
	color: var(--wfp-ink) !important;
	border-color: rgba(16, 24, 32, 0.25);
}

.wfp-btn--outline:hover {
	border-color: var(--wfp-teal);
	color: var(--wfp-teal) !important;
}

.wfp-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.35rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--wfp-teal) !important;
	text-decoration: none !important;
}

.wfp-text-link::after {
	content: '→';
	transition: transform 0.3s var(--wfp-ease);
}

.wfp-text-link:hover::after {
	transform: translateX(4px);
}

.wfp-text-link--light {
	color: #fff !important;
}

.wfp-chip {
	display: inline-block;
	margin-bottom: 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wfp-teal);
}

.wfp-chip--on-dark {
	color: var(--wfp-donate);
}

/* ---------- Hero (WFP story banner) ---------- */
.wfp-hero {
	position: relative;
	min-height: min(88vh, 820px);
	background: var(--wfp-dark);
	overflow: hidden;
}

.wfp-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s var(--wfp-ease), visibility 0.7s;
}

.wfp-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.wfp-hero__slide[hidden] {
	display: flex !important; /* keep layout; visibility handled above */
}

.wfp-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.wfp-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transform: scale(1.04);
	animation: wfp-kenburns 16s var(--wfp-ease) infinite alternate;
}

.wfp-hero__slide:not(.is-active) .wfp-hero__media img {
	animation: none;
}

.wfp-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 16, 24, 0.88) 0%, rgba(8, 16, 24, 0.45) 55%, rgba(8, 16, 24, 0.25) 100%),
		linear-gradient(to top, rgba(8, 16, 24, 0.75) 0%, transparent 42%);
}

.wfp-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 6.5rem 0 5rem;
	max-width: 42rem;
	margin-left: max(1.25rem, calc((100% - 1180px) / 2));
	animation: wfp-rise 0.85s var(--wfp-ease) both;
}

.wfp-brand-logo {
	display: block;
	height: auto;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.wfp-brand-logo--hero {
	width: min(320px, 72vw);
	margin: 0 0 1.15rem;
	filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}

.wfp-brand-logo--section {
	width: min(260px, 70vw);
	margin: 0 0 1.15rem;
}

.wfp-brand-logo--panel {
	width: min(220px, 70%);
	margin: 0.15rem 0 0.45rem;
}

.wfp-section-head .wfp-brand-logo--section {
	margin-bottom: 1rem;
}

.wfp-hero__brand {
	/* legacy text brand removed — logo used instead */
	display: none;
}

.wfp-hero__title {
	margin: 0 0 1rem;
	font-family: var(--wfp-sans);
	font-size: clamp(1.55rem, 3.2vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}

.wfp-hero__excerpt {
	margin: 0 0 1.6rem;
	max-width: 34rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
}

.wfp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.wfp-hero__nav {
	position: absolute;
	left: 50%;
	bottom: 1.4rem;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 0.55rem;
}

.wfp-hero__dot {
	width: 2.4rem;
	height: 3px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

.wfp-hero__dot.is-active {
	background: var(--wfp-donate);
	transform: scaleY(1.4);
}

.wfp-hero__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* ---------- Mission + stats ---------- */
.wfp-mission {
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	background: var(--wfp-mist);
	border-bottom: 1px solid var(--wfp-line);
}

.wfp-mission__intro {
	max-width: 40rem;
	margin-bottom: 2.75rem;
}

.wfp-mission__text {
	margin: 0 0 1.1rem;
	font-size: 1.12rem;
	line-height: 1.65;
	color: var(--wfp-ink-soft);
}

.wfp-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--wfp-line);
	border: 1px solid var(--wfp-line);
}

.wfp-stat {
	padding: 1.75rem 1.4rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.wfp-stat__num {
	font-family: var(--wfp-display);
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--wfp-teal);
}

.wfp-stat__label {
	font-size: 0.98rem;
	line-height: 1.4;
	color: var(--wfp-ink-soft);
	max-width: 16rem;
}

/* ---------- Stories ---------- */
.wfp-stories {
	padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.wfp-stories__layout {
	display: grid;
	grid-template-columns: 1.7fr 0.85fr;
	gap: 2rem;
	align-items: start;
}

.wfp-stories__grid {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.wfp-story {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

.wfp-story__media {
	display: block;
	overflow: hidden;
	min-height: 200px;
}

.wfp-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.65s var(--wfp-ease);
}

.wfp-story:hover .wfp-story__media img {
	transform: scale(1.04);
}

.wfp-story__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.25rem 0;
}

.wfp-story__title {
	margin: 0 0 0.65rem;
	font-family: var(--wfp-display);
	font-size: 1.35rem;
	font-weight: 650;
	line-height: 1.25;
}

.wfp-story__title a {
	color: var(--wfp-ink) !important;
	text-decoration: none !important;
}

.wfp-story__title a:hover {
	color: var(--wfp-teal) !important;
}

.wfp-story__body p {
	margin: 0 0 0.85rem;
	color: var(--wfp-ink-soft);
	line-height: 1.55;
	font-size: 0.98rem;
}

.wfp-goodnews {
	padding: 1.5rem 1.4rem 1.6rem;
	background: var(--wfp-mist);
	border-top: 3px solid var(--wfp-teal);
	position: sticky;
	top: 6rem;
}

.wfp-goodnews__title {
	margin: 0 0 1rem;
	font-family: var(--wfp-display);
	font-size: 1.35rem;
	font-weight: 650;
}

.wfp-goodnews__list {
	margin: 0 0 1.35rem;
	padding: 0 0 0 1.15rem;
}

.wfp-goodnews__list li {
	margin-bottom: 0.85rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--wfp-line);
	line-height: 1.4;
}

.wfp-goodnews__list li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.wfp-goodnews__list a {
	color: var(--wfp-ink) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.95rem;
}

.wfp-goodnews__list a:hover {
	color: var(--wfp-teal) !important;
}

/* ---------- Work areas ---------- */
.wfp-work {
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
	background: var(--wfp-mist);
}

.wfp-work__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem;
}

.wfp-work__card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	text-decoration: none !important;
	color: #fff;
}

.wfp-work__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--wfp-ease);
}

.wfp-work__card:hover img {
	transform: scale(1.06);
}

.wfp-work__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 16, 24, 0.9) 0%, rgba(8, 16, 24, 0.15) 55%);
}

.wfp-work__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.15rem 1.2rem 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.wfp-work__title {
	font-family: var(--wfp-display);
	font-size: 1.35rem;
	font-weight: 650;
	line-height: 1.2;
}

/* ---------- Make your impact ---------- */
.wfp-impact {
	padding: clamp(3.5rem, 8vw, 5.75rem) 0;
	background:
		radial-gradient(700px 360px at 80% 0%, rgba(0, 104, 208, 0.28), transparent 60%),
		linear-gradient(165deg, var(--wfp-dark) 0%, var(--wfp-dark-2) 100%);
	color: #fff;
}

.wfp-impact__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
}

.wfp-impact__card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.wfp-impact__card > img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.wfp-impact__body {
	padding: 1.35rem 1.3rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.wfp-impact__body h3 {
	margin: 0 0 0.65rem;
	font-family: var(--wfp-display);
	font-size: 1.4rem;
	font-weight: 650;
	color: rgba(255, 255, 255, 0.78) !important;
}

.wfp-impact__body p {
	margin: 0 0 0.85rem;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.55;
	font-size: 0.98rem;
}

.wfp-impact__body ul {
	margin: 0 0 1.25rem;
	padding: 0 0 0 1.1rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
	line-height: 1.55;
	flex: 1;
}

.wfp-impact__body ul li {
	margin-bottom: 0.25rem;
}

/* ---------- Where we work — white/grey globe, teal select ---------- */
.wfp-where {
	--wfp-map-teal: #0068D0;
	--wfp-map-teal-deep: #004A96;
	--wfp-map-ink: #1a222c;
	--wfp-map-muted: #5c6770;
	--wfp-map-bg: transparent;
	--wfp-map-line: #d7dde3;
	padding: clamp(3.25rem, 7vw, 5.25rem) 0 3rem;
	background: transparent;
}

.wfp-where__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

.wfp-where__head .wfp-section-head {
	margin: 0;
	max-width: 36rem;
}

.wfp-where__all {
	flex-shrink: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--wfp-map-ink) !important;
	text-decoration: none !important;
	border-bottom: 2px solid var(--wfp-map-teal);
	padding-bottom: 0.15rem;
	transition: color 0.2s ease;
}

.wfp-where__all:hover {
	color: var(--wfp-map-teal) !important;
}

.wfp-map {
	width: min(1180px, calc(100% - 2.5rem));
	margin: 0 auto 2rem;
}

.wfp-map__canvas-wrap {
	position: relative;
	background: transparent;
	border: none;
	overflow: visible;
	min-height: 440px;
}

.wfp-globe {
	width: 100%;
	min-height: 440px;
	cursor: grab;
	background: transparent;
	position: relative;
}

.wfp-globe.is-loading::after {
	content: 'Harita yükleniyor…';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--wfp-map-muted);
	pointer-events: none;
}

.wfp-globe:active {
	cursor: grabbing;
}

.wfp-globe canvas {
	display: block;
	width: 100% !important;
	outline: none;
	background: transparent !important;
}

.wfp-globe-fallback {
	margin: 0;
	padding: 3rem 1rem;
	text-align: center;
	color: var(--wfp-map-muted);
	font-weight: 600;
}

.wfp-map__overlay {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 3;
	pointer-events: none;
	max-width: min(300px, calc(100% - 2rem));
}

.wfp-map__popup {
	pointer-events: auto;
	background: #fff;
	border-left: 4px solid var(--wfp-map-teal);
	box-shadow: 0 10px 28px rgba(26, 34, 44, 0.1);
	padding: 1rem 1.1rem 1.05rem;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.wfp-map__popup.is-visible {
	opacity: 1;
	transform: none;
}

.wfp-map__popup-scope {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wfp-map-teal);
}

.wfp-map__popup-name {
	display: block;
	margin: 0 0 0.4rem;
	font-family: var(--wfp-sans);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--wfp-map-ink);
	line-height: 1.2;
}

.wfp-map__popup p {
	margin: 0 0 0.7rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--wfp-map-muted);
}

.wfp-map__popup-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--wfp-map-teal) !important;
	text-decoration: none !important;
	border-bottom: 2px solid var(--wfp-map-teal);
}

.wfp-map__popup-link::after {
	content: '→';
}

.wfp-map__popup-link:hover {
	color: var(--wfp-map-teal-deep) !important;
}

.wfp-map__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding: 0.85rem 0 0.35rem;
	border-bottom: 1px solid var(--wfp-map-line);
}

.wfp-map__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--wfp-map-muted);
}

.wfp-map__legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.wfp-map__swatch {
	display: inline-block;
	width: 18px;
	height: 10px;
	flex-shrink: 0;
}

.wfp-map__swatch--active {
	background: #c8ccd1;
}

.wfp-map__swatch--selected {
	background: var(--wfp-map-teal);
}

.wfp-map__swatch--line {
	height: 2px;
	background: #9aa0a6;
	align-self: center;
}

.wfp-globe-hint {
	margin: 0;
	font-size: 0.75rem;
	color: var(--wfp-map-muted);
	letter-spacing: 0.02em;
}

.wfp-map__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.wfp-map__chip {
	appearance: none;
	border: 1px solid var(--wfp-map-line);
	background: #fff;
	color: var(--wfp-map-ink);
	font-family: var(--wfp-sans);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.5rem 0.9rem;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wfp-map__chip:hover {
	border-color: var(--wfp-map-teal);
	color: var(--wfp-map-teal);
}

.wfp-map__chip.is-active {
	background: var(--wfp-map-teal);
	border-color: var(--wfp-map-teal);
	color: #fff;
}

.wfp-map__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	background: var(--wfp-map-line);
	border: 1px solid var(--wfp-map-line);
}

.wfp-map__stats li {
	background: #fff;
	padding: 1.25rem 1.15rem;
}

.wfp-map__stat-num {
	display: block;
	font-family: var(--wfp-sans);
	font-size: clamp(1.85rem, 3.2vw, 2.4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--wfp-map-teal);
	margin-bottom: 0.4rem;
}

.wfp-map__stat-label {
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--wfp-map-muted);
}

.wfp-globe-note {
	margin: 1rem 0 0;
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--wfp-map-muted);
	max-width: 70rem;
}

.wfp-where__mosaic {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.65rem;
}

.wfp-where__tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	min-height: 0;
	text-decoration: none !important;
	color: #fff;
	isolation: isolate;
}

.wfp-where__tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.85s var(--wfp-ease);
}

.wfp-where__tile:hover img {
	transform: scale(1.06);
}

.wfp-where__tile::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--wfp-teal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--wfp-ease);
	z-index: 2;
}

.wfp-where__tile:hover::after {
	transform: scaleX(1);
}

.wfp-where__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(8, 16, 24, 0.9) 0%, rgba(8, 16, 24, 0.25) 48%, rgba(8, 16, 24, 0.08) 100%);
	z-index: 1;
	transition: background 0.45s var(--wfp-ease);
}

.wfp-where__tile:hover .wfp-where__veil {
	background:
		linear-gradient(to top, rgba(4, 96, 98, 0.78) 0%, rgba(8, 16, 24, 0.28) 55%, rgba(8, 16, 24, 0.1) 100%);
}

.wfp-where__copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.9rem 0.85rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	z-index: 2;
}

.wfp-where__name {
	font-family: var(--wfp-display);
	font-size: clamp(0.95rem, 1.15vw, 1.2rem);
	font-weight: 650;
	color: #fff;
	line-height: 1.15;
}

.wfp-where__tile .wfp-chip {
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	padding: 0.22rem 0.45rem;
}

.wfp-where__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wfp-where__tags a {
	display: inline-block;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--wfp-line);
	color: var(--wfp-ink) !important;
	text-decoration: none !important;
	font-size: 0.88rem;
	font-weight: 600;
}

.wfp-globe-panel,
.wfp-globe-panel__stage,
.wfp-globe-panel__side,
.wfp-globe-list {
	display: contents;
}

/* ---------- Gallery ---------- */
.wfp-gallery {
	padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}

.wfp-gallery__row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.45rem;
}

.wfp-gallery__item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
}

.wfp-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--wfp-ease);
}

.wfp-gallery__item:hover img {
	transform: scale(1.06);
}

/* ---------- WhatsApp ---------- */
/* Site WhatsApp button is rendered globally from footer.php (#whatsapp-bottom-buton). */

/* ---------- Motion ---------- */
.vh-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.75s var(--wfp-ease), transform 0.75s var(--wfp-ease);
	transition-delay: var(--vh-delay, 0s);
}

.vh-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes wfp-rise {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes wfp-kenburns {
	from {
		transform: scale(1.04);
	}
	to {
		transform: scale(1.12) translate3d(-1%, -0.5%, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wfp-hero__media img,
	.wfp-hero__inner,
	.vh-reveal {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.wfp-stats,
	.wfp-impact__grid,
	.wfp-work__grid {
		grid-template-columns: 1fr 1fr;
	}

	.wfp-stories__layout {
		grid-template-columns: 1fr;
	}

	.wfp-where__mosaic {
		display: flex;
		flex-wrap: nowrap;
		gap: 0.55rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding-bottom: 0.35rem;
		grid-template-columns: none;
	}

	.wfp-where__tile {
		flex: 0 0 calc((100% - 1.1rem) / 3);
		aspect-ratio: 3 / 4;
		scroll-snap-align: start;
	}

	.wfp-where__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.wfp-map__stats {
		grid-template-columns: 1fr;
	}

	.wfp-map__overlay {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		max-width: none;
	}

	.wfp-goodnews {
		position: static;
	}

	.wfp-gallery__row {
		grid-template-columns: repeat(3, 1fr);
	}

	.wfp-hero__inner {
		margin-left: auto;
		margin-right: auto;
	}

	.wfp-globe-panel__stage {
		min-height: 380px;
	}
}

@media (max-width: 700px) {
	.wfp-wrap {
		width: calc(100% - 1.6rem);
	}

	.wfp-stats,
	.wfp-impact__grid,
	.wfp-work__grid,
	.wfp-story {
		grid-template-columns: 1fr;
	}

	.wfp-where__tile {
		flex-basis: calc((100% - 0.55rem) / 2.15);
	}

	.wfp-gallery__row {
		grid-template-columns: repeat(2, 1fr);
	}

	.wfp-hero {
		min-height: min(86vh, 680px);
	}

	.wfp-hero__inner {
		padding: 5.5rem 0 4.25rem;
	}

	.wfp-story__media {
		min-height: 220px;
		aspect-ratio: 16 / 10;
	}
}
