/*
Theme Name: Arlaadi Modern
Theme URI: https://www.arlaadicouncil.org/
Author: Arlaadi Council
Description: Modern, responsive redesign for Arlaadi Council. Keeps the existing pages, menus, custom fields and forms; colours are taken from the Arlaadi Council logo.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arlaadi-modern
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--ac-navy: #021f3d;
	--ac-navy-2: #04305c;
	--ac-blue: #004890;
	--ac-sea: #0078a8;
	--ac-teal: #0090c0;
	--ac-red-orange: #ff4800;
	--ac-orange: #ff7800;
	--ac-amber: #ffa800;
	--ac-gold: #ffc000;
	--ac-sun: #fff0a8;

	--ac-ink: #0d1b2a;
	--ac-ink-2: #3c4a5c;
	--ac-muted: #66758a;
	--ac-line: #e3e9f1;
	--ac-bg: #f6f8fb;
	--ac-card: #ffffff;
	--ac-sun-soft: #fff7e0;

	--ac-sun-grad: linear-gradient(90deg, var(--ac-gold) 0%, var(--ac-amber) 35%, var(--ac-orange) 70%, var(--ac-red-orange) 100%);
	--ac-btn-grad: linear-gradient(100deg, var(--ac-orange) 0%, var(--ac-amber) 50%, var(--ac-gold) 100%);
	--ac-sea-grad: linear-gradient(135deg, var(--ac-navy) 0%, var(--ac-blue) 55%, var(--ac-sea) 100%);

	--ac-font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ac-radius: 24px;
	--ac-radius-sm: 14px;
	--ac-shadow: 0 1px 2px rgba(2, 31, 61, .06), 0 12px 32px -12px rgba(2, 31, 61, .18);
	--ac-shadow-lg: 0 30px 60px -24px rgba(2, 31, 61, .35);
	--ac-ease: cubic-bezier(.2, .8, .2, 1);
	--ac-header-h: 84px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ac-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ac-ink);
	background: var(--ac-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.ac-menu-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ac-blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ac-orange); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; color: var(--ac-ink); font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--ac-amber); outline-offset: 3px; border-radius: 6px; }

.ac-icon { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ac-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ac-navy); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.ac-skip:focus { top: 12px; color: #fff; }

.ac-container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.ac-center { text-align: center; }
.ac-nowrap { white-space: nowrap; }

.ac-grad-text {
	background: var(--ac-sun-grad); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: ac-shimmer 6s ease-in-out infinite alternate;
}
@keyframes ac-shimmer { to { background-position: 100% 0; } }

.ac-sun-dot {
	display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none;
	background: radial-gradient(circle, var(--ac-sun) 0 38%, var(--ac-gold) 40% 62%, var(--ac-orange) 64%);
	box-shadow: 0 0 10px rgba(255, 168, 0, .7);
}
.ac-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ac-orange);
}
.ac-eyebrow-light { color: var(--ac-sun); }
.ac-h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 800; }
.ac-section { padding: clamp(64px, 8vw, 112px) 0; }
.ac-section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.ac-section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.ac-section-head.ac-center { max-width: 760px; margin-inline: auto; }

/* =========================================================
   3. Buttons & links
   ========================================================= */
.ac-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.ac-actions-center { justify-content: center; }
.ac-btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 1rem/1 var(--ac-font); text-decoration: none; cursor: pointer;
	transition: transform .35s var(--ac-ease), box-shadow .35s ease, background-position .6s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.ac-btn .ac-icon { transition: transform .35s var(--ac-ease); }
.ac-btn-block { width: 100%; }
.ac-btn-primary {
	color: var(--ac-navy); background: var(--ac-btn-grad); background-size: 200% 100%;
	box-shadow: 0 10px 26px -10px rgba(255, 120, 0, .75);
}
.ac-btn-primary::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .7s ease;
}
.ac-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.ac-btn-dark { color: #fff; background: var(--ac-sea-grad); box-shadow: 0 10px 26px -12px rgba(0, 72, 144, .6); }
.ac-btn-outline { color: var(--ac-blue); border-color: rgba(0, 72, 144, .35); background: transparent; }
.ac-btn:hover { transform: translateY(-3px); }
.ac-btn:hover .ac-icon { transform: translateX(4px); }
.ac-btn-primary:hover { color: var(--ac-navy); background-position: 100% 0; box-shadow: 0 16px 34px -10px rgba(255, 140, 0, .9); }
.ac-btn-primary:hover::after { transform: translateX(120%); }
.ac-btn-ghost:hover { color: var(--ac-blue); background: #fff; border-color: #fff; }
.ac-btn-dark:hover { color: #fff; box-shadow: 0 16px 34px -12px rgba(0, 72, 144, .8); }
.ac-btn-outline:hover { color: #fff; background: var(--ac-blue); border-color: var(--ac-blue); }
.ac-btn:active { transform: translateY(0) scale(.98); }

.ac-link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ac-orange); }
.ac-link-more .ac-icon { transition: transform .35s var(--ac-ease); }

/* =========================================================
   4. Top bar & header
   ========================================================= */
.ac-topbar { background: var(--ac-navy); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.ac-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.ac-topbar-tag { display: flex; align-items: center; gap: 10px; margin: 0; letter-spacing: .04em; }
.ac-topbar-contact { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ac-topbar-contact a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.ac-topbar-contact a:hover { color: var(--ac-gold); }
.ac-topbar-contact .ac-icon { color: var(--ac-gold); width: 15px; height: 15px; }

.ac-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s ease, border-color .3s ease;
}
/* Blur lives on a background layer: a backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header box. */
.ac-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.admin-bar .ac-header { top: 32px; }
.ac-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(2, 31, 61, .35); border-color: var(--ac-line); }
.ac-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--ac-header-h); transition: min-height .3s ease; }
.ac-header.is-scrolled .ac-header-inner { min-height: 68px; }
.ac-brand img { height: 62px; width: auto; transition: height .3s ease, transform .4s var(--ac-ease); }
.ac-header.is-scrolled .ac-brand img { height: 50px; }
.ac-brand:hover img { transform: scale(1.04) rotate(-1deg); }

