/**
 * Guide pages (template-guide.php). Loaded after layout3, layout4 and home.css, which carry the
 * hero, the proof bar, buttons and the edge-to-edge rules. This file adds the figures strip, the
 * intro with the "on this page" list, the section labels with icons, the question cards, the
 * callouts, the photo band and the closing offers. Soft edges throughout. Tokens only. Mobile
 * first; 600 and 900 px.
 */

.seymour-guide-hero .seymour-l3-hero__media {
	min-height: 56vh;
}

.seymour-guide-page {
	--guide-radius: 14px;
}

/* Three figures from the calculator, on navy. */
.seymour-guide__figures {
	background: var(--navy-900);
	color: var(--white);
	padding: var(--space-6) 0;
}

.seymour-guide__figure-list {
	display: grid;
	gap: var(--space-5);
	grid-template-columns: minmax(0, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

.seymour-guide__figure {
	border-left: 2px solid var(--gold-500);
	padding-left: var(--space-4);
}

.seymour-guide__figure-value {
	display: block;
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-h2);
	font-variation-settings: var(--font-serif-settings);
	line-height: 1.1;
}

.seymour-guide__figure-label {
	color: var(--gold-200);
	display: block;
	font-size: var(--fs-meta);
	margin-top: var(--space-1);
}

.seymour-guide__figure-source {
	color: var(--gold-200);
	margin: var(--space-4) 0 0;
	opacity: 0.85;
}

/* The intro: the opening words beside the "on this page" list. */
.seymour-guide__intro {
	padding: var(--space-7) 0 var(--space-5);
}

.seymour-guide__intro-inner {
	display: grid;
	gap: var(--space-6);
	grid-template-columns: minmax(0, 1fr);
}

.seymour-guide__intro-text > p:first-child {
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-lead);
	font-variation-settings: var(--font-serif-settings);
	line-height: 1.5;
}

.seymour-guide__intro-cta {
	border-left: 3px solid var(--gold-500);
	padding-left: var(--space-4);
}

.seymour-guide__toc {
	background: var(--cream);
	border-radius: var(--guide-radius);
	padding: var(--space-5);
}

.seymour-guide__toc .seymour-eyebrow {
	margin: 0 0 var(--space-3);
}

.seymour-guide__toc ol {
	counter-reset: guide;
	list-style: none;
	margin: 0;
	padding: 0;
}

.seymour-guide__toc li {
	counter-increment: guide;
	display: flex;
	gap: var(--space-3);
	padding: var(--space-2) 0;
}

.seymour-guide__toc li + li {
	border-top: 1px solid var(--line);
}

.seymour-guide__toc li::before {
	color: var(--gold-800);
	content: counter(guide, decimal-leading-zero);
	font-size: var(--fs-meta);
	font-weight: var(--weight-semibold);
	min-width: 1.6em;
}

.seymour-guide__toc a {
	color: var(--navy);
	text-decoration: none;
}

.seymour-guide__toc a:hover {
	text-decoration: underline;
	text-decoration-color: var(--gold-500);
}

/* Sections: cream bands, each with a gold label and an icon. */
.seymour-guide__section {
	padding: var(--space-7) 0;
}

.seymour-guide__section:nth-of-type(even) {
	background: var(--cream);
}

.seymour-guide__label {
	align-items: center;
	color: var(--gold-800);
	display: flex;
	font-family: var(--font-sans);
	font-size: var(--fs-eyebrow);
	font-weight: var(--weight-semibold);
	gap: var(--space-3);
	letter-spacing: var(--tracking-eyebrow);
	margin: 0 0 var(--space-5);
	text-transform: uppercase;
}

.seymour-guide__icon {
	background: var(--white);
	border: 1px solid var(--gold-200);
	border-radius: 50%;
	box-sizing: border-box;
	color: var(--navy);
	height: 44px;
	padding: 10px;
	width: 44px;
}

.seymour-guide__section:nth-of-type(odd) .seymour-guide__icon {
	background: var(--cream);
}

/* Question cards: white, soft edges, a thin gold hairline on the left. */
.seymour-guide__cards {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: minmax(0, 1fr);
}

.seymour-guide__card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--guide-radius);
	box-shadow: 0 1px 2px rgba(21, 42, 69, 0.04), 0 8px 24px rgba(21, 42, 69, 0.05);
	padding: var(--space-5);
}

.seymour-guide__section:nth-of-type(odd) .seymour-guide__card {
	background: var(--cream);
	box-shadow: none;
}

.seymour-guide__card h2,
.seymour-guide__card h3 {
	font-size: var(--fs-h3);
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-3);
}

.seymour-guide__answer > :last-child {
	margin-bottom: 0;
}

.seymour-guide__answer p {
	margin: 0 0 var(--space-3);
}

/* A table inside a card (worked examples). */
.seymour-guide__answer table {
	border-collapse: collapse;
	font-size: var(--fs-meta);
	margin: var(--space-3) 0;
	width: 100%;
}

.seymour-guide__answer th,
.seymour-guide__answer td {
	border-bottom: 1px solid var(--line);
	padding: var(--space-2) var(--space-3);
	text-align: left;
}

.seymour-guide__answer th {
	color: var(--gold-800);
	font-size: var(--fs-eyebrow);
	letter-spacing: var(--tracking-eyebrow);
	text-transform: uppercase;
}

