/* ============================================================
   HALLF Foundation — Theme Stylesheet
   Brand: royal blue #1B2DD3 / red accent #E63946 / charcoal #1F2330
   Mobile-first. Elementor-aware (light selectors).
   ============================================================ */

:root {
	--hallf-blue:        #1B2DD3;
	--hallf-blue-dark:   #0F1B8A;
	--hallf-blue-soft:   #F2F5FF;
	--hallf-red:         #E63946;
	--hallf-red-dark:    #C9202D;
	--hallf-charcoal:    #1F2330;
	--hallf-text:        #2A2F3D;
	--hallf-text-soft:   #5B6275;
	--hallf-border:      #E5E8F2;
	--hallf-bg:          #FFFFFF;
	--hallf-bg-soft:     #F7F9FE;

	--hallf-radius-sm:   8px;
	--hallf-radius:      14px;
	--hallf-radius-lg:   22px;

	--hallf-shadow-sm:   0 1px 2px rgba(15, 27, 138, 0.06);
	--hallf-shadow:      0 4px 24px rgba(15, 27, 138, 0.08);
	--hallf-shadow-lg:   0 18px 50px rgba(15, 27, 138, 0.14);

	--hallf-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--hallf-font-display: 'Plus Jakarta Sans', var(--hallf-font-body);

	--hallf-container:    1200px;
	--hallf-gutter:       1.25rem;
	--hallf-header-h:     76px;
}

/* ------------------------------------------------------------
   Base reset
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--hallf-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--hallf-text);
	background: var(--hallf-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--hallf-blue);
	text-decoration: none;
	transition: color .2s ease;
}
a:hover, a:focus { color: var(--hallf-red); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hallf-font-display);
	font-weight: 700;
	color: var(--hallf-charcoal);
	line-height: 1.2;
	margin: 0 0 .6em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }

/* Screen reader only */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	background: var(--hallf-blue); color: #fff; padding: .75rem 1rem;
	position: absolute; left: -9999px; top: 0; z-index: 1000; border-radius: 0 0 var(--hallf-radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------
   Container & helpers
   ------------------------------------------------------------ */
.hallf-container {
	width: 100%;
	max-width: var(--hallf-container);
	margin: 0 auto;
	padding: 0 var(--hallf-gutter);
}

.hallf-eyebrow {
	display: inline-block;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	font-size: .8125rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hallf-blue);
	margin-bottom: .75rem;
}