.ac-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ac-menu > li { position: relative; display: flex; align-items: center; }
.ac-menu a {
	position: relative; display: block; padding: 10px 13px;
	font-weight: 600; font-size: .98rem; color: var(--ac-ink); text-decoration: none; border-radius: 10px;
	transition: color .25s ease, background-color .25s ease;
}
.ac-menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2.5px; border-radius: 2px;
	background: var(--ac-sun-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ac-ease);
}
.ac-menu > li > a:hover::after,
.ac-menu > .current-menu-item > a::after,
.ac-menu > .current-menu-ancestor > a::after,
.ac-menu > .current_page_item > a::after,
.ac-menu > .current_page_ancestor > a::after { transform: scaleX(1); }
.ac-menu a:hover { color: var(--ac-blue); }
.ac-menu .current-menu-item > a, .ac-menu .current-menu-ancestor > a { color: var(--ac-blue); }

.ac-menu > .ac-menu-donate > a {
	margin-left: 6px; padding: 10px 20px; border-radius: 999px; color: var(--ac-navy);
	background: var(--ac-btn-grad); background-size: 200% 100%;
	box-shadow: 0 8px 20px -10px rgba(255, 120, 0, .8);
	transition: background-position .5s ease, transform .3s var(--ac-ease);
}
.ac-menu > .ac-menu-donate > a::after { display: none; }
.ac-menu > .ac-menu-donate > a:hover { color: var(--ac-navy); background-position: 100% 0; transform: translateY(-2px); }

.ac-sub-toggle {
	display: grid; place-items: center; width: 26px; height: 26px; margin-left: -8px; padding: 0;
	border: 0; background: none; color: var(--ac-ink-2); cursor: pointer; border-radius: 8px;
}
.ac-sub-toggle .ac-icon { width: 16px; height: 16px; transition: transform .3s ease; }
.ac-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; z-index: 20;
	margin: 0; padding: 10px; list-style: none;
	background: #fff; border: 1px solid var(--ac-line); border-radius: 18px; box-shadow: var(--ac-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s ease, transform .3s var(--ac-ease), visibility 0s linear .3s;
}
.ac-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ac-menu .sub-menu a { padding: 10px 14px; font-weight: 500; }
.ac-menu .sub-menu a:hover { background: var(--ac-sun-soft); color: var(--ac-ink); }
.ac-menu .sub-menu .current-menu-item > a { background: rgba(0, 72, 144, .07); }
.ac-menu > li:hover > .sub-menu,
.ac-menu > li:focus-within > .sub-menu,
.ac-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ac-ease); }
.ac-menu > li:hover > .ac-sub-toggle .ac-icon,
.ac-menu > li.is-open > .ac-sub-toggle .ac-icon { transform: rotate(180deg); }

.ac-nav-contact { display: none; }
.ac-burger {
	display: none; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 14px;
	border: 1.5px solid var(--ac-line); background: #fff; color: var(--ac-ink); cursor: pointer;
}
.ac-burger .ac-icon { width: 24px; height: 24px; }
.ac-burger-close { display: none; }
.ac-burger[aria-expanded="true"] .ac-burger-open { display: none; }
.ac-burger[aria-expanded="true"] .ac-burger-close { display: grid; }
.ac-nav-backdrop { position: fixed; inset: 0; z-index: 98; background: rgba(2, 31, 61, .55); backdrop-filter: blur(2px); }

/* =========================================================
   5. Homepage slider
   ========================================================= */
