/* Wilhelm Visual Works — theme styles that theme.json can't express. */

/* ---------- Header ---------- */
.wvw-header {
	z-index: 20;
	color: #fff;
}
.wvw-header.is-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
}
.wvw-header.is-solid {
	position: relative;
	background: var(--wp--preset--color--charcoal);
}
.wvw-header a,
.wvw-header .wp-block-navigation-item__content {
	color: #fff;
	text-decoration: none;
}
.wvw-header a:hover,
.wvw-header .wp-block-navigation-item__content:hover,
.wvw-header .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.wvw-logo img {
	display: block;
	width: 230px;
	height: auto;
}
.wvw-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--charcoal);
	color: #fff;
}
.wvw-header .wp-block-navigation__responsive-container-open svg,
.wvw-header .wp-block-navigation__responsive-container-close svg {
	fill: #fff;
}
/* Landing pages: header floats over the first full-bleed photo. */
.wvw-overlay {
	position: relative;
}
.wvw-overlay > .wp-block-post-content > .wp-block-cover:first-child {
	margin-top: 0;
}

/* ---------- Full-bleed photo sections ---------- */
.wp-block-cover.wvw-parallax {
	overflow: hidden;
}
.wvw-has-parallax .wvw-parallax .wp-block-cover__image-background {
	top: -15%;
	height: 130%;
	will-change: transform;
}
.wvw-has-parallax .wvw-parallax-hero .wp-block-cover__image-background {
	top: 0;
	height: 125%;
}
/* Cover text lines up with the 1180px content column, left-aligned (right for "center right" bands). */
.wp-block-cover.alignfull {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}
.wp-block-cover.alignfull > .wp-block-cover__inner-container,
.wp-block-cover.alignfull.has-custom-content-position.has-custom-content-position > .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: var(--wp--style--global--wide-size, 1180px);
	margin-left: auto !important;
	margin-right: auto !important;
}
.wp-block-cover.alignfull > .wp-block-cover__inner-container > * {
	margin-left: 0 !important;
	margin-right: auto !important;
}
.wp-block-cover.alignfull.is-position-center-right > .wp-block-cover__inner-container > *,
.wp-block-cover.alignfull.is-position-bottom-right > .wp-block-cover__inner-container > * {
	margin-left: auto !important;
	margin-right: 0 !important;
	max-width: 560px;
}
.wp-block-cover.wvw-hero .wp-block-cover__inner-container {
	padding-bottom: clamp(3rem, 8vw, 7.5rem);
}
.wp-block-cover h1,
.wp-block-cover h2 {
	max-width: 900px;
}
.wp-block-cover p {
	max-width: 640px;
	font-weight: 300;
}
.wp-block-cover .wvw-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
}

/* ---------- Sections ---------- */
.wvw-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.wvw-section.is-mist {
	background: var(--wp--preset--color--mist);
}
.wvw-section.is-dark {
	background: var(--wp--preset--color--charcoal);
	color: #fff;
}
.wvw-section.is-night {
	background: var(--wp--preset--color--night);
	color: #fff;
}
.wvw-section.is-dark p,
.wvw-section.is-night p {
	color: #ccc;
}
.wvw-section p {
	color: var(--wp--preset--color--body);
}
.wp-block-post-content > .wp-block-cover.alignfull,
.wp-block-post-content > .wvw-section.alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

.wvw-eyebrow {
	font-size: 0.8125rem !important;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}
.wvw-section .wvw-eyebrow {
	color: var(--wp--preset--color--slate);
}
.wp-block-cover .wvw-eyebrow {
	color: #fff;
}

/* Links styled as small caps text links */
.wvw-textlink a {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

/* Buttons */
.wp-block-button.wvw-btn-light .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--charcoal);
}
.wp-block-button.wvw-btn-light .wp-block-button__link:hover {
	background: var(--wp--preset--color--mist);
}
.wp-block-button.wvw-btn-ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}
.wp-block-button.wvw-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* Ruled items: numbered services, steps, stats */
.wvw-ruled > .wp-block-column {
	border-top: 2px solid currentColor;
	padding-top: 1.5rem;
}
.wvw-ruled.is-light > .wp-block-column {
	border-top-color: rgba(255, 255, 255, 0.5);
}
.wvw-num {
	font-size: 0.8125rem !important;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--wp--preset--color--slate);
	margin-bottom: 0.5rem !important;
}
.wvw-stat {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 300;
	font-size: clamp(2.75rem, 5vw, 4.25rem);
	line-height: 1;
	color: var(--wp--preset--color--charcoal) !important;
	margin-bottom: 0.75rem !important;
}
.wvw-clients {
	gap: 1.5rem 3rem;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}
