/* ==========================================================================
   Bishal & Associates — main stylesheet
   Tokens come from theme.json (--wp--preset--*). Short aliases below.
   ========================================================================== */

:root {
	--navy-950: var(--wp--preset--color--navy-950);
	--navy-900: var(--wp--preset--color--navy-900);
	--navy: var(--wp--preset--color--navy);
	--navy-600: var(--wp--preset--color--navy-600);
	--green: var(--wp--preset--color--green);
	--green-700: var(--wp--preset--color--green-700);
	--green-100: var(--wp--preset--color--green-100);
	--green-light: #8FD46F;
	--mist: var(--wp--preset--color--mist);
	--line: var(--wp--preset--color--line);
	--slate: var(--wp--preset--color--slate);
	--ink: var(--wp--preset--color--ink);
	--red: #E46A6A;
	--f-display: var(--wp--preset--font-family--display);
	--f-body: var(--wp--preset--font-family--body);
	--sh-sm: var(--wp--preset--shadow--sm);
	--sh-md: var(--wp--preset--shadow--md);
	--sh-lg: var(--wp--preset--shadow--lg);
	--sh-glow: var(--wp--preset--shadow--glow);
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
	--header-h: 84px;
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--ba-accent: var(--green);
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 16px); }
body { background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--green); color: var(--navy-950); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
img { height: auto; }
.wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.ba-main > * { margin-block: 0; }
.ba-main { margin-top: 0 !important; }

h1, h2, h3, h4 { font-variation-settings: "SOFT" 50, "opsz" 72; text-wrap: balance; }
p { text-wrap: pretty; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--green-700); font-variation-settings: "SOFT" 100, "WONK" 1; }

.ba-lead { font-size: var(--wp--preset--font-size--lg); color: var(--navy-900); line-height: 1.6; }

/* Eyebrow heading style */
.is-style-eyebrow {
	display: flex; align-items: center; gap: .65rem;
	font-family: var(--f-body) !important; font-size: .78rem !important; font-weight: 700 !important;
	letter-spacing: .16em; text-transform: uppercase; color: var(--green-700) !important;
	margin-bottom: .9rem !important;
}
.is-style-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; transform-origin: left; }
.is-style-eyebrow a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link, .ba-btn {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; gap: .6rem;
	box-shadow: var(--sh-glow);
	transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.wp-block-button__link::before, .ba-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.wp-block-button__link:hover::before, .ba-btn:hover::before { transform: translateX(120%); }
.wp-block-button__link:hover, .ba-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(17, 37, 61, .45); }
.wp-block-button__link:active, .ba-btn:active { transform: translateY(0); }

.is-style-arrow .wp-block-button__link::after, .ba-btn .ba-icon {
	content: ""; width: 1.1em; height: 1.1em; flex: none;
	background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
	transition: transform .35s var(--ease);
}
.ba-btn .ba-icon { background: none; -webkit-mask: none; mask: none; }
.is-style-arrow .wp-block-button__link:hover::after, .ba-btn:hover .ba-icon { transform: translateX(4px); }

.is-style-ghost .wp-block-button__link {
	background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line);
}
.is-style-ghost .wp-block-button__link:hover { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1.5px var(--navy), var(--sh-md); }

.ba-btn {
	border: 0; cursor: pointer; font: 700 var(--wp--preset--font-size--sm)/1 var(--f-body);
	padding: 1.05rem 1.9rem; border-radius: 999px;
	background: var(--green); color: var(--navy-950);
}
.ba-btn:hover { background: var(--navy); color: #fff; }
.ba-btn .ba-icon { width: 1.15em; height: 1.15em; }

.ba-link-arrow, .wp-block-read-more.ba-link-arrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-weight: 700; font-size: var(--wp--preset--font-size--sm); color: var(--navy); text-decoration: none;
}
.ba-link-arrow .ba-icon, .wp-block-read-more.ba-link-arrow::after { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.wp-block-read-more.ba-link-arrow::after { content: ""; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.ba-link-arrow:hover { color: var(--green-700); }
.ba-link-arrow:hover .ba-icon, .ba-link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.ba-header-part {
	position: fixed; z-index: 100; left: 0; right: 0; top: var(--admin-bar);
	transition: transform .5s var(--ease);
}
.ba-header-part.is-hidden { transform: translateY(-110%); }
.ba-header {
	padding-block: 1.1rem;
	transition: padding .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.ba-header-part.is-scrolled .ba-header {
	padding-block: .6rem;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
	box-shadow: 0 1px 0 rgba(17, 37, 61, .06), 0 10px 30px -12px rgba(17, 37, 61, .18);
}
.ba-header__inner { gap: 1.5rem; }
.ba-header__logo { flex: none; }
.ba-header__logo img {
	background: #fff; padding: 6px 10px; border-radius: 12px; box-shadow: var(--sh-sm);
	transition: width .4s var(--ease);
}
.ba-header-part.is-scrolled .ba-header__logo img { width: 112px !important; box-shadow: none; }

.ba-nav { color: #fff; transition: color .3s; }
.ba-header-part.is-scrolled .ba-nav { color: var(--navy-900); }
.ba-nav .wp-block-navigation-item__content {
	position: relative; padding: .55rem .85rem !important; border-radius: 999px; text-decoration: none;
	transition: background-color .3s, color .3s;
}
.ba-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; border-radius: 2px;
	background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.ba-nav .wp-block-navigation-item__content:hover::after,
.ba-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); transform-origin: left; }

.ba-header__cta .wp-block-button__link { padding: .8rem 1.3rem; font-size: .875rem; }

/* Mobile overlay menu */
.ba-nav .wp-block-navigation__responsive-container-open { color: inherit; padding: .5rem; border-radius: 12px; background: rgba(255,255,255,.12); }
.ba-header-part.is-scrolled .ba-nav .wp-block-navigation__responsive-container-open { background: var(--mist); }
.ba-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--navy-950) !important; color: #fff !important;
	background-image: radial-gradient(60% 40% at 90% 0%, rgba(104,181,74,.25), transparent 70%) !important;
	padding: 1.5rem clamp(1rem, 6vw, 3rem);
	animation: ba-menu-in .5s var(--ease);
}
.ba-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4rem; }
.ba-nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--f-display); font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 400; padding: .3rem 0 !important;
}
.ba-nav .is-menu-open .wp-block-navigation-item { opacity: 0; animation: ba-rise .6s var(--ease) forwards; }
.ba-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .05s; }
.ba-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .1s; }
.ba-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .15s; }
.ba-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .2s; }
.ba-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .25s; }
.ba-nav .wp-block-navigation__responsive-container-close { color: #fff; }
@keyframes ba-menu-in { from { opacity: 0; clip-path: circle(0 at calc(100% - 40px) 40px); } to { opacity: 1; clip-path: circle(150% at calc(100% - 40px) 40px); } }
@keyframes ba-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 781px) {
	.ba-header__cta { display: none; }
}
@media (min-width: 600px) and (max-width: 1100px) {
	.ba-header__cta { display: none; }
}