.hallf-section {
	padding: clamp(3rem, 8vw, 6rem) 0;
}
.hallf-section--soft { background: var(--hallf-bg-soft); }
.hallf-section--dark {
	background: linear-gradient(135deg, var(--hallf-blue-dark) 0%, var(--hallf-blue) 100%);
	color: #fff;
}
.hallf-section--cta {
	background: var(--hallf-charcoal);
	color: #fff;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.hallf-section--dark h1, .hallf-section--dark h2, .hallf-section--dark h3,
.hallf-section--cta h1, .hallf-section--cta h2, .hallf-section--cta h3 { color: #fff; }

.hallf-section-head { margin-bottom: 2.5rem; max-width: 720px; }
.hallf-section-head--centered { margin-left: auto; margin-right: auto; text-align: center; }
.hallf-section-title { margin-bottom: .5rem; }
.hallf-section-lede { color: var(--hallf-text-soft); font-size: 1.05rem; margin: 0; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.hallf-btn {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: .85em 1.4em;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1;
	letter-spacing: .01em;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
	text-decoration: none;
	white-space: nowrap;
}
.hallf-btn:hover, .hallf-btn:focus { transform: translateY(-1px); }
.hallf-btn:focus-visible { outline: 3px solid rgba(27, 45, 211, .35); outline-offset: 2px; }

.hallf-btn--primary {
	background: var(--hallf-red);
	color: #fff;
	box-shadow: 0 8px 22px rgba(230, 57, 70, .3);
}
.hallf-btn--primary:hover, .hallf-btn--primary:focus { background: var(--hallf-red-dark); color: #fff; }

.hallf-btn--ghost {
	background: transparent;
	color: var(--hallf-charcoal);
	border-color: var(--hallf-charcoal);
}
.hallf-btn--ghost:hover, .hallf-btn--ghost:focus { background: var(--hallf-charcoal); color: #fff; }

.hallf-section--dark .hallf-btn--ghost,
.hallf-section--cta  .hallf-btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hallf-section--dark .hallf-btn--ghost:hover,
.hallf-section--cta  .hallf-btn--ghost:hover { background: #fff; color: var(--hallf-charcoal); }

.hallf-btn--white {
	background: #fff;
	color: var(--hallf-blue-dark);
}
.hallf-btn--white:hover, .hallf-btn--white:focus { background: var(--hallf-blue-soft); color: var(--hallf-blue-dark); }

.hallf-btn--donate {
	background: var(--hallf-red);
	color: #fff;
	font-size: .9rem;
	padding: .75em 1.25em;
	box-shadow: 0 6px 16px rgba(230, 57, 70, .28);
}
.hallf-btn--donate:hover, .hallf-btn--donate:focus { background: var(--hallf-red-dark); color: #fff; }

/* ------------------------------------------------------------
   Topbar
   ------------------------------------------------------------ */
.hallf-topbar {
	background: var(--hallf-blue-dark);
	color: rgba(255, 255, 255, .92);
	font-size: .85rem;
}
.hallf-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	padding: .55rem var(--hallf-gutter);
}
.hallf-topbar__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.4rem;
}
.hallf-topbar__contact li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: rgba(255,255,255,.92);
}
.hallf-topbar__contact svg { color: rgba(255,255,255,.7); flex-shrink: 0; }
.hallf-topbar__link { color: #fff; }
.hallf-topbar__link:hover { color: #fff; opacity: .8; }
.hallf-topbar__address { display: none; }
.hallf-topbar__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: .35rem;
}
.hallf-topbar__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255,255,255,.08);
	transition: background .2s ease, transform .15s ease;
}
.hallf-topbar__socials a:hover { background: var(--hallf-red); transform: translateY(-1px); }
.hallf-topbar__socials svg { width: 14px; height: 14px; }

@media (min-width: 768px) {
	.hallf-topbar__address { display: inline-flex; }
}

/* ------------------------------------------------------------
   Site header / nav
   ------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--hallf-border);
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--hallf-shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .85rem var(--hallf-gutter);
}

.site-branding .custom-logo,
.hallf-logo-img {
	height: 50px;
	width: auto;
	display: block;
}
@media (min-width: 992px) {
	.site-branding .custom-logo,
	.hallf-logo-img { height: 60px; }
}

/* Nav */
.main-navigation { position: relative; }

.menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--hallf-border);
	border-radius: 8px;
	cursor: pointer;
}
.menu-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--hallf-charcoal);
	margin: 0 auto;
	transition: transform .25s ease, opacity .25s ease;
}
.main-navigation.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.main-navigation.is-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.main-navigation.is-open .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;

	position: fixed;
	top: var(--hallf-header-h, 64px);
	left: 1rem;
	right: 1rem;
	background: #fff;
	border: 1px solid var(--hallf-border);
	border-radius: var(--hallf-radius);
	box-shadow: var(--hallf-shadow-lg);
	max-height: calc(100vh - var(--hallf-header-h, 64px) - 2rem);
	overflow-y: auto;
	padding: .5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	z-index: 99;
}
.main-navigation.is-open .primary-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu li { display: block; }
.primary-menu a {
	display: block;
	padding: .75rem 1rem;
	color: var(--hallf-charcoal);
	font-family: var(--hallf-font-display);
	font-weight: 600;
	border-radius: var(--hallf-radius-sm);
}
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--hallf-blue-soft); color: var(--hallf-blue); }
.primary-menu .sub-menu { list-style: none; padding-left: 1rem; margin: 0; }

