/*
 * Black-and-white site skin (2026-10-31). Loaded last on every page except the
 * homepage (which has its own stylesheet) so the whole site matches it:
 * white ground, black ink, black square buttons, Gambarino headings,
 * General Sans text, no gradients, no shadows, no floating widgets.
 * Source: ~/projects/zainsaeed-home/bw/bw-skin.css.
 */

:root {
	--bw-bg: #ffffff;
	--bw-surface: #f2f2f2;
	--bw-ink: #0a0a0a;
	--bw-muted: #555555;
	--bw-line: #e2e2e2;
	--bw-display: "Gambarino", Georgia, serif;
	--bw-text: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* Theme tokens (main.css) mapped onto black and white. */
	--color-cream: #ffffff;
	--color-cream-deep: #f2f2f2;
	--color-navy: #0a0a0a;
	--color-navy-700: #0a0a0a;
	--color-navy-300: #555555;
	--color-charcoal: #0a0a0a;
	--color-muted: #555555;
	--color-accent: #0a0a0a;
	--color-accent-strong: #0a0a0a;
	--color-gold: #0a0a0a;
	--color-gold-700: #333333;
	--color-border: #e2e2e2;
	--color-border-strong: #cccccc;
	--font-display: "Gambarino", Georgia, serif;
	--font-body: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--radius-sm: 0;
	--radius-md: 0;
	--radius-lg: 0;
	--radius-pill: 0;
	--shadow-card: none;
	--shadow-card-hover: none;
	--shadow-brand: none;
	--ring-accent: 0 0 0 2px #0a0a0a;
	--grad-blue: #0a0a0a;
	--grad-hero: #0a0a0a;
	--grad-text: #0a0a0a;
	--zs-home-wash: #ffffff;
	--chip-violet: #0a0a0a;
	--chip-sky: #0a0a0a;
	--chip-emerald: #0a0a0a;
	--chip-indigo: #0a0a0a;
	--accent-violet: #0a0a0a;
	--accent-sky: #0a0a0a;
	--accent-emerald: #0a0a0a;
	--accent-indigo: #0a0a0a;
}

