/*
 * Skin: Clinic (Lock Doctor Montgomery, Rockville, 2026-11-28).
 * "The lock doctor is in": deep clinical teal, cool exam-room paper, a coral-red call to action, and a wide grotesk.
 * The hero carries one faint pulse line across a fine chart grid, the only decoration. Kickers start with a small cross,
 * the form reads like a clipboard (a coral clip bar on top), cards are soft and rounded like clinic signage.
 * Loaded after style.css when business.json → brand.skin = "clinic". Colors still come from the brand tokens.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-stretch: 100% 125%; font-display: swap; src: url("fonts/archivo-latin-var.woff2") format("woff2"); }

:root {
	--sf-font-h: "Archivo", "Segoe UI", system-ui, sans-serif;
	--sf-radius: 14px;
	--sf-card: #ffffff;
	--sf-line: #d3e2e4;
	--sf-soft: #e3eff0;
	--sf-muted: #44585e;
	--cl-deep: color-mix(in srgb, var(--sf-primary) 78%, #000);
	--cl-teal: var(--sf-primary);
	--cl-coral-text: color-mix(in srgb, var(--sf-accent) 82%, #000);
	--cl-grid: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px;
	--cl-pulse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='120' viewBox='0 0 900 120'%3E%3Cpath d='M0 70h300l18-26 22 62 26-96 22 84 16-24h496' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
	--cl-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.6 0h2.8v3.6H10v2.8H6.4V10H3.6V6.4H0V3.6h3.6z' fill='black'/%3E%3C/svg%3E");
	--sf-shadow: 0 1px 2px rgba(8, 40, 48, .06), 0 16px 32px -20px rgba(8, 40, 48, .36);
}

body { caret-color: var(--sf-accent); }
::selection { background: var(--sf-accent); color: #fff; }
:focus-visible { outline-color: var(--sf-accent); }
h1, h2, h3, h4 { font-weight: 750; letter-spacing: -.022em; font-stretch: 108%; }
h1 { font-size: clamp(35px, 4.8vw, 58px); line-height: 1.03; }
h2 { font-size: clamp(26px, 3.1vw, 38px); line-height: 1.12; }
h3 { font-weight: 650; letter-spacing: -.01em; font-stretch: 100%; }
a { color: var(--cl-coral-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sf-ink); }

/* Kicker above headings: a small coral cross, then the words */
.sf-eyebrow { font-family: var(--sf-font-h); font-weight: 650; font-stretch: 115%; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--cl-teal); }
.sf-eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--sf-accent); -webkit-mask: var(--cl-cross) center / contain no-repeat; mask: var(--cl-cross) center / contain no-repeat; vertical-align: -1px; }
.sf-hero .sf-eyebrow, .sf-pagehead .sf-eyebrow { color: #bfe1e3; }

/* Buttons: soft rounded rectangles, coral */
.sf-btn, .wp-block-button__link { border-radius: 12px; font-family: var(--sf-font-h); font-weight: 700; letter-spacing: .01em; transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s, box-shadow .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; box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--sf-accent) 85%, #000); }
.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(--cl-teal); color: #fff; }

/* Top bar and header */
.sf-topbar { background: var(--cl-deep); color: #d4ebec; }
.sf-topbar .sf-i { color: color-mix(in srgb, var(--sf-accent) 45%, #fff); }
.sf-header { background: var(--sf-card); border-bottom: 1px solid var(--sf-line); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
.sf-nav a { font-weight: 600; border-radius: 10px; }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--sf-soft); color: var(--cl-deep); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); border-radius: var(--sf-radius); }

/* Hero: deep teal, a fine chart grid and one pulse line */
.sf-hero, .sf-pagehead {
	background:
		var(--cl-pulse) left 0 bottom 26px / 900px auto repeat-x,
		var(--cl-grid),
		radial-gradient(55% 75% at 88% 10%, color-mix(in srgb, var(--sf-accent) 14%, transparent), transparent 70%),
		linear-gradient(170deg, var(--cl-teal), var(--cl-deep));
	color: #e8f4f4;
}
.sf-hero { padding-block: 58px 78px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-lead { color: #cfe5e6; opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: #e8f4f4; }
.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(232, 244, 244, .5); }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.sf-hero__photo, .sf-hero__photo img { border-radius: var(--sf-radius); }

/* Form: a clipboard. White card, coral clip bar on top */
.sf-form { position: relative; background: var(--sf-card); border-radius: var(--sf-radius); border-top: 0; padding-top: 30px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .1); }
.sf-form::before { content: ""; position: absolute; top: -7px; left: 50%; width: 96px; height: 14px; margin-left: -48px; border-radius: 7px; background: var(--sf-accent); box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--sf-accent) 80%, #000); }
.sf-form__title { font-weight: 750; font-size: 23px; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: 10px; border-color: var(--sf-line); background: #fbfdfd; }
.sf-form input:focus, .sf-form select:focus, .sf-form textarea:focus { border-color: var(--cl-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cl-teal) 20%, transparent); }
.sf-form__call a { color: var(--cl-coral-text); }

/* Trust strip: a row of soft chips */
.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(--cl-teal); }

/* Sections: a short teal bar with a coral end under each section heading */
.sf-section--white { background: #f8fbfb; border-color: var(--sf-line); }
.sf-section > h2::after, .sf-section .sf-wrap > h2::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--cl-teal) 0 70%, var(--sf-accent) 70%); }
.sf-section h2 + p { color: var(--sf-muted); }
.sf-callstrip { background: var(--sf-soft); color: var(--sf-ink); }