@media (min-width: 992px) {
	.menu-toggle { display: none; }
	.primary-menu {
		position: static;
		flex-direction: row;
		gap: .25rem;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0;
		min-width: 0;
		max-height: none;
		overflow: visible;
		left: auto;
		right: auto;
	}
	.primary-menu a { padding: .55rem .9rem; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hallf-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
	background: linear-gradient(135deg, var(--hallf-blue-soft) 0%, #ffffff 100%);
}
.hallf-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 85% 15%, rgba(27, 45, 211, .08) 0, transparent 45%),
		radial-gradient(circle at 10% 85%, rgba(230, 57, 70, .07) 0, transparent 40%);
}
.hallf-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
.hallf-hero__title {
	font-size: clamp(2.1rem, 5vw, 3.6rem);
	margin-bottom: 1rem;
	line-height: 1.08;
}
.hallf-hero__title-accent {
	display: block;
	color: var(--hallf-red);
}
.hallf-hero__lede {
	font-size: 1.1rem;
	color: var(--hallf-text-soft);
	max-width: 540px;
	margin-bottom: 1.75rem;
}
.hallf-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hallf-hero__media {
	position: relative;
	border-radius: var(--hallf-radius-lg);
	overflow: hidden;
	box-shadow: var(--hallf-shadow-lg);
	aspect-ratio: 4 / 3;
}
.hallf-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hallf-hero__badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	background: #fff;
	border-radius: var(--hallf-radius);
	padding: .85rem 1.1rem;
	box-shadow: var(--hallf-shadow);
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.hallf-hero__badge-num {
	font-family: var(--hallf-font-display);
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--hallf-blue);
}
.hallf-hero__badge-label {
	font-size: .75rem;
	color: var(--hallf-text-soft);
	margin-top: .25rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

@media (min-width: 992px) {
	.hallf-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* ----- Hero slider variant (full-bleed background) ----- */
.hallf-hero--slider {
	background: var(--hallf-charcoal);
	min-height: clamp(440px, 75vh, 680px);
	display: flex;
	align-items: center;
	padding: clamp(3rem, 8vw, 6rem) 0;
}
.hallf-hero--slider .hallf-hero__inner {
	grid-template-columns: 1fr;
	max-width: 760px;
	margin-right: auto;
	margin-left: 0;
	padding-left: var(--hallf-gutter);
	padding-right: var(--hallf-gutter);
}
.hallf-hero--slider .hallf-hero__title {
	color: #fff;
	text-shadow: 0 2px 18px rgba(0,0,0,.35);
	font-size: clamp(2rem, 6vw, 3.8rem);
}
.hallf-hero--slider .hallf-hero__title-accent {
	color: #FFD9DD;
}
.hallf-hero--slider .hallf-hero__lede {
	color: rgba(255, 255, 255, .92);
	max-width: 560px;
	font-size: 1.05rem;
	text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.hallf-hero-slider {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
}
.hallf-hero-slider__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.05);
	transition: opacity 1.4s ease, transform 7s ease;
	will-change: opacity, transform;
}
.hallf-hero-slider__slide.is-active {
	opacity: 1;
	transform: scale(1);
}
.hallf-hero-slider__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(15, 27, 138, .82) 0%, rgba(15, 27, 138, .55) 50%, rgba(15, 27, 138, .25) 100%),
		linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 50%);
	pointer-events: none;
}
.hallf-hero-slider__dots {
	position: absolute;
	bottom: 1.25rem;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: .5rem;
	padding: 0 var(--hallf-gutter);
	z-index: 3;
}
.hallf-hero-slider__dot {
	width: 32px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, .4);
	cursor: pointer;
	transition: background .25s ease, width .25s ease;
}
.hallf-hero-slider__dot:hover { background: rgba(255, 255, 255, .65); }
.hallf-hero-slider__dot.is-active {
	background: var(--hallf-red);
	width: 44px;
}
@media (min-width: 992px) {
	.hallf-hero--slider { min-height: clamp(540px, 80vh, 760px); }
	.hallf-hero-slider__dots { bottom: 1.75rem; }
}

