/**
 * sections.css — one block per page section.
 *
 * The designed home page sections are added here as each
 * template-parts/home/*.php file is built, in the same order as the design,
 * each under its own banner comment. Only the shared page chrome lives here
 * for now: the page header band and the closing enquiry band.
 */

/* ----------------------------------------------------------------------
 * Page header band
 * ------------------------------------------------------------------- */

.page-header {
	padding-block: clamp(48px, 6vw, 96px);
	background: var(--cream);
}

.page-header--teal {
	background: var(--deep-teal);
	color: var(--text-on-dark);
}

.page-header--plain {
	background: var(--white);
}

.page-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
}

.page-header__copy {
	flex: 1 1 58%;
	min-width: 0;
}

.page-header__media {
	flex: 1 1 42%;
	min-width: 0;
	aspect-ratio: 4 / 3;
}

.page-header__title {
	font-size: var(--fs-h1);
	color: var(--deep-teal);
}

.page-header--teal .page-header__title {
	color: var(--white);
}

.page-header__intro {
	max-width: 56ch;
	margin-top: var(--space-6);
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
}

.page-header__actions {
	margin-top: var(--space-8);
}

/* ----------------------------------------------------------------------
 * Closing enquiry band
 * ------------------------------------------------------------------- */

.cta-band {
	padding-block: var(--section-y);
	background: var(--white);
}

.cta-band--teal {
	background: var(--deep-teal);
	color: var(--text-on-dark);
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 80px);
}

.cta-band__title {
	max-width: 18ch;
	font-size: var(--fs-h2);
}

.cta-band__text {
	max-width: 46ch;
	margin-top: var(--space-5);
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-top: var(--space-8);
}

.cta-band__note {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.cta-band--teal .cta-band__note {
	color: var(--text-on-dark-soft);
}

.cta-band__note svg {
	color: var(--ochre);
}

/* ----------------------------------------------------------------------
 * Single and archive scaffolding
 * ------------------------------------------------------------------- */

.entry {
	padding-block: var(--section-y);
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-5);
	margin-bottom: var(--space-6);
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.entry__media {
	margin-bottom: var(--space-11);
	border-radius: var(--radius-card);
	overflow: hidden;
}

.archive-head {
	padding-block: clamp(48px, 6vw, 96px) var(--space-9);
	background: var(--cream);
}

.archive-grid {
	padding-block: var(--section-y);
}

.no-results {
	padding-block: var(--section-y);
	text-align: center;
}

/* ----------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------- */

.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding-block: var(--section-y);
	text-align: center;
}

.error-404__code {
	font-family: var(--font-display);
	font-size: var(--fs-stat);
	font-weight: var(--fw-bold);
	line-height: 1;
	color: var(--ochre);
}

/* ----------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------- */

@media (max-width: 900px) {
	.page-header__inner,
	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-header__media {
		width: 100%;
	}
}
