/* ==========================================================================
   Carla Bostock — Design System
   Source of truth: Style Guide PDF
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Design Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Dark tones */
	--ink:       #1C1B19;
	--charcoal:  #262523;
	--text:      #3E3C38;
	--text-mid:  #646158;
	--text-soft: #928F87;

	/* Accent tones */
	--clay:      #9A7E64;
	--clay-light:#E6E1D9;
	--clay-pale: #D9CBB8;
	--sage:      #6E7A62;
	--sage-soft: #B8C4A8;

	/* Backgrounds */
	--bg:        #F8F7F4;
	--bg-warm:   #F0EDE7 ;
	--bg-white: #F8EDE7;
	--bg-deep:   #E6E1D9;
	--border:    rgba(0, 0, 0, 0.06);

	/* Typography */
	--serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--sans:  'Outfit', system-ui, -apple-system, sans-serif;

	/* Animation */
	--ease:      cubic-bezier(0.22, 1, 0.36, 1);
	--ease-std:  ease;

	/* Spacing */
	--section-lg: 130px;
	--section-md: 120px;
	--section-sm:  86px;

	/* Border radius */
	--radius-btn:     5px;
	--radius-img:     6px;
	--radius-card:    8px;
	--radius-book:   10px;

	/* Container */
	--container-max: 1200px;
	--body-max:       600px;
}

/* --------------------------------------------------------------------------
   01b. Bootstrap Variable Overrides — Brand Theme
   -------------------------------------------------------------------------- */
:root {
	/* Map brand tokens to Bootstrap variables */
	--bs-font-sans-serif:    'Outfit', system-ui, -apple-system, sans-serif;
	--bs-font-serif:         'Source Serif 4', Georgia, serif;

	--bs-primary:            #9A7E64;
	--bs-primary-rgb:        154, 126, 100;
	--bs-secondary:          #6E7A62;
	--bs-secondary-rgb:      110, 122, 98;
	--bs-dark:               #262523;
	--bs-dark-rgb:           38, 37, 35;
	--bs-body-color:         #3E3C38;
	--bs-body-bg:            #F8F7F4;
	--bs-link-color:         #9A7E64;
	--bs-link-color-rgb:     154, 126, 100;
	--bs-link-hover-color:   #7a6350;

	--bs-border-radius:      4px;
	--bs-border-radius-lg:   6px;
	--bs-border-radius-sm:   4px;
	--bs-border-color:       rgba(0, 0, 0, 0.06);

	/* Button base */
	--bs-btn-font-family:    var(--sans);
	--bs-btn-font-size:      14px;
	--bs-btn-font-weight:    500;
	--bs-btn-letter-spacing: 0.01em;
	--bs-btn-padding-x:      2.25rem;
	--bs-btn-padding-y:      1rem;
}

/* Remove blue focus rings — mouse clicks get no outline; keyboard nav gets brand ring */
*:focus                  { outline: none; }
*:focus-visible          { outline: 2px solid var(--clay); outline-offset: 3px; }
*:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* Strip Bootstrap's blue box-shadow focus ring from all interactive elements */
.btn:focus,
.btn:focus-visible,
.nav-link:focus,
.nav-link:focus-visible,
.dropdown-item:focus,
.dropdown-item:focus-visible,
.form-control:focus,
.navbar-toggler:focus {
	box-shadow: none;
}

/* Primary button (clay) */
.btn-primary {
	--bs-btn-bg:              #9A7E64;
	--bs-btn-border-color:    #9A7E64;
	--bs-btn-color:           #fff;
	--bs-btn-hover-bg:        #7a6350;
	--bs-btn-hover-border-color: #7a6350;
	--bs-btn-hover-color:     #fff;
	--bs-btn-active-bg:       #7a6350;
	--bs-btn-active-border-color: #7a6350;
}

/* Dark button (charcoal) — maps to existing cb-btn--primary */
.btn-dark {
	--bs-btn-bg:              #262523;
	--bs-btn-border-color:    #262523;
	--bs-btn-hover-bg:        #1C1B19;
	--bs-btn-hover-border-color: #1C1B19;
}

/* Outline primary button */
.btn-outline-primary {
	--bs-btn-color:           #9A7E64;
	--bs-btn-border-color:    #9A7E64;
	--bs-btn-hover-bg:        #9A7E64;
	--bs-btn-hover-border-color: #9A7E64;
	--bs-btn-hover-color:     #fff;
	--bs-btn-active-bg:       #7a6350;
}

/* Light outline (for dark backgrounds) */
.btn-outline-light {
	--bs-btn-color:           rgba(255, 255, 255, 0.80);
	--bs-btn-border-color:    rgba(255, 255, 255, 0.30);
	--bs-btn-hover-bg:        rgba(255, 255, 255, 0.10);
	--bs-btn-hover-border-color: rgba(255, 255, 255, 0.50);
	--bs-btn-hover-color:     #fff;
}

