/*
 * Skin: Rowhouse (Baltimore Locksmith Pros, Baltimore MD, 2026-11-30).
 * A Baltimore rowhouse block: brick-red fronts, white marble stoop steps, and the black-and-gold Calvert pattern of
 * the Maryland flag as a thin band. Condensed Archivo headings like a painted storefront sign, square corners.
 * Loaded after style.css when business.json → brand.skin = "rowhouse". Colors still come from the brand tokens.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin-var.woff2") format("woff2"); }

:root {
	--sf-font-h: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--sf-radius: 2px;
	--sf-card: #ffffff;
	--sf-line: #e2dcd6;
	--sf-soft: #f1ece7;
	--sf-muted: #574e48;
	--rh-brick: var(--sf-primary);
	--rh-deep: color-mix(in srgb, var(--sf-primary) 70%, #000);
	--rh-gold: var(--sf-accent);
	--rh-gold-text: color-mix(in srgb, var(--sf-accent) 55%, #000);
	/* Calvert band: black and gold diagonal blocks */
	--rh-calvert: repeating-linear-gradient(135deg, #111 0 10px, var(--sf-accent) 10px 20px);
	/* Marble stoop: three white steps rising to the right */
	--rh-steps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 24V16h40V8h40V0h40v24z' fill='%23000'/%3E%3C/svg%3E");
	--sf-shadow: 0 14px 30px -20px rgba(40, 16, 10, .5);
}

body { font-size: 17px; }
::selection { background: var(--sf-accent); color: #111; }
h1, h2, h3, h4 { font-weight: 800; font-stretch: 78%; letter-spacing: -.005em; }
h1 { line-height: 1.02; text-transform: none; }
h3 { font-weight: 700; font-stretch: 85%; }
a { color: var(--rh-brick); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sf-ink); }