/* ---------- Dark surfaces shared by hero + banners ---------- */
.ba-hero, .ba-banner {
	position: relative; isolation: isolate; color: #fff;
	background:
		radial-gradient(55% 60% at 85% 20%, rgba(104, 181, 74, .22), transparent 70%),
		radial-gradient(45% 55% at 0% 100%, rgba(58, 101, 145, .55), transparent 70%),
		linear-gradient(160deg, var(--navy-950) 0%, #13294A 55%, var(--navy) 100%);
}
.ba-hero :is(h1, h2, h3), .ba-banner :is(h1, h2, h3) { color: #fff; }
.ba-hero h1 em, .ba-banner h1 em, .ba-offer h2 em, .ba-footer h2 em { color: var(--green-light); }
.ba-hero .is-style-eyebrow, .ba-banner .is-style-eyebrow { color: var(--green-light) !important; }
.ba-hero .is-style-ghost .wp-block-button__link,
.ba-banner .is-style-ghost .wp-block-button__link,
.ba-footer .is-style-ghost .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.ba-hero .is-style-ghost .wp-block-button__link:hover,
.ba-banner .is-style-ghost .wp-block-button__link:hover,
.ba-footer .is-style-ghost .wp-block-button__link:hover { background: #fff; color: var(--navy-950); }

/* ---------- Hero ---------- */
.ba-hero { padding-top: calc(var(--header-h) + var(--admin-bar) + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: 0; overflow: hidden; }
.ba-hero__cols { gap: clamp(2rem, 5vw, 4rem) !important; padding-bottom: clamp(3rem, 6vw, 5rem); }
.ba-pill {
	display: inline-flex; align-items: center; gap: .6rem;
	padding: .45rem 1rem .45rem .75rem; border-radius: 999px;
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
	font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85);
	backdrop-filter: blur(8px);
}
.ba-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(104,181,74,.7); animation: ba-ping 2s infinite; }
@keyframes ba-ping { 0% { box-shadow: 0 0 0 0 rgba(104,181,74,.7); } 70% { box-shadow: 0 0 0 10px rgba(104,181,74,0); } 100% { box-shadow: 0 0 0 0 rgba(104,181,74,0); } }

.ba-hero__title { font-size: clamp(2.2rem, 1.35rem + 2.6vw, 3.5rem) !important; line-height: 1.04 !important; margin-block: 1.1rem 1.1rem !important; letter-spacing: -.03em; font-weight: 400 !important; }
.ba-hero__lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: rgba(255,255,255,.74); max-width: 34rem; }
.ba-hero__actions { margin-top: 2rem !important; gap: .75rem; }

.ba-stats { margin-top: clamp(2rem, 4vw, 3rem) !important; gap: 0 !important; max-width: 36rem; }
.ba-stat { padding-inline: 1.25rem; border-left: 1px solid rgba(255,255,255,.14); }
.ba-stat:first-child { padding-left: 0; border-left: 0; }
.ba-stat p { margin: 0; }
.ba-stat__num { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ba-stat__label { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .4rem !important; }

.ba-trust { display: flex; align-items: center; gap: .9rem; margin-top: 2rem !important; font-size: .875rem; color: rgba(255,255,255,.7); }
.ba-trust strong { color: #fff; }
.ba-trust__faces { display: inline-flex; flex: none; }
.ba-trust__faces span {
	width: 34px; height: 34px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center;
	font-size: .62rem; font-weight: 800; letter-spacing: .02em; color: var(--navy-950);
	background: linear-gradient(135deg, #fff, #CFE3F5); border: 2px solid var(--navy-950);
}
.ba-trust__faces span:first-child { margin-left: 0; }
.ba-trust__faces span:last-child { background: var(--green); font-size: .9rem; }

/* Hero visual (finance dashboard) */
.ba-hero__visual { position: relative; }
.ba-hv {
	--px: 0; --py: 0;
	position: relative; width: 100%; aspect-ratio: 600 / 560; container-type: inline-size;
	color: #fff; font-family: var(--f-body); user-select: none;
}
.ba-hv__bg { position: absolute; inset: -6%; width: 112%; height: 112%; color: rgba(255,255,255,.08); }
.ba-hv__orbit { fill: none; stroke: rgba(255,255,255,.12); stroke-dasharray: 2 8; transform-origin: 300px 270px; animation: ba-spin 80s linear infinite; }
.ba-hv__orbit--2 { stroke: rgba(104,181,74,.25); animation-duration: 50s; animation-direction: reverse; }
@keyframes ba-spin { to { transform: rotate(360deg); } }

.ba-hv__glyph {
	position: absolute; left: var(--x); top: var(--y);
	font-family: var(--f-display); font-size: 5cqi; color: rgba(255,255,255,.14);
	animation: ba-drift 9s ease-in-out var(--d) infinite;
}
@keyframes ba-drift { 0%, 100% { transform: translateY(0) rotate(-6deg); opacity: .5; } 50% { transform: translateY(-18px) rotate(6deg); opacity: 1; } }

.ba-hv__card {
	position: absolute;
	padding: 3.4cqi 3.8cqi;
	border-radius: 3.6cqi;
	background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
	border: 1px solid rgba(255,255,255,.14);
	backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: 0 30px 60px -20px rgba(0, 8, 20, .55), inset 0 1px 0 rgba(255,255,255,.12);
	translate: calc(var(--px) * var(--depth, 10px)) calc(var(--py) * var(--depth, 10px));
	transition: translate .6s var(--ease);
	opacity: 0;
}
.ba-hv.is-visible .ba-hv__card, html:not(.ba-js) .ba-hv .ba-hv__card { animation: ba-card-in 1s var(--ease) var(--in, 0s) forwards, ba-bob var(--bob, 7s) ease-in-out calc(var(--in, 0s) + 1s) infinite; }
@keyframes ba-card-in { from { opacity: 0; transform: translateY(30px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes ba-bob { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-8px); } }

.ba-hv__main { left: 0; top: 9%; width: 72%; --depth: 14px; --in: .1s; --bob: 8s; z-index: 2; }
.ba-hv__ring { right: 0; top: 2%; width: 30%; --depth: 24px; --in: .35s; --bob: 6.5s; text-align: center; z-index: 3; }
.ba-hv__candles { left: 5%; bottom: 3%; width: 50%; --depth: 20px; --in: .55s; --bob: 7.5s; z-index: 3; }
.ba-hv__ledger { right: 0; bottom: 8%; width: 46%; --depth: 30px; --in: .75s; --bob: 9s; z-index: 4; }

.ba-hv__head { display: flex; align-items: center; justify-content: space-between; gap: 1cqi; }
.ba-hv__label { display: inline-flex; align-items: center; gap: 1.4cqi; font-size: 2.3cqi; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.72); }
.ba-hv__live { width: 1.4cqi; height: 1.4cqi; border-radius: 50%; background: var(--green); animation: ba-ping 2s infinite; }
.ba-hv__badge, .ba-hv__mini {
	display: inline-flex; align-items: center; gap: .6cqi; padding: .6cqi 1.5cqi; border-radius: 99px;
	font-size: 2.1cqi; font-weight: 700; color: var(--green-light); background: rgba(104,181,74,.16);
	font-variant-numeric: tabular-nums;
}
.ba-hv__badge svg { width: 1.8cqi; height: 1.8cqi; }
.ba-hv__mini { color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); letter-spacing: .08em; }
.ba-hv__value { margin-top: 1.4cqi; font-family: var(--f-display); font-size: 6.6cqi; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ba-hv__cur { font-size: .55em; margin-right: .3em; color: rgba(255,255,255,.6); }
.ba-hv__unit { font-size: .55em; margin-left: .15em; color: rgba(255,255,255,.6); }

.ba-hv__plot { position: relative; margin-top: 2.4cqi; }
.ba-hv__chart { display: block; width: 100%; height: 22cqi; overflow: visible; }
.ba-hv__gridlines line { stroke: rgba(255,255,255,.08); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.ba-hv__line { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ba-hv.is-visible .ba-hv__line, html:not(.ba-js) .ba-hv .ba-hv__line { animation: ba-draw 2.2s var(--ease) .4s forwards; }
@keyframes ba-draw { to { stroke-dashoffset: 0; } }
.ba-hv__area { opacity: 0; transition: opacity 1.2s ease 1.2s; }
.ba-hv.is-visible .ba-hv__area, html:not(.ba-js) .ba-hv .ba-hv__area { opacity: 1; }
.ba-hv__cross { stroke: rgba(104,181,74,.35); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.ba-hv__dot {
	position: absolute; left: var(--dx); top: var(--dy); width: 2.2cqi; height: 2.2cqi; margin: -1.1cqi 0 0 -1.1cqi;
	border-radius: 50%; background: #fff; box-shadow: 0 0 0 .6cqi var(--green), 0 0 20px 4px rgba(104,181,74,.8);
	opacity: 0; transition: opacity .6s ease 2.2s;
}
.ba-hv.is-visible .ba-hv__dot { opacity: 1; }
.ba-hv__dot::after { content: ""; position: absolute; inset: -1.6cqi; border-radius: 50%; border: 1px solid var(--green); animation: ba-pulse 1.8s ease-out infinite; }
@keyframes ba-pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ba-hv__months { display: flex; justify-content: space-between; margin-top: 1.6cqi; font-size: 1.9cqi; color: rgba(255,255,255,.45); }

.ba-hv__ring-svg { width: 100%; max-width: 20cqi; display: block; margin-inline: auto; }
.ba-hv__ring-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 9; }
.ba-hv__ring-bar {
	fill: none; stroke: var(--green); stroke-width: 9; stroke-linecap: round;
	stroke-dasharray: var(--c); stroke-dashoffset: var(--c);
	transition: stroke-dashoffset 2s var(--ease) .6s;
	filter: drop-shadow(0 0 6px rgba(104,181,74,.6));
}
.ba-hv.is-visible .ba-hv__ring-bar, html:not(.ba-js) .ba-hv .ba-hv__ring-bar { stroke-dashoffset: calc(var(--c) * (1 - var(--v) / 100)); }
.ba-hv__ring-num { position: absolute; left: 0; right: 0; top: calc(3.4cqi + 10cqi); transform: translateY(-50%); font-family: var(--f-display); font-size: 4.6cqi; line-height: 1; }
.ba-hv__ring-label { margin-top: 1.4cqi; font-size: 2cqi; color: rgba(255,255,255,.7); line-height: 1.3; }

.ba-hv__candles svg { display: block; width: 100%; height: 13cqi; margin-top: 1.6cqi; }
.ba-hv__candle line { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ba-hv__candle.is-up line { stroke: var(--green); }
.ba-hv__candle.is-up rect { fill: var(--green); }
.ba-hv__candle.is-down line { stroke: var(--red); }
.ba-hv__candle.is-down rect { fill: var(--red); }
.ba-hv__candle.is-new { transform-box: fill-box; transform-origin: 50% 100%; animation: ba-candle .6s var(--spring); }
@keyframes ba-candle { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }

.ba-hv__ledger ul { list-style: none; margin: 1.6cqi 0 0; padding: 0; display: grid; gap: 1.3cqi; }
.ba-hv__ledger li {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4cqi;
	font-size: 2.2cqi; padding: 1.1cqi 1.3cqi; border-radius: 1.6cqi; background: rgba(255,255,255,.05);
	opacity: 0;
}
.ba-hv.is-visible .ba-hv__ledger li { animation: ba-ledger 9s var(--ease) calc(1.2s + var(--i) * .7s) infinite; }
html:not(.ba-js) .ba-hv .ba-hv__ledger li { opacity: 1; }
@keyframes ba-ledger {
	0% { opacity: 0; transform: translateX(14px); }
	6%, 82% { opacity: 1; transform: none; }
	92%, 100% { opacity: 0; transform: translateX(-10px); }
}
.ba-hv__tick { width: 3cqi; height: 3cqi; }
.ba-hv__tick circle { fill: rgba(104,181,74,.18); stroke: none; }
.ba-hv__tick path { fill: none; stroke: var(--green-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; }
.ba-hv.is-visible .ba-hv__ledger li .ba-hv__tick path { animation: ba-tick 9s var(--ease) calc(1.5s + var(--i) * .7s) infinite; }
html:not(.ba-js) .ba-hv .ba-hv__tick path { stroke-dashoffset: 0; }
@keyframes ba-tick { 0%, 4% { stroke-dashoffset: 14; } 12%, 100% { stroke-dashoffset: 0; } }
.ba-hv__task { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.9); }
.ba-hv__ledger em { font-style: normal; font-weight: 700; font-size: 1.8cqi; color: var(--green-light); }

.ba-hv__chip {
	position: absolute; z-index: 5; left: 38%; top: 0;
	display: inline-flex; align-items: center; gap: 1.2cqi; padding: 1.2cqi 2.4cqi 1.2cqi 1.4cqi;
	border-radius: 99px; background: #fff; color: var(--navy-950); font-size: 2.3cqi;
	box-shadow: 0 18px 40px -12px rgba(0,8,20,.6);
	translate: calc(var(--px) * 34px) calc(var(--py) * 34px); transition: translate .6s var(--ease);
	opacity: 0;
}
.ba-hv.is-visible .ba-hv__chip, html:not(.ba-js) .ba-hv .ba-hv__chip { animation: ba-card-in .9s var(--spring) 1s forwards, ba-bob 6s ease-in-out 2s infinite; }
.ba-hv__chip svg { width: 4.4cqi; height: 4.4cqi; padding: .8cqi; border-radius: 50%; background: var(--green); color: var(--navy-950); }
.ba-hv__chip strong { font-family: var(--f-display); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Ticker */
.ba-ticker {
	position: relative; overflow: hidden; margin: 0 !important;
	border-top: 1px solid rgba(255,255,255,.1); background: rgba(5, 14, 26, .35);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ba-ticker__track { display: flex; width: max-content; animation: ba-marquee 45s linear infinite; }
.ba-ticker:hover .ba-ticker__track { animation-play-state: paused; }
.ba-ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.ba-ticker__list li { display: inline-flex; align-items: center; gap: .7rem; padding: 1.1rem 2.2rem; white-space: nowrap; position: relative; }
.ba-ticker__list li::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); }
.ba-ticker__label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ba-ticker__value { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .875rem; color: var(--green-light); font-variant-numeric: tabular-nums; }
.ba-ticker__value svg { width: .6rem; height: .6rem; }
@keyframes ba-marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.ba-section { padding-block: var(--wp--preset--spacing--xl); position: relative; }
.ba-section--tight { padding-block: var(--wp--preset--spacing--lg); }
.ba-section h2 { margin-top: 0; }
.ba-section__head { margin-bottom: clamp(2rem, 4vw, 3.5rem) !important; gap: 1.5rem 3rem; }
.ba-section__head h2 { margin: 0; }
.ba-section__intro { max-width: 30rem; color: var(--slate); margin: 0; }

/* Homepage: subtle navy + green wash behind light sections. Glows swap corners
   section to section so stacked sections don't repeat. isolation keeps the
   decorative z-index:-1 pseudo-elements inside each section above the wash. */
.ba-main--home > .ba-section {
	isolation: isolate;
	--wash-a: 0% 0%;
	--wash-b: 100% 100%;
	background-image:
		radial-gradient(60% 55% at var(--wash-a), rgba(104,181,74,.10), transparent 70%),
		radial-gradient(55% 60% at var(--wash-b), rgba(37,71,105,.09), transparent 72%),
		linear-gradient(135deg, rgba(104,181,74,.03), rgba(37,71,105,.04));
}
.ba-main--home > :is(.ba-why, .ba-team, .ba-interview, .ba-contact) { --wash-a: 100% 0%; --wash-b: 0% 100%; }
.ba-main--home > .ba-contact {
	background-image:
		radial-gradient(60% 55% at var(--wash-a), rgba(104,181,74,.10), transparent 70%),
		radial-gradient(55% 60% at var(--wash-b), rgba(37,71,105,.09), transparent 72%),
		linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

/* Reveal on scroll */
.ba-js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.ba-js [data-reveal].is-in { opacity: 1; transform: none; }
.ba-js .ba-reveal-words .ba-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.ba-js .ba-reveal-words .ba-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 55ms); }
.ba-js .ba-reveal-words.is-in .ba-w > span { transform: none; }

/* ---------- About ---------- */
.ba-about__frame { position: relative; padding: 0 0 3rem 0; }
.ba-about__frame::before {
	content: ""; position: absolute; z-index: -1; right: -6%; top: 8%; width: 60%; height: 80%;
	background-image: radial-gradient(var(--line) 2px, transparent 2px); background-size: 18px 18px; border-radius: var(--r-lg);
}
.ba-about__frame::after {
	content: ""; position: absolute; z-index: -1; left: -5%; bottom: 0; width: 46%; height: 45%;
	border-radius: var(--r-lg); background: var(--green-100);
}
.ba-about__photo { margin: 0 !important; }
.ba-about__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
/* About illustration (animated SVG replaces the office photo) */
.ba-about__art { border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; line-height: 0; }
.ba-ai { display: block; width: 100%; height: auto; }
.ba-ai :is(.ba-ai__glow, .ba-ai__orbit, .ba-ai__line, .ba-ai__bar, .ba-ai__stamp, .ba-ai__donut, .ba-ai__chip, .ba-ai__coin, .ba-ai__spark) { transform-box: fill-box; transform-origin: center; }
.ba-ai__label { font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.ba-ai__label--sm { font-size: 11px; letter-spacing: .04em; font-weight: 700; }
.ba-ai__glyph { font-family: var(--f-display); font-size: 26px; }
/* One 7s cycle: lines write, bars grow, trend draws, stamp lands, then it all resets */
.ba-ai__line { transform-origin: left center; animation: ba-ai-write 7s var(--ease) var(--d, 0s) infinite; }
.ba-ai__bar { transform-origin: center bottom; animation: ba-ai-grow 7s var(--spring) var(--d, 0s) infinite; }
.ba-ai__trend { stroke-dasharray: 160; animation: ba-ai-trend 7s ease-in-out infinite; }
.ba-ai__stamp { animation: ba-ai-stamp 7s infinite; }
.ba-ai__lens { transform: translate(300px, 215px); animation: ba-ai-scan 7s ease-in-out infinite; }
.ba-ai__donut { animation: ba-spin 22s linear infinite; }
.ba-ai__orbit { animation: ba-spin 70s linear infinite; }
.ba-ai__orbit--2 { animation-duration: 45s; animation-direction: reverse; }
.ba-ai__glow { animation: ba-breathe 9s ease-in-out infinite; }
.ba-ai__glow--2 { animation-delay: -4s; }
.ba-ai__chip { animation: ba-bob 6s ease-in-out var(--d, 0s) infinite; }
.ba-ai__wire { animation: ba-ai-flow 1.6s linear infinite; }
.ba-ai__coin { animation: ba-ai-drop .8s var(--spring) var(--d, 0s) both; }
.ba-ai__spark { animation: ba-ai-twinkle 3s ease-in-out var(--d, 0s) infinite; }
/* Hold everything until the frame scrolls into view */
.ba-js .ba-about__frame:not(.is-in) .ba-ai * { animation-play-state: paused !important; }
@keyframes ba-ai-write { 0% { transform: scaleX(0); opacity: 1; } 12%, 86% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes ba-ai-grow { 0% { transform: scaleY(0); opacity: 1; } 12%, 86% { transform: scaleY(1); opacity: 1; } 94%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes ba-ai-trend { 0%, 22% { stroke-dashoffset: 160; opacity: 1; } 42%, 86% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ba-ai-stamp { 0%, 52% { transform: scale(1.9); opacity: 0; } 60% { transform: scale(.9); opacity: 1; } 66%, 86% { transform: scale(1); opacity: 1; } 94%, 100% { transform: scale(1); opacity: 0; } }
@keyframes ba-ai-scan {
	0% { transform: translate(196px, 200px); } 18% { transform: translate(320px, 210px); } 34% { transform: translate(230px, 250px); }
	52% { transform: translate(290px, 310px); } 70% { transform: translate(330px, 360px); } 100% { transform: translate(196px, 200px); }
}
@keyframes ba-ai-flow { to { stroke-dashoffset: -20; } }
@keyframes ba-ai-drop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ba-ai-twinkle { 0%, 100% { transform: scale(.3) rotate(0deg); opacity: .2; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }

.ba-float-card {
	position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 1.1rem 1.3rem;
	border: 1px solid rgba(220,229,239,.8);
	animation: ba-bob 7s ease-in-out infinite;
}
.ba-float-card p { margin: 0; }
.ba-float-card--since { top: 6%; left: -6%; text-align: left; animation-duration: 6s; }
.ba-float-card__num { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--navy); }
.ba-float-card__label { font-size: .8rem; color: var(--slate); max-width: 11rem; margin-top: .3rem !important; }
.ba-float-card--support { right: 8%; bottom: 0; max-width: 21rem; gap: .9rem; }
.ba-float-card__icon { margin: 0 !important; flex: none; padding: .55rem; background: var(--mist); border-radius: 12px; }
.ba-float-card__title { font-size: 1.05rem !important; margin: 0 0 .3rem !important; }
.ba-float-card__text { font-size: .85rem; color: var(--slate); line-height: 1.55; }
.ba-values { margin-top: 2rem !important; gap: 1rem !important; }
.ba-values p { margin: 0; padding-top: 1rem; border-top: 2px solid var(--line); font-size: .85rem; color: var(--slate); position: relative; }
.ba-values p::before { content: ""; position: absolute; top: -2px; left: 0; width: 34px; height: 2px; background: var(--green); }
.ba-values strong { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; color: var(--navy-900); }

@media (max-width: 781px) {
	.ba-float-card--since { left: 4%; top: -1.25rem; padding: .7rem 1rem; }
	.ba-float-card--since .ba-float-card__num { font-size: 1.6rem; }
	.ba-float-card--since .ba-float-card__label { font-size: .72rem; max-width: 9rem; }
	.ba-float-card--support { position: relative; right: auto; margin: -2.5rem 1rem 0; max-width: none; }
	.ba-about__frame { padding-bottom: 0; }
	/* Decorative dot grid sits at right:-6% and would cause sideways scroll */
	.ba-about { overflow-x: clip; }
}

/* ---------- Cards (block style) ---------- */
.is-style-card {
	position: relative; background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid rgba(220,229,239,.9); box-shadow: var(--sh-md); overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.is-style-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.is-style-glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); border-radius: var(--r-lg); padding: 2rem; }

.ba-icon-tile { margin: 0 0 1.4rem !important; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: var(--mist); transition: transform .6s var(--spring), background-color .4s; }
.ba-icon-tile img { width: 40px !important; }
.is-style-card:hover .ba-icon-tile { transform: rotate(-8deg) scale(1.08); background: var(--green-100); }

/* Why */
.ba-why__grid { gap: 1.5rem !important; }
.ba-why__num { position: absolute; top: 1.4rem; right: 1.6rem; margin: 0; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--line); font-weight: 300; transition: color .4s; }
.is-style-card:hover .ba-why__num { color: var(--green-100); }
.ba-why__title { font-size: 1.3rem !important; margin: 0 0 .7rem !important; }
.ba-why__text { color: var(--slate); font-size: .94rem; margin: 0; }

/* ---------- Services tabs ---------- */
.ba-tabs { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.ba-tabs__list { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: .5rem; border-radius: var(--r-lg); background: var(--mist); }
.ba-tabs__indicator {
	position: absolute; left: .5rem; right: .5rem; top: 0; height: 0; border-radius: var(--r-md);
	background: linear-gradient(135deg, var(--navy-900), var(--navy)); box-shadow: 0 12px 28px -10px rgba(17,37,61,.6);
	transform: translateY(var(--y, 0)); height: var(--h, 0);
	transition: transform .55s var(--ease), height .55s var(--ease), width .55s var(--ease);
}
.ba-tabs__tab {
	position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem;
	width: 100%; padding: 1rem 1.1rem; border: 0; border-radius: var(--r-md); background: transparent; cursor: pointer;
	font: 600 1rem/1.3 var(--f-body); color: var(--navy-900); text-align: left;
	transition: color .4s var(--ease);
}
.ba-tabs__tab:hover { color: var(--green-700); }
.ba-tabs__tab[aria-selected="true"] { color: #fff; }
.ba-tabs__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: var(--sh-sm); transition: background-color .4s, transform .5s var(--spring); }
.ba-tabs__icon .ba-icon { width: 26px; height: 26px; }
.ba-tabs__tab[aria-selected="true"] .ba-tabs__icon { background: rgba(255,255,255,.1); box-shadow: none; transform: scale(1.06); --ba-accent: var(--green-light); }
.ba-tabs__num { font-size: .75rem; font-weight: 700; letter-spacing: .08em; opacity: .45; }

.ba-tabs__panels { position: relative; }
.ba-tabs__panel {
	background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 3rem);
	border: 1px solid rgba(220,229,239,.9); box-shadow: var(--sh-lg);
}
.ba-js .ba-tabs__panel[hidden] { display: none; }
.ba-tabs__panel.is-entering { animation: ba-panel-in .6s var(--ease); }
@keyframes ba-panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ba-tabs__panel + .ba-tabs__panel { margin-top: 1.5rem; }
.ba-js .ba-tabs__panel + .ba-tabs__panel { margin-top: 0; }
.ba-tabs__panel-head { display: flex; gap: 1.25rem; align-items: flex-start; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.ba-tabs__panel-icon { flex: none; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 20px; background: var(--green-100); color: var(--navy); }
.ba-tabs__panel-icon .ba-icon { width: 38px; height: 38px; }
.ba-tabs__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem) !important; margin: 0 0 .35rem !important; }
.ba-tabs__excerpt { margin: 0; color: var(--slate); }
.ba-tabs__items { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .75rem 1.5rem; }
.ba-tabs__items li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--navy-900); padding: .6rem .75rem; border-radius: 12px; transition: background-color .3s; }
.ba-tabs__items li:hover { background: var(--mist); }
.ba-tabs__items .ba-icon, .ba-service-items .ba-icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: var(--navy-950); margin-top: .1rem; }
.ba-tabs__panel.is-entering .ba-tabs__items li { animation: ba-rise .55s var(--ease) both; animation-delay: calc(var(--i) * 45ms + .1s); }

@media (max-width: 900px) {
	.ba-tabs { grid-template-columns: 1fr; }
	.ba-tabs__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.ba-tabs__list::-webkit-scrollbar { display: none; }
	.ba-tabs__tab { width: auto; flex: none; grid-template-columns: auto auto; scroll-snap-align: start; padding: .7rem 1rem .7rem .7rem; }
	.ba-tabs__num { display: none; }
	.ba-tabs__icon { width: 36px; height: 36px; }
	.ba-tabs__indicator { left: 0; right: auto; top: .5rem; bottom: .5rem; height: auto; width: var(--w, 0); transform: translateX(var(--x, 0)); }
}

/* Services card grid */
.ba-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem; }
.ba-svc-card {
	position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 2rem; border-radius: var(--r-lg);
	background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-md); text-decoration: none; color: var(--ink);
	overflow: hidden; isolation: isolate;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
}
.ba-svc-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--navy-900), var(--navy));
	clip-path: circle(0 at 2.6rem 2.6rem); transition: clip-path .8s var(--ease);
}
.ba-svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); color: #fff; }
.ba-svc-card:hover::before { clip-path: circle(150% at 2.6rem 2.6rem); }
.ba-svc-card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--green-100); color: var(--navy); transition: background-color .4s, color .4s; }
.ba-svc-card:hover .ba-svc-card__icon { background: rgba(255,255,255,.1); color: #fff; --ba-accent: var(--green-light); }
.ba-svc-card__icon .ba-icon { width: 34px; height: 34px; }
.ba-svc-card__title { font-size: 1.4rem !important; margin: .5rem 0 0 !important; color: inherit !important; }
.ba-svc-card__text { margin: 0; font-size: .92rem; color: var(--slate); transition: color .4s; flex: 1; }
.ba-svc-card:hover .ba-svc-card__text { color: rgba(255,255,255,.75); }
.ba-svc-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); transition: border-color .4s; }
.ba-svc-card:hover .ba-svc-card__foot { border-color: rgba(255,255,255,.15); }
.ba-svc-card__count { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); transition: color .4s; }
.ba-svc-card:hover .ba-svc-card__count { color: var(--green-light); }
.ba-svc-card__arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--navy); transition: transform .5s var(--ease), background-color .4s; }
.ba-svc-card__arrow .ba-icon { width: 18px; height: 18px; }
.ba-svc-card:hover .ba-svc-card__arrow { background: var(--green); color: var(--navy-950); transform: rotate(-45deg); }

