/* Bold Bear Publishing site pages (Home, District Spotlight, Our Story, Contact). Standalone: theme styles are not loaded here. */

:root {
	/* Bold Bear brand, sampled from the 2026 logo. */
	--bb-forest: #234b3a;
	--bb-forest-deep: #183528;
	--bb-ink: #1a2e26;
	--bb-body: #3d5248;
	--bb-brown: #c08a4e;
	--bb-brown-dark: #9a6b37;
	--bb-brown-text: #8a5a2b;
	/* Buttons: a brighter take on the bear's brown, so calls to action stand out on cream and on forest. */
	--bb-amber: #e0a052;
	--bb-amber-hover: #e8ae66;
	--bb-amber-dark: #b97d36;
	--bb-sand: #d9b07f;
	--bb-sage: #b3bb82;
	--bb-cream: #faf6ec;
	--bb-cream-deep: #f3ecda;
	--bb-white: #ffffff;
	--bb-line: rgba(35, 75, 58, 0.14);
	--bb-error: #b3261e;

	/* Career Adventure Club accents (match assets/cac/cac.css). */
	--cac-green: #1f5a44;
	--cac-green-deep: #143d2e;
	--cac-blue: #234b67;
	--cac-teal: #22a9a5;
	--cac-teal-tint: #ddf2f0;
	--cac-teal-soft: #a6dedb;
	--cac-blue-tint: #e3ecf3;
	--cac-blue-soft: #b9d0e0;
	--cac-sun: #fdf1d6;
	--cac-sun-soft: #f8d58e;
	--cac-yellow: #f2b84b;
	--cac-yellow-dark: #d79a2a;

	--bb-radius: 20px;
	--bb-shadow: 0 12px 32px rgba(26, 46, 38, 0.12);
	--bb-display: "Paytone One", "Trebuchet MS", sans-serif;
	--bb-text: "Open Sans", "Segoe UI", Arial, sans-serif;
	--cac-display: "Fredoka", "Trebuchet MS", sans-serif;
	--bb-header-h: 84px;
}

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

html {
	scroll-padding-top: calc(var(--bb-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body.bb-site {
	margin: 0;
	background: var(--bb-cream);
	color: var(--bb-body);
	font-family: var(--bb-text);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

:where(.bb-site) img,
:where(.bb-site) svg {
	max-width: 100%;
	height: auto;
}

:where(.bb-site) ul,
:where(.bb-site) ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.bb-site) h1,
:where(.bb-site) h2,
:where(.bb-site) h3,
:where(.bb-site) p,
:where(.bb-site) blockquote {
	margin: 0;
}

:where(.bb-site) sup {
	font-size: 0.5em;
	vertical-align: super;
	line-height: 0;
}

.bb-site a {
	color: var(--bb-forest);
}

.bb-site a:focus-visible,
.bb-site button:focus-visible,
.bb-site input:focus-visible,
.bb-site select:focus-visible,
.bb-site textarea:focus-visible {
	outline: 3px solid var(--bb-brown);
	outline-offset: 3px;
}

.bb-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.bb-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.bb-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 50;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--bb-white);
	font-weight: 700;
}

.bb-skip:focus {
	left: 8px;
}

.bb-icon {
	flex: none;
}

.bb-center {
	text-align: center;
}

/* Type */

.bb-h1,
.bb-h2,
.bb-h3 {
	color: var(--bb-ink);
	font-family: var(--bb-display);
	font-weight: 400;
	line-height: 1.12;
}

.bb-h1 {
	font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.bb-h2 {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.bb-h3 {
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.bb-lead {
	max-width: 62ch;
	margin-top: 16px;
	font-size: 1.2rem;
}

.bb-center.bb-lead,
.bb-center .bb-lead {
	margin-inline: auto;
}

.bb-eyebrow {
	margin-bottom: 12px;
	color: var(--bb-brown-text);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bb-eyebrow--cac {
	color: var(--cac-teal-soft);
}

/* Buttons and links */

.bb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--bb-amber);
	color: var(--bb-ink) !important;
	font-family: var(--bb-text);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 5px 0 var(--bb-amber-dark), 0 12px 22px rgba(26, 46, 38, 0.16);
	transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bb-btn:hover {
	background: var(--bb-amber-hover);
	box-shadow: 0 3px 0 var(--bb-amber-dark), 0 8px 16px rgba(26, 46, 38, 0.18);
	transform: translateY(2px);
}

.bb-btn--small {
	min-height: 44px;
	padding: 10px 20px;
	font-size: 0.95rem;
	box-shadow: 0 4px 0 var(--bb-amber-dark);
}

.bb-btn--small:hover {
	box-shadow: 0 2px 0 var(--bb-amber-dark);
}

.bb-btn--cac {
	background: var(--cac-yellow);
	color: var(--cac-blue) !important;
	font-family: var(--cac-display);
	font-size: 1.15rem;
	font-weight: 600;
	box-shadow: 0 6px 0 var(--cac-yellow-dark), 0 14px 24px rgba(20, 61, 46, 0.2);
}

.bb-btn--cac:hover {
	background: #f6c86b;
	box-shadow: 0 4px 0 var(--cac-yellow-dark), 0 10px 18px rgba(20, 61, 46, 0.2);
}

.bb-btn--small.bb-btn--cac {
	font-size: 1rem;
	box-shadow: 0 4px 0 var(--cac-yellow-dark);
}

.bb-btn--small.bb-btn--cac:hover {
	box-shadow: 0 2px 0 var(--cac-yellow-dark);
}

.bb-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--bb-forest);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	text-decoration-color: var(--bb-brown);
	transition: gap 200ms ease;
}

.bb-link:hover {
	gap: 12px;
}

.bb-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 32px;
}

.bb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.bb-chips li {
	padding: 4px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--bb-white);
	font-family: var(--cac-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Header */

.bb-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(250, 246, 236, 0.96);
	border-bottom: 1px solid var(--bb-line);
	backdrop-filter: blur(8px);
}

.admin-bar .bb-header {
	top: 32px;
}

.bb-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--bb-header-h);
}

