/**
 * City Bay Security Services — Main Stylesheet
 *
 * Production design system. Calm authority aesthetic.
 *
 * @package CityBaySecurity
 */

/* ---------- DESIGN TOKENS ---------- */
/* Palette derived from the City Bay Security badge:                          */
/*   • Pure black shield body                                                 */
/*   • Bright saturated badge gold                                            */
/*   • Polished silver star                                                   */
/*   • Liberty Bell copper as a warm tertiary accent                          */
/* "navy" / "midnight" variable names preserved for backwards-compatibility   */
/* but their VALUES are now deep black + charcoal, matching the badge.        */
:root {
	--cb-black: #0A0A0A;
	--cb-navy: #0A0A0A;          /* alias of --cb-black for legacy refs */
	--cb-charcoal: #17171C;
	--cb-midnight: #17171C;      /* alias of --cb-charcoal for legacy refs */
	--cb-onyx: #22222A;           /* surface for cards on dark sections */
	--cb-gold: #F2C200;           /* primary badge gold */
	--cb-gold-warm: #D4A52A;      /* hover / secondary gold */
	--cb-gold-deep: #8B6E14;      /* deep gold for borders / shadow edges */
	--cb-gold-soft: rgba(242, 194, 0, 0.22);
	--cb-silver: #C8CDD3;         /* star highlight, dividers on dark */
	--cb-copper: #8B5A2B;         /* Liberty Bell warm accent */
	--cb-red: #B22234;
	--cb-red-deep: #8C1A28;
	--cb-gunmetal: #2E3038;
	--cb-bone: #F5F1E8;
	--cb-mist: #ECECEF;
	--cb-olive: #5C7A4B;
	--cb-amber: #D49B3B;
	--cb-crimson: #9B2226;
	--cb-text: #15151A;
	--cb-text-soft: #56565E;
	--cb-text-inverse: #F5F1E8;
	--cb-surface: #ffffff;
	--cb-border: rgba(10, 10, 10, 0.10);
	--cb-border-strong: rgba(10, 10, 10, 0.22);
	--cb-border-gold: rgba(242, 194, 0, 0.55);
	--cb-shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.08), 0 1px 3px rgba(10, 10, 10, 0.05);
	--cb-shadow-md: 0 4px 14px rgba(10, 10, 10, 0.14), 0 2px 4px rgba(10, 10, 10, 0.08);
	--cb-shadow-lg: 0 14px 40px rgba(10, 10, 10, 0.28), 0 4px 12px rgba(10, 10, 10, 0.12);
	--cb-shadow-gold: 0 8px 28px rgba(242, 194, 0, 0.40);
	--cb-shadow-red: 0 8px 24px rgba(178, 34, 52, 0.30);
	--cb-radius-sm: 4px;
	--cb-radius: 8px;
	--cb-radius-lg: 14px;
	--cb-radius-xl: 22px;
	--cb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--cb-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--cb-container: 1200px;
	--cb-container-narrow: 880px;
	--cb-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--cb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--cb-font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}

body {
	margin: 0;
	font-family: var(--cb-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--cb-text);
	background: var(--cb-surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cb-font-display);
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
	color: var(--cb-navy);
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--cb-navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 200ms var(--cb-ease);
}
a:hover { color: var(--cb-gold); }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

hr { border: 0; border-top: 1px solid var(--cb-border); margin: 2rem 0; }

blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 3px solid var(--cb-gold);
	font-family: var(--cb-font-display);
	font-style: italic;
	color: var(--cb-text-soft);
}

code, pre {
	font-family: var(--cb-font-mono);
	font-size: 0.875em;
}

/* ---------- ACCESSIBILITY ---------- */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.cb-skip-link {
	position: absolute; left: -9999px; top: -9999px;
	background: var(--cb-navy); color: var(--cb-bone); padding: 0.75rem 1.25rem;
	z-index: 100000; border-radius: var(--cb-radius); font-weight: 600;
	text-decoration: none;
}
.cb-skip-link:focus {
	left: 1rem; top: 1rem;
	outline: 3px solid var(--cb-gold); outline-offset: 2px;
}

:focus-visible {
	outline: 3px solid var(--cb-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

button, [type="button"], [type="submit"], [type="reset"] {
	font-family: inherit; font-size: 1rem; cursor: pointer; border: 0; background: none;
}

/* ---------- LAYOUT ---------- */
.cb-container {
	width: 100%;
	max-width: var(--cb-container);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
}

.cb-container--narrow { max-width: var(--cb-container-narrow); }

.cb-section {
	padding: clamp(3rem, 8vw, 6rem) 0;
	position: relative;
}

.cb-section--inline { padding: clamp(2rem, 5vw, 4rem) 0; }

.cb-section--mist { background: var(--cb-mist); }

.cb-section--dark {
	background:
		radial-gradient(ellipse 60% 50% at 80% 100%, rgba(242, 194, 0, 0.05) 0%, transparent 60%),
		linear-gradient(165deg, #0A0A0A 0%, #17171C 100%);
	color: var(--cb-text-inverse);
}
.cb-section--dark h1,
.cb-section--dark h2,
.cb-section--dark h3,
.cb-section--dark h4 { color: var(--cb-bone); }

.cb-section--editorial {
	background: var(--cb-bone);
}

.cb-section--cta-final {
	background:
		radial-gradient(ellipse 70% 60% at 50% 0%, rgba(242, 194, 0, 0.10) 0%, transparent 60%),
		linear-gradient(180deg, #0A0A0A 0%, #17171C 100%);
	color: var(--cb-text-inverse);
	text-align: center;
	border-top: 1px solid rgba(242, 194, 0, 0.30);
}
.cb-section--cta-final h2 { color: var(--cb-bone); }
.cb-section--cta-final .cb-section__lead { color: rgba(245, 241, 232, 0.85); max-width: 640px; margin-left: auto; margin-right: auto; }
.cb-section--cta-final .cb-actions { justify-content: center; }

.cb-section__head {
	max-width: 820px;
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}
.cb-section__head--centered { margin-left: auto; margin-right: auto; text-align: center; }
.cb-section__eyebrow {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cb-gold);
	margin: 0 0 0.75rem;
	font-weight: 600;
}
.cb-section--dark .cb-section__eyebrow,
.cb-section--cta-final .cb-section__eyebrow { color: var(--cb-gold); }
.cb-section__lead {
	font-size: 1.125rem;
	color: var(--cb-text-soft);
	margin-top: 1rem;
	max-width: 720px;
}
.cb-section--dark .cb-section__lead,
.cb-section--cta-final .cb-section__lead { color: rgba(245, 241, 232, 0.78); }

/* ---------- GRIDS ---------- */
.cb-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.cb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cb-grid--services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cb-grid--why { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cb-grid--cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cb-grid--logos { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: center; }
.cb-grid--main-aside { grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }
.cb-grid--contact { grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }

@media (min-width: 900px) {
	.cb-grid--main-aside { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
	.cb-grid--contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* ---------- BUTTONS ---------- */
.cb-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.875rem 1.5rem;
	font-family: var(--cb-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	border-radius: var(--cb-radius);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease), background 200ms var(--cb-ease), color 200ms var(--cb-ease), border-color 200ms var(--cb-ease);
	line-height: 1.2;
	min-height: 48px;
	white-space: nowrap;
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
}
.cb-btn:hover { transform: translateY(-2px); }
.cb-btn:active { transform: translateY(0); }
.cb-btn:focus-visible { outline-offset: 4px; }

.cb-btn--gold {
	background: var(--cb-gold);
	color: var(--cb-black);
	border-color: var(--cb-gold);
	font-weight: 700;
	letter-spacing: 0.015em;
}
.cb-btn--gold:hover {
	background: #FFD11A;
	border-color: #FFD11A;
	box-shadow: var(--cb-shadow-gold);
	color: var(--cb-black);
}

.cb-btn--red { background: var(--cb-red); color: #fff; border-color: var(--cb-red); }
.cb-btn--red:hover { background: #c52a3d; box-shadow: var(--cb-shadow-red); color: #fff; }

.cb-btn--red-outline { background: transparent; color: var(--cb-red); border-color: var(--cb-red); }
.cb-btn--red-outline:hover { background: var(--cb-red); color: #fff; box-shadow: var(--cb-shadow-red); }
.cb-section--dark .cb-btn--red-outline,
.cb-hero .cb-btn--red-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.cb-section--dark .cb-btn--red-outline:hover,
.cb-hero .cb-btn--red-outline:hover { background: var(--cb-red); border-color: var(--cb-red); color: #fff; }

.cb-btn--navy { background: var(--cb-navy); color: var(--cb-bone); border-color: var(--cb-navy); }
.cb-btn--navy:hover { background: var(--cb-midnight); box-shadow: var(--cb-shadow-md); color: var(--cb-bone); }

.cb-btn--ghost { background: transparent; color: var(--cb-navy); border-color: var(--cb-border-strong); }
.cb-btn--ghost:hover { background: var(--cb-navy); color: var(--cb-bone); border-color: var(--cb-navy); }

.cb-btn--block { display: flex; width: 100%; }
.cb-btn--xl {
	padding: 1.125rem 2rem;
	font-size: 1.0625rem;
	min-height: 60px;
	line-height: 1.2;
}

/* ---------- HEADER ---------- */
.cb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: background 200ms var(--cb-ease), border-color 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease);
}
.cb-header.is-stuck {
	border-bottom-color: rgba(242, 194, 0, 0.30);
	box-shadow: var(--cb-shadow-sm);
}

.cb-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.875rem clamp(1rem, 3vw, 2rem);
	max-width: var(--cb-container);
	margin: 0 auto;
}

.cb-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--cb-black);
	font-family: var(--cb-font-display);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.1;
	letter-spacing: 0;
}
.cb-header__brand img,
.cb-header__brand svg { height: 75px; width: auto; flex-shrink: 0; }

/* ---------- BRAND LOCKUP ---------- */
.cb-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.9375rem;
	line-height: 1.1;
}
.cb-lockup__badge {
	height: 75px;
	width: auto;
	display: block;
	flex-shrink: 0;
	filter: drop-shadow(0 4px 14px rgba(242, 194, 0, 0.22));
	transition: filter 200ms var(--cb-ease), transform 200ms var(--cb-ease);
}
.cb-header__brand:hover .cb-lockup__badge,
.cb-footer__brand:hover .cb-lockup__badge { filter: drop-shadow(0 6px 18px rgba(242, 194, 0, 0.42)); transform: translateY(-1px); }
.cb-lockup__words {
	display: flex;
	flex-direction: column;
	font-family: var(--cb-font-display);
	letter-spacing: 0;
}
.cb-lockup__title {
	font-size: 1.1875rem;
	font-weight: 700;
	color: var(--cb-black);
	letter-spacing: -0.005em;
	line-height: 1;
}
.cb-lockup__sub {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 600;
	margin-top: 0.3rem;
}
.cb-footer .cb-lockup__title { color: var(--cb-bone); }
.cb-footer .cb-lockup__sub { color: var(--cb-gold); }
.cb-section--dark .cb-lockup__title { color: var(--cb-bone); }
.cb-section--dark .cb-lockup__sub { color: var(--cb-gold); }

/*
 * Push the nav to the right side of the header on desktop. Because the
 * header inner is a flex row with brand → toggle → nav → actions, applying
 * margin-left:auto to the FIRST element after the brand on each viewport
 * makes the brand stay flush left while everything to its right clusters
 * on the right edge. The original rule targeted .cb-header__nav — a class
 * that never existed in the markup — so the nav and actions had been
 * sitting flush-left next to the brand the whole time. The "empty space"
 * the user saw when the Request Assessment CTA was hidden was exactly
 * this: an unfilled right side with the cluster pushed left.
 *
 * On mobile the nav is display:none and the toggle is visible, so we
 * push the toggle right instead (with the actions cluster following).
 * Result: on every viewport, the right side of the header is filled.
 */
.cb-nav,
.cb-header__nav { margin-left: auto; }

@media (max-width: 1023.98px) {
	.cb-header__toggle { margin-left: auto; }
}

.cb-nav {
	display: none;
}
.cb-nav__list {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}
.cb-nav__list li { margin: 0; position: relative; }
.cb-nav__list a {
	display: inline-block;
	padding: 0.5rem 0.875rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--cb-text);
	text-decoration: none;
	border-radius: var(--cb-radius-sm);
	transition: color 200ms var(--cb-ease), background 200ms var(--cb-ease);
}
.cb-nav__list a:hover,
.cb-nav__list .current-menu-item > a,
.cb-nav__list .current-menu-parent > a {
	color: var(--cb-navy);
	background: rgba(11, 37, 69, 0.06);
}
.cb-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	box-shadow: var(--cb-shadow-md);
	padding: 0.5rem;
	min-width: 240px;
	list-style: none;
	z-index: 5;
}
.cb-nav__list li:hover > .sub-menu,
.cb-nav__list li:focus-within > .sub-menu { display: block; }
.cb-nav__list .sub-menu a { width: 100%; }

.cb-header__cta {
	display: none;
	margin-left: 0.5rem;
}

.cb-header__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px; height: 44px;
	margin-left: auto;
	gap: 5px;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-sm);
	background: transparent;
}
.cb-header__toggle span {
	display: block;
	width: 22px; height: 2px;
	background: var(--cb-navy);
	transition: transform 200ms var(--cb-ease), opacity 200ms var(--cb-ease);
}
.cb-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cb-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cb-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
	.cb-nav { display: block; }
	.cb-header__cta { display: inline-flex; }
	.cb-header__toggle { display: none; }
}

/* Mobile nav drawer */
@media (max-width: 1023.98px) {
	.cb-header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--cb-border); box-shadow: var(--cb-shadow-md); padding: 1rem; }
	.cb-header__nav.is-open { display: block; margin-left: 0; }
	.cb-header__nav.is-open .cb-nav { display: block; }
	.cb-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.cb-nav__list a { display: block; padding: 0.875rem 1rem; border-bottom: 1px solid var(--cb-border); }
	.cb-nav__list .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
}

