/*
Theme Name:   Silent E — Red Wash (BizBoost Child)
Theme URI:    https://silentestudios.com
Description:  Child theme of BizBoost with the Silent E "Red Wash" look: dark ground, oxblood light, red-graded photos.
Author:       Silent E Studios
Template:     bizboost
Version:      0.2.0
Requires at least: 6.6
Text Domain:  bizboost-child
*/

/* ---------- The wash: oxblood light pooled over the dark ground ---------- */
body {
	background-color: var(--wp--preset--color--ink);
	background-image:
		radial-gradient(ellipse 70% 55% at 80% 18%, var(--wp--preset--color--wash-soft) 0%, rgba(10, 12, 17, 0) 70%),
		radial-gradient(ellipse 60% 60% at 8% 95%, var(--wp--preset--color--wash-deep) 0%, rgba(10, 12, 17, 0) 65%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}

/* Block style: "Red wash" panel for Group / Cover blocks */
.is-style-red-wash {
	background-color: var(--wp--preset--color--ink);
	background-image:
		radial-gradient(ellipse 70% 60% at 78% 30%, var(--wp--preset--color--wash-soft) 0%, rgba(10, 12, 17, 0) 70%),
		radial-gradient(ellipse 60% 70% at 10% 100%, var(--wp--preset--color--wash-deep) 0%, rgba(10, 12, 17, 0) 65%);
}

/* Block style: "Red graded" image — any photo gets the red wash + dark fade */
.wp-block-image.is-style-red-graded,
.wp-block-cover.is-style-red-graded {
	position: relative;
	overflow: hidden;
}
.wp-block-image.is-style-red-graded::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(0deg, rgba(10, 12, 17, 0.8) 0%, rgba(10, 12, 17, 0) 45%),
		linear-gradient(160deg, rgba(122, 18, 30, 0.15) 0%, rgba(90, 15, 22, 0.75) 100%);
	mix-blend-mode: multiply;
}
.wp-block-image.is-style-red-graded img {
	filter: saturate(0.85) contrast(1.05);
}

/* Block style: "Outline card" — square, hairline, no shadow */
.is-style-outline-card {
	border: 1px solid var(--wp--preset--color--hairline);
	background: rgba(20, 10, 13, 0.55);
	padding: var(--wp--preset--spacing--40, 1.75rem);
}
.is-style-outline-card::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin-bottom: 0.75rem;
	background: var(--wp--preset--color--brick);
}

/* Headline helper: wrap one word in <span class="se-dim"> to drop it back */
.se-dim { color: var(--wp--preset--color--dim-rose); }

/* Eyebrow labels: Paragraph block, Additional CSS class "se-eyebrow" */
.se-eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--label);
}

/* Optional live wash canvas (see assets/js/wash.js) */
.se-wash-host { position: relative; isolation: isolate; }
.se-wash-host > canvas.se-wash {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}

/* Keyboard focus that reads on the dark ground */
:where(a, button, input, textarea, select):focus-visible {
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	body { background-attachment: scroll; }
}
