/*
 * pages.css — Blue Bird Solutions inner pages (version 0.6.0).
 *
 * Loaded on every page except the front page (see inc/homepage.php), after
 * home.css. home.css holds the shared brand pieces (tokens, buttons, nav,
 * cards, footer, form, placeholders); this file adds only what inner pages
 * need:
 *   1. Site header        (parts/header.html, rendered as header.bb-site-header)
 *   2. Page body          (templates/page.html: main.bb-entry > post content)
 *   3. Page hero          (group block with class "bb-page-hero")
 *   4. Content sections   (group blocks: bb-block, bb-block--deep / --dawn / --ink)
 *   5. Components         (checklist, steps, value cards, split, CTA band)
 *   6. Contact page       (reuses the homepage contact styles)
 *   7. 404 page
 *   8. Responsive / reduced motion
 *
 * Page text lives in each WordPress page as ordinary blocks (headings,
 * paragraphs, lists, buttons) with these class names in "Additional CSS
 * class(es)", so wording can be edited in the page editor without touching
 * this file. See docs/PAGES.md.
 */

/* ======================================================= 1. Site header */

.bb-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem var(--bb-gutter);
	isolation: isolate;
}

/* Glass layer on a pseudo-element so the fixed mobile menu is not trapped
 * inside the header (same approach as the homepage header). */
.bb-site-header::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);
	transition: box-shadow 0.35s ease;
}

.bb-site-header.is-stuck::before {
	box-shadow: 0 1px 0 rgba(7, 20, 38, 0.08), 0 18px 40px -28px rgba(7, 20, 38, 0.45);
}

/* Logo lockup: same proportions as the homepage header (cinematic.css is
 * front-page only, so the few rules needed are repeated here). */
.bb-site-header .bb-lockup {
	--lk: 1.05rem;

	display: inline-flex;
	align-items: center;
	gap: 0.85em;
	color: var(--bb-navy);
	font-family: var(--bb-sans);
	font-size: var(--lk);
	text-decoration: none;
}

.bb-site-header .bb-mark {
	display: block;
	flex: none;
	width: 3.76em;
	height: 3.2em;
}

.bb-site-header .bb-mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bb-site-header .bb-wordmark {
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bb-site-header .bb-wordmark > span {
	display: block;
}

.bb-site-header .bb-lockup:focus-visible {
	outline: 3px solid var(--bb-cobalt);
	outline-offset: 4px;
	border-radius: 4px;
}

/* Current page / current section in the navigation (set by site.js). */
.bb-nav__list a.is-section::after {
	transform: scaleX(1);
}

@media (max-width: 99999px) {
	.bb-nav-js .bb-site-header {
		flex-wrap: nowrap;
		gap: 1rem;
	}

	html:not(.bb-nav-js) .bb-site-header {
		flex-wrap: wrap;
		row-gap: 0.75rem;
	}
}

/* ========================================================= 2. Page body */

.bb-entry {
	margin: 0;
	color: var(--bb-text-on-dark);
	background: var(--bb-navy);
}

/* WordPress adds default spacing between blocks; sections set their own. */
.bb-entry .wp-block-post-content > *,
.bb-entry .wp-block-post-content {
	margin-block: 0;
}

.bb-entry :where(h1, h2, h3, p, ul, ol) {
	margin-block: 0;
}

.bb-entry a {
	color: var(--bb-gold);
}

.bb-entry :focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 4px;
	border-radius: 4px;
}

/* Full-width background, content kept to the site's reading width. */
.bb-entry .bb-page-hero,
.bb-entry .bb-block {
	position: relative;
	padding-inline: max(var(--bb-gutter), calc((100% - var(--bb-max)) / 2));
}

/* ========================================================= 3. Page hero */