.bb-brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	color: var(--bb-forest);
	font-family: var(--bb-display);
	font-size: 1.3rem;
	text-decoration: none;
}

.bb-brand img {
	display: block;
	width: 226px;
}

.bb-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
}

.bb-nav__list {
	display: flex;
	gap: 4px;
}

.bb-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--bb-ink);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 200ms ease, color 200ms ease;
}

.bb-nav__list a:hover {
	background: var(--bb-cream-deep);
}

.bb-nav__list a[aria-current="page"] {
	color: var(--bb-forest);
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
	text-decoration-color: var(--bb-brown);
}

.bb-nav-toggle {
	display: none;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--bb-line);
	border-radius: 12px;
	background: var(--bb-white);
	color: var(--bb-forest);
	cursor: pointer;
}

.bb-nav-toggle__close {
	display: none;
}

/* Home hero (Career Adventure Club colors) */

.bb-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 88px;
	background:
		radial-gradient(circle at 85% 20%, rgba(34, 169, 165, 0.28), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(242, 184, 75, 0.16), transparent 40%),
		linear-gradient(135deg, var(--cac-green-deep) 0%, var(--cac-green) 55%, var(--cac-blue) 100%);
	color: var(--bb-white);
}

.bb-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 56px;
}

.bb-hero__cac {
	display: block;
	width: 120px;
	margin-bottom: 20px;
	padding: 10px 12px;
	border-radius: 16px;
	background: var(--bb-white);
}