/* On-image eyebrow + ghost-light button (used inside the slider hero) */
.hallf-eyebrow--on-image {
	background: rgba(255, 255, 255, .15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .3);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: .45rem 1rem;
	border-radius: 999px;
}
.hallf-btn--ghost-light {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .8);
}
.hallf-btn--ghost-light:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	border-color: #fff;
}

/* ------------------------------------------------------------
   Mission / Vision cards
   ------------------------------------------------------------ */
.hallf-mv-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
.hallf-mv-card {
	background: #fff;
	border: 1px solid var(--hallf-border);
	border-radius: var(--hallf-radius);
	padding: 1.75rem;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hallf-mv-card:hover { transform: translateY(-3px); box-shadow: var(--hallf-shadow); border-color: transparent; }
.hallf-mv-card__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--hallf-blue-soft);
	color: var(--hallf-blue);
	margin-bottom: 1rem;
}
.hallf-mv-card--featured {
	background: linear-gradient(135deg, var(--hallf-blue) 0%, var(--hallf-blue-dark) 100%);
	color: #fff;
	border-color: transparent;
}
.hallf-mv-card--featured h3 { color: #fff; }
.hallf-mv-card--featured p { color: rgba(255,255,255,.92); }
.hallf-mv-card--featured .hallf-mv-card__icon {
	background: rgba(255,255,255,.15);
	color: var(--hallf-red);
}

@media (min-width: 768px) { .hallf-mv-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ------------------------------------------------------------
   Programs grid
   ------------------------------------------------------------ */
.hallf-program-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 640px) { .hallf-program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hallf-program-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.hallf-program-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--hallf-radius);
	overflow: hidden;
	box-shadow: var(--hallf-shadow-sm);
	border: 1px solid var(--hallf-border);
	transition: transform .25s ease, box-shadow .25s ease;
}
.hallf-program-card:hover { transform: translateY(-4px); box-shadow: var(--hallf-shadow-lg); }
.hallf-program-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--hallf-blue-soft);
}
.hallf-program-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.hallf-program-card:hover .hallf-program-card__media img { transform: scale(1.05); }
.hallf-program-card__body { padding: 1.5rem; }
.hallf-program-card__icon {
	display: inline-block;
	font-size: 1.5rem;
	margin-bottom: .35rem;
}
.hallf-program-card h3 { margin-bottom: .5rem; }
.hallf-program-card p { color: var(--hallf-text-soft); margin: 0; }

/* Clickable program card variant (programs page) */
.hallf-programs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 640px)  { .hallf-programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hallf-programs-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.hallf-program-card--clickable {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--hallf-radius);
	overflow: hidden;
	box-shadow: var(--hallf-shadow-sm);
	border: 1px solid var(--hallf-border);
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease;
	cursor: pointer;
}
.hallf-program-card--clickable:hover {
	transform: translateY(-5px);
	box-shadow: var(--hallf-shadow-lg);
	color: inherit;
}
.hallf-program-card--clickable:focus-visible {
	outline: 3px solid var(--hallf-blue);
	outline-offset: 2px;
}

.hallf-program-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--hallf-blue-soft);
}
.hallf-program-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.hallf-program-card--clickable:hover .hallf-program-card__image img { transform: scale(1.06); }
.hallf-program-card__icon-badge {
	position: absolute;
	top: .85rem;
	left: .85rem;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 50%;
	font-size: 1.4rem;
	box-shadow: var(--hallf-shadow);
}
.hallf-program-card__title {
	font-family: var(--hallf-font-display);
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--hallf-charcoal);
	margin: 0 0 .5rem;
}
.hallf-program-card__excerpt {
	color: var(--hallf-text-soft);
	font-size: .95rem;
	line-height: 1.55;
	margin: 0 0 1rem;
}
.hallf-program-card__more {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	font-size: .9rem;
	color: var(--hallf-blue);
	transition: gap .25s ease, color .25s ease;
}
.hallf-program-card--clickable:hover .hallf-program-card__more {
	color: var(--hallf-red);
	gap: .55rem;
}