.ac-hero {
	--ac-interval: 7s;
	--gx: 70%; --gy: 30%;
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	background:
		radial-gradient(600px circle at var(--gx) var(--gy), rgba(255, 168, 0, .2), transparent 60%),
		radial-gradient(900px 520px at 100% 0%, rgba(255, 120, 0, .28), transparent 65%),
		radial-gradient(700px 500px at 0% 100%, rgba(0, 144, 192, .35), transparent 70%),
		var(--ac-sea-grad);
	padding: clamp(56px, 8vw, 104px) 0 clamp(96px, 11vw, 140px);
}
.ac-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 10vw, 140px); z-index: -1; pointer-events: none; }
.ac-viewport { display: grid; touch-action: pan-y; }
.ac-slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px);
	opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
}
.ac-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.ac-anim { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s var(--ac-ease); transition-delay: calc(var(--d, 0) * 110ms); }
.ac-slide.is-active .ac-anim { opacity: 1; transform: none; }
.ac-hero .ac-eyebrow {
	color: var(--ac-sun); padding: 8px 16px 8px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 240, 168, .25);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ac-hero-title { margin: 22px 0 18px; color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.ac-dash { color: var(--ac-gold); font-weight: 600; }
.ac-hero-text { max-width: 56ch; margin: 0 0 32px; font-size: clamp(1rem, .95rem + .35vw, 1.18rem); color: rgba(255, 255, 255, .86); }
.ac-hero-text strong { color: #fff; letter-spacing: .03em; }

.ac-visual { position: relative; justify-self: end; width: 100%; max-width: 580px; }
.ac-rays { position: absolute; z-index: -1; width: 150%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; opacity: .5; pointer-events: none; animation: ac-spin 80s linear infinite; }
@keyframes ac-spin { to { rotate: 360deg; } }
.ac-media {
	--rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
	position: relative; padding: 3px; border-radius: 28px;
	background: linear-gradient(140deg, var(--ac-gold), var(--ac-orange) 35%, rgba(255, 255, 255, .25) 55%, var(--ac-teal));
	box-shadow: 0 30px 60px -20px rgba(0, 10, 30, .65);
	transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .5s var(--ac-ease), box-shadow .5s ease;
}
.ac-media.is-tilting { transition: transform .12s linear, box-shadow .5s ease; }
.ac-frame {
	position: relative; overflow: hidden; border-radius: 25px; aspect-ratio: 5 / 4; background: var(--ac-navy);
	clip-path: inset(0 0 0 35% round 25px); transition: clip-path 0s linear .7s;
}
.ac-slide.is-active .ac-frame { clip-path: inset(0 0 0 0 round 25px); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1) .1s; }
.ac-zoom { position: absolute; inset: 0; transition: transform .8s var(--ac-ease); }
.ac-frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.14); transition: transform 0s linear .7s; }
.ac-slide.is-active .ac-frame img { transform: scale(1); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.ac-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(2, 31, 61, .55), transparent 45%); }
.ac-frame::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 240, 168, .35), transparent 55%);
	transition: opacity .4s ease;
}
.ac-badge {
	position: absolute; z-index: 3; left: -22px; bottom: -26px; width: clamp(120px, 14vw, 170px);
	padding: 12px 14px; border-radius: 20px; background: #fff;
	box-shadow: 0 18px 40px -12px rgba(0, 20, 50, .55), 0 0 0 4px rgba(255, 192, 0, .35);
	transition: transform .5s var(--ac-ease);
}
@media (hover: hover) {
	.ac-media:hover { box-shadow: 0 40px 80px -24px rgba(0, 10, 30, .75), 0 0 0 1px rgba(255, 192, 0, .25); }
	.ac-media:hover .ac-zoom { transform: scale(1.06); }
	.ac-media:hover .ac-frame::after { opacity: 1; }
	.ac-media:hover .ac-badge { transform: translate(-6px, -6px) rotate(-2deg); }
}
.ac-controls { display: flex; align-items: center; gap: 14px; margin-top: clamp(40px, 5vw, 56px); }
.ac-ctrl {
	display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
	color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .35);
	transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.ac-ctrl .ac-icon { width: 20px; height: 20px; }
@media (hover: hover) { .ac-ctrl:hover { background: var(--ac-btn-grad); color: var(--ac-navy); border-color: transparent; transform: scale(1.08); } }
.ac-dots { display: flex; align-items: center; gap: 10px; margin-inline: 6px; }
.ac-dot { position: relative; overflow: hidden; cursor: pointer; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .5s var(--ac-ease), background .3s ease; }
.ac-dot:hover { background: rgba(255, 255, 255, .6); }
.ac-dot[aria-current="true"] { width: 56px; background: rgba(255, 255, 255, .22); }
.ac-dot-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--ac-sun-grad); transform-origin: left; transform: scaleX(0); }
.ac-dot[aria-current="true"] .ac-dot-fill { transform: scaleX(1); }
.ac-hero.is-playing .ac-dot[aria-current="true"] .ac-dot-fill { animation: ac-fill var(--ac-interval) linear forwards; }
@keyframes ac-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (hover: hover) { .ac-hero:hover .ac-dot-fill { animation-play-state: paused !important; } }
.ac-hero:has(:focus-visible) .ac-dot-fill { animation-play-state: paused !important; }
.ac-toggle .ac-i-play { display: none; }
.ac-hero:not(.is-playing) .ac-toggle .ac-i-play { display: block; }
.ac-hero:not(.is-playing) .ac-toggle .ac-i-pause { display: none; }
.ac-counter { margin-left: auto; font-weight: 600; font-size: .95rem; letter-spacing: .08em; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.ac-counter b { color: var(--ac-gold); font-size: 1.35rem; }

/* =========================================================
   6. Homepage sections
   ========================================================= */
.ac-focus { position: relative; padding-top: clamp(56px, 7vw, 96px); }
.ac-focus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ac-focus-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column;
	padding: 28px 24px 24px; border-radius: var(--ac-radius); background: var(--ac-card);
	border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); color: var(--ac-ink); text-decoration: none;
	transition: transform .45s var(--ac-ease), box-shadow .45s ease, border-color .3s ease;
}
.ac-focus-card::before {
	content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
	background: var(--ac-sea-grad); transition: opacity .45s ease;
}
.ac-focus-card > * { position: relative; z-index: 1; }
.ac-focus-num { position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 2.4rem; line-height: 1; color: rgba(0, 72, 144, .07); transition: color .4s ease; }
.ac-focus-icon {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px;
	color: var(--ac-navy); background: var(--ac-btn-grad); box-shadow: 0 10px 22px -10px rgba(255, 120, 0, .7);
	transition: transform .5s var(--ac-ease);
}
.ac-focus-icon .ac-icon { width: 26px; height: 26px; }
.ac-focus-card h3 { font-size: 1.18rem; margin-bottom: .45em; transition: color .3s ease; }
.ac-focus-card p { flex: 1; font-size: .95rem; line-height: 1.6; color: var(--ac-ink-2); transition: color .3s ease; }
.ac-focus-card .ac-link-more { font-size: .92rem; }
.ac-focus-card:hover { transform: translateY(-8px); box-shadow: var(--ac-shadow-lg); border-color: transparent; }
.ac-focus-card:hover::before { opacity: 1; }
.ac-focus-card:hover h3 { color: #fff; }
.ac-focus-card:hover p { color: rgba(255, 255, 255, .82); }
.ac-focus-card:hover .ac-focus-num { color: rgba(255, 255, 255, .12); }
.ac-focus-card:hover .ac-focus-icon { transform: rotate(-8deg) scale(1.08); }
.ac-focus-card:hover .ac-link-more { color: var(--ac-gold); }
.ac-focus-card:hover .ac-link-more .ac-icon { transform: translateX(5px); }

.ac-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 88px); }
.ac-split-rev > :first-child { order: 0; }
.ac-prose { color: var(--ac-ink-2); }
.ac-prose > :last-child { margin-bottom: 0; }
.ac-intro-copy .ac-actions, .ac-involved-copy .ac-actions { margin-top: 28px; }