/* ---------- HERO ---------- */
.cb-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--cb-bone);
	padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
}
.cb-hero--home { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 6.5rem); }
.cb-hero--page { padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }

.cb-hero__atmosphere {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(ellipse 80% 60% at 80% 0%, rgba(242, 194, 0, 0.08) 0%, transparent 55%),
		linear-gradient(160deg, #0A0A0A 0%, #17171C 55%, #0A0A0A 100%);
}
.cb-hero__brass-glow {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(circle at 18% 30%, var(--cb-gold-soft) 0%, transparent 55%);
}
.cb-hero::before {
	/* Hairline gold separator at the bottom of every hero, like a badge edge */
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--cb-gold) 18%, var(--cb-gold) 82%, transparent 100%);
	opacity: 0.55;
	z-index: 1;
	pointer-events: none;
}
.cb-hero__noise {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.06;
	mix-blend-mode: overlay;
	pointer-events: none;
}
.cb-hero__skyline {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: -1;
	height: 30%;
	opacity: 0.22;
	pointer-events: none;
}
.cb-hero__skyline svg { width: 100%; height: 100%; preserveAspectRatio: none; display: block; }
.cb-hero__photo {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.25;
	background-size: cover;
	background-position: center;
	filter: saturate(0.85) contrast(1.05) brightness(0.9);
	pointer-events: none;
}

.cb-hero__inner {
	position: relative;
	max-width: var(--cb-container);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
}
.cb-hero__eyebrow {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cb-gold);
	margin: 0 0 1rem;
	font-weight: 600;
}
.cb-hero__title {
	color: var(--cb-bone);
	font-size: clamp(2.25rem, 4.5vw + 1rem, 4.25rem);
	max-width: 22ch;
	margin: 0 0 1rem;
	letter-spacing: -0.025em;
}
.cb-hero--page .cb-hero__title { font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem); max-width: 26ch; }
.cb-hero__lead {
	font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
	color: rgba(245, 241, 232, 0.92);
	max-width: 58ch;
	line-height: 1.55;
	margin: 0 0 2rem;
}
.cb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	align-items: stretch;
}
.cb-hero__actions .cb-btn {
	flex: 0 0 auto;
}

.cb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	align-items: stretch;
	margin-top: 1.5rem;
}
.cb-actions .cb-btn {
	flex: 0 0 auto;
}

/* ---------- BREADCRUMBS ---------- */
/* Breadcrumbs sit in a light, narrow band between the hero and main content
 * on interior pages. Horizontal inline trail, mono caps, chevron separators,
 * current page emphasized. Earlier versions used bone-on-dark coloring and
 * never reset the default <ol> list styling, which left the breadcrumbs
 * rendering as a numbered vertical list with low-contrast text. */
.cb-breadcrumbs {
	background: var(--cb-bone);
	border-bottom: 1px solid var(--cb-border);
	padding: 0.875rem 0;
	font-family: var(--cb-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
}
.cb-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}
.cb-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
.cb-breadcrumbs li + li::before {
	content: '›';
	margin: 0 0.4rem 0 0;
	color: var(--cb-silver);
	font-family: var(--cb-font-body);
	font-size: 1.15em;
	font-weight: 400;
	line-height: 1;
}
.cb-breadcrumbs a {
	color: var(--cb-text-soft);
	text-decoration: none;
	transition: color 150ms ease;
}
.cb-breadcrumbs a:hover,
.cb-breadcrumbs a:focus-visible {
	color: var(--cb-black);
}
.cb-breadcrumbs [aria-current="page"],
.cb-breadcrumbs__current {
	color: var(--cb-black);
	font-weight: 700;
}
.cb-breadcrumbs__sep { display: none; } /* legacy hook from older partial */

/* ---------- TRUST STRIP ---------- */
.cb-trust {
	background: var(--cb-bone);
	border-top: 1px solid var(--cb-border);
	border-bottom: 1px solid var(--cb-border);
	padding: 1rem 0;
}
.cb-trust__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	margin: 0; padding: 0;
	list-style: none;
	justify-content: center;
	align-items: center;
	max-width: var(--cb-container);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
}
.cb-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-navy);
	font-weight: 600;
}
.cb-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--cb-gold);
	width: 1.5em; height: 1.5em;
}
.cb-trust__icon svg { width: 100%; height: 100%; }

/* ---------- SERVICE CARDS ---------- */
.cb-service-card {
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow-sm);
	transition: transform 250ms var(--cb-ease), box-shadow 250ms var(--cb-ease), border-color 250ms var(--cb-ease);
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.cb-service-card--link:hover {
	transform: translateY(-4px);
	box-shadow: var(--cb-shadow-md);
	border-color: var(--cb-gold);
}
.cb-service-card__icon {
	display: inline-flex;
	width: 56px; height: 56px;
	background: linear-gradient(135deg, rgba(242, 194, 0, 0.16) 0%, rgba(242, 194, 0, 0.04) 100%);
	color: var(--cb-black);
	border-radius: var(--cb-radius);
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	border: 1px solid rgba(242, 194, 0, 0.25);
	transition: background 250ms var(--cb-ease), border-color 250ms var(--cb-ease);
}
.cb-service-card:hover .cb-service-card__icon {
	background: linear-gradient(135deg, rgba(242, 194, 0, 0.28) 0%, rgba(242, 194, 0, 0.10) 100%);
	border-color: var(--cb-gold);
}
.cb-service-card__icon svg { width: 32px; height: 32px; }
.cb-service-card__title,
.cb-section--dark .cb-service-card__title,
.cb-section--cta-final .cb-service-card__title {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
	color: var(--cb-black);
	font-weight: 700;
}
.cb-service-card__body {
	color: var(--cb-text-soft);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0 0 1rem;
	flex-grow: 1;
}
.cb-service-card__cta {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-gold);
	font-weight: 700;
	margin-top: auto;
}

/* ---------- WHY / REASONS ---------- */
.cb-reason {
	padding: 1.5rem;
	background: var(--cb-bone);
	border-radius: var(--cb-radius-lg);
	border-left: 4px solid var(--cb-gold);
}
.cb-reason__title {
	font-size: 1.0625rem;
	font-family: var(--cb-font-body);
	font-weight: 700;
	color: var(--cb-navy);
	margin: 0 0 0.4rem;
	letter-spacing: 0;
}
.cb-reason__body {
	font-size: 0.9375rem;
	color: var(--cb-text-soft);
	margin: 0;
}

/* ---------- STEPPER ---------- */
.cb-stepper {
	counter-reset: cb-step;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.cb-stepper__item {
	counter-increment: cb-step;
	position: relative;
	padding: 2rem 1.5rem 1.5rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
}
.cb-stepper__item::before {
	content: counter(cb-step, decimal-leading-zero);
	position: absolute;
	top: -0.7rem; left: 1.5rem;
	font-family: var(--cb-font-mono);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--cb-gold);
	background: var(--cb-black);
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	letter-spacing: 0.08em;
	border: 1px solid var(--cb-gold);
	box-shadow: 0 4px 10px rgba(10, 10, 10, 0.20);
}
.cb-stepper__title {
	font-size: 1.125rem;
	margin: 0 0 0.5rem;
	color: var(--cb-navy);
}
.cb-stepper__body { margin: 0; color: var(--cb-text-soft); font-size: 0.9375rem; }

/* ---------- INDUSTRY LIST ---------- */
.cb-industries {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}
.cb-industries li {
	margin: 0;
	padding: 0.5rem 1rem;
	background: rgba(11, 37, 69, 0.06);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--cb-navy);
}
.cb-section--dark .cb-industries li,
.cb-section--cta-final .cb-industries li {
	background: rgba(255, 255, 255, 0.08);
	color: var(--cb-bone);
}

/* ---------- LOGO TILE ---------- */
.cb-logo-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	transition: border-color 200ms var(--cb-ease);
}
.cb-logo-tile:hover { border-color: var(--cb-gold); }
.cb-logo-tile img { max-height: 60px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: filter 200ms, opacity 200ms; }
.cb-logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- FORMS ---------- */
/* Honeypot: a fake "Website" field that bots fill in but humans never
 * see. Server-side rejects any submission with a non-empty value. The
 * field MUST be physically rendered (not display:none — bots skip
 * display:none fields) but visually and aurally hidden so real users
 * don't touch it. Pulling it off-screen with a tiny clip rectangle
 * keeps the assistive-tech-aware behavior of aria-hidden while being
 * scrape-friendly. v1.19 shipped without this rule — the field was
 * showing as a visible "Website" input on every form.
 */
.cb-form__hp,
.cb-form__hp * {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.cb-form { display: flex; flex-direction: column; gap: 1.25rem; }
.cb-field { display: flex; flex-direction: column; }
.cb-field__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--cb-navy);
	margin: 0 0 0.4rem;
	letter-spacing: 0.01em;
}
.cb-field__label .cb-required { color: var(--cb-red); margin-left: 0.25em; }
.cb-field__input,
.cb-field input[type="text"],
.cb-field input[type="email"],
.cb-field input[type="tel"],
.cb-field input[type="url"],
.cb-field input[type="number"],
.cb-field input[type="password"],
.cb-field input[type="search"],
.cb-field input[type="date"],
.cb-field input[type="time"],
.cb-field select,
.cb-field textarea {
	width: 100%;
	padding: 0.75rem 0.875rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--cb-text);
	background: #fff;
	border: 1px solid var(--cb-border-strong);
	border-radius: var(--cb-radius);
	transition: border-color 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease);
}
.cb-field input:focus,
.cb-field select:focus,
.cb-field textarea:focus {
	border-color: var(--cb-gold);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
}
.cb-field textarea { resize: vertical; min-height: 120px; }
.cb-field__hint { font-size: 0.8125rem; color: var(--cb-text-soft); margin: 0.4rem 0 0; }
.cb-field__error { font-size: 0.8125rem; color: var(--cb-red); margin: 0.4rem 0 0; font-weight: 600; }

.cb-fieldset {
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	padding: 1.25rem 1.5rem;
	margin: 0;
}
.cb-fieldset legend {
	font-family: var(--cb-font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--cb-navy);
	padding: 0 0.5rem;
}

.cb-check, .cb-radio {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.9375rem;
	cursor: pointer;
	margin: 0 0 0.5rem;
	color: var(--cb-text);
}
.cb-check input, .cb-radio input { margin-top: 0.25em; flex-shrink: 0; accent-color: var(--cb-navy); }

.cb-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important; height: 1px !important;
	overflow: hidden;
}

.cb-form__notice {
	padding: 0.875rem 1rem;
	border-radius: var(--cb-radius);
	font-size: 0.9375rem;
	margin: 0 0 1rem;
}
.cb-form__notice--success { background: rgba(92, 122, 75, 0.12); color: #3a5230; border: 1px solid rgba(92, 122, 75, 0.3); }
.cb-form__notice--error { background: rgba(155, 34, 38, 0.08); color: var(--cb-crimson); border: 1px solid rgba(155, 34, 38, 0.25); }

.cb-form__legal {
	font-size: 0.75rem;
	color: var(--cb-text-soft);
	margin: 0;
	line-height: 1.5;
}
.cb-form__legal a { color: inherit; }

/* progressive disclosure */
.cb-form__step--hidden { display: none; }
.cb-form__step { display: flex; flex-direction: column; gap: 1.25rem; }

/* ---------- ASIDE / SIDEBAR ---------- */
.cb-aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.cb-aside__card {
	padding: 1.5rem;
	background: var(--cb-bone);
	border-radius: var(--cb-radius-lg);
	border: 1px solid var(--cb-border);
}
.cb-aside__title {
	font-size: 1rem;
	font-family: var(--cb-font-body);
	font-weight: 700;
	color: var(--cb-navy);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 0.75rem;
}
.cb-aside__list { list-style: none; padding: 0; margin: 0; }
.cb-aside__list li { margin: 0 0 0.5rem; }
.cb-aside__list a {
	display: block;
	padding: 0.5rem 0.75rem;
	background: #fff;
	border-radius: var(--cb-radius-sm);
	text-decoration: none;
	color: var(--cb-navy);
	font-weight: 500;
	font-size: 0.9375rem;
	transition: background 200ms;
}
.cb-aside__list a:hover { background: var(--cb-gold); color: var(--cb-navy); }

.cb-testimonial {
	padding: 1.5rem;
	background: linear-gradient(160deg, #0A0A0A, #17171C);
	color: var(--cb-bone);
	border-radius: var(--cb-radius-lg);
	font-family: var(--cb-font-display);
	border-left: 3px solid var(--cb-gold);
	position: relative;
	overflow: hidden;
}
.cb-testimonial::before {
	content: '"';
	position: absolute;
	top: -1.5rem; right: 1rem;
	font-family: var(--cb-font-display);
	font-size: 8rem;
	color: var(--cb-gold);
	opacity: 0.18;
	line-height: 1;
	pointer-events: none;
}
.cb-testimonial__quote { font-size: 1.0625rem; font-style: italic; margin: 0 0 0.75rem; line-height: 1.5; position: relative; }
.cb-testimonial__cite { font-size: 0.8125rem; font-family: var(--cb-font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cb-gold); font-style: normal; }

/* ---------- FOOTER ---------- */
.cb-footer {
	background: var(--cb-black);
	color: rgba(245, 241, 232, 0.78);
	padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
	font-size: 0.9375rem;
	border-top: 1px solid rgba(242, 194, 0, 0.22);
	position: relative;
}
.cb-footer::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--cb-gold) 50%, transparent 100%);
	opacity: 0.5;
}
.cb-footer__top { margin-bottom: 2rem; }
.cb-footer__cols {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.cb-footer__col h2,
.cb-footer__col .cb-footer__heading {
	font-family: var(--cb-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cb-gold);
	margin: 0 0 1rem;
}
.cb-footer__col ul { list-style: none; padding: 0; margin: 0; }
.cb-footer__col li { margin: 0 0 0.5rem; }
.cb-footer__col a {
	color: rgba(245, 241, 232, 0.78);
	text-decoration: none;
	transition: color 200ms;
}
.cb-footer__col a:hover { color: var(--cb-gold); }
.cb-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: var(--cb-bone);
	font-family: var(--cb-font-display);
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
}
.cb-footer__brand img,
.cb-footer__brand svg { height: 44px; width: auto; }
.cb-footer__tagline { color: rgba(245, 241, 232, 0.65); font-size: 0.875rem; max-width: 28ch; }