/* Shared button transition */
.btn {
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
	            box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
	            background-color 0.2s ease,
	            color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { --bs-btn-padding-x: 2.75rem; --bs-btn-padding-y: 1.2rem; font-size: 15px; }

/* --------------------------------------------------------------------------
   02. Base & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-optical-sizing: auto;
	scroll-behavior: smooth;
}

body {
	font-family:      var(--sans);
	font-weight:      300;
	font-size:        15px;
	line-height:      1.85;
	color:            var(--text-mid);
	background-color: var(--bg);
	display:          flex;
	flex-direction:   column;
	min-height:       100vh;
	-webkit-font-smoothing:  antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul, ol { list-style: none; padding: 0; margin: 0; }
p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   03. Typography
   -------------------------------------------------------------------------- */

/* Headings — Source Serif 4 */
h1, h2, h3, h4, h5, h6 {
	font-family:  var(--serif);
	font-weight:  400;
	line-height:  1.2;
	letter-spacing: -0.02em;
	color:        var(--charcoal);
}

/* Hero headline */
.cb-hero-headline {
	font-family:    var(--serif);
	font-size:      clamp(40px, 7vw, 60px);
	font-weight:    400;
	line-height:    1.0;
	letter-spacing: -0.03em;
	color:          #fff;
}

/* Hero italic */
.cb-hero-italic {
	font-family:    var(--serif);
	font-style:     italic;
	font-size: 24px;
	font-weight:    300;
	line-height:    1.0;
	letter-spacing: -0.03em;
	color:          var(--clay-light);
	display:        block;
}

/* Hero tag */
.cb-hero-tag {
	font-family:    var(--sans);
	font-size:      11px;
	font-weight:    400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color:          rgba(255, 255, 255, 0.38);
}

/* Hero subtext */
.cb-hero-subtext {
	font-family: var(--sans);
	font-size:   16px;
	font-weight: 300;
	line-height: 1.7;
	color:       rgba(255, 255, 255, 0.50);
}

/* Intro headline */
.cb-intro-headline {
	font-family:    var(--serif);
	font-size:      clamp(30px, 3.5vw, 44px);
	font-weight:    400;
	line-height:    1.2;
	letter-spacing: -0.02em;
	color:          var(--charcoal);
}

/* Section headline */
.cb-section-headline {
	font-family:    var(--serif);
	font-size:      clamp(28px, 3vw, 38px);
	font-weight:    400;
	line-height:    1.2;
	letter-spacing: -0.02em;
	color:          var(--charcoal);
}

/* Section label */
.cb-label {
	font-family:    var(--sans);
	font-size:      10px;
	font-weight:    500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color:          var(--clay);
	display:        block;
	margin-bottom:  1rem;
}

/* Article tag */
.cb-tag {
	font-family:    var(--sans);
	font-size:      10px;
	font-weight:    500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color:          var(--sage);
}

/* Card/service title */
.cb-card-title {
	font-family:    var(--sans);
	font-size:      17px;
	font-weight:    600;
	line-height:    1.4;
	color:          var(--charcoal);
}

/* Body text */
.cb-body {
	font-family:  var(--sans);
	font-size:    15px;
	font-weight:  300;
	line-height:  1.85;
	color:        var(--text-mid);
	max-width:    var(--body-max);
}

/* Fine print */
.cb-fine-print {
	font-family: var(--sans);
	font-size:   11px;
	font-weight: 300;
	color:       var(--text-soft);
}

/* Card number (serif) */
.cb-card-number {
	font-family:  var(--serif);
	font-size:    56px;
	font-weight:  300;
	line-height:  1.0;
	color:        var(--bg-deep);
	transition:   color 0.3s var(--ease);
	display:      block;
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   04. Buttons
   -------------------------------------------------------------------------- */
.cb-btn {
	display:         inline-flex;
	align-items:     center;
	justify-content: center;
	font-family:     var(--sans);
	font-size:       14px;
	font-weight:     500;
	letter-spacing:  0.01em;
	padding:         16px 36px;
	border-radius:   var(--radius-btn);
	border:          none;
	cursor:          pointer;
	transition:      transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.2s var(--ease-std), color 0.2s var(--ease-std);
	text-decoration: none;
	white-space:     nowrap;
}

/* Primary: Charcoal fill */
.cb-btn--primary {
	background-color: var(--charcoal);
	color:            #fff;
}
.cb-btn--primary:hover {
	background-color: var(--ink);
	color:            #fff;
	transform:        translateY(-1px);
	box-shadow:       0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Outline: Charcoal border */
.cb-btn--outline {
	background-color: transparent;
	color:            var(--charcoal);
	border:           1.5px solid var(--charcoal);
	font-size:        12px;
	font-weight:      500;
	letter-spacing:   0.08em;
	text-transform:   uppercase;
}
.cb-btn--outline:hover {
	background-color: var(--charcoal);
	color:            #fff;
	transform:        translateY(-1px);
}

/* Hero button (on dark background) */
.cb-btn--hero {
	background-color: var(--bg);
	color:            var(--charcoal);
	font-size:        14px;
}
.cb-btn--hero:hover {
	background-color: #fff;
	color:            var(--ink);
	transform:        translateY(-1px);
	box-shadow:       0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Small outline (nav Contact) */
.cb-btn--nav {
	background-color: var(--charcoal);
	color:            #fff;
	font-size:        12px;
	font-weight:      500;
	letter-spacing:   0.02em;
	padding:          10px 20px;
	border-radius:    var(--radius-btn);
}
.cb-btn--nav:hover {
	background-color: var(--ink);
	color:            #fff;
}

/* --------------------------------------------------------------------------
   05. Arrow Link
   -------------------------------------------------------------------------- */
.cb-arrow-link {
	display:      inline-flex;
	align-items:  center;
	gap:          8px;
	font-family:  var(--sans);
	font-size:    13px;
	font-weight:  500;
	letter-spacing: 0.01em;
	color:        var(--charcoal);
	text-decoration: none;
	transition:   gap 0.3s var(--ease), color 0.2s var(--ease-std);
}
.cb-arrow-link:hover {
	gap:   14px;
	color: var(--clay);
}

.cb-arrow {
	display:    inline-block;
	transition: transform 0.3s var(--ease);
}

/* Service link (Clay) */
.cb-service-link {
	color: var(--clay);
}
.cb-service-link:hover {
	color: var(--charcoal);
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   06. Cards
   -------------------------------------------------------------------------- */
.cb-card {
	background:    var(--bg);
	border:        1px solid var(--border);
	border-radius: var(--radius-card);
	padding:       44px 36px;
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
	position:      relative;
	overflow:      hidden;
}
.cb-card:hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}

/* Service card — reveals Clay Pale top line on hover */
.cb-card--service::before {
	content:          '';
	position:         absolute;
	top:              0;
	left:             0;
	right:            0;
	height:           2px;
	background-color: var(--clay-pale);
	transform:        scaleX(0);
	transform-origin: left;
	transition:       transform 0.4s var(--ease);
}
.cb-card--service:hover::before {
	transform: scaleX(1);
}
.cb-card--service:hover .cb-card-number {
	color: var(--clay-pale);
}

/* --------------------------------------------------------------------------
   07. Forms
   -------------------------------------------------------------------------- */
.cb-form-inline {
	display:      flex;
	gap:          0;
	max-width:    500px;
	margin:       0 auto;
}

.cb-input {
	font-family:  var(--sans);
	font-size:    14px;
	font-weight:  300;
	color:        var(--text);
	background:   var(--bg);
	border:       1.5px solid var(--bg-deep);
	border-radius: var(--radius-btn);
	padding:       14px 18px;
	flex:          1;
	min-width:     0;
	outline:       none;
	transition:    border-color 0.2s var(--ease-std), box-shadow 0.2s var(--ease-std);
}
.cb-input::placeholder { color: var(--text-soft); }
.cb-input:focus {
	border-color: var(--clay);
	box-shadow:   0 0 0 3px rgba(154, 126, 100, 0.08);
}
.cb-input:first-child { border-radius: var(--radius-btn) 0 0 var(--radius-btn); }
.cb-input + .cb-input { border-left: none; border-radius: 0; }
.cb-input + .cb-btn   { border-radius: 0 var(--radius-btn) var(--radius-btn) 0; }

/* --------------------------------------------------------------------------
   08. Section Utility
   -------------------------------------------------------------------------- */
.cb-section         { padding: var(--section-md) 0; }
.cb-section--lg     { padding: var(--section-lg) 0; }
.cb-section--sm     { padding: var(--section-sm) 0; }
.cb-section--bg     { background-color: var(--bg); }
.cb-section--warm   { background-color: var(--bg-warm); }
.cb-section--dark   { background-color: var(--charcoal); }

/* Constrain body-width text */
.cb-prose {
	max-width: var(--body-max);
	font-family: var(--sans);
	font-weight: 300;
	line-height: 1.85;
	color: var(--text-mid);
}

/* --------------------------------------------------------------------------
   09. Accent Line (40×2px Clay Pale, animates in on scroll)
   -------------------------------------------------------------------------- */
.cb-accent-line {
	width:            40px;
	height:           2px;
	background-color: var(--clay-pale);
	transform:        scaleX(0);
	transform-origin: left;
	transition:       transform 0.6s var(--ease);
	margin-bottom:    2rem;
}
.cb-accent-line.is-visible {
	transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   10. Scroll-trigger animation (applied via IntersectionObserver in JS)
   -------------------------------------------------------------------------- */
.cb-reveal {
	opacity:    0;
	transform:  translateY(24px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.cb-reveal.is-visible {
	opacity:   1;
	transform: translateY(0);
}
.cb-reveal--delay-1 { transition-delay: 0.1s; }
.cb-reveal--delay-2 { transition-delay: 0.2s; }
.cb-reveal--delay-3 { transition-delay: 0.3s; }
.cb-reveal--delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   11. Navigation — Bootstrap Navbar
   -------------------------------------------------------------------------- */
#site-header {
	position:         sticky;
	top:              0;
	z-index:          100;
	animation:        cb-slideDown 0.6s ease forwards;
}

@keyframes cb-slideDown {
	from { transform: translateY(-12px); opacity: 0; }
	to   { transform: translateY(0);     opacity: 1; }
}

/* Navbar shell */
.cb-navbar {
	background-color: var(--bg);
	border-bottom:    1px solid var(--border);
	padding-top:      0;
	padding-bottom:   0;
}

/* Inner container: column layout on desktop, row on mobile */
.cb-navbar__inner {
	display:        flex;
	flex-direction: column;
	align-items:    center;
	padding-top:    20px;
	padding-bottom: 0;
	position:       relative;
}

/* Brand */
.cb-navbar__brand {
	font-family:     var(--sans);
	font-size:       18px;
	font-weight:     600;
	letter-spacing:  0.04em;
	color:           var(--charcoal);
	white-space:     nowrap;
	padding:         0 0 14px;
	margin:          0;
}
.cb-navbar__brand:hover { color: var(--charcoal); }

/* Links row */
.cb-navbar__links {
	width:    100%;
	padding:  8px 0;
	position: relative;
}

/* Nav link style */
.cb-navbar .navbar-nav .nav-link,
.cb-navbar .navbar-nav .cb-navbar__link {
	font-family:    var(--sans);
	font-size:      13px;
	font-weight:    400;
	letter-spacing: 0.02em;
	color:          var(--text-mid);
	padding:        10px 14px;
	position:       relative;
}
.cb-navbar .navbar-nav .nav-link::after {
	content:          '';
	position:         absolute;
	bottom:           4px;
	left:             14px;
	right:            14px;
	height:           1px;
	background-color: var(--charcoal);
	transform:        scaleX(0);
	transform-origin: right;
	transition:       transform 0.3s var(--ease);
}
.cb-navbar .navbar-nav .nav-link:hover {
	color: var(--charcoal);
}
.cb-navbar .navbar-nav .nav-link:hover::after {
	transform:        scaleX(1);
	transform-origin: left;
}

/* Suppress Bootstrap's built-in caret — we use our own SVG arrow */
.cb-navbar .dropdown-toggle::after {
	display: none;
}

/* Chevron arrow */
.cb-nav-arrow {
	display:        inline-flex;
	align-items:    center;
	margin-left:    5px;
	vertical-align: middle;
	transition:     transform 0.28s var(--ease);
	color:          currentColor;
}
.cb-navbar .dropdown:not(.cb-nav-no-hover-dropdown):hover .cb-nav-arrow,
.cb-navbar .dropdown.show  .cb-nav-arrow {
	transform: rotate(180deg);
}

/* ── Dropdown panel (desktop) ── */
@media (min-width: 992px) {
	.cb-navbar .dropdown-menu {
		margin-top:    2px;
		border:        1px solid var(--border);
		border-radius: var(--radius-card);
		background:    var(--bg);
		box-shadow:    0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
		padding:       8px 0;
		min-width:     210px;
	}

	/* Show on hover via CSS */
	.cb-navbar .dropdown:hover > .dropdown-menu {
		display:   block;
		animation: cb-dropdown-in 0.22s var(--ease) forwards;
	}

	/* Contact nav item — never open a dropdown on hover */
	.cb-navbar .cb-nav-no-hover-dropdown:hover > .dropdown-menu {
		display: none;
	}

	/* Show when Bootstrap JS adds .show (click / keyboard) */
	.cb-navbar .dropdown-menu.show {
		animation: cb-dropdown-in 0.22s var(--ease) forwards;
	}
}

@keyframes cb-dropdown-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0);    }
}

/* Dropdown items */
.cb-navbar .dropdown-item {
	font-family: var(--sans);
	font-size:   13px;
	font-weight: 400;
	color:       var(--text-mid);
	padding:     9px 20px;
	transition:  color 0.18s ease, background-color 0.18s ease;
}
.cb-navbar .dropdown-item:hover,
.cb-navbar .dropdown-item:focus {
	color:            var(--charcoal);
	background-color: var(--bg-deep);
}
.cb-navbar .dropdown-item.active,
.cb-navbar .dropdown-item:active {
	color:            var(--charcoal);
	background-color: var(--bg-deep);
}

/* Contact button — pinned absolute right on desktop */
.cb-navbar__contact {
	font-size:      12px;
	letter-spacing: 0.02em;
	padding:        10px 20px;
}
@media (min-width: 992px) {
	.cb-navbar__contact {
		position: absolute;
		right:    0;
		top:      50%;
		transform: translateY(-50%);
	}
	.cb-navbar__contact:hover {
		transform: translateY(-50%);
	}
}

/* Mobile toggle icon colour */
.cb-navbar .navbar-toggler {
	color:    var(--charcoal);
	position: absolute;
	right:    0;
	top:      50%;
	transform: translateY(-50%);
}

/* Mobile collapse: full-width column links */
@media (max-width: 991px) {
	.cb-navbar__inner {
		flex-direction:  row;
		justify-content: space-between;
		align-items:     center;
		padding-top:     0;
		height:          64px;
	}
	.cb-navbar__brand { padding-bottom: 0; }
	.cb-navbar__links { padding: 8px 0; }
	.cb-navbar .navbar-collapse {
		background-color: var(--bg);
		border-top:       1px solid var(--border);
		padding:          16px 0 24px;
	}
	.cb-navbar .navbar-nav .nav-link { font-size: 15px; padding: 12px 0; }
	.cb-navbar__contact { display: none !important; }
	/* Show a contact link inside the mobile menu */
	.cb-navbar .navbar-collapse::after {
		content: '';
		display: block;
	}
}

/* --------------------------------------------------------------------------
   12. Hero Section (02)
   -------------------------------------------------------------------------- */
.cb-hero {
	position:    relative;
	width:       100%;
	min-height:  600px;
	height:      84vh;
	overflow:    hidden;
	display:     flex;
	align-items: center;
	justify-content: center;
	text-align:  center;
}

.cb-hero__image {
	position:   absolute;
	inset:      0;
	width:      100%;
	height:     100%;
	object-fit: cover;
	object-position: center;
}

.cb-hero__overlay {
	position:   absolute;
	inset:      0;
	background: linear-gradient(180deg,
		rgba(28, 27, 25, 0.55)   0%,
		rgba(28, 27, 25, 0.20)  40%,
		rgba(28, 27, 25, 0.15)  60%,
		rgba(28, 27, 25, 0.68) 100%
	);
}

.cb-hero__content {
	position:   relative;
	z-index:    2;
	padding:    40px 24px;
	max-width:  960px;
}

/* Staggered entrance — JS adds .is-visible to trigger */
.cb-hero__tag,
.cb-hero__headline,
.cb-hero__cta {
	opacity:    0;
	transform:  translateY(24px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.cb-hero__tag.is-visible      { opacity: 1; transform: translateY(0); }
.cb-hero__headline.is-visible { opacity: 1; transform: translateY(0); }
.cb-hero__cta.is-visible      { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   13. Credibility Bar (03)
   -------------------------------------------------------------------------- */
.cb-credibility {
	padding:    28px 0;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.cb-credibility__inner {
	display:         flex;
	align-items:     center;
	justify-content: center;
	flex-wrap:       wrap;
	gap:             0;
	max-width:       var(--container-max);
	margin:          0 auto;
	padding:         0 56px;
}

.cb-credibility__item {
	font-family:  var(--sans);
	font-size:    13px;
	font-weight:  300;
	color:        var(--text-mid);
	padding:      0 32px;
	border-right: 1px solid var(--border);
}
.cb-credibility__item:last-child { border-right: none; }

/* --------------------------------------------------------------------------
   14. Intro Section (04)
   -------------------------------------------------------------------------- */
.cb-intro {
	background: var(--bg);
	padding:    var(--section-lg) 0;
}

.cb-intro__inner {
	max-width:   var(--container-max);
	margin:      0 auto;
	padding:     0 56px;
	text-align:  center;
}

.cb-intro__inner .cb-accent-line {
	margin-left:  auto;
	margin-right: auto;
}

.cb-intro__inner .cb-prose {
	margin-left:  auto;
	margin-right: auto;
}

.cb-intro__inner .cb-intro-headline {
	max-width: 780px;
	margin-left:  auto;
	margin-right: auto;
}

/* --------------------------------------------------------------------------
   15. Split About (05) — 50/50 full-bleed
   -------------------------------------------------------------------------- */
.cb-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.cb-split__image {
	position:   relative;
	overflow:   hidden;
	min-height: 520px;
}
.cb-split__image img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.8s var(--ease);
}
.cb-split__image:hover img {
	transform: scale(1.03);
}

/* Portrait variant — show full image without cropping */
.cb-split--portrait .cb-split__image {
	background: var(--bg-warm);
}
.cb-split--portrait .cb-split__image img {
	object-fit:      contain;
	object-position: center top;
}

.cb-split__content {
	background: var(--bg-warm);
	padding:    var(--section-lg) 80px;
	display:    flex;
	flex-direction: column;
	justify-content: center;
}

/* --------------------------------------------------------------------------
   16. How Carla Helps (06)
   -------------------------------------------------------------------------- */
.cb-how {
	background: #f8f7f4;
	padding:    var(--section-md) 0;
}

.cb-how__grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   24px;
	max-width:             var(--container-max);
	margin:                48px auto 0;
	padding:               0 56px;
}

/* --------------------------------------------------------------------------
   17. Assessment CTA (07)
   -------------------------------------------------------------------------- */
.cb-assessment {
	background:  var(--bg);
	padding:     var(--section-sm) 0;
	text-align:  center;
	position:    relative;
}

/* Vertical connector line from above */
.cb-assessment::before {
	content:     '';
	position:    absolute;
	top:         0;
	left:        50%;
	transform:   translateX(-50%);
	width:       1px;
	height:      48px;
	background:  linear-gradient(to bottom, var(--bg-deep), transparent);
}

.cb-assessment__inner {
	max-width: 540px;
	margin:    0 auto;
	padding:   0 56px;
}

/* --------------------------------------------------------------------------
   18. Book Section (08)
   -------------------------------------------------------------------------- */
.cb-book {
	background:  var(--bg);
	padding:     var(--section-lg) 0;
	border-top:  1px solid var(--border);
}

.cb-book__grid {
	display:     grid;
	grid-template-columns: 280px 1fr;
	gap:         80px;
	align-items: center;
	max-width:   var(--container-max);
	margin:      0 auto;
	padding:     0 56px;
}

.cb-book__cover {
	perspective: 800px;
}
.cb-book__cover-inner {
	border-radius: var(--radius-book);
	overflow:      hidden;
	transition:    transform 0.6s var(--ease);
}
.cb-book__cover:hover .cb-book__cover-inner {
	transform: rotateY(-3deg) translateY(-4px);
}
.cb-book__cover img {
	width:      100%;
	display:    block;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   19. Email Signup (09)
   -------------------------------------------------------------------------- */
.cb-email {
	background:  var(--bg-warm);
	padding:     var(--section-sm) 0;
	text-align:  center;
}
.cb-email--white {
	background: #fff;
}

.cb-email__inner {
	max-width: 500px;
	margin:    0 auto;
	padding:   0 24px;
}

/* --------------------------------------------------------------------------
   20. Services (10)
   -------------------------------------------------------------------------- */
.cb-services {
	background: var(--bg);
	padding:    132px 0;
}

.cb-services__grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   24px;
	max-width:             var(--container-max);
	margin:                48px auto 0;
	padding:               0 56px;
}

/* --------------------------------------------------------------------------
   21. Environments (11) — 4-column image grid, 3:4 aspect
   -------------------------------------------------------------------------- */
.cb-environments {
	background: var(--bg-warm);
	padding:    var(--section-md) 0;
}

.cb-environments__grid {
	display:               grid;
	grid-template-columns: repeat(4, 1fr);
	gap:                   16px;
	max-width:             var(--container-max);
	margin:                40px auto 0;
	padding:               0 56px;
}

.cb-env-card {
	position:      relative;
	border-radius: var(--radius-img);
	overflow:      hidden;
	aspect-ratio:  3 / 4;
}
.cb-env-card img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.cb-env-card:hover img {
	transform: scale(1.05);
}

.cb-env-card__overlay {
	position:   absolute;
	inset:      0;
	background: linear-gradient(to top,
		rgba(28, 27, 25, 0.68)  0%,
		rgba(28, 27, 25, 0.10) 45%,
		rgba(28, 27, 25, 0.00) 100%
	);
}

.cb-env-card__label {
	position:    absolute;
	bottom:      20px;
	left:        20px;
	font-family: var(--sans);
	font-size:   12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color:       #fff;
}

/* --------------------------------------------------------------------------
   22. Insights (12) — asymmetric 3-col grid
   -------------------------------------------------------------------------- */
.cb-insights {
	background: var(--bg);
	padding:    var(--section-md) 0;
}

.cb-insights__header {
	display:         flex;
	align-items:     baseline;
	justify-content: space-between;
	max-width:       var(--container-max);
	margin:          0 auto 40px;
	padding:         0 56px;
}

.cb-insights__grid {
	display:               grid;
	grid-template-columns: 1.25fr 0.875fr 0.875fr;
	gap:                   24px;
	max-width:             var(--container-max);
	margin:                0 auto;
	padding:               0 56px;
}

.cb-insight-card {
	border-radius: var(--radius-img);
	overflow:      hidden;
	border:        1px solid var(--border);
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cb-insight-card:hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}

.cb-insight-card__img {
	width:       100%;
	aspect-ratio: 16 / 9;
	object-fit:  cover;
	transition:  transform 0.8s var(--ease);
}
.cb-insight-card:hover .cb-insight-card__img {
	transform: scale(1.03);
}

.cb-insight-card__body {
	padding: 24px 28px 28px;
}

.cb-insight-card__title {
	font-family:    var(--serif);
	font-size:      19px;
	font-weight:    400;
	line-height:    1.35;
	color:          var(--charcoal);
	margin:         8px 0 12px;
	transition:     color 0.2s var(--ease-std);
}
.cb-insight-card:hover .cb-insight-card__title {
	color: var(--clay);
}

.cb-insight-card--featured .cb-insight-card__title {
	font-size: 24px;
}

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
#site-footer {
	background-color: var(--charcoal);
	margin-top:       auto;
}

.cb-footer__container {
	padding-top:    80px;
	padding-bottom: 0;
}

.cb-footer__main {
	padding-bottom: 48px;
}

.cb-footer__brand-name {
	font-family:    var(--sans);
	font-size:      16px;
	font-weight:    600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color:          #fff;
	margin-bottom:  16px;
	display:        block;
}

.cb-footer__desc {
	font-family:  var(--sans);
	font-size:    13px;
	font-weight:  300;
	line-height:  1.7;
	color:        rgba(255, 255, 255, 0.45);
	max-width:    268px;
}

.cb-footer__col-label {
	font-family:    var(--sans);
	font-size:      10px;
	font-weight:    500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color:          var(--clay);
	margin-bottom:  20px;
	display:        block;
}

.cb-footer__link {
	font-family:  var(--sans);
	font-size:    13px;
	font-weight:  300;
	color:        rgba(255, 255, 255, 0.45);
	display:      block;
	margin-bottom: 10px;
	transition:   color 0.2s var(--ease-std);
}
.cb-footer__link:hover {
	color: rgba(255, 255, 255, 0.85);
}

.cb-footer__bottom {
	border-top:  1px solid rgba(255, 255, 255, 0.08);
	padding:     20px 0;
}

.cb-footer__copy {
	font-family:  var(--sans);
	font-size:    11px;
	font-weight:  300;
	color:        rgba(255, 255, 255, 0.30);
	margin:       0;
}

/* --------------------------------------------------------------------------
   24. About Page
   -------------------------------------------------------------------------- */
.cb-page-hero {
	position:    relative;
	height:      420px;
	overflow:    hidden;
	display:     flex;
	align-items: flex-end;
}
.cb-page-hero img {
	position:   absolute;
	inset:      0;
	width:      100%;
	height:     100%;
	object-fit: cover;
}
.cb-page-hero__overlay {
	position:   absolute;
	inset:      0;
	background: linear-gradient(180deg,
		rgba(28, 27, 25, 0.30) 0%,
		rgba(28, 27, 25, 0.70) 100%
	);
}
.cb-page-hero__content {
	position:   relative;
	z-index:    2;
	padding:    0 56px 56px;
	max-width:  var(--container-max);
	margin:     0 auto;
	width:      100%;
}
.cb-page-hero__title {
	font-family:    var(--serif);
	font-size:      clamp(36px, 5vw, 56px);
	font-weight:    400;
	letter-spacing: -0.02em;
	color:          #fff;
}

/* --------------------------------------------------------------------------
   24b. Dark Inner Page Hero — shared by all inner pages except Home & Services
   -------------------------------------------------------------------------- */
.cb-dark-hero {
	background: var(--charcoal);
	padding:    var(--section-lg) 0;
}
.cb-dark-hero--clay {
	background: #1c1b1a;
}
.cb-dark-hero__inner {
	text-align: center;
	max-width:  var(--container-max);
	margin:     0 auto;
	padding:    0 56px;
}
.cb-dark-hero__title {
	font-family:    var(--serif);
	font-style:     italic;
	font-size:      clamp(38px, 5vw, 62px);
	font-weight:    400;
	color:          #fff;
	letter-spacing: -0.02em;
	line-height:    1.1;
	margin:         0.3em auto 0;
	max-width:      840px;
}
.cb-dark-hero__subtitle {
	font-family: var(--sans);
	font-size:   15px;
	font-weight: 300;
	color:       rgba(255, 255, 255, 0.55);
	margin-top:  1rem;
	max-width:   560px;
	margin-left: auto;
	margin-right: auto;
}
.cb-dark-hero__meta {
	font-family: var(--sans);
	font-size:   13px;
	color:       rgba(255, 255, 255, 0.40);
	margin-top:  1rem;
}

/* --------------------------------------------------------------------------
   25. Book Page — Dark Hero
   -------------------------------------------------------------------------- */
.cb-book-hero {
	background:  var(--charcoal);
	padding:     var(--section-lg) 0;
}

.cb-book-hero__inner {
	text-align:  center;
	max-width:   var(--container-max);
	margin:      0 auto;
	padding:     0 56px;
}

.cb-book-hero__title {
	font-family:    var(--serif);
	font-style:     italic;
	font-size:      clamp(48px, 6vw, 72px);
	font-weight:    400;
	letter-spacing: -0.02em;
	color:          var(--clay-light);
	line-height:    1.12;
	margin:         0.25em auto 0;
}

.cb-book-hero__subtitle {
	font-family:  var(--sans);
	font-size:    14px;
	font-weight:  300;
	color:        var(--clay);
	margin-bottom: 1.5rem;
}

.cb-book-hero__actions {
	display:         flex;
	gap:             16px;
	flex-wrap:       wrap;
	justify-content: center;
	margin-top:      36px;
}

/* Pull quote */
.cb-pull-quote {
	background:  var(--bg);
	padding:     var(--section-sm) 56px;
	text-align:  center;
	border-bottom: 1px solid var(--border);
}
.cb-pull-quote__text {
	font-family:    var(--serif);
	font-style:     italic;
	font-size:      clamp(22px, 3vw, 32px);
	font-weight:    400;
	line-height:    1.4;
	color:          var(--charcoal);
	max-width:      700px;
	margin:         0 auto;
}

/* Toolkit grid — 4 cols */
.cb-toolkit__grid {
	display:               grid;
	grid-template-columns: repeat(4, 1fr);
	gap:                   24px;
	max-width:             var(--container-max);
	margin:                48px auto 0;
	padding:               0 56px;
}

.cb-tool-card {
	background:    var(--bg);
	border:        1px solid var(--border);
	border-radius: var(--radius-card);
	padding:       36px 28px;
	text-align:    center;
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cb-tool-card:hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}
.cb-tool-card__icon {
	font-size:    24px;
	margin-bottom: 16px;
	display:      block;
}

/* --------------------------------------------------------------------------
   26. Section header (centered, shared)
   -------------------------------------------------------------------------- */
.cb-section-header {
	text-align:  center;
	max-width:   var(--container-max);
	margin:      0 auto;
	padding:     0 56px;
}
.cb-section-header--left { text-align: left; }

/* --------------------------------------------------------------------------
   27. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.cb-book__grid            { grid-template-columns: 1fr; }
	.cb-book__cover           { max-width: 240px; margin: 0 auto 40px; }
	.cb-insights__grid        { grid-template-columns: 1fr 1fr; }
	.cb-insights__grid .cb-insight-card:last-child { display: none; }
	.cb-toolkit__grid         { grid-template-columns: repeat(2, 1fr); }
	.cb-footer__main          { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
	:root {
		--section-lg: 80px;
		--section-md: 72px;
		--section-sm: 56px;
	}

	.cb-nav__mobile { padding: 24px; }

	.cb-hero { height: 90vh; }

	.cb-split { grid-template-columns: 1fr; }
	.cb-split__image { min-height: 320px; }
	.cb-split__content { padding: 56px 24px; }

	.cb-split--portrait .cb-split__content { order: 1; }
	.cb-split--portrait .cb-split__image   { order: 2; }

	.cb-how__grid       { grid-template-columns: 1fr; padding: 0 24px; }
	.cb-services__grid  { grid-template-columns: 1fr; padding: 0 24px; }
	.cb-environments__grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
	.cb-insights__grid  { grid-template-columns: 1fr; padding: 0 24px; }
	.cb-toolkit__grid   { grid-template-columns: 1fr; padding: 0 24px; }
	.cb-footer__main    { grid-template-columns: 1fr; padding: 56px 24px 40px; }
	.cb-footer__bottom  { padding: 16px 24px; }

	.cb-intro__inner    { padding: 0 24px; }
	.cb-book__grid          { padding: 0 24px; }
	.cb-book-hero__inner    { padding: 0 24px; }
	.cb-dark-hero__inner    { padding: 0 24px; }

	.cb-credibility__item { padding: 8px 16px; font-size: 12px; }
	.cb-section-header  { padding: 0 24px; }
	.cb-insights__header { padding: 0 24px; }

	.cb-form-inline { flex-direction: column; }
	.cb-input:first-child { border-radius: var(--radius-btn); }
	.cb-input + .cb-input { border-left: 1.5px solid var(--bg-deep); border-radius: var(--radius-btn); }
	.cb-input + .cb-btn   { border-radius: var(--radius-btn); }

	.cb-page-hero { height: 320px; }
	.cb-page-hero__content { padding: 0 24px 40px; }

	.cb-pull-quote { padding: var(--section-sm) 24px; }
}

/* --------------------------------------------------------------------------
   28. Case Studies Page
   -------------------------------------------------------------------------- */

/* Light warm hero — no background image */
.cb-cs-hero {
	background:  var(--bg-deep);
	padding:     var(--section-md) 0;
	text-align:  center;
}
.cb-cs-hero__inner {
	max-width: var(--container-max);
	margin:    0 auto;
	padding:   0 56px;
}
.cb-cs-hero__title {
	font-family:    var(--serif);
	font-size:      clamp(36px, 5vw, 56px);
	font-weight:    400;
	letter-spacing: -0.02em;
	line-height:    1.1;
	color:          var(--charcoal);
	margin:         0.3em 0 0.4em;
}
.cb-cs-hero__subtitle {
	font-family: var(--sans);
	font-size:   15px;
	font-weight: 300;
	color:       var(--text-mid);
}

/* Environment flat cards — 2×2 grid */
.cb-env-flat-grid {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   24px;
	max-width:             var(--container-max);
	margin:                0 auto;
	padding:               0 56px;
}
.cb-env-card-flat {
	background:    var(--bg);
	border:        1px solid var(--border);
	border-radius: var(--radius-card);
	overflow:      hidden;
	text-decoration: none;
	color:         inherit;
	display:       block;
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cb-env-card-flat:hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}
.cb-env-card-flat__img {
	width:        100%;
	aspect-ratio: 16 / 10;
	background:   var(--bg-deep);
	overflow:     hidden;
}
.cb-env-card-flat__img img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.cb-env-card-flat:hover .cb-env-card-flat__img img {
	transform: scale(1.03);
}
.cb-env-card-flat__body {
	padding: 20px 24px 24px;
}
.cb-env-card-flat__title {
	font-family:  var(--sans);
	font-size:    15px;
	font-weight:  600;
	color:        var(--charcoal);
	margin:       0 0 6px;
}
.cb-env-card-flat__desc {
	font-family: var(--sans);
	font-size:   13px;
	font-weight: 300;
	color:       var(--text-mid);
	line-height: 1.6;
	margin:      0;
}

/* Case study cards — 3-col grid */
.cb-cs-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   24px;
	max-width:             var(--container-max);
	margin:                0 auto;
	padding:               0 56px;
}
.cb-cs-card {
	background:    var(--bg);
	border:        1px solid var(--border);
	border-radius: var(--radius-card);
	overflow:      hidden;
	text-decoration: none;
	color:         inherit;
	display:       block;
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cb-cs-card:not(.cb-cs-card--placeholder):hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}
.cb-cs-card__img {
	width:        100%;
	aspect-ratio: 16 / 10;
	background:   var(--bg-deep);
	overflow:     hidden;
}
.cb-cs-card__img img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.cb-cs-card:hover .cb-cs-card__img img {
	transform: scale(1.03);
}
.cb-cs-card__body {
	padding: 20px 24px 24px;
}
.cb-cs-card__title {
	font-family:  var(--sans);
	font-size:    15px;
	font-weight:  600;
	color:        var(--charcoal);
	margin:       0 0 8px;
}
.cb-cs-card__desc {
	font-family: var(--sans);
	font-size:   13px;
	font-weight: 300;
	color:       var(--text-mid);
	line-height: 1.6;
	margin:      0;
}

/* Skeleton text lines */
.cb-skeleton {
	background:    var(--bg-deep);
	border-radius: 3px;
	height:        11px;
	margin-bottom: 8px;
}
.cb-skeleton--medium { width: 78%; }
.cb-skeleton--short  { width: 52%; margin-bottom: 0; }

/* Responsive */
@media (max-width: 1024px) {
	.cb-cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.cb-cs-hero__inner { padding: 0 24px; }
	.cb-env-flat-grid  { grid-template-columns: 1fr; padding: 0 24px; }
	.cb-cs-grid        { grid-template-columns: 1fr; padding: 0 24px; }
	.cb-env-header     { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 24px !important; margin-bottom: 24px !important; }
}

/* --------------------------------------------------------------------------
   29. Speaking Page — Audiences grid
   -------------------------------------------------------------------------- */
.cb-speaking-audiences-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 56px;
}
@media (max-width: 768px) {
	.cb-speaking-audiences-grid { grid-template-columns: 1fr; padding: 0 24px; }
}

/* --------------------------------------------------------------------------
   29b. Speaking — Events Grid
   -------------------------------------------------------------------------- */
.cb-events {
	background: var(--bg);
	padding:    var(--section-md) 0;
}

.cb-events-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   28px;
}

.cb-event-card {
	background:    var(--bg);
	border:        1px solid var(--border);
	border-radius: var(--radius-card);
	overflow:      hidden;
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cb-event-card:hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0,0,0,0.06);
}