/* Cards, features, steps: rounded, with a teal top edge like a chart tab */
.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, .sf-feature, .sf-features > .wp-block-group { border-top: 3px solid var(--cl-teal); }
.sf-card:hover, .sf-post:hover { border-color: var(--sf-line); border-top-color: var(--sf-accent); box-shadow: var(--sf-shadow); }
.sf-card__icon { border-radius: 12px; background: var(--sf-soft); color: var(--cl-teal); }
.sf-card__body strong, .sf-post__body strong { font-family: var(--sf-font-h); font-weight: 650; font-size: 18px; }
.sf-card__go { color: var(--cl-coral-text); }
.sf-features h3 { font-size: 20px; }
ol.sf-steps li::before { border-radius: 50%; background: #fff; color: var(--cl-teal); box-shadow: inset 0 0 0 3px var(--cl-teal); font-family: var(--sf-font-h); font-weight: 750; }
.sf-review { border-left: 4px solid var(--cl-teal); }
.sf-faq summary { font-weight: 650; 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: 10px; }
.sf-pill:hover, .sf-jump a:hover { border-color: var(--cl-teal); color: var(--sf-ink); }
.sf-pill .sf-i { color: var(--cl-teal); }
.sf-table table, .sf-article table { background: var(--sf-card); }
.sf-table th { background: var(--sf-soft); font-family: var(--sf-font-h); color: var(--cl-deep); }
.sf-photo img, .wp-block-image.sf-photo img { border-radius: var(--sf-radius); }

/* Closing call to action: the same teal, grid and pulse */
.sf-cta {
	background: var(--cl-pulse) left 0 bottom 18px / 760px auto repeat-x, var(--cl-grid), linear-gradient(170deg, var(--cl-teal), var(--cl-deep));
	color: #e8f4f4; border-radius: calc(var(--sf-radius) * 1.4);
}
.sf-cta p { color: #cfe5e6; opacity: 1; }
.sf-cta .sf-btn--light { background: var(--sf-accent); color: #fff; }
.sf-cta .sf-btn--ghost { color: #fff; border-color: rgba(232, 244, 244, .5); }

/* Footer */
.sf-footer { background: var(--cl-deep); color: #c4dcdd; border-top: 4px solid 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: 36px 56px; }
	.sf-hero, .sf-pagehead { background-size: 620px auto, 28px 28px, 28px 28px, auto, auto; background-position: left 0 bottom 14px, 0 0, 0 0, 0 0, 0 0; }
	h1 { font-size: clamp(31px, 8.6vw, 41px); }
	.sf-callbar { background: var(--sf-card); border-top-color: var(--sf-line); }
}