/* ---------- Offer band ---------- */
.ba-offer-wrap { padding-block: var(--wp--preset--spacing--lg); }
.ba-offer {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	padding: clamp(2rem, 5vw, 4.5rem) !important; border-radius: var(--r-xl);
	background:
		radial-gradient(40% 70% at 100% 0%, rgba(104,181,74,.35), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(58,101,145,.6), transparent 70%),
		linear-gradient(135deg, var(--navy-950), var(--navy));
	box-shadow: var(--sh-lg);
}
.ba-offer::before {
	content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.02);
	animation: ba-breathe 8s ease-in-out infinite;
}
@keyframes ba-breathe { 50% { transform: scale(1.08); } }
.ba-offer .is-style-eyebrow { color: var(--green-light) !important; }
.ba-offer__title { color: #fff !important; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem) !important; margin: 0 0 2rem !important; }
.ba-offer__card { padding: 1.75rem 2rem; border-radius: var(--r-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.ba-offer__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0 0 1rem; }

.is-style-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.is-style-checks li { position: relative; padding-left: 2.1rem; }
.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
	background: var(--green);
}
.is-style-checks li::after {
	content: ""; position: absolute; left: .3rem; top: calc(.2em + .3rem); width: .75rem; height: .75rem; background: var(--navy-950);
	-webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.ba-js .ba-offer .is-style-checks li { opacity: 0; transform: translateX(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ba-js .ba-offer.is-in .is-style-checks li { opacity: 1; transform: none; }
.ba-offer.is-in .is-style-checks li:nth-child(2) { transition-delay: .08s; }
.ba-offer.is-in .is-style-checks li:nth-child(3) { transition-delay: .16s; }
.ba-offer.is-in .is-style-checks li:nth-child(4) { transition-delay: .24s; }
.ba-offer.is-in .is-style-checks li:nth-child(5) { transition-delay: .32s; }
.ba-offer.is-in .is-style-checks li:nth-child(6) { transition-delay: .4s; }

/* ---------- Experts ---------- */
.ba-experts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem; }
.ba-expert { outline: none; }
.ba-expert__media {
	position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5;
	background: linear-gradient(160deg, var(--mist), #DCE7F2); box-shadow: var(--sh-md);
	transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.ba-expert__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.ba-expert__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: 4rem; color: var(--navy); }
.ba-expert__bio {
	position: absolute; inset: auto 0 0 0; padding: 4rem 1.4rem 1.4rem; color: #fff; font-size: .88rem; line-height: 1.55;
	background: linear-gradient(to top, rgba(11,26,44,.95) 30%, rgba(11,26,44,0));
	transform: translateY(101%); transition: transform .6s var(--ease);
}
.ba-expert__bio p { margin: 0; }
.ba-expert:hover .ba-expert__media, .ba-expert:focus-visible .ba-expert__media { box-shadow: var(--sh-lg); transform: translateY(-6px); }
.ba-expert:hover .ba-expert__img, .ba-expert:focus-visible .ba-expert__img { transform: scale(1.06); filter: saturate(1.05); }
.ba-expert:hover .ba-expert__bio, .ba-expert:focus-visible .ba-expert__bio, .ba-expert:focus-within .ba-expert__bio { transform: none; }
.ba-expert:focus-visible .ba-expert__media { outline: 3px solid var(--green); outline-offset: 4px; }
.ba-expert__body { padding: 1.1rem .25rem 0; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .2rem 1rem; }
.ba-expert__name { margin: 0 !important; font-size: 1.25rem !important; grid-column: 1; }
.ba-expert__role { margin: 0; font-size: .82rem; font-weight: 600; color: var(--green-700); grid-column: 1; }
.ba-expert__links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: .4rem; }
.ba-expert__links a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--navy); transition: background-color .3s, color .3s, transform .3s; }
.ba-expert__links a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.ba-expert__links .ba-icon { width: 18px; height: 18px; }
@media (hover: none) { .ba-expert__bio { position: static; transform: none; background: none; color: var(--slate); padding: .75rem .25rem 0; } .ba-expert__media { aspect-ratio: auto; } .ba-expert__img { aspect-ratio: 4/5; } }

/* ---------- Sectors ---------- */
.ba-sectors__grid { gap: 1rem !important; }
.ba-sector {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
	padding: 1.5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.ba-sector:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--green); }