.cb-event-card__img-wrap {
	position:     relative;
	aspect-ratio: 16 / 10;
	overflow:     hidden;
}
.cb-event-card__img-wrap img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
	transition: transform 0.8s var(--ease);
}
.cb-event-card:hover .cb-event-card__img-wrap img {
	transform: scale(1.03);
}
.cb-event-card__img-placeholder {
	width:      100%;
	height:     100%;
	background: var(--bg-deep);
}

.cb-event-card__format-badge {
	position:      absolute;
	top:           12px;
	left:          12px;
	background:    var(--charcoal);
	color:         #fff;
	font-family:   var(--sans);
	font-size:     10px;
	font-weight:   600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding:       4px 10px;
	border-radius: 4px;
}

.cb-event-card__body    { padding: 18px 20px 20px; }

.cb-event-card__meta {
	display:       flex;
	align-items:   center;
	gap:           10px;
	flex-wrap:     wrap;
	margin-bottom: 10px;
}

.cb-event-card__title {
	font-family:    var(--serif);
	font-size:      clamp(16px, 1.5vw, 19px);
	font-weight:    400;
	letter-spacing: -0.01em;
	line-height:    1.3;
	color:          var(--charcoal);
	margin-bottom:  8px;
}

.cb-event-card__excerpt {
	font-family:   var(--sans);
	font-size:     13px;
	color:         var(--text-soft);
	line-height:   1.6;
	margin-bottom: 16px;
}

