/*
 * Skin: Regatta (Annapolis Maryland Locksmith, Annapolis, 2026-11-29).
 * "A harbor chart of the Bay": Annapolis is the sailing capital, so the page reads like a nautical chart. Sailcloth
 * paper with a faint latitude/longitude grid, deep harbor-spruce ink, and a cobalt signal colour. The one ornament
 * is the chart's scale bar (alternating filled and open blocks): under section headings, along the header foot and
 * across the form. Steps are buoy markers, price tables read like a tide table. Headings use a book serif from the
 * system (no font download), kickers a spaced sans.
 * Loaded after style.css when business.json → brand.skin = "regatta". Colors still come from the brand tokens.
 */

:root {
	--sf-font-h: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
	--sf-radius: 4px;
	--sf-card: #fffdf8;
	--sf-line: #d9d3c4;
	--sf-soft: #ece6d8;
	--sf-muted: #4f5a55;
	--rg-deep: color-mix(in srgb, var(--sf-primary) 78%, #000);
	--rg-ink: var(--sf-primary);
	--rg-signal: var(--sf-accent);
	--rg-signal-text: color-mix(in srgb, var(--sf-accent) 88%, #000);
	--rg-signal-soft: color-mix(in srgb, var(--sf-accent) 10%, #fff);
	--rg-on-dark: #eef1ea;
	--rg-on-dark-2: #c9d3cc;
	--rg-grid: color-mix(in srgb, var(--sf-primary) 7%, transparent);
	/* Chart scale bar: filled, open, filled, open… */
	--rg-scale: repeating-linear-gradient(90deg, var(--rg-ink) 0 14px, transparent 14px 28px);
	--sf-shadow: 0 1px 2px rgba(16, 34, 30, .06), 0 16px 32px -22px rgba(16, 34, 30, .42);
}

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: 700; letter-spacing: -.012em; }
h1 { font-size: clamp(36px, 4.7vw, 58px); line-height: 1.05; }
h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.1; }
h3 { font-weight: 700; letter-spacing: -.005em; }
a { color: var(--rg-signal-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sf-ink); }

/* Kicker above headings: spaced capitals after a short scale bar, like a chart legend */
.sf-eyebrow { font-family: system-ui, "Segoe UI", Arial, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--rg-signal-text); }
.sf-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 6px; margin-right: 10px; vertical-align: 1px; background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 14px); box-shadow: inset 0 0 0 1px currentColor; }
.sf-hero .sf-eyebrow, .sf-pagehead .sf-eyebrow { color: color-mix(in srgb, var(--sf-accent) 35%, #fff); }

/* Buttons: squared like chart labels */
.sf-btn, .wp-block-button__link { border-radius: var(--sf-radius); font-family: system-ui, "Segoe UI", Arial, sans-serif; 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; }
.sf-btn--accent:hover, .wp-block-button__link:hover { background: color-mix(in srgb, var(--sf-accent) 84%, #000); color: #fff; }
.sf-btn--primary { background: var(--rg-ink); color: #fff; }
.sf-btn--primary:hover { background: var(--rg-deep); color: #fff; }

/* Top bar and header: the chart's title block, with a scale bar along its foot */
.sf-topbar { background: var(--rg-deep); color: var(--rg-on-dark-2); }
.sf-topbar .sf-i { color: color-mix(in srgb, var(--sf-accent) 45%, #fff); }
.sf-header { position: relative; background: var(--sf-card); border-bottom: 1px solid var(--sf-line); }
.sf-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--rg-scale); opacity: .85; pointer-events: none; }
.sf-nav a { font-weight: 600; border-radius: var(--sf-radius); }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--rg-signal-soft); color: var(--sf-ink); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); }

/* Hero (inner pages and the dark recipes): deep harbor water with the chart grid on it */
.sf-hero, .sf-pagehead {
	position: relative;
	background:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px,
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px,
		linear-gradient(180deg, var(--rg-ink), var(--rg-deep));
	color: var(--rg-on-dark);
}
.sf-hero { padding-block: 56px 70px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-lead { color: var(--rg-on-dark-2); opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: var(--rg-on-dark); }
.sf-checks li::before { background-color: var(--sf-accent); border-radius: 1px; }
.sf-section .sf-checks li { color: inherit; }
.sf-hero .sf-btn--ghost, .sf-pagehead .sf-btn--ghost { color: #fff; border-color: rgba(238, 241, 234, .5); }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* Light recipe: the home hero is the paper chart itself, grid lines in ink */
.sf-hero-light .sf-hero {
	background:
		linear-gradient(var(--rg-grid) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, var(--rg-grid) 1px, transparent 1px) 0 0 / 56px 56px,
		var(--sf-paper);
}
.sf-hero-light .sf-hero .sf-eyebrow { color: var(--rg-signal-text); }

/* Form: a framed chart panel, scale bar across its top */
.sf-form { position: relative; background: var(--sf-card); border-radius: var(--sf-radius); border-top: 0; box-shadow: 0 0 0 1px var(--sf-line), 0 30px 60px -32px rgba(0, 0, 0, .55); }
.sf-form::before { content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 5px; background: repeating-linear-gradient(90deg, currentColor 0 12px, transparent 12px 24px); opacity: .55; pointer-events: none; }
.sf-form__title { font-weight: 700; font-size: 23px; letter-spacing: -.01em; padding-top: 8px; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: 3px; 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) 22%, transparent); }
.sf-form__call a { color: var(--rg-signal-text); }

/* Trust strip: a legend box with a double rule, as on a chart margin */
.sf-trust { background: var(--sf-card); border: 1px solid var(--sf-line); outline: 1px solid var(--sf-line); outline-offset: 3px; border-radius: 0; box-shadow: none; }
.sf-trust__item .sf-i { color: var(--sf-accent); }

/* Section headings: the scale bar */
.sf-section--white { background: #fffdf8; border-color: var(--sf-line); }
.sf-section > h2::after, .sf-section .sf-wrap > h2::after {
	content: ""; display: block; width: 84px; height: 6px; margin-top: 14px;
	background: var(--rg-scale); box-shadow: inset 0 0 0 1px var(--rg-ink);
}
.sf-head-center .sf-section > h2::after { margin-inline: auto; }
.sf-section h2 + p { color: var(--sf-muted); }
.sf-callstrip { background: var(--rg-signal-soft); color: var(--sf-ink); }

/* Cards: chart insets, ink frame; the signal colour 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, .sf-post { box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, border-color .2s; }
.sf-card:hover, .sf-post:hover { border-color: var(--rg-ink); box-shadow: inset 0 -3px 0 var(--rg-signal), var(--sf-shadow); }
.sf-card__icon { border-radius: 50%; background: var(--rg-signal-soft); color: var(--rg-signal-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-accent) 30%, transparent); }
.sf-card__body strong, .sf-post__body strong { font-family: var(--sf-font-h); font-weight: 700; font-size: 18.5px; }
.sf-card__go { color: var(--rg-signal-text); }
.sf-features h3 { font-size: 20px; }

/* Steps: numbered buoys, a ring around the number */
ol.sf-steps li { position: relative; }
ol.sf-steps li::before { border-radius: 50%; background: var(--sf-card); color: var(--rg-ink); box-shadow: inset 0 0 0 2px var(--rg-ink), 0 0 0 4px var(--sf-card), 0 0 0 5px var(--rg-signal); font-family: var(--sf-font-h); font-weight: 700; }
.sf-review { border-top: 0; box-shadow: inset 3px 0 0 var(--rg-ink); }
.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(--rg-ink); color: var(--sf-ink); }
.sf-pill .sf-i { color: var(--sf-accent); }

/* Price tables: a tide table. Ink header, hairlines, figures right in the signal colour */
.sf-table table, .sf-article table { background: var(--sf-card); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sf-table th { background: var(--rg-ink); color: #fff; font-family: system-ui, "Segoe UI", Arial, sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13.5px; }
.sf-table td, .sf-article td { border-bottom: 1px solid var(--sf-line); }
.sf-table tr:nth-child(even) td { background: #faf7ef; }
.sf-table td:last-child, .sf-article td:last-child { font-weight: 700; color: var(--rg-signal-text); }
.sf-photo img, .wp-block-image.sf-photo img { border-radius: var(--sf-radius); }

/* Closing call to action: harbor water again, scale bar on top */
.sf-cta {
	position: relative;
	background:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(180deg, var(--rg-ink), var(--rg-deep));
	color: var(--rg-on-dark); border-radius: var(--sf-radius);
}
.sf-cta p { color: var(--rg-on-dark-2); opacity: 1; }
.sf-cta .sf-btn--light { background: var(--sf-accent); color: #fff; }
.sf-cta .sf-btn--ghost { color: #fff; border-color: rgba(238, 241, 234, .5); }

/* Footer */
.sf-footer { position: relative; background: var(--rg-deep); color: var(--rg-on-dark-2); border-top: 0; }
.sf-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--rg-signal) 0 14px, transparent 14px 28px); pointer-events: none; }
.sf-footer a:hover { color: color-mix(in srgb, var(--sf-accent) 40%, #fff); }
.sf-footer__title, .sf-footer__brand { font-family: var(--sf-font-h); }
.sf-pagination .current { background: var(--sf-accent); }

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