/*
 * home.css — Blue Bird Solutions homepage (version 0.5.0).
 *
 * Loaded on the front page only, after global.css (see inc/homepage.php).
 * Styles the navigation, the sections below the hero (Solutions, About,
 * Contact), the footer and their responsive layouts.
 *
 * Relationship with cinematic.css (unchanged since 0.4.7):
 *   - cinematic.css owns the intro stage, the hero and the reveal classes
 *     (.bb-r, .bb-l, html.bb-cine-*). This file never overrides those.
 *   - This file adds only two hero-adjacent rules, both marked "HERO-ADJ":
 *     the header becomes sticky, and the hero keeps a full-screen height now
 *     that more content follows it. Delete those two blocks to get the exact
 *     0.4.7 hero layout back.
 *
 * Progressive enhancement:
 *   - Everything here works without JavaScript. Classes added by
 *     assets/js/site.js only enhance: html.bb-js (scroll reveals),
 *     html.bb-nav-js (collapsible mobile menu), .is-stuck (header glass),
 *     .bb-sky.is-webgl (hides the CSS motes when the 3D sky is running).
 *   - prefers-reduced-motion switches off every transition and animation.
 *
 * Contents:
 *   1. Tokens          5. Solutions        9. Footer
 *   2. Shared pieces   6. About + sky     10. Scroll reveals
 *   3. Header + hero   7. Contact         11. Reduced motion / print
 *   4. Navigation      8. Inactive form
 */

/* ============================================================ 1. Tokens */

:root {
	--bb-navy: var(--wp--preset--color--deep-navy, #071426);
	--bb-cobalt: var(--wp--preset--color--cobalt-blue, #1557d6);
	--bb-electric: var(--wp--preset--color--electric-blue, #2f7cff);
	--bb-gold: var(--wp--preset--color--champagne-gold, #d8b878);
	--bb-gold-soft: #ecdcb4;
	--bb-silver: #c9d1dc;
	--bb-white: #fff;
	--bb-ink-2: #040c18;
	--bb-text-on-dark: rgba(255, 255, 255, 0.8);
	--bb-line-gold: rgba(216, 184, 120, 0.22);
	--bb-glass: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
	--bb-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif", Georgia, serif;
	--bb-sans: var(--wp--preset--font-family--manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--bb-gutter: clamp(1.25rem, 5vw, 4rem);
	--bb-max: 76rem;
	--bb-radius: 1.25rem;
	--bb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* No page-wide "scroll-behavior: smooth" (removed in 0.5.1): it stopped the
 * intro's instant jump back to the top on Replay. Smooth scrolling for menu
 * and button links is done in assets/js/site.js (feature 7) instead. */

::selection {
	background: var(--bb-gold);
	color: var(--bb-navy);
}

/* ====================================================== 2. Shared pieces */

/* Also defined in cinematic.css; repeated so the new sections stay correct
 * even if the cinematic stylesheet is switched off. */
.bb-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.bb-skiplink {
	position: absolute;
	left: -9999px;
	top: 0;
}

.bb-skiplink:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	background: var(--bb-navy);
	color: var(--bb-white);
	font-weight: 700;
	text-decoration: none;
	outline: 3px solid var(--bb-gold);
	outline-offset: 2px;
}

/* Sections receive focus after a link click (site.js feature 7) so keyboard
 * users continue from there; the section itself needs no focus ring. */
#bb-page:focus,
.bb-section:focus {
	outline: none;
}

.bb-wrap {
	width: min(100% - 2 * var(--bb-gutter), var(--bb-max));
	margin-inline: auto;
}

.bb-section {
	position: relative;
	padding-block: clamp(5rem, 11vw, 9.5rem);
	overflow: hidden;
	color: var(--bb-text-on-dark);
	scroll-margin-top: var(--bb-bar-h, 5rem);
}

.bb-section :focus-visible,
.bb-footer :focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 4px;
	border-radius: 4px;
}

.bb-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 1.5rem;
	color: var(--bb-gold);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.bb-eyebrow__rule {
	width: 2.5rem;
	height: 1px;
	background: linear-gradient(90deg, var(--bb-gold), transparent);
}

.bb-section__title {
	margin: 0;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: clamp(2.3rem, 5.4vw, 4.75rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.bb-section__title em {
	color: var(--bb-gold-soft);
	font-style: italic;
}

.bb-section__lede {
	max-width: 38rem;
	margin: 1.75rem 0 0;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.65;
}

/* Visible marker for copy awaiting approval. Remove the <p class="bb-draft-note">
 * elements in templates/front-page.html once the wording is approved. */
.bb-draft-note {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 1.5rem 0 0;
	padding: 0.4rem 0.85rem;
	border: 1px dashed rgba(216, 184, 120, 0.6);
	border-radius: 999px;
	color: var(--bb-gold-soft);
	font-size: 0.8rem;
}

.bb-draft-note span {
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Clearly identified placeholder text (contact details, privacy link). */
.bb-placeholder {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border: 1px dashed rgba(216, 184, 120, 0.6);
	border-radius: 0.4rem;
	color: var(--bb-gold-soft);
	font-style: italic;
}

.bb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.85rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 700 1rem/1.2 var(--bb-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--bb-ease), box-shadow 0.25s ease;
}

.bb-btn--gold {
	background: var(--bb-gold);
	color: var(--bb-navy);
	box-shadow: 0 10px 30px -12px rgba(216, 184, 120, 0.6);
}

.bb-btn--gold:hover {
	background: var(--bb-gold-soft);
	transform: translateY(-2px);
}

.bb-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* ================================================= 3. Header + hero (HERO-ADJ) */

/* HERO-ADJ 1: the page is now longer than one screen, so keep the original
 * white -> light-neutral hero background over the first screen only. */
.bb-page {
	background: linear-gradient(180deg, var(--wp--preset--color--white) 0, var(--wp--preset--color--light-neutral) 100vh);
	background: linear-gradient(180deg, var(--wp--preset--color--white) 0, var(--wp--preset--color--light-neutral) 100svh);
}

/* HERO-ADJ 2: sticky header, and the hero keeps its full-screen height.
 * --bb-bar-h is measured by site.js; the fallback matches a typical header. */
.bb-page > .bb-hero__bar {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	isolation: isolate;
}

/* Glass layer lives on a pseudo-element: a backdrop-filter on the header
 * itself would trap the fixed-position mobile menu inside it. */
.bb-page > .bb-hero__bar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	box-shadow: 0 1px 0 rgba(7, 20, 38, 0.08), 0 18px 40px -28px rgba(7, 20, 38, 0.45);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.bb-page > .bb-hero__bar.is-stuck::before {
	opacity: 1;
}

.bb-page > .bb-hero {
	min-height: calc(100vh - var(--bb-bar-h, 7rem));
	min-height: calc(100svh - var(--bb-bar-h, 7rem));
}

/* ========================================================= 4. Navigation */

.bb-nav {
	display: flex;
	align-items: center;
}

.bb-nav__panel {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.25rem);
}

.bb-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(0.75rem, 2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-nav__list a {
	position: relative;
	display: inline-block;
	padding: 0.6rem 0.1rem;
	color: var(--bb-navy);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.bb-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.3rem;
	height: 1px;
	background: var(--bb-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--bb-ease);
}

.bb-nav__list a:hover::after,
.bb-nav__list a[aria-current="page"]::after {
	transform: scaleX(1);
}

.bb-nav__cta {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	background: var(--bb-cobalt);
	color: var(--bb-white);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.bb-nav__cta:hover {
	background: var(--bb-navy);
	box-shadow: 0 0 0 1px var(--bb-gold) inset;
}

.bb-nav a:focus-visible,
.bb-nav__toggle:focus-visible {
	outline: 3px solid var(--bb-cobalt);
	outline-offset: 3px;
	border-radius: 4px;
}

.bb-nav__toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border: 1px solid rgba(7, 20, 38, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	color: var(--bb-navy);
	font: 700 0.9rem/1 var(--bb-sans);
	cursor: pointer;
}

.bb-nav__toggle[hidden] {
	display: none;
}

/* The Menu button is only for the collapsed (mobile) layout. */
@media (min-width: 100000px) {
	.bb-nav__toggle {
		display: none;
	}
}

.bb-nav__toggle-icon {
	display: grid;
	gap: 5px;
	width: 1.1rem;
}

.bb-nav__toggle-icon span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s var(--bb-ease);
}

.bb-nav__toggle[aria-expanded="true"] .bb-nav__toggle-icon span:first-child {
	transform: translateY(3.5px) rotate(45deg);
}

.bb-nav__toggle[aria-expanded="true"] .bb-nav__toggle-icon span:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}

/* Without JavaScript on narrow screens the header simply wraps, so every
 * link stays visible and usable. */
@media (max-width: 99999px) {
	.bb-page > .bb-hero__bar {
		flex-wrap: wrap;
		row-gap: 0.75rem;
	}

	html:not(.bb-nav-js) .bb-nav,
	html:not(.bb-nav-js) .bb-nav__panel {
		flex-wrap: wrap;
	}

	/* With the JS menu the header is one row: logo left, Menu button right. */
	.bb-nav-js .bb-page > .bb-hero__bar {
		flex-wrap: nowrap;
		gap: 1rem;
	}

	/* With JavaScript: a full-screen menu opened by the Menu button. */
	.bb-nav-js .bb-nav__panel {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2.5rem;
		padding: 6rem var(--bb-gutter) 3rem;
		background:
			radial-gradient(60rem 40rem at 90% 110%, rgba(216, 184, 120, 0.22), transparent 60%),
			radial-gradient(50rem 40rem at 0% -10%, rgba(21, 87, 214, 0.45), transparent 60%),
			var(--bb-navy);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	.bb-nav-js .bb-nav.is-open .bb-nav__panel {
		visibility: visible;
		opacity: 1;
		transition: opacity 0.3s ease;
	}

	.bb-nav-js .bb-nav__list {
		flex-direction: column;
		gap: 0.25rem;
	}

	.bb-nav-js .bb-nav__list a {
		color: var(--bb-white);
		font-family: var(--bb-serif);
		font-size: clamp(2rem, 8vw, 2.75rem);
		font-weight: 500;
	}

	.bb-nav-js .bb-nav__cta {
		min-height: 3.25rem;
		padding-inline: 1.75rem;
		background: var(--bb-gold);
		color: var(--bb-navy);
		font-size: 1.05rem;
	}

	.bb-nav-js .bb-nav.is-open .bb-nav__toggle {
		border-color: rgba(255, 255, 255, 0.35);
		background: transparent;
		color: var(--bb-white);
	}

	.bb-nav-js .bb-nav.is-open a:focus-visible,
	.bb-nav-js .bb-nav.is-open .bb-nav__toggle:focus-visible {
		outline-color: var(--bb-gold);
	}
}

html.bb-nav-open {
	overflow: hidden;
}

/* ========================================================== 5. Solutions */

.bb-solutions {
	background:
		radial-gradient(70rem 40rem at 15% -10%, rgba(21, 87, 214, 0.35), transparent 60%),
		radial-gradient(50rem 30rem at 100% 100%, rgba(216, 184, 120, 0.08), transparent 60%),
		var(--bb-navy);
}

.bb-solutions::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(60rem, 80%);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--bb-gold), transparent);
	transform: translateX(-50%);
	opacity: 0.6;
}

.bb-section__head {
	max-width: 46rem;
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.bb-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-card {
	--mx: 50%;
	--my: 0%;

	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 18rem;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--bb-line-gold);
	border-radius: var(--bb-radius);
	background:
		radial-gradient(28rem 20rem at var(--mx) var(--my), rgba(47, 124, 255, 0.16), transparent 60%),
		var(--bb-glass);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform 0.45s var(--bb-ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.bb-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 2rem;
	right: 2rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--bb-gold), transparent);
	transform: scaleX(0.3);
	transition: transform 0.6s var(--bb-ease);
}

.bb-card:hover,
.bb-card:focus-within {
	border-color: rgba(216, 184, 120, 0.5);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
	transform: translateY(-4px);
}

.bb-card:hover::before,
.bb-card:focus-within::before {
	transform: scaleX(1);
}

.bb-card__num {
	position: absolute;
	top: clamp(1.5rem, 3vw, 2.25rem);
	right: clamp(1.5rem, 3vw, 2.25rem);
	color: rgba(216, 184, 120, 0.75);
	font-family: var(--bb-serif);
	font-size: 0.95rem;
	font-style: italic;
}

.bb-card__icon {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 2rem;
	border: 1px solid rgba(216, 184, 120, 0.4);
	border-radius: 50%;
	color: var(--bb-gold);
}

.bb-card__icon svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bb-card__title {
	margin: 0 0 0.85rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: clamp(1.5rem, 2.2vw, 1.85rem);
	font-weight: 500;
	line-height: 1.15;
}

.bb-card__text {
	margin: 0 0 1.25rem;
	line-height: 1.65;
}

.bb-card__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.5rem;
	min-height: 2.75rem;
	margin-top: auto;
	color: var(--bb-gold);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

/* Whole card is clickable; the link stays the single focusable element. */
.bb-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.bb-card__arrow {
	transition: transform 0.35s var(--bb-ease);
}

.bb-card:hover .bb-card__arrow {
	transform: translateX(4px);
}

/* Keyboard focus: the link itself carries the visible ring (works in every
 * browser), from the shared ".bb-section :focus-visible" rule above. */

@media (min-width: 700px) {
	.bb-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.bb-card:last-child {
		grid-column: 1 / -1;
	}
}

/* Editorial rhythm on wide screens: two feature cards, then three. */
@media (min-width: 1100px) {
	.bb-cards {
		grid-template-columns: repeat(6, 1fr);
		gap: 1.5rem;
	}

	.bb-card {
		grid-column: span 2;
	}

	.bb-card:nth-child(-n + 2) {
		grid-column: span 3;
		min-height: 20rem;
	}

	.bb-card:last-child {
		grid-column: span 2;
	}
}

/* ====================================================== 6. About + sky */

.bb-about {
	padding-block: clamp(6rem, 13vw, 11rem);
	background:
		radial-gradient(70rem 45rem at 85% 110%, rgba(216, 184, 120, 0.34), transparent 62%),
		radial-gradient(60rem 40rem at 10% 0%, rgba(21, 87, 214, 0.4), transparent 60%),
		linear-gradient(180deg, var(--bb-navy) 0%, #0a2250 55%, #122f63 100%);
}

/* The sky layer: a static CSS glow + motes always; site.js may add a
 * Three.js canvas on capable desktops (see assets/js/sky-fx.js). */
.bb-sky {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.bb-sky canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.4s ease;
}

.bb-sky.is-webgl canvas {
	opacity: 1;
}

/* Keep the text column calm: motes fade out towards the copy on the left. */
.bb-sky canvas,
.bb-sky__motes {
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 40%, #000 70%);
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 40%, #000 70%);
}

.bb-sky__glow {
	position: absolute;
	right: -10%;
	bottom: -30%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(236, 220, 180, 0.28), transparent 65%);
	filter: blur(10px);
}

.bb-sky__motes {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(2px 2px at 12% 78%, rgba(236, 220, 180, 0.7), transparent 60%),
		radial-gradient(1.5px 1.5px at 22% 40%, rgba(255, 255, 255, 0.55), transparent 60%),
		radial-gradient(2px 2px at 35% 88%, rgba(236, 220, 180, 0.6), transparent 60%),
		radial-gradient(1.5px 1.5px at 48% 22%, rgba(201, 209, 220, 0.6), transparent 60%),
		radial-gradient(2.5px 2.5px at 58% 70%, rgba(236, 220, 180, 0.55), transparent 60%),
		radial-gradient(1.5px 1.5px at 67% 35%, rgba(255, 255, 255, 0.5), transparent 60%),
		radial-gradient(2px 2px at 76% 82%, rgba(236, 220, 180, 0.7), transparent 60%),
		radial-gradient(1.5px 1.5px at 86% 18%, rgba(201, 209, 220, 0.55), transparent 60%),
		radial-gradient(2px 2px at 93% 60%, rgba(236, 220, 180, 0.6), transparent 60%);
	opacity: 0.8;
	transition: opacity 1.2s ease;
}

.bb-sky.is-webgl .bb-sky__motes {
	opacity: 0;
}

.bb-about__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5rem);
}