.ac-stack { position: relative; padding: 0 12% 18% 0; }
.ac-stack img { border-radius: var(--ac-radius); box-shadow: var(--ac-shadow-lg); object-fit: cover; transition: transform .6s var(--ac-ease); }
.ac-stack-a { width: 100%; aspect-ratio: 4 / 3.2; }
.ac-stack-b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid #fff; }
.ac-stack:hover .ac-stack-a { transform: translate(-6px, -6px); }
.ac-stack:hover .ac-stack-b { transform: translate(6px, 6px) rotate(2deg); }
.ac-stack-badge {
	position: absolute; left: -14px; bottom: 6%; display: flex; align-items: center; gap: 12px;
	padding: 14px 20px; border-radius: 18px; background: var(--ac-navy); color: #fff; box-shadow: var(--ac-shadow-lg);
}
.ac-stack-badge strong { font-size: 2.4rem; line-height: 1; background: var(--ac-sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-stack-badge span { font-size: .85rem; line-height: 1.25; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ac-intro { background: #fff; }

.ac-cta-duo { padding-top: 0; background: linear-gradient(#fff 50%, var(--ac-bg) 50%); }
.ac-duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ac-duo-card {
	position: relative; overflow: hidden; isolation: isolate; display: block;
	padding: clamp(32px, 4vw, 52px); border-radius: 28px; color: #fff; text-decoration: none;
	transition: transform .5s var(--ac-ease), box-shadow .5s ease;
}
.ac-duo-card::after {
	content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -110px; top: -130px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); transition: transform .7s var(--ac-ease);
}
.ac-duo-sun { background: linear-gradient(135deg, #ff5a00 0%, var(--ac-orange) 40%, var(--ac-amber) 100%); }
.ac-duo-sea { background: var(--ac-sea-grad); }
.ac-duo-card h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.ac-duo-card p { max-width: 44ch; color: rgba(255, 255, 255, .9); }
.ac-duo-card .ac-link-more { color: #fff; }
.ac-duo-sun h2, .ac-duo-sun p, .ac-duo-sun .ac-link-more { color: var(--ac-navy); }
.ac-duo-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; background: rgba(255, 255, 255, .2); }
.ac-duo-icon .ac-icon { width: 28px; height: 28px; }
.ac-duo-card:hover { transform: translateY(-6px); box-shadow: var(--ac-shadow-lg); }
.ac-duo-card:hover::after { transform: scale(1.4); }
.ac-duo-card:hover .ac-link-more .ac-icon { transform: translateX(6px); }

.ac-vision { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: var(--ac-sea-grad); text-align: center; }
.ac-vision-rays { position: absolute; z-index: -1; width: min(1100px, 160vw); left: 50%; top: 50%; translate: -50% -50%; opacity: .35; animation: ac-spin 120s linear infinite; }
.ac-vision-inner { max-width: 900px; }
.ac-vision .ac-h2 { color: #fff; }
.ac-vision-quote { margin: 0 auto 36px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.5; font-weight: 500; color: rgba(255, 255, 255, .92); }
.ac-vision-quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--ac-gold); }

.ac-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ac-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ac-radius); box-shadow: var(--ac-shadow); transition: transform .6s var(--ac-ease), box-shadow .5s ease, filter .5s ease; }
.ac-mosaic img:nth-child(2), .ac-mosaic img:nth-child(4) { translate: 0 32px; }
.ac-mosaic:hover img { filter: saturate(.75); }
.ac-mosaic img:hover { transform: scale(1.04); filter: none; box-shadow: var(--ac-shadow-lg); }

.ac-news-teaser { padding-top: 0; }
.ac-news-card {
	display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; border-radius: 28px; background: #fff;
	border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); color: var(--ac-ink); text-decoration: none;
	transition: transform .5s var(--ac-ease), box-shadow .5s ease;
}
.ac-news-img { overflow: hidden; min-height: 260px; }
.ac-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ac-ease); }
.ac-news-body { padding: clamp(28px, 4vw, 48px); align-self: center; }
.ac-news-body h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.ac-news-body p { color: var(--ac-ink-2); }
.ac-news-card:hover { transform: translateY(-6px); box-shadow: var(--ac-shadow-lg); color: var(--ac-ink); }
.ac-news-card:hover img { transform: scale(1.06); }
.ac-news-card:hover .ac-link-more .ac-icon { transform: translateX(6px); }

/* =========================================================
   7. Inner pages
   ========================================================= */
.ac-page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(88px, 10vw, 128px); background: var(--ac-navy); }
.ac-page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.ac-page-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: ac-heroimg 14s ease-out forwards; }
@keyframes ac-heroimg { from { transform: scale(1.12); } to { transform: scale(1); } }
.ac-page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(700px 380px at 100% 0%, rgba(255, 120, 0, .35), transparent 70%),
		linear-gradient(100deg, rgba(2, 31, 61, .94) 0%, rgba(0, 72, 144, .82) 48%, rgba(0, 120, 168, .45) 100%);
}
.ac-page-hero-inner { max-width: 1240px; }
.ac-page-title { color: #fff; max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .35em; text-wrap: balance; }
.ac-page-intro { max-width: 60ch; margin: 0; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: rgba(255, 255, 255, .88); }
.ac-page-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(36px, 5vw, 70px); }
.ac-anim-in { opacity: 0; transform: translateY(20px); animation: ac-in .8s var(--ac-ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
@keyframes ac-in { to { opacity: 1; transform: none; } }

.ac-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.ac-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ac-crumbs a:hover { color: var(--ac-gold); }
.ac-crumb-sep { opacity: .5; }

.ac-page-body { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.ac-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.ac-article {
	min-width: 0; padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; background: #fff;
	border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow);
}

/* Sidebar */
.ac-aside { position: sticky; top: calc(var(--ac-header-h) + 20px); display: grid; gap: 20px; }
.admin-bar .ac-aside { top: calc(var(--ac-header-h) + 52px); }
.ac-aside-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); }
.ac-aside-card h2 { font-size: 1.1rem; margin-bottom: 14px; }
.ac-subnav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ac-subnav a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px;
	color: var(--ac-ink-2); font-weight: 500; text-decoration: none; transition: background-color .25s ease, color .25s ease, padding .3s var(--ac-ease);
}
.ac-subnav a .ac-icon { width: 16px; height: 16px; opacity: .4; transition: transform .3s var(--ac-ease), opacity .3s ease; }
.ac-subnav a:hover { background: var(--ac-sun-soft); color: var(--ac-ink); padding-left: 18px; }
.ac-subnav a:hover .ac-icon { opacity: 1; transform: translateX(3px); color: var(--ac-orange); }
.ac-subnav a[aria-current="page"] { background: var(--ac-sea-grad); color: #fff; font-weight: 600; }
.ac-subnav a[aria-current="page"] .ac-icon { opacity: 1; color: var(--ac-gold); }
.ac-aside-cta { position: relative; overflow: hidden; color: #fff; background: var(--ac-sea-grad); border: 0; display: grid; gap: 12px; }
.ac-aside-cta h2 { color: #fff; margin: 0; }
.ac-aside-cta p { margin: 0 0 6px; color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.6; }
.ac-aside-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--ac-navy); background: var(--ac-btn-grad); }
.ac-aside-contact { display: grid; gap: 10px; }
.ac-aside-contact a { display: flex; align-items: center; gap: 12px; color: var(--ac-ink-2); text-decoration: none; font-weight: 500; word-break: break-word; }
.ac-aside-contact a:hover { color: var(--ac-orange); }
.ac-aside-contact .ac-icon { color: var(--ac-orange); }

/* Mission CTA band */
.ac-mission-cta { margin-top: clamp(40px, 6vw, 72px); }
.ac-mission-inner {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
	padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff; background: var(--ac-sea-grad); box-shadow: var(--ac-shadow-lg);
}
.ac-mission-inner::before {
	content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 168, 0, .45), transparent 65%);
}
.ac-mission-inner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
.ac-mission-inner p { max-width: 62ch; margin: 0; color: rgba(255, 255, 255, .86); }
.ac-mission-inner .ac-actions { margin: 0; flex-wrap: nowrap; }

