/* ct-black.css: the whole site in the black style of the home page (David, 17 Nov 2026).
   Loaded for everyone once approved; until then only for David's preview (see functions.php). */

/* 1. Colour tokens: flip the light palette to the dark one, so every block that uses them follows. */
:root, body {
	--wp--preset--color--page: #0a0a0f;
	--wp--preset--color--soft: #0a0a0f;
	--wp--preset--color--surface: #16161e;
	--wp--preset--color--tint: #0a0a0f;
	--wp--preset--color--line: #2a2a35;
	--wp--preset--color--field: #3a3a48;
	--wp--preset--color--ink: #ffffff;
	--wp--preset--color--body: #d5d9e0;
	--wp--preset--color--muted: #a9afba;
	--wp--preset--color--on-dark: #d5d9e0;
	--wp--preset--color--blue-ink: #00c5ff;
}
html, body { background: #0a0a0f !important; color: #d5d9e0; }

/* 2. Sections: no white or light-grey bands. Pink and blue accents stay. */
.ct-section, .ct-soft, .ct-tint, main, .wp-site-blocks > main,
.wp-block-group.has-background:not(.has-pink-background-color):not(.has-blue-background-color) { background-color: #0a0a0f !important; }

/* 3. Text */
h1, h2, h3, h4, h5, h6, .wp-block-heading, .wp-block-post-title { color: #fff !important; }
p, li, dd, dt, td, th, figcaption, blockquote, .wp-block-post-content { color: #d5d9e0; }
.ct-lead, .ct-muted, .ct-form-note { color: #c3c8d2 !important; }
a { color: #00c5ff; }
a:hover { color: #66dcff; }
.ct-kicker { color: #ff0095; }
.wp-block-button__link { color: inherit; }
.wp-block-button:not(.is-style-pink):not(.is-style-outline-dark) .wp-block-button__link { background: #00c5ff; color: #000 !important; }
.wp-block-button.is-style-pink .wp-block-button__link { background: #ff0095; color: #fff !important; }
.wp-block-button.is-style-outline-dark .wp-block-button__link { border-color: #fff; color: #fff !important; }

/* 4. Breadcrumbs */
.ct-crumbs, .ct-crumbs li, .ct-crumbs li + li::before { color: #a9afba; }
.ct-crumbs a { color: #00c5ff; }

/* 5. Cards and boxes */
.ct-card, .ct-service, .ct-post-card, .wp-block-group.is-style-card, .wp-block-column.ct-card,
.ct-form-card, .wp-block-table table, .ct-services .ct-service {
	background: #16161e !important; border: 1px solid #2a2a35 !important; color: #d5d9e0;
}
.ct-post-card__title, .ct-service__title { color: #fff !important; }
.ct-post-card__excerpt, .ct-post-card__date { color: #a9afba !important; }
.wp-block-table td, .wp-block-table th { border-color: #2a2a35; }
hr, .wp-block-separator { border-color: #2a2a35 !important; color: #2a2a35; background-color: #2a2a35; }

/* 6. Checklists: light text, white subheadings, small plain ticks with no white circle */
.is-style-checks li, .ct-checks li { color: #d5d9e0 !important; padding-left: 1.7rem; }
ul.is-style-checks li::before, ul.is-style-checks > li::before, .ct-checks li::before {
	content: "" !important; position: absolute; left: 0; top: .28em; width: 1rem; height: 1rem;
	border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0095' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 100% no-repeat !important;
}
ul.is-style-checks li:nth-child(even)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important; }
ul.is-style-checks li, .ct-checks li { padding-left: 1.6rem !important; }
.is-style-checks li::after, .ct-checks li::after { content: none !important; }
.wp-block-heading + .is-style-checks { margin-top: .5rem; }

/* 7. Forms: dark fields, light text, visible border and focus outline */
input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=file]),
select, textarea, .wpcf7 input:not([type=submit]):not([type=file]), .wpcf7 select, .wpcf7 textarea {
	background: #111118 !important; color: #f2f3f7 !important; border: 1px solid #3a3a48 !important;
}
input::placeholder, textarea::placeholder { color: #8a909c !important; }
input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible {
	outline: 3px solid #00c5ff !important; outline-offset: 2px;
}
label, .wpcf7 label { color: #e6e8ee; }

/* 8. reCAPTCHA: hide the floating badge (it covered text on phones); the required notice sits under the form */
.grecaptcha-badge { visibility: hidden !important; }
.ct-recaptcha-note { font-size: .78rem; color: #8a909c !important; margin: .5rem 0 0; }
.ct-recaptcha-note a { color: #a9afba; }

/* 9. Long text pages (Terms, Privacy, posts): comfortable reading width and line height */
.wp-block-post-content p, .wp-block-post-content li { line-height: 1.7; }

/* 10. Sections from the go-live pack that were white or light grey */
.ct-meet, .ct-expect, .ct-share, .ct-socials, .ct-why, .ct-areas { background: #0a0a0f !important; }
.ct-meet p, .ct-expect p, .ct-share p { color: #d5d9e0 !important; }
.ct-meet h2, .ct-expect h2, .ct-expect h3, .ct-share h2 { color: #fff !important; }
.ct-steps li, .ct-expect .ct-steps > li { background: #16161e !important; background-color: #16161e !important; border: 1px solid #2a2a35 !important; }
.ct-btn.ghost { color: #fff !important; border-color: #fff !important; background: transparent !important; }

/* 11. Home page: Google review cards and rating badge dark, stars stay gold */
body .ct-review-tile .ti-widget.ti-goog .ti-review-item > .ti-inner, body .ti-widget .ti-review-item > .ti-inner { background: #16161e !important; background-color: #16161e !important; border: 1px solid #2a2a35 !important; }
.ti-widget .ti-name, .ti-widget .ti-review-content, .ti-widget .ti-review-text-container, .ti-widget .ti-inner * { color: #e6e8ee !important; }
.ti-widget .ti-date { color: #a9afba !important; }
.ti-widget .ti-stars .ti-star, .ti-widget .ti-star { filter: none !important; }
.ct-hero2__rating { background: #16161e !important; color: #fff !important; border: 1px solid #2a2a35 !important; }
.ct-hero2__rating strong { color: #fff !important; }