.ba-sector__icon { margin: 0 !important; transition: transform .6s var(--spring); }
.ba-sector:hover .ba-sector__icon { transform: translateY(-4px) rotate(-6deg) scale(1.1); }
.ba-sector__name { margin: 0; font-weight: 700; font-size: .95rem; color: var(--navy-900); }

/* ---------- Interview video ---------- */
.ba-video {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
	background: var(--navy-950); box-shadow: var(--sh-lg); cursor: pointer;
}
.ba-video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(11,26,44,.15), rgba(11,26,44,.65)); transition: opacity .5s; }
.ba-video:hover::before { opacity: .6; }
.ba-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ba-video:hover .ba-video__poster { transform: scale(1.05); }
.ba-video__play {
	position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
	width: 88px; height: 88px; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; background: var(--green); color: var(--navy-950);
	box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transition: transform .5s var(--spring);
}
.ba-video__play svg { width: 34px; height: 34px; margin-left: 4px; }
.ba-video:hover .ba-video__play { transform: scale(1.1); }
.ba-video__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ba-pulse 2s ease-out infinite; }
.ba-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.ba-video.is-playing::before, .ba-video.is-playing .ba-video__play, .ba-video.is-playing .ba-video__poster { display: none; }
.ba-interview::before {
	content: ""; position: absolute; right: 0; top: 15%; width: 45%; height: 70%; z-index: -1; border-radius: var(--r-xl) 0 0 var(--r-xl);
	background: var(--green-100);
}