/* =========================================================
   8. Page content (entry-content)
   ========================================================= */
.entry-content { font-size: 1.05rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
	position: relative; margin: 1.6em 0 .7em; padding-bottom: .45em;
	font-size: clamp(1.55rem, 1.2rem + 1vw, 2.1rem); font-weight: 800;
}
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--ac-sun-grad); }
.entry-content h3 { margin: 1.5em 0 .55em; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); color: var(--ac-blue); }
.entry-content h4 { margin: 1.3em 0 .5em; font-size: 1.12rem; }
.entry-content br + br { display: none; }
.entry-content h2 + br, .entry-content h3 + br { display: none; }
.entry-content p, .entry-content .textp { color: var(--ac-ink-2); }
.entry-content strong, .entry-content b { color: var(--ac-ink); }
.entry-content a { font-weight: 600; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em; padding-left: 1.4em; color: var(--ac-ink-2); }
.entry-content li { margin: .45em 0; }
.entry-content ul.bullet, .entry-content ul:not([class]) { list-style: none; padding-left: 0; }
.entry-content ul.bullet > li, .entry-content ul:not([class]) > li { position: relative; padding-left: 32px; }
.entry-content ul.bullet > li::before, .entry-content ul:not([class]) > li::before {
	content: ""; position: absolute; left: 4px; top: .55em; width: 13px; height: 13px; border-radius: 50%;
	background: radial-gradient(circle, var(--ac-sun) 0 30%, var(--ac-gold) 32% 58%, var(--ac-orange) 60%);
	box-shadow: 0 0 0 4px rgba(255, 168, 0, .14);
}
.entry-content ol { counter-reset: ac; list-style: none; padding-left: 0; }
.entry-content ol > li { counter-increment: ac; position: relative; padding-left: 44px; }
.entry-content ol > li::before {
	content: counter(ac); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
	font-size: .85rem; font-weight: 700; color: var(--ac-navy); background: var(--ac-btn-grad);
}
.entry-content blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--ac-amber); border-radius: 0 16px 16px 0; background: var(--ac-sun-soft); }
.entry-content img { border-radius: 16px; }
.entry-content hr { border: 0; height: 1px; margin: 2em 0; background: var(--ac-line); }