/* ------------------------------------------------------------
   Program modal
   ------------------------------------------------------------ */
.hallf-program-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 1rem;
	overflow-y: auto;
}
.hallf-program-modal.is-open { display: flex; }
.hallf-program-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 27, 138, .55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: hallf-fade-in .2s ease both;
}
.hallf-program-modal__panel {
	position: relative;
	width: 100%;
	max-width: 880px;
	background: #fff;
	border-radius: var(--hallf-radius-lg);
	box-shadow: var(--hallf-shadow-lg);
	margin: 1rem auto 2rem;
	overflow: hidden;
	animation: hallf-pop-in .25s cubic-bezier(.2,.8,.3,1.2) both;
}
@keyframes hallf-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes hallf-pop-in {
	from { opacity: 0; transform: translateY(12px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hallf-program-modal__close {
	position: absolute;
	top: .85rem;
	right: .85rem;
	z-index: 5;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--hallf-charcoal);
	cursor: pointer;
	box-shadow: var(--hallf-shadow);
	transition: background .2s ease, transform .15s ease;
}
.hallf-program-modal__close:hover {
	background: var(--hallf-red);
	color: #fff;
	transform: rotate(90deg);
}
.hallf-program-modal__body { padding: 0; }

.hallf-program-detail { padding: 1.5rem; }
@media (min-width: 768px) { .hallf-program-detail { padding: 2.5rem; } }

.hallf-program-detail__header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.hallf-program-detail__icon {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--hallf-blue-soft);
	border-radius: 16px;
	font-size: 1.8rem;
}
.hallf-program-detail__title {
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	margin: .25rem 0 0;
	color: var(--hallf-charcoal);
}

.hallf-program-gallery {
	margin-bottom: 1.5rem;
}
.hallf-program-gallery__main {
	aspect-ratio: 16 / 10;
	border-radius: var(--hallf-radius);
	overflow: hidden;
	background: var(--hallf-blue-soft);
	margin-bottom: .65rem;
}
.hallf-program-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hallf-program-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: .5rem;
}
.hallf-program-gallery__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--hallf-blue-soft);
	cursor: pointer;
	transition: border-color .2s ease, transform .15s ease;
}
.hallf-program-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hallf-program-gallery__thumb:hover { transform: translateY(-2px); }
.hallf-program-gallery__thumb.is-active { border-color: var(--hallf-red); }

.hallf-program-detail__body p {
	color: var(--hallf-text);
	line-height: 1.7;
	margin: 0 0 1rem;
}
.hallf-program-detail__body p:last-child { margin-bottom: 0; }

.hallf-program-detail__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hallf-border);
}

/* Body lock when modal is open */
body.has-modal-open { overflow: hidden; }

/* ------------------------------------------------------------
   Impact stats
   ------------------------------------------------------------ */
.hallf-impact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	text-align: center;
}
@media (min-width: 768px) { .hallf-impact-grid { grid-template-columns: repeat(4, 1fr); } }