/* A figure in the intro: a money line and its caption. */
.seymour-guide__stat {
	background: var(--navy);
	border-radius: var(--guide-radius);
	color: var(--white);
	margin: var(--space-5) 0;
	padding: var(--space-5);
}

.seymour-guide__stat-value {
	display: block;
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-h1);
	font-variation-settings: var(--font-serif-settings);
	line-height: 1.1;
}

.seymour-guide__stat-label {
	color: var(--gold-200);
	display: block;
	margin-top: var(--space-2);
}

.seymour-guide__intro-text > .seymour-eyebrow + p {
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-lead);
	font-variation-settings: var(--font-serif-settings);
	line-height: 1.5;
}

/* Callouts: navy, soft edges, a white button. */
.seymour-guide__callout {
	background: var(--navy);
	border-radius: var(--guide-radius);
	color: var(--white);
	margin-top: var(--space-5);
	padding: var(--space-5);
}

.seymour-guide__callout p {
	margin: 0 0 var(--space-4);
}

.seymour-guide__callout p:last-child {
	margin-bottom: 0;
}

.seymour-guide__callout-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-5);
}

.seymour-guide__link {
	background: none;
	border: 0;
	color: var(--white);
	min-height: 0;
	padding: 0;
	text-decoration: underline;
	text-decoration-color: var(--gold-200);
	text-underline-offset: 0.2em;
}

.seymour-guide__link:hover {
	background: none;
	border: 0;
	color: var(--gold-200);
}

/* The photo band with the page's own pull-quote. */
.seymour-guide__band {
	background: var(--navy-900);
	color: var(--white);
	overflow: hidden;
	padding: var(--space-9) 0;
	position: relative;
}

.seymour-guide__band-image {
	border-radius: 0;
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center 40%;
	position: absolute;
	width: 100%;
}

.seymour-guide__band::after {
	background: linear-gradient(to right, rgba(21, 42, 69, 0.88), rgba(21, 42, 69, 0.55));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.seymour-guide__band--plain::after {
	display: none;
}

.seymour-guide__band-inner {
	max-width: 40em;
	position: relative;
	z-index: 1;
}

.seymour-guide__band-title {
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-h2);
	font-variation-settings: var(--font-serif-settings);
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-4);
}

.seymour-guide__band-text {
	color: var(--white);
	font-size: var(--fs-lead);
	line-height: 1.5;
	margin: 0 0 var(--space-5);
}

.seymour-guide__band p:last-child {
	margin-bottom: 0;
}

/* Closing: the offers as cards, the notes muted, the related links. */
.seymour-guide__closing {
	padding: var(--space-7) 0 var(--space-8);
}

.seymour-guide__offers {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: minmax(0, 1fr);
}

.seymour-guide__offer {
	background: var(--cream);
	border: 1px solid var(--gold-200);
	border-radius: var(--guide-radius);
	padding: var(--space-5);
}

.seymour-guide__offer-title {
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-h3);
	font-variation-settings: var(--font-serif-settings);
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-3);
}

.seymour-guide__offer p:last-child {
	margin-bottom: 0;
}

.seymour-guide__note {
	color: var(--grey-600);
	font-size: var(--fs-meta);
	grid-column: 1 / -1;
}

.seymour-guide__note p:last-child {
	margin-bottom: 0;
}

.seymour-guide__related {
	border-top: 1px solid var(--line);
	margin-top: var(--space-6);
	padding-top: var(--space-6);
}

.seymour-guide__related h2 {
	margin: 0 0 var(--space-4);
}

.seymour-guide__related ul {
	display: grid;
	gap: var(--space-3);
	grid-template-columns: minmax(0, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

.seymour-guide__related li a {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--guide-radius);
	color: var(--navy);
	display: block;
	padding: var(--space-4);
	text-decoration: none;
}

.seymour-guide__related li a:hover {
	border-color: var(--gold-500);
}

@media (min-width: 600px) {
	.seymour-guide__figure-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.seymour-guide__offers,
	.seymour-guide__related ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.seymour-guide-hero .seymour-l3-hero__media {
		min-height: 62vh;
	}

	.seymour-guide__intro-inner {
		align-items: start;
		gap: var(--space-8);
		grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
	}

	.seymour-guide__intro-inner--single {
		grid-template-columns: minmax(0, 1fr);
	}

	.seymour-guide__intro-inner--single .seymour-guide__intro-text {
		max-width: calc(var(--measure) + 160px);
	}

	.seymour-guide__toc {
		position: sticky;
		top: calc(var(--header-height) + var(--space-4));
	}

	.seymour-guide__section-inner {
		max-width: calc(var(--measure) + 220px);
	}

	.seymour-guide__card {
		padding: var(--space-6);
	}

	.seymour-guide__related ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* The page's own enquiry form (October 16, 2026): a cream band before the closing offers. */
.seymour-guide__form {
	background: var(--cream, #f7f4ee);
	padding-block: var(--space-block, 64px);
}

.seymour-guide__form-inner {
	max-width: 42rem;
}

.seymour-guide__form-title {
	margin: var(--space-2, 8px) 0 var(--space-3, 12px);
}

.seymour-guide__form-note {
	color: var(--muted, #5d6673);
	margin: 0 0 var(--space-5, 24px);
}