/* Tables (Governance) */
.entry-content table { width: 100%; margin: 1.4em 0 2em; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ac-line); border-radius: 18px; overflow: hidden; font-size: .97rem; }
.entry-content th { padding: 14px 18px; text-align: left; color: #fff; background: var(--ac-sea-grad); font-weight: 600; }
.entry-content th strong { color: #fff; }
.entry-content td { padding: 14px 18px; vertical-align: top; border-top: 1px solid var(--ac-line); color: var(--ac-ink-2); }
.entry-content tr:nth-child(even) td { background: #f9fbfd; }
.entry-content td:first-child { font-weight: 600; color: var(--ac-ink); }
.entry-content tbody tr { transition: background-color .2s ease; }
.entry-content tbody tr:hover td { background: var(--ac-sun-soft); }

/* "Support Our Mission Today" block inside page content */
.entry-content .cnh {
	position: relative; overflow: hidden; isolation: isolate; margin-top: 2.4em; padding: clamp(28px, 4vw, 40px);
	border-radius: 24px; background: var(--ac-sea-grad); color: #fff;
}
.entry-content .cnh::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 168, 0, .45), transparent 65%); }
.entry-content .cnh h2 { color: #fff; margin-top: 0; }
.entry-content .cnh p { color: rgba(255, 255, 255, .88); margin: 0; }
.entry-content .cnh a { color: var(--ac-gold); }

/* Embedded forms (Contact / Membership) */
.ac-form-wrap {
	margin: 1.6em 0 0; padding: clamp(10px, 2vw, 18px); border-radius: 22px;
	background: linear-gradient(var(--ac-bg), var(--ac-bg)) padding-box, linear-gradient(135deg, var(--ac-gold), var(--ac-orange) 40%, var(--ac-teal)) border-box;
	border: 2px solid transparent;
}
.ac-form-frame { display: block; width: 100%; min-height: 640px; border: 0; border-radius: 14px; background: #fff; }
.ac-page-grid-contact .ac-article { grid-column: 1 / -1; }
@media (min-width: 1100px) {
	.ac-page-grid-contact { grid-template-columns: minmax(0, 1fr) 320px; }
	.ac-page-grid-contact .ac-article { grid-column: auto; }
}

/* Donate "how to give" card */
.ac-give-card {
	margin-top: 1.6em; padding: clamp(28px, 4vw, 44px); border-radius: 24px; text-align: center;
	background: radial-gradient(500px 220px at 50% 0%, rgba(255, 168, 0, .16), transparent 70%), var(--ac-sun-soft);
	border: 1px solid rgba(255, 168, 0, .35);
}
.ac-give-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; color: var(--ac-navy); background: var(--ac-btn-grad); box-shadow: 0 12px 26px -12px rgba(255, 120, 0, .8); }
.ac-give-icon .ac-icon { width: 30px; height: 30px; }
.entry-content .ac-give-card h3 { margin-top: 0; color: var(--ac-ink); }
.ac-give-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.entry-content .ac-give-actions a { font-weight: 600; }

/* =========================================================
   9. About & Programs pages
   ========================================================= */
.ac-about-who { padding-bottom: clamp(48px, 7vw, 88px); }
.ac-vm-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; scroll-margin-top: 120px; }
.ac-vm-card { padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); }
.ac-vm-card h2 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); }
.ac-vm-vision { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ac-sea-grad); border: 0; }
.ac-vm-vision::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -150px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 168, 0, .4), transparent 65%); }
.ac-vm-vision h2 { color: #fff; }
.ac-vm-vision .entry-content, .ac-vm-vision .entry-content p { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.6; font-weight: 500; color: rgba(255, 255, 255, .92); }
.ac-vm-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; color: var(--ac-navy); background: var(--ac-btn-grad); }
.ac-vm-icon .ac-icon { width: 26px; height: 26px; }
.ac-vm-lead { font-weight: 600; color: var(--ac-ink); }
.ac-mission-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ac-mission-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--ac-bg); color: var(--ac-ink-2); line-height: 1.55; transition: background-color .3s ease, transform .35s var(--ac-ease); }
.ac-mission-list li:hover { background: var(--ac-sun-soft); transform: translateX(6px); }
.ac-mission-list strong { color: var(--ac-ink); }
.ac-ml-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--ac-sea-grad); }
.ac-ml-icon .ac-icon { width: 18px; height: 18px; }

.ac-child-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.ac-child-card { overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); color: var(--ac-ink); text-decoration: none; transition: transform .45s var(--ac-ease), box-shadow .45s ease; }
.ac-child-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.ac-child-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ac-ease); }
.ac-child-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.ac-child-body h3 { margin: 0; font-size: 1.15rem; }
.ac-child-card:hover { transform: translateY(-6px); box-shadow: var(--ac-shadow-lg); color: var(--ac-ink); }
.ac-child-card:hover img { transform: scale(1.08); }
.ac-child-card:hover .ac-link-more .ac-icon { transform: translateX(5px); }

.ac-programs-intro { max-width: 900px; margin-bottom: clamp(36px, 5vw, 56px); text-align: center; }
.ac-lead, .ac-lead p { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.7; color: var(--ac-ink-2); }
.ac-program-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 36px; }
.ac-program-card { grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 26px; background: #fff; border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); color: var(--ac-ink); text-decoration: none; transition: transform .45s var(--ac-ease), box-shadow .45s ease; }
.ac-program-card:nth-child(4) { grid-column: 2 / span 2; }
.ac-program-img { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.ac-program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ac-ease); }
.ac-program-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 40px 26px 26px; }
.ac-program-icon { position: absolute; top: -28px; left: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--ac-navy); background: var(--ac-btn-grad); box-shadow: 0 12px 24px -12px rgba(255, 120, 0, .8); border: 4px solid #fff; transition: transform .5s var(--ac-ease); }
.ac-program-icon .ac-icon { width: 24px; height: 24px; }
.ac-program-body h3 { font-size: 1.3rem; margin-bottom: .35em; }
.ac-program-body p { flex: 1; color: var(--ac-ink-2); font-size: .98rem; }
.ac-program-card:hover { transform: translateY(-8px); box-shadow: var(--ac-shadow-lg); color: var(--ac-ink); }
.ac-program-card:hover img { transform: scale(1.08); }
.ac-program-card:hover .ac-program-icon { transform: rotate(-8deg) scale(1.08); }
.ac-program-card:hover .ac-link-more .ac-icon { transform: translateX(5px); }
.ac-programs-foot { max-width: 720px; margin: 40px auto 0; color: var(--ac-ink-2); }

/* =========================================================
   10. Bio page (people cards)
   ========================================================= */