.cb-footer__bottom {
	border-top: 1px solid rgba(245, 241, 232, 0.14);
	padding-top: 1.5rem;
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8125rem;
	color: rgba(245, 241, 232, 0.55);
}
.cb-footer__legal ul { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.cb-footer__legal a { color: inherit; text-decoration: none; }
.cb-footer__legal a:hover { color: var(--cb-gold); }

.cb-footer__ops {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-bone);
}
.cb-ops-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--cb-olive);
	box-shadow: 0 0 0 0 rgba(92, 122, 75, 0.5);
	animation: cb-pulse 2s var(--cb-ease) infinite;
}
.cb-ops-dot--offline { background: var(--cb-crimson); animation: none; }
@keyframes cb-pulse {
	0% { box-shadow: 0 0 0 0 rgba(92, 122, 75, 0.5); }
	70% { box-shadow: 0 0 0 8px rgba(92, 122, 75, 0); }
	100% { box-shadow: 0 0 0 0 rgba(92, 122, 75, 0); }
}

/* ---------- FAB ---------- */
.cb-fab {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.125rem;
	background: var(--cb-red);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	box-shadow: var(--cb-shadow-red);
	transition: transform 200ms, box-shadow 200ms;
}
.cb-fab:hover { transform: translateY(-2px); color: #fff; }
.cb-fab__icon { display: inline-flex; width: 1.25em; height: 1.25em; }
.cb-fab__icon svg { width: 100%; height: 100%; }
@media (min-width: 1024px) { .cb-fab { display: none; } }

/* ---------- EXIT MODAL ---------- */
.cb-exit {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}
.cb-exit.is-open { display: flex; }
.cb-exit__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 37, 69, 0.7);
	backdrop-filter: blur(4px);
}
.cb-exit__panel {
	position: relative;
	background: #fff;
	border-radius: var(--cb-radius-xl);
	padding: 2rem;
	max-width: 480px;
	width: 100%;
	box-shadow: var(--cb-shadow-lg);
	z-index: 1;
}
.cb-exit__close {
	position: absolute;
	top: 0.75rem; right: 0.75rem;
	width: 36px; height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--cb-text-soft);
	background: var(--cb-mist);
}
.cb-exit__title { color: var(--cb-navy); margin: 0 0 0.75rem; }
.cb-exit__body { color: var(--cb-text-soft); font-size: 0.9375rem; margin: 0 0 1.5rem; }

/* ---------- PORTAL ---------- */
.cb-portal {
	min-height: 70vh;
	padding: clamp(2rem, 5vw, 4rem) 0;
	background: var(--cb-mist);
}
.cb-portal__panel {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: #fff;
	border-radius: var(--cb-radius-xl);
	box-shadow: var(--cb-shadow-md);
}
.cb-portal--login .cb-portal__panel { max-width: 440px; }
.cb-portal--dashboard .cb-portal__panel { max-width: 960px; }
.cb-portal--supervisor .cb-portal__panel { max-width: 100%; }
.cb-portal--supervisor .cb-supervisor__hero { max-width: 100%; }
.cb-portal__title {
	color: var(--cb-navy);
	margin: 0 0 0.5rem;
}
.cb-portal__subtitle {
	color: var(--cb-text-soft);
	font-size: 0.9375rem;
	margin: 0 0 1.5rem;
}
.cb-portal__form { display: flex; flex-direction: column; gap: 1rem; }

.cb-portal__state {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	background: var(--cb-bone);
	border-radius: var(--cb-radius);
	margin: 0 0 1.5rem;
}
.cb-portal__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(11, 37, 69, 0.08);
	color: var(--cb-navy);
}
.cb-portal__status--on { background: rgba(92, 122, 75, 0.16); color: var(--cb-olive); }
.cb-portal__status--ready { background: rgba(212, 155, 59, 0.18); color: #8b6818; }

.cb-portal__clock {
	font-family: var(--cb-font-mono);
	font-size: 0.875rem;
	color: var(--cb-text-soft);
	letter-spacing: 0.04em;
}

.cb-portal__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

.cb-portal__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	margin-top: 2rem;
}
.cb-portal__table th,
.cb-portal__table td {
	padding: 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--cb-border);
}
.cb-portal__table th {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 600;
	background: var(--cb-bone);
}
.cb-portal__table tr:last-child td { border-bottom: 0; }
.cb-portal__table--empty { padding: 1.5rem; color: var(--cb-text-soft); text-align: center; }

.cb-signature {
	border: 1px dashed var(--cb-border-strong);
	border-radius: var(--cb-radius);
	background: #fafbfc;
	padding: 0.5rem;
	position: relative;
}
.cb-signature__canvas {
	display: block;
	width: 100%;
	height: 180px;
	touch-action: none;
	cursor: crosshair;
	background: #fff;
	border-radius: var(--cb-radius-sm);
}
.cb-signature__actions { display: flex; justify-content: flex-end; margin-top: 0.5rem; }

.cb-visitor-row {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: 1fr;
	padding: 0.75rem;
	background: var(--cb-bone);
	border-radius: var(--cb-radius);
	margin: 0 0 0.75rem;
}
@media (min-width: 600px) {
	.cb-visitor-row { grid-template-columns: 1.5fr 1fr 2fr; align-items: end; }
}

.cb-geo-status {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	color: var(--cb-text-soft);
	letter-spacing: 0.06em;
	margin-top: 0.4rem;
}
.cb-geo-status--ok { color: var(--cb-olive); }
.cb-geo-status--err { color: var(--cb-crimson); }

/* ---------- FAQ ---------- */
.cb-faq { max-width: 880px; }
.cb-faq__item {
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	background: #fff;
	margin: 0 0 0.75rem;
	overflow: hidden;
}
.cb-faq__item[open] { border-color: var(--cb-gold); }
.cb-faq__item summary {
	padding: 1rem 1.25rem;
	font-family: var(--cb-font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--cb-navy);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.cb-faq__item summary::-webkit-details-marker { display: none; }
.cb-faq__item summary::after {
	content: '+';
	font-family: var(--cb-font-mono);
	font-size: 1.5rem;
	color: var(--cb-gold);
	transition: transform 200ms;
	flex-shrink: 0;
}
.cb-faq__item[open] summary::after { content: '−'; }
.cb-faq__answer,
.cb-faq__a {
	/* Separate the answer from the question with a hairline rule, give
	 * comfortable padding on all four sides, and reserve a touch more
	 * right-padding than the summary so the answer text never extends
	 * into the column where the +/- toggle lives — keeps the visual
	 * rhythm of the open card tidy and intentional.
	 *
	 * Targets BOTH .cb-faq__answer and .cb-faq__a — the FAQ template
	 * partial emits .cb-faq__a, but other surfaces in the codebase
	 * (the spec, demo widgets) reference .cb-faq__answer. v1.19's fix
	 * targeted only __answer and didn't apply on /faq/. */
	margin: 0;
	padding: 1.25rem 2rem 1.5rem 1.5rem;
	border-top: 1px solid rgba(10, 10, 10, 0.06);
	color: var(--cb-text);
	font-size: 0.9375rem;
	line-height: 1.65;
}
.cb-faq__answer > p:first-child,
.cb-faq__a > p:first-child { margin-top: 0; }
.cb-faq__answer > p:last-child,
.cb-faq__a > p:last-child  { margin-bottom: 0; }

/* ---------- ARTICLE / SINGLE ---------- */
.cb-article { max-width: 760px; margin: 0 auto; }
.cb-article__meta {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	margin: 0 0 1rem;
}
.cb-article__content > * { margin-bottom: 1rem; }
.cb-article__content h2 { margin-top: 2.5rem; }
.cb-article__content h3 { margin-top: 2rem; }

/* ---------- 404 / SEARCH ---------- */
.cb-error {
	text-align: center;
	padding: clamp(3rem, 8vw, 6rem) 0;
}
.cb-error__code {
	font-family: var(--cb-font-display);
	font-size: clamp(5rem, 14vw, 9rem);
	color: var(--cb-gold);
	margin: 0;
	line-height: 1;
	letter-spacing: -0.04em;
}
.cb-error__title { margin: 1rem 0 0.5rem; }
.cb-error__body { color: var(--cb-text-soft); max-width: 480px; margin: 0 auto 2rem; }
.cb-error__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2rem 0; }

.cb-searchform {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin: 0 auto;
}
.cb-searchform input[type="search"] {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 1px solid var(--cb-border-strong);
	border-radius: var(--cb-radius);
	font-size: 1rem;
	font-family: inherit;
}
.cb-searchform input[type="search"]:focus { border-color: var(--cb-gold); outline: 0; box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22); }

/* ---------- WOOCOMMERCE ---------- */
.cb-shop { font-family: inherit; }
.cb-shop__page-title { color: var(--cb-navy); margin: 0 0 1.5rem; }
.cb-shop ul.products {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	list-style: none;
	padding: 0;
	margin: 0;
}
.cb-shop ul.products li.product {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	padding: 1rem;
	transition: transform 200ms, box-shadow 200ms;
}
.cb-shop ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--cb-shadow-md); }
.cb-shop ul.products li.product img { border-radius: var(--cb-radius); margin-bottom: 0.75rem; }
.cb-shop ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--cb-font-display);
	font-size: 1.0625rem;
	color: var(--cb-navy);
	margin: 0 0 0.4rem !important;
	font-weight: 600;
}
.cb-shop ul.products li.product .price {
	color: var(--cb-navy);
	font-weight: 700;
	font-size: 1.0625rem;
}
.cb-shop .button,
.cb-shop a.button,
.cb-shop button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	background: var(--cb-gold);
	color: var(--cb-navy);
	font-weight: 600;
	border-radius: var(--cb-radius);
	text-decoration: none;
	border: 2px solid var(--cb-gold);
	transition: transform 200ms, box-shadow 200ms;
	min-height: 44px;
}
.cb-shop .button:hover { transform: translateY(-2px); box-shadow: var(--cb-shadow-gold); }

.cb-cart table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: var(--cb-radius-lg);
	overflow: hidden;
}
.cb-cart th, .cb-cart td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid var(--cb-border);
}
.cb-cart th {
	background: var(--cb-bone);
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-navy);
}
.cb-cart__totals {
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--cb-bone);
	border-radius: var(--cb-radius-lg);
}

.cb-shop__qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--cb-border-strong);
	border-radius: var(--cb-radius);
	overflow: hidden;
	background: #fff;
}
.cb-shop__qty-btn {
	width: 36px; height: 40px;
	background: var(--cb-bone);
	color: var(--cb-navy);
	font-size: 1.25rem;
	font-weight: 700;
}
.cb-shop__qty-btn:hover { background: var(--cb-gold); }
.cb-shop__qty-input {
	width: 50px;
	border: 0;
	text-align: center;
	font-family: var(--cb-font-mono);
	font-weight: 600;
	height: 40px;
	background: #fff;
}

/* WC notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	padding: 1rem 1.25rem;
	border-radius: var(--cb-radius);
	margin: 0 0 1.5rem;
	background: var(--cb-bone);
	border-left: 3px solid var(--cb-gold);
	list-style: none;
}
.woocommerce-error { background: rgba(155, 34, 38, 0.06); border-left-color: var(--cb-crimson); color: var(--cb-crimson); }

/* ---------- UTILITY ---------- */
.cb-mt-0 { margin-top: 0 !important; }
.cb-mb-0 { margin-bottom: 0 !important; }
.cb-text-center { text-align: center; }
.cb-hide { display: none !important; }

