/* ─── Owner's Info (/owners/) ─────────────────────────────────────────────────
 * Hero over the moisture-guide cover crop, a jump bar, then four sections:
 * moisture (paper), care & storage (soft), owner FAQ (dark, the shared
 * collection accordion) and warranty & support (paper). Icons share the
 * moisture infographics' line style. Anchor jumps clear the sticky header
 * through html { scroll-padding-top } in globals.css. */

.liv-owners {
	/* Green for text on the light sections: 5.4:1 on white, 5.0:1 on paper-soft
	   (--liv-leaf-700 is 4.1:1 and 3.8:1, under WCAG AA for small text). */
	--liv-owners-green: #3c7726;
}

.liv-owners__ico {
	display: block;
	flex: none;
	width: 40px;
	height: 40px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.liv-owners__ico * { vector-effect: non-scaling-stroke; }

/* Light sections: the default leaf-300 eyebrow is tuned for dark grounds. */
.liv-owners__moisture .liv-eyebrow,
.liv-owners__winter .liv-eyebrow,
.liv-owners__care .liv-eyebrow,
.liv-owners__warranty .liv-eyebrow {
	color: var(--liv-owners-green);
}
.liv-owners__moisture .liv-owners__guide .liv-eyebrow { color: var(--liv-leaf-300); }

/* ── Hero ── */
.liv-owners__hero {
	background: var(--liv-ink-900);
	color: var(--liv-paper);
}
.liv-owners__hero-stage {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(460px, 37.5vw, 680px); /* the crop is 8:3 */
	overflow: hidden;
}
.liv-owners__hero-media,
.liv-owners__hero-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.liv-owners__hero-media img {
	object-fit: cover;
	object-position: 0% 60%; /* narrower than 8:3: crop the right, keep the trailer clear of the copy */
}
/* The trailer sits right of centre; shade the sky on the left where the copy sits. */
.liv-owners__hero-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgb(var(--liv-shade-rgb, 0 0 0) / 0.82) 0%, rgb(var(--liv-shade-rgb, 0 0 0) / 0.58) 36%, rgb(var(--liv-shade-rgb, 0 0 0) / 0) 66%),
		linear-gradient(to top, rgb(var(--liv-shade-rgb, 0 0 0) / 0.5) 0%, rgb(var(--liv-shade-rgb, 0 0 0) / 0) 35%);
}
.liv-owners__hero-copy {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: clamp(4rem, 9vw, 7rem);
}
.liv-owners__hero .liv-eyebrow {
	text-shadow: 0 1px 10px rgb(var(--liv-shade-rgb, 0 0 0) / 0.7);
}
.liv-owners__title {
	max-width: 10ch;
	margin: 0.5rem 0 1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 900;
	font-size: clamp(2.75rem, 5.4vw, 4.75rem);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--liv-paper);
	text-shadow: 0 2px 14px rgb(var(--liv-shade-rgb, 0 0 0) / 0.45);
}
.liv-owners__lead {
	max-width: 34ch;
	margin: 0;
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.5;
	color: rgb(var(--liv-fg-rgb, 255 255 255) / 0.88);
	text-shadow: 0 1px 10px rgb(var(--liv-shade-rgb, 0 0 0) / 0.5);
}

/* Jump bar under the photo */
.liv-owners__jump {
	border-top: 1px solid rgb(var(--liv-fg-rgb, 255 255 255) / 0.12);
}
.liv-owners__jump ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.liv-owners__jump li + li {
	border-left: 1px solid rgb(var(--liv-fg-rgb, 255 255 255) / 0.12);
}
.liv-owners__jump a {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	min-height: 44px;
	padding: 1.25rem 1.25rem 1.25rem 0;
	font-weight: 600;
	color: var(--liv-paper);
	text-decoration: none;
	transition: color var(--liv-transition);
}
.liv-owners__jump li + li a { padding-left: 1.25rem; }
.liv-owners__jump a:hover,
.liv-owners__jump a:focus-visible {
	color: var(--liv-leaf-300);
}
.liv-owners__jump-n {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	font-variant-numeric: tabular-nums;
	color: var(--liv-leaf-300);
}