.cb-event-card__footer {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	gap:             12px;
	padding-top:     12px;
	border-top:      1px solid var(--border);
}

.cb-event-card__details {
	display:        flex;
	flex-direction: column;
	gap:            2px;
}

@media (max-width: 992px) {
	.cb-events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.cb-events-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   30. Workshops Page — Overview / Learn / Who grids
   -------------------------------------------------------------------------- */
.cb-workshops-overview-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 56px;
}
.cb-workshops-learn-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 56px;
}
.cb-workshops-who-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 56px;
}
@media (max-width: 768px) {
	.cb-workshops-overview-grid,
	.cb-workshops-learn-grid,
	.cb-workshops-who-grid { grid-template-columns: 1fr; padding: 0 24px; }
}

/* --------------------------------------------------------------------------
   31. Contact Page — Form styles
   -------------------------------------------------------------------------- */
.cb-contact-form {
	background:    var(--bg);
	border:        1px solid var(--border);
	border-radius: var(--radius-card);
	padding:       48px 44px;
}
.cb-contact-form select.cb-input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23928F87' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

/* Article body typography */
.cb-article-body {
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.85;
	color: var(--text-mid);
}
.cb-article-body h2 {
	font-family: var(--serif);
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 400;
	color: var(--charcoal);
	margin: 2em 0 0.75em;
}
.cb-article-body h3 {
	font-family: var(--serif);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 400;
	color: var(--charcoal);
	margin: 1.75em 0 0.6em;
}
.cb-article-body p { margin-bottom: 1.5em; }
.cb-article-body p:last-child { margin-bottom: 0; }
.cb-article-body a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.cb-article-body ul,
.cb-article-body ol {
	list-style: revert;
	padding-left: 1.5em;
	margin-bottom: 1.5em;
}
.cb-article-body li { margin-bottom: 0.4em; }
.cb-article-body blockquote {
	border-left: 3px solid var(--clay-pale);
	padding-left: 1.25em;
	margin: 2em 0;
	font-style: italic;
	color: var(--text-soft);
}
.cb-article-body img {
	border-radius: var(--radius-img);
	margin: 2em 0;
}