.bb-entry .bb-page-hero {
	padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(3.5rem, 7vw, 6rem);
	overflow: hidden;
	background:
		radial-gradient(60rem 40rem at 90% 120%, rgba(216, 184, 120, 0.22), transparent 60%),
		radial-gradient(70rem 40rem at 10% -20%, rgba(21, 87, 214, 0.45), transparent 60%),
		linear-gradient(180deg, #0a1d3d 0%, var(--bb-navy) 100%);
}

.bb-entry .bb-page-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(60rem, 80%);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--bb-gold), transparent);
	transform: translateX(-50%);
	opacity: 0.55;
}

.bb-entry .bb-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.5rem;
}

/* The homepage eyebrow has its own rule element; in page content it is drawn here. */
.bb-entry .bb-eyebrow::before {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: linear-gradient(90deg, var(--bb-gold), transparent);
}

.bb-entry .bb-page-tagline {
	max-width: 34rem;
	margin-bottom: 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-entry .bb-page-title {
	max-width: 18ch;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: clamp(2.6rem, 6.4vw, 5.5rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.bb-entry .bb-page-title em,
.bb-entry .bb-block-title em {
	color: var(--bb-gold-soft);
	font-style: italic;
}

.bb-entry .bb-page-lede {
	max-width: 40rem;
	margin-top: 1.75rem;
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	line-height: 1.65;
}

.bb-entry .bb-draft-note {
	margin-top: 1.5rem;
}

.bb-entry .bb-draft-note strong {
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* =================================================== 4. Content sections */

.bb-entry .bb-block {
	padding-block: clamp(4rem, 9vw, 7.5rem);
	background: var(--bb-navy);
}

.bb-entry .bb-block--deep {
	background:
		radial-gradient(60rem 36rem at 12% 0%, rgba(21, 87, 214, 0.3), transparent 60%),
		var(--bb-navy);
}

.bb-entry .bb-block--dawn {
	background:
		radial-gradient(60rem 40rem at 85% 110%, rgba(216, 184, 120, 0.3), transparent 62%),
		linear-gradient(180deg, var(--bb-navy) 0%, #0a2250 60%, #122f63 100%);
}

.bb-entry .bb-block--ink {
	border-top: 1px solid var(--bb-line-gold);
	background: #06101f;
}

.bb-entry .bb-block-title {
	max-width: 24ch;
	margin-bottom: 1.5rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.bb-entry .bb-block-intro {
	max-width: 42rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.7;
}

.bb-entry .bb-prose {
	max-width: 44rem;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.75;
}

.bb-entry .bb-prose + .bb-prose {
	margin-top: 1.25rem;
}

/* Clearly marked placeholder paragraph (content to come from the owner). */
.bb-entry .bb-placeholder-block {
	max-width: 44rem;
	padding: 1.25rem 1.5rem;
	border: 1px dashed rgba(216, 184, 120, 0.6);
	border-radius: 0.9rem;
	background: rgba(216, 184, 120, 0.06);
	color: var(--bb-gold-soft);
	font-style: italic;
	line-height: 1.7;
}

/* ========================================================= 5. Components */

/* Service cards reuse .bb-cards / .bb-card from home.css. In page content the
 * number is a paragraph rather than a span, so reset its spacing. */
.bb-entry .bb-cards {
	margin-top: 0;
}

.bb-entry .bb-card > * {
	margin-block: 0;
}

.bb-entry .bb-card .bb-card__title {
	margin: 1.5rem 0 0.85rem;
	padding-right: 2.5rem;
}

.bb-entry .bb-card .bb-card__text {
	margin-bottom: 1.25rem;
}

.bb-entry .bb-card p:last-child {
	margin-top: auto;
}

.bb-entry .bb-card .bb-card__link {
	color: var(--bb-gold);
}

/* Tick list ("How we can help"). */
.bb-entry .bb-checklist {
	display: grid;
	gap: 0.9rem 2.5rem;
	max-width: 58rem;
	padding: 0;
	list-style: none;
}

.bb-entry .bb-checklist li {
	position: relative;
	padding: 1.1rem 0 1.1rem 2.5rem;
	border-bottom: 1px solid var(--bb-line-gold);
	color: var(--bb-white);
	font-size: clamp(1.05rem, 1.4vw, 1.15rem);
	line-height: 1.5;
}

.bb-entry .bb-checklist li::before {
	content: "";
	position: absolute;
	left: 0.2rem;
	top: 1.35rem;
	width: 1.1rem;
	height: 0.55rem;
	border-left: 2px solid var(--bb-gold);
	border-bottom: 2px solid var(--bb-gold);
	transform: rotate(-45deg);
}

@media (min-width: 760px) {
	.bb-entry .bb-checklist {
		grid-template-columns: 1fr 1fr;
	}
}

/* Numbered steps ("How we work"). */
.bb-entry .bb-steps {
	display: grid;
	gap: 1.25rem;
	counter-reset: bb-step;
}

.bb-entry .bb-step {
	padding: 1.75rem 1.5rem 2rem;
	border-top: 1px solid var(--bb-gold);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}

.bb-entry .bb-step > * {
	margin-block: 0;
}

.bb-entry .bb-step-num {
	color: var(--bb-gold);
	font-family: var(--bb-serif);
	font-size: 1rem;
	font-style: italic;
}

.bb-entry .bb-step h3 {
	margin: 0.75rem 0 0.6rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: 1.5rem;
	font-weight: 500;
}

.bb-entry .bb-step p:last-child {
	line-height: 1.65;
}

@media (min-width: 700px) {
	.bb-entry .bb-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.bb-entry .bb-steps--4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.bb-entry .bb-steps--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Value cards (About). */
.bb-entry .bb-values {
	display: grid;
	gap: 1.25rem;
}

.bb-entry .bb-value {
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--bb-line-gold);
	border-radius: var(--bb-radius);
	background: var(--bb-glass);
}

.bb-entry .bb-value > * {
	margin-block: 0;
}

.bb-entry .bb-value h3 {
	margin-bottom: 0.75rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: 1.6rem;
	font-weight: 500;
}

.bb-entry .bb-value p {
	line-height: 1.65;
}

@media (min-width: 900px) {
	.bb-entry .bb-values {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Two-column text layout: title left, text right on wide screens. */
@media (min-width: 960px) {
	.bb-entry .bb-split {
		display: grid;
		grid-template-columns: 0.9fr 1.1fr;
		gap: 0 4rem; /* no row gap: the title spans spare rows, which must stay zero height */
		align-items: start;
	}

	.bb-entry .bb-split > .bb-block-title {
		grid-column: 1;
		grid-row: 1 / span 6;
		margin-bottom: 0;
	}

	/* Everything after the title stays in the text column. */
	.bb-entry .bb-split > :not(.bb-block-title) {
		grid-column: 2;
	}

}

/* Related solutions: simple link row. */
.bb-entry .bb-related {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0;
	list-style: none;
}

.bb-entry .bb-related a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.6rem 1.2rem;
	border: 1px solid var(--bb-line-gold);
	border-radius: 999px;
	color: var(--bb-white);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.bb-entry .bb-related a:hover {
	border-color: var(--bb-gold);
	background: rgba(216, 184, 120, 0.08);
}

/* Call-to-action band at the end of each page. */
.bb-entry .bb-cta-band {
	text-align: center;
	background:
		radial-gradient(50rem 30rem at 50% 120%, rgba(216, 184, 120, 0.28), transparent 65%),
		linear-gradient(180deg, var(--bb-navy), #0b2250);
}

.bb-entry .bb-cta-band .bb-block-title,
.bb-entry .bb-cta-band .bb-block-intro {
	margin-inline: auto;
}

.bb-entry .bb-cta-band .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.bb-entry .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--bb-gold);
	color: var(--bb-navy);
	font: 700 1rem/1.2 var(--bb-sans);
	text-decoration: none;
	box-shadow: 0 10px 30px -12px rgba(216, 184, 120, 0.6);
	transition: background-color 0.25s ease, transform 0.25s var(--bb-ease);
}

.bb-entry .wp-block-button .wp-block-button__link:hover {
	background: var(--bb-gold-soft);
	transform: translateY(-2px);
}

.bb-entry .wp-block-button.bb-btn-ghost .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.4);
	background: transparent;
	color: var(--bb-white);
	box-shadow: none;
}

.bb-entry .wp-block-button.bb-btn-ghost .wp-block-button__link:hover {
	border-color: var(--bb-gold);
	background: rgba(216, 184, 120, 0.08);
}

/* ====================================================== 5b. Legal pages */

/* Long-form text such as the Privacy Policy (group block class "bb-legal"). */
.bb-entry .bb-legal {
	font-size: 1.05rem;
	line-height: 1.75;
}

.bb-entry .bb-legal > * {
	max-width: 46rem;
}

.bb-entry .bb-legal h2 {
	margin: 3rem 0 1rem;
	color: var(--bb-white);
	font-family: var(--bb-serif);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 500;
	line-height: 1.2;
}

.bb-entry .bb-legal h2:first-child {
	margin-top: 0;
}

.bb-entry .bb-legal p + p,
.bb-entry .bb-legal p + ul,
.bb-entry .bb-legal ul + p {
	margin-top: 1rem;
}

.bb-entry .bb-legal ul {
	padding-left: 1.25rem;
	list-style: disc;
}

.bb-entry .bb-legal li + li {
	margin-top: 0.5rem;
}

.bb-entry .bb-legal li::marker {
	color: var(--bb-gold);
}

.bb-entry .bb-legal .bb-placeholder {
	font-size: 0.95em;
}

/* ======================================================= 6. Contact page */

.bb-entry .bb-contact-page .bb-contact__grid {
	width: 100%;
}

/* Restore the homepage spacing that the page-content reset above removes. */
.bb-entry .bb-form__title {
	margin-bottom: 1rem;
}

.bb-entry .bb-form__status {
	margin-bottom: 2rem;
}

.bb-entry .bb-contact__details {
	margin-top: 2.5rem;
}

/* ============================================================== 7. 404 */

.bb-entry .bb-notfound {
	min-height: 70vh;
}

.bb-notfound__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.5rem;
	padding: 0;
	list-style: none;
}

.bb-notfound__links a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.6rem 1.3rem;
	border: 1px solid var(--bb-line-gold);
	border-radius: 999px;
	color: var(--bb-white);
	font-weight: 600;
	text-decoration: none;
}

.bb-notfound__links a:hover {
	border-color: var(--bb-gold);
}

/* =========================================== 8. Responsive / reduced motion */

@media (prefers-reduced-motion: reduce) {
	.bb-site-header::before,
	.bb-entry .bb-related a,
	.bb-entry .wp-block-button .wp-block-button__link {
		transition: none;
	}

	.bb-entry .wp-block-button .wp-block-button__link:hover {
		transform: none;
	}
}


/* ==========================================================================
   Service pages (0.11.0): storm-to-sky service layout. bb-sv-* components.
   ========================================================================== */
.bb-sv { color: var(--bb-text-on-dark, #dfe7f5); }
.bb-sv-wrap { width: min(100% - 2.5rem, 72rem); margin: 0 auto; }
.bb-sv-sec { padding: clamp(3rem, 7vw, 6rem) 0; position: relative; }
.bb-sv-kicker { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bb-gold, #d8b878); margin: 0 0 0.9rem; }
.bb-sv-h { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.1; color: #fff; margin: 0 0 1rem; }
.bb-sv-h em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: #e8d3a6; }
.bb-sv-pov { background: radial-gradient(50rem 24rem at 20% 0, rgba(21, 87, 214, 0.28), transparent 70%), linear-gradient(180deg, #071426, #0a1d40); }
.bb-sv-quote { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.12; color: #fff; margin: 0 0 1.4rem; max-width: 52rem; }
.bb-sv-quote::before { content: "\201C"; color: var(--bb-gold, #d8b878); margin-right: 0.1em; }
.bb-sv-p { font-size: 1.1rem; line-height: 1.7; max-width: 46rem; margin: 0; }
.bb-sv-shift { background: linear-gradient(180deg, #0a1d40, #0d2552); }
.bb-sv-shift__grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.6rem; }
@media (min-width: 820px) { .bb-sv-shift__grid { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.bb-sv-col { border-radius: 1.4rem; padding: 1.6rem 1.8rem; }
.bb-sv-col h3 { margin: 0 0 1rem; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bb-sv-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.bb-sv-col li { padding-left: 1.7rem; position: relative; line-height: 1.5; }
.bb-sv-col--storm { background: linear-gradient(160deg, rgba(40, 46, 70, 0.8), rgba(12, 18, 36, 0.9)); border: 1px solid rgba(160, 175, 210, 0.2); }
.bb-sv-col--storm h3 { color: #a9b6d3; }
.bb-sv-col--storm li::before { content: "⚡"; position: absolute; left: 0; font-size: 0.9rem; opacity: 0.8; }
.bb-sv-col--sky { background: linear-gradient(160deg, rgba(232, 205, 150, 0.2), rgba(21, 87, 214, 0.18)); border: 1px solid rgba(216, 184, 120, 0.45); }
.bb-sv-col--sky h3 { color: #f1dca8; }
.bb-sv-col--sky li { color: #fff; }
.bb-sv-col--sky li::before { content: "✦"; position: absolute; left: 0; color: #e8c98a; }
.bb-sv-arrow { align-self: center; justify-self: center; font-size: 2rem; color: #e8c98a; }
.bb-sv-graph { background: radial-gradient(40rem 20rem at 70% 30%, rgba(47, 124, 255, 0.2), transparent 70%), #081830; }
.bb-sv-graph figure { margin: 1.5rem 0 0; border: 1px solid rgba(216, 184, 120, 0.2); border-radius: 1.5rem; padding: clamp(1rem, 3vw, 2rem); background: linear-gradient(160deg, rgba(20, 44, 92, 0.5), rgba(5, 13, 28, 0.6)); }
.bb-sv-graph svg { display: block; width: 100%; height: auto; overflow: visible; }
.bb-sv-graph figcaption { margin-top: 0.9rem; font-size: 0.9rem; color: rgba(223, 231, 245, 0.7); }
.bb-g-line { fill: none; stroke: #e8c98a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: bb-g-draw 2.4s 0.3s ease-out forwards; filter: drop-shadow(0 0 6px rgba(232, 201, 138, 0.6)); }
.bb-g-soft { fill: none; stroke: rgba(141, 180, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 4 6; }
.bb-g-shape { fill: rgba(47, 124, 255, 0.18); stroke: rgba(141, 180, 255, 0.6); stroke-width: 1.5; opacity: 0; animation: bb-g-in 0.8s ease-out forwards; }
.bb-g-shape.gold { fill: rgba(232, 201, 138, 0.2); stroke: #e8c98a; }
.bb-g-dot { fill: #f3dfae; opacity: 0; animation: bb-g-in 0.6s ease-out forwards; filter: drop-shadow(0 0 6px rgba(243, 223, 174, 0.8)); }
.bb-g-t { fill: #fff; font: 600 15px "Figtree", sans-serif; }
.bb-g-s { fill: rgba(223, 231, 245, 0.7); font: 500 12px "Figtree", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes bb-g-draw { to { stroke-dashoffset: 0; } }
@keyframes bb-g-in { to { opacity: 1; } }
.bb-sv-inc { background: linear-gradient(180deg, #081830, #0a1d40); }
.bb-sv-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.6rem; }
.bb-sv-card { position: relative; border-radius: 1.2rem; padding: 1.4rem 1.4rem 1.5rem; background: linear-gradient(160deg, rgba(20, 44, 92, 0.6), rgba(7, 20, 38, 0.7)); border: 1px solid rgba(216, 184, 120, 0.18); transition: transform 0.35s ease, border-color 0.35s ease; }
.bb-sv-card:hover { transform: translateY(-4px); border-color: rgba(216, 184, 120, 0.5); }
.bb-sv-card b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 0.35rem; }
.bb-sv-card span { font-size: 0.95rem; line-height: 1.55; }
.bb-sv-card::before { content: ""; position: absolute; top: -1px; left: 1.4rem; right: 1.4rem; height: 1px; background: linear-gradient(90deg, transparent, #e8c98a, transparent); }
a.bb-sv-card { text-decoration: none; color: inherit; }
a.bb-sv-card i { display: block; margin-top: 0.8rem; font-style: normal; color: #e8c98a; font-weight: 600; font-size: 0.9rem; }
.bb-sv-steps { background: linear-gradient(180deg, #0a1d40, #102a5c 60%, #1c2a52); }
.bb-sv-steps ol { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); counter-reset: s; }
.bb-sv-steps li { counter-increment: s; padding: 1.3rem 1.3rem 1.4rem; border-top: 2px solid rgba(232, 201, 138, 0.6); background: rgba(7, 20, 38, 0.35); border-radius: 0 0 1rem 1rem; }
.bb-sv-steps li::before { content: "0" counter(s); display: block; font-family: "Instrument Serif", serif; font-size: 2rem; color: #e8c98a; margin-bottom: 0.4rem; }
.bb-sv-steps li b { display: block; color: #fff; margin-bottom: 0.3rem; }
.bb-sv-who { background: linear-gradient(180deg, #1c2a52, #3a3348); }
.bb-sv-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.bb-sv-chips li { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(232, 201, 138, 0.45); background: rgba(7, 20, 38, 0.35); color: #fff; }
.bb-sv-cta { text-align: center; background: radial-gradient(50rem 24rem at 50% 0, rgba(232, 198, 138, 0.35), transparent 70%), linear-gradient(180deg, #3a3348, #071426); }
.bb-sv-cta .bb-sv-h { margin-inline: auto; max-width: 40rem; }
.bb-sv-btn { display: inline-block; margin-top: 1.2rem; padding: 0.95rem 1.9rem; border-radius: 999px; background: #d8b878; color: #071426 !important; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px -12px rgba(216, 184, 120, 0.7); }
.bb-sv-btn:hover { background: #ecd29f; }
.bb-sv-draft { display: inline-block; margin-top: 1rem; font-size: 0.8rem; padding: 0.3rem 0.8rem; border: 1px dashed rgba(216, 184, 120, 0.6); border-radius: 999px; color: #e8d3a6; }
@media (prefers-reduced-motion: reduce) { .bb-g-line, .bb-g-shape, .bb-g-dot { animation: none; opacity: 1; stroke-dashoffset: 0; } }


/* 0.11.2: inner-page header matches the homepage: dark navy glass with a
   gold hairline, white wordmark, glowing logo, gold-outlined Menu button. */
.bb-site-header,
.bb-site-header::before {
	background: linear-gradient(180deg, rgba(5, 13, 28, 0.9), rgba(7, 20, 38, 0.82)) !important;
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
}
.bb-site-header {
	border-bottom: 0 !important;
	box-shadow: 0 1px 0 rgba(216, 184, 120, 0.4), 0 18px 40px -26px rgba(0, 0, 0, 0.7) !important;
}
.bb-site-header .bb-wordmark { color: #fff !important; }
.bb-site-header .bb-mark 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-site-header .bb-mark { background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.bb-site-header .bb-nav__toggle {
	border-color: rgba(216, 184, 120, 0.5) !important;
	background: rgba(7, 20, 38, 0.45) !important;
	color: #fff !important;
}

/* Mobile diagram readability (QA cleanup): slightly wider diagram cards and larger
   main labels on small screens. 17px is the largest label size that fits every
   existing diagram without text spilling outside its shapes. */
@media (max-width: 480px) {
	.bb-sv-graph figure { margin-left: -12px; margin-right: -12px; padding: 0.5rem; }
	.bb-g-t { font-size: 17px; }
}

/* 0.11.8: keep the frosted blur on the header's ::before layer only. A
   backdrop-filter on the header itself traps the fixed full-screen menu
   inside the header box on inner pages, so submenu links could not be clicked. */
.bb-site-header {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
