/*
 * Skin: Tally (Affordable Locksmith MD, Waldorf, 2026-11-28).
 * "The price is on the tag": charcoal ground, receipt-paper cards with dashed tear lines, a money-green call to action,
 * and a condensed sans like a printed price tag, with tabular numbers so prices line up. The hero carries a faint row of receipt perforations,
 * the only decoration. Square tags with one clipped corner instead of pills.
 * Loaded after style.css when business.json → brand.skin = "tally". Colors still come from the brand tokens.
 */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("fonts/barlow-semi-condensed-700.woff2") format("woff2"); }

:root {
	--sf-font-h: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
	--sf-radius: 6px;
	--sf-card: #ffffff;
	--sf-line: #d5dbd3;
	--sf-soft: #e4ece2;
	--sf-muted: #4d5751;
	--ty-coal: color-mix(in srgb, var(--sf-primary) 86%, #000);
	--ty-coal-2: var(--sf-primary);
	--ty-green-text: color-mix(in srgb, var(--sf-accent) 86%, #000);
	--ty-green-soft: color-mix(in srgb, var(--sf-accent) 14%, #fff);
	--ty-tear: repeating-linear-gradient(90deg, var(--sf-line) 0 7px, transparent 7px 13px);
	--ty-perf: radial-gradient(circle at 7px 7px, rgba(255, 255, 255, .07) 2.4px, transparent 2.8px);
	--ty-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
	--sf-shadow: 0 1px 2px rgba(15, 22, 19, .06), 0 12px 28px -18px rgba(15, 22, 19, .34);
}

body { caret-color: var(--sf-accent); font-variant-numeric: tabular-nums; }
::selection { background: var(--sf-accent); color: #fff; }
:focus-visible { outline-color: var(--sf-accent); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1; }
h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.05; }
h3 { font-weight: 700; letter-spacing: -.01em; }
a { color: var(--ty-green-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sf-ink); }

/* Kicker above headings: a small price tag, then the words */
.sf-eyebrow { font-family: var(--sf-font-h); font-weight: 700; text-transform: uppercase; letter-spacing: .13em; font-size: 12.5px; color: var(--ty-green-text); }
.sf-eyebrow::before { content: ""; display: inline-block; width: 12px; height: 8px; margin-right: 8px; background: var(--sf-accent); clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%); vertical-align: 1px; }
.sf-hero .sf-eyebrow, .sf-pagehead .sf-eyebrow { color: color-mix(in srgb, var(--sf-accent) 35%, #fff); }

/* Buttons: square tags with one clipped corner, money green */
.sf-btn, .wp-block-button__link { border-radius: 0; clip-path: var(--ty-clip); font-family: var(--sf-font-h); font-weight: 700; letter-spacing: 0; transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
.sf-btn:active, .wp-block-button__link:active { transform: translateY(1px); }
.sf-btn--accent, .wp-block-button__link { background: var(--sf-accent); color: #fff; }
.sf-btn--accent:hover, .wp-block-button__link:hover { background: color-mix(in srgb, var(--sf-accent) 86%, #000); color: #fff; }
.sf-btn--primary { background: var(--ty-coal); color: #fff; }
.sf-btn--ghost { clip-path: none; border-radius: var(--sf-radius); }

/* Top bar and header */
.sf-topbar { background: var(--ty-coal); color: #dce5de; }
.sf-topbar .sf-i { color: color-mix(in srgb, var(--sf-accent) 50%, #fff); }
.sf-header { background: var(--sf-card); border-bottom: 1px solid var(--sf-line); }
.sf-nav a { font-weight: 600; border-radius: var(--sf-radius); }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--ty-green-soft); color: var(--sf-ink); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); }

/* Hero: charcoal with a faint field of receipt perforations */
.sf-hero, .sf-pagehead {
	background:
		var(--ty-perf) 0 0 / 14px 14px,
		radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--sf-accent) 16%, transparent), transparent 70%),
		linear-gradient(175deg, var(--ty-coal-2), var(--ty-coal));
	color: #edf2ee;
}
.sf-hero { padding-block: 56px 70px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-lead { color: #d3ddd6; opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: #edf2ee; }
.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(237, 242, 238, .5); }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* Form: a receipt slip, a dashed tear line under the title */
.sf-form { background: var(--sf-card); border-radius: var(--sf-radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .1); }
.sf-form__title { font-weight: 800; font-size: 23px; padding-bottom: 12px; background: var(--ty-tear) left bottom / 100% 2px no-repeat; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: var(--sf-radius); border-color: var(--sf-line); background: #fff; }
.sf-form input:focus, .sf-form select:focus, .sf-form textarea:focus { border-color: var(--sf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-accent) 20%, transparent); }
.sf-form__call a { color: var(--ty-green-text); }

/* Trust strip: one receipt line */
.sf-trust { background: var(--sf-card); border-color: var(--sf-line); border-radius: var(--sf-radius); box-shadow: var(--sf-shadow); }
.sf-trust__item .sf-i { color: var(--sf-accent); }

/* Sections: a dashed tear line under each section heading */
.sf-section--white { background: #fbfcfa; border-color: var(--sf-line); }
.sf-section > h2::after, .sf-section .sf-wrap > h2::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--sf-accent) 0 8px, transparent 8px 13px); }
.sf-head-center .sf-section > h2::after { margin-inline: auto; }
.sf-section h2 + p { color: var(--sf-muted); }
.sf-callstrip { background: var(--ty-green-soft); color: var(--sf-ink); }

/* Cards and features: receipt paper, green edge on hover */
.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-color: var(--sf-line); border-radius: var(--sf-radius); }
.sf-card:hover, .sf-post:hover { border-color: var(--sf-accent); box-shadow: var(--sf-shadow); }
.sf-card__icon { border-radius: var(--sf-radius); background: var(--ty-green-soft); color: var(--ty-green-text); }
.sf-card__body strong, .sf-post__body strong { font-family: var(--sf-font-h); font-weight: 700; font-size: 18px; }
.sf-card__go { color: var(--ty-green-text); }
.sf-features h3 { font-size: 20px; }
ol.sf-steps li::before { border-radius: 0; clip-path: var(--ty-clip); background: var(--ty-coal-2); color: #fff; font-family: var(--sf-font-h); font-weight: 800; }
.sf-review { border-top: 3px solid var(--sf-accent); }
.sf-faq summary { font-weight: 600; font-size: 18px; }
.sf-faq summary::after { color: var(--sf-accent); }
.sf-pill, .sf-jump a { background: var(--sf-card); border-color: var(--sf-line); border-radius: var(--sf-radius); }
.sf-pill:hover, .sf-jump a:hover { border-color: var(--sf-accent); color: var(--sf-ink); }
.sf-pill .sf-i { color: var(--sf-accent); }

/* Price tables read like an itemized receipt: dashed rows, numbers right-aligned in green */
.sf-table table, .sf-article table { background: var(--sf-card); border-collapse: collapse; }
.sf-table th { background: var(--ty-coal-2); color: #fff; font-family: var(--sf-font-h); font-weight: 700; }
.sf-table td, .sf-article td { border-bottom: 1px dashed var(--sf-line); }
.sf-table td:last-child, .sf-article td:last-child { font-weight: 700; color: var(--ty-green-text); }
.sf-photo img, .wp-block-image.sf-photo img { border-radius: var(--sf-radius); }

/* Closing call to action: charcoal with the perforations */
.sf-cta {
	background: var(--ty-perf) 0 0 / 14px 14px, linear-gradient(175deg, var(--ty-coal-2), var(--ty-coal));
	color: #edf2ee; border-radius: var(--sf-radius);
}
.sf-cta p { color: #d3ddd6; opacity: 1; }
.sf-cta .sf-btn--light { background: var(--sf-accent); color: #fff; }
.sf-cta .sf-btn--ghost { color: #fff; border-color: rgba(237, 242, 238, .5); }

/* Footer: a tear line on top */
.sf-footer { background: var(--ty-coal); color: #cdd8d0; border-top: 0; box-shadow: inset 0 3px 0 var(--sf-accent); }
.sf-footer a:hover { color: color-mix(in srgb, var(--sf-accent) 45%, #fff); }
.sf-footer__title, .sf-footer__brand { font-family: var(--sf-font-h); letter-spacing: -.005em; }
.sf-pagination .current { background: var(--sf-accent); }

@media (max-width: 640px) {
	.sf-hero { padding-block: 34px 50px; }
	h1 { font-size: clamp(31px, 8.6vw, 42px); }
	.sf-callbar { background: var(--sf-card); border-top-color: var(--sf-line); }
}
