/*
Theme Name: Coyann Tile Pros
Theme URI: https://coyanntilepros.com/
Author: Coyann Tile Pros LLC
Description: Custom lightweight theme for Coyann Tile Pros LLC — black & gold, one-page home, blog with automatic "Get a Free Quote" button.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: coyann
*/

/* ---------- Tokens ---------- */
:root {
	--black: #0d0d0d;
	--ink: #161616;
	--charcoal: #1f1f1f;
	--graphite: #2b2b2b;
	--gold: #c6a052;
	--gold-light: #e2c784;
	--gold-dark: #8a6a26;
	--cream: #f6f2ea;
	--stone: #e9e3d8;
	--white: #fff;
	--text: #1d1d1d;
	--text-2: #575450;
	--text-light: #cfcac1;
	--line: #e3ddd2;
	--line-dark: rgba(255, 255, 255, .12);

	--f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--f-caps: 'Cinzel', Georgia, serif;
	--f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--r: 4px;
	--r-lg: 10px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .08);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .22);
	--header-h: 84px;
	--wrap: 1200px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v31L28 62 2 47V16zM28 64v33M0 80l2-1M56 80l-2-1' fill='none' stroke='%23c6a052' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--black); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--f-display); font-weight: 600; line-height: 1.1; color: var(--black); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3, .h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px; min-height: 48px;
	font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none; line-height: 1.2; text-align: center;
	border: 1.5px solid transparent; border-radius: var(--r);
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #b08a3e); color: var(--black); box-shadow: 0 6px 18px rgba(198, 160, 82, .28); }
.btn-gold:hover { color: var(--black); box-shadow: 0 10px 26px rgba(198, 160, 82, .4); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--graphite); color: var(--gold-light); }
.btn-outline { border-color: rgba(226, 199, 132, .7); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(198, 160, 82, .12); color: var(--white); border-color: var(--gold-light); }
.btn-sm { padding: 10px 18px; min-height: 42px; font-size: .85rem; }
.btn-lg { padding: 17px 30px; min-height: 56px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
	font-family: var(--f-caps); font-size: .82rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light, .section-dark .eyebrow { color: var(--gold); }
.eyebrow .icon { margin-right: -2px; }
.eyebrow:has(.icon)::before { display: none; }

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--text-light); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--gold-light); }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head p { color: var(--text-2); font-size: 1.08rem; }
.section-dark .sec-head p { color: var(--text-light); }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.sec-head-split h2 { margin: 0; }