.hallf-impact-stat { padding: 1rem .5rem; }
.hallf-impact-stat__num {
	display: block;
	font-family: var(--hallf-font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	color: #fff;
	line-height: 1;
}
.hallf-impact-stat__label {
	display: block;
	margin-top: .5rem;
	color: rgba(255,255,255,.85);
	font-size: .95rem;
	letter-spacing: .03em;
}

/* ------------------------------------------------------------
   Donate card
   ------------------------------------------------------------ */
.hallf-donate-card {
	position: relative;
	background: linear-gradient(135deg, var(--hallf-blue) 0%, var(--hallf-blue-dark) 100%);
	color: #fff;
	border-radius: var(--hallf-radius-lg);
	overflow: hidden;
	padding: clamp(2rem, 5vw, 3.5rem);
	box-shadow: var(--hallf-shadow-lg);
}
.hallf-donate-card::before {
	content: "";
	position: absolute;
	right: -80px; top: -80px;
	width: 280px; height: 280px;
	background: radial-gradient(circle, rgba(230, 57, 70, .35) 0, transparent 65%);
	pointer-events: none;
}
.hallf-donate-card::after {
	content: "♥";
	position: absolute;
	right: 1.5rem; bottom: 1rem;
	font-size: 12rem;
	color: rgba(230, 57, 70, .12);
	line-height: 1;
	pointer-events: none;
}
.hallf-donate-card__inner { position: relative; z-index: 1; max-width: 720px; }
.hallf-donate-card__eyebrow {
	display: inline-block;
	color: var(--hallf-red);
	background: rgba(255,255,255,.12);
	padding: .35rem .85rem;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.hallf-donate-card__title { color: #fff; margin-bottom: .75rem; }
.hallf-donate-card__lede { color: rgba(255,255,255,.92); margin-bottom: 1.75rem; }

.hallf-donate-card__details {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--hallf-radius);
	padding: 1.25rem 1.5rem;
	backdrop-filter: blur(6px);
	display: grid;
	grid-template-columns: 1fr;
	gap: .85rem;
}
.hallf-donate-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	border-bottom: 1px dashed rgba(255,255,255,.18);
	padding-bottom: .85rem;
}
.hallf-donate-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hallf-donate-label {
	color: rgba(255,255,255,.7);
	font-size: .85rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-weight: 600;
}
.hallf-donate-value {
	font-family: var(--hallf-font-display);
	font-weight: 700;
	color: #fff;
	font-size: 1.05rem;
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	flex-wrap: wrap;
	text-align: right;
}
.hallf-donate-value--big { font-size: 1.4rem; letter-spacing: .04em; }

.hallf-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	background: var(--hallf-red);
	color: #fff;
	border: 0;
	padding: .45rem .85rem;
	border-radius: 999px;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	font-size: .8rem;
	cursor: pointer;
	transition: background .2s ease;
}
.hallf-copy-btn:hover, .hallf-copy-btn:focus { background: var(--hallf-red-dark); }
.hallf-copy-btn.is-copied { background: #21a661; }

.hallf-donate-card__note {
	margin-top: 1.25rem;
	color: rgba(255,255,255,.7);
	font-size: .9rem;
}

/* ------------------------------------------------------------
   Partners
   ------------------------------------------------------------ */
.hallf-partners-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}
@media (min-width: 640px) { .hallf-partners-list { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; } }