.bb-about__tagline {
	max-width: 30rem;
	margin: 0 0 1.25rem;
	color: var(--bb-silver);
	font-family: var(--bb-serif);
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-style: italic;
	line-height: 1.4;
}

.bb-about__text {
	max-width: 36rem;
	margin: 1.5rem 0 2.25rem;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.75;
}

.bb-about__art {
	display: flex;
	justify-content: center;
}

.bb-about__bird {
	width: min(100%, 38rem);
	height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
	animation: bb-home-glide 9s ease-in-out infinite;
}

@keyframes bb-home-glide {
	0%,
	100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
	50% { transform: translate3d(0, -12px, 0) rotate(0.5deg); }
}

@media (min-width: 960px) {
	.bb-about__grid {
		grid-template-columns: 1.05fr 1fr;
	}
}

/* ============================================================ 7. Contact */

.bb-contact {
	background:
		radial-gradient(50rem 30rem at 0% 0%, rgba(216, 184, 120, 0.1), transparent 60%),
		linear-gradient(180deg, #0b1d3f 0%, var(--bb-navy) 35%, var(--bb-navy) 100%);
}

.bb-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(3rem, 6vw, 5rem);
	align-items: start;
}

.bb-contact__details {
	display: grid;
	gap: 1.25rem;
	margin: 2.5rem 0 0;
}

.bb-contact__details div {
	padding-top: 1.25rem;
	border-top: 1px solid var(--bb-line-gold);
}

.bb-contact__details dt {
	margin-bottom: 0.5rem;
	color: var(--bb-silver);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.bb-contact__details dd {
	margin: 0;
}

@media (min-width: 960px) {
	.bb-contact__grid {
		grid-template-columns: 1fr 1.15fr;
	}
}

/* ====================================================== 8. Inactive form */

.bb-form {
	padding: clamp(1.75rem, 4vw, 3rem);
	border: 1px solid var(--bb-line-gold);
	border-radius: calc(var(--bb-radius) * 1.25);
	background: var(--bb-glass);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.bb-form__title {
	margin: 0 0 1rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: 1.6rem;
	font-weight: 500;
}

.bb-form__status {
	margin: 0 0 2rem;
	padding: 0.9rem 1.1rem;
	border: 1px dashed rgba(216, 184, 120, 0.65);
	border-radius: 0.75rem;
	background: rgba(216, 184, 120, 0.08);
	color: var(--bb-gold-soft);
	font-size: 0.95rem;
	line-height: 1.55;
}

.bb-form__status strong {
	display: block;
	color: var(--bb-gold);
}

.bb-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.1rem 1.25rem;
	margin-bottom: 1.75rem;
}

.bb-field {
	display: grid;
	gap: 0.45rem;
}

.bb-field label {
	color: var(--bb-silver);
	font-size: 0.85rem;
	font-weight: 600;
}

.bb-field__opt {
	color: rgba(201, 209, 220, 0.75);
	font-weight: 400;
}

.bb-field input,
.bb-field select,
.bb-field textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0.7rem;
	background: rgba(255, 255, 255, 0.04);
	color: var(--bb-white);
	font: 400 1rem/1.4 var(--bb-sans);
}

.bb-field textarea {
	resize: none;
}

.bb-field :disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

@media (min-width: 700px) {
	.bb-form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.bb-field--wide {
		grid-column: 1 / -1;
	}
}

/* ============================================================= 9. Footer */

.bb-footer {
	padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem;
	border-top: 1px solid var(--bb-line-gold);
	background: var(--bb-ink-2);
	color: var(--bb-text-on-dark);
}

.bb-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.bb-footer__badge {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--bb-white);
	box-shadow: 0 0 0 1px var(--bb-line-gold), 0 0 0 5px rgba(216, 184, 120, 0.08);
}

/* The official logo is shown unaltered, only placed on a light badge so its
 * cobalt colour stays visible against the dark footer. */
.bb-footer__badge img {
	width: 2.3rem;
	height: auto;
}

.bb-footer__name {
	margin: 0 0 0.4rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: 1.35rem;
}

.bb-footer__tagline {
	max-width: 22rem;
	margin: 0;
	color: var(--bb-silver);
	font-size: 0.9rem;
	line-height: 1.55;
}

.bb-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-footer__nav a {
	display: inline-block;
	padding: 0.5rem 0;
	color: var(--bb-white);
	font-weight: 600;
	text-decoration: none;
}

.bb-footer__nav a:hover {
	color: var(--bb-gold);
}

.bb-footer__legal {
	font-size: 0.85rem;
}

.bb-footer__legal p {
	margin: 0 0 0.75rem;
}

.bb-footer__legal a {
	display: inline-block;
	padding: 0.35rem 0;
	color: var(--bb-silver);
	text-underline-offset: 0.2em;
}

.bb-footer__legal a:hover {
	color: var(--bb-gold);
}

@media (min-width: 960px) {
	.bb-footer__grid {
		grid-template-columns: 1.3fr 1fr 1fr;
		align-items: start;
	}
}

/* ====================================================== 10. Scroll reveals */

/* Only when site.js has confirmed IntersectionObserver works does content
 * start hidden (html.bb-js). Without it, everything is simply visible. */
html.bb-js .bb-rv {
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 0.9s ease, transform 0.9s var(--bb-ease);
}

html.bb-js .bb-rv.is-in {
	opacity: 1;
	transform: none;
}

