/*
 * Skin: Wayfinder (DMV Locksmiths, Arlington, 2026-11-29).
 * "One route across the DMV": the look of a transit wayfinding sign. A deep bronze ground like a station pylon,
 * a grotesk sign face, and a single route line with station dots as the one ornament: under the hero, under section
 * headings, and as the line that strings the steps together. Buttons are rounded like a sign's line badge.
 * Loaded after style.css when business.json → brand.skin = "wayfinder". Colors still come from the brand tokens.
 */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/schibsted-grotesk-latin-var.woff2") format("woff2"); }

:root {
	--sf-font-h: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
	--sf-radius: 10px;
	--sf-card: #ffffff;
	--sf-line: #ddd5ca;
	--sf-soft: #ece5da;
	--sf-muted: #5a5047;
	--wf-deep: color-mix(in srgb, var(--sf-primary) 82%, #000);
	--wf-ground: var(--sf-primary);
	--wf-route: var(--sf-accent);
	--wf-route-text: color-mix(in srgb, var(--sf-accent) 84%, #000);
	--wf-route-soft: color-mix(in srgb, var(--sf-accent) 12%, #fff);
	--wf-on-dark: #f1ebe3;
	--wf-on-dark-2: #d8cec2;
	--wf-dot: radial-gradient(circle, #fff 0 3px, var(--wf-route) 3.5px 7px, transparent 7.5px);
	--sf-shadow: 0 1px 2px rgba(30, 22, 15, .06), 0 14px 30px -20px rgba(30, 22, 15, .38);
}

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: 800; letter-spacing: -.022em; }
h1 { font-size: clamp(36px, 4.9vw, 60px); line-height: 1.02; }
h2 { font-size: clamp(27px, 3.1vw, 40px); line-height: 1.08; }
h3 { font-weight: 750; letter-spacing: -.012em; }
a { color: var(--wf-route-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--sf-ink); }

/* Kicker above headings: a line badge, a short bar ending in a station dot */
.sf-eyebrow { font-family: var(--sf-font-h); font-weight: 750; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: var(--wf-route-text); }
.sf-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 10px; margin-right: 9px; vertical-align: 0; background: linear-gradient(var(--wf-route), var(--wf-route)) left center / 16px 4px no-repeat, radial-gradient(circle, var(--wf-route) 0 4px, transparent 4.5px) right center / 10px 10px no-repeat; }
.sf-hero .sf-eyebrow, .sf-pagehead .sf-eyebrow { color: color-mix(in srgb, var(--sf-accent) 40%, #fff); }

/* Buttons: rounded line badges */
.sf-btn, .wp-block-button__link { border-radius: 999px; font-family: var(--sf-font-h); font-weight: 750; letter-spacing: -.005em; 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) 86%, #000); color: #fff; }
.sf-btn--primary { background: var(--wf-deep); color: #fff; }
.sf-btn--ghost { border-radius: 999px; }

/* Top bar and header: the sign band */
.sf-topbar { background: var(--wf-deep); color: var(--wf-on-dark-2); }
.sf-topbar .sf-i { color: color-mix(in srgb, var(--sf-accent) 55%, #fff); }
.sf-header { background: var(--sf-card); border-bottom: 1px solid var(--sf-line); box-shadow: inset 0 -3px 0 var(--wf-route); }
.sf-nav a { font-weight: 650; border-radius: 999px; }
.sf-nav a:hover, .sf-nav .is-current > a { background: var(--wf-route-soft); color: var(--sf-ink); }
.sf-nav .sf-sub, .sf-mnav__panel { background: var(--sf-card); }

/* Hero: bronze sign ground with the route line running along its foot */
.sf-hero, .sf-pagehead {
	position: relative;
	background:
		radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--sf-accent) 13%, transparent), transparent 70%),
		linear-gradient(180deg, var(--wf-ground), var(--wf-deep));
	color: var(--wf-on-dark);
}
.sf-pagehead::after, .sf-hero:not(:has(.sf-hero__side))::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 14px; pointer-events: none;
	background: var(--wf-dot) left max(24px, calc((100% - var(--sf-maxw, 1180px)) / 2 + 20px)) center / 14px 14px no-repeat,
		linear-gradient(var(--wf-route), var(--wf-route)) left center / 100% 4px no-repeat;
	opacity: .9;
}
.sf-hero { padding-block: 56px 72px; }
.sf-hero h1, .sf-pagehead h1 { color: #fff; }
.sf-lead { color: var(--wf-on-dark-2); opacity: 1; font-size: 19px; line-height: 1.55; }
.sf-checks li { color: var(--wf-on-dark); }
.sf-checks li::before { background-color: var(--sf-accent); border-radius: 50%; }
.sf-section .sf-checks li { color: inherit; }
.sf-hero .sf-btn--ghost, .sf-pagehead .sf-btn--ghost { color: #fff; border-color: rgba(241, 235, 227, .5); }
.sf-hero .sf-btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* Form: a white sign panel with a route line across its top */
.sf-form { background: var(--sf-card); border-radius: var(--sf-radius); border-top: 0; box-shadow: inset 0 4px 0 var(--wf-route), 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; letter-spacing: -.02em; }
.sf-form input, .sf-form select, .sf-form textarea { border-radius: 8px; 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(--wf-route-text); }

/* Trust strip */
.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); }

/* Section headings: a short route segment that ends in a station */
.sf-section--white { background: #fdfbf8; border-color: var(--sf-line); }
.sf-section > h2::after, .sf-section .sf-wrap > h2::after {
	content: ""; display: block; width: 74px; height: 12px; margin-top: 12px;
	background: linear-gradient(var(--wf-route), var(--wf-route)) left center / 62px 4px no-repeat, radial-gradient(circle, #fff 0 2.5px, var(--wf-route) 3px 6px, transparent 6.5px) right center / 12px 12px no-repeat;
}
.sf-head-center .sf-section > h2::after { margin-inline: auto; }
.sf-section h2 + p { color: var(--sf-muted); }
.sf-callstrip { background: var(--wf-route-soft); color: var(--sf-ink); }

/* Cards: white sign panels with a bronze top edge; the route color 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 3px 0 var(--wf-ground); }
.sf-card:hover, .sf-post:hover { border-color: var(--sf-accent); box-shadow: inset 0 3px 0 var(--wf-route), var(--sf-shadow); }
.sf-card__icon { border-radius: 50%; background: var(--wf-route-soft); color: var(--wf-route-text); }
.sf-card__body strong, .sf-post__body strong { font-family: var(--sf-font-h); font-weight: 750; font-size: 18px; letter-spacing: -.012em; }
.sf-card__go { color: var(--wf-route-text); }
.sf-features h3 { font-size: 20px; }

/* Steps: stations on one line */
ol.sf-steps li { position: relative; }
ol.sf-steps li::before { border-radius: 50%; background: #fff; color: var(--sf-ink); box-shadow: inset 0 0 0 4px var(--wf-route); font-family: var(--sf-font-h); font-weight: 800; }
.sf-review { border-top: 0; box-shadow: inset 4px 0 0 var(--wf-route); }
.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: 999px; }
.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: a timetable. Bronze header, solid rules, fares right-aligned in the route color */
.sf-table table, .sf-article table { background: var(--sf-card); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sf-table th { background: var(--wf-ground); color: #fff; font-family: var(--sf-font-h); font-weight: 750; }
.sf-table td, .sf-article td { border-bottom: 1px solid var(--sf-line); }
.sf-table tr:nth-child(even) td { background: #fbf8f4; }
.sf-table td:last-child, .sf-article td:last-child { font-weight: 750; color: var(--wf-route-text); }
.sf-photo img, .wp-block-image.sf-photo img { border-radius: var(--sf-radius); }

/* Closing call to action: the sign ground again, with the route line on top */
.sf-cta {
	background: linear-gradient(180deg, var(--wf-ground), var(--wf-deep));
	color: var(--wf-on-dark); border-radius: var(--sf-radius); box-shadow: inset 0 4px 0 var(--wf-route);
}
.sf-cta p { color: var(--wf-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(241, 235, 227, .5); }

/* Footer */
.sf-footer { background: var(--wf-deep); color: var(--wf-on-dark-2); border-top: 0; box-shadow: inset 0 4px 0 var(--wf-route); }
.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: -.015em; }
.sf-pagination .current { background: var(--sf-accent); }

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