/* Eyebrow: a gold house-number plate */
.sf-eyebrow { display: inline-block; font-family: var(--sf-font-h); font-stretch: 85%; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: #111; background: var(--sf-accent); padding: 4px 10px; border: 2px solid #111; }

/* Buttons: square, solid */
.sf-btn, .wp-block-button__link { border-radius: var(--sf-radius); font-family: var(--sf-font-h); font-stretch: 85%; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; transition: transform .16s ease, background-color .16s; }
.sf-btn:active, .wp-block-button__link:active { transform: translateY(1px); }
.sf-btn--accent, .wp-block-button__link { background: var(--sf-accent); color: #111; box-shadow: 4px 4px 0 #111; }
.sf-btn--accent:hover, .wp-block-button__link:hover { background: color-mix(in srgb, var(--sf-accent) 85%, #fff); color: #111; }
.sf-btn--accent .sf-i { color: #111; }
.sf-btn--primary { background: var(--rh-brick); color: #fff; }

/* Top bar, header with the Calvert band under it */
.sf-topbar { background: #141110; color: #eee6dc; }
.sf-topbar .sf-i { color: var(--sf-accent); }
.sf-topbar a { color: #fff; }
.sf-header { background: var(--sf-paper); border-bottom: 0; box-shadow: 0 6px 0 -0px transparent; position: relative; }
.sf-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--rh-calvert); pointer-events: none; }
.sf-nav a { font-weight: 700; border-radius: 0; }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--sf-soft); color: var(--rh-brick); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); border: 2px solid #111; border-radius: 0; }

/* Hero and page heads: brick front, marble steps along the bottom */
.sf-hero, .sf-pagehead {
	position: relative;
	background:
		repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 22px),
		linear-gradient(170deg, var(--rh-brick), var(--rh-deep));
	color: #f7efe8;
}
.sf-hero::after, .sf-pagehead::after { content: ""; position: absolute; right: 0; bottom: -1px; width: min(360px, 60%); height: 24px; background: var(--sf-paper); -webkit-mask: var(--rh-steps) right bottom / 120px 24px no-repeat; mask: var(--rh-steps) right bottom / 120px 24px no-repeat; -webkit-mask-size: 100% 24px; mask-size: 100% 24px; pointer-events: none; }
.sf-hero { padding-block: 54px 76px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-lead { color: #f0e3d9; opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: #f7efe8; }
.sf-checks li::before { background-color: var(--sf-accent); }
.sf-section .sf-checks li { color: inherit; }
.sf-hero .sf-btn--ghost, .sf-pagehead .sf-btn--ghost { color: #fff; border-color: rgba(255, 245, 235, .6); }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* Form: a white marble slab with a gold edge */
.sf-form { background: var(--sf-card); border: 2px solid #111; border-top: 8px solid var(--sf-accent); border-radius: 0; box-shadow: 8px 8px 0 rgba(0, 0, 0, .35); }
.sf-form__title { font-family: var(--sf-font-h); font-stretch: 80%; font-weight: 800; font-size: 25px; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: 0; border: 1.5px solid #cfc6be; background: #fff; }
.sf-form input:focus, .sf-form select:focus, .sf-form textarea:focus { border-color: #111; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-accent) 40%, transparent); }
.sf-form__call a { color: var(--rh-brick); }

/* Trust strip: black plate with gold lettering */
.sf-trust { background: #141110; color: #f4ecdf; border-radius: 0; }
.sf-trust__item { font-weight: 700; color: #f4ecdf; }
.sf-trust__item .sf-i { color: var(--sf-accent); }

/* Sections: heading with a short Calvert bar */
.sf-section--white { background: var(--sf-card); border-color: var(--sf-line); }
.sf-section > h2::after, .sf-section .sf-wrap > h2::after { content: ""; display: block; width: 64px; height: 7px; margin-top: 12px; background: var(--rh-calvert); }
.sf-head-center .sf-section > h2::after { margin-inline: auto; }
.sf-section h2 + p { color: var(--sf-muted); }
.sf-callstrip { background: var(--sf-soft); color: var(--sf-ink); }

/* Cards, features, steps: rowhouse fronts side by side */
.sf-card, .sf-features > .wp-block-group, .sf-feature, ol.sf-steps li, .sf-post, .sf-review, .sf-toc, .wp-block-details.sf-faq, details.sf-faq { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 0; }
.sf-card { border-top: 5px solid var(--rh-brick); }
.sf-card:hover, .sf-post:hover { border-color: #111; border-top-color: var(--sf-accent); box-shadow: var(--sf-shadow); }
.sf-card__icon { border-radius: 0; background: var(--sf-soft); color: var(--rh-brick); }
.sf-card__body strong, .sf-post__body strong { font-family: var(--sf-font-h); font-stretch: 85%; font-weight: 800; font-size: 19px; }
.sf-card__go { color: var(--rh-brick); }
ol.sf-steps li::before { border-radius: 0; background: #111; color: var(--sf-accent); font-family: var(--sf-font-h); font-weight: 800; }
.sf-faq summary { font-family: var(--sf-font-h); font-stretch: 88%; font-weight: 700; font-size: 19.5px; }
.sf-faq summary::after { color: var(--rh-brick); }
.sf-pill, .sf-jump a { background: var(--sf-card); border: 1.5px solid var(--sf-line); border-radius: 0; }
.sf-pill:hover, .sf-jump a:hover { border-color: #111; color: var(--rh-brick); }
.sf-pill .sf-i { color: var(--rh-brick); }
.sf-table table, .sf-article table { background: var(--sf-card); }
.sf-table th { background: #141110; color: var(--sf-accent); font-family: var(--sf-font-h); font-stretch: 85%; }
.sf-photo img, .wp-block-image.sf-photo img, .sf-article__img, .sf-post__img { border-radius: 0; border-bottom: 6px solid var(--rh-brick); }
.sf-review { border-left: 4px solid var(--sf-accent); }
.sf-map iframe { border-radius: 0; border: 2px solid #111; }

/* Closing call to action: brick, with the Calvert band on top */
.sf-cta { position: relative; background: linear-gradient(170deg, var(--rh-brick), var(--rh-deep)); color: #f7efe8; border-radius: 0; overflow: hidden; }
.sf-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--rh-calvert); }
.sf-cta h2 { color: #fff; }
.sf-cta p { color: #f0e3d9; opacity: 1; }
.sf-cta .sf-btn--light { background: var(--sf-accent); color: #111; }
.sf-cta .sf-btn--ghost { color: #fff; border-color: rgba(255, 245, 235, .6); }

/* Footer */
.sf-footer { background: #141110; color: #ddd3c8; border-top: 7px solid transparent; border-image: var(--rh-calvert) 7; }
.sf-footer a { color: #f6efe6; }
.sf-footer a:hover { color: var(--sf-accent); }
.sf-footer__title, .sf-footer__brand, .sf-footer h2 { font-family: var(--sf-font-h); font-stretch: 85%; color: #fff; }
.sf-footer .sf-nap .sf-i { color: var(--sf-accent); }
.sf-pagination .current { background: var(--sf-accent); color: #111; }

/* Light hero recipe: paper ground, the form keeps its slab */
.sf-hero-light .sf-hero::after { display: none; }

@media (max-width: 640px) {
	.sf-hero { padding-block: 32px 56px; }
	h1 { font-size: clamp(32px, 9vw, 44px); }
	.sf-btn--accent, .wp-block-button__link { box-shadow: 3px 3px 0 #111; }
	.sf-form { box-shadow: 5px 5px 0 rgba(0, 0, 0, .3); }
	.sf-callbar { background: var(--sf-paper); border-top: 2px solid #111; }
	.sf-callbar .sf-btn--accent { color: #111; }
}
@media (prefers-reduced-motion: reduce) {
	.sf-btn, .wp-block-button__link { transition: none; }
}