/* ---------- PRINT ---------- */
@media print {
	.cb-header, .cb-footer, .cb-fab, .cb-exit, .cb-trust, .cb-skip-link { display: none !important; }
	body { color: #000; background: #fff; font-size: 11pt; }
	a { color: #000; text-decoration: none; }
	a[href]:after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
	h1, h2, h3 { color: #000; page-break-after: avoid; }
	.cb-hero { padding: 1.5rem 0; color: #000; background: none; }
	.cb-hero__atmosphere, .cb-hero__brass-glow, .cb-hero__noise, .cb-hero__skyline, .cb-hero__photo { display: none !important; }
	.cb-hero__title, .cb-hero__lead { color: #000; }
	.cb-section, .cb-section--dark, .cb-section--mist, .cb-section--cta-final { background: none !important; color: #000 !important; padding: 1rem 0; }
	.cb-section--dark h2, .cb-section--cta-final h2 { color: #000 !important; }
	.cb-btn { display: none; }
	.cb-actions { display: none; }
}

/* ---------- MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.cb-btn:hover { transform: none; }
}

/* ---------- SUPERVISOR DASHBOARD ---------- */
.cb-portal--supervisor { padding-top: clamp(1.5rem, 4vw, 3rem); }

.cb-supervisor__hero {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: flex-end;
	justify-content: space-between;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background:
		radial-gradient(ellipse 50% 80% at 100% 0%, rgba(242,194,0,0.10) 0%, transparent 60%),
		linear-gradient(140deg, var(--cb-black) 0%, var(--cb-charcoal) 100%);
	color: var(--cb-bone);
	border-radius: var(--cb-radius-xl);
	margin-bottom: 1.75rem;
	border: 1px solid rgba(242, 194, 0, 0.22);
	position: relative;
	overflow: hidden;
}
.cb-supervisor__hero::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cb-gold), transparent);
	opacity: 0.6;
}
.cb-supervisor__hero-text { flex: 1 1 320px; }
.cb-supervisor__hero .cb-section__eyebrow { color: var(--cb-gold); }
.cb-supervisor__hero .cb-portal__title { color: var(--cb-bone); margin: 0.25rem 0 0.5rem; font-size: clamp(1.875rem, 3vw + 1rem, 2.75rem); }
.cb-supervisor__hero .cb-portal__subtitle { color: rgba(245, 241, 232, 0.78); }
.cb-supervisor__hero-stats {
	display: flex;
	gap: clamp(1rem, 2vw, 2rem);
	flex-wrap: wrap;
}
.cb-stat {
	display: flex;
	flex-direction: column;
	min-width: 90px;
}
.cb-stat__num {
	font-family: var(--cb-font-display);
	font-size: clamp(2rem, 3vw + 0.5rem, 2.75rem);
	font-weight: 700;
	color: var(--cb-gold);
	line-height: 1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}
.cb-stat__label {
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(245, 241, 232, 0.66);
	font-weight: 600;
	margin-top: 0.5rem;
}

.cb-supervisor__section {
	margin-bottom: 1.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}
.cb-supervisor__section-head { margin-bottom: 1.25rem; }
.cb-supervisor__section-title {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 1.25rem;
	color: var(--cb-black);
	margin: 0 0 0.4rem;
	font-weight: 700;
}
.cb-supervisor__section-sub {
	color: var(--cb-text-soft);
	font-size: 0.9375rem;
	margin: 0;
}
.cb-supervisor__dot {
	display: inline-flex;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}
.cb-supervisor__dot--live {
	background: var(--cb-olive);
	box-shadow: 0 0 0 0 rgba(92, 122, 75, 0.4);
	animation: cb-pulse 2s var(--cb-ease) infinite;
}
.cb-supervisor__dot--rec {
	background: var(--cb-red);
	box-shadow: 0 0 0 0 rgba(178, 34, 52, 0.5);
	animation: cb-pulse 1.4s var(--cb-ease) infinite;
}

.cb-supervisor__table th[scope="col"] {
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 700;
}
.cb-supervisor__officer {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	text-align: left;
}
.cb-supervisor__avatar {
	border-radius: 50%;
	width: 32px;
	height: 32px;
	box-shadow: 0 0 0 2px var(--cb-gold-soft);
}
.cb-supervisor__geo { font-family: var(--cb-font-mono); font-size: 0.8125rem; }
.cb-supervisor__geo a { color: var(--cb-black); text-decoration-color: var(--cb-gold); }
.cb-supervisor__muted { color: rgba(0, 0, 0, 0.35); }
.cb-supervisor__link { font-weight: 600; text-decoration: none; color: var(--cb-black); }
.cb-supervisor__link:hover { color: var(--cb-gold-warm); }

.cb-supervisor__empty {
	padding: 2rem 1.25rem;
	text-align: center;
	color: var(--cb-text-soft);
	background: var(--cb-bone);
	border-radius: var(--cb-radius);
	border: 1px dashed var(--cb-border);
	margin: 0;
}

/* ---------- CAMERA GRID ---------- */
.cb-camera-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.cb-camera {
	background: var(--cb-black);
	border: 1px solid rgba(242, 194, 0, 0.22);
	border-radius: var(--cb-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 200ms var(--cb-ease), border-color 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease);
}
.cb-camera:hover {
	transform: translateY(-2px);
	border-color: var(--cb-gold);
	box-shadow: 0 8px 22px rgba(10, 10, 10, 0.45);
}
.cb-camera__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.875rem 1rem 0.75rem;
}
.cb-camera__name {
	font-family: var(--cb-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--cb-bone);
	margin: 0;
	line-height: 1.2;
}
.cb-camera__site {
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-gold);
	margin: 0.25rem 0 0;
	font-weight: 600;
}
.cb-camera__badge {
	font-family: var(--cb-font-mono);
	font-size: 0.625rem;
	letter-spacing: 0.12em;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 3px;
	color: var(--cb-black);
	background: var(--cb-gold);
	flex-shrink: 0;
}
.cb-camera__badge--snapshot { background: var(--cb-silver); color: var(--cb-black); }
.cb-camera__badge--iframe { background: rgba(245, 241, 232, 0.2); color: var(--cb-bone); }

.cb-camera__stage {
	position: relative;
	background: #000;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.cb-camera__video,
.cb-camera__iframe,
.cb-camera__img {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	object-fit: cover;
}
.cb-camera__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(245, 241, 232, 0.4);
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.cb-camera--error .cb-camera__stage::after {
	content: 'STREAM ERROR';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.7);
	color: var(--cb-red);
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	font-weight: 700;
}
.cb-camera__live-dot {
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.2rem 0.55rem;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 999px;
	color: var(--cb-red);
	font-family: var(--cb-font-mono);
	font-size: 0.625rem;
	letter-spacing: 0.12em;
	font-weight: 700;
	pointer-events: none;
}
.cb-camera__live-dot::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--cb-red);
	border-radius: 50%;
	animation: cb-pulse 1.4s var(--cb-ease) infinite;
}
.cb-camera__live-dot::after {
	content: 'LIVE';
	color: var(--cb-bone);
}

.cb-camera__foot {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.625rem 1rem 0.875rem;
	font-size: 0.75rem;
	color: rgba(245, 241, 232, 0.72);
}
.cb-camera__foot svg { color: var(--cb-gold); flex-shrink: 0; }

/* ---------- PHOTO UPLOAD FIELD ---------- */
.cb-fieldset--required {
	border-color: rgba(242, 194, 0, 0.45);
	background: linear-gradient(140deg, rgba(242, 194, 0, 0.05) 0%, transparent 60%);
}
.cb-fieldset--required legend { color: var(--cb-black); }
.cb-field__input--file {
	padding: 0.75rem;
	background: #fff;
	font-size: 0.9375rem;
	cursor: pointer;
}
.cb-field__input--file::file-selector-button {
	background: var(--cb-black);
	color: var(--cb-gold);
	border: 1px solid var(--cb-gold);
	border-radius: 6px;
	padding: 0.5rem 1rem;
	font-weight: 700;
	cursor: pointer;
	margin-right: 0.75rem;
	font-family: var(--cb-font-body);
	font-size: 0.875rem;
	letter-spacing: 0.01em;
	transition: background 150ms, color 150ms;
}
.cb-field__input--file::file-selector-button:hover {
	background: var(--cb-gold);
	color: var(--cb-black);
}

.cb-photo-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 0.75rem;
	min-height: 0;
}
.cb-photo-preview img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--cb-border);
	box-shadow: var(--cb-shadow-sm);
}

.cb-required { color: var(--cb-gold); font-weight: 700; margin-left: 0.25em; }

/* ---------- ALARM BANNER ---------- */
.cb-alarm-banner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, #B22234 0%, #8C1A28 100%);
	color: #fff;
	border-radius: var(--cb-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 10px 30px rgba(178, 34, 52, 0.40);
	animation: cb-alarm-flash 1s var(--cb-ease) infinite alternate;
	position: relative;
	overflow: hidden;
}
.cb-alarm-banner[hidden] { display: none; }
.cb-alarm-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		45deg,
		transparent 0,
		transparent 14px,
		rgba(255,255,255,0.04) 14px,
		rgba(255,255,255,0.04) 28px
	);
	pointer-events: none;
}
@keyframes cb-alarm-flash {
	from { box-shadow: 0 10px 30px rgba(178, 34, 52, 0.40); }
	to   { box-shadow: 0 14px 40px rgba(255, 50, 70, 0.65); }
}
.cb-alarm-banner__icon {
	flex-shrink: 0;
	width: 48px; height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff;
	animation: cb-alarm-pulse 1s var(--cb-ease) infinite;
}
.cb-alarm-banner__icon svg { width: 26px; height: 26px; }
@keyframes cb-alarm-pulse {
	0%, 100% { transform: scale(1); background: rgba(255,255,255,0.18); }
	50%      { transform: scale(1.08); background: rgba(255,255,255,0.32); }
}
.cb-alarm-banner__text { flex: 1; position: relative; }
.cb-alarm-banner__title {
	font-family: var(--cb-font-mono);
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	font-weight: 700;
	margin: 0 0 0.25rem;
}
.cb-alarm-banner__detail {
	margin: 0;
	font-family: var(--cb-font-display);
	font-size: 1.125rem;
	font-weight: 700;
}
.cb-alarm-banner__actions {
	display: flex;
	gap: 0.625rem;
	position: relative;
	flex-shrink: 0;
}
.cb-alarm-banner__actions .cb-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
	background: transparent;
}
.cb-alarm-banner__actions .cb-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}
.cb-btn--sm {
	padding: 0.55rem 1rem;
	font-size: 0.875rem;
	min-height: 38px;
}

/* ---------- SMOKE DETECTOR GRID ---------- */
.cb-detector-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.cb-detector {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-left: 4px solid var(--cb-mist);
	border-radius: var(--cb-radius);
	padding: 1rem 1.125rem;
	transition: border-color 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease), transform 200ms var(--cb-ease);
}
.cb-detector--ok      { border-left-color: var(--cb-olive); }
.cb-detector--unknown { border-left-color: var(--cb-text-soft); opacity: 0.85; }
.cb-detector--alarm {
	border-left-color: var(--cb-red);
	background: linear-gradient(135deg, rgba(178,34,52,0.10) 0%, #fff 60%);
	animation: cb-detector-shake 0.6s var(--cb-ease) infinite alternate;
	box-shadow: 0 10px 24px rgba(178, 34, 52, 0.28);
}
@keyframes cb-detector-shake {
	from { transform: translateX(0); }
	to   { transform: translateX(2px); }
}
.cb-detector__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}
.cb-detector__name {
	margin: 0;
	font-size: 1rem;
	color: var(--cb-black);
	font-weight: 700;
	line-height: 1.25;
}
.cb-detector__site {
	margin: 0.2rem 0 0;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 600;
}
.cb-detector__status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	font-weight: 700;
	flex-shrink: 0;
}
.cb-detector--ok       .cb-detector__status { background: rgba(92,122,75,0.16);  color: #3a5230; }
.cb-detector--unknown  .cb-detector__status { background: rgba(0,0,0,0.06);       color: var(--cb-text-soft); }
.cb-detector--alarm    .cb-detector__status { background: rgba(178,34,52,0.18);   color: var(--cb-red); }
.cb-detector__pulse {
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.cb-detector--ok      .cb-detector__pulse { background: var(--cb-olive); }
.cb-detector--alarm   .cb-detector__pulse {
	background: var(--cb-red);
	animation: cb-pulse 0.7s var(--cb-ease) infinite;
}

.cb-detector__location {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	color: var(--cb-text-soft);
	font-size: 0.875rem;
	margin: 0 0 0.5rem;
}
.cb-detector__location svg {
	color: var(--cb-gold);
	flex-shrink: 0;
	margin-top: 0.18rem;
}
.cb-detector__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}
.cb-detector__last {
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	color: var(--cb-text-soft);
}
.cb-detector__test {
	background: transparent;
	border: 1px solid var(--cb-border-strong);
	color: var(--cb-black);
	font-family: var(--cb-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background 150ms, border-color 150ms, color 150ms;
}
.cb-detector__test:hover {
	background: var(--cb-black);
	color: var(--cb-gold);
	border-color: var(--cb-black);
}

/* ---------- FLOOR PLAN PANEL ---------- */
.cb-plan-list {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
}
.cb-plan {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	overflow: hidden;
}
.cb-plan__head {
	padding: 0.875rem 1rem;
	border-bottom: 1px solid var(--cb-border);
	background: linear-gradient(135deg, #fafafb 0%, #fff 100%);
}
.cb-plan__title {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--cb-black);
	font-weight: 700;
}
.cb-plan__meta {
	margin: 0.2rem 0 0;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 600;
}
.cb-plan__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: var(--cb-bone);
	background-blend-mode: multiply;
}
.cb-plan__pin {
	position: absolute;
	width: 28px; height: 28px;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--cb-black);
	background: var(--cb-gold);
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.40);
	text-decoration: none;
	cursor: pointer;
	transition: transform 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease);
	z-index: 1;
}
.cb-plan__pin svg { width: 14px; height: 14px; }
.cb-plan__pin:hover {
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
	z-index: 2;
}
.cb-plan__pin--camera { background: var(--cb-gold); color: var(--cb-black); }
.cb-plan__pin--detector { background: var(--cb-bone); color: var(--cb-text); border-color: var(--cb-silver); }
.cb-plan__pin--detector.is-alarm,
.cb-plan__pin--alarm {
	background: var(--cb-red);
	color: #fff;
	border-color: #fff;
	box-shadow: 0 0 0 0 rgba(178, 34, 52, 0.7), 0 4px 12px rgba(178, 34, 52, 0.5);
	animation: cb-pin-alarm 1.2s var(--cb-ease) infinite;
	z-index: 3;
}
@keyframes cb-pin-alarm {
	0%, 100% { box-shadow: 0 0 0 0   rgba(178,34,52,0.7), 0 4px 12px rgba(178,34,52,0.5); }
	50%      { box-shadow: 0 0 0 12px rgba(178,34,52,0),   0 4px 12px rgba(178,34,52,0.5); }
}
.cb-plan__legend {
	display: flex;
	gap: 1.25rem;
	padding: 0.625rem 1rem;
	background: var(--cb-bone);
	border-top: 1px solid var(--cb-border);
}
.cb-plan__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 600;
}
.cb-plan__legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.cb-plan__legend-dot--camera   { background: var(--cb-gold); }
.cb-plan__legend-dot--detector { background: var(--cb-bone); border: 2px solid var(--cb-silver); }
.cb-plan__legend-dot--alarm    { background: var(--cb-red); }

/* ----------------------------------------------------------------
 * SUPERVISOR ALERT COMPOSER (on /portal/supervisor/)
 * ---------------------------------------------------------------- */