/* Resources page pagination */
.cb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	color: var(--text-mid);
	border: 1px solid var(--border);
	border-radius: var(--radius-btn);
	margin: 0 3px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.cb-pagination .page-numbers:hover,
.cb-pagination .page-numbers.current {
	background-color: var(--charcoal);
	border-color: var(--charcoal);
	color: #fff;
}

@media (max-width: 768px) {
	.cb-contact-form { padding: 32px 24px; }
}

/* ── Contact page — heading (form + info column) ── */
.cb-contact-heading {
	font-family:    var(--sans);
	font-size:      clamp(16px, 1.6vw, 20px);
	font-weight:    700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color:          var(--charcoal);
	line-height:    1.2;
	margin:         0;
}

/* ── Form field labels ── */
.cb-form-label {
	display:        block;
	font-family:    var(--sans);
	font-size:      10px;
	font-weight:    500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color:          var(--text-mid);
	margin-bottom:  6px;
}
.cb-form-label__opt {
	font-weight:    400;
	color:          var(--clay);
	margin-left:    5px;
	text-transform: none;
	letter-spacing: 0;
}

/* ── Contact info sidebar ── */
.cb-cinfo {
	position: sticky;
	top:      120px;
}
.cb-cinfo-row {
	display:       flex;
	gap:           14px;
	align-items:   flex-start;
	padding:       16px 0;
	border-bottom: 1px solid var(--border);
}
.cb-cinfo-row--last { border-bottom: none; }
.cb-cinfo-icon {
	width:           40px;
	height:          40px;
	background:      var(--bg-deep);
	border-radius:   var(--radius-btn);
	flex-shrink:     0;
	display:         flex;
	align-items:     center;
	justify-content: center;
}
.cb-cinfo-body {
	display:        flex;
	flex-direction: column;
	gap:            3px;
	padding-top:    2px;
}
.cb-cinfo-title {
	font-family:     var(--sans);
	font-size:       14px;
	font-weight:     500;
	color:           var(--clay);
	text-decoration: none;
}
a.cb-cinfo-title:hover {
	text-decoration:        underline;
	text-underline-offset:  3px;
}
.cb-cinfo-title--static { cursor: default; }
.cb-cinfo-desc {
	font-family: var(--sans);
	font-size:   13px;
	font-weight: 300;
	color:       var(--text-soft);
}
.cb-cinfo-response {
	border-top: 1px solid var(--border);
}
.cb-cinfo-response__title {
	font-family:    var(--sans);
	font-size:      13px;
	font-weight:    600;
	color:          var(--charcoal);
	letter-spacing: 0.01em;
	margin-bottom:  8px;
}
.cb-cinfo-response__body {
	font-family: var(--sans);
	font-size:   13px;
	font-weight: 300;
	line-height: 1.75;
	color:       var(--text-soft);
	margin:      0;
}

