/*
Theme Name: Weismann Web
Theme URI: https://weismannweb.com/
Author: Weismann Web
Description: A slimmer, faster theme for Weismann Web: custom code, AI and web marketing. Five pages, one conversion form, no page builder. Colors come from the flame logo. All copy lives in inc/content.php.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weismannweb
*/

/* ==========================================================
   Tokens (from the flame logo)
   ========================================================== */
:root {
	--blue: #2366ad;        /* Weismann blue, darkened for readable text and buttons */
	--blue-deep: #184f8a;
	--sky: #80c0e8;         /* logo "Weismann" sky blue, decoration only */
	--sky-wash: #eef5fb;
	--navy: #0f2a44;
	--red: #b5191c;         /* logo "Web" red: buttons and small accents only */
	--red-deep: #8f1214;
	--orange: #d0681a;
	--yellow: #f0d020;
	--ink: #1f2328;
	--gray: #5d6670;
	--rule: #d7dee6;
	--paper: #ffffff;
	--white: #ffffff;
	--flame: linear-gradient(90deg, #8f1214 0%, #c03018 30%, #d0681a 60%, #f0d020 100%);

	--display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--text: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1180px;
	--gut: clamp(1rem, 4vw, 2.5rem);
	--space: clamp(3.5rem, 8vw, 6.5rem);
	--r: 6px;
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.15rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.band--navy :focus-visible, .band--cta :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 100; font-family: var(--display); }
.skip:focus { top: 1rem; }

/* The flame stripe: the one signature device, taken from the logo mark */
.flame-stripe, .site-header::before, .site-footer::before { content: ""; display: block; height: 4px; background: var(--flame); }

/* ==========================================================
   Buttons and links
   ========================================================== */
.btn {
	display: inline-block;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	padding: 1rem 1.5rem;
	border: 2px solid transparent;
	border-radius: var(--r);
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--sm { font-size: 0.92rem; padding: 0.65rem 1rem; }
.btn--block { display: block; width: 100%; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-deep); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--yellow); color: var(--navy); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

.link { font-family: var(--display); font-weight: 700; font-size: 0.98rem; text-decoration-thickness: 2px; }
.more { margin: 2.25rem 0 0; }

/* ==========================================================
   Header
   ========================================================== */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__img { display: block; height: 3.9rem; width: auto; max-width: none; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav .menu, .foot .menu { list-style: none; margin: 0; padding: 0; display: flex; }
.nav .menu { gap: 1.5rem; align-items: center; }
.nav .menu a { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--ink); text-decoration: none; padding: 0.4rem 0; border-bottom: 3px solid transparent; }
.nav .menu a:hover { color: var(--blue); }
.nav .current-menu-item > a, .nav .current_page_item > a, .nav .current_page_parent > a { border-bottom-color: var(--red); }
.nav .menu-item--home a { display: inline-flex; align-items: center; }
.nav .menu-item--home svg { display: block; }
.nav__end { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone { font-family: var(--display); font-weight: 700; font-size: 0.98rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__phone:hover { color: var(--blue); }
.nav-toggle { display: none; font-family: var(--display); font-weight: 700; font-size: 0.95rem; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); padding: 0.55rem 0.9rem; cursor: pointer; }

@media (max-width: 1060px) {
	.nav__phone { display: none; }
}
@media (max-width: 920px) {
	.brand__img { height: 3.2rem; }
	.nav-toggle { display: inline-block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(15, 42, 68, 0.12); flex-direction: column; align-items: stretch; gap: 1rem; padding: 0.75rem var(--gut) 1.5rem; }
	.nav.is-open { display: flex; }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav .menu a { display: flex; gap: 0.6rem; align-items: center; padding: 0.85rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--rule); }
	.nav .menu-item--home a::after { content: "Home"; }
	.nav__phone { display: inline; }
	.nav__end { justify-content: space-between; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; background: var(--white); padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { max-width: 18ch; margin-bottom: 0.5em; }
.hero__sub { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--gray); }
.hero__urgent { max-width: 34em; margin-top: 1.75rem; padding-left: 1rem; border-left: 4px solid var(--orange); font-weight: 600; color: var(--ink); }

/* Ticket: a work-order card on the old site's red dot field */
.hero__form { position: relative; }
.hero__form::before {
	content: "";
	position: absolute;
	right: -3rem;
	top: -2.5rem;
	width: 70%;
	height: 75%;
	background-image: radial-gradient(var(--red) 2.6px, transparent 3.2px);
	background-size: 22px 22px;
	opacity: 0.85;
	z-index: 0;
}
.ticket {
	position: relative;
	z-index: 1;
	background: var(--white);
	color: var(--ink);
	border: 1px solid var(--rule);
	border-radius: 10px;
	padding: 1.9rem 1.6rem 1.6rem;
	box-shadow: 0 18px 40px rgba(15, 42, 68, 0.14);
	overflow: hidden;
	animation: ticket-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--flame); }
@keyframes ticket-in {
	from { opacity: 0; transform: translateY(1.5rem); }
	to   { opacity: 1; transform: none; }
}
.ticket__hole { display: none; }
.ticket__needs { border: 0; margin: 0; padding: 0; min-width: 0; }
.ticket__needs legend { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 0.9rem; padding: 0; }
.chip { position: relative; display: inline-block; margin: 0 0.35rem 0.5rem 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.88rem; line-height: 1.2; padding: 0.55rem 0.85rem; border: 2px solid var(--rule); border-radius: 999px; cursor: pointer; transition: background-color 0.12s, color 0.12s, border-color 0.12s; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.ticket__tear { margin: 0.75rem -1.6rem 1.25rem; border-top: 2px dashed var(--rule); }
.ticket__fine { font-size: 0.95rem; line-height: 1.4; margin: 0.85rem 0 0; color: var(--gray); }

@media (max-width: 880px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__form::before { right: -1rem; top: -1.6rem; width: 60%; height: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ticket { animation: none; }
	* { transition: none !important; }
}

/* ==========================================================
   Forms
   ========================================================== */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35rem; }
.opt { font-weight: 600; color: var(--gray); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], select, textarea {
	width: 100%;
	font: inherit;
	font-size: 1.05rem;
	color: var(--ink);
	background: var(--white);
	border: 2px solid #aeb8c4;
	border-radius: var(--r);
	padding: 0.7rem 0.85rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(35, 102, 173, 0.25); }
textarea { resize: vertical; }
.form { max-width: 44rem; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 600px) { .form__two { grid-template-columns: 1fr; } }

.notice { font-weight: 600; padding: 0.8rem 1rem; border-radius: var(--r); margin: 0 0 1.1rem; }
.notice--ok { background: #e3f6e8; color: #0b3d1a; border: 2px solid #2e7d45; }
.notice--err { background: #fde7e7; color: #6b0f0f; border: 2px solid var(--red); }

.search { display: flex; gap: 0.6rem; max-width: 28rem; margin-top: 1.5rem; }
.search input { flex: 1; }

/* ==========================================================
   Sections
   ========================================================== */
.band { padding-block: var(--space); }
.band--paper2 { background: var(--sky-wash); }
.band--navy { background: var(--navy); color: #d9e4ef; }
.band--navy h2, .band--navy h3 { color: var(--white); }
.band--cta { position: relative; background: var(--blue); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.band--cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--flame); }
.section-title { margin-bottom: 1.25rem; }
.section-title--wide { max-width: 22ch; }
.section-lead { max-width: 42em; color: var(--gray); font-size: 1.2rem; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin-bottom: 0.35em; max-width: 24ch; }
.cta p { margin: 0; max-width: 36em; color: #e1ecf8; }

/* Platform wall (Services page) */
.wall__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15em 0.6em; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--navy); }
.wall__list--sm { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.wall__list li:nth-child(3n+2) { color: var(--blue); }

/* Service and case rows */
.rows { border-top: 3px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 1rem 2.5rem; align-items: baseline; padding-block: 1.75rem; border-bottom: 1px solid var(--rule); }
.row h3 { margin: 0; }
.row p { margin: 0; max-width: 38em; }
.row__meta { font-size: 0.98rem; color: var(--gray); margin-top: 0.6rem !important; }
.row--case { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.inline-list { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.inline-list li { font-family: var(--display); font-weight: 600; font-size: 0.82rem; color: var(--blue-deep); background: var(--sky-wash); border-radius: 4px; padding: 0.3rem 0.6rem; }
.band--paper2 .inline-list li { background: var(--white); }
@media (max-width: 760px) {
	.row, .row--case { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* Principles / promises */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.25rem; }
.promise { position: relative; padding-left: 1.4rem; }
.promise::before { content: ""; position: absolute; left: 0; top: 0.2rem; bottom: 0.2rem; width: 5px; border-radius: 3px; background: linear-gradient(180deg, #8f1214, #d0681a 60%, #f0d020); }
.promise h3 { margin-bottom: 0.45rem; }
.promise p { margin: 0; color: var(--gray); }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.roles { list-style: none; margin: 0; padding: 0; }
.roles li { padding: 1.1rem 0; border-top: 1px solid var(--rule); color: var(--gray); }
.roles li:first-child { border-top: 3px solid var(--ink); }
.roles strong { font-family: var(--display); display: block; font-size: 1.15rem; color: var(--ink); margin-bottom: 0.15rem; }

/* Quotes */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-family: var(--display); font-weight: 700; font-size: 0.98rem; }
.quote--lead { position: relative; max-width: 54rem; padding-left: clamp(0rem, 4vw, 3.5rem); }
.quote--lead::before { content: "\201C"; position: absolute; left: -0.5rem; top: -2.2rem; font-family: var(--display); font-weight: 800; font-size: 7rem; line-height: 1; color: var(--sky); }
.quote--lead blockquote p { font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.45; }
.quote--lead figcaption { color: var(--blue); margin-top: 1rem; }
.quote-grid { columns: 2 22rem; column-gap: 3rem; }
.quote--paper { break-inside: avoid; margin-bottom: 2.25rem; padding-top: 1.1rem; border-top: 3px solid var(--sky); }
.quote--paper blockquote p { font-size: 1.1rem; }
.quote--paper figcaption { color: var(--ink); }
@media (max-width: 700px) { .quote--lead::before { position: static; display: block; height: 3rem; } }

/* Client names */
.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.names__note { margin: 1.5rem 0 0; color: var(--gray); }

/* Steps */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--display); font-weight: 800; margin-bottom: 0.8rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--gray); margin: 0; font-size: 1.02rem; }
.band--navy .steps li { border-top-color: rgba(255, 255, 255, 0.25); }
.band--navy .steps li::before { background: var(--flame); color: var(--navy); }
.band--navy .steps p { color: #b9c9da; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing { width: 100%; border-collapse: collapse; min-width: 40rem; background: var(--white); }
.pricing th, .pricing td { text-align: left; vertical-align: top; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--rule); }
.pricing thead th { font-family: var(--display); font-size: 0.88rem; color: var(--white); background: var(--navy); border-bottom: 0; }
.pricing tbody th { font-family: var(--display); font-weight: 700; font-size: 1.05rem; width: 30%; }
.pricing__rate { font-family: var(--display); font-weight: 800; font-size: 1.05rem; width: 24%; color: var(--blue); }
.pricing tbody tr:first-child .pricing__rate { color: var(--red); }

/* ==========================================================
   Interior pages
   ========================================================== */
.page-head { position: relative; background: var(--sky-wash); padding-block: clamp(2.75rem, 6vw, 4.75rem); overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -2rem; top: 1.5rem; width: 16rem; height: 9rem; background-image: radial-gradient(var(--red) 2.4px, transparent 3px); background-size: 20px 20px; opacity: 0.7; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; margin-bottom: 0.35em; }
.page-head .lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); max-width: 36em; color: var(--gray); margin: 0; }
.page-head__meta { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--gray); margin-bottom: 0.5rem; }
@media (max-width: 700px) { .page-head::after { width: 9rem; height: 6rem; right: -3rem; } }

.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 3rem; padding-block: 2.5rem; border-top: 3px solid var(--ink); scroll-margin-top: 6rem; }
.svc h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.svc__tag { color: var(--gray); font-size: 1.1rem; max-width: 20em; }
.svc__body h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.svc__body h3:not(:first-child) { margin-top: 1.5rem; }
.svc__body p { margin-bottom: 0; max-width: 38em; }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; columns: 2 16rem; column-gap: 2rem; }
.ticks li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; break-inside: avoid; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 0.8rem; height: 0.4rem; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.25rem 3rem; padding-block: 2.5rem; border-top: 3px solid var(--ink); }
.case h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.case header p { color: var(--gray); margin: 0; }
.case dl { margin: 0; }
.case dl > div { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.case dl > div:first-child { padding-top: 0; }
.case dt { font-family: var(--display); font-weight: 700; font-size: 0.92rem; color: var(--blue); margin-bottom: 0.15rem; }
.case dd { margin: 0; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; align-items: start; }
.contact__side { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.contact__side h2 { font-size: 1.5rem; }
.big-phone { font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; text-decoration: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.faq details { border-top: 1px solid var(--rule); padding-block: 1.1rem; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.12rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--red); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.75rem 0 0; max-width: 42em; color: var(--gray); }

/* ==========================================================
   Posts and prose
   ========================================================== */
.prose { max-width: 44rem; }
.prose.wrap { margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--r); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 5px solid var(--sky); font-style: italic; }
.prose--wide.wrap { max-width: var(--wrap); }
.prose--wide > * { max-width: 46rem; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.posts--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { border-top: 3px solid var(--ink); padding-top: 1rem; }
.post-card__date { font-family: var(--display); font-weight: 600; font-size: 0.88rem; color: var(--gray); margin-bottom: 0.4rem; }
.post-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.post-card p:last-child { margin: 0; color: var(--gray); }
@media (max-width: 860px) { .posts, .posts--list { grid-template-columns: 1fr; gap: 2rem; } }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--display); font-weight: 700; }
.pagination .page-numbers { padding: 0.5rem 0.9rem; border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: var(--white); }