.cb-alert-composer__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
}
.cb-alert-composer__flash {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.9rem;
	background: rgba(92, 122, 75, 0.14);
	color: #3a5230;
	border-radius: 999px;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	font-weight: 700;
	white-space: nowrap;
	align-self: center;
}
.cb-alert-composer__flash::before {
	content: '✓';
	font-weight: 800;
}
.cb-alert-composer__form { display: flex; flex-direction: column; gap: 0.875rem; }
.cb-alert-composer__row {
	display: grid;
	gap: 0.875rem;
	grid-template-columns: 1fr 220px;
}
.cb-alert-composer__row--actions {
	grid-template-columns: minmax(220px, 320px) auto 1fr auto;
	align-items: end;
	gap: 1.25rem;
}
.cb-alert-composer__field { display: flex; flex-direction: column; gap: 0.4rem; }
.cb-alert-composer__field--wide { grid-column: 1 / 2; }
.cb-alert-composer__label {
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 700;
}
.cb-alert-composer__form input[type="text"],
.cb-alert-composer__form textarea,
.cb-alert-composer__form select {
	font-family: var(--cb-font-body);
	font-size: 0.9375rem;
	padding: 0.6rem 0.875rem;
	border: 1px solid var(--cb-border-strong);
	border-radius: var(--cb-radius);
	background: #fff;
	color: var(--cb-text);
	width: 100%;
	transition: border-color 150ms, box-shadow 150ms;
}
.cb-alert-composer__form input[type="text"]:focus,
.cb-alert-composer__form textarea:focus,
.cb-alert-composer__form select:focus {
	outline: 0;
	border-color: var(--cb-gold);
	box-shadow: 0 0 0 3px rgba(242, 194, 0, 0.18);
}
.cb-alert-composer__check {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 0.65rem;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	color: var(--cb-text);
	cursor: pointer;
	white-space: nowrap;
}
.cb-alert-composer__check input { width: 16px; height: 16px; }
.cb-alert-composer__row--actions .cb-btn {
	min-height: 44px;
	padding: 0.65rem 1.5rem;
	white-space: nowrap;
}
@media (max-width: 880px) {
	.cb-alert-composer__row { grid-template-columns: 1fr; }
	.cb-alert-composer__row--actions { grid-template-columns: 1fr; }
	.cb-alert-composer__row--actions .cb-btn { width: 100%; }
}

/* ----------------------------------------------------------------
 * GUARD-SIDE ALERTS LIST (on /portal/dashboard/)
 * ---------------------------------------------------------------- */
.cb-alerts {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.5rem;
	background: var(--cb-bone);
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
}
.cb-alerts__header {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 1rem;
}
.cb-alerts__pulse {
	display: inline-block;
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--cb-gold);
	box-shadow: 0 0 0 0 rgba(242, 194, 0, 0.5);
	animation: cb-pulse 1.6s var(--cb-ease) infinite;
}
.cb-alerts__title {
	margin: 0;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-black);
	font-weight: 700;
}
.cb-alerts__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.cb-alert {
	position: relative;
	display: flex;
	gap: 0;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	overflow: hidden;
	box-shadow: var(--cb-shadow-sm);
}
.cb-alert__rail {
	width: 6px;
	flex-shrink: 0;
	background: var(--cb-silver);
}
.cb-alert--info    .cb-alert__rail { background: var(--cb-silver); }
.cb-alert--warning .cb-alert__rail { background: var(--cb-gold); }
.cb-alert--urgent  .cb-alert__rail {
	background: var(--cb-red);
	animation: cb-rail-pulse 1.2s var(--cb-ease) infinite alternate;
}
@keyframes cb-rail-pulse {
	from { background: var(--cb-red); }
	to   { background: #ff3a4d; }
}

.cb-alert__body {
	padding: 0.875rem 1.125rem 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.cb-alert__meta {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-wrap: wrap;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	color: var(--cb-text-soft);
}
.cb-alert__priority {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border-radius: 3px;
	font-weight: 700;
	letter-spacing: 0.12em;
}
.cb-alert__priority--info    { background: rgba(0,0,0,0.06);       color: var(--cb-text); }
.cb-alert__priority--warning { background: rgba(242,194,0,0.20);   color: #856a04; }
.cb-alert__priority--urgent  {
	background: var(--cb-red);
	color: #fff;
	animation: cb-rail-pulse 1.2s var(--cb-ease) infinite alternate;
}
.cb-alert__time { color: var(--cb-text-soft); }
.cb-alert__from { color: var(--cb-text-soft); }
.cb-alert__headline {
	margin: 0;
	font-family: var(--cb-font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--cb-black);
	line-height: 1.3;
}
.cb-alert__text {
	margin: 0.1rem 0 0;
	color: var(--cb-text);
	font-size: 0.9375rem;
	line-height: 1.55;
}
.cb-alert__ack {
	margin-top: 0.5rem;
	display: flex;
	justify-content: flex-end;
}

/* ----------------------------------------------------------------
 * SUPERVISOR ROLE CHIP (in hero) — v1.6
 * Visible affirmation that this account is a supervisor and is
 * exempt from shift-sign-in / photo requirements.
 * ---------------------------------------------------------------- */
.cb-supervisor__role-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.875rem 0 0;
	padding: 0.4rem 0.875rem;
	border-radius: 999px;
	background: rgba(242, 194, 0, 0.16);
	border: 1px solid rgba(242, 194, 0, 0.32);
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	font-weight: 700;
	color: var(--cb-gold);
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cb-supervisor__role-chip-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-gold);
	box-shadow: 0 0 0 0 rgba(242, 194, 0, 0.5);
	animation: cb-pulse 1.6s var(--cb-ease) infinite;
	flex-shrink: 0;
}
.cb-supervisor__role-chip-text { overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 560px) {
	.cb-supervisor__role-chip { font-size: 0.625rem; letter-spacing: 0.10em; }
}

/* ----------------------------------------------------------------
 * SERVICE PAGES — v1.7 storefront layout
 * ---------------------------------------------------------------- */

/* Hero icon — sits above the eyebrow in a gold-ring chip */
.cb-hero--service .cb-hero__inner { text-align: left; }
.cb-hero__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 1.25rem;
	background: linear-gradient(135deg, rgba(242,194,0,0.16) 0%, rgba(242,194,0,0.04) 100%);
	border: 1.5px solid rgba(242,194,0,0.35);
	border-radius: 18px;
	color: var(--cb-gold);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.cb-hero__icon svg { width: 36px; height: 36px; }

/* Stats strip — sits over the hero/body break, four mono-caps anchors */
.cb-service-stats {
	background: var(--cb-charcoal);
	color: var(--cb-bone);
	padding: 0;
	position: relative;
	z-index: 2;
	margin-top: -2.5rem;
	border-top: 1px solid rgba(242, 194, 0, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cb-service-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.cb-service-stat {
	padding: 1.5rem 1.25rem;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	position: relative;
}
.cb-service-stat:last-child { border-right: 0; }
.cb-service-stat::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 28px;
	height: 2px;
	background: var(--cb-gold);
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 250ms var(--cb-ease), width 250ms var(--cb-ease);
}
.cb-service-stat:hover::before { opacity: 1; width: 64px; }
.cb-service-stat__value {
	display: block;
	font-family: var(--cb-font-display);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--cb-gold);
	line-height: 1;
	margin-bottom: 0.4rem;
	letter-spacing: -0.02em;
	font-feature-settings: "tnum" 1;
}
.cb-service-stat__label {
	display: block;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(245, 241, 232, 0.78);
	font-weight: 600;
}

@media (max-width: 760px) {
	.cb-service-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.cb-service-stat:nth-child(2) { border-right: 0; }
	.cb-service-stat:nth-child(1),
	.cb-service-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
	.cb-service-stat__value { font-size: 1.875rem; }
}

/* Section heads — eyebrow + title pair */
.cb-section__head { margin-bottom: 1.5rem; }
.cb-section__eyebrow {
	display: block;
	margin: 0 0 0.4rem;
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cb-gold-warm);
	font-weight: 700;
}
.cb-section__title--small { font-size: 1rem; font-family: var(--cb-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cb-text-soft); font-weight: 700; }

/* WHAT'S INCLUDED — 2x2 feature grid */
.cb-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.cb-feature {
	background: var(--cb-bone);
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	padding: 1.5rem 1.375rem 1.5rem;
	position: relative;
	overflow: hidden;
	transition: border-color 200ms var(--cb-ease), box-shadow 200ms var(--cb-ease), transform 200ms var(--cb-ease), background 200ms var(--cb-ease);
}
.cb-feature::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--cb-gold) 0%, var(--cb-gold-warm) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 280ms var(--cb-ease);
}
.cb-feature:hover {
	background: #fff;
	border-color: var(--cb-gold);
	box-shadow: 0 12px 28px rgba(10, 10, 10, 0.10);
	transform: translateY(-2px);
}
.cb-feature:hover::before { transform: scaleX(1); }
.cb-feature__icon {
	width: 44px; height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--cb-black);
	color: var(--cb-gold);
	border-radius: 10px;
	margin-bottom: 1rem;
}
.cb-feature__icon svg { width: 22px; height: 22px; }
.cb-feature__title {
	margin: 0 0 0.5rem;
	font-family: var(--cb-font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--cb-black);
	line-height: 1.25;
}
.cb-feature__body {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--cb-text-soft);
	line-height: 1.55;
}

@media (max-width: 720px) {
	.cb-feature-grid { grid-template-columns: 1fr; }
}

/* USE CASES — bullet list with bold title + body line */
.cb-use-case-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}
.cb-use-case {
	display: flex;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-left: 3px solid var(--cb-gold);
	border-radius: var(--cb-radius);
	transition: border-left-color 200ms var(--cb-ease), background 200ms var(--cb-ease);
}
.cb-use-case:hover {
	border-left-color: var(--cb-gold-warm);
	background: var(--cb-bone);
}
.cb-use-case__bullet {
	color: var(--cb-gold);
	font-weight: 800;
	flex-shrink: 0;
	font-size: 1.125rem;
	line-height: 1.4;
}
.cb-use-case__title {
	display: block;
	font-family: var(--cb-font-display);
	font-weight: 700;
	color: var(--cb-black);
	font-size: 1rem;
	line-height: 1.3;
	margin-bottom: 0.15rem;
}
.cb-use-case__body {
	display: block;
	font-size: 0.9375rem;
	color: var(--cb-text-soft);
	line-height: 1.5;
}

/* COMPLIANCE CHIPS — credential pills */
.cb-compliance-chips {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.cb-compliance-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	background: rgba(92, 122, 75, 0.10);
	border: 1px solid rgba(92, 122, 75, 0.28);
	border-radius: 999px;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	color: #3a5230;
	font-weight: 600;
	white-space: nowrap;
}
.cb-compliance-chip svg { color: var(--cb-olive); flex-shrink: 0; }

/* CTA BAND — full-width gold strip before footer */
.cb-service-cta-band {
	margin-top: 4rem;
	padding: 3.5rem 0;
	background:
		radial-gradient(ellipse 70% 100% at 100% 0%, rgba(242, 194, 0, 0.10) 0%, transparent 60%),
		linear-gradient(135deg, var(--cb-black) 0%, var(--cb-charcoal) 100%);
	color: var(--cb-bone);
	position: relative;
	overflow: hidden;
	border-top: 1px solid rgba(242, 194, 0, 0.22);
}
.cb-service-cta-band::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cb-gold), transparent);
	opacity: 0.7;
}
.cb-service-cta-band__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}
.cb-service-cta-band__eyebrow {
	font-family: var(--cb-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cb-gold);
	font-weight: 700;
	margin: 0 0 0.5rem;
}
.cb-service-cta-band__title {
	margin: 0;
	font-family: var(--cb-font-display);
	font-size: clamp(1.5rem, 2vw + 1rem, 2.125rem);
	font-weight: 700;
	color: var(--cb-bone);
	letter-spacing: -0.01em;
	line-height: 1.15;
	max-width: 720px;
}
.cb-service-cta-band__actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
}

@media (max-width: 760px) {
	.cb-service-cta-band__inner { flex-direction: column; align-items: flex-start; }
	.cb-service-cta-band { padding: 2.5rem 0; margin-top: 3rem; }
}

/* Aside — promote the Speak-with-Ops card */
.cb-aside-card--prominent {
	background: var(--cb-black);
	color: var(--cb-bone);
	border-color: var(--cb-black);
}
.cb-aside-card--prominent .cb-aside-card__eyebrow {
	display: block;
	margin: 0 0 0.4rem;
	font-family: var(--cb-font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-gold);
	font-weight: 700;
}
.cb-aside-card--prominent .cb-aside-card__title { color: var(--cb-bone); font-size: 1.0625rem; }
.cb-aside-card--prominent .cb-aside-card__body { color: rgba(245, 241, 232, 0.82); font-size: 0.875rem; line-height: 1.5; margin: 0 0 1rem; }
.cb-aside-card__list-sep { border-top: 1px dashed var(--cb-border); margin-top: 0.5rem; padding-top: 0.5rem; }

/* ----------------------------------------------------------------
 * BRAND LOCKUP — v1.8 header refinement
 *
 * Hide the wordmark text at the smallest viewports so the badge stays
 * tappable on phones. The badge alone is still unmistakably the brand
 * (badge is read aloud as "City Bay Security Services" via alt text).
 * ---------------------------------------------------------------- */
@media (max-width: 480px) {
	.cb-header .cb-lockup__words { display: none; }
}

/* Keep the lockup readable when the header is on the dark hero band. */
.cb-hero .cb-lockup__title,
.cb-section--dark .cb-header .cb-lockup__title { color: var(--cb-bone); }
.cb-hero .cb-lockup__sub,
.cb-section--dark .cb-header .cb-lockup__sub { color: var(--cb-gold); }

/* ----------------------------------------------------------------
 * HERO BACKGROUND IMAGE — v1.12 (reads Branding → Hero Image URL)
 *
 * Sits behind the brand atmosphere layers. The cb-hero__bg-scrim
 * darkens the image so the eyebrow + headline + lede stay readable
 * regardless of what's behind them.
 * ---------------------------------------------------------------- */
