/* ==========================================================================
   Barley Construction & Stone – site styles
   --------------------------------------------------------------------------
   1. Design tokens
   2. Site-wide base (font, colours)
   3. Site frame – aligns GeneratePress header, menu and footer with content
   4. Full-width page layout (pages built by Barley Site, and projects)
   5. Banner
   6. Sections
   7. Typography inside sections
   8. Buttons
   9. Cards and grids
   10. Lists: checklist and steps
   11. Questions and answers
   12. Projects (Our Work)
   13. Contact form
   14. Utilities: placeholders, focus
   All content styles are scoped to .bcs-* classes.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
	--bcs-offwhite: #FAF8F4;
	--bcs-limestone: #EFEAE1;
	--bcs-white: #FFFFFF;
	--bcs-charcoal: #252925;
	--bcs-text: #454B45;
	--bcs-olive: #46513D;
	--bcs-olive-dark: #343E2D;
	--bcs-line: rgba(37, 41, 37, 0.14);
	--bcs-line-strong: rgba(37, 41, 37, 0.32);
	--bcs-error: #9B1C1C;

	--bcs-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bcs-max: 1200px;
	--bcs-gutter: 20px;
	--bcs-space: clamp(48px, 7vw, 96px);
	--bcs-radius: 3px;
	/* Left/right padding that keeps content within --bcs-max while the
	   background runs edge to edge – no inner wrapper needed. */
	--bcs-inline: max(var(--bcs-gutter), calc((100% - var(--bcs-max)) / 2));
}

@media (min-width: 769px) {
	:root { --bcs-gutter: 40px; }
}

/* 2. Site-wide base ------------------------------------------------------ */
/* body:not(.wp-admin) keeps these off the WordPress dashboard when the
   stylesheet is loaded for the block editor. */
body:not(.wp-admin),
:where(body:not(.wp-admin)) :is(button, input, select, textarea) {
	font-family: var(--bcs-font);
}