.bb-hero__title {
	font-family: var(--cac-display);
	font-size: clamp(2.4rem, 5vw, 3.9rem);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.bb-mark {
	color: var(--cac-yellow);
}

.bb-hero__sub {
	margin-top: 14px;
	color: var(--cac-teal-soft);
	font-family: var(--cac-display);
	font-size: clamp(1.4rem, 2.8vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
}

.bb-hero__text {
	max-width: 52ch;
	margin-top: 20px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.15rem;
}

.bb-hero .bb-link {
	color: var(--bb-white);
	text-decoration-color: var(--cac-yellow);
}

.bb-hero__visual img {
	display: block;
	width: 100%;
	border-radius: 24px;
	background: var(--bb-white);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

/* Sections */

.bb-section {
	padding: 88px 0;
}

.bb-section--tint {
	background: var(--bb-cream-deep);
}

.bb-page-hero {
	padding: 80px 0 64px;
	background:
		radial-gradient(circle at 92% 10%, rgba(192, 138, 78, 0.16), transparent 40%),
		var(--bb-cream);
	border-bottom: 1px solid var(--bb-line);
}

.bb-page-hero__inner {
	max-width: 860px;
}

.bb-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

.bb-prose p {
	max-width: 62ch;
	margin-top: 16px;
}

.bb-prose a {
	font-weight: 700;
	text-decoration-color: var(--bb-brown);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* Editor content on fallback pages (index.php) */

.bb-content {
	max-width: 760px;
}

.bb-content > * + * {
	margin-top: 1em;
}

.bb-content h2,
.bb-content h3 {
	margin-top: 1.6em;
	color: var(--bb-ink);
	font-family: var(--bb-display);
	font-weight: 400;
	line-height: 1.2;
}

.bb-content ul,
.bb-content ol {
	padding-left: 1.4em;
	list-style: revert;
}

.bb-content a {
	font-weight: 600;
	text-decoration-color: var(--bb-brown);
	text-underline-offset: 3px;
}

.bb-listing {
	display: grid;
	gap: 12px;
	padding: 0 !important;
	list-style: none !important;
}

.bb-listing a {
	font-size: 1.15rem;
}

/* Home: what makes CAC different */

.bb-why {
	background: var(--bb-white);
}

.bb-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 48px;
}

.bb-why__item {
	padding: 32px 28px;
	border-radius: var(--bb-radius);
	background: var(--bb-cream);
	text-align: center;
}

.bb-why__icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--cac-sun-soft);
	color: var(--cac-blue);
}

.bb-why__item:nth-child(2) .bb-why__icon {
	background: var(--cac-teal-soft);
}

.bb-why__item:nth-child(3) .bb-why__icon {
	background: var(--cac-blue-soft);
}

.bb-why__item h3 {
	margin-top: 18px;
	color: var(--cac-blue);
	font-family: var(--cac-display);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.2;
}

.bb-why__item p {
	margin-top: 8px;
}

/* Home: four options preview */

.bb-options__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 44px;
}

.bb-option {
	padding: 28px 22px;
	border-radius: var(--bb-radius);
	background: var(--cac-teal-tint);
	text-align: center;
}

.bb-option--sky {
	background: var(--cac-blue-tint);
}

.bb-option--sun {
	background: var(--cac-sun);
}

.bb-option__tag {
	display: inline-block;
	padding: 2px 14px;
	border-radius: 999px;
	background: var(--cac-teal-soft);
	color: var(--cac-blue);
	font-family: var(--cac-display);
	font-size: 0.95rem;
	font-weight: 600;
}

.bb-option--sky .bb-option__tag {
	background: var(--cac-blue-soft);
}

.bb-option--sun .bb-option__tag {
	background: var(--cac-sun-soft);
}

.bb-option h3 {
	margin-top: 14px;
	color: var(--cac-blue);
	font-family: var(--cac-display);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
}

.bb-option p {
	margin-top: 8px;
	font-size: 1rem;
}

.bb-option__items {
	display: inline-block;
	margin-top: 12px;
	text-align: left;
}

.bb-option__items li {
	position: relative;
	padding: 4px 0 4px 24px;
	color: var(--cac-blue);
	font-weight: 600;
	line-height: 1.3;
}

.bb-option__items li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.7em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--cac-yellow);
}

/* Home: testimonials */

.bb-proof {
	background: var(--bb-white);
}

.bb-proof__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 44px;
}

.bb-quote {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 28px;
	border-radius: var(--bb-radius);
	background: var(--bb-cream);
	color: var(--bb-ink);
}

.bb-quote > .bb-icon {
	color: var(--bb-brown);
}

.bb-quote blockquote {
	flex: 1;
	font-size: 1.1rem;
}