/* ── Contact quick-links cards ── */
.cb-contact-ql-card {
	background:     var(--bg);
	border:         1px solid var(--border);
	border-radius:  var(--radius-card);
	padding:        40px 32px;
	text-align:     center;
	display:        flex;
	flex-direction: column;
	align-items:    center;
}
.cb-contact-ql-card__title {
	font-family:    var(--sans);
	font-size:      13px;
	font-weight:    700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color:          var(--charcoal);
	margin-bottom:  12px;
}
.cb-contact-ql-card__desc {
	font-family:   var(--sans);
	font-size:     13px;
	font-weight:   300;
	line-height:   1.75;
	color:         var(--text-mid);
	margin-bottom: 20px;
	flex:          1;
}

/* --------------------------------------------------------------------------
   32. Resources Page
   -------------------------------------------------------------------------- */

/* ── Latest section ───────────────────────────────────────────────────── */
.cb-resources-latest {
	background: var(--bg);
	padding:    var(--section-md) 0;
}

/* Featured post — 50/50 grid */
.cb-latest-featured {
	display:        grid;
	grid-template-columns: 1fr 1fr;
	gap:            64px;
	align-items:    center;
	margin-bottom:  48px;
	padding-bottom: 48px;
	border-bottom:  1px solid var(--border);
}

