/**
 * Home-page-only sections: Hero, Stance, Service background pattern, Podcast.
 * (Promise and Contact CTA are shared components — see components.css.)
 * Background order per brief 5-1: white(Hero) -> bg/muted+dots(Stance) ->
 * bg/subtle+equipment pattern(Service) -> bg/ash(Promise) ->
 * lemon+stripes(Podcast) -> white(Contact CTA) -> navy(Footer).
 */

/* -- Hero (9:19 / 9:264) -- */

.hero {
	padding: var(--section-py) var(--container-px);
	background-color: var(--color-bg-base);
}

.hero__row {
	display: flex;
	flex-direction: column;
	gap: var(--block-gap);
	max-width: 1280px;
	margin-inline: auto;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero__catch {
	font: 800 40px/1.5 var(--font-mincho);
	color: var(--color-text-primary);
	margin: 0;
}

.hero__cta {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hero__cta .btn {
	width: 100%;
}

.hero__photo {
	width: 336px;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	background-color: var(--color-bg-muted);
	box-shadow: 12px 12px 0 0 var(--color-brand-primary);
}

.hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@container site (min-width: 720px) {
	.hero__row {
		flex-direction: row;
		align-items: center;
		gap: 48px;
	}

	.hero__copy {
		flex: 1 1 0;
	}

	.hero__cta {
		flex-direction: row;
	}

	.hero__cta .btn {
		width: auto;
	}

	.hero__photo {
		width: 440px;
		flex-shrink: 0;
	}
}

/* -- Stance / "OUR STANCE" (9:55 / 9:298): bg/muted + small dot pattern -- */

.stance {
	position: relative;
	padding: var(--section-py) var(--container-px);
	background-color: var(--color-bg-muted);
	background-image: url(../img/patterns/dots-on-muted.png);
	background-size: 16px 16px;
	background-repeat: repeat;
}

.stance__row {
	display: flex;
	flex-direction: column;
	gap: var(--block-gap);
}

.stance__left {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Narrow (<720): decorative overlay, top-right of the section. */
.stance__dog {
	position: absolute;
	top: 67px;
	right: var(--container-px);
	width: 104px;
}

.stance__dog-img {
	width: 100%;
	height: auto;
}

.stance__dog-img--wide {
	display: none;
}

.stance__body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
	background-color: var(--color-bg-base);
	border: 1px solid var(--color-border-base);
	border-radius: var(--radius-lg);
}

.stance__emphasis {
	display: flex;
	gap: 16px;
	padding-block: 4px;
}

.stance__emphasis-bar {
	width: 4px;
	flex-shrink: 0;
	align-self: stretch;
	border-radius: 2px;
	background-color: var(--color-brand-primary);
}

@container site (min-width: 720px) {
	.stance {
		/* Deliberate override of the usual --container-px (40px) — Figma
		   specifies a literal 160px side padding for this section at Wide. */
		padding-inline: 160px;
	}

	.stance__row {
		flex-direction: row;
		align-items: flex-start;
		gap: 0;
		max-width: 1280px;
		margin-inline: auto;
	}

	.stance__left {
		width: 400px;
		flex-shrink: 0;
		gap: 56px;
	}

	/* Wide: back in normal flow below the heading, not an overlay. */
	.stance__dog {
		position: static;
		width: 260px;
	}

	.stance__dog-img--narrow {
		display: none;
	}

	.stance__dog-img--wide {
		display: block;
	}

	.stance__body {
		flex: 1 1 0;
		min-width: 0;
		gap: 28px;
		padding: 48px;
	}
}

/* -- Service (9:71 / 9:316): bg/subtle + equipment-icon pattern tile -- */

.service {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--block-gap);
	padding: var(--section-py) var(--container-px);
}

.service--pattern-subtle {
	background-color: var(--color-bg-subtle);
	background-image: url(../img/patterns/equipment-on-subtle.svg);
	background-repeat: repeat;
	background-size: 324px 216px; /* Narrow (<720): 75% of the 432x288 base tile */
}

@container site (min-width: 720px) {
	.service--pattern-subtle {
		background-size: 432px 288px;
	}
}

.service > .section-heading,
.service__cards {
	position: relative;
	width: 100%;
	max-width: 1120px;
}

.service__cards {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.service__more {
	position: relative;
	width: 100%;
	max-width: 1120px;
}

@container site (min-width: 720px) {
	.service__more {
		width: auto;
		min-width: 320px;
	}
}

/* Podcast section visuals (.podcast-intro, .podcast__row, etc.) moved to
   components.css — shared with the podcast CPT archive. */