/* ---------- Top strip + Header ---------- */
.topstrip { background: var(--black); color: #a9a398; font-size: .85rem; border-bottom: 1px solid rgba(198, 160, 82, .18); }
.topstrip-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topstrip span, .topstrip a { display: inline-flex; align-items: center; gap: 6px; }
.topstrip a { color: #a9a398; text-decoration: none; }
.topstrip a:hover { color: var(--gold-light); }
.topstrip .icon { color: var(--gold); }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(13, 13, 13, .97);
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(198, 160, 82, .22);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 58px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-caps); }
.bw-top { font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bw-coyann { color: var(--white); }
.bw-tile { color: var(--gold); }
.bw-pros { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .68rem; letter-spacing: .5em; color: #d8d3ca; text-transform: uppercase; }
.bw-pros::before, .bw-pros::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .8; }
.bw-pros::after { margin-left: -.5em; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	display: block; padding: 10px 14px; color: #e8e4dc; text-decoration: none;
	font-weight: 600; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; position: relative;
}
.nav-list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list .current-menu-item > a { color: var(--gold-light); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.header-phone:hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle .nt-close { display: none; }
.nav-open .nav-toggle .nt-open { display: none; }
.nav-open .nav-toggle .nt-close { display: block; }
.nav-toggle span { display: block; line-height: 0; }

@media (max-width: 1180px) { .header-phone span { display: none; } .header-phone { padding: 8px; border: 1px solid rgba(198, 160, 82, .4); border-radius: 50%; } }
@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; z-index: 99;
		background: var(--black); padding: 24px 24px 40px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
	.nav-list a::after { display: none; }
	.nav-mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
	.header-cta { display: none; }
}
@media (max-width: 600px) {
	.topstrip .topstrip-right { display: none; }
	.topstrip-in { justify-content: center; font-size: .8rem; }
	.brand-mark { width: 46px; }
	.bw-top { font-size: 1.05rem; }
	.bw-pros { font-size: .58rem; }
	.header-in { gap: 12px; }
	.header-actions { margin-left: auto; gap: 10px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero, .post-hero, .quote-section { position: relative; background: radial-gradient(1200px 600px at 85% 10%, #262117 0%, var(--black) 60%); color: var(--text-light); overflow: hidden; }
.hero-hex { position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 97px; opacity: .07; pointer-events: none; -webkit-mask-image: linear-gradient(110deg, transparent 20%, #000 75%); mask-image: linear-gradient(110deg, transparent 20%, #000 75%); }
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); font-weight: 600; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold); background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, #a8823a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.hero-sub { font-family: var(--f-caps); color: var(--gold-light); font-size: clamp(.85rem, 1.3vw, .98rem); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.lede { font-size: 1.15rem; max-width: 560px; color: #d9d4cb; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 30px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
.hero-points .icon { color: var(--gold); }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--gold); border-radius: var(--r-lg); opacity: .7; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
	position: absolute; left: -28px; bottom: 36px;
	display: flex; align-items: center; gap: 14px;
	background: var(--black); border: 1px solid rgba(198, 160, 82, .5); color: var(--text-light);
	padding: 16px 22px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.hero-badge strong { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.hero-badge span { font-size: .85rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-photo { order: -1; margin-right: 22px; }
	.hero-photo img { aspect-ratio: 4 / 3; }
	.hero-badge { left: 14px; bottom: 14px; padding: 10px 16px; }
	.hero-badge strong { font-size: 2rem; }
}
@media (max-width: 520px) { .hero-points { grid-template-columns: 1fr; } .btn-row .btn { width: 100%; } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--charcoal); border-top: 1px solid rgba(198, 160, 82, .25); border-bottom: 1px solid rgba(198, 160, 82, .25); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust { display: flex; align-items: center; gap: 14px; padding: 24px 18px; color: #cfcac1; }
.trust + .trust { border-left: 1px solid var(--line-dark); }
.trust p { margin: 0; line-height: 1.35; }
.trust strong { color: var(--white); display: block; font-size: 1.05rem; }
.trust-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(198, 160, 82, .5); color: var(--gold); flex-shrink: 0; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust:nth-child(3) { border-left: 0; } .trust:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 480px) { .trust { flex-direction: column; text-align: center; gap: 8px; padding: 20px 10px; font-size: .92rem; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
	position: relative; padding: 36px 30px 30px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--r-lg);
	display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(198, 160, 82, .5); }
.svc-ic { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; color: var(--gold); background: var(--black); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--text-2); flex: 1; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 28px 24px; } }

/* ---------- Split sections (Coyann way / About) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-reverse { grid-template-columns: 1.1fr .9fr; }
.split-reverse .split-photo { order: 2; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1.5px solid var(--gold); border-radius: var(--r-lg); opacity: .65; }
.split-reverse .framed::before { inset: -18px -18px 18px 18px; }
.framed img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about-photo img { object-position: 50% 15%; }
.split-copy .sec-head { margin-bottom: 30px; }
.way-list { list-style: none; padding: 0; margin: 0; counter-reset: way; display: grid; gap: 24px; }
.way-list li { counter-increment: way; position: relative; padding-left: 66px; }
.way-list li::before {
	content: counter(way); position: absolute; left: 0; top: 0;
	width: 46px; height: 46px; display: grid; place-items: center;
	font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--black);
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.way-list h3 { font-size: 1.45rem; margin-bottom: 4px; }
.way-list p { margin: 0; }
.about-intro { font-family: var(--f-display); font-style: italic; font-size: 1.45rem !important; color: var(--black) !important; line-height: 1.35; }
.prose p { color: var(--text-2); }
.signature { font-family: var(--f-display); font-style: italic; font-size: 1.9rem; color: var(--black); margin: 8px 0 24px; line-height: 1.1; }
.signature span { display: block; margin-top: 6px; font-family: var(--f-caps); font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
@media (max-width: 900px) {
	.split, .split-reverse { grid-template-columns: 1fr; }
	.split-reverse .split-photo { order: 0; }
	.framed { margin: 18px 18px 0 18px; }
	.framed img { aspect-ratio: 4 / 3.6; }
	.about-photo img { aspect-ratio: 4 / 4.4; }
}

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.gal { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--stone); aspect-ratio: 3 / 4; }
.gal-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal a { display: block; height: 100%; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal:hover img { transform: scale(1.05); }
.gal figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .78));
	color: var(--white); font-weight: 600; font-size: .92rem; pointer-events: none;
}
.center-cta { text-align: center; margin: 40px 0 0; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gal-grid { gap: 8px; } .gal figcaption { font-size: .8rem; padding: 28px 10px 10px; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-n {
	position: relative; display: grid; place-items: center; margin: 0 auto 22px;
	width: 62px; height: 62px; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem;
	color: var(--gold); background: var(--black);
	clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { color: var(--text-2); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Area + contact ---------- */
.area-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.area-grid .sec-head { margin-bottom: 26px; }
.towns { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.towns .icon { color: var(--gold); }
.towns .is-home { background: var(--black); color: var(--white); border-color: var(--black); }
.contact-card {
	position: relative; padding: 38px 34px; border-radius: var(--r-lg);
	background: var(--black); color: var(--text-light); box-shadow: var(--shadow-lg); overflow: hidden;
}
.contact-card::after { content: ""; position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 97px; opacity: .06; pointer-events: none; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h3, .contact-card .h3 { color: var(--white); margin-bottom: 6px; font-size: 1.7rem; }
.contact-big { display: block; margin-bottom: 18px; font-family: var(--f-display); font-size: 2.3rem; font-weight: 700; color: var(--gold) !important; text-decoration: none; }
.contact-card a:not(.btn):not(.contact-big) { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-card .btn { margin-top: 8px; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(198, 160, 82, .6); box-shadow: var(--shadow); }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 22px 26px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--gold); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold-dark); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--gold); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: var(--black); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 26px 22px; color: var(--text-2); }
.faq-a p { margin: 0; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-ph { display: grid; place-items: center; height: 100%; background: var(--black); }
.post-card-ph img { width: 110px; height: auto; object-fit: contain; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.post-card-title { font-size: 1.55rem; margin-bottom: 10px; }
.post-card-title a { color: var(--black); text-decoration: none; }
.post-card-title a:hover { color: var(--gold-dark); }
.post-card-excerpt { color: var(--text-2); flex: 1; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-filter a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.cat-filter a:hover, .cat-filter a[aria-current] { background: var(--black); border-color: var(--black); color: var(--gold-light); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--black); color: var(--gold-light); border-color: var(--black); }
.empty { text-align: center; padding: 40px 0; }

/* ---------- Page / post heroes ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0; }
.page-hero-tall { padding: clamp(90px, 14vw, 170px) 0; }
.page-hero .wrap, .post-hero .wrap { position: relative; }
.page-hero h1, .post-hero h1 { color: var(--white); max-width: 900px; }
.page-hero-intro { max-width: 680px; font-size: 1.15rem; color: #d9d4cb; margin: 0; }
.post-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(90px, 10vw, 130px); }
.post-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.crumbs { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #9d978c; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.post-meta-light { color: #bcb6ab; }
.post-featured { position: relative; margin-top: clamp(-90px, -8vw, -60px); }
.post-featured img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.single-post > .wrap:last-child { padding-bottom: clamp(56px, 8vw, 96px); }
.single-post:not(:has(.post-featured)) .entry-content { padding-top: 48px; }

/* ---------- Entry content (blog posts & pages) ---------- */
.entry-content { padding-top: 44px; font-size: 1.1rem; line-height: 1.8; }
.section .entry-content { padding-top: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.6rem; margin-top: 1.4em; }
.entry-content a { color: var(--gold-dark); font-weight: 600; }
.entry-content img { border-radius: var(--r-lg); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: .9rem; color: var(--text-2); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font-family: var(--f-display); font-size: 1.5rem; font-style: italic; line-height: 1.4; color: var(--black); }
.entry-content ul li::marker { color: var(--gold); }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: var(--r); }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { border-radius: 0 0 var(--r) var(--r); font-weight: 600; }
.entry-content .wp-block-gallery a { cursor: zoom-in; }
.entry-content .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
@media (max-width: 980px) { .entry-content .alignwide { margin-left: 0; margin-right: 0; } }
.entry-content .wp-block-button__link { background: var(--black); color: var(--gold-light); border-radius: var(--r); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; text-decoration: none; }

/* Automatic quote box under every post */
.post-quote-cta {
	position: relative; display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; align-items: center;
	margin: 56px 0 32px; padding: 36px; border-radius: var(--r-lg);
	background: var(--black); color: var(--text-light); overflow: hidden; box-shadow: var(--shadow-lg);
	border: 1px solid rgba(198, 160, 82, .45);
}
.post-quote-cta::after { content: ""; position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 97px; opacity: .06; pointer-events: none; }
.post-quote-cta > * { position: relative; z-index: 1; }
.pq-mark { width: 92px; grid-row: span 2; }
.pq-copy h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 6px; }
.pq-copy p { margin: 0; }
.pq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
@media (max-width: 620px) {
	.post-quote-cta { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
	.pq-mark { grid-row: auto; margin: 0 auto; width: 72px; }
	.pq-actions { justify-content: center; }
	.pq-actions .btn { width: 100%; }
}
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.post-tags a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav div:last-child { text-align: right; }
.post-nav a { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--black); text-decoration: none; line-height: 1.25; }
.post-nav a span { display: block; font-family: var(--f-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.post-nav a:hover { color: var(--gold-dark); }

/* ---------- Quote section & Free Quote page ---------- */
.quote-section { padding: clamp(70px, 10vw, 120px) 0; text-align: center; }
.quote-panel { position: relative; }
.quote-panel h2 { color: var(--white); }
.quote-panel > p { font-size: 1.12rem; color: #d9d4cb; max-width: 640px; margin-left: auto; margin-right: auto; }
.quote-panel .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.quote-alt { margin-top: 28px !important; font-size: .98rem !important; color: #a9a398 !important; }
.quote-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.quote-form-wrap { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; }
.quote-iframe { display: block; width: 100%; height: 1500px; border: 0; border-radius: var(--r); background: var(--white); }
.quote-form-wrap .small { margin: 10px 8px 4px; }
.quote-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.admin-bar .quote-side { top: calc(var(--header-h) + 56px); }
.mini-steps { list-style: none; counter-reset: ms; padding: 0; margin: 0; display: grid; gap: 16px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 52px; color: var(--text-2); line-height: 1.45; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: var(--gold); background: var(--black); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.mini-steps strong { display: block; color: var(--black); }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } .quote-side { position: static; } .quote-iframe { height: 1700px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #a9a398; }
.footer-band { background: linear-gradient(135deg, #1c1810, #0d0d0d 70%); border-top: 1px solid rgba(198, 160, 82, .35); border-bottom: 1px solid var(--line-dark); }
.footer-band-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 42px; padding-bottom: 42px; }
.footer-slogan { margin: 0; font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--white); line-height: 1.1; }
.footer-slogan em { color: var(--gold); }
.footer-band-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer-about p { margin: 20px 0 0; max-width: 340px; }
.footer-h { font-family: var(--f-caps); font-size: .9rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col span { display: inline-flex; align-items: center; gap: 8px; color: #cfcac1; text-decoration: none; word-break: break-word; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .icon { color: var(--gold); }
.socials { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(198, 160, 82, .45); border-radius: 50%; color: var(--gold); }
.socials a:hover { background: var(--gold); color: var(--black); }
.footer-bottom { border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-band-cta .btn { flex: 1 1 100%; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
	.sticky-cta {
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(13, 13, 13, .96); border-top: 1px solid rgba(198, 160, 82, .4);
		transform: translateY(110%); transition: transform .3s var(--ease);
	}
	.show-sticky .sticky-cta { transform: none; }
	.sticky-cta .btn { min-height: 50px; padding: 12px; }
	.sticky-cta .btn-dark { border: 1px solid rgba(198, 160, 82, .5); color: var(--gold-light); }
	.site-footer { padding-bottom: 76px; }
	body { font-size: 16px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(8, 8, 8, .94); padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #ddd; margin-top: 14px; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .06); border: 1px solid rgba(198, 160, 82, .5); color: var(--gold-light); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--gold); color: var(--black); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-open { overflow: hidden; }
@media (max-width: 600px) { .lightbox { padding: 70px 10px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- WP core alignment helpers ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .9rem; color: var(--text-2); }

/* Lining numerals everywhere the serif display font is used */
.contact-big, .hero-badge strong, .step-n, .way-list li::before, .mini-steps li::before, .faq-item summary, .post-nav a, .signature { font-variant-numeric: lining-nums; }
/* Fewer than 3 posts: centre the cards */
.post-grid:not(:has(> :nth-child(3))) { display: flex; flex-wrap: wrap; justify-content: center; }
.post-grid:not(:has(> :nth-child(3))) > .post-card { flex: 0 1 380px; }

/* Mobile: backdrop-filter would trap the fixed off-canvas menu inside the header */
@media (max-width: 1024px) {
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--black); }
}
html, body { overflow-x: clip; }

/* Tall phone photos inside posts: keep them a sensible height */
.entry-content > .wp-block-image img, .entry-content > figure.wp-block-image img { max-height: 78vh; width: auto; margin: 0 auto; }
.entry-content > .wp-block-image a { display: block; text-align: center; }
/* Footer email stays on one line on desktop */
@media (min-width: 961px) { .footer-grid { grid-template-columns: 1.3fr 1.25fr 1fr .8fr; } .footer-col a[href^="mailto"] { white-space: nowrap; font-size: .95rem; } }

/* Post card footer: "Read more" + "Get a Free Quote" on every card */
.post-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-card-actions .btn { padding: 10px 16px; font-size: .8rem; }
@media (max-width: 380px) { .post-card-actions .btn { width: 100%; } }