.cb-latest-featured__img-wrap {
	display:       block;
	border-radius: var(--radius-img);
	overflow:      hidden;
	aspect-ratio:  4 / 3;
}
.cb-latest-featured__img-wrap img,
.cb-latest-featured__img-placeholder {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
	transition: transform 0.8s var(--ease);
	background: var(--bg-deep);
}
.cb-latest-featured:hover .cb-latest-featured__img-wrap img {
	transform: scale(1.03);
}

.cb-latest-featured__title {
	font-family:    var(--serif);
	font-size:      clamp(22px, 2.5vw, 32px);
	font-weight:    400;
	letter-spacing: -0.02em;
	line-height:    1.2;
	color:          var(--charcoal);
	margin:         16px 0 14px;
}
.cb-latest-featured__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cb-latest-featured__title a:hover { color: var(--clay); }

.cb-latest-featured__excerpt {
	font-family:   var(--sans);
	font-size:     14px;
	font-weight:   300;
	line-height:   1.85;
	color:         var(--text-mid);
	margin-bottom: 20px;
}

.cb-latest-featured__byline { margin-bottom: 28px; }

/* Secondary post cards */
.cb-latest-secondary { margin-top: 0; }

.cb-secondary-card {
	border-radius: var(--radius-img);
	border:        1px solid var(--border);
	overflow:      hidden;
	height:        100%;
}

.cb-secondary-card__img-wrap {
	display:      block;
	overflow:     hidden;
	aspect-ratio: 16 / 10;
}
.cb-secondary-card__img-wrap img,
.cb-secondary-card__img-placeholder {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
	transition: transform 0.8s var(--ease);
	background: var(--bg-deep);
}
.cb-secondary-card:hover .cb-secondary-card__img-wrap img {
	transform: scale(1.03);
}

.cb-secondary-card__body { padding: 20px 24px 24px; }

.cb-secondary-card__meta {
	display:       flex;
	align-items:   center;
	gap:           10px;
	margin-bottom: 12px;
	flex-wrap:     wrap;
}

.cb-secondary-card__title {
	font-family:    var(--serif);
	font-size:      clamp(18px, 1.8vw, 22px);
	font-weight:    400;
	letter-spacing: -0.01em;
	line-height:    1.3;
	color:          var(--charcoal);
	margin-bottom:  10px;
}
.cb-secondary-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cb-secondary-card__title a:hover { color: var(--clay); }

.cb-secondary-card__excerpt {
	font-family:   var(--sans);
	font-size:     13px;
	font-weight:   300;
	line-height:   1.75;
	color:         var(--text-mid);
	margin-bottom: 16px;
}

.cb-secondary-card__footer {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	gap:             16px;
	padding-top:     12px;
	border-top:      1px solid var(--border);
}

/* ── Category Pill ─────────────────────────────────────────────────────── */
.cb-pill {
	display:        inline-flex;
	align-items:    center;
	font-family:    var(--sans);
	font-size:      10px;
	font-weight:    500;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color:          var(--text-mid);
	border:         1px solid var(--bg-deep);
	border-radius:  100px;
	padding:        4px 10px;
	text-decoration: none;
	white-space:    nowrap;
	flex-shrink:    0;
	transition:     background-color 0.2s, border-color 0.2s, color 0.2s;
}
.cb-pill:hover {
	background-color: var(--bg-deep);
	border-color:     var(--bg-deep);
	color:            var(--charcoal);
}

/* ── Archive section ───────────────────────────────────────────────────── */
.cb-resources-archive {
	background: var(--bg-warm);
	padding:    var(--section-md) 0;
}

/* Header row: title left, search right */
.cb-archive-header {
	display:         flex;
	align-items:     flex-end;
	justify-content: space-between;
	gap:             32px;
	margin-bottom:   28px;
}

.cb-archive-headline {
	font-family:    var(--serif);
	font-size:      clamp(26px, 3vw, 36px);
	font-weight:    400;
	letter-spacing: -0.02em;
	color:          var(--charcoal);
	margin:         0;
}

/* Search input */
.cb-search-input-wrap {
	position:  relative;
	width:     300px;
	flex-shrink: 0;
}

.cb-search-icon {
	position:       absolute;
	left:           14px;
	top:            50%;
	transform:      translateY(-50%);
	color:          var(--text-soft);
	pointer-events: none;
}

.cb-search-input {
	font-family:   var(--sans);
	font-size:     13px;
	font-weight:   300;
	color:         var(--text);
	background:    var(--bg);
	border:        1.5px solid var(--bg-deep);
	border-radius: var(--radius-btn);
	padding:       11px 18px 11px 40px;
	width:         100%;
	outline:       none;
	transition:    border-color 0.2s, box-shadow 0.2s;
	appearance:    none;
}
.cb-search-input::placeholder { color: var(--text-soft); }
.cb-search-input:focus {
	border-color: var(--clay);
	box-shadow:   0 0 0 3px rgba(154, 126, 100, 0.08);
}

/* Filter tabs */
.cb-filter-tabs {
	display:       flex;
	flex-wrap:     wrap;
	gap:           8px;
	margin-bottom: 20px;
}

.cb-filter-tab {
	display:        inline-flex;
	align-items:    center;
	font-family:    var(--sans);
	font-size:      11px;
	font-weight:    500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color:          var(--text-mid);
	background:     transparent;
	border:         1.5px solid rgba(0, 0, 0, 0.12);
	border-radius:  100px;
	padding:        7px 18px;
	cursor:         pointer;
	transition:     background-color 0.2s, color 0.2s, border-color 0.2s;
	white-space:    nowrap;
}
.cb-filter-tab:hover {
	border-color: var(--charcoal);
	color:        var(--charcoal);
}
.cb-filter-tab.is-active {
	background-color: var(--charcoal);
	border-color:     var(--charcoal);
	color:            #fff;
}

/* Archive 3-col grid */
.cb-archive-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   24px;
}

.cb-archive-card {
	background:    var(--bg);
	border-radius: var(--radius-card);
	overflow:      hidden;
	border:        1px solid var(--border);
	transition:    transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cb-archive-card:not(.cb-archive-card--placeholder):hover {
	transform:  translateY(-4px);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.06);
}

.cb-archive-card__img-wrap {
	display:      block;
	overflow:     hidden;
	aspect-ratio: 16 / 10;
}
.cb-archive-card__img-wrap img,
.cb-archive-card__img-placeholder {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
	transition: transform 0.8s var(--ease);
	background: var(--bg-deep);
}
.cb-archive-card:hover .cb-archive-card__img-wrap img {
	transform: scale(1.03);
}

