/*
 * WonderTale House — site footer (Phase 2B.3). Markup: template-parts/wt-footer.php.
 * Deep storybook teal, continuing the night of the final call to action above it.
 */
.wt-footer {
	position: relative;
	background:
		radial-gradient(ellipse 50% 80% at 0% 0%, rgb(18 120 110 / 0.35), transparent 70%),
		#03302d;
	color: rgb(255 247 238 / 0.82);
	box-shadow: inset 0 1px 0 rgb(233 162 59 / 0.28);
	font-size: 0.9375rem;
}
.wt-footer__inner {
	display: grid;
	gap: 32px 40px;
	max-width: var(--wt-content-max);
	margin-inline: auto;
	padding: clamp(48px, 6vw, 80px) var(--wt-gutter) clamp(32px, 4vw, 48px);
}
@media (min-width: 768px) {
	.wt-footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; }
	.wt-footer__brand { flex: 1 1 340px; }
	.wt-footer__col { flex: 0 1 180px; }
	.wt-footer__todo { flex: 1 1 100%; }
}
.wt-site .wt-footer__wordmark { margin: 0; font-family: var(--wt-font-display); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -0.01em; }
.wt-site .wt-footer__wordmark a { color: var(--wt-ivory); text-decoration: none; }
.wt-site .wt-footer__wordmark a:focus-visible { outline: 3px solid var(--wt-ivory); outline-offset: 4px; border-radius: 2px; }
.wt-footer__wordmark .wt-wordmark__house { color: var(--wt-gold); }
.wt-site .wt-footer__tagline { margin: 10px 0 0; font-family: var(--wt-font-display); font-style: italic; font-size: 1.1rem; color: #f2be62; }
.wt-footer__flourish {
	display: block;
	width: 120px;
	height: 14px;
	margin-top: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 16'%3E%3Cpath d='M0 8 H52 M80 8 H132' stroke='%23E9A23B' stroke-opacity='.6' stroke-width='1.5'/%3E%3Cpath d='M66 1 Q67.4 6.6 73 8 Q67.4 9.4 66 15 Q64.6 9.4 59 8 Q64.6 6.6 66 1Z' fill='%23E9A23B'/%3E%3C/svg%3E") left center / contain no-repeat;
}
.wt-site .wt-footer__heading { margin: 0 0 12px; font-family: var(--wt-font-body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #f2be62; }
.wt-site .wt-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.wt-site .wt-footer__links a { display: inline-flex; align-items: center; min-height: 36px; color: rgb(255 247 238 / 0.88); text-decoration: none; }
.wt-site .wt-footer__links a:hover { color: var(--wt-ivory); text-decoration: underline; text-underline-offset: 4px; }
.wt-site .wt-footer__links a:focus-visible { outline: 3px solid var(--wt-ivory); outline-offset: 2px; border-radius: 2px; }
.wt-footer__todo {
	grid-column: 1 / -1;
	padding: 14px 18px;
	border: 1.5px dashed rgb(255 184 166 / 0.55);
	border-radius: 16px;
	color: #ffcbbd;
	font-size: 0.8125rem;
}
.wt-site .wt-footer__todo-title { margin: 0 0 6px; font-weight: 800; }
.wt-site .wt-footer__todo-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.wt-footer__todo-list li { text-decoration: line-through; text-decoration-color: rgb(255 203 189 / 0.6); }
.wt-site .wt-footer__todo-note { margin: 6px 0 0; opacity: 0.85; }
.wt-footer__base {
	max-width: var(--wt-content-max);
	margin-inline: auto;
	padding: 18px var(--wt-gutter) 28px;
	border-top: 1px solid rgb(255 247 238 / 0.12);
	font-size: 0.8125rem;
	color: rgb(255 247 238 / 0.7);
}
.wt-site .wt-footer__base p { margin: 0; }
/* Phase 4D: three short sentences that flow as one paragraph on wide screens and wrap at sentence
   boundaries where space runs out; never wider than a comfortable reading measure. */
.wt-site .wt-footer__copyright { max-width: 72ch; line-height: 1.6; text-wrap: pretty; }
.wt-site .wt-footer__copy-line { display: inline; }
@media (max-width: 767px) {
	.wt-site .wt-footer__copy-line { display: block; }
	.wt-site .wt-footer__copy-line + .wt-footer__copy-line { margin-top: 2px; }
}
