/*
Theme Name: USBGM Group
Theme URI: https://www.usbgm.com
Author: USBGM GROUP
Author URI: https://www.usbgm.com
Description: A plain-speaking block theme for USBGM GROUP, an AI-powered marketing agency. Dark navigation bar with two mega-dropdowns, off-white sections, and a copper-and-red accent system. Every section is a block pattern you can edit in the Site Editor, so copy, colours and layout change without touching a template file.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.5.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usbgm-group
Tags: business, full-site-editing, block-patterns, one-column, wide-blocks, custom-colors, custom-menu, editor-style, featured-images, translation-ready
*/

/* =========================================================================
   1. Tokens
   Measured from the reference builds, not guessed:
   display scale 2.25/3.75/4.5rem at -.04em, section padding 5/7rem,
   container 1200px with 1.5rem gutters, nav 13px/500.
   ========================================================================= */
:root {
	--usb-base:      #F7F5F1;   /* off-white ground */
	--usb-white:     #FFFFFF;
	--usb-black:     #0B0B0C;   /* type + dark bands */
	--usb-black-2:   #171716;   /* header / footer body */
	--usb-black-3:   #232320;
	--usb-copper:    #C4703C;
	--usb-copper-lo: #A85C2C;
	--usb-copper-t:  #F1DCCB;
	--usb-red:       #B23A2E;
	--usb-red-t:     #F6DCD7;
	--usb-muted:     #6B6B62;
	--usb-line:      #E3DED3;
	--usb-line-dark: #2C2C29;
	--usb-on-dark:   #F4F3EC;
	--usb-on-dark-2: #C1C1B7;

	--usb-radius:   10px;
	--usb-radius-sm:6px;
	--usb-container: 1200px;
	--usb-gutter:   1.5rem;

	--usb-sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--usb-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	--usb-shadow: 0 1px 0 rgba(11, 11, 12, .04), 0 18px 50px rgba(11, 11, 12, .07);
	--usb-shadow-lift: 0 14px 34px rgba(11, 11, 12, .10);
}

/* =========================================================================
   2. Base
   ========================================================================= */
body {
	background: var(--usb-base);
	color: var(--usb-black);
	font-family: var(--usb-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.usb-lock { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--usb-sans);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.08;
	text-wrap: balance;
	margin: 0;
}
h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.03; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
p  { line-height: 1.65; }
a  { color: inherit; text-decoration: none; }
a:hover { color: var(--usb-copper-lo); }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--usb-copper);
	outline-offset: 3px;
	border-radius: 3px;
}
img, svg { max-width: 100%; height: auto; }

.skip-link {
	position: fixed; left: 1rem; top: 1rem; z-index: 100;
	transform: translateY(-6rem);
	background: var(--usb-copper); color: var(--usb-black);
	padding: .75rem 1rem; border-radius: var(--usb-radius-sm);
	font-size: .875rem; font-weight: 700; transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--usb-black); }

/* =========================================================================
   3. Rhythm helpers
   ========================================================================= */
.usb-section { padding-block: clamp(3.5rem, 6vw, 7rem); }
.usb-section--tight { padding-block: clamp(2.25rem, 3.5vw, 3.25rem); }
.usb-wrap { max-width: var(--usb-container); margin-inline: auto; padding-inline: var(--usb-gutter); }

.usb-eyebrow {
	font-family: var(--usb-mono);
	font-size: .75rem; font-weight: 600; line-height: 1;
	letter-spacing: .18em; text-transform: uppercase;
	color: var(--usb-muted);
	margin: 0 0 1.1rem;
	display: flex; align-items: center; gap: .6rem;
}
.usb-eyebrow::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: var(--usb-red); flex: 0 0 auto;
}
.usb-lead {
	font-size: clamp(1.0625rem, 1.15vw, 1.25rem);
	line-height: 1.62; color: #33332E;
	max-width: 62ch; margin: 1.25rem 0 0;
	margin-inline-start: 0;
}
.usb-note {
	font-size: .875rem; line-height: 1.6; color: var(--usb-muted);
	margin: 1rem 0 0; margin-inline-start: 0;
}
.usb-rule { height: 1px; border: 0; background: var(--usb-line); margin-block: 2.5rem; }