.bb-quote blockquote p + p {
	margin-top: 10px;
}

.bb-quote__by {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.95rem;
}

.bb-quote__by img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.bb-quote__by strong {
	display: block;
	color: var(--bb-forest);
}

.bb-placeholder {
	padding: 24px;
	border: 2px dashed var(--bb-brown);
	border-radius: var(--bb-radius);
	background: var(--bb-cream);
	text-align: center;
}

/* Home: closing call to action */

.bb-closing {
	padding-top: 0;
}

.bb-closing__card {
	padding: 64px 32px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 90% 10%, rgba(34, 169, 165, 0.3), transparent 45%),
		linear-gradient(135deg, var(--cac-green-deep), var(--cac-green));
	color: rgba(255, 255, 255, 0.92);
	text-align: center;
}

.bb-closing__card .bb-h2 {
	color: var(--bb-white);
	font-family: var(--cac-display);
	font-weight: 600;
}

.bb-closing__card .bb-lead {
	margin: 16px auto 32px;
}

.bb-closing__note {
	margin-top: 18px;
	color: var(--cac-teal-soft);
	font-weight: 700;
}

/* District Spotlight */

.bb-samples {
	display: grid;
	gap: 24px;
	max-width: 920px;
	margin: 36px auto 0;
}

.bb-sample {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	align-items: center;
	gap: 36px;
	padding: 32px;
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
	background: var(--bb-white);
}

.bb-sample img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(26, 46, 38, 0.18);
}

.bb-sample__client {
	color: var(--bb-brown-text);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.bb-sample h3 {
	margin-top: 4px;
	color: var(--bb-ink);
	font-family: var(--bb-display);
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.25;
}

.bb-sample p:last-child {
	margin-top: 10px;
	font-size: 1rem;
}

@media (max-width: 767px) {
	.bb-sample {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 24px 20px;
	}

	.bb-sample img {
		width: min(100%, 260px);
		margin: 0 auto;
	}
}

.bb-cta-band {
	background: var(--bb-forest);
	color: rgba(255, 255, 255, 0.9);
}

.bb-cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.bb-cta-band .bb-h2 {
	color: var(--bb-white);
}

/* About */

.bb-card__icon {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--bb-cream-deep);
	color: var(--bb-forest);
}

.bb-beliefs {
	display: grid;
	gap: 16px;
}

.bb-beliefs li {
	display: flex;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--bb-line);
	border-radius: 16px;
	background: var(--bb-white);
}

.bb-beliefs h3 {
	color: var(--bb-ink);
	font-size: 1.15rem;
	font-weight: 700;
}

.bb-beliefs p {
	margin-top: 4px;
	font-size: 1rem;
}

.bb-team {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-top: 40px;
}

.bb-person {
	width: min(100%, 300px);
	padding: 32px 24px;
	border-radius: var(--bb-radius);
	background: var(--bb-white);
	text-align: center;
}

.bb-person__avatar {
	display: inline-grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--bb-forest);
	color: var(--bb-sand);
	font-family: var(--bb-display);
	font-size: 2rem;
}

.bb-person h3 {
	margin-top: 16px;
	color: var(--bb-ink);
	font-family: var(--bb-display);
	font-size: 1.35rem;
	font-weight: 400;
}

.bb-person p {
	margin-top: 4px;
	font-size: 1rem;
}

.bb-person .bb-person__bio {
	margin-top: 14px;
	text-align: left;
}

/* Contact */

.bb-contact {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: 56px;
}

/* The Blueprint form (Ninja Forms) on the contact page. Its own stylesheet is very specific, hence the !important overrides. */

.bb-form {
	padding: 36px;
	border-radius: 24px;
	background: var(--bb-white);
	box-shadow: var(--bb-shadow);
}

.bb-form .nf-form-title,
.bb-form .nf-before-form-content {
	display: none;
}

.bb-form nf-fields-wrap {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 20px;
}

.bb-form nf-field {
	display: block;
	min-width: 0;
}

.bb-form nf-field:has(.cac-full) {
	grid-column: 1 / -1;
}