.comments { margin-top: 4rem; border-top: 3px solid var(--ink); padding-top: 1.5rem; }
.comments__list { list-style: none; padding: 0; }
.comments .comment-body { border-bottom: 1px solid var(--rule); padding-block: 1rem; }
.comments .comment-respond label { display: block; font-family: var(--display); font-weight: 700; }
.comments .comment-form p { margin-bottom: 1rem; }
.comments .submit { font-family: var(--display); font-weight: 700; background: var(--red); color: var(--white); border: 0; border-radius: var(--r); padding: 0.9rem 1.4rem; cursor: pointer; }

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption.wp-element-caption { font-size: 0.92rem; color: var(--gray); }

/* ==========================================================
   Footer (charcoal, as on the old site)
   ========================================================== */
.site-footer { background: #22262b; color: #c4cbd3; }
.site-footer::before { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.5rem; }
.foot__brand { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--white); margin-bottom: 0.5rem; }
.foot__about p { max-width: 30em; font-size: 1rem; }
.foot__phone { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.foot .menu { flex-direction: column; gap: 0.5rem; font-family: var(--display); font-weight: 600; font-size: 0.98rem; }
.foot .menu--extra { margin-top: 0.5rem; }
.foot .menu a, .foot__social a { text-decoration: none; }
.foot .menu a:hover, .foot__social a:hover { text-decoration: underline; }
.foot .menu-item--home { display: none; }
.foot__social { list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 600; font-size: 0.98rem; display: flex; flex-direction: column; gap: 0.5rem; }
.foot__legal { margin-top: 3rem; padding-block: 1.4rem; background: #17191c; font-size: 0.92rem; max-width: none; }
.foot__legal p { margin: 0; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