/* ── Section heads ── */
.liv-owners__head {
	max-width: 46rem;
	margin-block-end: clamp(2rem, 4vw, 3rem);
}
.liv-owners__head .liv-section__title { margin-top: 0.5rem; }
.liv-owners__intro {
	margin: 1rem 0 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--liv-ink-500);
}

/* ── Moisture: the two infographics, then the guide card ── */
.liv-owners__graphics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}
.liv-owners__graphic { margin: 0; }
.liv-owners__graphic img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}
.liv-owners__graphic figcaption {
	margin-top: 0.625rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--liv-ink-400);
}

.liv-owners__guide {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
	border-radius: 4px;
	background: var(--liv-ink-900);
	color: var(--liv-paper);
	text-decoration: none;
}
.liv-owners__guide-media { overflow: hidden; }
.liv-owners__guide-media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.liv-owners__guide-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: clamp(1.75rem, 4vw, 3.5rem);
}
.liv-owners__guide-title {
	text-wrap: balance;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.05;
	letter-spacing: -0.015em;
}
.liv-owners__guide-text {
	max-width: 40ch;
	line-height: 1.6;
	color: rgb(var(--liv-fg-rgb, 255 255 255) / 0.78);
}

/* "Read" + arrow, shared by the guide card and the small cards */
.liv-owners__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.5rem;
	font-weight: 700;
	color: var(--liv-owners-green);
}
.liv-owners__guide .liv-owners__more { color: var(--liv-leaf-300); }
.liv-owners__more .liv-owners__ico {
	width: 20px;
	height: 20px;
	transition: transform var(--liv-transition);
}

/* ── Cards (care guides, support links) ── */
.liv-owners__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.liv-owners__card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: 100%;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border: 1px solid rgb(var(--liv-shade-rgb, 0 0 0) / 0.1);
	border-radius: 4px;
	background: var(--liv-paper);
	color: var(--liv-ink-900);
	text-decoration: none;
	transition: border-color var(--liv-transition), box-shadow var(--liv-transition);
}
.liv-owners__cards--support .liv-owners__card { background: var(--liv-paper-soft); }
.liv-owners__card > .liv-owners__ico { color: var(--liv-owners-green); margin-bottom: 0.25rem; }
.liv-owners__card-title {
	text-wrap: balance;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.15;
}
.liv-owners__ext {
	display: inline-block;
	vertical-align: -0.05em;
	width: 16px;
	height: 16px;
	margin-left: 0.35rem;
	color: var(--liv-ink-400);
}
.liv-owners__card-text {
	line-height: 1.55;
	color: var(--liv-ink-400);
}
.liv-owners__card:hover,
.liv-owners__card:focus-visible {
	border-color: var(--liv-leaf-500);
	box-shadow: 0 10px 28px -18px rgb(var(--liv-shade-rgb, 0 0 0) / 0.35);
}
.liv-owners__card:hover .liv-owners__more .liv-owners__ico,
.liv-owners__card:focus-visible .liv-owners__more .liv-owners__ico,
.liv-owners__guide:hover .liv-owners__more .liv-owners__ico,
.liv-owners__guide:focus-visible .liv-owners__more .liv-owners__ico {
	transform: translateX(4px);
}