.bb-form .nf-field-container {
	margin-bottom: 16px;
}

.bb-form .nf-field-label {
	margin-bottom: 6px;
}

.bb-form .nf-field-label label,
.bb-form .nf-field-label .nf-label-span {
	color: var(--bb-ink);
	font-family: var(--bb-text);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.bb-form .ninja-forms-req-symbol {
	color: var(--bb-error);
}

.bb-form .nf-field-element input[type="text"],
.bb-form .nf-field-element input[type="email"],
.bb-form .nf-field-element input[type="tel"],
.bb-form .nf-field-element select,
.bb-form .nf-field-element textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 2px solid #d6d2c4;
	border-radius: 12px;
	background: var(--bb-white);
	color: var(--bb-ink);
	font-family: var(--bb-text);
	font-size: 1.05rem;
	line-height: 1.4;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}

.bb-form .nf-field-element select {
	position: relative;
	z-index: 1;
	height: auto !important;
	padding: 12px 48px 12px 16px !important;
	border: 2px solid #d6d2c4 !important;
	color: var(--bb-ink) !important;
	background: var(--bb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234b3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 22px !important;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.bb-form .nf-field-element select ~ div {
	display: none !important;
}

.bb-form .nf-field-element textarea {
	min-height: 140px;
	resize: vertical;
}

.bb-form .nf-field-element input:focus,
.bb-form .nf-field-element select:focus,
.bb-form .nf-field-element textarea:focus {
	border-color: var(--bb-forest) !important;
	box-shadow: 0 0 0 4px rgba(192, 138, 78, 0.3);
	outline: 0;
}

.bb-form .nf-error .nf-field-element input,
.bb-form .nf-error .nf-field-element select,
.bb-form .nf-error .nf-field-element textarea {
	border-color: var(--bb-error) !important;
}

.bb-form .nf-error .nf-field-element::after {
	display: none !important;
}

.bb-form .nf-error-msg,
.bb-form .nf-error-field-errors {
	margin-top: 6px;
	color: var(--bb-error);
	font-size: 0.95rem;
	font-weight: 700;
}

.bb-form .listcheckbox-wrap ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bb-form .listcheckbox-wrap li {
	position: relative;
	margin: 0 !important;
}

.bb-form .listcheckbox-wrap input[type="checkbox"] {
	position: absolute;
	left: 16px;
	top: 50%;
	width: 20px !important;
	height: 20px !important;
	margin: 0;
	transform: translateY(-50%);
	z-index: 1;
	opacity: 1 !important;
	accent-color: var(--cac-green);
	cursor: pointer;
}

.bb-form .listcheckbox-wrap li label {
	display: flex !important;
	align-items: center;
	min-height: 48px;
	margin: 0 !important;
	padding: 8px 18px 8px 46px;
	border: 2px solid var(--bb-line);
	border-radius: 999px;
	color: var(--bb-ink);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 200ms ease, border-color 200ms ease;
}

.bb-form .listcheckbox-wrap li label::before,
.bb-form .listcheckbox-wrap li label::after {
	display: none !important;
}

.bb-form .listcheckbox-wrap li label:hover {
	border-color: var(--cac-teal);
}

.bb-form .listcheckbox-wrap input:checked + label {
	border-color: var(--cac-green);
	background: var(--cac-teal-tint);
}

.bb-form .submit-container {
	margin: 8px 0 0;
}

.bb-form .submit-container input[type="submit"] {
	width: 100%;
	min-height: 56px;
	padding: 14px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--cac-yellow);
	color: var(--cac-blue);
	font-family: var(--cac-display);
	/* Shrinks on phones so the long label stays on one line; wraps if it still can't. */
	font-size: clamp(1rem, 4.4vw, 1.2rem);
	line-height: 1.25;
	white-space: normal;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 5px 0 var(--cac-yellow-dark);
	transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bb-form .submit-container input[type="submit"]:hover {
	background: #f6c86b;
	box-shadow: 0 3px 0 var(--cac-yellow-dark);
	transform: translateY(2px);
}

.bb-form .submit-container input[type="submit"]:disabled {
	cursor: wait;
	opacity: 0.6;
}

.bb-form .nf-response-msg {
	color: var(--bb-ink);
	font-size: 1.15rem;
	font-weight: 700;
}

.bb-form .nf-response-msg p + p {
	margin-top: 10px;
}

/* Footer */

.bb-footer {
	padding: 64px 0 32px;
	background: var(--bb-forest-deep);
	color: rgba(255, 255, 255, 0.82);
}

.bb-footer__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.2fr;
	gap: 40px;
}

.bb-footer__brand img {
	display: block;
	width: 96px;
}

.bb-footer__name {
	margin-top: 14px;
	color: var(--bb-white);
	font-family: var(--bb-display);
	font-size: 1.4rem;
}

.bb-footer__tag {
	margin-top: 4px;
	color: var(--bb-sand);
	font-size: 0.95rem;
}

.bb-footer__nav ul {
	display: grid;
	gap: 2px;
}

.bb-footer__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	text-decoration: none;
}