.ac-bio-section + .ac-bio-section { margin-top: 2.2em; }
.entry-content .ac-bio-heading { margin-top: 0; }
.ac-people { display: grid; gap: 22px; margin-top: 1.2em; }
.ac-person {
	display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 26px; align-items: start;
	padding: 24px; border-radius: 22px; background: var(--ac-bg); border: 1px solid var(--ac-line);
	transition: background-color .35s ease, box-shadow .4s ease, transform .4s var(--ac-ease);
}
.ac-person:hover { background: #fff; box-shadow: var(--ac-shadow-lg); transform: translateY(-4px); }
.ac-person-photo { position: relative; }
.ac-person-photo img {
	width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 20px !important;
	padding: 3px; background: linear-gradient(140deg, var(--ac-gold), var(--ac-orange) 40%, var(--ac-teal));
	transition: transform .5s var(--ac-ease);
}
.ac-person:hover .ac-person-photo img { transform: rotate(-2deg) scale(1.03); }
.entry-content .ac-person-name { margin: 0 0 4px; font-size: 1.3rem; color: var(--ac-ink); }
.entry-content .ac-person-role { display: inline-flex; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-blue); background: rgba(0, 72, 144, .08); }
.ac-person-text { position: relative; font-size: .98rem; }
.ac-person-text p, .ac-person-text div, .ac-person-text span { font-size: inherit !important; font-family: inherit !important; color: var(--ac-ink-2) !important; line-height: 1.7 !important; }
.ac-person-text > * + * { margin-top: .8em; }
.ac-person-text.is-clamped { max-height: 9.2em; overflow: hidden; }
.ac-person-text.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; background: linear-gradient(transparent, var(--ac-bg)); transition: opacity .3s ease; }
.ac-person:hover .ac-person-text.is-clamped::after { background: linear-gradient(transparent, #fff); }
.ac-readmore { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; border: 0; background: none; font: 600 .95rem var(--ac-font); color: var(--ac-orange); cursor: pointer; }
.ac-readmore .ac-icon { width: 16px; height: 16px; transition: transform .3s ease; }
.ac-readmore[aria-expanded="true"] .ac-icon { transform: rotate(180deg); }
.ac-bio p, .ac-bio span { font-family: inherit !important; }

/* =========================================================
   11. Contact band & footer
   ========================================================= */
.ac-contact-band { position: relative; z-index: 2; padding: 0 0 0; margin-bottom: -72px; }
.ac-contact-inner {
	display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 28px;
	padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow-lg);
}
.ac-contact-copy .ac-eyebrow-light { color: var(--ac-orange); }
.ac-contact-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); margin-bottom: .3em; }
.ac-contact-copy p { margin: 0; color: var(--ac-ink-2); }
.ac-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ac-contact-card {
	display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; text-decoration: none; color: var(--ac-ink);
	background: var(--ac-bg); border: 1px solid var(--ac-line); transition: transform .4s var(--ac-ease), background-color .3s ease, box-shadow .4s ease;
	min-width: 0;
}
.ac-contact-card small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ac-muted); }
.ac-contact-card strong { display: block; font-size: 1.05rem; word-break: break-word; }
.ac-contact-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; color: var(--ac-navy); background: var(--ac-btn-grad); transition: transform .5s var(--ac-ease); }
.ac-contact-icon .ac-icon { width: 24px; height: 24px; }
.ac-contact-card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--ac-shadow); color: var(--ac-ink); }
.ac-contact-card:hover .ac-contact-icon { transform: rotate(-10deg) scale(1.08); }

.ac-footer { position: relative; overflow: hidden; padding: 140px 0 0; color: rgba(255, 255, 255, .78); background: var(--ac-navy); }
.ac-footer-wave { position: absolute; left: 0; right: 0; top: 70px; width: 100%; height: 90px; opacity: .8; }
.ac-footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 48px; }
.ac-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: 18px; }
.ac-footer-logo { display: inline-block; padding: 12px 16px; margin-bottom: 18px; border-radius: 18px; background: #fff; }
.ac-footer-logo img { height: 64px; width: auto; }
.ac-footer-about p { max-width: 44ch; font-size: .97rem; }
.ac-footer-menu { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.ac-footer-menu a { display: inline-flex; padding: 4px 0; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .25s ease, transform .3s var(--ac-ease); }
.ac-footer-menu a:hover { color: var(--ac-gold); transform: translateX(4px); }
.ac-footer-cta p { font-size: .97rem; }
.ac-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.ac-footer-bottom p { margin: 0; }
.ac-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.ac-footer-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.ac-footer-bottom a:hover { color: var(--ac-gold); }

/* Lists (fallback template) */
.ac-list { display: grid; gap: 18px; max-width: 900px; }
.ac-list-item { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--ac-line); box-shadow: var(--ac-shadow); }
.ac-list-item h2 { font-size: 1.4rem; }
.ac-list-item h2 a { color: var(--ac-ink); text-decoration: none; }

/* =========================================================
   12. Scroll reveal
   ========================================================= */
.ac-js .ac-reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .9s var(--ac-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.ac-js .ac-reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   13. Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
	.ac-menu a { padding: 10px 9px; font-size: .94rem; }
	.ac-menu > li > a::after { left: 9px; right: 9px; }
	.ac-focus-grid { grid-template-columns: repeat(6, 1fr); }
	.ac-focus-card { grid-column: span 2; }
	.ac-focus-card:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 1080px) {
	/* Mobile navigation */
	.ac-burger { display: grid; }
	.ac-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; width: min(400px, 88vw);
		display: flex; flex-direction: column; gap: 20px; padding: 96px 22px 28px; overflow-y: auto;
		background: #fff; box-shadow: -20px 0 60px -20px rgba(2, 31, 61, .45);
		transform: translateX(105%); visibility: hidden; transition: transform .45s var(--ac-ease), visibility 0s linear .45s;
	}
	.ac-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ac-ease); }
	.admin-bar .ac-nav { top: 46px; }
	.ac-burger { position: relative; z-index: 101; }
	.ac-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.ac-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--ac-line); }
	.ac-menu > li > a { flex: 1; padding: 14px 6px; font-size: 1.08rem; }
	.ac-menu > li > a::after { display: none; }
	.ac-sub-toggle { width: 44px; height: 44px; margin: 0; }
	.ac-menu .sub-menu {
		position: static; width: 100%; min-width: 0; padding: 0 0 10px 10px; border: 0; box-shadow: none; border-radius: 0;
		opacity: 1; visibility: visible; transform: none; display: none; transition: none;
	}
	.ac-menu > li:hover > .sub-menu, .ac-menu > li:focus-within > .sub-menu { display: none; }
	.ac-menu > li.is-open > .sub-menu { display: block; }
	.ac-menu > li:hover > .ac-sub-toggle .ac-icon { transform: none; }
	.ac-menu > li.is-open > .ac-sub-toggle .ac-icon { transform: rotate(180deg); }
	.ac-menu > .ac-menu-donate { border: 0; margin-top: 14px; }
	.ac-menu > .ac-menu-donate > a { margin: 0; text-align: center; padding: 16px; }
	.ac-nav-contact { display: grid; gap: 10px; margin-top: auto; padding: 18px; border-radius: 18px; background: var(--ac-bg); }
	.ac-nav-contact a { display: flex; align-items: center; gap: 10px; color: var(--ac-ink-2); text-decoration: none; font-weight: 500; word-break: break-word; }
	.ac-nav-contact .ac-icon { color: var(--ac-orange); }
}

