/* Printerland v2.1 — footer surface. Tokens come from assets/v21.css (--v-*); rules in DESIGN.md.
   Covers: footer (inc/v21-footer.php), desktop topbar (inc/header.php markup),
   homepage newsletter band (inc/homepage-sections.php markup). */

/* ---------- Footer ---------- */
.v21-footer {
	--f-text: rgb(255 255 255 / 0.74);
	--f-line: rgb(255 255 255 / 0.12);
	background: var(--v-ink);
	color: var(--f-text);
	font-size: 0.9rem;
	line-height: 1.5;
}
.v21-footer-inner {
	max-width: calc(var(--v-max) + 2 * var(--v-gutter));
	margin: 0 auto;
	padding: 0 var(--v-gutter);
}
.v21-footer ul { list-style: none; margin: 0; padding: 0; }
.v21-footer a { color: var(--f-text); text-decoration: none; transition: color 0.15s ease; }
.v21-footer a:hover { color: #fff; }
.v21-footer .ph-svg-icon { flex: none; width: 18px; height: 18px; }

.v21-footer-main { padding: 28px 0 8px; }
.v21-footer-brand { padding-bottom: 12px; }
.v21-footer-logo {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #fff !important;
}
.v21-footer-logo span { color: var(--v-accent); }
.v21-footer-tagline { margin: 10px 0 14px; max-width: 40ch; color: var(--f-text); }

.v21-footer-contact li { display: flex; }
.v21-footer-contact a,
.v21-footer-hours {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 7px 0;
	min-height: 44px;
	box-sizing: border-box;
}
.v21-footer-contact a { align-items: center; }
.v21-footer-contact .ph-svg-icon { color: rgb(255 255 255 / 0.5); margin-top: 1px; }
.v21-footer-hours { font-variant-numeric: tabular-nums; }
.v21-footer-hours .ph-svg-icon { margin-top: 2px; }
.v21-footer .v21-footer-phone { color: #fff; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.v21-footer .v21-footer-phone .ph-svg-icon { color: #fff; }

/* Link columns: accordions on phones. */
.v21-footer-col { border-top: 1px solid var(--f-line); }
.v21-footer-col:last-of-type { border-bottom: 1px solid var(--f-line); }
.v21-footer-col summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	list-style: none;
	cursor: pointer;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
}
.v21-footer-col summary::-webkit-details-marker { display: none; }
.v21-footer-col > summary::before { content: none; display: none; }
.v21-footer-col summary .ph-svg-icon { color: rgb(255 255 255 / 0.6); transition: transform 0.2s ease; }
.v21-footer-col[open] summary .ph-svg-icon { transform: rotate(180deg); }
.v21-footer-col ul { padding: 0 0 10px; }
.v21-footer-col a { display: flex; align-items: center; min-height: 44px; }

/* Bottom bar: copyright, payment chips, credit. */
.v21-footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 16px 0 20px;
	font-size: 0.82rem;
}
.v21-footer-copy { margin: 0; color: var(--f-text); }
.v21-footer-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.v21-footer-pay li {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px;
	border-radius: 8px;
	background: #fff;
	color: var(--v-ink);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}
.v21-footer .v21-footer-credit { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 767px) {
	.v21-footer-bar { gap: 4px 16px; padding-top: 20px; }
	.v21-footer-pay { order: -1; flex-basis: 100%; margin-bottom: 8px; }
}