.usb-sec-head {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 2rem 3.5rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.usb-sec-head .usb-lead { margin-top: 0; }
@media (max-width: 900px) { .usb-sec-head { grid-template-columns: 1fr; align-items: start; } }

/* =========================================================================
   4. Buttons
   ========================================================================= */
.usb-btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .8125rem 1.4rem;
	border-radius: var(--usb-radius-sm); border: 1px solid transparent;
	font-family: var(--usb-sans); font-size: .9375rem; font-weight: 600;
	letter-spacing: 0; text-decoration: none; cursor: pointer;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.usb-btn--copper,
.wp-block-button__link {
	background: var(--usb-copper); color: var(--usb-black); border-color: var(--usb-copper);
}
.usb-btn--copper:hover,
.wp-block-button__link:hover { background: var(--usb-copper-lo); border-color: var(--usb-copper-lo); color: var(--usb-black); }

.usb-btn--dark { background: var(--usb-black); color: var(--usb-on-dark); border-color: var(--usb-black); }
.usb-btn--dark:hover { background: var(--usb-copper); border-color: var(--usb-copper); color: var(--usb-black); }

.usb-btn--ghost { background: transparent; color: var(--usb-black); border-color: #C9C3B6; }
.usb-btn--ghost:hover { border-color: var(--usb-black); color: var(--usb-black); }

.usb-btn--ghost-dark { background: transparent; color: var(--usb-on-dark); border-color: rgba(255,255,255,.28); }
.usb-btn--ghost-dark:hover { border-color: var(--usb-copper); color: var(--usb-copper); }

.usb-btn--block { width: 100%; }

.wp-block-button { margin: 0; }
.usb-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.wp-block-buttons { gap: .75rem; }

/* =========================================================================
   5. Header
   ========================================================================= */
.usb-bar {
	position: sticky; top: 0; z-index: 60;
	background: var(--usb-black-2);
	border-bottom: 1px solid rgba(255,255,255,.13);
	transition: box-shadow .2s ease;
}
.usb-bar.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.usb-bar-inner {
	max-width: 1440px; margin-inline: auto;
	display: flex; align-items: center; flex-wrap: nowrap; gap: 1.25rem;
	min-height: 72px; padding-inline: clamp(1rem, 5vw, 3rem);
}
.usb-logo { display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.usb-logo img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.usb-logo-type {
	font-family: var(--usb-sans); font-size: 1.1875rem; font-weight: 600;
	letter-spacing: -.03em; color: var(--usb-on-dark); line-height: 1;
	white-space: nowrap;
}
.usb-logo-type span { color: var(--usb-copper); margin-left: .3em; font-weight: 500; }

.usb-nav {
	display: flex; flex-direction: row; flex-wrap: nowrap;
	align-items: center; gap: .1rem; margin-left: auto; min-width: 0;
}
.usb-nav > * { flex: 0 0 auto; }
.usb-nav-link,
.usb-drop-btn {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .5rem .62rem; border: 0; background: none; cursor: pointer;
	font-family: var(--usb-sans); font-size: .8125rem; font-weight: 500; line-height: 1.2;
	color: var(--usb-on-dark-2); white-space: nowrap; flex: 0 0 auto;
	transition: color .15s ease;
}
@media (min-width: 1400px) { .usb-nav-link, .usb-drop-btn { font-size: .875rem; } }
.usb-nav-link:hover, .usb-drop-btn:hover, .usb-drop.is-open .usb-drop-btn { color: var(--usb-on-dark); }
.usb-drop .chev { transition: transform .18s ease; opacity: .7; margin-top: 1px; }
.usb-drop.is-open .chev { transform: rotate(180deg); }

.usb-bar-cta { display: flex; align-items: center; flex-wrap: nowrap; gap: .5rem; flex: 0 0 auto; }
@media (max-width: 1360px) { .usb-bar-cta .usb-btn--ghost-dark { display: none; } }
@media (max-width: 1180px) and (min-width: 1100px) { .usb-logo-type span { display: none; } }
.usb-bar-cta .usb-btn { min-height: 40px; padding: .55rem .9rem; font-size: .8125rem; }

.usb-burger {
	display: none; width: 44px; height: 44px; margin-left: auto;
	background: none; border: 1px solid rgba(255,255,255,.28); border-radius: var(--usb-radius-sm);
	flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.usb-burger span { display: block; width: 18px; height: 1.5px; background: var(--usb-on-dark); }

/* --- mega dropdown (two-panel nav) --- */
.usb-drop { position: static; }
.mega-wrap { position: absolute; left: 0; right: 0; top: 100%; padding: 0 clamp(1rem, 5vw, 3rem); }
.mega {
	background: var(--usb-white);
	border: 1px solid var(--usb-line);
	border-top: 2px solid var(--usb-copper);
	border-radius: 0 0 var(--usb-radius) var(--usb-radius);
	box-shadow: 0 30px 60px rgba(11,11,12,.16);
	padding: .75rem;
	max-width: 760px;
}
.mega[hidden] { display: none; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-item {
	display: grid; grid-template-columns: 2.1rem minmax(0,1fr) 1.2rem;
	align-items: center; gap: .5rem;
	padding: .7rem .8rem; border-radius: 8px;
	transition: background-color .14s ease;
}
.mega-item:hover, .mega-item:focus-visible { background: #FAF8F4; }
.mega-idx { font-family: var(--usb-mono); font-size: .6875rem; font-weight: 600; color: var(--usb-copper); letter-spacing: .04em; }
.mega-txt { display: grid; gap: .12rem; }
.mega-title { font-size: .9375rem; font-weight: 600; color: var(--usb-black); letter-spacing: -.01em; }
.mega-desc { font-size: .8125rem; line-height: 1.4; color: var(--usb-muted); }
.mega-arrow { color: var(--usb-copper); opacity: 0; transform: translateX(-4px); transition: opacity .14s, transform .14s; font-size: .9375rem; }
.mega-item:hover .mega-arrow { opacity: 1; transform: translateX(0); }
.mega-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	margin-top: .5rem; padding: .75rem .8rem 0; border-top: 1px solid var(--usb-line);
}
.mega-foot-label { font-family: var(--usb-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--usb-muted); }
.mega-foot a { font-size: .8125rem; font-weight: 600; color: var(--usb-copper-lo); }
.mega-foot a:hover { color: var(--usb-red); }

/* --- mobile drawer --- */
.usb-drawer {
	background: var(--usb-black-2); border-top: 1px solid var(--usb-line-dark);
	max-height: calc(100dvh - 72px); overflow-y: auto;
}
.usb-drawer[hidden] { display: none; }
.usb-drawer-inner { padding: 1rem clamp(1rem, 5vw, 3rem) 2rem; display: grid; gap: .25rem; }
.usb-acc { border-bottom: 1px solid var(--usb-line-dark); }
.usb-acc summary {
	list-style: none; cursor: pointer; padding: 1rem 0;
	display: flex; align-items: center; justify-content: space-between;
	font-size: 1.0625rem; font-weight: 600; color: var(--usb-on-dark);
}
.usb-acc summary::-webkit-details-marker { display: none; }
.usb-acc summary::after { content: "+"; color: var(--usb-copper); font-size: 1.25rem; line-height: 1; }
.usb-acc[open] summary::after { content: "–"; }
.usb-acc ul { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .1rem; }
.usb-acc a, .usb-drawer-link {
	display: block; padding: .6rem 0; font-size: .9375rem;
	color: var(--usb-on-dark-2);
}
.usb-acc a:hover, .usb-drawer-link:hover { color: var(--usb-copper); }
.usb-drawer-link { border-bottom: 1px solid var(--usb-line-dark); padding: 1rem 0; font-size: 1.0625rem; font-weight: 600; color: var(--usb-on-dark); }
.usb-drawer-cta { display: grid; gap: .6rem; margin-top: 1.25rem; }

@media (max-width: 1099px) {
	.usb-nav, .usb-bar-cta { display: none; }
	.usb-burger { display: flex; }
}

/* =========================================================================
   6. Hero
   ========================================================================= */
.usb-hero {
	background: var(--usb-black-2); color: var(--usb-on-dark);
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	position: relative; overflow: hidden;
}
.usb-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(60% 55% at 88% 8%, rgba(196,112,60,.20), transparent 62%),
		radial-gradient(42% 42% at 6% 96%, rgba(178,58,46,.14), transparent 65%);
}
.usb-hero > * { position: relative; z-index: 1; }
.usb-hero .usb-wrap { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.usb-hero h1 { color: var(--usb-on-dark); max-width: 18ch; }
.usb-hero h1 em { font-style: normal; color: var(--usb-copper); }
.usb-hero .usb-lead { color: #C9C9C2; }
.usb-hero .usb-eyebrow { color: var(--usb-copper); }
.usb-hero .usb-eyebrow::before { background: var(--usb-red); }
.usb-hero .usb-note { color: #9C9C94; }
.usb-hero .usb-btn--ghost { color: var(--usb-on-dark); border-color: rgba(255,255,255,.3); }
.usb-hero .usb-btn--ghost:hover { color: var(--usb-copper); border-color: var(--usb-copper); }
@media (max-width: 980px) { .usb-hero .usb-wrap { grid-template-columns: 1fr; } }

/* hero signal panel */
.usb-panel {
	background: #111110; border: 1px solid rgba(255,255,255,.14);
	border-radius: 14px; padding: clamp(1.1rem, 2vw, 1.6rem);
	box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.usb-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.usb-panel-label { font-family: var(--usb-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: #8E8E86; }
.usb-live { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--usb-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--usb-on-dark); }
.usb-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--usb-copper); box-shadow: 0 0 0 4px rgba(196,112,60,.18); }
.usb-signal { display: grid; gap: .1rem; }
.usb-signal-row {
	display: grid; grid-template-columns: minmax(0,1fr) auto;
	align-items: baseline; gap: 1rem; padding: .8rem 0;
	border-top: 1px solid rgba(255,255,255,.09);
}
.usb-signal-row:first-child { border-top: 0; }
.usb-signal-k { font-size: .9375rem; font-weight: 500; color: #E8E7E0; }
.usb-signal-k span { display: block; font-size: .75rem; font-weight: 400; color: #8E8E86; margin-top: .15rem; }
.usb-signal-v { font-family: var(--usb-mono); font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--usb-copper); white-space: nowrap; }
.usb-panel-foot { margin: 1.15rem 0 0; font-size: .75rem; line-height: 1.55; color: #8E8E86; border-top: 1px solid rgba(255,255,255,.09); padding-top: .9rem; }

/* =========================================================================
   7. Cards and grids
   ========================================================================= */
.usb-grid { display: grid; gap: 1rem; }
.usb-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.usb-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 980px) { .usb-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .usb-grid--2, .usb-grid--3 { grid-template-columns: 1fr; } }

.usb-card {
	background: var(--usb-white);
	border: 1px solid var(--usb-line);
	border-radius: var(--usb-radius);
	padding: clamp(1.25rem, 2vw, 1.75rem);
	display: flex; flex-direction: column; gap: .6rem;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.usb-card:hover { transform: translateY(-2px); border-color: #CFC8B9; box-shadow: var(--usb-shadow-lift); }
.usb-card p { margin: 0; font-size: .9375rem; line-height: 1.6; color: #45453E; }
.usb-card h3 { margin: 0; }
.usb-card--link { position: relative; }
.usb-card .usb-card-link {
	font-family: var(--usb-mono); font-size: .75rem; letter-spacing: .06em;
	text-transform: uppercase; color: var(--usb-copper-lo); margin-top: auto; padding-top: .5rem;
}
.usb-card--link:hover .usb-card-link { color: var(--usb-red); }
.usb-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.usb-chip {
	font-family: var(--usb-mono); font-size: .625rem; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--usb-muted);
	border: 1px solid var(--usb-line); border-radius: 999px; padding: .3rem .55rem;
	background: #FCFAF6; white-space: nowrap;
}
.usb-chip--copper { color: var(--usb-copper-lo); border-color: var(--usb-copper-t); background: #FDF6F0; }
.usb-chip--red { color: var(--usb-red); border-color: var(--usb-red-t); background: #FDF4F2; }
.usb-ico {
	width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
	display: grid; place-items: center;
	background: var(--usb-black); color: var(--usb-copper);
	font-family: var(--usb-mono); font-size: .75rem; font-weight: 700;
}

/* numbered rows */
.usb-rows { display: grid; gap: 0; border-top: 1px solid var(--usb-line); }
.usb-row {
	display: grid; grid-template-columns: 5rem minmax(0, 22rem) minmax(0,1fr);
	gap: 1.5rem 2rem; align-items: start;
	padding: 1.85rem 0; border-bottom: 1px solid var(--usb-line);
}
.usb-row h2, .usb-row h3 { margin: 0; }
.usb-row p { margin: 0; color: #45453E; max-width: 58ch; }
.usb-row .usb-eyebrow { margin: 0; padding-top: .35rem; }
.usb-row .usb-eyebrow::before { display: none; }
@media (max-width: 900px) {
	.usb-row { grid-template-columns: 3rem minmax(0,1fr); gap: .6rem 1rem; }
	.usb-row > *:last-child { grid-column: 2; }
}

/* dark band */
.usb-band {
	background: var(--usb-black); color: var(--usb-on-dark);
	padding-block: clamp(3rem, 5.5vw, 5.5rem);
}
.usb-band h2, .usb-band h1 { color: var(--usb-on-dark); }
.usb-band .usb-lead { color: #C9C9C2; }
.usb-band .usb-eyebrow { color: var(--usb-copper); }
.usb-band .wp-block-button__link { background: var(--usb-copper); color: var(--usb-black); }
.usb-band .usb-note { color: #9C9C94; }
.usb-band-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 2rem 3rem; align-items: center; }
@media (max-width: 900px) { .usb-band-inner { grid-template-columns: 1fr; } }

/* =========================================================================
   8. Steps
   ========================================================================= */
.usb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.usb-steps li { border-top: 2px solid var(--usb-black); padding-top: 1rem; }
.usb-steps .usb-num { font-family: var(--usb-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--usb-copper); display: block; margin-bottom: .6rem; }
.usb-steps strong { display: block; font-size: 1.0625rem; font-weight: 600; margin-bottom: .35rem; }
.usb-steps p { margin: 0; font-size: .9375rem; line-height: 1.6; color: #45453E; }
@media (max-width: 820px) { .usb-steps { grid-template-columns: 1fr; } }

/* =========================================================================
   9. FAQ (core/details)
   ========================================================================= */
.usb-faq { display: grid; gap: 0; border-top: 1px solid var(--usb-line); max-width: 62rem; }
.usb-faq details { border-bottom: 1px solid var(--usb-line); }
.usb-faq summary {
	list-style: none; cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; position: relative;
	font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--usb-black);
}
.usb-faq summary::-webkit-details-marker { display: none; }
.usb-faq summary::after {
	content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
	font-family: var(--usb-mono); font-size: 1.125rem; color: var(--usb-copper);
}
.usb-faq details[open] summary::after { content: "–"; }
.usb-faq details p { margin: 0 0 1.25rem; color: #45453E; max-width: 66ch; font-size: .9688rem; }

/* =========================================================================
   10. Request form
   ========================================================================= */
.usb-request-wrap { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (max-width: 940px) { .usb-request-wrap { grid-template-columns: 1fr; } }
.usb-request {
	background: var(--usb-white); border: 1px solid var(--usb-line);
	border-radius: 14px; padding: clamp(1.25rem, 2.4vw, 2rem);
	box-shadow: var(--usb-shadow);
}
.usb-request form { display: grid; gap: 1rem; }
.usb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .usb-grid-2 { grid-template-columns: 1fr; } }
.usb-field { display: grid; gap: .35rem; }
.usb-field label { font-size: .8125rem; font-weight: 600; color: var(--usb-black); letter-spacing: 0; }
.usb-field label .req { color: var(--usb-red); margin-left: .15rem; }
.usb-field input, .usb-field select, .usb-field textarea {
	width: 100%; padding: .7rem .8rem;
	border: 1px solid #C9C3B6; border-radius: var(--usb-radius-sm);
	background: var(--usb-white); color: var(--usb-black);
	font-family: var(--usb-sans); font-size: .9375rem; line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.usb-field input::placeholder, .usb-field textarea::placeholder { color: #9A968C; }
.usb-field input:focus, .usb-field select:focus, .usb-field textarea:focus {
	border-color: var(--usb-black); outline: none;
	box-shadow: 0 0 0 3px rgba(196,112,60,.22);
}
.usb-field textarea { resize: vertical; min-height: 96px; }
.usb-consent { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: .6rem; align-items: start; font-size: .8125rem; line-height: 1.5; color: #45453E; }
.usb-consent input { width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--usb-copper); }
.usb-consent a { color: var(--usb-copper-lo); text-decoration: underline; text-underline-offset: 2px; }
.usb-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.usb-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .25rem; }
.usb-submit button, .usb-request .wp-block-button__link {
	background: var(--usb-black); color: var(--usb-on-dark); border: 1px solid var(--usb-black);
	border-radius: var(--usb-radius-sm); padding: .8125rem 1.5rem;
	font-size: .9375rem; font-weight: 600; cursor: pointer; min-height: 46px;
	transition: background-color .16s, color .16s, border-color .16s;
}
.usb-submit button:hover { background: var(--usb-copper); border-color: var(--usb-copper); color: var(--usb-black); }
.usb-submit button[disabled] { opacity: .6; cursor: progress; }
.usb-submit .usb-note { margin: 0; }
.usb-notice { border-radius: 8px; padding: .8rem .9rem; font-size: .875rem; line-height: 1.5; margin: 0 0 1rem; border: 1px solid; }
.usb-notice--ok { background: #F1F6EF; border-color: #C9DCC2; color: #2C4A24; }
.usb-notice--err { background: #FDF3F1; border-color: #EFCDC6; color: #7C2C22; }
.usb-request-side p { color: #45453E; }
.usb-request-side .usb-steps { grid-template-columns: 1fr; gap: 1rem; }
.usb-request-side .usb-steps li { border-top-width: 1px; border-top-color: var(--usb-line); padding-top: .85rem; }
.usb-request-side .usb-steps li:first-child { border-top: 2px solid var(--usb-black); }

/* =========================================================================
   11. Footer
   ========================================================================= */
.usb-foot { background: var(--usb-black-2); color: var(--usb-on-dark-2); padding-top: clamp(2.5rem, 4vw, 4rem); }
.usb-foot-inner {
	max-width: var(--usb-container); margin-inline: auto; padding-inline: var(--usb-gutter);
	display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 2.5rem 2rem;
	padding-bottom: clamp(2rem, 3vw, 3rem);
}
@media (max-width: 980px) { .usb-foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .usb-foot-inner { grid-template-columns: 1fr; } }
.usb-foot-brand p { font-size: .875rem; line-height: 1.65; color: #A5A59C; max-width: 34ch; margin: 1rem 0 0; }
.usb-foot-mail { display: inline-block; margin-top: .85rem; font-size: .9375rem; font-weight: 500; color: var(--usb-copper); }
.usb-foot-mail:hover { color: var(--usb-on-dark); }
.usb-foot-col h3 {
	font-family: var(--usb-mono); font-size: .625rem; font-weight: 600; letter-spacing: .18em;
	text-transform: uppercase; color: #8E8E86; margin: 0 0 .9rem;
}
.usb-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.usb-foot-col a { font-size: .875rem; color: var(--usb-on-dark-2); }
.usb-foot-col a:hover { color: var(--usb-copper); }
.usb-foot-col address { font-style: normal; font-size: .8125rem; line-height: 1.6; color: #8E8E86; margin-top: 1.1rem; }
.usb-foot-base {
	border-top: 1px solid var(--usb-line-dark);
	max-width: var(--usb-container); margin-inline: auto; padding: 1.15rem var(--usb-gutter) 1.6rem;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
	font-size: .75rem; color: #8E8E86;
}
.usb-foot-base p { margin: 0; }
.usb-foot-legal a { color: #8E8E86; }
.usb-foot-legal a:hover { color: var(--usb-copper); }

/* =========================================================================
   12. Generic page (service, industry, About, Our work)
   ========================================================================= */
.usb-page-head { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.usb-page-head h1 { max-width: 22ch; }
.usb-page-head .usb-lead { max-width: 60ch; }
.usb-rows { padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.usb-band.usb-band--cta h2 { max-width: 26ch; }
.usb-notice--plain {
	background: #FCFAF6; border: 1px solid var(--usb-line); border-left: 2px solid var(--usb-red);
	border-radius: 0 8px 8px 0; padding: 1rem 1.15rem; font-size: .9375rem; line-height: 1.6; color: #45453E;
}

/* =========================================================================
   13. WordPress odds and ends
   ========================================================================= */
.wp-block-group, .wp-block-columns { margin-block-start: 0; }
.entry-content > * + * { margin-block-start: 1.1rem; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.usb-legal { max-width: 68ch; }
.usb-legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.usb-legal h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.usb-legal p, .usb-legal li { font-size: .9688rem; line-height: 1.7; color: #35352F; }
.usb-legal ul { padding-left: 1.1rem; }

@media (prefers-reduced-motion: reduce) {
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   14. Header fit — final override
   The bar must stay on one line at every desktop width. Appended last so it
   always wins over the earlier header rules.
   ========================================================================= */
.usb-bar-inner { display: flex; flex-wrap: nowrap; align-items: center; }
.usb-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; }
.usb-nav > .usb-drop, .usb-nav > .usb-nav-link { flex: 0 0 auto; }
.usb-nav-link, .usb-drop-btn { padding: .5rem .55rem; font-size: .8125rem; }
@media (min-width: 1440px) { .usb-nav-link, .usb-drop-btn { padding: .5rem .75rem; font-size: .875rem; } }
.usb-bar-cta { display: flex; flex-wrap: nowrap; flex: 0 0 auto; }
.usb-burger { flex: 0 0 auto; }

/* =========================================================================
   15. v1.4.1 revision — bigger mark, horizontal nav, larger type, roomier cards
   Appended last so nothing above regresses. Every value here intentionally
   overrides the 1.4.0 scale.
   ========================================================================= */

/* --- 15.1 mark and wordmark, noticeably larger ------------------------- */
.usb-bar-inner { min-height: 86px; gap: 1.5rem; }
.usb-logo { gap: .8rem; }
.usb-logo img { width: 46px; height: 46px; border-radius: 11px; }
.usb-logo-type {
	font-size: 1.4375rem;
	letter-spacing: -.012em;
	font-weight: 600;
}
.usb-logo-type span { font-weight: 500; margin-left: .32em; }
.usb-logo--foot img { width: 54px; height: 54px; border-radius: 13px; }
.usb-logo--foot .usb-logo-type { font-size: 1.375rem; }
@media (max-width: 1400px) { .usb-logo img { width: 42px; height: 42px; border-radius: 10px; } }
@media (max-width: 1199px) { .usb-logo img { width: 40px; height: 40px; border-radius: 10px; } }

/* --- 15.2 nav must be one horizontal row, always ----------------------- */
.usb-nav {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end;
	gap: 0;
	flex: 1 1 auto;
	margin-left: auto;
	white-space: nowrap;
}
.usb-nav > .usb-drop,
.usb-nav > .usb-nav-link,
.usb-nav > a {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	float: none;
	width: auto;
}
.usb-nav-link,
.usb-drop-btn {
	font-size: .9375rem;
	font-weight: 500;
	letter-spacing: .03em;
	padding: .55rem .8rem;
	white-space: nowrap;
}
@media (min-width: 1560px) { .usb-nav-link, .usb-drop-btn { font-size: 1rem; padding: .55rem 1rem; } }
.usb-bar-cta .usb-btn { min-height: 46px; padding: .7rem 1.15rem; font-size: .9375rem; letter-spacing: .02em; }
@media (max-width: 1439px) { .usb-bar-cta .usb-btn--ghost-dark { display: none; } }
/* the taller bar and wider items need the drawer earlier than before */
@media (max-width: 1279px) {
	.usb-nav, .usb-bar-cta { display: none !important; }
	.usb-burger { display: flex; }
}

/* --- 15.3 type: larger, with breathing room between letters ------------ */
html body {
	font-size: 1.1875rem;
	letter-spacing: .012em;
}
body p { line-height: 1.72; letter-spacing: .008em; }
body h1 {
	font-size: clamp(2.5rem, 6.2vw, 5rem);
	letter-spacing: -.012em;
	line-height: 1.03;
}
body h2 {
	font-size: clamp(2rem, 4.2vw, 3.5rem);
	letter-spacing: -.015em;
	line-height: 1.05;
}
body h3 {
	font-size: clamp(1.3125rem, 1.9vw, 1.625rem);
	letter-spacing: -.005em;
	line-height: 1.28;
}
body h4 { font-size: 1.1875rem; letter-spacing: .002em; }
.usb-lead {
	font-size: clamp(1.1875rem, 1.4vw, 1.4375rem);
	line-height: 1.66;
	letter-spacing: .004em;
	max-width: 60ch;
}
.usb-eyebrow {
	font-size: .8125rem;
	letter-spacing: .22em;
	margin-bottom: 1.35rem;
}
.usb-note { font-size: .9688rem; letter-spacing: .012em; line-height: 1.65; }
.usb-btn, .wp-block-button__link, .usb-submit button {
	font-size: 1rem;
	letter-spacing: .02em;
	padding: .95rem 1.65rem;
	min-height: 50px;
}

/* --- 15.4 blurbs: bigger text, more padding, more air between ---------- */
.usb-section { padding-block: clamp(4.5rem, 7.5vw, 8.5rem); }
.usb-section--tight { padding-block: clamp(3rem, 4.8vw, 5rem); }
.usb-sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); gap: 2.25rem 4rem; }
.usb-grid { gap: 1.75rem; }
.usb-grid--3 { gap: 2rem; }
@media (max-width: 720px) { .usb-grid { gap: 1.5rem; } }

.usb-card {
	padding: clamp(1.85rem, 2.9vw, 2.75rem);
	gap: .95rem;
	border-radius: 14px;
}
.usb-card p {
	font-size: 1.0625rem;
	line-height: 1.75;
	letter-spacing: .01em;
	color: #3D3D37;
}
.usb-card h3 { font-size: clamp(1.375rem, 1.9vw, 1.6875rem); }
.usb-card .usb-card-link {
	font-size: .8125rem;
	letter-spacing: .12em;
	padding-top: .9rem;
}
.usb-card-top { gap: 1rem; margin-bottom: .35rem; }
.usb-ico {
	width: 46px; height: 46px; border-radius: 12px;
	font-size: .875rem; letter-spacing: .04em;
}
.usb-chip { font-size: .6875rem; letter-spacing: .16em; padding: .38rem .7rem; }

/* roomier mega panel to match the larger nav text */
.mega { padding: .9rem; max-width: 820px; }
.mega-item { padding: .85rem .95rem; grid-template-columns: 2.4rem minmax(0,1fr) 1.2rem; }
.mega-title { font-size: 1.0625rem; letter-spacing: .005em; }
.mega-desc { font-size: .9375rem; line-height: 1.5; letter-spacing: .01em; }
.mega-idx { font-size: .75rem; }
.mega-foot { padding: .9rem .95rem 0; margin-top: .6rem; }
.mega-foot a { font-size: .9375rem; }

/* footer and page furniture scale with the rest */
.usb-foot-col h3 { font-size: .6875rem; letter-spacing: .2em; }
.usb-foot-col a { font-size: .9688rem; letter-spacing: .012em; }
.usb-foot-col ul { gap: .6rem; }
.usb-foot-brand p { font-size: .9688rem; line-height: 1.7; max-width: 36ch; }
.usb-foot-mail { font-size: 1.0625rem; }
.usb-foot-col address { font-size: .9375rem; line-height: 1.7; }
.usb-foot-base { font-size: .8125rem; letter-spacing: .02em; }
.usb-request { padding: clamp(1.5rem, 2.8vw, 2.5rem); }
.usb-field input, .usb-field select, .usb-field textarea { font-size: 1rem; padding: .8rem .9rem; }
.usb-field label { font-size: .9375rem; }
.usb-consent { font-size: .9375rem; line-height: 1.6; }
.usb-request-side p { font-size: 1.0625rem; line-height: 1.72; }
.usb-faq summary { font-size: 1.1875rem; padding: 1.35rem 2.25rem 1.35rem 0; }
.usb-faq details p { font-size: 1.0625rem; line-height: 1.72; }
.usb-steps strong { font-size: 1.1875rem; }
.usb-steps p { font-size: 1.0625rem; line-height: 1.7; }
.usb-row p { font-size: 1.0625rem; line-height: 1.72; }

/* =========================================================================
   16. Nav row repair + mark size
   wpautop was promoting the bare nav anchors into a <p>, which is what pushed
   About / Our work / FAQ onto three lines. The markup now uses block cells;
   these rules neutralise any wrapper the editor filter adds anyway.
   ========================================================================= */
.usb-nav > p,
.usb-nav p {
	display: contents !important;
	margin: 0 !important; padding: 0 !important;
	border: 0 !important; background: none !important;
}
.usb-nav br { display: none !important; }
.usb-nav-cell {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	float: none;
}
.usb-nav-cell .usb-nav-link { display: inline-flex; align-items: center; }
.usb-drop { flex: 0 0 auto; }

/* the mark, one more step up */
.usb-bar-inner { min-height: 92px; }
.usb-logo img { width: 52px; height: 52px; border-radius: 12px; }
.usb-logo-type { font-size: 1.5rem; letter-spacing: -.01em; }
.usb-logo--foot img { width: 60px; height: 60px; border-radius: 14px; }
.usb-logo--foot .usb-logo-type { font-size: 1.5rem; }
@media (max-width: 1400px) {
	.usb-logo img { width: 46px; height: 46px; border-radius: 11px; }
	.usb-logo-type { font-size: 1.375rem; }
}
@media (max-width: 1279px) {
	.usb-logo img { width: 44px; height: 44px; border-radius: 10px; }
	.usb-logo-type { font-size: 1.3125rem; }
}

/* burger: thicker bars so it reads at small sizes */
.usb-burger { flex: 0 0 auto; width: 46px; height: 46px; }
.usb-burger span { width: 20px; height: 2px; }

/* =========================================================================
   17. Burger as vector
   Two 1.5px CSS bars disappeared in some renderers at small sizes. A stroked
   SVG with currentColor always paints.
   ========================================================================= */
.usb-burger { display: none; color: var(--usb-on-dark); }
.usb-burger svg { display: block; width: 20px; height: 14px; }
@media (max-width: 1279px) { .usb-burger { display: inline-flex; } }

/* =========================================================================
   18. v1.4.3 — blurb box model lock + dropdown anchored to its own button
   ========================================================================= */

/* ---- 18.1 blurbs ------------------------------------------------------
   WordPress adds `has-global-padding` and `is-layout-constrained` to every
   group block. Core's constrained-layout rule then puts a 24px block-gap
   margin above each direct child, and global padding rewrites the card's
   inline padding. Only the badge row is a plain div, so only it kept the
   margin: the top of each card was 24px looser than the bottom and the left
   and right padding no longer matched. Both are neutralised here and the
   rhythm is rebuilt from one flex gap, so every card in every section shares
   the same box.                                                          */
.usb-card,
.usb-card * { box-sizing: border-box; }

.wp-block-group.usb-card.has-global-padding,
.wp-block-group.usb-card.has-global-padding.is-layout-constrained {
	padding: clamp(1.75rem, 2.4vw, 2.5rem) !important;
}

.usb-card,
.usb-card.is-layout-constrained {
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start;
	gap: 1.05rem !important;
	min-height: 100%;
	height: auto;
}

.usb-card > *,
.usb-card.is-layout-constrained > * {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	max-width: 100%;
}
.usb-card h3,
.usb-card p,
.usb-card .usb-card-top,
.usb-card .wp-block-heading,
.usb-card .wp-block-paragraph { margin: 0 !important; }

.usb-card-top { margin-bottom: 0 !important; }
.usb-card .usb-card-link {
	margin-top: auto !important;
	padding-top: 1rem;
}
.usb-card p { max-width: 44ch; }

/* same lock on the other blurb shapes so nothing re-collapses */
.usb-outcome,
.usb-step,
.usb-card--link { box-sizing: border-box; }

/* ---- 18.2 dropdown ---------------------------------------------------
   Before: `.usb-drop{position:static}` left the panel with no positioned
   ancestor, so it stretched from the far left of the sticky header as a wide
   white slab. Now the item is the containing block and the panel hangs
   directly beneath it at the width of its own longest label.            */
.usb-drop { position: relative !important; }

.mega-wrap {
	position: absolute !important;
	left: 0 !important;
	right: auto !important;
	top: 100% !important;
	padding: 0 !important;
	padding-top: 12px !important;
	width: max-content;
	max-width: min(320px, calc(100vw - 2rem));
	z-index: 70;
}
.mega {
	width: max-content;
	min-width: 246px;
	max-width: min(320px, calc(100vw - 2rem)) !important;
	padding: .45rem !important;
	background: var(--usb-white);
	border: 1px solid var(--usb-line);
	border-top: 2px solid var(--usb-copper);
	border-radius: 12px !important;
	box-shadow: 0 26px 52px rgba(11,11,12,.18), 0 2px 6px rgba(11,11,12,.06);
}
.mega-list { display: block !important; margin: 0; padding: 0; }
.mega-item {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	grid-template-columns: none !important;
	padding: .68rem .8rem !important;
	border-radius: 8px !important;
}
.mega-title {
	font-size: 1rem !important;
	font-weight: 500 !important;
	line-height: 1.3;
	letter-spacing: -.005em;
	color: var(--usb-black);
	white-space: nowrap;
}
.mega-arrow {
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .14s ease, transform .14s ease;
	color: var(--usb-copper);
	font-size: .9375rem;
}
.mega-item:hover .mega-arrow,
.mega-item:focus-visible .mega-arrow { opacity: 1; transform: translateX(0); }
.mega-item:hover .mega-title,
.mega-item:focus-visible .mega-title { color: var(--usb-copper-lo); }

/* the removed description and footer must not survive in a cached menu */
.mega-desc,
.mega-idx,
.mega-foot { display: none !important; }

/* =========================================================================
   19. v1.4.4 — real container + blurbs re-measured from scratch
   Root cause of both complaints: every `usb-*` group carried WordPress's
   `has-global-padding` + `is-layout-constrained` classes. Constrained layout
   capped the whole page at theme.json's 760px content size, and re-applied a
   24px block-gap margin to each direct child inside a card, so the badge row,
   heading and paragraph each sat at a different distance from the card edge.
   inc/functions.php now strips those classes from every `usb-` group at
   render time (no page re-provisioning needed); this section rebuilds the
   measure and the card rhythm in plain CSS.
   ========================================================================= */

/* ---- 19.1 page measure: full-bleed bands, one 1240px column -------------- */
.usb-section {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
	padding-inline: clamp(1.1rem, 5vw, 3.5rem);
}
.usb-section > * {
	width: 100%;
	max-width: 1240px !important;
	margin-inline: auto !important;
}
.usb-section > * + * { margin-top: 0; }
.usb-sec-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem) !important; }

/* ---- 19.2 blurb box, identical on every card ---------------------------- */
.usb-card {
	box-sizing: border-box;
	padding: clamp(1.75rem, 2.2vw, 2.375rem) !important;
	display: flex !important;
	flex-direction: column;
	gap: 0;
	min-height: 100%;
}
.usb-card > * {
	box-sizing: border-box;
	margin: 0 !important;
	max-width: 100% !important;
	padding: 0;
}
/* one predictable rhythm: badge → heading → copy → link */
.usb-card .usb-card-top { margin: 0 0 1.15rem !important; }
.usb-card h3,
.usb-card .wp-block-heading { margin: 0 0 .7rem !important; }
.usb-card p,
.usb-card .wp-block-paragraph { margin: 0 !important; }
.usb-card p + p { margin-top: .85rem !important; }
.usb-card .usb-card-link {
	margin: 1.35rem 0 0 !important;
	padding-top: 0;
	font-family: var(--usb-mono);
	font-size: .8125rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--usb-copper-lo);
}
.usb-card p { max-width: none; }
/* the link block is the last child: pin it down in equal-height cards */
.usb-card > .usb-card-link:last-child,
.usb-card > .wp-block-paragraph:last-child.usb-card-link { margin-top: auto !important; padding-top: 1.35rem; }

.usb-grid { gap: clamp(1.15rem, 1.8vw, 1.75rem); }
.usb-grid--3 { gap: clamp(1.15rem, 1.8vw, 1.75rem); }

/* the other blurb shapes inherit the same padding language */
.usb-outcome { padding: clamp(1.5rem, 2vw, 2.1rem); }

/* ---- 19.3 burger that always paints ------------------------------------- */
.usb-burger { color: var(--usb-on-dark); }
.usb-burger svg { display: none !important; }
.usb-burger > span { display: none !important; }
.usb-burger::before {
	content: "";
	width: 20px; height: 14px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 14px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14'%3E%3Cpath d='M1 2h18M1 7h18M1 12h18' fill='none' stroke='%23F4F3EC' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* =========================================================================
   20. v1.4.5 — hamburger as three CSS bars
   Both earlier attempts failed in a real browser: the inline SVG and the
   background-image data URI left a bare 46px box on mobile (and wpautop eats
   any <span> children the shortcode prints). One element, one box-shadow,
   no assets, so it cannot fail to paint.
   ========================================================================= */
.usb-bar { overflow: visible !important; }
.usb-burger {
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--usb-on-dark);
	line-height: 0;
}
.usb-burger svg,
.usb-burger span,
.usb-burger br { display: none !important; }
.usb-burger::before {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}
@media (max-width: 1279px) { .usb-burger { display: inline-flex; } }

/* =========================================================================
   21. v1.4.6 — hero CTA clearance, service-area footer
   ========================================================================= */

/* ---- 21.1 hero column is a flex stack ---------------------------------
   The buttons and the note under them were laid out with margins that the
   `has-global-padding` reflow could collapse, so the note slid up under the
   two buttons at narrow widths. Flex items cannot overlap: each child owns
   its row and the gap is the only spacing in play.                        */
.usb-hero .usb-wrap > div:first-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}
.usb-hero .usb-wrap > div:first-child > * {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	max-width: 100%;
}
.usb-hero .usb-wrap > div:first-child > * + * { margin-top: 1.45rem !important; }

.usb-btns,
.usb-hero .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: .85rem 1rem;
	width: 100%;
	margin: 0 !important;
	position: static;
}
.usb-btns .wp-block-button,
.usb-hero .wp-block-buttons .wp-block-button {
	flex: 0 1 auto;
	max-width: 100%;
	margin: 0 !important;
}
.usb-btns .wp-block-button__link,
.usb-hero .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	height: auto;
	line-height: 1.25;
	white-space: normal;
	text-align: center;
	position: static;
}
.usb-hero .usb-note { margin-top: 1.65rem !important; }
@media (max-width: 620px) {
	.usb-btns .wp-block-button,
	.usb-hero .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.usb-btns .wp-block-button__link,
	.usb-hero .wp-block-button__link { width: 100%; }
}

/* ---- 21.2 footer: brand + four link columns --------------------------- */
.usb-foot-inner {
	grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 1fr));
	align-items: start;
}
@media (max-width: 1180px) {
	.usb-foot-inner { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .usb-foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .usb-foot-inner { grid-template-columns: 1fr; } }

.usb-foot-area { display: grid; gap: .42rem; }
.usb-foot-area a { color: var(--usb-on-dark-2); }
.usb-foot-area a:hover { color: var(--usb-copper); }
.usb-foot-col--area { padding-top: 0; }

/* =========================================================================
   22. v1.4.7 — type stack: Space Grotesk + JetBrains Mono
   Families, weights, tracking steps and the stylistic-set feature flags are
   lifted from the reference build's own CSS (--font-display and --font-geist
   both resolve to "Space Grotesk", --font-mono to "JetBrains Mono"; body sets
   font-feature-settings:"ss01","cv11"; headings run 700, secondary 600,
   labels 500, and mono carries tabular figures). Self-hosted, two subset
   files per family, no request to fonts.googleapis.com.
   ========================================================================= */
:root {
	--usb-sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--usb-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html, body {
	font-family: var(--usb-sans);
	font-feature-settings: "ss01", "cv11";
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Space Grotesk is wide on the cap; pull the display sizes back a touch so the
   hero still breaks into four lines at 1440px. */
h1, h2, h3, h4, h5, h6,
.wp-block-heading, .usb-logo-type, .usb-panel-label {
	font-family: var(--usb-sans);
	font-feature-settings: "ss01", "cv11";
}
h1 { font-weight: 700; letter-spacing: -.042em; }
h2 { font-weight: 700; letter-spacing: -.038em; }
h3 { font-weight: 600; letter-spacing: -.022em; }
h4 { font-weight: 600; }

.usb-lead, p, li, label, input, select, textarea, button {
	font-family: var(--usb-sans);
}
.usb-eyebrow, .usb-chip, .usb-card-link, .usb-note--mono,
.usb-panel-label, .usb-live, .usb-foot-col h3, .mega-idx,
.usb-signal-v, .usb-step-n, .usb-row-n {
	font-family: var(--usb-mono);
	font-variant-numeric: tabular-nums;
}

/* mono labels keep the reference's wide tracking */
.usb-eyebrow { letter-spacing: .22em; font-weight: 500; }
.usb-foot-col h3 { letter-spacing: .2em; font-weight: 600; }
.usb-chip { letter-spacing: .16em; font-weight: 500; }

/* numerals that should not shift between states */
.usb-signal-v, .usb-panel-label, .mega-idx, .usb-ico { font-variant-numeric: tabular-nums; }

/* buttons: reference runs 600 at button size, not 700 */
.usb-btn, .wp-block-button__link, .usb-submit button {
	font-family: var(--usb-sans);
	font-weight: 600;
	letter-spacing: .01em;
}

/* space grotesk needs a hair more line-height than the previous face at body size */
body p, .usb-card p, .usb-faq details p, .usb-steps p, .usb-row p {
	line-height: 1.7;
}
.usb-hero h1 { letter-spacing: -.045em; }

/* =========================================================================
   23. v1.4.8 — blocker pass
   ========================================================================= */

/* ---- B2: inner pages had no side gutter --------------------------------
   Only `.usb-section` carried the padding, and the service/about/industry
   pages build from `.usb-row`, `.usb-band` and `.usb-page-head` instead, so
   their content started at x=0 and the CTA headings were clipped at both
   edges. Every inner-page wrapper now shares the same measure as a section:
   full-bleed band, one 1240px column, identical gutter.                    */
:root {
	--usb-gutter: clamp(1.25rem, 5vw, 4rem);
	/* ---- one spacing scale, used by every section on every page ---- */
	--usb-section-pad: clamp(6.5rem, 10vw, 11.5rem);
	--usb-section-pad-tight: clamp(4.75rem, 7vw, 8rem);
	--usb-band-pad: clamp(5.5rem, 8.5vw, 9.5rem);
	--usb-hero-pad: clamp(6rem, 9vw, 9.5rem);
	--usb-head-pad-top: clamp(4.5rem, 7vw, 7.5rem);
	--usb-head-pad-bottom: clamp(2.5rem, 4vw, 4rem);
	--usb-card-pad: clamp(2rem, 2.5vw, 2.75rem);
	--usb-card-gap: clamp(1.5rem, 2.2vw, 2.25rem);
	--usb-row-pad: clamp(2.35rem, 3.4vw, 3.25rem);
	--usb-head-gap: clamp(2.75rem, 4.5vw, 4.5rem);
}

.usb-page-head,
.usb-rows,
.usb-band,
.usb-band-inner,
.usb-legal-page,
.usb-main > .usb-rows {
	padding-inline: var(--usb-gutter);
}
.usb-page-head > *,
.usb-rows > *,
.usb-band > * {
	max-width: 1240px;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}
.usb-band-inner { max-width: 1240px; margin-inline: auto; padding-inline: 0; }
.usb-band.usb-band--cta h2 { max-width: 26ch; }
.usb-band h1, .usb-band h2 { text-wrap: balance; }

/* the legal pages: prose column, not full bleed */
.usb-legal-page { max-width: none; }
.usb-legal-page .usb-page-head h1,
.usb-legal-page .wp-block-post-content { max-width: 78ch; margin-inline: auto; }

/* ---- B6: legal placeholder styling (visible if any marker survives) ---- */
.usb-marker {
	background: #FBE9E5;
	border-bottom: 1px solid var(--usb-red);
	color: #8A2B21;
	padding: 0 .2em;
	border-radius: 2px;
}

/* ---- S1: request form must breathe on desktop ------------------------- */
.usb-request-wrap {
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 3.5vw, 3.5rem);
	align-items: start;
}
@media (max-width: 1080px) { .usb-request-wrap { grid-template-columns: 1fr; } }

.usb-request {
	padding: clamp(1.5rem, 2.4vw, 2.25rem);
	border-radius: 14px;
}
/* a card ~460px wide cannot hold two usable selects side by side */
.usb-request .usb-grid-2,
.usb-request .usb-request-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.1rem;
}
@media (min-width: 1320px) {
	.usb-request .usb-grid-2 { grid-template-columns: 1fr 1fr; }
}
.usb-request label { font-size: .9375rem; font-weight: 500; margin-bottom: .45rem; display: block; }
.usb-request input[type="text"],
.usb-request input[type="email"],
.usb-request select,
.usb-request textarea {
	width: 100%;
	min-height: 50px;
	padding: .8rem .9rem;
	font-size: 1rem;
	border-radius: 8px;
}
.usb-request textarea { min-height: 132px; resize: vertical; }
.usb-consent {
	grid-template-columns: 22px minmax(0,1fr);
	gap: .75rem;
	font-size: .875rem;
	line-height: 1.55;
	align-items: start;
}
.usb-consent input[type="checkbox"] { width: 22px; height: 22px; margin-top: .1rem; }
.usb-submit { width: 100%; min-height: 52px; border-radius: 8px; }

/* ---- S2: small copper labels need AA -------------------------------- */
:root { --usb-copper-text: #A05423; }   /* 4.86:1 on paper, 4.62:1 on white */
.usb-eyebrow,
.usb-card-link,
.usb-page-head .usb-eyebrow,
.usb-sec-head .usb-eyebrow,
.usb-band .usb-eyebrow,
.usb-hero .usb-eyebrow {
	color: var(--usb-copper-text);
}
.usb-card-link { color: var(--usb-copper-text); }
/* fills, rules and hover states keep the brighter copper */
.usb-btn--copper, .wp-block-button__link, .usb-chip--copper { color: var(--usb-black); }


/* =========================================================================
   22. v1.4.9 — card label + heading scale, industry names, form padding,
       seven-item nav row
   ========================================================================= */

/* 22.1 label chips: 13px bold on every card, What we do and Five services.
   The previous .6875rem caps read as fine print above a 26px heading. */
.usb-card .usb-chip {
	font-size: .8125rem;          /* 13px */
	font-weight: 700;
	letter-spacing: .1em;
	padding: .42rem .8rem;
	line-height: 1.1;
}
.usb-card .usb-ico {
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .02em;
}

/* 22.2 the blurbs' headings: bold, one step up from 22-27px to 24-30px.
   Applies to the three problem cards and all five service cards at once. */
.usb-card h3,
.usb-card .wp-block-heading {
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -.024em;
}

/* 22.3 industry names: was a rounded pill. Now plain bold type, larger than
   the body copy, sitting directly above the card heading. */
.usb-card .usb-ind-name {
	margin: 0 0 .15rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-family: var(--usb-sans);
	font-size: clamp(1.3125rem, 1.6vw, 1.5rem);   /* 21-24px */
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.015em;
	color: var(--usb-black);
	white-space: normal;
	max-width: none;
}

/* 22.4 request form: the pattern wrapped the form in a second bordered card,
   so the padding doubled from ~36px to ~72px. One box, one padding. */
.usb-card--form,
.usb-card[class*="usb-card--form"] {
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	gap: 0;
}
.usb-card--form:hover { transform: none; box-shadow: none; border: 0; }
.usb-card--form > .usb-request { border-radius: 14px; }

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

.usb-request { padding: clamp(1.6rem, 2.6vw, 2.6rem); }
.usb-request form { gap: 1.15rem; }
.usb-request .usb-grid-2 { column-gap: 1.25rem; row-gap: 1.15rem; }
.usb-request .usb-field { gap: .42rem; min-width: 0; }
.usb-request .usb-field label { margin: 0; padding: 0; line-height: 1.3; }
.usb-request .usb-field input,
.usb-request .usb-field select,
.usb-request .usb-field textarea { padding: .85rem 1rem; }
.usb-request .usb-field textarea { padding: 1rem; min-height: 148px; }
.usb-request .usb-consent {
	margin: .35rem 0 0;
	padding: 0;
	column-gap: .85rem;
	align-items: start;
}
.usb-request .usb-submit { margin-top: .5rem; }
.usb-request .usb-note { margin: .1rem 0 0; }
.usb-request-wrap > .usb-notice { grid-column: 1 / -1; margin-bottom: 0; }

@media (max-width: 620px) {
	.usb-request { padding: 1.15rem; }
	.usb-request .usb-field input,
	.usb-request .usb-field select,
	.usb-request .usb-field textarea { padding: .8rem .85rem; }
	.usb-request .usb-field textarea { min-height: 128px; }
	.usb-card .usb-chip { font-size: .8125rem; padding: .4rem .7rem; }
}

/* 22.5 seven items in the nav row: Automation and Media were added, so the
   horizontal padding tightens until the row has room to breathe again. */
.usb-nav-link,
.usb-drop-btn { padding-inline: .46rem; }
@media (min-width: 1440px) {
	.usb-nav-link,
	.usb-drop-btn { padding-inline: .62rem; }
}
@media (min-width: 1600px) {
	.usb-nav-link,
	.usb-drop-btn { padding-inline: .78rem; }
}

/* 22.6 the small mono label above each section ("What we do", "Five
   services") matches the cards: 14px, bold, still tracked out. */
.usb-sec-head .usb-eyebrow,
.usb-page-head .usb-eyebrow,
.usb-hero .usb-eyebrow {
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.1;
}
@media (max-width: 620px) {
	.usb-sec-head .usb-eyebrow,
	.usb-page-head .usb-eyebrow { font-size: .8125rem; font-weight: 700; }
}


/* =========================================================================
   23. v1.4.10 — one spacing system for every page

   The spacing used to be declared wherever a section happened to be written:
   .usb-section had four different padding values across four blocks, cards
   had three, and the grids had three. That is why pages did not line up.
   Everything below reads from the tokens in :root, so a change is one edit.
   ========================================================================= */

/* 23.1 section rhythm ---------------------------------------------------- */
.usb-section {
	padding-block: var(--usb-section-pad) !important;
	padding-inline: 0;
	margin-block: 0;
}
.usb-section--tight {
	padding-block: var(--usb-section-pad-tight) !important;
}
.usb-band {
	padding-block: var(--usb-band-pad) !important;
	padding-inline: 0;
}
.usb-hero {
	padding-block: var(--usb-hero-pad) !important;
}
.usb-page-head {
	padding-block: var(--usb-head-pad-top) var(--usb-head-pad-bottom) !important;
	padding-inline: 0;
}
.usb-rows { padding-bottom: var(--usb-section-pad-tight) !important; }
.usb-row {
	padding-block: var(--usb-row-pad) !important;
	padding-inline: 0;
	column-gap: clamp(1.75rem, 3vw, 3rem);
}

/* two adjacent dark bands must not touch: the band above already carries its
   own padding, so only the seam between same-coloured sections needs help */
.usb-section + .usb-section:not([class*="background-color"]) { padding-top: 0 !important; }
.usb-band + .usb-band { padding-top: 0 !important; }

/* 23.2 section headers: same distance from the heading block to the grid on
   every page, and the right-hand lead never floats short of the baseline */
.usb-sec-head {
	margin-bottom: var(--usb-head-gap) !important;
	gap: clamp(1.5rem, 2.5vw, 2.5rem) clamp(2rem, 4vw, 4.5rem);
	align-items: end;
}
.usb-sec-head > div > *:first-child { margin-top: 0; }
.usb-sec-head > div > *:last-child { margin-bottom: 0; }
.usb-sec-head .usb-lead { margin-block: 0; align-self: end; }

/* 23.3 headings and copy inside sections: one vertical rhythm ------------- */
.usb-section h2,
.usb-band h2,
.usb-page-head h1 { margin-block: 0 .9rem; }
.usb-section h2 + .usb-lead,
.usb-band h2 + .usb-lead { margin-top: 0; }
.usb-section p,
.usb-band p { margin-block: 0 1.05rem; }
.usb-section p:last-child,
.usb-band p:last-child { margin-bottom: 0; }
.usb-section .usb-lead + .usb-btns,
.usb-band .usb-lead + .usb-btns { margin-top: clamp(1.75rem, 2.5vw, 2.5rem); }

/* 23.4 the blurbs: equal boxes, equal gutters, CTA on the floor ----------- */
.usb-grid,
.usb-grid--2,
.usb-grid--3,
.usb-grid--4 {
	gap: var(--usb-card-gap) !important;
	grid-auto-rows: 1fr;
	align-items: stretch;
}
.usb-grid > .usb-card,
.usb-grid > .wp-block-group,
.usb-grid > * {
	box-sizing: border-box;
	height: 100%;
	min-width: 0;
}
.usb-card:not(.usb-card--form) {
	box-sizing: border-box;
	height: 100%;
	min-height: 100%;
	padding: var(--usb-card-pad) !important;
	display: flex !important;
	flex-direction: column;
	gap: .9rem;
	justify-content: flex-start;
}
.usb-card:not(.usb-card--form) > * { margin-block: 0; }
/* the label row hugs the top, the link sits on the bottom edge of every card
   in the row whether that card is two lines long or six */
.usb-card .usb-card-top { margin-bottom: .1rem; flex: 0 0 auto; }
.usb-card .usb-ind-name { flex: 0 0 auto; }
.usb-card p:not(.usb-card-link):not(.usb-ind-name) { flex: 0 1 auto; }
.usb-card > .usb-card-link:last-child,
.usb-card > .wp-block-buttons:last-child {
	margin-top: auto !important;
	padding-top: 1.35rem;
}
.usb-card h3,
.usb-card .wp-block-heading { margin-block: 0 .55rem; }

/* 23.5 the non-card column shapes get the same padding language ---------- */
.usb-outcome { padding: var(--usb-card-pad) !important; }
.usb-notice--plain { padding: 1.15rem 1.35rem !important; }
.usb-faq summary { padding-block: 1.35rem !important; }

/* 23.6 vertical padding on the wide screen must not collapse -------------- */
@media (min-width: 1500px) {
	:root { --usb-container: 1240px; --usb-gutter: clamp(2rem, 4vw, 4.5rem); }
}
@media (max-width: 900px) {
	:root {
		--usb-section-pad: clamp(4rem, 11vw, 6rem);
		--usb-section-pad-tight: clamp(3.25rem, 9vw, 4.75rem);
		--usb-band-pad: clamp(3.5rem, 10vw, 5.5rem);
		--usb-hero-pad: clamp(3.75rem, 11vw, 6rem);
		--usb-head-pad-top: clamp(3.25rem, 9vw, 4.75rem);
		--usb-head-pad-bottom: clamp(2rem, 6vw, 3rem);
		--usb-card-pad: clamp(1.5rem, 4.5vw, 2rem);
		--usb-card-gap: clamp(1.1rem, 4vw, 1.6rem);
		--usb-row-pad: clamp(1.9rem, 6vw, 2.6rem);
		--usb-head-gap: clamp(2rem, 6vw, 3rem);
	}
	.usb-sec-head { align-items: start; }
}
@media (max-width: 560px) {
	:root {
		--usb-section-pad: 3.5rem;
		--usb-section-pad-tight: 2.75rem;
		--usb-band-pad: 3.25rem;
		--usb-hero-pad: 3rem;
		--usb-card-pad: 1.4rem;
		--usb-card-gap: 1rem;
	}
	.usb-row { grid-template-columns: 1fr !important; row-gap: .6rem; }
	.usb-row .usb-eyebrow { padding-top: 0; }
}


/* =========================================================================
   24. v1.4.11 — contact information block (second section on /contact/)

   Reference layout: copy on the left, a bordered panel of icon + label +
   value rows on the right. Built on the same spacing tokens as every other
   section, so it cannot drift from the rest of the site.
   ========================================================================= */
.usb-contact-info-sec { border-top: 1px solid var(--usb-line); }

.usb-contact-info {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: var(--usb-card-gap) clamp(2rem, 4vw, 4.5rem);
	align-items: center;
}
.usb-contact-copy > *:first-child { margin-top: 0; }
.usb-contact-copy h2 { margin-block: 0 .9rem; }
.usb-contact-copy .usb-lead { margin: 0 0 1.15rem; max-width: 46ch; }
.usb-contact-copy .usb-note { margin: 0; max-width: 46ch; color: #55554E; font-size: .9375rem; line-height: 1.6; }

/* the panel ------------------------------------------------------------- */
.usb-info-card {
	box-sizing: border-box;
	background: var(--usb-white);
	border: 1px solid var(--usb-line);
	border-radius: 14px;
	padding: var(--usb-card-pad);
	box-shadow: 0 1px 2px rgba(10,17,32,.04);
}
.usb-info-list { display: grid; gap: .2rem; }

.usb-info-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 1.1rem;
	align-items: center;
	padding-block: 1.15rem;
}
.usb-info-item + .usb-info-item { border-top: 1px solid var(--usb-line); }
.usb-info-item:first-child { padding-top: .35rem; }
.usb-info-item:last-child { padding-bottom: .35rem; }

/* icon: rounded copper tint square, thin outline glyph — the reference's
   coral badge, translated into the brand palette */
.usb-info-ico {
	width: 46px; height: 46px;
	flex: 0 0 auto;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(196,112,60,.13);
	border: 1px solid rgba(196,112,60,.22);
	color: var(--usb-copper-text);
}
.usb-info-ico svg { display: block; width: 20px; height: 20px; }
.usb-info-item:hover .usb-info-ico { background: rgba(196,112,60,.2); }

.usb-info-body { min-width: 0; }
.usb-info-label {
	margin: 0 0 .3rem !important;
	font-family: var(--usb-mono);
	font-size: .75rem; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--usb-muted);
	line-height: 1;
}
.usb-info-value {
	margin: 0 !important;
	font-size: 1.0625rem; font-weight: 600; line-height: 1.3;
	color: var(--usb-black);
	letter-spacing: -.008em;
	overflow-wrap: anywhere;
}
.usb-info-value--mail { font-size: clamp(1.1875rem, 1.7vw, 1.375rem); font-weight: 700; }
.usb-info-value a { color: var(--usb-black); text-decoration: none; border-bottom: 1px solid rgba(196,112,60,.45); padding-bottom: 1px; }
.usb-info-value a:hover,
.usb-info-value a:focus-visible { color: var(--usb-copper-text); border-bottom-color: var(--usb-copper-text); }

@media (max-width: 900px) {
	.usb-contact-info { grid-template-columns: 1fr; align-items: start; }
	.usb-contact-copy .usb-lead { max-width: none; }
	.usb-info-item { column-gap: .9rem; padding-block: 1rem; }
	.usb-info-ico { width: 42px; height: 42px; border-radius: 11px; }
}
@media (max-width: 480px) {
	.usb-info-item { grid-template-columns: 1fr; row-gap: .7rem; }
	.usb-info-ico { width: 40px; height: 40px; }
}


/* =========================================================================
   25. v1.4.12 — hardened equal-height cards (works on BOTH markup shapes)

   The live site renders cards as WordPress Columns:
     <div class="wp-block-columns usb-cards"> <div class="wp-block-column">
       <div class="wp-block-group usb-card">...
   while the newest patterns render them as a plain CSS grid (.usb-grid).
   Every rule below targets both, and uses :last-child rather than a named
   CTA class, so no card can drop out of the equalisation.
   ========================================================================= */

/* 25.1 the container stretches its items ------------------------------- */
.usb-grid,
.usb-grid--2,
.usb-grid--3,
.usb-grid--4 {
	align-items: stretch !important;
	grid-auto-rows: 1fr;
}
.wp-block-columns.usb-cards,
.usb-cards {
	align-items: stretch !important;
}
.usb-cards > .wp-block-column {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

/* 25.2 every card is a stretched flex column --------------------------- */
.usb-grid > .usb-card,
.usb-grid > * > .usb-card,
.usb-cards .usb-card,
.wp-block-columns.usb-cards .usb-card {
	box-sizing: border-box;
	flex: 1 1 auto;
	height: 100% !important;
	min-height: 100%;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-self: stretch !important;
}
.usb-grid > .usb-card > *,
.usb-cards .usb-card > * { margin-block: 0; }

/* 25.3 the final child of the card sits on the floor -------------------- */
.usb-grid > .usb-card > *:last-child,
.usb-grid > .usb-card > p:last-child,
.usb-cards .usb-card > *:last-child,
.usb-cards .usb-card > p:last-child {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 1.15rem;
}
/* a heading or a paragraph must not be mistaken for the CTA */
.usb-grid > .usb-card > *:last-child:is(h2, h3, h4),
.usb-cards .usb-card > *:last-child:is(h2, h3, h4) {
	margin-top: 0 !important;
	padding-top: 0;
}

/* 25.4 nothing may re-break it at the smaller widths ------------------- */
@media (max-width: 900px) {
	.usb-cards { flex-wrap: wrap; }
	.usb-cards > .wp-block-column { flex-basis: 48% !important; }
	.usb-grid > .usb-card,
	.usb-cards .usb-card { height: 100% !important; min-height: 0; }
}
@media (max-width: 620px) {
	.usb-cards { flex-direction: column !important; }
	.usb-cards > .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
	.usb-grid,
	.usb-grid--2,
	.usb-grid--3 { grid-auto-rows: auto; }
	.usb-grid > .usb-card,
	.usb-cards .usb-card { height: auto !important; }
	.usb-grid > .usb-card > *:last-child,
	.usb-cards .usb-card > *:last-child { padding-top: 1rem; }
}


/* =========================================================================
   26. v1.4.13 — blurb alignment: width, label band, heading reservation
   ========================================================================= */

/* 26.1 the sections were being clamped to the old 760px content width, which
   is why the cards sat in the middle of the page in a narrow strip. The
   column is 1240px from here on, on every page. */
.usb-section.is-layout-constrained,
.usb-section .is-layout-constrained,
.usb-section > .is-layout-constrained,
.is-layout-constrained > .usb-grid,
.wp-block-columns.usb-cards {
	max-width: 1240px !important;
	width: 100% !important;
	margin-inline: auto !important;
}

/* 26.2 the label row is a fixed band, so the heading below it starts at the
   same y in every card of a row */
.usb-card > .usb-card-top,
.usb-card > :first-child {
	min-height: 46px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	flex: 0 0 auto;
}
.usb-card > .usb-ind-name { min-height: 0; }

/* 26.3 every heading reserves two lines. A one-line title and a two-line
   title now put their body copy on the same baseline. */
.usb-card > :is(h1, h2, h3, h4) {
	min-height: 2.32em;
	display: flex;
	align-items: flex-start;
	flex: 0 0 auto;
	text-wrap: balance;
	hyphens: none;
}

/* 26.4 second guard on the CTA, in case a card loses its class */
.usb-card > *:last-child:not(:is(h1, h2, h3, h4)) {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 1.15rem;
	flex: 0 0 auto;
}

@media (max-width: 620px) {
	.usb-card > :is(h1, h2, h3, h4) { min-height: 0; }
	.usb-card > .usb-card-top, .usb-card > :first-child { min-height: 40px; }
}

/* =========================================================================
   27. v1.4.14 — footer "Service area": one line per link
   Each link is a place name + city; wrapping to "Evanston," / "IL" looked
   broken. Locks every row to a single line, gives the column the intrinsic
   width it needs at desktop, and steps the type down on narrow screens so
   nothing clips or forces a horizontal scrollbar.
   ========================================================================= */
.usb-foot-col--area { min-width: 0; }
.usb-foot-col--area .usb-foot-area { display: grid; gap: .42rem; min-width: 0; }
.usb-foot-col--area .usb-foot-area li { min-width: 0; }

.usb-foot-col--area .usb-foot-area a {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;   /* safety net only: never reached at these widths */
	word-break: keep-all;
	hyphens: none;
	font-size: clamp(.8438rem, .78rem + .14vw, .9688rem);
	letter-spacing: .006em;
	line-height: 1.55;
}

/* Desktop: reserve the room the longest line actually needs */
@media (min-width: 1181px) {
	.usb-foot-inner {
		grid-template-columns:
			minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)) minmax(11.75rem, max-content);
	}
}

/* 1180px and below: the grid drops to 3 then 2 columns, each already wide.
   Only the type needs a nudge. */
@media (max-width: 1180px) {
	.usb-foot-col--area .usb-foot-area a { font-size: .9rem; }
}
@media (max-width: 620px) {
	.usb-foot-col--area .usb-foot-area a { font-size: .875rem; letter-spacing: .01em; }
}

/* =========================================================================
   28. v1.4.15 — footer service area: no truncation at any width
   The 3-column footer grid (1181px → 760px) left this column ~180px, so the
   nowrap rule fell back to an ellipsis on "Review Automation Evanston, IL".
   Below 1180px the grid now goes straight to 2 columns with the brand on its
   own row, which gives the longest label ~330px at 768px wide.
   ========================================================================= */
@media (max-width: 1180px) {
	.usb-foot-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 2rem;
	}
	.usb-foot-brand { grid-column: 1 / -1; }
	.usb-foot-col--area .usb-foot-area a { font-size: .875rem; letter-spacing: 0; }
}
@media (max-width: 760px) {
	.usb-foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.usb-foot-inner { grid-template-columns: 1fr; }
	.usb-foot-brand { grid-column: auto; }
	.usb-foot-col--area .usb-foot-area a { font-size: .8438rem; }
}

/* =========================================================================
   29. v1.4.16 — single-column CTA band: centre the text
   Service pages end with `.usb-band` (dark strip, h2 + one button). In a
   constrained group the heading inherits left alignment and a 26ch measure,
   so it hugged the left edge with dead space on the right. Centred here.
   The two-column variant `.usb-band-inner` is excluded so nothing else moves.
   ========================================================================= */
.usb-band:not(:has(.usb-band-inner)) { text-align: center; }

.usb-band:not(:has(.usb-band-inner)) > :is(h1, h2) {
	max-width: 30ch;
	margin-inline: auto;
	text-wrap: balance;
}

.usb-band:not(:has(.usb-band-inner)) > p {
	max-width: 54ch;
	margin-inline: auto;
}

.usb-band:not(:has(.usb-band-inner)) > .wp-block-buttons,
.usb-band:not(:has(.usb-band-inner)) .wp-block-buttons {
	justify-content: center;
}

.usb-band:not(:has(.usb-band-inner)) > .wp-block-buttons { margin-top: clamp(1.75rem, 2.5vw, 2.35rem); }

@media (max-width: 620px) {
	.usb-band:not(:has(.usb-band-inner)) > :is(h1, h2) { max-width: 22ch; }
	.usb-band:not(:has(.usb-band-inner)) > .wp-block-buttons { justify-content: center; }
	/* full-width button, but never wider than the band: the 100% link plus its
	   own horizontal padding was overflowing the strip and widening the page */
	.usb-band:not(:has(.usb-band-inner)) > * { max-width: 100%; box-sizing: border-box; }
	.usb-band:not(:has(.usb-band-inner)) .wp-block-buttons { width: 100%; max-width: 100%; }
	.usb-band:not(:has(.usb-band-inner)) .wp-block-button {
		width: 100%; max-width: 22rem; margin-inline: auto;
	}
	.usb-band:not(:has(.usb-band-inner)) .wp-block-button__link {
		width: 100%; max-width: 100%; box-sizing: border-box; text-align: center;
	}
}


/* =========================================================================
   30. v1.4.18 — card blurbs: one baseline for every body, CTAs only sink
   Root cause of the staggered body copy: the earlier safety rule
   `.usb-card > *:last-child { margin-top: auto }` also caught plain
   paragraphs, so in any grid where one heading wrapped to two lines the body
   text was pushed to the card floor and every card started its copy at a
   different height. Headings now reserve two lines, paragraphs stay put, and
   only a real link or button is pinned to the bottom edge.
   ========================================================================= */
.usb-grid,
.wp-block-columns.usb-cards {
	align-items: stretch !important;
}
.usb-grid {
	grid-auto-rows: 1fr !important;
}

.usb-grid > .usb-card,
.usb-cards > .wp-block-column > .usb-card {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	min-height: 100% !important;
	box-sizing: border-box;
}

/* headings reserve two lines so the paragraph beneath shares one baseline */
.usb-grid > .usb-card > :is(h2, h3),
.usb-cards .usb-card > :is(h2, h3) {
	min-height: 2.4em;
	display: flex;
	align-items: flex-start;
	margin: 0 0 .8rem;
	flex: 0 0 auto;
}

/* a paragraph never sinks: copy stays directly under its heading */
.usb-card > p:last-child,
.usb-card > p {
	margin-top: 0 !important;
}

/* only these may be pinned to the card floor */
.usb-card > .usb-card-link:last-child,
.usb-card > a:last-child,
.usb-card > .wp-block-buttons:last-child {
	margin-top: auto !important;
	padding-top: 1.15rem;
}

@media (max-width: 620px) {
	.usb-grid > .usb-card > :is(h2, h3),
	.usb-cards .usb-card > :is(h2, h3) { min-height: 0; }
}


/* =========================================================================
   31. v1.4.19 — five-card grids and the single-column CTA band
   The Media page ships five cards into a three-column grid, so the second
   row ended two-thirds across and the block read as unfinished. The widow is
   centred here. The dark band that closes every page also gets one aligned
   rhythm: centred copy, even inline padding, and spacing that does not
   depend on whatever margins the blocks inherited.
   ========================================================================= */

/* ---- 31.1 five cards: three up, then the pair centred, same width ------- */
@media (min-width: 981px) {
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	}
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) > .usb-card {
		grid-column: span 2 !important;
	}
	/* cards 4 and 5 shift in one column each side: same size as row 1, centred */
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) > .usb-card:nth-child(4) {
		grid-column: 2 / span 2 !important;
	}
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) > .usb-card:nth-child(5) {
		grid-column: 4 / span 2 !important;
	}
}

@media (min-width: 641px) and (max-width: 980px) {
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) > .usb-card {
		grid-column: auto !important;
	}
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) > .usb-card:nth-child(5) {
		grid-column: 1 / -1 !important;
		width: calc(50% - (var(--usb-card-gap, 1.5rem) / 2)) !important;
		justify-self: center;
		margin-inline: auto !important;
	}
}

@media (max-width: 640px) {
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.usb-grid--3:has(> .usb-card:nth-child(5):last-child) > .usb-card {
		grid-column: auto !important;
		width: auto !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
	}
}

/* ---- 31.2 card interiors: nothing floats, one gap ---------------------- */
.usb-grid > .usb-card,
.wp-block-columns.usb-cards .usb-card {
	justify-content: flex-start !important;
	gap: 0 !important;
}
.usb-card > :is(h2, h3) + :is(p, .usb-lead) { margin-top: 0 !important; }
.usb-card > p:last-child { margin-bottom: 0 !important; }

/* ---- 31.3 single-column CTA band: centred and evenly padded ------------ */
.usb-band:not(:has(.usb-band-inner)) {
	text-align: center;
	padding-inline: var(--usb-gutter) !important;
	padding-block: clamp(4rem, 6.5vw, 7rem) !important;
}
.usb-band:not(:has(.usb-band-inner)) > * {
	margin-inline: auto !important;
	max-width: 62ch;
}
.usb-band:not(:has(.usb-band-inner)) > .usb-eyebrow {
	max-width: none !important;
	margin-bottom: 1.1rem !important;
}
.usb-band:not(:has(.usb-band-inner)) > :is(h1, h2) {
	max-width: 32ch !important;
	margin-bottom: 1.35rem !important;
	text-wrap: balance;
}
.usb-band:not(:has(.usb-band-inner)) > :is(p, .usb-lead) {
	max-width: 56ch !important;
	margin-bottom: 0 !important;
}
.usb-band:not(:has(.usb-band-inner)) > .wp-block-buttons {
	max-width: none !important;
	margin-top: clamp(2rem, 3vw, 2.75rem) !important;
	justify-content: center;
}
@media (max-width: 620px) {
	.usb-band:not(:has(.usb-band-inner)) > :is(h1, h2) { max-width: 24ch !important; }
}

/* 32. v1.4.19a — the reserved heading band holds the baseline without leaving a
   conspicuous hole under a one-line title: the text sits centred in the band. */
.usb-grid > .usb-card > :is(h2, h3),
.usb-cards .usb-card > :is(h2, h3) {
	min-height: 2.35em;
	align-items: center !important;
	margin-bottom: .7rem !important;
}


/* =========================================================================
   33. v1.4.21 — case-study frames and the closing band
   The Our work cards carried their sector name inside a small chip, so the
   only "heading" a reader saw was tiny caps that also ran past the card edge.
   Each frame now has a real card heading, centred inside the frame, using the
   same type scale as every other card on the site. The band is centred with
   its own padding instead of inheriting whatever the blocks carried in.
   ========================================================================= */

.usb-card--case {
	text-align: center !important;
	align-items: stretch !important;
}
.usb-card--case > .usb-chip {
	margin-inline: auto !important;
	justify-content: center !important;
	max-width: 100%;
	box-sizing: border-box;
	white-space: normal;
}
.usb-card--case > :is(h2, h3) {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	justify-content: center !important;
	text-align: center !important;
	overflow-wrap: anywhere;
	hyphens: none;
	margin: 0 auto .8rem !important;
	/* same scale as every other card heading */
	font-size: clamp(1.375rem, 1.9vw, 1.6875rem);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.012em;
}
.usb-card--case > p {
	max-width: 100%;
	margin-inline: auto !important;
}
.usb-card--case > .usb-note:last-child,
.usb-card--case > p:last-child {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 1.25rem;
}

/* the band: one centred column, even breathing room on all four sides */
.usb-band:not(:has(.usb-band-inner)) {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: auto !important;
	padding-inline: clamp(1.5rem, 6vw, 4.5rem) !important;
	padding-block: clamp(4rem, 6.5vw, 7rem) !important;
}
.usb-band:not(:has(.usb-band-inner)) > * {
	width: 100%;
	max-width: 58ch !important;
	margin-inline: auto !important;
	margin-block: 0 !important;
}
.usb-band:not(:has(.usb-band-inner)) > .usb-eyebrow { max-width: none !important; margin-bottom: 1.15rem !important; }
.usb-band:not(:has(.usb-band-inner)) > :is(h1, h2) { max-width: 30ch !important; margin-bottom: 1.3rem !important; text-wrap: balance; }
.usb-band:not(:has(.usb-band-inner)) > :is(p, .usb-lead) { max-width: 54ch !important; }
.usb-band:not(:has(.usb-band-inner)) > .wp-block-buttons {
	max-width: none !important;
	margin-top: clamp(2rem, 3vw, 2.6rem) !important;
	justify-content: center !important;
}
@media (max-width: 620px) {
	.usb-band:not(:has(.usb-band-inner)) > :is(h1, h2) { max-width: 24ch !important; }
	.usb-band:not(:has(.usb-band-inner)) { padding-inline: 1.35rem !important; }
}


/* =========================================================================
   34. v1.4.22 — the closing band's eyebrow reads as a heading, not a caption
   "No vanity metrics" carried the uppercase micro-caption scale (.7rem) that
   suits a section label above body copy, but in the dark closing band it is
   the first thing a reader meets. It now takes a readable label size, heavier
   weight and looser tracking, centred on the band's midline with its own
   margin so the heading below keeps its distance. Scoped to the band, so no
   other eyebrow anywhere on the site changes.
   ========================================================================= */

.usb-band:not(:has(.usb-band-inner)) > .usb-eyebrow,
.usb-band:not(:has(.usb-band-inner)) > p.usb-eyebrow {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	box-sizing: border-box;
	font-size: clamp(1.0625rem, 1.35vw, 1.25rem) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: .155em !important;
	text-transform: uppercase;
	text-align: center !important;
	text-indent: .155em; /* balances the trailing letter-space of the last glyph */
	margin-inline: auto !important;
	margin-block: 0 1.4rem !important;
	padding: 0 !important;
	color: var(--usb-copper) !important;
	white-space: normal;
	text-wrap: balance;
}

/* keep the decorative rule off this one; the copper colour carries it */
.usb-band:not(:has(.usb-band-inner)) > .usb-eyebrow::before {
	display: none !important;
	content: none !important;
}

@media (max-width: 900px) {
	.usb-band:not(:has(.usb-band-inner)) > .usb-eyebrow,
	.usb-band:not(:has(.usb-band-inner)) > p.usb-eyebrow {
		font-size: 1rem !important;
		letter-spacing: .14em !important;
		text-indent: .14em;
		margin-block: 0 1.25rem !important;
	}
}

@media (max-width: 560px) {
	.usb-band:not(:has(.usb-band-inner)) > .usb-eyebrow,
	.usb-band:not(:has(.usb-band-inner)) > p.usb-eyebrow {
		font-size: .9375rem !important;
		letter-spacing: .115em !important;
		text-indent: .115em;
		margin-block: 0 1.15rem !important;
	}
}


/* =========================================================================
   35. v1.4.23 — the request form gets the width it needs, and a direct-email
   card sits beside it.
   The old .usb-request-wrap split the row .85fr / 1.15fr because it shared a
   grid with the three-step copy; rendered alone on /contact/ that left the
   form in roughly 40% of the column and squeezed two-up fields into ~200px.
   The form now owns a full-width row with a single narrow companion card, and
   the card is the email-only "Contact information" blurb.
   ========================================================================= */

.usb-request-block {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	box-sizing: border-box;
}

.usb-request-solo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 20.5rem);
	gap: clamp(1.5rem, 2.8vw, 2.5rem);
	align-items: start;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	box-sizing: border-box;
}
@media (max-width: 1080px) { .usb-request-solo { grid-template-columns: 1fr; } }

/* the form itself: wider, calmer padding, and it stretches to the row */
.usb-request-block .usb-request {
	width: 100%;
	max-width: none;
	padding: clamp(1.75rem, 2.6vw, 2.75rem);
}
@media (min-width: 720px) {
	.usb-request-block .usb-request .usb-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ---- the email card ---------------------------------------------------- */
.usb-reach-card {
	box-sizing: border-box;
	width: 100%;
	background: #FFFFFF;
	border: 1px solid var(--usb-line);
	border-radius: 14px;
	padding: clamp(1.35rem, 2vw, 1.85rem);
	box-shadow: 0 1px 2px rgba(10,17,32,.05);
	align-self: start;
}
.usb-reach-eyebrow {
	margin: 0 0 .85rem;
	font-family: var(--usb-mono);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--usb-copper-text);
}
.usb-reach-lead {
	margin: 0 0 1.35rem;
	font-size: 1rem;
	line-height: 1.65;
	color: #45453E;
	max-width: none;
}
.usb-reach-mail {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: .9rem;
	padding: 1rem;
	border: 1px solid var(--usb-line);
	border-radius: 11px;
	background: #FBF8F3;
	text-decoration: none;
	color: inherit;
	transition: border-color .18s ease, background .18s ease;
}
.usb-reach-mail:hover,
.usb-reach-mail:focus-visible {
	border-color: rgba(196,112,60,.55);
	background: #FDF4EC;
}
.usb-reach-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: rgba(196,112,60,.14);
	color: var(--usb-copper-text);
}
.usb-reach-ico svg { display: block; }
.usb-reach-body { min-width: 0; display: block; }
.usb-reach-label {
	display: block;
	font-family: var(--usb-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #6E6E66;
	margin-bottom: .22rem;
}
.usb-reach-value {
	display: block;
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--usb-black);
	overflow-wrap: anywhere;
}
.usb-reach-note {
	margin: 1.15rem 0 0;
	font-size: .875rem;
	line-height: 1.6;
	color: #55554E;
}

/* the homepage already pairs the form with the three-step copy, so the card
   stays out of that layout */
.usb-request-wrap .usb-reach-card { display: none !important; }

@media (max-width: 620px) {
	.usb-request-block .usb-request { padding: 1.15rem; }
	.usb-reach-card { padding: 1.15rem; }
	.usb-reach-mail { grid-template-columns: 1fr; row-gap: .8rem; }
}


/* =========================================================================
   36. v1.4.24 — form rhythm and the submit button
   The form element itself carries .usb-request, so the old
   ".usb-request form { gap }" rule (written for a form nested inside a
   wrapper) never matched: every row sat flush against the one above it.
   The gap now applies to the form itself, and the button — which carries
   .usb-submit directly, not as a child — picks up the real colour, radius
   and full width instead of the browser's default grey.
   ========================================================================= */

form.usb-request {
	display: grid;
	gap: 1.15rem;
	align-content: start;
}
form.usb-request .usb-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.15rem 1.25rem;
	align-items: start;
}
@media (max-width: 719px) {
	form.usb-request .usb-grid-2 { grid-template-columns: 1fr; }
}

/* the button is .usb-submit itself */
form.usb-request button.usb-submit,
.usb-request-block button.usb-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: .95rem 1.5rem;
	border: 1px solid var(--usb-black);
	border-radius: 9px;
	background: var(--usb-black);
	color: var(--usb-on-dark);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -.005em;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
form.usb-request button.usb-submit:hover,
form.usb-request button.usb-submit:focus-visible {
	background: var(--usb-copper);
	border-color: var(--usb-copper);
	color: var(--usb-black);
}
form.usb-request button.usb-submit[disabled] {
	background: #6E6E66;
	border-color: #6E6E66;
	color: #F2EEE4;
	cursor: progress;
}

/* consent + note sit on the form's own grid, not tight against the button */
.usb-request .usb-consent { margin: .15rem 0 0; }
.usb-request p.usb-note { margin: 0; }


/* =========================================================================
   37. v1.4.25 — a card that ends in body copy, not a CTA
   The equalisation in section 25 pushed every card's last child to the floor
   (margin-top:auto). That is right when the last child is a link or a button,
   and wrong on the Automation page, where all three "What stays human" cards
   end in a paragraph: the copy was pinned to the bottom, so each card's body
   started at a different height and the row read as staggered.
   Body copy now follows its heading immediately, real CTAs stay on the floor,
   and every card heading reserves two lines so the copy starts level.
   ========================================================================= */

/* headings reserve two lines, text sits at the top of that band */
.usb-grid > .usb-card > :is(h2, h3, h4):first-child {
	display: flex !important;
	align-items: flex-start !important;
	min-height: 2.35em;
	margin: 0 0 .85rem !important;
	padding: 0 !important;
}

/* a closing paragraph stays under the copy above it */
.usb-grid > .usb-card > p:last-child,
.usb-grid > .usb-card > .usb-note:last-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
	margin-bottom: 0 !important;
}

/* only a genuine action is pushed to the card floor */
.usb-grid > .usb-card > a:last-child,
.usb-grid > .usb-card > .usb-card-link:last-child,
.usb-grid > .usb-card > .wp-block-buttons:last-child,
.usb-grid > .usb-card > .wp-block-button:last-child,
.usb-cards .usb-card > a:last-child,
.usb-cards .usb-card > .usb-card-link:last-child,
.usb-cards .usb-card > .wp-block-buttons:last-child {
	margin-top: auto !important;
	padding-top: 1.15rem !important;
}

/* the cards keep the same measure and breathing room as every other page */
.usb-grid.usb-grid--3 > .usb-card { min-height: 0; }

@media (max-width: 620px) {
	.usb-grid > .usb-card > :is(h2, h3, h4):first-child {
		min-height: 0;
		margin-bottom: .7rem !important;
	}
}


/* =========================================================================
   38. v1.4.27 — components the Automation rebuild needs
   Three additions, all built from existing tokens so nothing looks imported:
   .usb-split is the two-column "pain then list" row, .usb-checks is a
   tick-list that can sit inline under a hero or stacked beside copy, and
   .usb-steps--4 turns the three-step grid into four.
   ========================================================================= */

/* 38.1 split row: copy on the left, a list of symptoms on the right ------ */
.usb-split {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: start;
}
@media (max-width: 900px) { .usb-split { grid-template-columns: 1fr; gap: 2rem; } }

.usb-split-copy h2 { margin-block: .55rem 1rem; }
.usb-split-copy .usb-note { margin: 0; }

/* 38.2 tick list -------------------------------------------------------- */
.usb-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .85rem;
}
.usb-checks li {
	position: relative;
	padding-left: 1.9rem;
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #34342E;
}
.usb-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: .95rem;
	height: .55rem;
	border-left: 2px solid var(--usb-copper);
	border-bottom: 2px solid var(--usb-copper);
	transform: rotate(-45deg);
}
/* a boxed variant, used for the symptom list beside body copy */
.usb-split-list .usb-checks { gap: .55rem; }
.usb-split-list .usb-checks li {
	background: var(--usb-white);
	border: 1px solid var(--usb-line);
	border-radius: 10px;
	padding: .95rem 1.15rem .95rem 2.85rem;
	box-shadow: 0 1px 1px rgba(10,17,32,.03);
}
.usb-split-list .usb-checks li::before { left: 1.15rem; top: 1.35rem; }
@media (max-width: 620px) {
	.usb-split-list .usb-checks li { padding: .85rem 1rem .85rem 2.5rem; }
	.usb-split-list .usb-checks li::before { left: 1rem; top: 1.2rem; }
}

/* inline tick row under a hero */
.usb-checks--inline {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem 1.75rem;
	max-width: 62rem;
}
.usb-checks--inline li { font-size: .9688rem; line-height: 1.5; color: #45453E; }
@media (max-width: 900px) { .usb-checks--inline { grid-template-columns: 1fr; gap: .6rem; } }

/* plain variant: no boxes, no ticks that fight the card padding */
.usb-checks--plain { gap: .7rem; }
.usb-checks--plain li { font-size: .9688rem; }

/* the hero check row sits above the buttons with its own air */
.usb-hero-checks { margin-top: 2rem; }
.usb-page-head .usb-btns,
.usb-page-head .wp-block-buttons { margin-top: 2.25rem; }

/* 38.3 four steps instead of three -------------------------------------- */
.usb-steps--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .usb-steps--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .usb-steps--4 { grid-template-columns: 1fr; } }
.usb-steps--4 li { display: flex; flex-direction: column; }
.usb-steps--4 strong { font-size: 1.0625rem; }
.usb-steps--4 p { font-size: .9375rem; line-height: 1.65; margin: .35rem 0 0; }

/* a two-up grid of list cards keeps its own row height */
.usb-grid--2 > .usb-card { height: 100%; }
.usb-grid--2 .usb-checks { margin-top: .35rem; }

/* 39. mobile hardening (v1.4.28) — nothing may exceed the viewport -------- */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video, iframe, table { max-width: 100%; }
.usb-main, .usb-wrap, .usb-section, .usb-page-head, .usb-rows, .usb-row,
.usb-band, .usb-band-inner, .usb-sec-head { max-width: 100%; }
.usb-split, .usb-grid, .usb-checks, .usb-checks--inline, .usb-steps, .usb-steps--4 {
  min-width: 0; grid-template-columns: minmax(0, 1fr);
}
.usb-split > *, .usb-grid > *, .usb-checks > *, .usb-checks--inline > *,
.usb-hero .usb-wrap > div > *, .usb-band-inner > * { min-width: 0; }
.usb-page-head h1, .usb-hero h1, .usb-section h2, .usb-card h3, .usb-row h3,
.usb-lead, .usb-note, .usb-card p { overflow-wrap: break-word; }
@media (max-width: 720px) {
  .usb-page-head h1, .usb-page-head .usb-lead, .usb-hero h1 { max-width: 100%; }
}
@media (max-width: 620px) {
  .usb-page-head, .usb-section, .usb-section--tight { padding-inline: 1.15rem; }
  .usb-page-head h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); letter-spacing: -.03em; }
}
@media (min-width: 721px) {
  .usb-grid, .usb-grid--2, .usb-grid--3, .usb-split, .usb-checks--inline,
  .usb-steps, .usb-steps--4 { grid-template-columns: revert-layer; }
}
