/* Content pages (About, Contact, generic pages, 404). Loaded after style.css. Tokens only: no brand hex. */

/* --- Page heading band ----------------------------------------------------------
   Same cream band as the store heading, so every inner page opens the same way. */
.page-hero--compact { padding: calc( var( --section-y ) * 0.55 ) 0; }
.page-hero--compact .page-hero__title { margin-bottom: 0; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero__lead:last-child { margin-bottom: 0; }

/* --- Long-form text ---------------------------------------------------------------
   A ~65ch measure and comfortable leading for the client's own paragraphs. */
.prose { max-width: 65ch; font-size: 18px; line-height: 1.75; }
.prose > * { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2,
.prose h3,
.prose h4 {
	font-family: var( --font-subheading );
	font-size: 22px;
	line-height: 1.3;
	margin: 1.6em 0 0.5em;
	color: var( --color-heading );
}
.prose > h2:first-child,
.prose > h3:first-child,
.prose > h4:first-child { margin-top: 0; }
.prose ul:not( .checklist ),
.prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var( --color-accent ); }
.prose a:not( .btn ) { color: var( --color-heading ); text-underline-offset: 3px; }
.prose .checklist { margin: 1.4em 0; }
.prose .checklist li { font-size: 17px; background: var( --color-cream ); }

/* --- About: story beside a photo ------------------------------------------------ */
.about {
	display: grid;
	grid-template-columns: minmax( 0, 1.15fr ) minmax( 0, 0.85fr );
	gap: calc( var( --gutter ) * 1.5 );
	align-items: start;
}
.about__media { position: sticky; top: 110px; }
.about__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var( --radius-card );
	box-shadow: var( --shadow-image );
}
/* No photo chosen yet: the story takes the full measure instead of leaving a hole. */
.about__media:empty { display: none; }
.about:has( .about__media:empty ) { grid-template-columns: minmax( 0, 1fr ); }

/* The Aunty K About leads into the CMT process: tint it so two white sections don't merge. */
.about-section + #process { background: var( --color-cream ); }

.btn-row--left { text-align: left; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- Closing brand line with the next step ------------------------------------- */
.about-cta { text-align: center; }
.about-cta__line {
	max-width: 30ch;
	margin: 0 auto 26px;
	font-family: var( --font-subheading );
	font-size: var( --size-subheading );
	line-height: 1.25;
	text-wrap: balance;
}
.about-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.on-dark .btn.btn--outline {
	background: transparent;
	color: var( --color-on-dark );
	box-shadow: inset 0 0 0 2px var( --color-accent-on-dark );
}
.on-dark .btn.btn--outline:hover { background: var( --color-accent-on-dark ); color: var( --color-accent-text ); }

/* --- Contact ------------------------------------------------------------------------ */
.quote__form-title {
	font-family: var( --font-subheading );
	font-size: 24px;
	margin: 0 0 16px;
}
.contact-card__note a { font-weight: 600; color: var( --color-heading ); text-underline-offset: 3px; }
#faq { scroll-margin-top: 90px; }

/* --- 404 ------------------------------------------------------------------------------ */
.not-found { text-align: center; padding-bottom: calc( var( --section-y ) * 1.1 ); }
.not-found .page-hero__lead { margin-left: auto; margin-right: auto; }
.not-found__search { max-width: 460px; margin: 0 auto 24px; }

/* Search form (404 and search results): one pill-shaped row. */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1 1 auto; margin: 0; }
.search-form .search-field {
	width: 100%;
	height: 100%;
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid rgba( 0, 0, 0, 0.45 );
	border-radius: var( --radius-button );
	background: var( --color-white );
	color: var( --color-text );
	font: inherit;
}
.search-form .search-field:focus-visible { outline: 2px solid var( --color-heading ); outline-offset: 2px; }
.search-form button { flex: 0 0 auto; }
.not-found__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 20px;
}
.not-found__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

/* --- Phones --------------------------------------------------------------------------- */
@media ( max-width: 900px ) {
	.about { grid-template-columns: minmax( 0, 1fr ); }
	.about__media { position: static; order: -1; }
	.about__img { max-width: 520px; aspect-ratio: 4 / 3; }
}
@media ( max-width: 600px ) {
	.prose { font-size: 17px; }
	.about-cta__line { font-size: 26px; }
	.btn-row--left .btn { flex: 1 1 auto; text-align: center; }
}