@media (min-width: 768px) {
	.v21-footer-main {
		display: grid;
		grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
		gap: 32px;
		padding: 48px 0 36px;
		border-bottom: 1px solid var(--f-line);
	}
	.v21-footer-brand { padding: 0; }
	.v21-footer-col,
	.v21-footer-col:last-of-type { border: 0; }
	.v21-footer-col summary { min-height: 0; margin: 4px 0 10px; cursor: default; pointer-events: none; }
	.v21-footer-col summary .ph-svg-icon { display: none; }
	.v21-footer-col ul { padding: 0; }
	.v21-footer-col a { min-height: 34px; }
	.v21-footer-contact a, .v21-footer-hours { min-height: 36px; padding: 5px 0; }
}
@media (min-width: 1024px) {
	.v21-footer-main { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
	.v21-footer-bar .v21-footer-pay { margin-left: auto; }
	.v21-footer-bar { gap: 12px 28px; }
}

/* ---------- Desktop topbar ---------- */
@media (min-width: 1024px) {
	.ph-topbar { font-size: 0.8125rem; }
	.ph-topbar-inner { padding: 0 var(--v-gutter); min-height: 36px; margin: 0 auto; }
	/* The header row right below already carries the phone. */
	.ph-topbar .ph-topbar-phone { display: none; }
	.ph-topbar .ph-topbar-hours {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		font-size: 0.8125rem;
		color: rgb(255 255 255 / 0.74);
	}
	.ph-topbar .ph-topbar-hours::before {
		content: "";
		width: 14px;
		height: 14px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.ph-topbar .ph-topbar-nav { gap: 4px; }
	.ph-topbar .ph-topbar-nav a {
		display: inline-flex;
		align-items: center;
		min-height: 36px;
		padding: 0 10px;
		color: rgb(255 255 255 / 0.8);
		transition: color 0.15s ease;
	}
	.ph-topbar .ph-topbar-nav a:last-child { padding-right: 0; }
	.ph-topbar .ph-topbar-nav a:hover { color: #fff; }
}

/* ---------- Homepage newsletter band ---------- */
.ph-newsletter-bleed { background: transparent; margin: 24px 0 40px; }
.ph-newsletter-bleed .ph-bleed-inner {
	max-width: calc(var(--v-max) + 2 * var(--v-gutter));
	padding: 0 var(--v-gutter);
}
.ph-newsletter {
	background: var(--v-panel);
	border-radius: 16px;
	padding: 20px 16px;
	gap: 14px;
	max-width: none;
}
.ph-newsletter-text h3 { color: var(--v-ink); font-size: 1.2rem; font-weight: 800; margin: 0 0 4px; }
.ph-newsletter-text p { color: var(--v-muted); font-size: 0.9rem; }
.ph-newsletter-form { flex: 1 1 100%; max-width: none; gap: 8px; }
.ph-newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #D5DCE6;
	border-radius: 10px;
	background: #fff;
	color: var(--v-ink);
	font-size: 1rem;
}
.ph-newsletter-form input[type="email"]:focus {
	outline: 0;
	border-color: var(--v-navy);
	box-shadow: 0 0 0 3px rgb(34 54 84 / 0.15);
}
.ph-newsletter-form button {
	height: 48px;
	padding: 0 20px;
	border-radius: 10px;
	background: var(--v-accent);
	box-shadow: none;
	font-size: 0.95rem;
	transition: background-color 0.15s ease, transform 0.1s ease;
}
.ph-newsletter-form button:hover { background: var(--v-accent-hover); }
.ph-newsletter-form button:active { transform: translateY(1px); }
.ph-newsletter-message { color: var(--v-green); text-align: left; margin-top: 0; }
.ph-newsletter-message.is-error { color: var(--v-accent-hover); }
@media (min-width: 768px) {
	.ph-newsletter { padding: 28px 40px; gap: 16px 32px; }
	.ph-newsletter-text { flex: 1 1 18rem; }
	.ph-newsletter-text h3 { font-size: 1.35rem; }
	.ph-newsletter-form { flex: 0 1 30rem; }
	.ph-newsletter-message { text-align: right; }
}

/* Studio credit: quiet signature, name emphasised, arrow on hover. */
.v21-footer .v21-footer-credit {
	gap: 6px;
	padding: 0 12px;
	border: 1px solid rgb(255 255 255 / 0.16);
	border-radius: 999px;
	min-height: 36px;
	color: rgb(255 255 255 / 0.62);
	font-size: 0.82rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.v21-footer .v21-footer-credit strong { color: #fff; font-weight: 600; }
.v21-footer .v21-footer-credit svg { opacity: 0.6; transition: transform 0.15s ease, opacity 0.15s ease; }
.v21-footer .v21-footer-credit:hover { border-color: rgb(255 255 255 / 0.4); color: #fff; }
.v21-footer .v21-footer-credit:hover svg { opacity: 1; transform: translate(1px, -1px); }

/* Newsletter: honeypot (bots fill it, people never see it) + consent line. */
.ph-newsletter-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ph-newsletter-consent { flex: 1 1 100%; margin: 0; font-size: 12.5px; line-height: 1.45; opacity: .85; }
.ph-newsletter-consent a { color: inherit; text-decoration: underline; }