.cb-hero__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 0;
	opacity: 0.95;
	filter: saturate(1) brightness(0.92);
}
.cb-hero__bg-scrim {
	position: absolute;
	inset: 0;
	/* Layered scrim: subtle horizontal darken at top/bottom for navigation
	 * contrast and the trust-strip seam, plus a stronger left-side gradient
	 * where the headline copy sits. The image stays visible across the
	 * right half where the guard's portrait carries the composition. */
	background:
		linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.05) 22%, rgba(10, 10, 10, 0.05) 78%, rgba(10, 10, 10, 0.45) 100%),
		linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.5) 35%, rgba(10, 10, 10, 0.2) 65%, rgba(10, 10, 10, 0.1) 100%);
	z-index: 1;
}
/* When a hero image is present, push the existing atmosphere layers above it. */
.cb-hero__atmosphere .cb-hero__brass-glow,
.cb-hero__atmosphere .cb-hero__noise,
.cb-hero__atmosphere .cb-hero__skyline { z-index: 2; }
.cb-hero__inner { position: relative; z-index: 3; }

/* ────────────────────────────────────────────────────────────────
 * FULL-BLEED PAGE BAND DEFENSIVE OVERRIDES — v1.16
 *
 * Top-level page bands (header, hero, trust strip, breadcrumbs,
 * stats strip, section bands, CTA band, footer, main) must render
 * full-bleed edge-to-edge. The .cb-container inside each band
 * handles the centered 1200px content rail.
 *
 * These rules are !important to defend against:
 *   • WordPress global-styles CSS generated from theme.json
 *     `layout.contentSize` (especially when paired with
 *     appearanceTools: true), which can apply `max-width` to
 *     non-block content via .is-layout-constrained selectors.
 *   • Caching plugins (WP-Rocket, WP-Optimize, W3 Total Cache)
 *     that occasionally rewrite or inline CSS in surprising ways.
 *   • Security plugins (Wordfence, AIOS) that may wrap page output
 *     in wrappers with inherited max-width on certain URL patterns.
 *   • Future WP block-layout auto-generated rules that target main,
 *     header, footer, or section by default.
 *
 * The header.php opens <main id="main" class="cb-main"> after
 * </header>, and footer.php closes it. So every page's content
 * lives inside cb-main. We force cb-main and its direct children
 * (which include cb-hero, cb-trust, cb-breadcrumbs, cb-section, etc.)
 * to span the full viewport width.
 * ──────────────────────────────────────────────────────────────── */
body > .cb-header,
body > .cb-main,
body > .cb-footer,
body > .skip-link,
.cb-main,
.cb-main > section,
.cb-main > nav,
.cb-main > div:not(.cb-container),
.cb-hero,
.cb-trust,
.cb-breadcrumbs,
.cb-service-stats,
.cb-service-cta-band,
.cb-section,
.cb-footer {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Children of cb-main that are CONTAINERS (.cb-container) keep their
 * centered 1200px rail. The negation above (`:not(.cb-container)`)
 * lets us nuke the max-width on full-width bands while preserving
 * the centered-content behavior on intentionally-constrained rails. */
.cb-main > .cb-container,
.cb-main > .cb-container.cb-grid {
	max-width: var(--cb-container) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ────────────────────────────────────────────────────────────────
 * SERVICE PAGE — SOLO CONTENT LAYOUT (no sidebar) — v1.17
 *
 * When the service-page sidebar is disabled in Admin → City Bay →
 * Settings → General, the partial uses `.cb-service-content--solo`
 * instead of `.cb-grid--main-aside`. The article gets a centered
 * narrow column for comfortable reading line-length on long-form
 * service copy.
 * ──────────────────────────────────────────────────────────────── */
.cb-service-content--solo {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.cb-service-content--solo > .cb-service-page {
	max-width: var(--cb-container-narrow);
	margin: 0 auto;
}

/* ────────────────────────────────────────────────────────────────
 * HEADER ACTIONS — portal button + signed-in avatar dropdown — v1.18
 *
 * The header right-rail clusters two CTAs:
 *   1. PORTAL  — secondary, ghost-style. Logged-out: opens login
 *      modal. Logged-in: rendered as a circular gold-gradient avatar
 *      with the user's initial; click reveals a menu (Dashboard /
 *      Account / Sign out).
 *   2. REQUEST ASSESSMENT — primary, solid gold. Unchanged.
 *
 * Visual logic: the portal action is a sibling, never a competitor.
 * Outline-on-bone for logged-out, circle-on-bone for logged-in. Both
 * sit immediately left of the gold CTA, separated by a small gap.
 * ──────────────────────────────────────────────────────────────── */
.cb-header__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

/* ── Portal button (logged-out) ─────────────────────────────── */
.cb-header__portal {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.62rem 1rem;
	background: transparent;
	border: 1.5px solid rgba(10, 10, 10, 0.12);
	border-radius: 999px;
	color: var(--cb-text);
	font-family: var(--cb-font-body);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	white-space: nowrap;
}
.cb-header__portal:hover,
.cb-header__portal:focus-visible {
	background: var(--cb-black);
	border-color: var(--cb-black);
	color: var(--cb-gold);
	outline: none;
	transform: translateY(-1px);
}
.cb-header__portal-icon {
	flex-shrink: 0;
	color: var(--cb-gold-warm);
	transition: color 180ms ease;
}
.cb-header__portal:hover .cb-header__portal-icon,
.cb-header__portal:focus-visible .cb-header__portal-icon {
	color: var(--cb-gold);
}

/* ── Avatar button (logged-in) ───────────────────────────────── */
.cb-header__userwrap { position: relative; }
.cb-header__user {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.28rem 0.7rem 0.28rem 0.3rem;
	background: transparent;
	border: 1.5px solid rgba(10, 10, 10, 0.12);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.cb-header__user:hover,
.cb-header__user:focus-visible,
.cb-header__user[aria-expanded="true"] {
	border-color: var(--cb-black);
	background: rgba(10, 10, 10, 0.03);
	outline: none;
}
.cb-header__user-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--cb-gold) 0%, var(--cb-gold-warm) 100%);
	color: var(--cb-black);
	font-family: var(--cb-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(10, 10, 10, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.cb-header__user-caret {
	display: inline-flex;
	align-items: center;
	color: var(--cb-text-soft);
	transition: transform 200ms ease;
}
.cb-header__user[aria-expanded="true"] .cb-header__user-caret {
	transform: rotate(-180deg);
}

/* ── User menu dropdown ──────────────────────────────────────── */
.cb-header__usermenu {
	position: absolute;
	top: calc(100% + 0.6rem);
	right: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid rgba(10, 10, 10, 0.08);
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(10, 10, 10, 0.14), 0 2px 6px rgba(10, 10, 10, 0.06);
	padding: 0.45rem;
	z-index: 200;
	transform-origin: top right;
	animation: cb-usermenu-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cb-header__usermenu[hidden] { display: none; }
@keyframes cb-usermenu-in {
	from { opacity: 0; transform: scale(0.96) translateY(-4px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cb-header__usermenu-greet {
	padding: 0.7rem 0.85rem 0.85rem;
	border-bottom: 1px solid rgba(10, 10, 10, 0.06);
	margin-bottom: 0.35rem;
}
.cb-header__usermenu-eyebrow {
	display: block;
	font-family: var(--cb-font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	font-weight: 600;
	margin-bottom: 0.2rem;
}
.cb-header__usermenu-name {
	display: block;
	font-family: var(--cb-font-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--cb-black);
	line-height: 1.2;
}
.cb-header__usermenu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 0.85rem;
	color: var(--cb-text);
	text-decoration: none;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 140ms ease, color 140ms ease;
}
.cb-header__usermenu-link:hover,
.cb-header__usermenu-link:focus-visible {
	background: var(--cb-bone);
	color: var(--cb-black);
	outline: none;
}
.cb-header__usermenu-link--signout {
	color: var(--cb-red);
	margin-top: 0.35rem;
	padding-top: 0.7rem;
	border-top: 1px solid rgba(10, 10, 10, 0.06);
	border-radius: 0 0 8px 8px;
}
.cb-header__usermenu-link--signout:hover {
	background: rgba(178, 34, 52, 0.06);
	color: var(--cb-red);
}

/* ────────────────────────────────────────────────────────────────
 * PORTAL LOGIN MODAL — v1.18
 *
 * Layered visual: dark backdrop with backdrop-blur, centered card
 * with generous padding, gold-warm eyebrow, display-font headline,
 * mono-caps form labels, gold submit with hover lift. Focus ring
 * in --cb-gold at 0.2 alpha. Animated scale+fade on open/close.
 * ──────────────────────────────────────────────────────────────── */
.cb-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}
.cb-modal[aria-hidden="false"] {
	opacity: 1;
	pointer-events: auto;
}
.cb-modal[hidden] { display: none !important; }

.cb-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.72);
	-webkit-backdrop-filter: blur(8px) saturate(140%);
	backdrop-filter: blur(8px) saturate(140%);
}

.cb-modal__panel {
	position: relative;
	background: #fff;
	border-radius: 18px;
	max-width: 460px;
	width: 100%;
	padding: 2.25rem 2rem 1.75rem;
	box-shadow: 0 30px 90px rgba(10, 10, 10, 0.45), 0 6px 18px rgba(10, 10, 10, 0.2);
	transform: scale(0.94) translateY(12px);
	transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
}
.cb-modal[aria-hidden="false"] .cb-modal__panel {
	transform: scale(1) translateY(0);
}

.cb-modal__close {
	position: absolute;
	top: 0.9rem;
	right: 0.9rem;
	width: 36px;
	height: 36px;
	background: transparent;
	border: 0;
	color: var(--cb-text-soft);
	cursor: pointer;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 150ms ease, color 150ms ease;
}
.cb-modal__close:hover,
.cb-modal__close:focus-visible {
	background: var(--cb-bone);
	color: var(--cb-black);
	outline: none;
}

.cb-modal__head {
	margin: 0 0 1.35rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(10, 10, 10, 0.08);
	padding-right: 2.5rem; /* avoid overlap with close button */
}
.cb-modal__eyebrow {
	display: block;
	font-family: var(--cb-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cb-gold-warm);
	font-weight: 700;
	margin-bottom: 0.55rem;
}
.cb-modal__title {
	font-family: var(--cb-font-display);
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--cb-black);
	margin: 0 0 0.45rem;
	line-height: 1.12;
	letter-spacing: -0.01em;
}
.cb-modal__lead {
	margin: 0;
	color: var(--cb-text-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* Login form styling — overrides wp_login_form() output */
#cb-portal-modal-form { margin: 0; }
#cb-portal-modal-form > p { margin: 0 0 0.85rem; }
#cb-portal-modal-form label {
	display: block;
	font-family: var(--cb-font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--cb-text-soft);
	margin-bottom: 0.4rem;
}
#cb-portal-modal-form input[type="text"],
#cb-portal-modal-form input[type="password"],
#cb-portal-modal-form input.input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	border: 1.5px solid rgba(10, 10, 10, 0.14);
	border-radius: 10px;
	font-family: var(--cb-font-body);
	font-size: 0.95rem;
	background: #fff;
	color: var(--cb-text);
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
#cb-portal-modal-form input[type="text"]:hover,
#cb-portal-modal-form input[type="password"]:hover {
	border-color: rgba(10, 10, 10, 0.28);
}
#cb-portal-modal-form input[type="text"]:focus,
#cb-portal-modal-form input[type="password"]:focus {
	outline: none;
	border-color: var(--cb-gold-warm);
	box-shadow: 0 0 0 4px rgba(242, 194, 0, 0.18);
	background: #fffdf6;
}
#cb-portal-modal-form .login-remember {
	margin-top: 0.5rem;
}
#cb-portal-modal-form .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--cb-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--cb-text);
	cursor: pointer;
	margin: 0;
}
#cb-portal-modal-form .login-remember input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cb-gold-warm);
	cursor: pointer;
}
#cb-portal-modal-form .login-submit { margin: 1.35rem 0 0; }
#cb-portal-modal-form input[type="submit"],
#cb-portal-modal-form #cb-portal-submit {
	width: 100%;
	padding: 0.9rem 1rem;
	background: var(--cb-gold);
	color: var(--cb-black);
	border: 0;
	border-radius: 10px;
	font-family: var(--cb-font-body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	box-shadow: 0 1px 0 var(--cb-gold-warm), 0 4px 14px rgba(242, 194, 0, 0.28);
}
#cb-portal-modal-form input[type="submit"]:hover,
#cb-portal-modal-form #cb-portal-submit:hover {
	background: var(--cb-gold-warm);
	transform: translateY(-1px);
	box-shadow: 0 2px 0 rgba(212, 165, 42, 0.6), 0 6px 18px rgba(242, 194, 0, 0.32);
}
#cb-portal-modal-form input[type="submit"]:active,
#cb-portal-modal-form #cb-portal-submit:active {
	transform: translateY(0);
	box-shadow: 0 1px 0 var(--cb-gold-warm), 0 2px 8px rgba(242, 194, 0, 0.22);
}
#cb-portal-modal-form input[type="submit"]:focus-visible,
#cb-portal-modal-form #cb-portal-submit:focus-visible {
	outline: none;
	box-shadow: 0 1px 0 var(--cb-gold-warm), 0 4px 14px rgba(242, 194, 0, 0.28), 0 0 0 4px rgba(242, 194, 0, 0.35);
}

.cb-modal__foot {
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(10, 10, 10, 0.08);
	text-align: center;
	font-size: 0.825rem;
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	color: var(--cb-text-soft);
}
.cb-modal__foot-link {
	color: var(--cb-text-soft);
	text-decoration: none;
	transition: color 150ms ease;
	font-weight: 500;
}
.cb-modal__foot-link:hover,
.cb-modal__foot-link:focus-visible {
	color: var(--cb-black);
	outline: none;
}
.cb-modal__foot-sep { opacity: 0.4; }

/* Body scroll lock while modal open */
body.cb-modal-open { overflow: hidden; }

/* ── Mobile responsive — collapse Portal into nav menu drawer ─── */
@media (max-width: 880px) {
	.cb-header__portal span:not(.screen-reader-text) {
		display: none; /* icon-only on mobile to save space */
	}
	.cb-header__portal {
		padding: 0.55rem 0.7rem;
		gap: 0;
	}
	.cb-modal__panel {
		padding: 1.85rem 1.5rem 1.5rem;
		border-radius: 14px;
	}
	.cb-modal__title { font-size: 1.45rem; }
}