.wvw-clients p {
	margin: 0;
}

/* ---------- Footer ---------- */
.wvw-footer-bar {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--slate);
	border-top: 1px solid var(--wp--preset--color--rule);
}
.wvw-footer-bar a {
	color: var(--wp--preset--color--slate);
}
.wvw-footer-logo img {
	display: block;
	width: 160px;
	height: auto;
}
.wvw-contact a {
	color: #fff;
}

/* ---------- Journal ---------- */
.wvw-journal .wp-block-post {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: 2rem;
}
.wvw-journal .wp-block-post-title a {
	text-decoration: none;
}
.wvw-meta {
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}


/* ---------- Contact form (Contact Form 7) ---------- */
.wpcf7 label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.5rem;
	padding: 0.85rem 1rem;
	font: inherit;
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	color: var(--wp--preset--color--charcoal);
	background: #fff;
	border: 1px solid #cfcfca;
	border-radius: 0;
}
.wpcf7 textarea {
	min-height: 180px;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: 2px solid var(--wp--preset--color--charcoal);
	outline-offset: 1px;
}
.wpcf7 input[type="submit"] {
	background: var(--wp--preset--color--charcoal);
	color: #fff;
	border: 0;
	padding: 1rem 1.75rem;
	font-family: var(--wp--preset--font-family--raleway);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover {
	background: var(--wp--preset--color--night);
}
.wpcf7 .wpcf7-not-valid-tip {
	font-size: 0.875rem;
	text-transform: none;
	letter-spacing: normal;
}
/* The Contact page already has the form; skip the footer contact band there. */
body:has(.wpcf7) .wvw-contact {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.wvw-parallax .wp-block-cover__image-background {
		transform: none !important;
	}
}

/* Numbered labels on image covers */
.wp-block-cover .wvw-num{color:rgba(255,255,255,.8);}
.wp-block-cover .wvw-ruled > .wp-block-column{border-color:rgba(255,255,255,.5);}

/* ---------- Client testimonials ---------- */
.wvw-quote.wp-block-quote {
	border-left: 3px solid var(--wp--preset--color--charcoal);
	margin: 0;
	padding: 0.25rem 0 0.25rem 1.75rem;
}
.wvw-quote.wp-block-quote p {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 300;
	font-size: 1.3125rem;
	line-height: 1.55;
	color: var(--wp--preset--color--charcoal);
	margin: 0 0 1rem;
}
.wvw-quote.wp-block-quote cite {
	display: block;
	margin-top: 1.25rem;
	font-style: normal;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
	line-height: 1.6;
}
.wvw-quote.wp-block-quote cite strong {
	color: var(--wp--preset--color--charcoal);
	font-weight: 600;
}
.wvw-section.is-dark .wvw-quote.wp-block-quote { border-left-color: #fff; }
.wvw-section.is-dark .wvw-quote.wp-block-quote p { color: #fff; }
.wvw-section.is-dark .wvw-quote.wp-block-quote cite,
.wvw-section.is-dark .wvw-quote.wp-block-quote cite strong { color: #ccc; }
/* Homepage row of short excerpts */
.wvw-quote-row .wvw-quote.wp-block-quote p { font-size: 1.1875rem; }
.wvw-quote-row .wvw-quote-more { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.75rem; }
.wvw-quote-row .wvw-quote-more a { color: var(--wp--preset--color--charcoal); }
@media (max-width: 781px) {
	.wvw-quote.wp-block-quote { padding-left: 1.25rem; }
	.wvw-quote.wp-block-quote p { font-size: 1.1875rem; }
}

.wvw-testimonial .wvw-quote-more { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 1.5rem 0 0 1.75rem; }
.wvw-testimonial .wvw-quote-more a { color: var(--wp--preset--color--charcoal); }