.hallf-partner {
	background: #fff;
	border-radius: var(--hallf-radius);
	border: 1px solid var(--hallf-border);
	padding: 1.5rem;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hallf-partner:hover { transform: translateY(-2px); box-shadow: var(--hallf-shadow); }
.hallf-partner__name {
	font-family: var(--hallf-font-display);
	font-weight: 700;
	color: var(--hallf-charcoal);
	font-size: 1rem;
}

/* ------------------------------------------------------------
   CTA strip
   ------------------------------------------------------------ */
.hallf-cta-strip {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
}
.hallf-cta-strip__copy h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .35rem; }
.hallf-cta-strip__copy p { color: rgba(255,255,255,.85); margin: 0; }
.hallf-cta-strip__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 992px) {
	.hallf-cta-strip { grid-template-columns: 1.4fr 1fr; gap: 2rem; }
	.hallf-cta-strip__actions { justify-content: flex-end; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer { background: #0B1230; color: #cbd2ec; }
.site-footer h4.widget-title,
.site-footer .widget-title {
	color: #fff;
	font-size: 1rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

/* Donate strip on footer */
.hallf-footer-donate {
	background: linear-gradient(90deg, var(--hallf-red) 0%, var(--hallf-red-dark) 100%);
	color: #fff;
	padding: 2rem 0;
}
.hallf-footer-donate__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: center;
}
.hallf-footer-donate__copy h3 { color: #fff; margin-bottom: .25rem; font-size: 1.4rem; }
.hallf-footer-donate__copy p { color: rgba(255,255,255,.92); margin: 0; }

@media (min-width: 768px) {
	.hallf-footer-donate__inner { grid-template-columns: 1fr auto; gap: 2rem; }
}

.site-footer__main {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.25rem;
	padding: clamp(2.5rem, 5vw, 4rem) var(--hallf-gutter);
}
@media (min-width: 640px) { .site-footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-left: 0; padding-right: 0; max-width: var(--hallf-container); margin: 0 auto; padding-left: var(--hallf-gutter); padding-right: var(--hallf-gutter); } }

.site-footer__col--brand .hallf-logo-img,
.site-footer__col--brand .custom-logo {
	background: #fff;
	padding: .75rem;
	border-radius: var(--hallf-radius-sm);
	max-height: 80px;
	width: auto;
}
.site-footer__tagline {
	font-style: italic;
	color: #fff;
	font-family: var(--hallf-font-display);
	font-weight: 600;
	margin: 1rem 0 .5rem;
}
.site-footer__about { color: #cbd2ec; font-size: .92rem; }

.site-footer__col ul, .footer-menu, .site-footer__contact, .site-footer__partners {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-menu li, .site-footer__partners li { margin-bottom: .55rem; }
.footer-menu a { color: #cbd2ec; }
.footer-menu a:hover, .footer-menu .current-menu-item > a { color: #fff; }

.site-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	margin-bottom: .85rem;
	color: #cbd2ec;
	font-size: .92rem;
	line-height: 1.55;
}
.site-footer__contact svg { color: var(--hallf-red); flex-shrink: 0; margin-top: 3px; }
.site-footer__contact a { color: #cbd2ec; }
.site-footer__contact a:hover { color: #fff; }

.hallf-socials--footer { margin-top: 1.25rem; display: flex; gap: .5rem; padding: 0; list-style: none; }
.hallf-socials--footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255,255,255,.08);
	transition: background .2s ease, transform .15s ease;
}
.hallf-socials--footer a:hover { background: var(--hallf-red); transform: translateY(-2px); }
.hallf-socials--footer svg { width: 16px; height: 16px; }

.site-footer__bottom {
	background: rgba(0,0,0,.25);
	padding: 1.1rem 0;
	font-size: .88rem;
}
.site-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: .5rem;
	flex-wrap: wrap;
	align-items: center;
	color: #9aa3c4;
}
.site-footer__credit a { color: #fff; }
.site-footer__credit a:hover { color: var(--hallf-red); }
.site-footer__credit a strong { color: inherit; }

/* ------------------------------------------------------------
   Generic pages (non-Elementor)
   ------------------------------------------------------------ */
.hallf-page__hero img,
.hallf-single__hero img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}
.hallf-page__inner,
.hallf-single__inner {
	max-width: 820px;
	padding: clamp(2rem, 5vw, 3.5rem) var(--hallf-gutter);
	margin: 0 auto;
}
.hallf-page__title,
.hallf-single__title { margin-bottom: 1rem; }
.hallf-single__meta { color: var(--hallf-text-soft); font-size: .9rem; margin-bottom: .25rem; }
.entry-content > * { margin-bottom: 1.1rem; }
.entry-content h2 { margin-top: 2rem; }
.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--hallf-blue);
	background: var(--hallf-blue-soft);
	border-radius: 0 var(--hallf-radius-sm) var(--hallf-radius-sm) 0;
	color: var(--hallf-charcoal);
	font-style: italic;
}
.entry-content img { border-radius: var(--hallf-radius); }

/* Post grid */
.hallf-post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	padding: 2rem 0;
}
@media (min-width: 640px) { .hallf-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hallf-post-grid { grid-template-columns: repeat(3, 1fr); } }
.hallf-post-card {
	background: #fff;
	border: 1px solid var(--hallf-border);
	border-radius: var(--hallf-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hallf-post-card:hover { transform: translateY(-3px); box-shadow: var(--hallf-shadow); }
.hallf-post-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.hallf-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hallf-post-card__body { padding: 1.25rem; }
.hallf-post-card__meta { color: var(--hallf-text-soft); font-size: .85rem; margin: 0 0 .35rem; }
.hallf-post-card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.hallf-post-card__title a { color: var(--hallf-charcoal); }
.hallf-post-card__title a:hover { color: var(--hallf-blue); }

.hallf-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	font-size: .9rem;
	color: var(--hallf-blue);
	margin-top: .75rem;
}
.hallf-link-arrow:hover { color: var(--hallf-red); gap: .55rem; }

/* Page header (for archive/blog) */
.page-header {
	padding: 2.5rem 0 1rem;
	border-bottom: 1px solid var(--hallf-border);
	margin-bottom: 1rem;
}
.page-title { margin: 0; }

/* Pagination */
.navigation.pagination, .pagination {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
	justify-content: center;
	padding: 2rem 0;
}
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .85rem;
	border-radius: 999px;
	background: var(--hallf-bg-soft);
	color: var(--hallf-charcoal);
	font-family: var(--hallf-font-display);
	font-weight: 600;
}
.page-numbers.current { background: var(--hallf-blue); color: #fff; }
.page-numbers:hover { background: var(--hallf-red); color: #fff; }

/* 404 */
.hallf-404 { padding: clamp(3rem, 8vw, 6rem) var(--hallf-gutter); text-align: center; }
.hallf-404__title {
	font-size: clamp(5rem, 15vw, 9rem);
	color: var(--hallf-blue);
	margin: 0;
	line-height: 1;
}
.hallf-404__lede { color: var(--hallf-text-soft); font-size: 1.1rem; max-width: 520px; margin: .5rem auto 1.5rem; }
.hallf-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Search form */
.hallf-search-form {
	display: flex;
	gap: .5rem;
	max-width: 480px;
	margin: 1rem 0;
}
.hallf-search-form__input {
	flex: 1;
	padding: .75rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--hallf-border);
	font: inherit;
}
.hallf-search-form__btn {
	padding: .75rem 1.25rem;
	border-radius: 999px;
	border: 0;
	background: var(--hallf-blue);
	color: #fff;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	cursor: pointer;
}
.hallf-search-form__btn:hover { background: var(--hallf-blue-dark); }

/* Comments */
.hallf-comments { padding: 2.5rem 0; max-width: 820px; margin: 0 auto; }
.comment-list { list-style: none; padding: 0; }
.comment-body {
	padding: 1.25rem;
	background: var(--hallf-bg-soft);
	border-radius: var(--hallf-radius);
	margin-bottom: 1rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid var(--hallf-border);
	border-radius: var(--hallf-radius-sm);
	font: inherit;
	margin-top: .35rem;
}
.comment-form .submit, .comment-form input[type="submit"] {
	background: var(--hallf-blue);
	color: #fff;
	border: 0;
	padding: .85rem 1.5rem;
	border-radius: 999px;
	font-family: var(--hallf-font-display);
	font-weight: 700;
	cursor: pointer;
}
.comment-form .submit:hover, .comment-form input[type="submit"]:hover { background: var(--hallf-red); }

/* Tags */
.hallf-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 2rem; }
.hallf-tags li {
	background: var(--hallf-blue-soft);
	color: var(--hallf-blue);
	padding: .25rem .75rem;
	border-radius: 999px;
	font-size: .85rem;
}

/* Elementor compatibility — when a page is built with Elementor, give it room to breathe */
.site-main--elementor { padding: 0; }
.site-main--elementor .elementor { width: 100%; }

/* Body lock when mobile menu open */
body.has-mobile-nav-open { overflow: hidden; }

/* Accessibility focus ring */
:focus-visible { outline: 3px solid rgba(27, 45, 211, .35); outline-offset: 2px; border-radius: 4px; }

/* WordPress alignment classes */
.alignleft  { float: left;  margin: 0 1.25rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.25rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