.bb-footer__nav a:hover {
	color: var(--bb-sand);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bb-footer__cta p {
	margin-bottom: 16px;
	color: var(--bb-white);
	font-weight: 700;
}

.bb-footer__copy {
	grid-column: 1 / -1;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.9rem;
}

/* Scroll reveal */

.bb-js .bb-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 450ms ease, transform 450ms ease;
}

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

/* Responsive */

/* Five menu items plus the button: tighten the header until the menu collapses at 1024px. */
@media (max-width: 1240px) {
	.bb-nav__list a,
	.bb-nav .bb-btn {
		white-space: nowrap;
	}

	.bb-header__inner {
		gap: 16px;
	}

	.bb-brand img {
		width: 188px;
	}

	.bb-nav {
		gap: 14px;
	}

	.bb-nav__list {
		gap: 0;
	}

	.bb-nav__list a {
		padding: 0 9px;
		font-size: 0.95rem;
	}

	.bb-nav .bb-btn--small {
		padding: 10px 16px;
	}
}

@media (max-width: 1100px) {
	.bb-options__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	:root {
		--bb-header-h: 72px;
	}

	.bb-brand img {
		width: 188px;
	}

	.bb-nav-toggle {
		display: grid;
	}

	.bb-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px 24px 28px;
		background: var(--bb-cream);
		border-bottom: 1px solid var(--bb-line);
		box-shadow: 0 18px 30px rgba(26, 46, 38, 0.12);
	}

	.bb-header.is-open .bb-nav {
		display: flex;
	}

	.bb-header.is-open .bb-nav-toggle__open {
		display: none;
	}

	.bb-header.is-open .bb-nav-toggle__close {
		display: block;
	}

	.bb-nav__list {
		flex-direction: column;
	}

	.bb-nav__list a {
		min-height: 52px;
		font-size: 1.1rem;
	}

	.bb-hero__inner,
	.bb-split,
	.bb-contact {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.bb-hero__visual {
		max-width: 640px;
	}

	.bb-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.bb-footer__cta {
		grid-column: 1 / -1;
	}
}

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

@media (max-width: 767px) {
	body.bb-site {
		font-size: 17px;
	}

	.bb-wrap {
		padding: 0 16px;
	}

	.bb-hero {
		padding: 44px 0 64px;
	}

	.bb-section {
		padding: 64px 0;
	}

	.bb-page-hero {
		padding: 56px 0 44px;
	}

	.bb-why__grid,
	.bb-options__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bb-closing__card {
		padding: 44px 20px;
	}

	.bb-btn {
		width: 100%;
	}

	.bb-btn--small {
		width: auto;
	}

	.bb-form {
		padding: 24px 18px;
	}

	.bb-form nf-fields-wrap {
		grid-template-columns: minmax(0, 1fr);
	}

	.bb-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	/* WordPress drops the admin bar's fixed position here, so the header should not sit under it. */
	.admin-bar .bb-header {
		top: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bb-js .bb-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.bb-btn,
	.bb-link {
		transition: none;
	}

	.bb-btn:hover {
		transform: none;
	}
}