/* ────────────────────────────────────────────────────────────────
 * SERVICES OVERVIEW PAGE — v1.19
 *
 * Three new section types beyond the hero/trust/breadcrumbs base:
 *   .cb-services-approach     — 3-up philosophy pillars under the hero
 *   .cb-services-grid-section — 6 service cards (.cb-svc-card) on mist
 *   .cb-services-why          — 4-up data-point differentiators
 *
 * The service cards are the marquee element: index number paired with
 * a gold-tinted icon tile at the top, mono-caps tag, display-font
 * heading, deliverable bullets with gold checkmarks, and a "Learn more"
 * affordance that animates its arrow on card hover.
 * ──────────────────────────────────────────────────────────────── */

/* ── Approach pillars (white band under hero) ───────────────── */
.cb-services-approach {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
	background: #fff;
}
.cb-services-approach__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(1.5rem, 4vw, 2.75rem);
	max-width: 1080px;
	margin: 0 auto;
}
.cb-services-approach__pillar {
	position: relative;
	padding-top: 1.25rem;
	border-top: 2px solid var(--cb-black);
}
.cb-services-approach__num {
	display: block;
	font-family: var(--cb-font-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--cb-gold-warm);
	margin-bottom: 0.85rem;
}
.cb-services-approach__h {
	font-family: var(--cb-font-display);
	font-size: clamp(1.25rem, 2vw, 1.45rem);
	font-weight: 600;
	color: var(--cb-black);
	margin: 0 0 0.55rem;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
.cb-services-approach__p {
	margin: 0;
	color: var(--cb-text-soft);
	font-size: 0.93rem;
	line-height: 1.6;
}

/* ── Services grid section ──────────────────────────────────── */
.cb-services-grid-section {
	padding: clamp(3rem, 7vw, 5rem) 0;
}
.cb-services-grid-header {
	max-width: 720px;
	margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
	text-align: center;
}
.cb-services-grid-header .cb-section__eyebrow {
	color: var(--cb-gold-warm);
}

.cb-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* ── Service card (.cb-svc-card) ────────────────────────────── */
.cb-svc-card {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	padding: 1.65rem 1.5rem 1.5rem;
	background: #fff;
	border: 1px solid rgba(10, 10, 10, 0.08);
	border-radius: 14px;
	text-decoration: none;
	color: var(--cb-text);
	position: relative;
	overflow: hidden;
	transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, border-color 220ms ease;
}
.cb-svc-card::before {
	/* Gold accent strip that swipes in along the top edge on hover */
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--cb-gold) 0%, var(--cb-gold-warm) 100%);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cb-svc-card:hover,
.cb-svc-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px rgba(10, 10, 10, 0.1), 0 4px 12px rgba(10, 10, 10, 0.05);
	border-color: rgba(10, 10, 10, 0.16);
	outline: none;
}
.cb-svc-card:hover::before,
.cb-svc-card:focus-visible::before {
	transform: scaleX(1);
}

.cb-svc-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}
.cb-svc-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(242, 194, 0, 0.14) 0%, rgba(242, 194, 0, 0.03) 100%);
	border: 1px solid rgba(242, 194, 0, 0.28);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--cb-gold-warm);
	transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.cb-svc-card:hover .cb-svc-card__icon,
.cb-svc-card:focus-visible .cb-svc-card__icon {
	background: linear-gradient(135deg, rgba(242, 194, 0, 0.26) 0%, rgba(242, 194, 0, 0.08) 100%);
	border-color: var(--cb-gold);
	color: var(--cb-gold);
}
.cb-svc-card__icon svg {
	width: 26px;
	height: 26px;
}
.cb-svc-card__num {
	font-family: var(--cb-font-display);
	font-size: 1.85rem;
	font-weight: 400;
	color: rgba(10, 10, 10, 0.12);
	line-height: 1;
	letter-spacing: -0.02em;
	transition: color 220ms ease;
}
.cb-svc-card:hover .cb-svc-card__num,
.cb-svc-card:focus-visible .cb-svc-card__num {
	color: rgba(10, 10, 10, 0.28);
}
.cb-svc-card__tag {
	font-family: var(--cb-font-mono);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-text-soft);
	margin: 0;
}
.cb-svc-card__title {
	font-family: var(--cb-font-display);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--cb-black);
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
.cb-svc-card__body {
	margin: 0;
	color: var(--cb-text-soft);
	font-size: 0.92rem;
	line-height: 1.55;
}
.cb-svc-card__bullets {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}
.cb-svc-card__bullets li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--cb-text);
}
.cb-svc-card__bullets li::before {
	/* Custom gold checkmark — drawn as borders so it scales cleanly with text */
	content: '';
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 14px;
	height: 7px;
	border-left: 2px solid var(--cb-gold-warm);
	border-bottom: 2px solid var(--cb-gold-warm);
	transform: rotate(-45deg);
	transform-origin: bottom left;
}
.cb-svc-card__cta {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(10, 10, 10, 0.06);
	font-family: var(--cb-font-body);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--cb-black);
	letter-spacing: 0.01em;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}
.cb-svc-card__cta span {
	display: inline-block;
	transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cb-svc-card:hover .cb-svc-card__cta,
.cb-svc-card:focus-visible .cb-svc-card__cta {
	color: var(--cb-gold-warm);
}
.cb-svc-card:hover .cb-svc-card__cta span,
.cb-svc-card:focus-visible .cb-svc-card__cta span {
	transform: translateX(4px);
}

/* ── Why City Bay strip ─────────────────────────────────────── */
.cb-services-why {
	padding: clamp(3.5rem, 7vw, 5.5rem) 0;
	background: var(--cb-black);
	color: var(--cb-bone);
	position: relative;
	overflow: hidden;
}
.cb-services-why::before {
	/* Subtle radial gold glow at top-right corner for atmosphere */
	content: '';
	position: absolute;
	top: -30%;
	right: -10%;
	width: 60%;
	height: 90%;
	background: radial-gradient(ellipse at center, rgba(242, 194, 0, 0.08) 0%, transparent 60%);
	pointer-events: none;
}
.cb-services-why__header {
	max-width: 720px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	position: relative;
}
.cb-services-why__header .cb-section__eyebrow {
	color: var(--cb-gold);
}
.cb-services-why__header .cb-section__title {
	color: var(--cb-bone);
}
.cb-services-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.25rem);
	position: relative;
}
.cb-services-why__stat {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.5rem 1.4rem 1.6rem;
	background: rgba(245, 241, 232, 0.04);
	border: 1px solid rgba(245, 241, 232, 0.1);
	border-radius: 12px;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	transition: background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cb-services-why__stat:hover {
	background: rgba(245, 241, 232, 0.07);
	border-color: rgba(242, 194, 0, 0.45);
	transform: translateY(-3px);
}
.cb-services-why__value {
	font-family: var(--cb-font-display);
	font-size: clamp(2.1rem, 4vw, 2.85rem);
	font-weight: 600;
	color: var(--cb-gold);
	line-height: 1;
	letter-spacing: -0.02em;
}
.cb-services-why__label {
	font-family: var(--cb-font-mono);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-bone);
	margin-top: 0.4rem;
}
.cb-services-why__note {
	font-size: 0.85rem;
	line-height: 1.55;
	color: rgba(245, 241, 232, 0.72);
	margin-top: 0.2rem;
}

/* ── Services-page CTA band variant — extra lede line ──────── */
.cb-service-cta-band--services .cb-service-cta-band__lede {
	margin: 0.55rem 0 0;
	color: rgba(245, 241, 232, 0.78);
	font-size: 0.95rem;
	line-height: 1.55;
	max-width: 42ch;
}

/* ────────────────────────────────────────────────────────────────
 * FOOTER NEWSLETTER FORM — v1.21
 *
 * Sits inside the dark .cb-footer band. Designed as an inline email +
 * button pair on desktop (flex row with the input growing to fill
 * available space), stacking to a column on narrow mobile. The input
 * uses the same 8px brand radius as every other form field on the
 * site (--cb-radius), gets a translucent-light fill that reads on the
 * dark footer, and lights up with the brand gold focus ring exactly
 * the way the contact form inputs do.
 *
 * v1.20 and earlier shipped no rules whatsoever for this form, so
 * the input rendered with default browser styling (square corners,
 * no padding rhythm with the Subscribe button).
 * ──────────────────────────────────────────────────────────────── */
.cb-form--newsletter {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: stretch;
}
.cb-form--newsletter input[type="text"],
.cb-form--newsletter input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
	padding: 0.78rem 1rem;
	font-family: var(--cb-font-body);
	font-size: 0.95rem;
	line-height: 1.4;
	color: var(--cb-bone);
	background: rgba(245, 241, 232, 0.06);
	border: 1.5px solid rgba(245, 241, 232, 0.18);
	border-radius: var(--cb-radius);
	transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
	-webkit-appearance: none;
	appearance: none;
}
.cb-form--newsletter input[type="text"]::placeholder,
.cb-form--newsletter input[type="email"]::placeholder {
	color: rgba(245, 241, 232, 0.45);
}
.cb-form--newsletter input[type="text"]:hover,
.cb-form--newsletter input[type="email"]:hover {
	border-color: rgba(245, 241, 232, 0.32);
	background: rgba(245, 241, 232, 0.08);
}
.cb-form--newsletter input[type="text"]:focus,
.cb-form--newsletter input[type="email"]:focus {
	outline: none;
	border-color: var(--cb-gold);
	background: rgba(245, 241, 232, 0.1);
	box-shadow: 0 0 0 3px rgba(242, 194, 0, 0.22);
	color: #fff;
}
.cb-form--newsletter .cb-btn,
.cb-form--newsletter button[type="submit"] {
	border-radius: var(--cb-radius);
	padding: 0.78rem 1.35rem;
	flex-shrink: 0;
	white-space: nowrap;
}
.cb-form--newsletter .cb-form__status {
	flex-basis: 100%;
	min-height: 0;
	font-size: 0.825rem;
	color: rgba(245, 241, 232, 0.78);
	margin-top: 0.35rem;
}
.cb-form--newsletter .cb-form__status:empty { display: none; }

/* Narrow mobile: stack input above button so both have room to breathe */
@media (max-width: 480px) {
	.cb-form--newsletter { flex-direction: column; }
	.cb-form--newsletter .cb-btn,
	.cb-form--newsletter button[type="submit"] { width: 100%; }
}

/* ────────────────────────────────────────────────────────────────
 * SUPERVISOR PORTAL — UNCONFIGURED CAMERA PLACEHOLDER — v1.22
 *
 * For each camera tile whose chosen transport has no usable URL the
 * supervisor sees an animated "no signal" state instead of a flat
 * black panel. Three stacked layers:
 *
 *   .cb-camera__snow      — full-bleed canvas painted with CRT static
 *                            at ~13fps by inline JS. Pauses when the
 *                            tab is hidden or prefers-reduced-motion
 *                            is on.
 *   .cb-camera__emblem    — centered rotating City Bay badge. Pure
 *                            CSS keyframe animation so it runs even
 *                            when JS is off.
 *   .cb-camera__nosignal  — diagnostic text + camera glyph centered
 *                            below the emblem.
 *
 * Plus a dedicated badge style for "Not Configured" that gently
 * blinks to signal an actionable state — the operator should
 * configure a stream for that tile.
 * ──────────────────────────────────────────────────────────────── */

.cb-camera__placeholder--unconfigured {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background:
		radial-gradient( ellipse 80% 60% at 50% 45%, #1a1a22 0%, #0a0a0a 70% );
	display: grid;
	place-items: center;
}

/* CRT static layer */
.cb-camera__snow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	mix-blend-mode: screen;
	opacity: 0.55;
	pointer-events: none;
	/* Fallback noise pattern using SVG turbulence — visible if JS
	 * doesn't paint or before the first JS paint completes. Looks
	 * static but better than a flat surface. */
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.7  0 0 0 0 0.7  0 0 0 0.4 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
	background-size: 200px 200px;
}

/* The actual City Bay shield logo, sized into the upper-center of the
 * placeholder. Sways like a real badge hanging from a hook: pivot is
 * pulled near the top edge of the image so the bottom of the badge
 * traces a wider arc than the top, matching real pendulum geometry.
 * The CSS drop-shadow stack adds a warm gold halo plus a tight black
 * edge so the badge reads cleanly against both the dark gradient and
 * the moving snow behind it. */
.cb-camera__emblem {
	position: relative;
	width: clamp(72px, 26%, 108px);
	height: auto;
	margin-bottom: 0.55rem;
	filter:
		drop-shadow(0 6px 18px rgba(242, 194, 0, 0.34))
		drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
	animation: cbCameraEmblemSway 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
	/* Pivot near the top center — the badge "hangs" from this point.
	 * 50% horizontal, 12% from the top: the bottom of the shield
	 * traces a satisfying arc; the top barely moves. */
	transform-origin: 50% 12%;
	z-index: 2;
	user-select: none;
	-webkit-user-drag: none;
}

@keyframes cbCameraEmblemSway {
	/* Single keyframe pair + animation-direction: alternate gives a
	 * smooth pendulum: -6° → +6° → -6° → … with the cubic-bezier
	 * ease curve slowing the motion at each extreme (like a real
	 * pendulum momentarily stopping to reverse). */
	from { transform: rotate(-6deg); }
	to   { transform: rotate( 6deg); }
}

/* Stagger the start of each tile's sway across the 3.2s cycle so the
 * grid doesn't move in lockstep. Five distinct phase offsets cycling
 * every five cameras — the 5-step period is co-prime to any reasonable
 * grid column count (1, 2, 3, 4), so no obvious visual pattern emerges
 * regardless of viewport width. Negative delays start the animation
 * mid-cycle on first paint, so no tile begins all-the-way to one side. */