body:not(.wp-admin) {
	background-color: var(--bcs-offwhite);
	color: var(--bcs-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Zero specificity, so component colours (e.g. white banner title) win. */
:where(body:not(.wp-admin)) :where(h1, h2, h3, h4, h5, h6) {
	color: var(--bcs-charcoal);
}

/* 3. Site frame ------------------------------------------------------------
   GeneratePress's header, menu and footer use the same left/right padding as
   the page sections, so the logo, menu and content line up at every width. */
.site-header .inside-header.grid-container,
.main-navigation:not(.slideout-navigation) > .inside-navigation.grid-container,
.site-footer .footer-widgets-container.grid-container,
.site-footer .inside-site-info.grid-container {
	max-width: none;
	padding-left: var(--bcs-inline);
	padding-right: var(--bcs-inline);
}

.site-header .main-navigation > .inside-navigation.grid-container {
	padding-left: 0;
	padding-right: 0; /* Menu inside the header row: the header already has the padding. */
}

/* Contact link in the main menu, styled as a button on larger screens. */
@media (min-width: 769px) {
	.main-navigation .main-nav > ul > li.bcs-menu-cta.bcs-menu-cta {
		display: flex;
		align-items: center;
		margin-left: 0.75rem;
	}
	.main-navigation .main-nav > ul > li.bcs-menu-cta.bcs-menu-cta > a {
		line-height: 1.2;
		padding: 0.75rem 1.25rem;
		border-radius: var(--bcs-radius);
		background-color: var(--bcs-olive);
		color: var(--bcs-white);
		font-weight: 700;
	}
	.main-navigation .main-nav > ul > li.bcs-menu-cta.bcs-menu-cta > a:hover,
	.main-navigation .main-nav > ul > li.bcs-menu-cta.bcs-menu-cta > a:focus-visible {
		background-color: var(--bcs-olive-dark);
		color: var(--bcs-white);
	}
}

/* 4. Full-width page layout ------------------------------------------------
   Pages built by Barley Site (and projects) run edge to edge; each section
   sets its own background and keeps its content to 1200px. */
.bcs-full #page.grid-container,
.bcs-full .site-content {
	max-width: none;
	padding: 0;
}

.bcs-full .site-content {
	display: block;
}

.bcs-full .content-area,
.bcs-full .site-main,
.bcs-full .inside-article,
.bcs-full .entry-content {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

.bcs-full .entry-content > :first-child { margin-top: 0; }
.bcs-full .entry-content > :last-child { margin-bottom: 0; }

/* Anything added between sections that isn't itself a section (e.g. a
   stray paragraph) still lines up with the content column. */
.bcs-full .entry-content > :not(.bcs-section) {
	padding-left: var(--bcs-inline);
	padding-right: var(--bcs-inline);
}

/* 5. Banner --------------------------------------------------------------- */
.bcs-banner {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(220px, 30vw, 380px);
	padding: clamp(40px, 6vw, 80px) var(--bcs-inline);
	overflow: hidden;
	background-color: var(--bcs-charcoal);
	color: var(--bcs-white);
}

@media (min-width: 769px) {
	.bcs-banner--large {
		min-height: clamp(420px, 60vh, 580px);
	}
}

.bcs-banner__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* Dark overlay so white text stays readable over any photo. */
.bcs-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(22, 25, 21, 0.66);
}

@media (min-width: 769px) {
	.bcs-banner::after {
		background: linear-gradient(90deg, rgba(22, 25, 21, 0.82) 0%, rgba(22, 25, 21, 0.62) 55%, rgba(22, 25, 21, 0.42) 100%);
	}
}

.bcs-banner--no-image {
	background: linear-gradient(120deg, var(--bcs-olive-dark) 0%, var(--bcs-charcoal) 100%);
}

.bcs-banner--no-image::after { display: none; }

.bcs-banner__inner {
	width: 100%;
}

.bcs-banner__title {
	margin: 0;
	color: var(--bcs-white);
	font-size: clamp(2rem, 1.35rem + 3vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
	hyphens: auto;
	text-wrap: balance;
}

.bcs-banner__title::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-bottom: 1.25rem;
	background-color: var(--bcs-limestone);
}

.bcs-banner__intro {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.55;
}

.bcs-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

@media (min-width: 769px) {
	.bcs-banner__title { max-width: 20ch; }
	.bcs-banner__intro { max-width: 56ch; }
}

/* Safety net: WordPress adds a .wp-block-group__inner-container wrapper inside
   Group blocks on themes without theme.json. The plugin removes it from these
   blocks; if it's ever present, this stops it affecting the layout. */
[class*="bcs-"] > .wp-block-group__inner-container {
	display: contents;
}

/* 6. Sections --------------------------------------------------------------
   One block per section: full-width background, content held to 1200px by
   padding (see --bcs-inline). */
.bcs-section {
	margin: 0;
	padding: var(--bcs-space) var(--bcs-inline);
	background-color: var(--bcs-offwhite);
}

.bcs-section--limestone { background-color: var(--bcs-limestone); }
.bcs-section--white { background-color: var(--bcs-white); }
.bcs-section--olive { background-color: var(--bcs-olive); color: var(--bcs-offwhite); }

/* Two sections with the same background sit together without doubling up. */
.bcs-section--offwhite + .bcs-section--offwhite,
.bcs-section--limestone + .bcs-section--limestone,
.bcs-section--white + .bcs-section--white {
	padding-top: 0;
}

/* Vertical rhythm: children spaced evenly, no stacked margins. */
.bcs-section > *,
.bcs-col > * {
	margin-top: 0;
	margin-bottom: 0;
}

.bcs-section > * + *,
.bcs-col > * + * {
	margin-top: 1rem;
}

.bcs-section > * + :is(.bcs-grid, .bcs-steps, .bcs-checklist, .bcs-projects, .wp-block-buttons, .bcs-faq:first-of-type),
.bcs-col > * + :is(.bcs-checklist, .bcs-details, .wp-block-buttons) {
	margin-top: 2rem;
}

.bcs-section > :is(h2, h3) + *,
.bcs-col > :is(h2, h3) + * {
	margin-top: 0.75rem;
}

/* A new heading part-way through a section gets more room above it. */
.bcs-section > * + :is(h2, h3),
.bcs-col > * + :is(h2, h3) {
	margin-top: 2rem;
}

.bcs-section > .bcs-eyebrow + *,
.bcs-col > .bcs-eyebrow + * {
	margin-top: 0.5rem;
}

/* Two columns: heading/intro on one side, detail on the other. */
.bcs-section--split {
	display: grid;
	gap: 1.5rem;
}

.bcs-section--split > * + * {
	margin-top: 0;
}

@media (min-width: 900px) {
	.bcs-section--split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: clamp(2.5rem, 5vw, 5rem);
		align-items: start;
	}
	.bcs-section--split.bcs-section--even {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* 7. Typography inside sections ----------------------------------------- */
.bcs-section {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.bcs-section h2 {
	font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.bcs-section h3 {
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}

.bcs-section p,
.bcs-section li {
	font-size: inherit;
	line-height: inherit;
}

.bcs-eyebrow {
	color: var(--bcs-olive);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.bcs-lead {
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	line-height: 1.6;
}

@media (min-width: 769px) {
	.bcs-section > .bcs-lead,
	.bcs-section > p { max-width: 68ch; }
}

.bcs-section a:not(.wp-block-button__link):not(.bcs-btn) {
	color: var(--bcs-olive);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bcs-section a:not(.wp-block-button__link):not(.bcs-btn):hover {
	color: var(--bcs-olive-dark);
	text-decoration-thickness: 2px;
}

/* Dark (olive) band */
.bcs-section--olive h2,
.bcs-section--olive h3 { color: var(--bcs-white); }
.bcs-section--olive .bcs-eyebrow { color: var(--bcs-limestone); }
.bcs-section--olive a:not(.wp-block-button__link):not(.bcs-btn),
.bcs-section--olive a:not(.wp-block-button__link):not(.bcs-btn):hover { color: var(--bcs-white); }

/* 8. Buttons ------------------------------------------------------------- */
.bcs-btn,
.bcs-section .wp-block-button__link,
.bcs-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--bcs-olive);
	border-radius: var(--bcs-radius);
	background-color: var(--bcs-olive);
	color: var(--bcs-white);
	font-family: var(--bcs-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bcs-btn:hover,
.bcs-section .wp-block-button__link:hover,
.bcs-form button[type="submit"]:hover {
	border-color: var(--bcs-olive-dark);
	background-color: var(--bcs-olive-dark);
	color: var(--bcs-white);
}

.bcs-section .is-style-outline > .wp-block-button__link {
	background-color: transparent;
	color: var(--bcs-olive);
}

.bcs-section .is-style-outline > .wp-block-button__link:hover {
	background-color: var(--bcs-olive);
	color: var(--bcs-white);
}

/* On dark backgrounds (banner and olive band) */
.bcs-btn--light,
.bcs-section--olive .wp-block-button__link {
	border-color: var(--bcs-offwhite);
	background-color: var(--bcs-offwhite);
	color: var(--bcs-charcoal);
}

.bcs-btn--light:hover,
.bcs-section--olive .wp-block-button__link:hover {
	border-color: var(--bcs-white);
	background-color: var(--bcs-white);
	color: var(--bcs-charcoal);
}

.bcs-btn--ghost,
.bcs-section--olive .is-style-outline > .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.85);
	background-color: transparent;
	color: var(--bcs-white);
}

.bcs-btn--ghost:hover,
.bcs-section--olive .is-style-outline > .wp-block-button__link:hover {
	border-color: var(--bcs-white);
	background-color: var(--bcs-white);
	color: var(--bcs-charcoal);
}

.bcs-section .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bcs-section .wp-block-button {
	margin: 0;
}

/* Small phones: buttons take the full width. */
@media (max-width: 479px) {
	.bcs-section .wp-block-button,
	.bcs-banner__actions .bcs-btn {
		flex: 1 1 100%;
	}
	.bcs-section .wp-block-button__link {
		width: 100%;
	}
}

/* 9. Cards and grids ---------------------------------------------------- */
.bcs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: clamp(16px, 2.5vw, 28px);
}

.bcs-grid--wide {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

/* Two across on tablets and up – used for the photo cards on Our Work. */
@media (min-width: 700px) {
	.bcs-grid--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bcs-grid > * {
	margin: 0;
}

.bcs-card {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: clamp(20px, 2.5vw, 28px);
	border: 1px solid var(--bcs-line);
	border-top: 3px solid var(--bcs-olive);
	border-radius: var(--bcs-radius);
	background-color: var(--bcs-white);
}

.bcs-section--white .bcs-card {
	background-color: var(--bcs-offwhite);
}

.bcs-card > * {
	margin: 0;
}

.bcs-card--accent {
	border-color: var(--bcs-olive);
	background-color: var(--bcs-olive) !important;
	color: var(--bcs-offwhite);
}

.bcs-card--accent h3,
.bcs-card--accent a,
.bcs-section .bcs-card--accent a:not(.wp-block-button__link):not(.bcs-btn) {
	color: var(--bcs-white);
}

/* Photo cards: image fills the card width, consistent 4:3 crop. */
.bcs-card--photo .wp-block-image {
	margin: 0 0 0.5rem;
}

.bcs-card--photo .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 2px;
}

.bcs-card .bcs-checklist {
	margin-top: 0.25rem;
}

.bcs-card__link {
	margin-top: auto !important;
	padding-top: 0.5rem;
	font-weight: 700;
}

.bcs-card__link a::after {
	content: " →";
}

/* Short details panel (e.g. project facts, contact details) */
.bcs-details {
	padding: clamp(20px, 2.5vw, 28px);
	border-left: 3px solid var(--bcs-olive);
	background-color: var(--bcs-white);
}

.bcs-section--white .bcs-details {
	background-color: var(--bcs-offwhite);
}

.bcs-details > * {
	margin: 0;
	overflow-wrap: anywhere; /* long email addresses on small phones */
}

.bcs-details > * + * {
	margin-top: 0.75rem;
}

/* 10. Lists: checklist and steps ------------------------------------------ */
.bcs-checklist,
.bcs-steps {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.bcs-checklist {
	display: grid;
	gap: 0.625rem 2rem;
}

@media (min-width: 700px) {
	.bcs-section > .bcs-checklist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bcs-checklist li {
	position: relative;
	margin: 0;
	padding-left: 2rem;
}

.bcs-checklist li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--bcs-olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.bcs-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: clamp(20px, 3vw, 32px);
	counter-reset: bcs-step;
}

.bcs-steps li {
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid var(--bcs-line-strong);
	counter-increment: bcs-step;
}

.bcs-steps li::before {
	content: counter(bcs-step, decimal-leading-zero);
	display: block;
	margin-bottom: 0.5rem;
	color: var(--bcs-olive);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.bcs-steps strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--bcs-charcoal);
	font-size: 1.125rem;
}

/* 11. Questions and answers ---------------------------------------------- */
.bcs-faq {
	border-bottom: 1px solid var(--bcs-line-strong);
}

.bcs-section > .bcs-faq + .bcs-faq {
	margin-top: 0;
}

.bcs-section > .bcs-faq:first-of-type {
	border-top: 1px solid var(--bcs-line-strong);
}

@media (min-width: 769px) {
	.bcs-section > .bcs-faq { max-width: 68ch; }
}

.bcs-faq summary {
	position: relative;
	padding: 1.125rem 2.5rem 1.125rem 0;
	color: var(--bcs-charcoal);
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.bcs-faq summary::-webkit-details-marker { display: none; }

.bcs-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	color: var(--bcs-olive);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}

.bcs-faq[open] summary::after { content: "–"; }

.bcs-faq > :not(summary) {
	margin: 0 0 1.25rem;
}

/* 12. Projects (Our Work) ------------------------------------------------- */
.bcs-projects .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(16px, 2.5vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bcs-projects .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin: 0;
	padding: 0 0 clamp(20px, 2.5vw, 28px);
	border: 1px solid var(--bcs-line);
	border-radius: var(--bcs-radius);
	overflow: hidden;
	background-color: var(--bcs-white);
}

.bcs-projects .wp-block-post > * {
	margin: 0;
	padding-left: clamp(20px, 2.5vw, 28px);
	padding-right: clamp(20px, 2.5vw, 28px);
}

.bcs-projects .wp-block-post > .wp-block-post-featured-image {
	padding: 0;
	margin-bottom: 0.5rem;
}

.bcs-projects .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bcs-section .bcs-projects .wp-block-post-title a {
	color: var(--bcs-charcoal);
	text-decoration: none;
}

.bcs-section .bcs-projects .wp-block-post-title a:hover {
	color: var(--bcs-olive);
	text-decoration: underline;
}

.bcs-projects .wp-block-post-excerpt__excerpt { margin: 0; }

.bcs-projects .wp-block-post-date {
	color: var(--bcs-text);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
}

/* Page numbers under the article list */
.bcs-projects .wp-block-query-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.bcs-projects .wp-block-query-pagination a,
.bcs-projects .wp-block-query-pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.875rem;
	border: 1px solid var(--bcs-line-strong);
	border-radius: var(--bcs-radius);
	background-color: var(--bcs-white);
	color: var(--bcs-charcoal);
	font-weight: 700;
	text-decoration: none;
}

.bcs-projects .wp-block-query-pagination a:hover {
	border-color: var(--bcs-olive);
	color: var(--bcs-olive);
}

.bcs-projects .wp-block-query-pagination .current {
	border-color: var(--bcs-olive);
	background-color: var(--bcs-olive);
	color: var(--bcs-white);
}

.bcs-note {
	padding: clamp(20px, 2.5vw, 28px);
	border: 1px dashed var(--bcs-line-strong);
	border-radius: var(--bcs-radius);
	background-color: var(--bcs-white);
}

/* Project write-up gallery */
.bcs-section .wp-block-gallery {
	gap: clamp(8px, 1.5vw, 16px);
}

/* 13. Contact form ------------------------------------------------------- */
.bcs-form {
	display: grid;
	gap: 1.25rem;
	padding: clamp(20px, 4vw, 36px);
	border: 1px solid var(--bcs-line);
	border-radius: var(--bcs-radius);
	background-color: var(--bcs-white);
	font-size: 1rem;
	line-height: 1.5;
}

.bcs-form p { margin: 0; }

.bcs-form__row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.bcs-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bcs-field label {
	display: block;
	margin-bottom: 0.375rem;
	color: var(--bcs-charcoal);
	font-size: 0.9375rem;
	font-weight: 700;
}

.bcs-optional {
	color: var(--bcs-text);
	font-weight: 400;
}

.bcs-req,
.bcs-form__required span {
	color: var(--bcs-error);
}

.bcs-form .bcs-field input,
.bcs-form .bcs-field select,
.bcs-form .bcs-field textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--bcs-line-strong);
	border-radius: var(--bcs-radius);
	background-color: var(--bcs-white);
	color: var(--bcs-charcoal);
	font-size: 1rem;
	line-height: 1.4;
	box-sizing: border-box;
}

.bcs-form .bcs-field textarea {
	min-height: 160px;
	resize: vertical;
}

.bcs-form .bcs-field input:focus,
.bcs-form .bcs-field select:focus,
.bcs-form .bcs-field textarea:focus {
	border-color: var(--bcs-olive);
	outline: 2px solid var(--bcs-olive);
	outline-offset: 0;
}

.bcs-form [aria-invalid="true"] {
	border-color: var(--bcs-error) !important;
}

.bcs-hint,
.bcs-form__note,
.bcs-form__required {
	color: var(--bcs-text);
	font-size: 0.875rem;
}

.bcs-hint { margin-top: 0.375rem !important; }

.bcs-field__error {
	margin-top: 0.375rem !important;
	color: var(--bcs-error);
	font-size: 0.875rem;
	font-weight: 700;
}

.bcs-form__status:empty { display: none; }

.bcs-form__status {
	padding: 0.875rem 1rem;
	border-left: 3px solid var(--bcs-olive);
	background-color: var(--bcs-limestone);
	color: var(--bcs-charcoal);
	font-weight: 700;
}

.bcs-form__status.is-error {
	border-left-color: var(--bcs-error);
	background-color: #FBEAEA;
}

.bcs-form button[type="submit"] {
	justify-self: start;
}

.bcs-form button[type="submit"]:disabled {
	opacity: 0.7;
	cursor: wait;
}

@media (max-width: 479px) {
	.bcs-form button[type="submit"] { justify-self: stretch; }
}

/* Honeypot: hidden from people and screen readers, visible to spam bots. */
.bcs-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 14. Utilities ------------------------------------------------------------ */

/* Details still to confirm – deliberately easy to spot. */
.bcs-placeholder {
	padding: 0 0.25em;
	border-radius: 2px;
	outline: 1px dashed #B38600;
	background-color: #FFF3BF;
	color: #5C4400;
}

/* Keyboard focus: clearly visible on light and dark backgrounds. */
.bcs-section :focus-visible,
.bcs-form :focus-visible,
.main-navigation a:focus-visible,
.site-footer a:focus-visible {
	outline: 3px solid var(--bcs-olive);
	outline-offset: 3px;
}

.bcs-banner :focus-visible,
.bcs-section--olive :focus-visible {
	outline-color: var(--bcs-offwhite);
}

.bcs-faq summary:focus-visible {
	outline-offset: 2px;
}

.bcs-tel { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.bcs-btn,
	.bcs-section .wp-block-button__link,
	.bcs-form button[type="submit"] { transition: none; }
}