.cb-archive-card__body   { padding: 18px 20px 20px; }

.cb-archive-card__meta {
	display:       flex;
	align-items:   center;
	gap:           10px;
	margin-bottom: 10px;
	flex-wrap:     wrap;
}

.cb-archive-card__title {
	font-family:    var(--serif);
	font-size:      clamp(16px, 1.5vw, 19px);
	font-weight:    400;
	letter-spacing: -0.01em;
	line-height:    1.3;
	color:          var(--charcoal);
	margin-bottom:  8px;
}
.cb-archive-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cb-archive-card__title a:hover { color: var(--clay); }

.cb-archive-card__excerpt {
	font-family:   var(--sans);
	font-size:     13px;
	font-weight:   300;
	line-height:   1.75;
	color:         var(--text-mid);
	margin-bottom: 14px;
}

.cb-archive-card__footer {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	gap:             12px;
	padding-top:     12px;
	border-top:      1px solid var(--border);
}

/* PDF card */
.cb-archive-card__img-placeholder--pdf {
	background:      var(--charcoal);
	display:         flex;
	align-items:     center;
	justify-content: center;
}
.cb-pill--pdf {
	background: var(--clay);
	color:      #fff;
}

/* No results */
.cb-no-results {
	text-align:  center;
	padding:     48px 0;
	font-family: var(--sans);
	font-size:   14px;
	color:       var(--text-soft);
}

/* ── Newsletter section ─────────────────────────────────────────────────── */
.cb-resources-newsletter {
	background: var(--charcoal);
	padding:    var(--section-sm) 0;
}

.cb-resources-newsletter__inner {
	display:     flex;
	align-items: center;
	gap:         80px;
}

.cb-resources-newsletter__text { flex: 1; }

.cb-resources-newsletter__title {
	font-family:    var(--serif);
	font-size:      clamp(22px, 2.5vw, 30px);
	font-weight:    400;
	letter-spacing: -0.02em;
	color:          #fff;
	margin-bottom:  12px;
}

.cb-resources-newsletter__desc {
	font-family: var(--sans);
	font-size:   14px;
	font-weight: 300;
	line-height: 1.75;
	color:       rgba(255, 255, 255, 0.50);
	margin:      0;
	max-width:   420px;
}

.cb-resources-newsletter__form {
	flex-shrink: 0;
	width:       380px;
}

.cb-newsletter-form {
	display: flex;
	gap:     0;
}

.cb-newsletter-input {
	font-family:   var(--sans);
	font-size:     14px;
	font-weight:   300;
	color:         rgba(255, 255, 255, 0.7);
	background:    rgba(255, 255, 255, 0.07);
	border:        1.5px solid rgba(255, 255, 255, 0.15);
	border-right:  none;
	border-radius: var(--radius-btn) 0 0 var(--radius-btn);
	padding:       13px 18px;
	flex:          1;
	min-width:     0;
	outline:       none;
	transition:    border-color 0.2s;
}
.cb-newsletter-input::placeholder { color: rgba(255, 255, 255, 0.30); }
.cb-newsletter-input:focus { border-color: rgba(255, 255, 255, 0.40); }

.cb-newsletter-btn {
	font-family:    var(--sans);
	font-size:      13px;
	font-weight:    500;
	letter-spacing: 0.02em;
	color:          var(--charcoal);
	background:     var(--bg);
	border:         none;
	border-radius:  0 var(--radius-btn) var(--radius-btn) 0;
	padding:        13px 22px;
	cursor:         pointer;
	white-space:    nowrap;
	transition:     background-color 0.2s;
}
.cb-newsletter-btn:hover { background-color: #fff; }

/* ── Resources page responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
	.cb-archive-grid                   { grid-template-columns: repeat(2, 1fr); }
	.cb-resources-newsletter__inner    { gap: 48px; }
	.cb-resources-newsletter__form     { width: 300px; }
}

@media (max-width: 768px) {
	.cb-latest-featured                { grid-template-columns: 1fr; gap: 24px; }
	.cb-archive-grid                   { grid-template-columns: 1fr; }
	.cb-archive-header                 { flex-direction: column; align-items: flex-start; gap: 16px; }
	.cb-search-input-wrap              { width: 100%; }
	.cb-resources-newsletter__inner    { flex-direction: column; gap: 32px; }
	.cb-resources-newsletter__form     { width: 100%; }
	.cb-newsletter-form                { flex-direction: column; }
	.cb-newsletter-input               { border-right: 1.5px solid rgba(255,255,255,0.15); border-radius: var(--radius-btn); }
	.cb-newsletter-btn                 { border-radius: var(--radius-btn); }
}



/* The container for the headline */
.cb-section-header {
    position: relative;
    padding-top: 60px; /* Creates space for the line */
    text-align: center;
}

/* The vertical line */
.psudeo-line::before {
  	content: "";
  	position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 70px;
    background: var(--clay-pale);
}

.cb-dark-hero__title {
	font-style: normal;
}

.cb-btn--hero {
    /* Existing Styles */
    background-color: var(--bg);
    color: var(--charcoal);
    font-size: 14px;
    
    /* Necessary for the effect */
    position: relative;
    overflow: hidden; /* Keeps the slide effect inside the button */
    z-index: 1;
    transition: color 0.4s ease; /* Smooth text color change */
    border: none; /* Optional: adjust based on your design */
    padding: 12px 24px; /* Optional: added for better visual */
    cursor: pointer;
}

.cb-btn--hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #262523; /* Your hex code */
    
    /* Start the background off-canvas to the left */
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1; /* Places the color behind the text */
}

/* Hover State */
.cb-btn--hero:hover {
    color: #ffffff; /* Changes text to white so it's visible on the dark hex */
}

.cb-btn--hero:hover::before {
    /* Slides the background into view */
    transform: translateX(0);
}


.btn.btn-outline-light {
    /* Base Styles */
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: transparent; /* Keep it transparent for the outline look */
    color: #ffffff; /* Assuming light text for a dark background */
    border: 2px solid #ffffff;
    transition: color 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.btn.btn-outline-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* The new white background */
    
    /* Slide settings */
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

/* Hover State */
.btn.btn-outline-light:hover {
    /* Change text to dark charcoal or black so it's visible on white */
    color: #262523; 
}

.btn.btn-outline-light:hover::before {
    transform: translateX(0);
}

.btn.btn-light {
    position: relative;
    overflow: hidden;
    z-index: 1;
    
    /* Starting State: Solid Black */
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    
    /* Smoothly transition the text color */
    transition: color 0.4s ease;
    cursor: pointer;
}

.btn.btn-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* The sliding layer is White */
    background-color: #ffffff;
    
    /* Start completely hidden to the left */
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

/* Hover State */
.btn.btn-light:hover {
    /* Text flips to black once the white slides in */
    color: #000000;
}

.btn.btn-light:hover::before {
    /* Slide the white layer in from left to right */
    transform: translateX(0);
}

.single-case_study .wp-block-embed__wrapper iframe {
    position: relative;
    width: 100%;
}

.cb-dark-hero.unique {
	position: relative;
	width: 100%;
	padding: 120px 0; /* Adjust padding to match your design height */
	
	/* The overlay layer + the dynamic background image variable */
	background: linear-gradient(
		rgba(38, 37, 35, 0.78), 
		rgba(38, 37, 35, 0.78)
	), 
	var(--hero-bg) no-repeat center center;
	
	background-size: cover;
}

/* Ensure text elements layer nicely on top of the gradient background */
.cb-dark-hero.unique .cb-dark-hero__inner {
	position: relative;
	z-index: 2;
}

/* Force the title to white exclusively inside this unique hero instance */
.cb-dark-hero.unique .cb-dark-hero__title {
	color: #ffffff !important; /* !important guarantees it overrides any default .cb-dark-hero__title color rules */
}

input#gform_submit_button_2 {
    background: #262523;
}

input#gform_submit_button_1 {
	background: #262523;
}