@media (max-width: 991.98px) {
	body { font-size: 16.5px; }
	.ac-slide { grid-template-columns: 1fr; gap: 48px; }
	.ac-copy { max-width: 680px; }
	.ac-visual { justify-self: start; max-width: 680px; }
	.ac-frame { aspect-ratio: 16 / 10; }
	.ac-badge { left: auto; right: 18px; bottom: -24px; }
	.ac-split { grid-template-columns: 1fr; }
	.ac-intro-media { max-width: 620px; }
	.ac-mosaic { max-width: 620px; }
	.ac-duo-grid { grid-template-columns: 1fr; }
	.ac-news-card { grid-template-columns: 1fr; }
	.ac-news-img { aspect-ratio: 16 / 8; min-height: 0; }
	.ac-page-grid, .ac-page-grid-contact { grid-template-columns: 1fr; }
	.ac-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.ac-mission-inner { grid-template-columns: 1fr; }
	.ac-mission-inner .ac-actions { flex-wrap: wrap; }
	.ac-vm-grid { grid-template-columns: 1fr; }
	.ac-program-grid { grid-template-columns: 1fr 1fr; }
	.ac-program-card, .ac-program-card:nth-child(4) { grid-column: auto; }
	.ac-program-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ac-contact-inner { grid-template-columns: 1fr; }
	.ac-footer-grid { grid-template-columns: 1fr 1fr; }
	.ac-footer-about { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .ac-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .ac-header { top: 0; }
}

@media (max-width: 767.98px) {
	.ac-topbar-tag { display: none; }
	.ac-topbar-inner { justify-content: center; }
	.ac-topbar-contact { gap: 16px; font-size: .82rem; }
	.ac-focus-grid { grid-template-columns: 1fr 1fr; }
	.ac-focus-card, .ac-focus-card:nth-child(4) { grid-column: auto; }
	.ac-focus-card:last-child { grid-column: 1 / -1; }
	.ac-person { grid-template-columns: 1fr; gap: 18px; }
	.ac-person-photo { max-width: 180px; }
	.ac-contact-cards { grid-template-columns: 1fr; }
	.entry-content table { display: block; overflow-x: auto; white-space: normal; }
	.entry-content th, .entry-content td { min-width: 160px; }
}

@media (max-width: 575.98px) {
	body { font-size: 16px; }
	.ac-container { width: calc(100% - 32px); }
	:root { --ac-header-h: 72px; }
	.ac-brand img { height: 50px; }
	.ac-header.is-scrolled .ac-brand img { height: 44px; }
	.ac-topbar-contact li:last-child span { display: none; }
	.ac-hero .ac-eyebrow { font-size: .72rem; letter-spacing: .12em; }
	.ac-actions { flex-direction: column; }
	.ac-actions .ac-btn { width: 100%; }
	.ac-frame { aspect-ratio: 4 / 3; }
	.ac-badge { width: 112px; padding: 9px 10px; border-radius: 16px; right: 12px; }
	.ac-controls { gap: 10px; }
	.ac-ctrl { width: 44px; height: 44px; }
	.ac-dot[aria-current="true"] { width: 40px; }
	.ac-counter { display: none; }
	.ac-focus-grid { grid-template-columns: 1fr; }
	.ac-focus-card:last-child { grid-column: auto; }
	.ac-stack { padding: 0 8% 16% 0; }
	.ac-stack-badge { left: 8px; }
	.ac-mosaic img:nth-child(2), .ac-mosaic img:nth-child(4) { translate: 0 18px; }
	.ac-program-grid { grid-template-columns: 1fr; }
	.ac-program-card:last-child:nth-child(odd) { grid-column: auto; }
	.ac-article { padding: 24px 20px; border-radius: 22px; }
	.ac-person { padding: 18px; }
	.ac-footer-grid { grid-template-columns: 1fr; }
	.ac-footer-menu { grid-template-columns: 1fr 1fr; }
	.ac-form-frame { min-height: 760px; }
}

/* =========================================================
   14. Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.ac-frame img { transform: none; }
	.ac-js .ac-reveal, .ac-anim, .ac-anim-in { opacity: 1 !important; transform: none !important; }
}
