/* ============================================================
   CW Footer Rollout — cw-master "P6" footer over Twenty Twenty-Two.
   Self-contained (own --cw-* tokens; no theme.json preset dependency,
   because live TT2 exposes only source-serif-pro / system-font).
   Loaded by mu-plugins/cw-footer-rollout.php after cw-brand-rollout.
   Revert: delete cw-footer-rollout.php + .css (instant) and restore
   wp_template_part 8950 from ~/backups/footer-2026-10-18/.
   ============================================================ */

:root {
	--cw-max: 1200px;
	--cw-band: #171717;
	--cw-brand: #F36B32;
	--cw-display: "Manrope", system-ui, -apple-system, sans-serif;
}/* CW Master — footer (P6): ink band, 4 columns, bottom bar. */
.cw-footer {
	background: var(--cw-band, #171717);
	color: rgba(255, 255, 255, .92);
	padding-top: clamp(3.5rem, 7vw, 5.5rem);
	padding-bottom: 0;
}
.cw-footer a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.cw-footer a:hover { color: var(--cw-brand, #F36B32); }

.cw-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr .85fr 1fr 1.2fr;
	gap: 3.25rem 2.75rem;
	align-items: start;
	padding-bottom: 3.5rem;
	width: 100%;
	max-width: var(--cw-max, 1200px);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.cw-footer-grid > .wp-block-column { flex-basis: auto !important; }

.cw-footer-title {
	font-family: var(--cw-display, "Manrope", system-ui, -apple-system, sans-serif);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
	margin: 0 0 1.15rem;
}
.cw-footer-brand .cw-footer-title { display: none; }

.cw-footer-name {
	font-family: var(--cw-display, "Manrope", system-ui, -apple-system, sans-serif);
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 .6rem;
}
.cw-footer-mark img { height: 40px; width: auto; display: block; }
.cw-footer-mark { margin-bottom: .9rem; }

.cw-footer-tagline {
	color: rgba(255, 255, 255, .62);
	font-size: .95rem;
	line-height: 1.6;
	max-width: 26ch;
	margin: 0 0 1.5rem;
}

.cw-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .62rem;
	font-size: .98rem;
}
.cw-footer-list li { margin: 0; }
.cw-footer-list a { color: rgba(255, 255, 255, .82); }
.cw-footer-list a:hover { color: var(--cw-brand, #F36B32); text-decoration: underline; }

.cw-footer-social { margin: 0; }
.cw-footer-social .wp-block-social-links {
	gap: .55rem;
	display: flex;
	flex-wrap: wrap;
}
.cw-footer-social .wp-block-social-link {
	background: none !important;
	color: rgba(255, 255, 255, .82) !important;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cw-footer-social .wp-block-social-link:hover {
	background: var(--cw-brand, #F36B32) !important;
	border-color: var(--cw-brand, #F36B32);
	color: var(--cw-band, #171717) !important;
}
.cw-footer-social .wp-block-social-link .wp-block-social-link__icon {
	height: 1.05rem;
	width: 1.05rem;
}

.cw-footer-sub p { color: rgba(255, 255, 255, .62); font-size: .95rem; margin: 0 0 1rem; }
.cw-footer-sub .wp-block-heading {
	font-family: var(--cw-display, "Manrope", system-ui, -apple-system, sans-serif);
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 .5rem;
}
.cw-footer-sub form,
.cw-footer-sub .wp-block-jetpack-subscriptions__form-elements {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .6rem;
	width: 100%;
	flex-wrap: nowrap;
}
.cw-footer-sub .wp-block-jetpack-subscriptions p { margin: 0 !important; width: 100% !important; }
.cw-footer-sub input[type="email"],
.cw-footer-sub input[type="text"] {
	flex: 1 1 auto;
	width: 100% !important;
	min-width: 0;
	box-sizing: border-box;
	height: 48px !important;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .24) !important;
	border-radius: 10px !important;
	-webkit-appearance: none;
	appearance: none;
	color: #fff;
	padding: 0 .95rem !important;
	font-family: var(--cw-body, Inter, system-ui, sans-serif);
	font-size: .95rem !important;
	line-height: 1;
}
.cw-footer-sub input::placeholder { color: rgba(255, 255, 255, .45); }
.cw-footer-sub input:focus { border-color: var(--cw-brand, #F36B32) !important; outline: none; box-shadow: 0 0 0 3px rgba(243, 107, 50, .28); }
.cw-footer-sub button { text-transform: none; letter-spacing: normal; }
.cw-footer-sub button,
.cw-footer-sub .wp-block-button__link {
	background: var(--cw-brand) !important;
	color: var(--cw-band) !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-weight: 700;
	height: 48px;
	box-sizing: border-box;
	padding: 0 1.15rem !important;
	margin: 0 !important;
	cursor: pointer;
	width: 100% !important;
	justify-content: center;
	font-family: var(--cw-body, Inter, system-ui, sans-serif);
	font-size: .95rem !important;
	line-height: 1;
}
.cw-footer-sub button:hover { background: #fff !important; }
.cw-footer-sub .wp-block-button__link:hover { background: #fff !important; color: var(--cw-band, #171717) !important; }

.cw-footer-bar {
	border-top: 1px solid rgba(255, 255, 255, .16);
	padding: 1.4rem 0 1.6rem;
	width: 100%;
	max-width: var(--cw-max, 1200px);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.cw-footer-bar .wp-block-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .9rem 1.5rem;
}
.cw-footer-copy,
.cw-footer-legal {
	color: rgba(255, 255, 255, .55);
	font-size: .88rem;
	margin: 0;
}
.cw-footer-copy a,
.cw-footer-legal a { color: rgba(255, 255, 255, .72); }
.cw-footer-copy a:hover,
.cw-footer-legal a:hover { color: var(--cw-brand, #F36B32); }
.cw-footer-legal { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.cw-footer-legal a { text-decoration: none; }
.cw-footer-legal a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
	.cw-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.cw-footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.cw-footer-tagline { max-width: none; }
	.cw-footer-bar .wp-block-group { justify-content: flex-start; }
}