/* Ground, ink and type. */
html body {
	background: var(--bw-bg) !important;
	color: var(--bw-ink) !important;
	font-family: var(--bw-text) !important;
}
html body :is(p, li, dd, dt, td, th, label, input, textarea, select, button, a, span, small, figcaption, blockquote, summary) {
	font-family: var(--bw-text);
}
html body :is(h1, h2, h3) {
	font-family: var(--bw-display) !important;
	font-weight: 400 !important;
	letter-spacing: -0.015em !important;
	color: var(--bw-ink) !important;
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
}
html body :is(h4, h5, h6) {
	font-family: var(--bw-text) !important;
	font-weight: 500 !important;
	color: var(--bw-ink) !important;
}
html body :is(h1, h2, h3, h4) :is(em, span, strong, b, mark) {
	color: inherit !important;
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
	font-style: normal !important;
}
html body ::selection { background: #0a0a0a; color: #fff; }
html body :focus-visible { outline: 2px solid #0a0a0a !important; outline-offset: 3px; }

/* No gradients, no shadows, no glows, square corners. Photos and real media keep theirs. */
html body *:not(img):not(video):not(iframe):not(picture):not(svg):not(svg *):not(select) {
	box-shadow: none !important;
	text-shadow: none !important;
}
html body *:not(img):not(video):not(iframe):not(picture):not(svg):not(svg *):not(select):not(.zs-keep-bg) {
	background-image: none !important;
	border-radius: 0 !important;
}
html body :is(main, footer, header) *::before,
html body :is(main, footer, header) *::after {
	box-shadow: none !important;
	background-image: none !important;
}

/* Section fields: tinted washes become white or one light grey. */
html body :is(main, .site-main) :is(section, .ls-section, [class*="section"], [class*="hero"], [class*="band"], [class*="strip"]) {
	background-color: transparent !important;
}
html body :is(main, .site-main) :is(section, .ls-section):nth-of-type(even) {
	background-color: transparent !important;
}

/* Text colours: every accent becomes ink; secondary text is one grey. */
html body main :is(p, li, dd, td, span, small, figcaption) { color: inherit; }
html body main :is([class*="eyebrow"], [class*="kicker"], [class*="section-label"], [class*="__label"], [class*="__sub"], [class*="tag"]) {
	color: var(--bw-muted) !important;
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
	border-color: transparent !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
html body main :is([class*="eyebrow"], [class*="kicker"]) :is([class*="dot"], [class*="__dot"]) { display: none !important; }
html body main a:not([class*="button"]):not([class*="btn"]) { color: var(--bw-ink); }
html body main :is(p, li) a:not([class*="button"]):not([class*="btn"]) {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

/* Icons, chips, badges and pills: drained of colour. */
html body :is(main, footer) :is(svg, [class*="icon"], [class*="chip"], [class*="badge"], [class*="pill"], [class*="logo"], .emoji, img.emoji) {
	filter: grayscale(1) !important;
}
html body main :is([class*="chip"], [class*="badge"], [class*="pill"]):not(img) {
	background-color: var(--bw-surface) !important;
	color: var(--bw-ink) !important;
	border-color: var(--bw-line) !important;
}
/* Icon squares and check marks: black with a white mark, like the homepage buttons. */
html body main :is([class*="__icon"], [class*="-icon"], [class*="check"], [class*="tick"]):not(img):not(svg):not(input):not([class*="list"]):not([class*="grid"]):not([class*="wrap"]):not([class*="row"]):not([class*="items"]):not(ul):not(ol):not(li):not(section):not(p):not(span:not(:empty)):not([class*="item"]):not([class*="card"]):not([class*="text"]):not([class*="label"]) {
	background-color: #0a0a0a !important;
	color: #ffffff !important;
	border-color: #0a0a0a !important;
}
html body main :is([class*="__icon"], [class*="-icon"], [class*="check"], [class*="tick"]):not(img):not(svg):not(input):not([class*="list"]):not([class*="grid"]):not([class*="wrap"]):not([class*="row"]):not([class*="items"]):not(ul):not(ol):not(li):not(section):not(p):not(span:not(:empty)):not([class*="item"]):not([class*="card"]):not([class*="text"]):not([class*="label"])::before {
	color: #ffffff !important;
}

/* Cards and boxes: a tone step or nothing, never a coloured frame. */
html body main :is([class*="card"], [class*="tile"], [class*="box"], [class*="panel"], [class*="plan"], [class*="tier"], details) {
	background-color: var(--bw-bg) !important;
	border-color: var(--bw-line) !important;
	color: var(--bw-ink) !important;
}
html body main :is([class*="card"], [class*="tile"], [class*="plan"], [class*="tier"]):hover { transform: none !important; }
html body main :is([class*="--featured"], [class*="--popular"], [class*="--highlight"], [class*="--dark"], [class*="--accent"]) {
	background-color: #0a0a0a !important;
	color: #ffffff !important;
	border-color: #0a0a0a !important;
}
html body main :is([class*="--featured"], [class*="--popular"], [class*="--highlight"], [class*="--dark"], [class*="--accent"]) :is(h1, h2, h3, h4, p, li, span, a, strong, dd, dt) {
	color: #ffffff !important;
	-webkit-text-fill-color: currentColor !important;
}

/* Buttons: one shape, black fill or black outline. */
html body :is(.button, .wp-block-button__link, button[type="submit"], input[type="submit"], a[class*="btn"], button[class*="btn"], a[class*="button"], [class*="__cta-btn"], [class*="__submit"]) {
	background: #0a0a0a !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border: 2px solid #0a0a0a !important;
	border-radius: 0 !important;
	font-family: var(--bw-text) !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transform: none !important;
}
html body :is(.button, .wp-block-button__link, a[class*="btn"], a[class*="button"], [class*="__submit"]):hover {
	background: #333333 !important;
	border-color: #333333 !important;
}
html body :is(.button--navy-outline, .button--outline, .is-style-outline .wp-block-button__link, [class*="--outline"], [class*="--ghost"], [class*="--secondary"], [class*="__whatsapp"]):is(a, button) {
	background: transparent !important;
	color: #0a0a0a !important;
	-webkit-text-fill-color: #0a0a0a !important;
	border-color: #0a0a0a !important;
}
html body :is(.button--navy-outline, .button--outline, [class*="--outline"], [class*="--ghost"], [class*="--secondary"], [class*="__whatsapp"]):is(a, button):hover {
	background: #0a0a0a !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
html body :is(.button, a[class*="btn"], a[class*="button"]) svg { filter: none !important; }

/* Forms: plain fields. */
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) {
	border-radius: 0 !important;
	border-color: #cccccc !important;
	background-color: #ffffff !important;
	color: var(--bw-ink) !important;
	font-family: var(--bw-text) !important;
}
html body :is(input, textarea, select):focus { border-color: #0a0a0a !important; outline: none !important; }
html body input:checked + span { background: #0a0a0a !important; color: #fff !important; border-color: #0a0a0a !important; }

/* Header: plain white bar, serif wordmark, black action. */
html body .zs-header {
	background: rgba(255, 255, 255, .97) !important;
	border-bottom: 1px solid var(--bw-line) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
html body :is(.zs-header__brand, .zs-drawer__brand, .zs-footer__mark) {
	font-family: var(--bw-display) !important;
	font-weight: 400 !important;
	color: #0a0a0a !important;
	letter-spacing: -0.01em !important;
}
html body :is(.zs-header__brand, .zs-drawer__brand, .zs-footer__mark) * {
	color: inherit !important;
	-webkit-text-fill-color: currentColor !important;
	font-family: inherit !important;
	font-weight: inherit !important;
}
html body :is(.zs-header__menu-link, .zs-header__mega-trigger) {
	color: #0a0a0a !important;
	font-family: var(--bw-text) !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
html body :is(.zs-header__menu-link, .zs-header__mega-trigger):hover { opacity: .6; }
html body :is(.zs-header__icon-link, .zs-header__burger) { background: transparent !important; color: #0a0a0a !important; }
html body .zs-header__burger-bar { background: #0a0a0a !important; }
html body :is(.zs-mega, .zs-drawer) { background: #ffffff !important; color: #0a0a0a !important; border-color: var(--bw-line) !important; }
html body .zs-mega :is(.zs-mega__icon, [class*="icon"]) { background: #f2f2f2 !important; color: #0a0a0a !important; filter: grayscale(1); }
html body .zs-mega :is(.zs-mega__feature) { background: #f2f2f2 !important; color: #0a0a0a !important; }
html body .zs-mega :is(.zs-mega__feature) * { color: #0a0a0a !important; }
html body :is(.zs-mega, .zs-drawer) :is(.zs-mega__eyebrow, .zs-mega__feature-eyebrow, .zs-drawer__group-eyebrow) { color: #555 !important; letter-spacing: 0 !important; text-transform: none !important; }

/* Quote band above the footer: one black field with white type. */
html body .zs-quote-band-v2 { background: #0a0a0a !important; color: #ffffff !important; }
html body .zs-quote-band-v2 :is(.zs-qb__bg, .zs-qb__dot, .zs-qb__stats) { display: none !important; }
html body .zs-quote-band-v2 :is(.zs-qb__title, .zs-qb__title em) { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; font-family: var(--bw-display) !important; font-weight: 400 !important; font-style: normal !important; }
html body .zs-quote-band-v2 :is(.zs-qb__eyebrow, .zs-qb__lead) { color: rgba(255, 255, 255, .8) !important; background: none !important; border: 0 !important; letter-spacing: 0 !important; text-transform: none !important; padding: 0 !important; }
html body .zs-quote-band-v2 .zs-qb__detail-link { color: #ffffff !important; background: none !important; border: 0 !important; padding: 0 !important; text-decoration: underline; text-underline-offset: 4px; }
html body .zs-quote-band-v2 .zs-qb__form { background: #ffffff !important; border: 0 !important; }
html body .zs-quote-band-v2 .zs-qb__form :is(.zs-qb__label, legend) { color: #0a0a0a !important; }
html body .zs-quote-band-v2 .zs-qb__pill span { background: #ffffff !important; color: #0a0a0a !important; border-color: #cccccc !important; }
html body .zs-quote-band-v2 .zs-qb__pill input:checked + span { background: #0a0a0a !important; color: #ffffff !important; border-color: #0a0a0a !important; }
html body .zs-quote-band-v2 .zs-qb__submit { background: #0a0a0a !important; }

/* Footer: white, black type, no badges or pills. */
html body .zs-footer { background: #ffffff !important; color: #0a0a0a !important; border-top: 1px solid var(--bw-line); }
html body .zs-footer :is(a, p, li, span, .zs-footer__heading, .zs-footer__tagline, .zs-footer__copy, .zs-footer__legal-link) {
	color: #0a0a0a !important;
	-webkit-text-fill-color: currentColor !important;
}
html body .zs-footer :is(.zs-footer__heading) { font-family: var(--bw-text) !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: #555 !important; }
html body .zs-footer :is(.zs-footer__badges, .zs-footer__pill, .zs-footer__contact-icon) { display: none !important; }
html body .zs-footer :is(.zs-footer__social) { background: transparent !important; border: 1px solid #cccccc !important; color: #0a0a0a !important; }
html body .zs-footer :is(.zs-footer__link):hover { opacity: .6; }
html body .zs-footer .zs-footer__rule { background: var(--bw-line) !important; }
html body .zs-site-explore { background: #f2f2f2 !important; color: #0a0a0a !important; }
html body .zs-site-explore * { color: #0a0a0a !important; }
html body .zs-site-explore :is(.zs-se__summary-eyebrow, .zs-se__dot) { background: none !important; border: 0 !important; letter-spacing: 0 !important; text-transform: none !important; }

/* Breadcrumbs and related-links strips: plain. */
html body :is([class*="breadcrumb"], .zs-rl, [class*="related-links"]) { background: #ffffff !important; border-color: var(--bw-line) !important; }
html body :is([class*="breadcrumb"], .zs-rl) :is(a, span, li) { color: #555555 !important; background: none !important; border-color: transparent !important; }

/* Phones: keep the header's quote button in view (the floating bar is gone). */
@media (max-width: 767px) {
	html body .zs-header__cta { display: inline-flex !important; padding: 8px 14px !important; font-size: .875rem !important; min-height: 0 !important; }
}

/* Things the page has hidden stay hidden, whatever display rule a skin rule implies. */
html body [hidden] { display: none !important; }
html body .qp-body { background: #ffffff !important; }

/* Floating widgets: none. Contact lives in the header button and the quote band. */
html body :is(.zs-hire, .zs-floating-contact, .zs-mobile-cta) { display: none !important; }

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

/* Alignment (2026-11-18): the generic "li + li" margin pushed every menu link
   below "Services"; the page hero padded its sides twice, so titles started
   further in than the logo and the content below. */
html body .zs-header__menu > li { margin: 0; }
html body .zs-page-hero.ls-section { padding-left: 0; padding-right: 0; }
html body .zs-page-hero__inner.container { max-width: 1200px; }
