/**
 * Inner pages — shared layout (hero, cards, CTA).
 */

.site-main--page {
	background: #fff;
}

/* ── Page hero ── */
.page-hero {
	padding: 72px 0 64px;
}

.page-hero--dark {
	background: var(--wimira-night);
	color: #fff;
}

.page-hero--light {
	background: #fff;
	color: var(--wimira-ink-heading);
	border-bottom: 1px solid rgba(18, 21, 38, 0.08);
}

.page-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: var(--wimira-content);
}

.page-hero--dark .home-eyebrow {
	color: rgba(255, 255, 255, 0.72);
}

.page-hero--dark .home-eyebrow__rule {
	background: var(--wimira-red);
}

.page-hero__title {
	margin: 0;
	max-width: 18ch;
	font-family: var(--wimira-font-heading);
	font-size: clamp(34px, 5vw, 56px);
	font-weight: var(--wimira-weight-heading);
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-wrap: balance;
}

.page-hero--dark .page-hero__title {
	color: #fff;
}

.page-hero--light .page-hero__title {
	color: var(--wimira-ink-heading);
}

.page-hero__accent {
	color: var(--wimira-red);
}

.page-hero__lead {
	margin: 0;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.65;
}

.page-hero--dark .page-hero__lead {
	color: rgba(255, 255, 255, 0.7);
}

.page-hero--light .page-hero__lead {
	color: var(--wimira-text-soft);
}

.page-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 8px;
}

.page-hero__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s var(--wimira-ease);
}

.page-hero--dark .page-hero__link {
	color: #fff;
}

.page-hero--light .page-hero__link {
	color: var(--wimira-red);
}

.page-hero__link svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.page-hero__link:hover,
.page-hero__link:focus-visible {
	color: var(--wimira-red);
}

/* ── Default page content ── */
.page-content {
	padding: 48px 0 72px;
	max-width: var(--wimira-content);
}

.page-content > *:first-child {
	margin-top: 0;
}

/* ── Section shell ── */
.page-section {
	padding: 72px 0;
}

.page-section--white {
	background: #fff;
}

.page-section--night {
	background: var(--wimira-night);
	color: #fff;
}

.page-section__inner {
	max-width: var(--wimira-content);
	margin: 0 auto;
}

.page-section__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 640px;
	margin: 0 0 40px;
}

.page-section__head h2 {
	margin: 0;
	font-family: var(--wimira-font-heading);
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: var(--wimira-weight-heading);
	letter-spacing: -0.03em;
	line-height: 1.15;
	text-wrap: balance;
}

.page-section--night .page-section__head h2 {
	color: #fff;
}

.page-section--white .page-section__head h2 {
	color: var(--wimira-ink-heading);
}

.page-section__head p {
	margin: 0;
	max-width: 48ch;
	font-size: 15px;
	line-height: 1.65;
}

.page-section--night .page-section__head p {
	color: rgba(255, 255, 255, 0.68);
}

.page-section--night .home-eyebrow {
	color: rgba(255, 255, 255, 0.72);
}

.page-section--night .home-eyebrow__rule {
	background: var(--wimira-red);
}

.page-section--white .page-section__head p {
	color: var(--wimira-text-soft);
}

/* ── Capability cards grid ── */
.page-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.page-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 24px 22px 22px;
	border: 1px solid rgba(18, 21, 38, 0.1);
	border-radius: 14px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition:
		transform 0.25s var(--wimira-ease),
		border-color 0.25s var(--wimira-ease),
		box-shadow 0.25s var(--wimira-ease);
}

.page-card:hover,
.page-card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(226, 44, 40, 0.35);
	box-shadow: 0 16px 36px rgba(18, 21, 38, 0.08);
}

.page-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wimira-red-light);
	color: var(--wimira-red);
}

.page-card__icon svg {
	width: 22px;
	height: 22px;
}

.page-card h3 {
	margin: 0;
	color: var(--wimira-ink-heading);
	font-family: var(--wimira-font-heading);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.page-card p {
	margin: 0;
	color: var(--wimira-text-soft);
	font-size: 14px;
	line-height: 1.55;
}

.page-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
	color: var(--wimira-red);
	font-size: 13px;
	font-weight: 700;
}

.page-card__more svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s var(--wimira-ease);
}

.page-card:hover .page-card__more svg,
.page-card:focus-visible .page-card__more svg {
	transform: translateX(3px);
}

/* ── Engage strip ── */
.page-engage-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.page-engage-item h3 {
	margin: 0 0 8px;
	color: #fff;
	font-family: var(--wimira-font-heading);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.page-engage-item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
	line-height: 1.6;
}

/* ── Page CTA band ── */
.page-cta-band {
	background: var(--wimira-night);
	padding: 56px 0;
}

.page-cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	max-width: var(--wimira-content);
	margin: 0 auto;
}

.page-cta-band__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
	max-width: 560px;
}

.page-cta-band__copy .home-eyebrow {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

.page-cta-band__copy .home-eyebrow__rule {
	background: var(--wimira-red);
}

.page-cta-band h2 {
	margin: 0;
	color: #fff;
	font-family: var(--wimira-font-heading);
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: var(--wimira-weight-heading);
	letter-spacing: -0.03em;
	line-height: 1.15;
	text-wrap: balance;
}

.page-cta-band p {
	margin: 0;
	max-width: 46ch;
	color: rgba(255, 255, 255, 0.68);
	font-size: 15px;
	line-height: 1.6;
}

.page-cta-band__btn {
	flex: none;
	white-space: nowrap;
}

@media (max-width: 960px) {
	.page-card-grid,
	.page-engage-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.page-hero {
		padding: 48px 0 40px;
	}

	.page-section {
		padding: 48px 0;
	}

	.page-card-grid,
	.page-engage-grid {
		grid-template-columns: 1fr;
	}

	.page-cta-band {
		padding: 40px 0;
	}

	.page-cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.page-cta-band__btn {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}
}