/* ── Seal check panel ── */
.liv-owners__seals {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 4px;
	background: var(--liv-ink-900);
	color: var(--liv-paper);
}
.liv-owners__seals h3 {
	text-wrap: balance;
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.1;
	color: var(--liv-paper);
}
.liv-owners__seals-head p {
	margin: 0;
	line-height: 1.6;
	color: rgb(var(--liv-fg-rgb, 255 255 255) / 0.75);
}
.liv-owners__seal-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.liv-owners__seal-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 0.875rem;
	align-items: start;
	padding-block: 0.875rem;
	border-top: 1px solid rgb(var(--liv-fg-rgb, 255 255 255) / 0.12);
	line-height: 1.45;
}
.liv-owners__seal-list li:first-child { border-top: 0; padding-top: 0; }
.liv-owners__seal-list .liv-owners__ico {
	width: 22px;
	height: 22px;
	color: var(--liv-leaf-300);
}
.liv-owners__seal-note {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 0.875rem;
	align-items: start;
	margin: 1rem 0 0;
	padding: 1rem 1.125rem;
	border: 1px solid rgb(151 196 89 / 0.45);
	border-radius: 4px;
	line-height: 1.45;
}
.liv-owners__seal-note .liv-owners__ico {
	width: 22px;
	height: 22px;
	color: var(--liv-leaf-300);
}
.liv-owners__seal-note a {
	color: var(--liv-paper);
	text-decoration: underline;
	text-decoration-color: var(--liv-leaf-500);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* ── FAQ: list aligned with the section head; links on the dark accordion ── */
.liv-owners__faq .liv-collection__faq-list { margin-inline: 0; }
.liv-owners__faq .liv-collection__faq-a a {
	color: var(--liv-paper);
	text-decoration: underline;
	text-decoration-color: var(--liv-leaf-500);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.liv-owners__faq .liv-collection__faq-a a:hover,
.liv-owners__faq .liv-collection__faq-a a:focus-visible {
	color: var(--liv-leaf-300);
}

/* ── Responsive ── */
@media (max-width: 899px) {
	.liv-owners__graphics {
		grid-template-columns: minmax(0, 720px);
		justify-content: center;
	}
	.liv-owners__cards { grid-template-columns: minmax(0, 1fr); }
	.liv-owners__seals { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.liv-owners__hero-stage {
		align-items: flex-start;
		min-height: 560px;
	}
	.liv-owners__hero-media img { object-position: 50% 100%; }
	/* Phone crop: trees and fog on top for the copy, the trailer below. */
	.liv-owners__hero-stage::after {
		background: linear-gradient(to bottom, rgb(var(--liv-shade-rgb, 0 0 0) / 0.8) 0%, rgb(var(--liv-shade-rgb, 0 0 0) / 0.55) 42%, rgb(var(--liv-shade-rgb, 0 0 0) / 0) 70%);
	}
	.liv-owners__hero-copy { padding-block: 2.5rem; }
	.liv-owners__jump ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.liv-owners__jump li:nth-child(3) { border-left: 0; }
	.liv-owners__jump li:nth-child(n + 3) { border-top: 1px solid rgb(var(--liv-fg-rgb, 255 255 255) / 0.12); }
	.liv-owners__jump li:nth-child(3) a { padding-left: 0; }
	.liv-owners__jump a { padding-block: 1rem; font-size: 0.9375rem; }
	.liv-owners__guide { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.liv-owners__more .liv-owners__ico,
	.liv-owners__card { transition: none; }
}

/* ── Winter care band (links the winterizing guide) ── */
.liv-owners__winter { padding-block: clamp(3rem, 6vw, 5rem); }
.liv-owners__winter-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	padding-block: clamp(2rem, 4vw, 3rem);
	border-block: 1px solid rgb(var(--liv-shade-rgb, 0 0 0) / 0.12);
}
.liv-owners__winter-copy .liv-section__title { margin-block: 0.25rem 0.75rem; text-wrap: balance; }
.liv-owners__winter-copy .liv-owners__intro { margin: 0 0 1.75rem; max-width: 46ch; }
/* The house button's leaf-700 is 4.1:1 under small white caps; the owners green clears 4.5:1. */
.liv-owners__winter-cta { background: var(--liv-owners-green); }
.liv-owners__winter-cta:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--liv-owners-green) 82%, #000); }
.liv-owners__winter-media {
	display: block;
	overflow: hidden;
	border: 1px solid rgb(var(--liv-shade-rgb, 0 0 0) / 0.12);
	border-radius: 4px;
	background: var(--liv-paper-soft);
}
.liv-owners__winter-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform var(--liv-transition);
}
@media (hover: hover) {
	.liv-owners__winter-media:hover img { transform: scale(1.02); }
}
@media (min-width: 768px) {
	.liv-owners__winter-band { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
@media (prefers-reduced-motion: reduce) {
	.liv-owners__winter-media img { transition: none; }
}