.cb-camera:nth-child(5n+1) .cb-camera__emblem { animation-delay: -0.1s; }
.cb-camera:nth-child(5n+2) .cb-camera__emblem { animation-delay: -1.4s; }
.cb-camera:nth-child(5n+3) .cb-camera__emblem { animation-delay: -2.7s; }
.cb-camera:nth-child(5n+4) .cb-camera__emblem { animation-delay: -0.8s; }
.cb-camera:nth-child(5n+5) .cb-camera__emblem { animation-delay: -2.0s; }

/* Nosignal text + camera glyph */
.cb-camera__nosignal {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.5rem;
	color: rgba(245, 241, 232, 0.8);
	pointer-events: none;
}
.cb-camera__nosignal-icon {
	width: 22px;
	height: 22px;
	color: rgba(242, 194, 0, 0.7);
	opacity: 0.85;
}
.cb-camera__nosignal-text {
	font-family: var(--cb-font-mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(245, 241, 232, 0.7);
}

/* "Not Configured" badge — gently blinks to mark the tile as
 * needing operator attention without becoming visually noisy. */
.cb-camera__badge--unconfigured {
	background: rgba(242, 194, 0, 0.12);
	color: var(--cb-gold);
	border: 1px solid rgba(242, 194, 0, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.25rem 0.55rem;
	border-radius: 4px;
	font-family: var(--cb-font-mono);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	animation: cbCameraBadgeBlink 1.8s ease-in-out infinite;
}
.cb-camera__badge--unconfigured .cb-camera__badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cb-gold);
	box-shadow: 0 0 6px rgba(242, 194, 0, 0.9);
	animation: cbCameraBadgeDotPulse 1.8s ease-in-out infinite;
}

@keyframes cbCameraBadgeBlink {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.5; }
}
@keyframes cbCameraBadgeDotPulse {
	0%, 100% { transform: scale(1);   box-shadow: 0 0 6px  rgba(242, 194, 0, 0.9); }
	50%      { transform: scale(1.4); box-shadow: 0 0 12px rgba(242, 194, 0, 0.6); }
}

/* Accessibility: respect reduced-motion preference. The user
 * still sees the noise + emblem + text, but nothing spins or
 * blinks. The fallback SVG noise background remains (static)
 * since it's already non-animated. */
@media (prefers-reduced-motion: reduce) {
	.cb-camera__emblem,
	.cb-camera__badge--unconfigured,
	.cb-camera__badge--unconfigured .cb-camera__badge-dot {
		animation: none !important;
	}
}

/* ════════════════════════════════════════════════════════════════
 * WALL VIEW — OPS-CENTER CAMERA OVERLAY — v1.23
 *
 * Full-screen overlay that lets a supervisor pull the live camera
 * grid into an immersive monitoring surface. Four density modes
 * (1 / 3 / 6 / 9 tiles visible), browser-fullscreen support for
 * wall-mounted monitors, click-to-zoom on any tile, and a
 * keyboard-driven workflow tuned for ops-center muscle memory.
 *
 * Atmosphere: pure black background with sharp gold accents and
 * mono-caps labels — deliberately distinct from the warm-light
 * dashboard so entering the overlay feels like switching modes.
 * ════════════════════════════════════════════════════════════════ */

/* ── Section head with action — accommodates the Wall View button ─ */
.cb-supervisor__section-head--with-action {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

.cb-wall-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.95rem;
	background: transparent;
	border: 1px solid rgba(10, 10, 10, 0.16);
	border-radius: 8px;
	font-family: var(--cb-font-body);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--cb-text);
	cursor: pointer;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	white-space: nowrap;
	flex-shrink: 0;
}
.cb-wall-trigger:hover,
.cb-wall-trigger:focus-visible {
	background: var(--cb-black);
	border-color: var(--cb-black);
	color: var(--cb-gold);
	outline: none;
	transform: translateY(-1px);
}
.cb-wall-trigger svg {
	width: 16px;
	height: 16px;
}

/* ── Per-tile expand affordance ──────────────────────────────────
 * Sits in the top-right INSIDE the stage (overlaying the video
 * content), opposite the cb-camera__badge in the header. Reveals
 * on hover so it doesn't compete with the badge for attention. */
.cb-camera__expand {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	z-index: 4;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: rgba(10, 10, 10, 0.55);
	border: 1px solid rgba(245, 241, 232, 0.18);
	border-radius: 6px;
	color: rgba(245, 241, 232, 0.85);
	cursor: pointer;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.cb-camera__expand svg {
	width: 14px;
	height: 14px;
}
.cb-camera:hover .cb-camera__expand,
.cb-camera:focus-within .cb-camera__expand,
.cb-camera__expand:focus-visible {
	opacity: 1;
	transform: translateY(0);
}
.cb-camera__expand:hover,
.cb-camera__expand:focus-visible {
	background: var(--cb-gold);
	border-color: var(--cb-gold);
	color: var(--cb-black);
	outline: none;
}
/* The expand button sits above the badge spatially, so the camera
 * head needs a touch more right padding to keep the badge clear of
 * the expand button on hover. */
.cb-camera:hover .cb-camera__head .cb-camera__badge,
.cb-camera:focus-within .cb-camera__head .cb-camera__badge {
	padding-right: 0.55rem;
}

/* ── Wall overlay shell ─────────────────────────────────────────── */
.cb-wall[hidden] { display: none !important; }
.cb-wall {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background:
		radial-gradient(ellipse 70% 50% at 50% 0%, rgba(242, 194, 0, 0.05) 0%, transparent 60%),
		linear-gradient(180deg, #0c0c12 0%, #050507 100%);
	color: var(--cb-bone);
	display: flex;
	flex-direction: column;
	animation: cbWallFade 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cb-wall:focus { outline: none; }

@keyframes cbWallFade {
	from { opacity: 0; transform: scale(0.985); }
	to   { opacity: 1; transform: scale(1); }
}

/* Body lock — prevent dashboard scrolling under the overlay */
html.cb-wall-open,
body.cb-wall-open { overflow: hidden; }

/* ── Top bar ────────────────────────────────────────────────────── */
.cb-wall__bar {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.85rem 1.25rem;
	background: rgba(10, 10, 10, 0.7);
	border-bottom: 1px solid rgba(245, 241, 232, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.cb-wall__lead {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}
.cb-wall__brand {
	width: 38px;
	height: auto;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 6px rgba(242, 194, 0, 0.25));
}
.cb-wall__lead-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}
.cb-wall__title {
	font-family: var(--cb-font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--cb-bone);
	line-height: 1.1;
	letter-spacing: -0.005em;
}
.cb-wall__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--cb-font-mono);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(245, 241, 232, 0.55);
}
.cb-wall__meta-sep { color: rgba(245, 241, 232, 0.3); }
.cb-wall__clock { color: var(--cb-gold); }

/* ── Controls (layout pills + icon buttons) ─────────────────────── */
.cb-wall__controls {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-shrink: 0;
}

.cb-wall__layout-group {
	display: inline-flex;
	background: rgba(245, 241, 232, 0.06);
	border: 1px solid rgba(245, 241, 232, 0.12);
	border-radius: 8px;
	padding: 3px;
	gap: 2px;
}
.cb-wall__layout-btn {
	min-width: 34px;
	padding: 0.4rem 0.65rem;
	background: transparent;
	border: 0;
	border-radius: 5px;
	font-family: var(--cb-font-mono);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(245, 241, 232, 0.72);
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.cb-wall__layout-btn:hover,
.cb-wall__layout-btn:focus-visible {
	color: var(--cb-bone);
	background: rgba(245, 241, 232, 0.06);
	outline: none;
}
.cb-wall__layout-btn.is-active {
	background: var(--cb-gold);
	color: var(--cb-black);
	box-shadow: 0 1px 0 var(--cb-gold-warm);
}

.cb-wall__icon-btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(245, 241, 232, 0.06);
	border: 1px solid rgba(245, 241, 232, 0.12);
	border-radius: 8px;
	color: rgba(245, 241, 232, 0.85);
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.cb-wall__icon-btn:hover,
.cb-wall__icon-btn:focus-visible {
	background: rgba(245, 241, 232, 0.1);
	border-color: rgba(242, 194, 0, 0.5);
	color: var(--cb-gold);
	outline: none;
	transform: translateY(-1px);
}
.cb-wall__icon-btn--close:hover,
.cb-wall__icon-btn--close:focus-visible {
	background: rgba(178, 34, 52, 0.18);
	border-color: rgba(178, 34, 52, 0.55);
	color: #ffb3bb;
}
.cb-wall__icon-btn svg { width: 16px; height: 16px; }

/* Toggle the two fullscreen icons based on actual state */
.cb-wall__icon--fs-exit { display: none; }
.cb-wall--fullscreen .cb-wall__icon--fs-enter { display: none; }
.cb-wall--fullscreen .cb-wall__icon--fs-exit  { display: block; }

/* ── Grid ───────────────────────────────────────────────────────── */
.cb-wall__grid {
	flex: 1;
	display: grid;
	gap: 8px;
	padding: 8px;
	min-height: 0;
	min-width: 0;
}

.cb-wall--layout-1 { grid-template: "a" / 1fr; }
.cb-wall--layout-3 {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
}
.cb-wall--layout-3 > .cb-wall__tile:first-child {
	grid-row: 1 / span 2;
}
.cb-wall--layout-6 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
}
.cb-wall--layout-9 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
}

@media (max-width: 768px) {
	.cb-wall--layout-3,
	.cb-wall--layout-6,
	.cb-wall--layout-9 {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 1fr;
	}
	.cb-wall--layout-3 > .cb-wall__tile:first-child { grid-row: auto; grid-column: span 2; }
}

/* ── Wall tile ──────────────────────────────────────────────────── */
.cb-wall__tile {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: #0a0a0a;
	border: 1px solid rgba(245, 241, 232, 0.08);
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	min-height: 0;
	min-width: 0;
}
.cb-wall--layout-1 .cb-wall__tile { cursor: default; }
.cb-wall__tile:hover {
	border-color: rgba(242, 194, 0, 0.45);
	box-shadow: 0 0 0 2px rgba(242, 194, 0, 0.18);
}
.cb-wall--layout-1 .cb-wall__tile:hover {
	border-color: rgba(245, 241, 232, 0.08);
	box-shadow: none;
}

.cb-wall__tile-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.55rem 0.75rem;
	color: var(--cb-bone);
}
.cb-wall__tile-name {
	font-family: var(--cb-font-display);
	font-size: 0.88rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cb-wall__tile-site {
	font-family: var(--cb-font-mono);
	font-size: 0.58rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(245, 241, 232, 0.55);
	margin: 0.12rem 0 0;
}

.cb-wall__tile .cb-camera__stage {
	border-radius: 0; /* the tile owns the rounding */
	aspect-ratio: auto;
	height: 100%;
	min-height: 0;
}

.cb-wall__tile-foot {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	font-size: 0.72rem;
	color: rgba(245, 241, 232, 0.55);
	border-top: 1px solid rgba(245, 241, 232, 0.06);
}
.cb-wall__tile-foot svg { color: rgba(242, 194, 0, 0.7); flex-shrink: 0; }
.cb-wall__tile-foot span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* In 6-up and 9-up the tile chrome gets cramped — shrink type
 * proportionally so the video has maximum real estate. */
.cb-wall--layout-9 .cb-wall__tile-head,
.cb-wall--layout-9 .cb-wall__tile-foot { padding: 0.4rem 0.6rem; }
.cb-wall--layout-9 .cb-wall__tile-name { font-size: 0.78rem; }
.cb-wall--layout-9 .cb-wall__tile-site { font-size: 0.54rem; }
.cb-wall--layout-9 .cb-camera__emblem  { width: clamp(48px, 18%, 80px); }
.cb-wall--layout-9 .cb-camera__nosignal-text { font-size: 0.58rem; }

/* In 1-up the emblem can breathe much larger. */
.cb-wall--layout-1 .cb-camera__emblem { width: clamp(120px, 14%, 200px); margin-bottom: 1.25rem; }
.cb-wall--layout-1 .cb-camera__nosignal-text { font-size: 0.85rem; letter-spacing: 0.3em; }
.cb-wall--layout-1 .cb-camera__nosignal-icon { width: 28px; height: 28px; }
.cb-wall--layout-1 .cb-wall__tile-name { font-size: 1.05rem; }
.cb-wall--layout-1 .cb-wall__tile-head,
.cb-wall--layout-1 .cb-wall__tile-foot { padding: 0.85rem 1.1rem; }

/* Video/iframe inside wall tiles needs to fill the stage */
.cb-wall__tile .cb-camera__video,
.cb-wall__tile .cb-camera__iframe,
.cb-wall__tile .cb-camera__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	border: 0;
	display: block;
}

/* ── Footer hint strip ──────────────────────────────────────────── */
.cb-wall__hint {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem;
	background: rgba(10, 10, 10, 0.45);
	border-top: 1px solid rgba(245, 241, 232, 0.05);
	font-family: var(--cb-font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(245, 241, 232, 0.4);
}
.cb-wall__hint kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	padding: 0.15rem 0.4rem;
	background: rgba(245, 241, 232, 0.06);
	border: 1px solid rgba(245, 241, 232, 0.14);
	border-radius: 4px;
	font-family: var(--cb-font-mono);
	font-size: 0.65rem;
	font-weight: 700;
	color: rgba(245, 241, 232, 0.75);
}
.cb-wall__hint-sep { margin-right: 0.5rem; padding-left: 0.15rem; }
@media (max-width: 640px) {
	.cb-wall__hint { display: none; } /* keyboard shortcuts irrelevant on touch */
}

/* ── Browser fullscreen tweaks — soften the corners for the
 *     overlay container, hide the trigger that's now redundant.    */
.cb-wall:fullscreen {
	background:
		radial-gradient(ellipse 70% 50% at 50% 0%, rgba(242, 194, 0, 0.04) 0%, transparent 60%),
		#000;
}
.cb-wall:fullscreen .cb-wall__hint { display: none; }

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.cb-wall { animation: none; }
	.cb-wall-trigger,
	.cb-wall__icon-btn,
	.cb-wall__layout-btn,
	.cb-wall__tile,
	.cb-camera__expand { transition: none; }
}