/* ---------- Post cards / query ---------- */
/* Core grid math assumes a 1.25rem gap; recompute so 3 columns still fit with the wider gap */
.ba-posts__grid { gap: 1.75rem !important; grid-template-columns: repeat(auto-fill, minmax(max(min(18rem, 100%), calc((100% - 3.5rem) / 3)), 1fr)) !important; }
.ba-card-post {
	height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
	border: 1px solid var(--line); box-shadow: var(--sh-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ba-card-post:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.ba-card-post__media { margin: 0 !important; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy)); }
.ba-card-post__media img { transition: transform 1s var(--ease); }
.ba-card-post:hover .ba-card-post__media img { transform: scale(1.06); }
.ba-card-post__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.ba-card-post__body > * { margin: 0 !important; }
.ba-card-post__meta { gap: .75rem !important; font-size: .78rem; font-weight: 600; color: var(--slate); }
.ba-card-post__meta .wp-block-post-terms a { color: var(--green-700); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.ba-card-post__title { font-size: 1.2rem !important; line-height: 1.3 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-card-post__title a { color: var(--navy-900); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.ba-card-post:hover .ba-card-post__title a { background-size: 100% 1.5px; }
.ba-card-post__excerpt { color: var(--slate); font-size: .92rem; flex: 1; }
.ba-card-post__excerpt p { margin: 0; }
.ba-card-post .wp-block-read-more { margin-top: .4rem !important; }
.ba-empty { padding: 3rem 2rem; text-align: center; border-radius: var(--r-lg); background: #fff; border: 1.5px dashed var(--line); color: var(--slate); }
.ba-pagination { margin-top: 3rem !important; gap: .5rem; font-weight: 600; }
.ba-pagination a, .ba-pagination .current { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--navy-900); transition: background-color .3s, color .3s; }
.ba-pagination .current, .ba-pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Notices */
.ba-notices__list { display: grid; gap: 1rem; }
.ba-notice { gap: 1.5rem !important; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.ba-notice:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--green); }
.ba-notice__date { flex: none; width: 6.5rem; padding: .6rem; text-align: center; border-radius: 12px; background: var(--green-100); color: var(--green-700); font-weight: 700; font-size: .8rem; }
.ba-notice__body > * { margin: 0 !important; }
.ba-notice__title { font-size: 1.2rem !important; }
.ba-notice__title a { color: var(--navy-900); text-decoration: none; }
.ba-notice__body .wp-block-post-excerpt { color: var(--slate); font-size: .9rem; margin-top: .3rem !important; }

/* ---------- Contact ---------- */
.ba-contact { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.ba-contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.ba-contact__item { position: relative; display: grid; gap: .1rem; padding: 1.1rem 1.25rem 1.1rem 4.75rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.ba-contact__item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.ba-contact__item::before { content: ""; position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--green-100); }
.ba-contact__item::after { content: ""; position: absolute; left: calc(1.1rem + .7rem); top: 50%; translate: 0 -50%; width: 1.2rem; height: 1.2rem; background: var(--green-700); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ba-contact__item--phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.ba-contact__item--pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.ba-contact__item span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.ba-contact__item a { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy-900); text-decoration: none; }
.ba-contact__item a:hover { color: var(--green-700); }
.ba-contact__item small { font-size: .8rem; color: var(--slate); }

.ba-form-wrap { background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--sh-lg); border: 1px solid rgba(220,229,239,.9); position: relative; }
.ba-form-wrap::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, var(--green), transparent 40%, transparent 60%, var(--navy-600)); opacity: .5; filter: blur(24px); }
.ba-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ba-field { position: relative; margin: 0; }
.ba-field--full { grid-column: 1 / -1; }
.ba-field input, .ba-field select, .ba-field textarea {
	width: 100%; box-sizing: border-box; padding: 1.55rem 1rem .6rem; border-radius: 14px;
	border: 1.5px solid var(--line); background: var(--mist); color: var(--ink);
	font: 500 1rem/1.4 var(--f-body); transition: border-color .3s, background-color .3s, box-shadow .3s;
	appearance: none;
}
.ba-field textarea { resize: vertical; min-height: 8rem; }
.ba-field--select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23254769' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.75rem; }
.ba-field label { position: absolute; left: 1rem; top: 1.05rem; font-size: 1rem; color: var(--slate); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.ba-field input:focus, .ba-field select:focus, .ba-field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(104,181,74,.18); }
.ba-field :is(input, textarea):focus + label,
.ba-field :is(input, textarea):not(:placeholder-shown) + label,
.ba-field--select label,
.ba-field input[type="date"] + label { transform: translateY(-.6rem) scale(.78); color: var(--green-700); font-weight: 600; }
.ba-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ba-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.5rem 0 0; }
.ba-form__foot small { flex: 1 1 14rem; color: var(--slate); font-size: .8rem; }
.ba-form.is-sending .ba-btn { pointer-events: none; opacity: .75; }
.ba-form__notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; margin-bottom: 1.25rem; border-radius: 14px; font-weight: 600; font-size: .92rem; animation: ba-rise .6s var(--ease); }
.ba-form__notice .ba-icon { flex: none; width: 22px; height: 22px; }
.ba-form__notice.is-success { background: var(--green-100); color: var(--green-700); }
.ba-form__notice.is-error { background: #FDECEC; color: #A23131; }
@media (max-width: 600px) { .ba-form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ba-footer-part { margin-top: 0 !important; }
.ba-footer { position: relative; overflow: hidden; isolation: isolate; padding-top: var(--wp--preset--spacing--xl); padding-bottom: 2rem; }
.ba-footer::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -40%; width: 80%; height: 80%; translate: -50% 0; background: radial-gradient(closest-side, rgba(104,181,74,.16), transparent); }
.ba-footer::after {
	content: "B&A"; position: absolute; z-index: -1; right: -2rem; bottom: -4rem; font-family: var(--f-display); font-size: clamp(8rem, 22vw, 20rem); line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none;
}
.ba-footer__cta { padding-bottom: 3rem; margin-bottom: 3rem !important; border-bottom: 1px solid rgba(255,255,255,.1); gap: 2rem; }
.ba-footer__cta-title { color: #fff !important; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem) !important; margin: 0 !important; }
.ba-footer__cta-text { color: rgba(255,255,255,.65); margin: .5rem 0 0 !important; }
.ba-footer__cols { gap: 2.5rem !important; }
.ba-footer__logo { margin: 0 0 1.25rem !important; }
.ba-footer__logo img { background: #fff; padding: 8px 12px; border-radius: 14px; }
.ba-footer__about { color: rgba(255,255,255,.62); font-size: .92rem; max-width: 22rem; }
.ba-footer__title { color: #fff !important; font-family: var(--f-body) !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.25rem !important; }
.ba-footer__list, .ba-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .93rem; }
.ba-footer__list a { color: rgba(255,255,255,.72); text-decoration: none; display: inline-flex; align-items: center; transition: color .3s, transform .3s var(--ease); }
.ba-footer__list a::before { content: ""; width: 0; height: 2px; background: var(--green); transition: width .35s var(--ease), margin .35s var(--ease); }
.ba-footer__list a:hover { color: #fff; }
.ba-footer__list a:hover::before { width: 12px; margin-right: .5rem; }
.ba-footer__contact { color: rgba(255,255,255,.6); gap: 1.1rem; }
.ba-footer__contact strong { color: #fff; font-weight: 600; }
.ba-footer__contact a { color: var(--green-light); text-decoration: none; }
.ba-footer__contact a:hover { text-decoration: underline; }
.ba-social { gap: .5rem !important; margin-top: 1.5rem !important; }
.ba-social .wp-social-link { background: rgba(255,255,255,.08) !important; color: #fff !important; transition: background-color .3s, transform .3s var(--ease); }
.ba-social .wp-social-link:hover { background: var(--green) !important; color: var(--navy-950) !important; transform: translateY(-3px); }
.ba-footer__bottom { margin-top: 3.5rem !important; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); gap: .5rem 2rem; }
.ba-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ba-footer__bottom p { margin: 0; }
.ba-footer__copy { text-align: center; }
.ba-footer__tag { text-align: right; }
.ba-footer__credit { display: flex; align-items: center; gap: .6rem; }
.ba-footer__credit a { display: inline-flex; color: #fff; text-decoration: none; border-radius: 8px; transition: transform .3s var(--ease); }
.ba-footer__credit a:hover { transform: translateY(-2px); }
.ba-footer__credit img { display: block; width: auto; height: 32px; filter: brightness(1.9) saturate(1.15); transition: filter .3s var(--ease); }
.ba-footer__credit a:hover img { filter: brightness(2.2) saturate(1.2); }
@media (max-width: 781px) {
	.ba-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .9rem; }
	.ba-footer__copy { order: -1; }
	.ba-footer__tag { text-align: center; }
}

/* ---------- Back to top ---------- */
.ba-to-top {
	position: fixed; z-index: 90; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--green); color: var(--navy-950); box-shadow: 0 10px 30px -10px rgba(7, 22, 40, .5);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .3s;
}
.ba-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ba-to-top:hover { background: var(--green-light); transform: translateY(-3px); }
.ba-to-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ba-to-top .ba-icon { width: 20px; height: 20px; rotate: -90deg; }

/* ---------- Inner page banner ---------- */
.ba-banner { padding-top: calc(var(--header-h) + var(--admin-bar) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.ba-banner > * { position: relative; }
.ba-banner__title { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem) !important; margin-block: 0 !important; color: #fff; font-weight: 400 !important; }
.ba-banner__lead { margin-block: 1.25rem 0 !important; font-size: var(--wp--preset--font-size--lg); color: rgba(255,255,255,.72); }
.ba-banner__lead p { margin: 0; }
.ba-banner__meta { gap: 1rem !important; margin-block: 0 1rem !important; font-size: .85rem; color: rgba(255,255,255,.7); }
.ba-banner__meta a { color: var(--green-light); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ba-banner .wp-block-buttons { margin-top: 2rem; }
.ba-banner .ba-search { margin-top: 1.5rem; max-width: 32rem; }
.ba-banner .ba-search .wp-block-search__inside-wrapper { border-radius: 999px; overflow: hidden; border: 0; background: #fff; padding: .3rem; }
.ba-banner .ba-search input { border: 0; padding-inline: 1rem; }
.ba-banner .ba-search button { border-radius: 999px; }
.ba-banner::after {
	content: ""; position: absolute; z-index: -1; right: 6%; top: 30%; width: 280px; height: 280px; border-radius: 50%;
	border: 1px dashed rgba(255,255,255,.14); animation: ba-spin 60s linear infinite;
}
.ba-banner--404 .ba-banner__title { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem) !important; }

/* ---------- Prose / single ---------- */
.ba-prose { font-size: 1.075rem; }
.ba-prose > * + * { margin-top: 1.25em; }
.ba-prose h2 { font-size: var(--wp--preset--font-size--xxl); margin-top: 2em; }
.ba-prose h3 { margin-top: 1.8em; }
.ba-prose a { color: var(--navy); text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ba-prose ul li::marker { color: var(--green); }
.ba-prose img { border-radius: var(--r-md); }
.ba-single__media { margin-bottom: 2.5rem !important; }
.ba-single__media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.ba-single .ba-section { padding-top: 0; }
.ba-post-nav { margin-top: 3rem !important; padding-top: 2rem; border-top: 1px solid var(--line); gap: 1rem; }
.ba-post-nav a { font-family: var(--f-display); font-size: 1.1rem; color: var(--navy-900); text-decoration: none; }
.ba-post-nav a:hover { color: var(--green-700); }

.ba-service-items { margin-top: 3rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--mist); }
.ba-service-items__title { font-size: 1.6rem !important; margin: 0 0 1.5rem !important; }
.ba-service-items__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .9rem; }
.ba-service-items__list li { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; background: #fff; border-radius: 14px; box-shadow: var(--sh-sm); font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.ba-aside__card { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 1rem); padding: 2rem; border-radius: var(--r-lg); color: #fff; background: linear-gradient(150deg, var(--navy-950), var(--navy)); box-shadow: var(--sh-lg); }
.ba-aside__card h3 { color: #fff; margin-top: 0; }
.ba-aside__card p { color: rgba(255,255,255,.75); }
.ba-aside__phone a { color: var(--green-light); font-weight: 700; }
.ba-related { background: var(--mist); }
.ba-related-title { font-size: var(--wp--preset--font-size--xxl) !important; margin-bottom: 2rem !important; }

/* Gallery page */
.ba-gallery-page .wp-block-gallery { gap: 1rem !important; }
.ba-gallery-page .wp-block-gallery .wp-block-image { overflow: hidden; border-radius: var(--r-md); box-shadow: var(--sh-md); }
.ba-gallery-page .wp-block-gallery .wp-block-image img { border-radius: 0 !important; transition: transform 1s var(--ease); }
.ba-gallery-page .wp-block-gallery .wp-block-image:hover img { transform: scale(1.06); }
.ba-gallery-page h2 { margin-top: 2.5rem; }

/* ---------- Responsive layout tweaks ---------- */
@media (max-width: 781px) {
	.ba-hero__cols { padding-bottom: 2.5rem; }
	.ba-hero__visual { margin-top: 1rem; }
	.ba-stat { padding-inline: .85rem; }
	.ba-stat__label { font-size: .75rem; }
	.ba-section__head--split { flex-direction: column; align-items: flex-start !important; }
	.ba-interview::before { width: 100%; top: auto; bottom: 0; height: 40%; border-radius: 0; }
	.ba-notice { flex-wrap: wrap !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ba-js [data-reveal], .ba-js .ba-reveal-words .ba-w > span { opacity: 1; transform: none; }
	.ba-hv__card, .ba-hv__chip, .ba-hv__ledger li { opacity: 1; }
	.ba-ticker__track { animation: none; }
}

/* Split section heads: heading grows, intro stays readable */
.ba-section__head--split > .wp-block-group { flex: 1 1 24rem; min-width: 0; }
.ba-section__head--split > .ba-section__intro { flex: 0 1 30rem; }
.ba-section__head--split > .wp-block-buttons { flex: none; }
@media (min-width: 1000px) { .ba-sectors__grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }

/* Mobile refinements */
@media (max-width: 1100px) {
	.ba-header .ba-header__cta { display: none; }
}
@media (max-width: 781px) {
	:root { --header-h: 68px; }
	.ba-header { padding-block: .7rem; }
	.ba-header__logo img { width: 96px !important; padding: 4px 7px; border-radius: 10px; }
	.ba-header-part.is-scrolled .ba-header__logo img { width: 88px !important; }
	.ba-hero__actions .wp-block-button { flex: 1 1 100%; }
	.ba-hero__actions .wp-block-button__link { width: 100%; justify-content: center; }
	.ba-stat { padding-inline: .7rem; }
	.ba-stat__num { font-size: 1.75rem; }
	.ba-trust { align-items: flex-start; font-size: .82rem; }
	.ba-hv__label, .ba-hv__task { font-size: max(2.3cqi, .62rem); }
	.ba-hv__months, .ba-hv__ring-label { font-size: max(1.9cqi, .55rem); }
	.ba-hv__ledger li { font-size: max(2.2cqi, .6rem); }
	.ba-hv__ledger em { font-size: max(1.8cqi, .5rem); }
	.ba-hv__badge, .ba-hv__mini { font-size: max(2.1cqi, .55rem); }
	.ba-hv__chip { font-size: max(2.3cqi, .62rem); }
	/* Stacked split heads: a flex-basis would otherwise become a fixed height */
	.ba-section__head--split > * { flex: none !important; width: 100%; }
	.ba-stat__num { white-space: nowrap; }
	.ba-trust__faces span { margin-left: -7px; }
	.ba-interview::before { height: 22%; }
	.ba-contact__item a { font-size: 1.15rem; line-height: 1.3; }
	/* Two-up grids so short cards don't stack into a long single column */
	.ba-sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
	.ba-sector { padding: 1.1rem; gap: .75rem; }
	.ba-sector__name { font-size: .88rem; }
	.ba-experts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
	.ba-expert__body { padding-top: .8rem; }
	.ba-expert__name { font-size: 1.02rem !important; }
	.ba-expert__role { font-size: .75rem; }
	.ba-expert__bio { font-size: .8rem; }
	.ba-footer__cols { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.25rem !important; }
	.ba-footer__cols > .wp-block-column:first-child, .ba-footer__cols > .wp-block-column:last-child { grid-column: 1 / -1; }
	/* Room for the floating back-to-top button */
	.ba-footer__bottom { padding-bottom: 4.5rem; }
}
@media (max-width: 480px) {
	.ba-stat__num { font-size: 1.55rem; }
	.ba-stat { padding-inline: .6rem; }
	.ba-tabs__panel-head { flex-direction: column; gap: 1rem; }
	.ba-tabs__panel-icon { width: 56px; height: 56px; border-radius: 16px; }
	.ba-offer .wp-block-button__link { padding-inline: 1.25rem; }
	/* Related services: compact row cards (icon, title + count, arrow) */
	.ba-svc-grid { gap: .75rem; }
	.ba-svc-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .1rem 1rem; padding: 1rem 1.1rem; }
	.ba-svc-card__icon { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 14px; }
	.ba-svc-card__icon .ba-icon { width: 28px; height: 28px; }
	.ba-svc-card__title { font-size: 1.1rem !important; margin: 0 !important; }
	.ba-svc-card__text { display: none; }
	.ba-svc-card__foot { display: contents; }
	.ba-svc-card__count { grid-column: 2; font-size: .7rem; }
	.ba-svc-card__arrow { grid-column: 3; grid-row: 1 / span 2; width: 36px; height: 36px; }
}
/* The Contact link only matters where the header CTA is hidden */
@media (min-width: 1101px) { .ba-nav .ba-nav__contact { display: none; } }
.ba-nav .is-menu-open .wp-block-navigation-item:nth-child(7) { animation-delay: .3s; }
/* Banner content aligns to the wide grid; long text keeps a readable measure */
.ba-banner > * { max-width: var(--wp--style--global--wide-size) !important; box-sizing: border-box; }
.ba-banner > .ba-banner__title { padding-right: max(0px, calc(min(100%, var(--wp--style--global--wide-size)) - 52rem)); }
.ba-banner .ba-search { max-width: var(--wp--style--global--wide-size) !important; }
.ba-banner .ba-search .wp-block-search__inside-wrapper { max-width: 32rem; }