html.bb-js .bb-card.bb-rv.is-in {
	transition: opacity 0.9s ease, transform 0.45s var(--bb-ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

html.bb-js .bb-card.bb-rv:nth-child(2) { transition-delay: 0.08s; }
html.bb-js .bb-card.bb-rv:nth-child(3) { transition-delay: 0.16s; }
html.bb-js .bb-card.bb-rv:nth-child(4) { transition-delay: 0.24s; }
html.bb-js .bb-card.bb-rv:nth-child(5) { transition-delay: 0.32s; }

html.bb-js .bb-card.bb-rv.is-in:hover {
	transition-delay: 0s;
}

/* ============================================== 11. Reduced motion / print */

@media (prefers-reduced-motion: reduce) {
	html.bb-js .bb-rv,
	html.bb-js .bb-rv.is-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.bb-about__bird {
		animation: none;
	}

	.bb-card,
	.bb-card::before,
	.bb-card__arrow,
	.bb-btn,
	.bb-nav__list a::after,
	.bb-nav__toggle-icon span,
	.bb-page > .bb-hero__bar::before,
	.bb-sky canvas,
	.bb-sky__motes {
		transition: none;
	}

	.bb-card:hover,
	.bb-card:focus-within,
	.bb-btn--gold:hover {
		transform: none;
	}

	@media (max-width: 959px) {
		.bb-nav-js .bb-nav__panel,
		.bb-nav-js .bb-nav.is-open .bb-nav__panel {
			transition: none;
		}
	}
}

@media print {
	html.bb-js .bb-rv {
		opacity: 1;
		transform: none;
	}

	.bb-sky,
	.bb-nav__toggle,
	.bb-skiplink {
		display: none;
	}
}

/* ==========================================================================
   12. From Storm to Sky: homepage layer (0.8.0, front page only)
   Appended in 0.8.0; everything above is unchanged. Delete this block to
   undo it. Pure CSS decoration, no new files or downloads. The sky lives in
   an aria-hidden .bb-ss container; all content renders on top of it.
   ========================================================================== */

/* One continuous sky: the page starts in the storm, so the transparent
   header sits on the same colour as the hero. */
.home .bb-page {
	background: #050d1c;
}

/* Header: transparent over the storm; dark navy glass with a gold hairline
   once scrolled (.is-stuck is set by site.js). Never a white bar. */
.home .bb-page > .bb-hero__bar::before {
	background: linear-gradient(180deg, rgba(5, 13, 28, 0.86), rgba(7, 20, 38, 0.74));
	box-shadow: 0 1px 0 rgba(216, 184, 120, 0.38), 0 18px 40px -26px rgba(0, 0, 0, 0.7);
}
.home .bb-hero__bar .bb-wordmark,
.home .bb-hero__bar .bb-nav__list a {
	color: #fff;
}
.home .bb-hero__bar .bb-nav__toggle {
	border-color: rgba(216, 184, 120, 0.45);
	background: rgba(7, 20, 38, 0.45);
	color: #fff;
}
/* Official logo on a navy badge with a gold ring (artwork unchanged). */
.home .bb-hero__bar .bb-mark {
	border-radius: 50%;
	background: radial-gradient(circle at 50% 45%, rgba(150, 190, 255, 0.32), rgba(7, 20, 38, 0.92) 70%);
	box-shadow: 0 0 0 1px rgba(216, 184, 120, 0.55), 0 0 18px rgba(216, 184, 120, 0.22);
}

/* Hero: pulled up under the header so the sky runs behind it. */
.home .bb-page > main.bb-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-top: calc(-1 * var(--bb-bar-h, 7rem));
	padding-top: calc(var(--bb-bar-h, 7rem) + 3rem);
	min-height: 100vh;
	min-height: 100svh;
	color: #fff;
	background:
		radial-gradient(80rem 34rem at 78% 108%, rgba(216, 184, 120, 0.28), transparent 62%),
		radial-gradient(60rem 40rem at 88% 18%, rgba(47, 124, 255, 0.22), transparent 60%),
		linear-gradient(180deg, #050d1c 0%, #0a1d40 46%, #11326f 78%, #071426 100%);
}
.home main.bb-hero .bb-hero__title,
.home main.bb-hero .bb-hero__title .bb-l {
	color: #fff;
	text-shadow: 0 2px 30px rgba(5, 13, 28, 0.55);
}
.home main.bb-hero .bb-hero__lede {
	color: rgba(233, 240, 252, 0.88);
}
.home main.bb-hero .bb-btn--secondary .wp-block-button__link {
	color: #fff;
	border-color: rgba(216, 184, 120, 0.7);
	background: rgba(7, 20, 38, 0.35);
}
.home main.bb-hero .bb-replay {
	color: rgba(233, 240, 252, 0.8);
}

/* --- Sky layers ---------------------------------------------------------- */
.bb-ss {
	position: absolute;
	inset: 0;
	z-index: -1; /* above the hero background, below all content */
	overflow: hidden;
	pointer-events: none;
}
.bb-ss > * {
	position: absolute;
}

/* Clouds: a 200%-wide strip that repeats every 50%, so the drift loops
   seamlessly. Three depths move at three speeds. */
.bb-ss__clouds {
	left: 0;
	width: 200%;
	background-repeat: repeat-x;
	background-size: 50% 100%;
	will-change: transform;
	animation: bb-ss-drift var(--bb-ss-t, 90s) linear infinite;
}
.bb-ss__clouds--far {
	top: 4%;
	height: 46%;
	opacity: 0.55;
	--bb-ss-t: 160s;
	background-image:
		radial-gradient(28% 36% at 12% 55%, rgba(120, 146, 190, 0.34), transparent 70%),
		radial-gradient(22% 30% at 38% 40%, rgba(120, 146, 190, 0.28), transparent 70%),
		radial-gradient(30% 34% at 66% 62%, rgba(120, 146, 190, 0.3), transparent 70%),
		radial-gradient(20% 28% at 90% 45%, rgba(120, 146, 190, 0.26), transparent 70%);
}
.bb-ss__clouds--mid {
	top: 18%;
	height: 52%;
	opacity: 0.7;
	--bb-ss-t: 105s;
	background-image:
		radial-gradient(26% 40% at 20% 50%, rgba(62, 84, 130, 0.55), transparent 70%),
		radial-gradient(18% 30% at 48% 62%, rgba(84, 108, 156, 0.45), transparent 70%),
		radial-gradient(24% 36% at 78% 44%, rgba(62, 84, 130, 0.5), transparent 70%);
}
.bb-ss__clouds--near {
	top: -8%;
	height: 44%;
	opacity: 0.85;
	--bb-ss-t: 70s;
	background-image:
		radial-gradient(34% 46% at 10% 30%, rgba(14, 26, 52, 0.95), transparent 72%),
		radial-gradient(30% 40% at 44% 18%, rgba(18, 32, 62, 0.9), transparent 72%),
		radial-gradient(36% 48% at 82% 26%, rgba(14, 26, 52, 0.95), transparent 72%);
}
@keyframes bb-ss-drift {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

/* Light breaking through: soft rays from the upper right. */
.bb-ss__rays {
	top: -30%;
	right: -20%;
	width: 90%;
	height: 150%;
	background: repeating-conic-gradient(from 200deg at 85% 10%,
		rgba(255, 236, 196, 0.13) 0deg 3deg, transparent 3deg 11deg);
	-webkit-mask-image: radial-gradient(closest-side at 85% 10%, #000, transparent);
	mask-image: radial-gradient(closest-side at 85% 10%, #000, transparent);
	mix-blend-mode: screen;
	animation: bb-ss-rays 12s ease-in-out infinite alternate;
	transform: translate3d(calc(var(--bb-px, 0) * 10px), 0, 0);
}
@keyframes bb-ss-rays {
	from { opacity: 0.45; }
	to   { opacity: 1; }
}

/* A rare, faint lightning glint (low opacity, never a full-screen flash). */
.bb-ss__glint {
	inset: 0;
	background: radial-gradient(40rem 24rem at 22% 8%, rgba(190, 215, 255, 0.5), transparent 70%);
	opacity: 0;
	animation: bb-ss-glint 13s linear 4s infinite;
}
@keyframes bb-ss-glint {
	0%, 93%, 100% { opacity: 0; }
	94% { opacity: 0.35; }
	95% { opacity: 0.05; }
	96% { opacity: 0.22; }
}

/* Rising champagne-gold motes: a tile of dots that loops upwards. */
.bb-ss__motes {
	left: 0;
	right: 0;
	top: 0;
	height: 200%;
	background-image:
		radial-gradient(1.6px 1.6px at 12% 18%, rgba(240, 214, 160, 0.9), transparent),
		radial-gradient(1.2px 1.2px at 32% 64%, rgba(240, 214, 160, 0.7), transparent),
		radial-gradient(2px 2px at 54% 36%, rgba(240, 214, 160, 0.8), transparent),
		radial-gradient(1.2px 1.2px at 71% 82%, rgba(220, 228, 240, 0.7), transparent),
		radial-gradient(1.8px 1.8px at 88% 28%, rgba(240, 214, 160, 0.75), transparent),
		radial-gradient(1.4px 1.4px at 44% 92%, rgba(220, 228, 240, 0.6), transparent);
	background-size: 420px 420px;
	opacity: 0.8;
	will-change: transform;
	animation: bb-ss-rise 48s linear infinite;
}
@keyframes bb-ss-rise {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(0, -420px, 0); }
}

/* The official bird gliding into the light (existing glide.webp still). */
.bb-ss__bird {
	right: 6%;
	top: 30%;
	width: min(40vw, 520px);
	transform: translate3d(calc(var(--bb-px, 0) * 18px), calc(var(--bb-py, 0) * 12px), 0);
	transition: transform 0.6s ease-out;
}
.bb-ss__bird img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
	animation: bb-ss-glide 9s ease-in-out infinite;
}
@keyframes bb-ss-glide {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.5deg); }
	50%      { transform: translate3d(-14px, -18px, 0) rotate(1deg); }
}

/* Horizon: fades into the navy section below, so there is no seam. */
.bb-ss__horizon {
	left: 0;
	right: 0;
	bottom: 0;
	height: 30%;
	background: linear-gradient(180deg, transparent, #071426);
}

/* Paused while off screen (site.js feature 9 adds .is-offscreen). */
.bb-hero.is-offscreen .bb-ss *,
.bb-logo.is-offscreen .bb-logo__badge,
.bb-logo.is-offscreen .bb-logo__badge::before,
.bb-logo.is-offscreen .bb-logo__badge::after {
	animation-play-state: paused !important;
}

/* --- Logo moment ---------------------------------------------------------- */
.bb-logo {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 10vw, 8rem) 1.5rem;
	text-align: center;
	color: #fff;
	background:
		radial-gradient(40rem 26rem at 50% 42%, rgba(216, 184, 120, 0.16), transparent 70%),
		#071426;
}
.bb-logo__badge {
	position: relative;
	width: clamp(12rem, 30vw, 18rem);
	aspect-ratio: 1;
	margin: 0 auto 2rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: radial-gradient(circle at 50% 45%, rgba(150, 190, 255, 0.3), rgba(10, 29, 64, 0.95) 68%);
	box-shadow:
		0 0 0 1px rgba(216, 184, 120, 0.6),
		0 0 60px 10px rgba(216, 184, 120, 0.18),
		inset 0 0 40px rgba(5, 13, 28, 0.6);
}
.bb-logo__badge img {
	position: relative;
	z-index: 1;
	width: 64%;
	height: auto;
}
/* Light sweep: travels around the gold ring only, never over the logo. */
.bb-logo__badge::before {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 232, 186, 0.95) 82%, transparent 92%);
	-webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
	mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
	animation: bb-logo-spin 7s linear infinite;
}
/* Faint orbiting motes. */
.bb-logo__badge::after {
	content: "";
	position: absolute;
	inset: -34px;
	border-radius: 50%;
	background:
		radial-gradient(2px 2px at 50% 0, rgba(240, 214, 160, 0.9), transparent),
		radial-gradient(1.5px 1.5px at 100% 55%, rgba(220, 228, 240, 0.8), transparent),
		radial-gradient(2px 2px at 20% 92%, rgba(240, 214, 160, 0.8), transparent);
	animation: bb-logo-spin 24s linear infinite reverse;
}
@keyframes bb-logo-spin {
	to { transform: rotate(360deg); }
}
.bb-logo__line {
	margin: 0 auto;
	max-width: 36rem;
	font-size: clamp(1.25rem, 2.6vw, 1.75rem);
	line-height: 1.35;
	color: #fff;
}
.bb-logo__line em {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.72em;
	font-style: normal;
	color: var(--bb-gold-soft, #e8d3a6);
}

/* --- Phones: a lighter sky ------------------------------------------------ */
@media (max-width: 781px) {
	.bb-ss__clouds--mid,
	.bb-ss__rays {
		display: none;
	}
	.bb-ss__bird {
		right: -8%;
		top: auto;
		bottom: 6%;
		width: 62vw;
		opacity: 0.55;
	}
	.bb-ss__motes {
		background-size: 300px 300px;
	}
}

/* Mid-size screens: keep the bird clear of the headline. */
@media (min-width: 782px) and (max-width: 1279px) {
	.bb-ss__bird {
		right: 1%;
		top: 14%;
		width: 34vw;
		opacity: 0.85;
	}
}

/* --- Reduced motion: a still sky ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.bb-ss *,
	.bb-logo__badge::before,
	.bb-logo__badge::after {
		animation: none !important;
	}
	.bb-ss__glint {
		display: none;
	}
}


/* ==========================================================================
   13. From Storm to Sky: rest of the homepage (0.9.0, front page only)
   Appended in 0.9.0; delete this block to undo it. CSS and inline SVG only.
   ========================================================================== */

/* Shared: a thin cloud veil behind a section (reuses the .bb-ss layers). */
.home .bb-section[data-bb-anim] {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.bb-ss--thin .bb-ss__clouds--far {
	opacity: 0.35;
	--bb-ss-t: 200s;
}
.bb-ss--thin .bb-ss__motes {
	opacity: 0.45;
	animation-duration: 70s;
}
[data-bb-anim].is-offscreen *,
[data-bb-anim].is-offscreen *::before,
[data-bb-anim].is-offscreen *::after {
	animation-play-state: paused !important;
}

/* --- Solutions: deeper sky, livelier cards -------------------------------- */
.home .bb-solutions {
	background:
		radial-gradient(70rem 40rem at 15% -10%, rgba(21, 87, 214, 0.35), transparent 60%),
		linear-gradient(180deg, #071426 0%, #0a1d40 100%);
}
.home .bb-solutions .bb-card {
	border-color: rgba(216, 184, 120, 0.22);
	background:
		radial-gradient(28rem 20rem at var(--mx) var(--my), rgba(47, 124, 255, 0.18), transparent 60%),
		linear-gradient(160deg, rgba(20, 44, 92, 0.55), rgba(7, 20, 38, 0.55));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.home .bb-solutions .bb-card__icon {
	box-shadow: 0 0 0 1px rgba(216, 184, 120, 0.45), 0 0 0 0 rgba(216, 184, 120, 0.35);
	animation: bb-halo 5s ease-in-out infinite;
}
.home .bb-solutions .bb-card:nth-child(2) .bb-card__icon { animation-delay: 1s; }
.home .bb-solutions .bb-card:nth-child(3) .bb-card__icon { animation-delay: 2s; }
.home .bb-solutions .bb-card:nth-child(4) .bb-card__icon { animation-delay: 3s; }
.home .bb-solutions .bb-card:nth-child(5) .bb-card__icon { animation-delay: 4s; }
@keyframes bb-halo {
	0%, 100% { box-shadow: 0 0 0 1px rgba(216, 184, 120, 0.45), 0 0 0 0 rgba(216, 184, 120, 0); }
	50%      { box-shadow: 0 0 0 1px rgba(216, 184, 120, 0.75), 0 0 22px 2px rgba(216, 184, 120, 0.28); }
}
.home .bb-solutions .bb-card__num {
	color: var(--bb-gold, #d8b878);
}

/* --- Four service showcases ---------------------------------------------- */
.bb-show {
	background:
		radial-gradient(60rem 36rem at 90% 30%, rgba(47, 124, 255, 0.18), transparent 60%),
		linear-gradient(180deg, #0a1d40 0%, #0d2552 55%, #0a1d40 100%);
}
.bb-show__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	margin-top: clamp(3rem, 7vw, 6rem);
}
@media (min-width: 782px) {
	.bb-show__row { grid-template-columns: 1.05fr 1fr; }
	.bb-show__row--flip .bb-show__art { order: 2; }
}
.bb-show__art {
	position: relative;
	width: 100%;
	max-width: 36rem;
	margin-inline: auto;
	aspect-ratio: 4 / 3;
	border-radius: 1.5rem;
	border: 1px solid rgba(216, 184, 120, 0.2);
	background:
		radial-gradient(70% 60% at 50% 45%, rgba(47, 124, 255, 0.22), transparent 70%),
		linear-gradient(160deg, rgba(20, 44, 92, 0.7), rgba(5, 13, 28, 0.85));
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.bb-show__art svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.bb-show__copy { color: var(--bb-text-on-dark, #dfe7f5); }
.bb-show__num {
	margin: 0 0 0.6rem;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bb-gold, #d8b878);
}
.bb-show__title {
	margin: 0 0 1rem;
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	line-height: 1.15;
	color: #fff;
}
.bb-show__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 1.5rem;
	padding: 0;
	list-style: none;
}
.bb-show__tags li {
	padding: 0.35rem 0.8rem;
	border: 1px solid rgba(216, 184, 120, 0.35);
	border-radius: 999px;
	font-size: 0.85rem;
	color: #f1e6cc;
	background: rgba(7, 20, 38, 0.45);
}

/* Motif 1: growth trails drawing upward. */
.bb-m-grid path { stroke: rgba(160, 185, 230, 0.12); stroke-width: 1; }
.bb-m-trail {
	stroke-width: 3;
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
	animation: bb-draw 6s ease-in-out infinite;
}
.bb-m-trail--a { stroke: #e7c98a; filter: drop-shadow(0 0 6px rgba(231, 201, 138, 0.7)); }
.bb-m-trail--b { stroke: #4f8dff; stroke-width: 2; animation-delay: 0.8s; }
.bb-m-dot { fill: #f3dfae; animation: bb-pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bb-m-dot--b { fill: #8db4ff; animation-delay: 1.2s; }
@keyframes bb-draw {
	0% { stroke-dashoffset: 520; }
	55%, 80% { stroke-dashoffset: 0; }
	100% { stroke-dashoffset: -520; }
}
@keyframes bb-pulse {
	0%, 100% { transform: scale(1); opacity: 0.8; }
	50% { transform: scale(1.6); opacity: 1; }
}

/* Motif 2: a network of people lighting up. */
.bb-m-links path {
	stroke: rgba(216, 184, 120, 0.4);
	stroke-width: 1.5;
	stroke-dasharray: 6 8;
	animation: bb-flow 4s linear infinite;
}
.bb-m-nodes circle {
	fill: #8db4ff;
	transform-box: fill-box;
	transform-origin: center;
	animation: bb-pulse 3.6s ease-in-out infinite;
}
.bb-m-nodes circle:nth-child(2) { animation-delay: 0.6s; }
.bb-m-nodes circle:nth-child(3) { animation-delay: 1.2s; }
.bb-m-nodes circle:nth-child(4) { animation-delay: 1.8s; }
.bb-m-nodes circle:nth-child(5) { animation-delay: 2.4s; }
.bb-m-core { fill: #f3dfae; filter: drop-shadow(0 0 10px rgba(243, 223, 174, 0.8)); }
@keyframes bb-flow { to { stroke-dashoffset: -28; } }

/* Motif 3: orbiting "wireframe" rings (a 2D illusion of depth). */
.bb-m-orbits ellipse,
.bb-m-orbits circle {
	stroke: rgba(141, 180, 255, 0.55);
	stroke-width: 1.2;
	transform-origin: 200px 150px;
}
.bb-m-orbits circle { stroke: rgba(216, 184, 120, 0.3); stroke-dasharray: 2 6; animation: bb-turn 60s linear infinite; }
.bb-m-o1 { animation: bb-turn 18s linear infinite; }
.bb-m-o2 { animation: bb-turn2 22s linear infinite; }
.bb-m-o3 { animation: bb-turn3 26s linear infinite; }
.bb-show__art--mind .bb-m-core { animation: bb-glow-soft 3s ease-in-out infinite; }
@keyframes bb-glow-soft { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes bb-turn  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes bb-turn2 { from { transform: rotate(60deg); }  to { transform: rotate(420deg); } }
@keyframes bb-turn3 { from { transform: rotate(120deg); } to { transform: rotate(-240deg); } }

/* Motif 4: a compass settling and a lit path of stepping stones. */
.bb-m-compass circle { stroke: rgba(216, 184, 120, 0.55); stroke-width: 1.5; }
.bb-m-ticks { stroke: rgba(216, 184, 120, 0.8); stroke-width: 2; }
.bb-m-needle {
	fill: rgba(231, 201, 138, 0.9);
	transform-origin: 290px 110px;
	animation: bb-needle 7s ease-in-out infinite;
}
@keyframes bb-needle {
	0%   { transform: rotate(-70deg); }
	30%  { transform: rotate(25deg); }
	45%  { transform: rotate(-10deg); }
	60%, 100% { transform: rotate(0deg); }
}
.bb-m-steps circle {
	fill: rgba(141, 180, 255, 0.25);
	animation: bb-step 5s ease-in-out infinite;
}
.bb-m-steps circle:nth-child(2) { animation-delay: 0.4s; }
.bb-m-steps circle:nth-child(3) { animation-delay: 0.8s; }
.bb-m-steps circle:nth-child(4) { animation-delay: 1.2s; }
.bb-m-steps circle:nth-child(5) { animation-delay: 1.6s; }
@keyframes bb-step {
	0%, 100% { fill: rgba(141, 180, 255, 0.25); }
	30%, 60% { fill: #f3dfae; }
}

/* --- About: purpose and capabilities ------------------------------------- */
.bb-about__pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}
.bb-about__pillars li {
	padding: 0.9rem 1rem;
	border-left: 2px solid var(--bb-gold, #d8b878);
	border-radius: 0 0.75rem 0.75rem 0;
	background: linear-gradient(90deg, rgba(216, 184, 120, 0.12), rgba(7, 20, 38, 0.2));
	color: var(--bb-text-on-dark, #dfe7f5);
	font-size: 0.95rem;
}
.bb-about__pillars strong {
	display: block;
	color: #fff;
}

/* --- Growth: the sky turns from storm to golden dawn as you scroll ------- */
.bb-grow {
	--g: 0.5; /* 0 = storm, 1 = dawn; set by site.js feature 10 */
	min-height: 100vh;
	padding-block: clamp(6rem, 16vh, 11rem);
	background: linear-gradient(180deg, #0a1d40, #071426);
}
.bb-grow__sky,
.bb-grow__sky > * {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.bb-grow__sky { z-index: -1; }
.bb-grow__dawn {
	background: linear-gradient(180deg, #16336e 0%, #6b5a78 45%, #c89a63 80%, #e8c68a 100%);
	opacity: calc(var(--g) * 0.9);
}
.bb-grow__sun {
	top: auto;
	left: 50%;
	width: 70rem;
	height: 70rem;
	margin-left: -35rem;
	bottom: -52rem;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 236, 196, 0.9), rgba(232, 198, 138, 0.35) 45%, transparent 70%);
	opacity: var(--g);
	transform: translate3d(0, calc((1 - var(--g)) * 18rem), 0);
}
.bb-grow .bb-section__title,
.bb-grow__to { text-shadow: 0 2px 24px rgba(5, 13, 28, 0.45); }
.bb-grow__list {
	display: grid;
	gap: 1rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.bb-grow__list li {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.4rem;
	border: 1px solid rgba(255, 236, 196, 0.25);
	border-radius: 1rem;
	background: rgba(7, 20, 38, 0.38);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.bb-grow__from { color: rgba(200, 212, 235, 0.75); }
.bb-grow__to { color: #fff; font-weight: 600; text-align: right; }
.bb-grow__arrow {
	width: 4rem;
	height: 1px;
	background: linear-gradient(90deg, rgba(141, 180, 255, 0.4), #e7c98a);
	position: relative;
}
.bb-grow__arrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f3dfae;
	box-shadow: 0 0 10px #f3dfae;
}
@media (max-width: 600px) {
	.bb-grow__list li { grid-template-columns: 1fr; gap: 0.4rem; }
	.bb-grow__to { text-align: left; }
	.bb-grow__arrow { width: 2.5rem; }
}

/* --- Contact: warm dawn light --------------------------------------------- */
.home .bb-contact {
	background:
		radial-gradient(60rem 30rem at 50% -10%, rgba(232, 198, 138, 0.35), transparent 65%),
		radial-gradient(40rem 30rem at 100% 100%, rgba(47, 124, 255, 0.18), transparent 60%),
		linear-gradient(180deg, #2a2a45 0%, #121d38 45%, #071426 100%);
}
.home .bb-contact .bb-form {
	border: 1px solid rgba(216, 184, 120, 0.35);
	border-radius: 1.5rem;
	background: linear-gradient(160deg, rgba(40, 52, 90, 0.55), rgba(7, 20, 38, 0.7));
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 236, 196, 0.12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* --- Footer: night sky, logo on a navy badge with a gold ring ----------- */
.home .bb-footer {
	position: relative;
	background:
		radial-gradient(1.2px 1.2px at 12% 30%, rgba(255, 255, 255, 0.7), transparent),
		radial-gradient(1px 1px at 28% 70%, rgba(255, 255, 255, 0.5), transparent),
		radial-gradient(1.4px 1.4px at 46% 20%, rgba(243, 223, 174, 0.7), transparent),
		radial-gradient(1px 1px at 63% 55%, rgba(255, 255, 255, 0.5), transparent),
		radial-gradient(1.2px 1.2px at 81% 25%, rgba(255, 255, 255, 0.6), transparent),
		radial-gradient(1px 1px at 92% 75%, rgba(243, 223, 174, 0.6), transparent),
		radial-gradient(50rem 20rem at 50% 0, rgba(21, 87, 214, 0.18), transparent 70%),
		#040c18;
	background-size: 520px 260px, 520px 260px, 520px 260px, 520px 260px, 520px 260px, 520px 260px, auto, auto;
	border-top: 1px solid rgba(216, 184, 120, 0.25);
}
.home .bb-footer__badge {
	background: radial-gradient(circle at 50% 45%, rgba(150, 190, 255, 0.32), rgba(10, 29, 64, 0.95) 70%);
	box-shadow: 0 0 0 1px rgba(216, 184, 120, 0.6), 0 0 20px rgba(216, 184, 120, 0.2);
}

/* --- Phones and reduced motion ------------------------------------------- */
@media (max-width: 781px) {
	.bb-ss--thin .bb-ss__clouds { display: none; }
	.bb-grow { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.bb-show__art *,
	.bb-solutions .bb-card__icon,
	.bb-ss--thin * {
		animation: none !important;
	}
	.bb-m-trail { stroke-dashoffset: 0; }
}


/* ==========================================================================
   14. Visual QA fixes (0.9.2, front page only)
   Hero bird with separate wing layers, logo without badges, smoother
   Growth-to-Contact light, phone bird placement. Delete to undo.
   ========================================================================== */

/* Hero bird: the official cut-out rig (same art as the intro), wings are
   separate layers that adjust gently at the shoulder; head and body stay
   still. Pivot points match cinematic.css. */
.bb-ss__bird--rig {
	top: 16%;
	width: min(44vw, 600px);
}
.bb-hb {
	position: relative;
	aspect-ratio: 716 / 454;
	filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
}
.bb-ss__bird--rig .bb-hb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: none;
	filter: none;
}
.bb-hb__w--l {
	transform-origin: 40.8% 44.9%;
	animation: bb-hb-l 6s ease-in-out infinite !important;
}
.bb-hb__w--r {
	transform-origin: 54.5% 44.9%;
	animation: bb-hb-r 6s ease-in-out -0.25s infinite !important;
}
@keyframes bb-hb-l {
	0%, 100% { transform: rotate(0deg); }
	45%      { transform: rotate(2.6deg); }
	70%      { transform: rotate(-0.8deg); }
}
@keyframes bb-hb-r {
	0%, 100% { transform: rotate(0deg); }
	45%      { transform: rotate(-2.6deg); }
	70%      { transform: rotate(0.8deg); }
}
@media (min-width: 782px) and (max-width: 1279px) {
	.bb-ss__bird--rig { top: 12%; width: 40vw; opacity: 1; }
}
@media (max-width: 781px) {
	.bb-ss__bird--rig {
		right: -6%;
		top: auto;
		bottom: 2%;
		width: 64vw;
		opacity: 0.9;
	}
}

/* Logo: no circles or badges. The official artwork stays untouched; only
   soft light is placed around and behind it. */
.home .bb-hero__bar .bb-mark,
.home .bb-footer__badge {
	border-radius: 0;
	background: none;
	box-shadow: none;
}
.home .bb-hero__bar .bb-mark img,
.home .bb-footer__badge img {
	filter: drop-shadow(0 0 5px rgba(150, 190, 255, 0.55)) drop-shadow(0 0 14px rgba(216, 184, 120, 0.22));
}

/* Logo moment: the logo floats in light between two clouds of haze, with a
   thin champagne-gold horizon beam behind it and a light pulse along it. */
.bb-logo {
	background:
		radial-gradient(50rem 22rem at 50% 45%, rgba(21, 87, 214, 0.22), transparent 70%),
		linear-gradient(180deg, #071426 0%, #0a1b3a 50%, #071426 100%);
}
.bb-logo__stage {
	position: relative;
	width: clamp(11rem, 24vw, 16rem);
	margin: 0 auto 1.25rem;
	aspect-ratio: 526 / 448;
}
.bb-logo__art {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 0 10px rgba(150, 190, 255, 0.5)) drop-shadow(0 0 32px rgba(216, 184, 120, 0.25));
}
.bb-logo__haze,
.bb-logo__beam,
.bb-logo__motes {
	position: absolute;
	pointer-events: none;
}
.bb-logo__haze {
	inset: -45% -70%;
	z-index: 0;
	background:
		radial-gradient(closest-side, rgba(170, 200, 255, 0.28), rgba(216, 184, 120, 0.12) 55%, transparent 100%);
	animation: bb-logo-breathe 8s ease-in-out infinite;
}
@keyframes bb-logo-breathe {
	0%, 100% { opacity: 0.75; transform: scale(0.96); }
	50%      { opacity: 1;    transform: scale(1.04); }
}
.bb-logo__beam {
	z-index: 1;
	left: -60vw;
	right: -60vw;
	top: 104%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(216, 184, 120, 0.55) 35%, rgba(255, 236, 196, 0.9) 50%, rgba(216, 184, 120, 0.55) 65%, transparent);
	box-shadow: 0 0 12px rgba(216, 184, 120, 0.45);
}
.bb-logo__beam::after {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	width: 18rem;
	height: 7px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 244, 220, 0.95), transparent);
	animation: bb-logo-sweep 7s ease-in-out infinite;
}
@keyframes bb-logo-sweep {
	0%   { transform: translateX(0); opacity: 0; }
	15%  { opacity: 1; }
	85%  { opacity: 1; }
	100% { transform: translateX(calc(120vw + 24rem)); opacity: 0; }
}
.bb-logo__motes {
	inset: -40% -60%;
	z-index: 1;
	background-image:
		radial-gradient(1.6px 1.6px at 18% 30%, rgba(240, 214, 160, 0.9), transparent),
		radial-gradient(1.2px 1.2px at 80% 22%, rgba(220, 228, 240, 0.8), transparent),
		radial-gradient(1.8px 1.8px at 70% 78%, rgba(240, 214, 160, 0.8), transparent),
		radial-gradient(1.2px 1.2px at 28% 82%, rgba(220, 228, 240, 0.7), transparent),
		radial-gradient(1.4px 1.4px at 50% 8%, rgba(240, 214, 160, 0.7), transparent);
	animation: bb-logo-drift 14s ease-in-out infinite alternate;
}
@keyframes bb-logo-drift {
	from { transform: translate3d(0, 6px, 0); }
	to   { transform: translate3d(0, -10px, 0); }
}
.bb-logo__name {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #fff;
}
.home .bb-footer__badge { width: auto; height: auto; }
.home .bb-footer__badge img { width: 52px; height: auto; }

.bb-logo.is-offscreen .bb-logo__stage *,
.bb-logo.is-offscreen .bb-logo__beam::after {
	animation-play-state: paused !important;
}

/* Growth ends in a warm dusk band that the Contact section continues, so
   the gold sky no longer stops abruptly. */
.bb-grow__dawn {
	background: linear-gradient(180deg, #16336e 0%, #6b5a78 40%, #c89a63 72%, #b48a64 86%, #3a3348 100%);
}
.home .bb-contact {
	background:
		radial-gradient(60rem 26rem at 50% 0, rgba(232, 198, 138, 0.28), transparent 70%),
		radial-gradient(40rem 30rem at 100% 100%, rgba(47, 124, 255, 0.18), transparent 60%),
		linear-gradient(180deg, #3a3348 0%, #1c2140 38%, #071426 100%);
}

@media (prefers-reduced-motion: reduce) {
	.bb-hb__w--l,
	.bb-hb__w--r,
	.bb-logo__haze,
	.bb-logo__motes,
	.bb-logo__beam::after {
		animation: none !important;
	}
	.bb-logo__beam::after { display: none; }
}


/* ==========================================================================
   15. Logo background: real cloud imagery (0.9.3, front page only)
   bb-logo-sky.webp (Media Library, 14 KB) is the owner's still
   06_Open_World_Distant_Bird with the small bird removed and colour-graded
   to navy with champagne-gold lit clouds. Delete this block to undo it.
   ========================================================================== */
.bb-logo {
	isolation: isolate;
	background: #071426;
}
.bb-logo::before,
.bb-logo::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.bb-logo::before {
	background: url("/wp-content/uploads/2026/09/bb-logo-sky.webp") center 70% / cover no-repeat;
	transform-origin: 50% 80%;
	animation: bb-logo-sky 40s ease-in-out infinite alternate;
}
.bb-logo::after {
	background:
		radial-gradient(38rem 20rem at 50% 42%, rgba(120, 160, 230, 0.16), transparent 70%),
		linear-gradient(180deg, #071426 0%, rgba(7, 20, 38, 0.2) 22%, rgba(7, 20, 38, 0) 60%, rgba(7, 20, 38, 0.35) 82%, #071426 100%);
}
@keyframes bb-logo-sky {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to   { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.bb-logo.is-offscreen::before { animation-play-state: paused; }
.bb-logo__stage { margin-bottom: 2.25rem; }
.bb-logo__beam { top: calc(100% + 1.1rem); }
@media (prefers-reduced-motion: reduce) {
	.bb-logo::before { animation: none; }
}


/* ==========================================================================
   16. Bird variety, depth and logo contrast (0.10.0, front page only)
   Birds are cut-outs from the owner's clean stills (Media Library,
   bb-bird-*.webp). Depth is layered 2.5D (sky, bird, shadow, foreground
   wisp moving at different speeds), not a true 3D model. Delete to undo.
   ========================================================================== */

/* --- Logo contrast: ivory light around the unchanged artwork ------------ */
.home .bb-hero__bar .bb-mark img,
.home .bb-footer__badge img {
	filter:
		drop-shadow(0 0 1.5px rgba(255, 250, 238, 0.95))
		drop-shadow(0 0 6px rgba(255, 244, 222, 0.75))
		drop-shadow(0 0 16px rgba(216, 184, 120, 0.45));
}
.bb-logo::before {
	background-image: url("/wp-content/uploads/2026/09/bb-logo-sky-light.webp");
	background-position: center 60%;
}
.bb-logo::after {
	background:
		radial-gradient(34rem 18rem at 50% 40%, rgba(255, 248, 232, 0.85), rgba(255, 248, 232, 0.35) 55%, transparent 75%),
		linear-gradient(180deg, #071426 0%, rgba(7, 20, 38, 0) 20%, rgba(7, 20, 38, 0) 78%, #071426 100%);
}
.bb-logo__haze {
	background: radial-gradient(closest-side, rgba(255, 246, 226, 0.9), rgba(232, 205, 150, 0.35) 55%, transparent 100%);
}
.bb-logo__art {
	filter: drop-shadow(0 14px 22px rgba(10, 30, 70, 0.28)) drop-shadow(0 0 18px rgba(255, 244, 222, 0.8));
}
.bb-logo__name { color: #0b1e44; }
.bb-logo__line { color: #0b1e44; text-shadow: 0 1px 12px rgba(255, 248, 232, 0.8); }
.bb-logo__line em { color: #8a6424; }
.bb-logo__beam { background: linear-gradient(90deg, transparent, rgba(176, 138, 70, 0.6) 35%, rgba(216, 184, 120, 0.95) 50%, rgba(176, 138, 70, 0.6) 65%, transparent); }

/* --- Hero bird: backlight and a touch of layer parallax ------------------ */
.bb-ss__bird--rig::before {
	content: "";
	position: absolute;
	inset: 5% 10%;
	background: radial-gradient(closest-side, rgba(255, 226, 170, 0.28), transparent 75%);
	filter: blur(10px);
}
.bb-hb__body { translate: calc(var(--bb-px, 0) * 4px) calc(var(--bb-py, 0) * 3px); transition: translate 0.5s ease-out; }
.bb-hb__w { translate: calc(var(--bb-px, 0) * -3px) calc(var(--bb-py, 0) * -2px); transition: translate 0.5s ease-out; }

/* --- Solutions: a bird breaking upward behind the heading ---------------- */
.bb-sol__bird {
	position: absolute;
	z-index: -1;
	right: 4%;
	top: 2.5rem;
	width: min(28vw, 360px);
	height: auto;
	opacity: 0.92;
	filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(216, 184, 120, 0.18));
	transform: translate3d(0, calc(var(--bb-sy, 0) * -70px), 0);
	pointer-events: none;
}
@media (max-width: 781px) { .bb-sol__bird { width: 38vw; top: 1rem; right: -4%; opacity: 0.5; } }

/* --- Division panels: layered sky, bird, shadow, foreground wisp -------- */
.bb-dv__art { perspective: 1000px; }
.bb-dv__art > * { position: absolute; pointer-events: none; }
.bb-dv__sky { inset: 0; }
.bb-dv__sky::before {
	content: "";
	position: absolute;
	inset: -10% -30%;
	background:
		radial-gradient(22% 16% at 20% 70%, rgba(255, 255, 255, 0.55), transparent 70%),
		radial-gradient(26% 14% at 55% 82%, rgba(255, 255, 255, 0.45), transparent 70%),
		radial-gradient(18% 12% at 85% 66%, rgba(255, 255, 255, 0.5), transparent 70%);
	transform: translate3d(calc(var(--bb-dx, 0) * -8px), 0, 0);
	animation: bb-dv-drift 30s ease-in-out infinite alternate;
}
@keyframes bb-dv-drift { to { translate: -6% 0; } }
.bb-dv__art--marketing .bb-dv__sky { background: radial-gradient(60% 50% at 72% 28%, rgba(255, 244, 214, 0.95), transparent 70%), linear-gradient(180deg, #bcd3ef 0%, #7ea6dc 55%, #3f6fbd 100%); }
.bb-dv__art--tech .bb-dv__sky { background: radial-gradient(55% 45% at 25% 25%, rgba(240, 246, 255, 0.95), transparent 70%), linear-gradient(180deg, #e3ecf7 0%, #a9c3e6 55%, #5b80bf 100%); }
.bb-dv__art--growth .bb-dv__sky { background: radial-gradient(50% 45% at 28% 72%, rgba(255, 236, 190, 0.95), transparent 70%), linear-gradient(180deg, #f5e3bd 0%, #deb57a 50%, #8c7690 100%); }
.bb-dv__art--academy .bb-dv__sky { background: radial-gradient(55% 50% at 50% 35%, rgba(255, 250, 238, 1), transparent 70%), linear-gradient(180deg, #fbf4e4 0%, #ecd9b0 55%, #a8b6cf 100%); }
.bb-dv__art--staffing .bb-dv__sky,
.bb-dv__art--ai .bb-dv__sky { background: radial-gradient(70% 60% at 50% 45%, rgba(47, 124, 255, 0.22), transparent 70%); }
.bb-dv__art--staffing .bb-dv__sky::before,
.bb-dv__art--ai .bb-dv__sky::before { opacity: 0.12; }
.bb-dv__motif { inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; transform: translate3d(calc(var(--bb-dx, 0) * 10px), calc(var(--bb-dy, 0) * 8px), 0); transition: transform 0.5s ease-out; }
.bb-dv__bird {
	z-index: 2;
	left: 50%;
	top: 48%;
	width: 80%;
	height: auto;
	transform:
		translate(-50%, -50%)
		translate3d(calc(var(--bb-dx, 0) * 16px), calc(var(--bb-dy, 0) * 12px + var(--bb-sy, 0) * -26px), 0)
		rotateY(calc(var(--bb-dx, 0) * 5deg)) rotateX(calc(var(--bb-dy, 0) * -4deg));
	transition: transform 0.5s ease-out;
	filter: drop-shadow(0 18px 18px rgba(12, 24, 52, 0.35)) drop-shadow(0 2px 2px rgba(12, 24, 52, 0.3));
	animation: bb-dv-float 7s ease-in-out infinite;
}
@keyframes bb-dv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.bb-dv__art--tech .bb-dv__bird { width: 66%; animation-delay: -2s; }
.bb-dv__art--growth .bb-dv__bird { width: 66%; animation-delay: -4s; }
.bb-dv__art--academy .bb-dv__bird { width: 34%; top: 50%; animation: none; }
.bb-dv__shadow {
	z-index: 1;
	left: 30%;
	right: 30%;
	bottom: 8%;
	height: 9%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(12, 24, 52, 0.38), transparent);
	filter: blur(6px);
	transform: translate3d(calc(var(--bb-dx, 0) * -10px), 0, 0);
	animation: bb-dv-shadow 7s ease-in-out infinite;
}
@keyframes bb-dv-shadow { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 0.9; opacity: 0.75; } }
.bb-dv__art--academy .bb-dv__shadow { left: 36%; right: 36%; bottom: 14%; animation: none; }
.bb-dv__art--staffing .bb-dv__wisp,
.bb-dv__art--ai .bb-dv__wisp { display: none; }
.bb-dv__wisp {
	z-index: 3;
	left: -15%;
	right: -15%;
	bottom: -12%;
	height: 38%;
	background:
		radial-gradient(30% 45% at 25% 60%, rgba(255, 255, 255, 0.55), transparent 70%),
		radial-gradient(35% 50% at 70% 70%, rgba(255, 255, 255, 0.45), transparent 70%);
	filter: blur(4px);
	transform: translate3d(calc(var(--bb-dx, 0) * 28px), calc(var(--bb-sy, 0) * 20px), 0);
	transition: transform 0.5s ease-out;
}

/* --- Growth: the owner's sunrise breakthrough still fades in with --g ---- */
.bb-grow__photo {
	background: url("/wp-content/uploads/2026/09/bb-growth-sunrise.webp") center 35% / cover no-repeat;
	opacity: calc(var(--g) * 0.8);
	transform: scale(calc(1.12 - var(--g) * 0.08));
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 92%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 92%);
}
.bb-grow__dawn { opacity: calc(var(--g) * 0.55); }

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.bb-dv__bird, .bb-dv__shadow, .bb-dv__sky::before { animation: none !important; }
	.bb-dv__bird, .bb-dv__wisp, .bb-dv__motif, .bb-sol__bird, .bb-hb__body, .bb-hb__w { transition: none; }
}


/* ==========================================================================
   17. Wing rigs, free-flying birds and new typography (0.10.1)
   Each homepage bird is split into body + wing layers (made from the
   owner's stills); only the wings move, at the shoulder. Panels no longer
   frame birds in boxes. Fonts: Bricolage Grotesque (headings), Figtree
   (text), Instrument Serif italic (accent words), from Google Fonts.
   ========================================================================== */
:root { --wp--preset--font-family--manrope: "Figtree", -apple-system, "Segoe UI", sans-serif; }
body { font-family: "Figtree", -apple-system, "Segoe UI", sans-serif; }
body h1, body h2, body h3, body h4,
.bb-hero__title, .bb-hero__title .bb-l, .bb-section__title, .bb-show__title,
.bb-card__title, .bb-footer__name, .bb-logo__line, .bb-form__title, .bb-wordmark {
	font-family: "Bricolage Grotesque", "Figtree", sans-serif;
	letter-spacing: -0.012em;
}
.bb-wordmark, .bb-logo__name { letter-spacing: 0.14em; }
.bb-section__title em, .bb-hero__title em, .bb-show__title em {
	font-family: "Instrument Serif", Georgia, serif;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
}

/* Wing rig */
.bb-rg { position: relative; height: auto; }
.bb-rg > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; animation: none; }
.bb-rg > .bb-rg__w {
	transform-origin: var(--ox) var(--oy);
	animation: bb-rg-flap var(--dur, 3.4s) cubic-bezier(.45, 0, .55, 1) infinite;
}
.bb-rg > .bb-rg__w + .bb-rg__w { animation-delay: -0.08s; }
@keyframes bb-rg-flap {
	0%, 100% { rotate: calc(var(--amp) * -1); }
	50%      { rotate: var(--amp); }
}

/* Hero rig: a clearer, slow wing beat (was too subtle to notice). */
.bb-hb__w--l { animation: bb-hb2-l 3.2s cubic-bezier(.45, 0, .55, 1) infinite !important; }
.bb-hb__w--r { animation: bb-hb2-r 3.2s cubic-bezier(.45, 0, .55, 1) -0.06s infinite !important; }
@keyframes bb-hb2-l { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(7deg); } }
@keyframes bb-hb2-r { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-7deg); } }

/* Birds fly free: no boxes, a soft light behind them for contrast. */
.bb-show .bb-dv__art {
	background: none;
	border: 0;
	box-shadow: none;
	overflow: visible;
	border-radius: 0;
}
.bb-show .bb-dv__art[class] .bb-dv__sky {
	inset: -6% -4%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(226, 236, 255, 0.5), rgba(216, 184, 120, 0.16) 55%, transparent 78%);
	filter: blur(6px);
}
.bb-show .bb-dv__art--staffing .bb-dv__sky,
.bb-show .bb-dv__art--ai .bb-dv__sky { background: radial-gradient(closest-side, rgba(47, 124, 255, 0.22), transparent 75%); }
.bb-dv__sky::before { opacity: 0.35; }
.bb-dv__wisp { opacity: 0.5; }
.bb-dv__bird, .bb-sol__bird, .bb-about__bird.bb-rg {
	filter: drop-shadow(0 0 1px rgba(255, 236, 196, 0.55)) drop-shadow(0 26px 26px rgba(4, 10, 24, 0.55));
}
.bb-dv__art--academy .bb-dv__bird { width: 30%; }
.bb-about__bird.bb-rg { display: block; width: 100%; }

@media (prefers-reduced-motion: reduce) {
	.bb-rg > .bb-rg__w, .bb-hb__w--l, .bb-hb__w--r { animation: none !important; }
}


/* ==========================================================================
   18. Clean homepage (0.10.2): decorative birds and 2.5D effects removed.
   The rules in sections 16-17 for .bb-dv__bird / .bb-rg / .bb-sol__bird are
   now unused. Division panels use simple line motifs; About is one column.
   ========================================================================== */
.bb-show .bb-dv__art[class] .bb-dv__sky { inset: 0; border-radius: 0; filter: none; background: radial-gradient(70% 60% at 50% 45%, rgba(47, 124, 255, 0.2), transparent 72%); }
.bb-dv__sky::before { display: none; }
.bb-show .bb-dv__art { border: 1px solid rgba(216, 184, 120, 0.16); border-radius: 1.5rem; background: linear-gradient(160deg, rgba(20, 44, 92, 0.45), rgba(5, 13, 28, 0.6)); overflow: hidden; }
.bb-m-panels rect { fill: rgba(20, 44, 92, 0.45); stroke: rgba(141, 180, 255, 0.5); stroke-width: 1.5; }
.bb-m-panels rect:last-child { stroke: rgba(216, 184, 120, 0.6); }
.home .bb-about__art { display: none; }
.home .bb-about__grid { grid-template-columns: 1fr; max-width: 52rem; }


/* ==========================================================================
   19. Hero bird (0.10.3): one static image from the Media Library
   (02_Storm_Struggle_Wings_Up, id 72). Its storm background is feathered
   away with a soft mask so it blends into the hero sky. No animation.
   ========================================================================== */
.bb-ss__hero-bird {
	right: -2%;
	top: 8%;
	width: min(60vw, 900px);
	-webkit-mask-image: radial-gradient(ellipse 46% 50% at 52% 50%, #000 55%, transparent 100%);
	mask-image: radial-gradient(ellipse 46% 50% at 52% 50%, #000 55%, transparent 100%);
}
.bb-ss__hero-bird img { display: block; width: 100%; height: auto; }
@media (min-width: 782px) and (max-width: 1279px) {
	.bb-ss__hero-bird { top: 14%; width: 62vw; right: -8%; }
}
@media (max-width: 781px) {
	.bb-ss__hero-bird { top: auto; bottom: 0; right: -18%; width: 115vw; opacity: 0.85; }
}

/* 0.10.4: hero bird switched to 09_Flight_Horizontal_Gold_Tips (bright
   sky still), so it is toned toward the night sky and feathered tighter. */
.bb-ss__hero-bird--09 {
	-webkit-mask-image: radial-gradient(ellipse 48% 42% at 50% 50%, #000 45%, transparent 100%);
	mask-image: radial-gradient(ellipse 48% 42% at 50% 50%, #000 45%, transparent 100%);
}
.bb-ss__hero-bird--09 img { filter: brightness(0.82) contrast(1.08) saturate(1.05); mix-blend-mode: luminosity; mix-blend-mode: normal; }

/* 0.10.5: show the full wingspan (wider mask, bird kept inside the screen). */
.bb-ss__hero-bird--09 {
	right: 1%;
	top: 12%;
	width: min(56vw, 860px);
	-webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 72%, transparent 100%);
	mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 72%, transparent 100%);
}
@media (min-width: 782px) and (max-width: 1279px) {
	.bb-ss__hero-bird--09 { right: 0; top: 16%; width: 58vw; }
}
@media (max-width: 781px) {
	.bb-ss__hero-bird--09 { right: -2%; bottom: 2%; top: auto; width: 100vw; }
}

/* 0.10.6: same bird (09 Gold Tips) as the existing background-free
   cut-out from the Media Library, so the whole wingspan shows with no
   photo patch. Static. */
.bb-ss__hero-bird--cut {
	right: 2%;
	top: 16%;
	width: min(52vw, 820px);
	-webkit-mask-image: none;
	mask-image: none;
	filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 40px rgba(216, 184, 120, 0.12));
}
@media (min-width: 782px) and (max-width: 1279px) { .bb-ss__hero-bird--cut { top: 18%; width: 54vw; right: 0; } }
@media (max-width: 781px) { .bb-ss__hero-bird--cut { top: auto; bottom: 3%; right: -4%; width: 96vw; opacity: 0.9; } }

/* 0.10.7: sharper, clean-edged hero bird (bb-hero-bird-09-hq.webp); crisp shadow only. */
.bb-ss__hero-bird--cut { filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.4)); }

/* 0.10.8: a subtle lightning bolt behind the hero bird. It stays almost
   invisible and flickers briefly about every 11 s (low brightness, never
   a full-screen flash). Hidden for reduced motion. */
.bb-ss__storm { top: 0; right: 8%; width: min(26vw, 380px); height: 78%; }
.bb-ss__stormglow {
	position: absolute; inset: -10% -60%;
	background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(170, 200, 255, 0.55), transparent 70%);
	opacity: 0; animation: bb-bolt-glow 11s linear 3s infinite;
}
.bb-ss__bolt { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: bb-bolt 11s linear 3s infinite; }
.bb-ss__bolt-main { stroke: #eaf2ff; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(170, 205, 255, 0.95)) drop-shadow(0 0 16px rgba(120, 160, 255, 0.7)); }
.bb-ss__bolt-branch { stroke: rgba(220, 234, 255, 0.8); stroke-width: 1.4; filter: drop-shadow(0 0 5px rgba(150, 185, 255, 0.8)); }
@keyframes bb-bolt {
	0%, 88%, 100% { opacity: 0; }
	89% { opacity: 0.75; } 89.8% { opacity: 0.1; } 90.6% { opacity: 0.6; } 93% { opacity: 0; }
}
@keyframes bb-bolt-glow {
	0%, 88%, 100% { opacity: 0.06; }
	89% { opacity: 0.55; } 90% { opacity: 0.15; } 90.8% { opacity: 0.45; } 94% { opacity: 0.06; }
}
@media (max-width: 781px) { .bb-ss__storm { right: 4%; width: 40vw; height: 60%; } }
@media (prefers-reduced-motion: reduce) { .bb-ss__storm { display: none; } }

/* 0.10.9: the lightning now affects the scene. On each strike the whole
   storm sky lights up briefly and the bird is lit by the flash (a cool
   rim light); light rain falls through the hero. Same 11 s rhythm as the
   bolt. All hidden or still with reduced motion. */
.home main.bb-hero .bb-ss__glint {
	background: radial-gradient(60rem 36rem at 78% 18%, rgba(190, 215, 255, 0.55), transparent 70%);
	animation: bb-bolt-sky 11s linear 3s infinite;
}
@keyframes bb-bolt-sky {
	0%, 88%, 100% { opacity: 0; }
	89% { opacity: 0.55; } 89.8% { opacity: 0.1; } 90.6% { opacity: 0.4; } 93.5% { opacity: 0; }
}
.bb-ss__hero-bird--cut img { animation: bb-bird-lit 11s linear 3s infinite; }
@keyframes bb-bird-lit {
	0%, 88%, 100% { filter: none; }
	89%   { filter: brightness(1.45) drop-shadow(0 -2px 10px rgba(200, 222, 255, 0.85)); }
	89.8% { filter: brightness(1.05); }
	90.6% { filter: brightness(1.3) drop-shadow(0 -2px 8px rgba(200, 222, 255, 0.7)); }
	93.5% { filter: none; }
}
.home main.bb-hero .bb-ss::after {
	content: "";
	position: absolute;
	left: -10%;
	right: -10%;
	top: -100%;
	height: 200%;
	background: repeating-linear-gradient(100deg, transparent 0 22px, rgba(200, 215, 240, 0.16) 22px 23px, transparent 23px 58px);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	opacity: 0.55;
	animation: bb-rain 1.1s linear infinite;
	pointer-events: none;
}
@keyframes bb-rain { to { transform: translate3d(-9%, 50%, 0); } }
@media (max-width: 781px) { .home main.bb-hero .bb-ss::after { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
	.home main.bb-hero .bb-ss::after { display: none; }
	.bb-ss__hero-bird--cut img, .home main.bb-hero .bb-ss__glint { animation: none; }
}

/* 0.10.10: rain lines removed. Instead: a rolling storm mist and soft,
   glowing drops drifting through the hero that catch the lightning. The
   bolt now follows a natural, jagged path. */
.home main.bb-hero .bb-ss::after {
	top: -60%;
	height: 160%;
	background:
		radial-gradient(2.5px 3.5px at 12% 20%, rgba(215, 228, 255, 0.55), transparent),
		radial-gradient(1.5px 2.5px at 38% 62%, rgba(215, 228, 255, 0.45), transparent),
		radial-gradient(3px 4px at 57% 35%, rgba(215, 228, 255, 0.35), transparent),
		radial-gradient(1.5px 2px at 74% 78%, rgba(215, 228, 255, 0.5), transparent),
		radial-gradient(2px 3px at 91% 12%, rgba(215, 228, 255, 0.4), transparent),
		radial-gradient(1px 1.5px at 25% 88%, rgba(215, 228, 255, 0.5), transparent);
	background-size: 260px 320px;
	filter: blur(0.4px);
	opacity: 0.6;
	animation: bb-drops 7s linear infinite, bb-drops-lit 11s linear 3s infinite;
}
@keyframes bb-drops { to { transform: translate3d(-120px, 320px, 0); } }
@keyframes bb-drops-lit {
	0%, 88%, 100% { opacity: 0.55; }
	89% { opacity: 1; } 89.8% { opacity: 0.6; } 90.6% { opacity: 0.95; } 93.5% { opacity: 0.55; }
}
.home main.bb-hero .bb-ss::before {
	content: "";
	position: absolute;
	left: 0;
	top: 20%;
	width: 200%;
	height: 80%;
	pointer-events: none;
	background:
		radial-gradient(30% 45% at 10% 60%, rgba(120, 140, 185, 0.22), transparent 70%),
		radial-gradient(24% 38% at 35% 75%, rgba(120, 140, 185, 0.18), transparent 70%),
		radial-gradient(30% 45% at 60% 55%, rgba(120, 140, 185, 0.2), transparent 70%),
		radial-gradient(26% 40% at 85% 80%, rgba(120, 140, 185, 0.18), transparent 70%);
	background-size: 50% 100%;
	background-repeat: repeat-x;
	filter: blur(8px);
	animation: bb-ss-drift 55s linear infinite, bb-mist-lit 11s linear 3s infinite;
}
@keyframes bb-mist-lit {
	0%, 88%, 100% { opacity: 0.8; }
	89% { opacity: 1.4; } 90% { opacity: 0.9; } 90.8% { opacity: 1.2; } 94% { opacity: 0.8; }
}
.bb-ss__bolt-main { stroke-width: 2.4; }
.bb-ss__bolt-branch { stroke-width: 1.1; }
@media (max-width: 781px) { .home main.bb-hero .bb-ss::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .home main.bb-hero .bb-ss::before { animation: none; } }

/* 0.10.11: four kinds of lightning take turns, one strike every 11 s
   (a 44 s cycle): 1) forked bolt behind the bird, 2) branching
   cloud-to-cloud lightning across the top of the sky, 3) a thin distant
   bolt, 4) sheet lightning that lights up the clouds with no bolt. The
   sky, bird, mist and drops still light up on every strike. */
@keyframes bb-strike44 {
	0%, 97.2%, 100% { opacity: 0; }
	97.3% { opacity: var(--pk, 0.75); }
	97.5% { opacity: 0.08; }
	97.7% { opacity: calc(var(--pk, 0.75) * 0.8); }
	98.4% { opacity: 0; }
}
.bb-ss__bolt { animation: bb-strike44 44s linear -30s infinite; --pk: 0.8; }
.bb-ss__stormglow { animation: bb-strike44 44s linear -30s infinite; --pk: 0.5; }
.bb-ss__spider { top: 5%; left: 28%; width: 66%; height: 20%; opacity: 0; animation: bb-strike44 44s linear -19s infinite; --pk: 0.7; }
.bb-ss__far { top: 2%; left: 44%; width: min(9vw, 130px); height: 46%; opacity: 0; animation: bb-strike44 44s linear -8s infinite; --pk: 0.45; }
.bb-ss__spider svg, .bb-ss__far svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bb-ss__lm { stroke: #eaf2ff; stroke-width: 2.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(170, 205, 255, 0.95)) drop-shadow(0 0 14px rgba(120, 160, 255, 0.6)); }
.bb-ss__lb { stroke: rgba(220, 234, 255, 0.75); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(150, 185, 255, 0.8)); }
.bb-ss__far .bb-ss__lm { stroke-width: 1.4; }
.bb-ss__sheet {
	inset: 0;
	background:
		radial-gradient(40rem 18rem at 62% 12%, rgba(200, 222, 255, 0.55), transparent 70%),
		radial-gradient(26rem 14rem at 85% 30%, rgba(200, 222, 255, 0.35), transparent 70%);
	opacity: 0;
	animation: bb-strike44 44s linear 3s infinite;
	--pk: 0.8;
}
@media (max-width: 781px) { .bb-ss__spider { left: 5%; width: 90%; } .bb-ss__far { display: none; } }
@media (prefers-reduced-motion: reduce) { .bb-ss__spider, .bb-ss__far, .bb-ss__sheet { display: none; } }

/* 0.10.12: live lightning (site.js feature 12) replaces the fixed 44 s
   rotation. The fixed bolts are hidden; sky/bird flashes now follow the
   bigger strikes (.bb-flash) instead of a timer. */
.bb-ss__storm, .bb-ss__spider, .bb-ss__far, .bb-ss__sheet { display: none; }
.home main.bb-hero .bb-ss__glint, .bb-ss__hero-bird--cut img { animation: none; }
.home main.bb-hero .bb-ss::after { animation: bb-drops 7s linear infinite; }
.home main.bb-hero .bb-ss::before { animation: bb-ss-drift 55s linear infinite; }
.bb-ls { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; stroke-linecap: round; stroke-linejoin: round; }
.bb-ls g { animation: bb-ls-life 0.6s linear forwards; }
.bb-ls path { vector-effect: non-scaling-stroke; transition: stroke-dashoffset 0.12s ease-out; }
.bb-ls .m { stroke: #eef4ff; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(170, 205, 255, 0.95)) drop-shadow(0 0 12px rgba(120, 160, 255, 0.55)); }
.bb-ls .m.big { stroke-width: 2.8; }
.bb-ls .m.t { stroke-width: 1.2; }
.bb-ls .b { stroke: rgba(220, 234, 255, 0.7); stroke-width: 1; }
@keyframes bb-ls-life { 0% { opacity: 0.95; } 30% { opacity: 0.3; } 45% { opacity: 0.85; } 100% { opacity: 0; } }
.bb-flash .bb-ss__glint { animation: bb-flash-sky 0.7s linear; }
@keyframes bb-flash-sky { 0% { opacity: 0.5; } 30% { opacity: 0.1; } 45% { opacity: 0.4; } 100% { opacity: 0; } }
.bb-flash .bb-ss__hero-bird--cut img { animation: bb-flash-bird 0.7s linear; }
@keyframes bb-flash-bird {
	0% { filter: brightness(1.4) drop-shadow(0 -2px 10px rgba(200, 222, 255, 0.85)); }
	30% { filter: brightness(1.05); }
	45% { filter: brightness(1.3) drop-shadow(0 -2px 8px rgba(200, 222, 255, 0.7)); }
	100% { filter: none; }
}

/* 0.10.17: the logo section shows the perched bird character (still 15,
   clean cut-out) instead of the logo, on the same pale-sky background.
   The gold beam becomes the ledge it stands on. The logo itself is still
   used in the header and footer. */
.bb-logo__stage:has(.bb-logo__bird) { width: clamp(11rem, 21vw, 16rem); aspect-ratio: 402 / 628; }
.bb-logo__art.bb-logo__bird { filter: drop-shadow(0 18px 22px rgba(10, 30, 70, 0.3)); }
.bb-logo__stage:has(.bb-logo__bird) .bb-logo__beam { top: 66.5%; }
.bb-logo__stage:has(.bb-logo__bird) .bb-logo__haze { inset: -20% -120%; }

/* 0.10.19: no tint from the warm haze over the bird; colours exactly as the original. */
.bb-logo__art.bb-logo__bird { position: relative; z-index: 3; filter: drop-shadow(0 18px 22px rgba(10, 30, 70, 0.28)); }

/* 0.10.21: bigger, more elegant text in the bird section.
   Name: Cinzel (classic engraved capitals). Headline: Instrument Serif,
   large. Tagline: italic serif in deep gold. */
.bb-logo .bb-logo__name {
	font-family: "Cinzel", Georgia, serif;
	font-weight: 600;
	font-size: clamp(1rem, 1.6vw, 1.35rem);
	letter-spacing: 0.34em;
	color: #0b1e44;
	margin-bottom: 1rem;
}
.bb-logo .bb-logo__line {
	max-width: 60rem;
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
	font-size: clamp(3rem, 7.2vw, 6rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: #0b1e44;
	text-shadow: 0 2px 22px rgba(255, 248, 232, 0.9);
}
.bb-logo .bb-logo__line em {
	margin-top: 0.9rem;
	font-family: "Instrument Serif", Georgia, serif;
	font-style: italic;
	font-size: clamp(1.4rem, 2.8vw, 2.25rem);
	letter-spacing: 0.01em;
	color: #7a5418;
	text-shadow: 0 1px 14px rgba(255, 244, 222, 0.95);
}

/* 0.10.21b: keep the light behind the larger text (dark fade starts lower). */
.bb-logo { padding-bottom: clamp(6rem, 12vw, 10rem); }
.bb-logo::after {
	background:
		radial-gradient(40rem 24rem at 50% 55%, rgba(255, 248, 232, 0.85), rgba(255, 248, 232, 0.35) 55%, transparent 78%),
		linear-gradient(180deg, #071426 0%, rgba(7, 20, 38, 0) 16%, rgba(7, 20, 38, 0) 88%, #071426 100%);
}


/* ==========================================================================
   20. Mega menu (0.11.0): the full-screen menu is used at every screen size;
   divisions show their service pages in columns.
   ========================================================================== */
.bb-nav-js .bb-nav__list--mega {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.4rem 2.2rem;
	align-content: start;
	width: min(100%, 76rem);
	margin: 0 auto;
	max-height: calc(100vh - 11rem);
	overflow-y: auto;
	padding: 0.5rem 0.25rem 2rem;
}
.bb-nav-js .bb-nav__list--mega > li > a {
	font-family: "Bricolage Grotesque", "Figtree", sans-serif;
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	font-weight: 600;
	color: #fff;
}
.bb-nav-js .bb-nav__div > a { color: var(--bb-gold, #d8b878) !important; }
.bb-nav__sub { list-style: none; margin: 0.55rem 0 0; padding: 0 0 0 0.8rem; border-left: 1px solid rgba(216, 184, 120, 0.3); }
.bb-nav__sub li { margin: 0.28rem 0; }
.bb-nav-js .bb-nav__sub a { font-size: 0.98rem; font-weight: 500; color: rgba(233, 240, 252, 0.82); }
.bb-nav-js .bb-nav__sub a:hover, .bb-nav-js .bb-nav__sub a:focus-visible { color: #fff; }
.bb-nav__sub a::after { display: none !important; }
@media (max-width: 640px) { .bb-nav-js .bb-nav__list--mega { grid-template-columns: 1fr; max-height: calc(100vh - 9rem); } }

/* 0.11.1: the mega menu panel is a solid full-screen layer on every page,
   hidden until opened. */
.bb-nav-js .bb-nav .bb-nav__panel {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 1.5rem;
	padding: calc(var(--wp-admin--admin-bar--height, 0px) + 7rem) 1.5rem 2rem;
	background:
		radial-gradient(60rem 40rem at 90% 110%, rgba(216, 184, 120, 0.2), transparent 60%),
		radial-gradient(50rem 40rem at 0% -10%, rgba(21, 87, 214, 0.45), transparent 60%),
		#071426;
	opacity: 0;
	visibility: hidden;
	transform: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	overflow-y: auto;
}
.bb-nav-js .bb-nav.is-open .bb-nav__panel { opacity: 1; visibility: visible; }
.bb-nav-js .bb-nav__toggle { position: relative; z-index: 95; }
.bb-nav-js .bb-nav__list--mega { max-height: none; overflow: visible; }
.bb-nav-js .bb-nav__panel .bb-nav__cta { align-self: center; }


/* 0.11.3: larger, identical logo in header and footer (same original
   artwork, proportions unchanged). */
.bb-hero__bar .bb-lockup--slot .bb-mark,
.bb-site-header .bb-mark,
.bb-footer__badge {
	width: 88px !important;
	height: auto !important;
	flex: 0 0 auto;
}
.bb-hero__bar .bb-lockup--slot .bb-mark img,
.bb-site-header .bb-mark img,
.home .bb-footer__badge img,
.bb-footer__badge img {
	width: 100% !important;
	height: auto !important;
	max-width: none;
}
@media (max-width: 781px) {
	.bb-hero__bar .bb-lockup--slot .bb-mark,
	.bb-site-header .bb-mark,
	.bb-footer__badge { width: 64px !important; }
}

/* 0.11.4: footer logo identical on every page (no white circle). */
.bb-footer__badge { background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.bb-footer__badge img {
	filter:
		drop-shadow(0 0 1.5px rgba(255, 250, 238, 0.95))
		drop-shadow(0 0 6px rgba(255, 244, 222, 0.75))
		drop-shadow(0 0 16px rgba(216, 184, 120, 0.45));
}
