/*
Theme Name: S&N Auto Electric: Bench
Theme URI: https://dependentmedia.com/
Author: Dependent Media
Description: Block theme for S&N Auto Electric (Sacramento), rebuilt 2026-11 to the Sierra direction: light, photo-led, restrained. The shop's own sign carries the identity: its wide black lettering, the yellow-green of the sign panel, and the white job tags tied to every rebuilt unit.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
License: Proprietary (client site)
Text Domain: sna-bench
*/

/* ---------- fonts (self-hosted, trimmed by tools/make-fonts.py) ---------- */
@font-face { font-family: 'Encode Sans'; src: url(assets/fonts/encode-sans-latin-display.woff2) format('woff2'); font-weight: 500 800; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url(assets/fonts/ibm-plex-sans-latin-text.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
	--ink: #151515;        /* the sign panel */
	--text: #2b2d2f;
	--steel: #5f6468;      /* secondary text: 6.0:1 on white, 5.5:1 on concrete */
	--line: #d9dbdc;
	--rule: #8a8f93;       /* field borders: 3.3:1 on white */
	--concrete: #f2f2ef;   /* the shop's block walls, painted */
	--lime: #c8d62b;       /* the sign's yellow-green: fills behind ink text, and marks on ink (11:1) */
	--lime-ink: #4e5a07;   /* the same hue dark enough for text on white (7.4:1) */
	--err: #a3141c;
	--white: #fff;
	--display: 'Encode Sans', 'Arial Narrow', system-ui, sans-serif;
	--body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pad: 24px;
	--wide: 1240px;
	--hole: var(--white); /* the punched hole in a parts tag shows the band behind it */
}
@media (max-width: 599px) { :root { --pad: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (min-width: 768px) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1.0625rem/1.62 var(--body); color: var(--text); background: var(--white); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.15rem + 3.3vw, 3.45rem); font-weight: 780; font-stretch: 118%; line-height: 1.04; letter-spacing: -.012em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.3rem); font-weight: 750; font-stretch: 114%; line-height: 1.1; letter-spacing: -.008em; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 106%; line-height: 1.25; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sna-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sna-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; }
.sna-skip:focus { top: 12px; }

/* ---------- parts tag: the white/lime job tags tied to every unit in the shop (eyebrows, banner controls, captions) ---------- */
.sna-tag {
	display: inline-flex; align-items: center; position: relative; margin: 0 0 18px; padding: 7px 14px 7px 30px;
	font: 650 .8rem/1.2 var(--display); font-stretch: 80%; letter-spacing: .13em; text-transform: uppercase; color: var(--ink);
	background: var(--lime); clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}
.sna-tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--hole); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sna-tag--white { background: var(--white); }
.sna-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.27rem); line-height: 1.55; color: var(--text); max-width: 60ch; }

/* ---------- buttons: square, sign-panel black, a lime terminal bar at the left ---------- */
.sna-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 1.4em 0 1.55em;
	background: var(--ink); color: var(--white); border: 0; border-radius: 0; box-shadow: inset 6px 0 0 var(--lime);
	font: 650 1rem/1.15 var(--display); font-stretch: 100%; letter-spacing: .01em; text-decoration: none; cursor: pointer;
}
.sna-btn:hover, .wp-block-button__link:hover { background: #000; color: var(--white); box-shadow: inset 11px 0 0 var(--lime); text-decoration: none; }
.sna-btn--line, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.sna-btn--line:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 2px var(--ink), inset 6px 0 0 var(--lime); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 0 0 1em; }
.wp-block-button { margin: 0; }

/* ---------- header (sticky): logo, menu, phone as text, Request a Quote ---------- */
.sna-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.sna-header.is-scrolled { box-shadow: 0 6px 18px rgba(21, 21, 21, .07); }
.sna-bar__in { max-width: 1360px; margin: 0 auto; height: 84px; display: flex; align-items: center; gap: 26px; padding: 0 var(--pad); }
.sna-brand { display: block; color: var(--ink); line-height: 0; flex: none; }
.sna-logo { height: 46px; width: auto; display: block; }
.sna-nav { flex: 1; display: none; }
.sna-menu { list-style: none; margin: 0; padding: 0; }
.sna-menu--bar { display: flex; align-items: center; justify-content: center; gap: 2px; }
.sna-menu--bar > li { position: relative; display: flex; align-items: center; margin: 0; }
.sna-menu--bar .sna-menu__link { display: block; padding: 10px 11px; font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; }
.sna-menu--bar .sna-menu__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.sna-menu--bar .sna-menu__link[aria-current="page"], .sna-menu--bar .is-in > .sna-menu__link { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--ink); text-underline-offset: .45em; }
.sna-menu--bar .has-sub > .sna-menu__link { padding-right: 2px; }
.sna-menu__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.sna-menu__toggle .sna-ico { width: 18px; height: 18px; }
.sna-menu__toggle[aria-expanded="true"] .sna-ico { transform: rotate(180deg); }
.sna-menu--bar .sna-sub { position: absolute; left: 0; top: 100%; min-width: 280px; margin: 0; padding: 14px 0 10px; list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); box-shadow: 0 14px 30px rgba(21, 21, 21, .12); display: none; }
.sna-menu--bar .sna-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 12px; } /* hover bridge */
.sna-menu--bar .has-sub:hover > .sna-sub, .sna-menu--bar .has-sub.is-open > .sna-sub { display: block; }
.sna-menu--bar .sna-sub li { margin: 0; }
.sna-menu--bar .sna-sub a { display: block; padding: 8px 11px 8px 11px; margin: 0 8px 0 0; color: var(--ink); text-decoration: none; font-size: .97rem; }
.sna-menu--bar .sna-sub a:hover, .sna-menu--bar .sna-sub a[aria-current="page"] { text-decoration: underline; }
.sna-bar__cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.sna-bar__tel { display: none; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 700 1.05rem/1 var(--display); font-stretch: 106%; white-space: nowrap; }
.sna-bar__tel:hover span { text-decoration: underline; }
.sna-bar__quote { display: none; min-height: 46px; white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1099px) { .sna-bar__in { gap: 14px; } .sna-bar__cta { gap: 12px; } .sna-bar__quote { padding: 0 1em 0 1.2em; } }
.sna-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: 650 .95rem var(--display); cursor: pointer; }
.sna-bar__menu .sna-ico--close, .sna-bar__menu[aria-expanded="true"] .sna-ico--menu { display: none; }
.sna-bar__menu[aria-expanded="true"] .sna-ico--close { display: block; }
@media (min-width: 768px) { .sna-bar__tel, .sna-bar__quote { display: inline-flex; } }
@media (min-width: 1280px) { .sna-nav { display: block; } .sna-bar__menu, .sna-panel { display: none !important; } .sna-bar__in { gap: 18px; } }
@media (max-width: 400px) { .sna-logo { height: 40px; } .sna-bar__in { height: 72px; gap: 12px; } }
@media (max-width: 359px) { .sna-logo { height: 32px; } .sna-bar__menu { padding: 0 10px; gap: 6px; } }
.sna-panel { border-top: 1px solid var(--line); padding: 8px var(--pad) 22px; max-height: calc(100vh - 84px); overflow: auto; }
.sna-menu--panel > li { border-bottom: 1px solid var(--line); margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.sna-menu--panel .sna-menu__link { flex: 1; display: block; padding: 14px 0; font-size: 1.08rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.sna-menu--panel .sna-menu__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.sna-menu--panel .sna-menu__toggle { width: 44px; height: 44px; }
.sna-menu--panel .sna-sub { display: none; flex-basis: 100%; list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; border-left: 3px solid var(--lime); }
.sna-menu--panel .is-open > .sna-sub { display: block; }
.sna-menu--panel .sna-sub a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; }
.sna-panel__contact { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; }
.sna-panel__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* ---------- sections: light bands, one dark band (the footer) ---------- */
.sna-main { display: block; }
.sna-sec { padding: clamp(56px, 7vw, 100px) max(var(--pad), calc((100% - var(--wide)) / 2)); }
.sna-sec--concrete { background: var(--concrete); --hole: var(--concrete); }
.sna-sec--flush-top { padding-top: 0; }
.sna-sec--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.sna-sec > :last-child { margin-bottom: 0; }
.sna-sec__head { max-width: 760px; margin-bottom: clamp(28px, 3vw, 44px); }
.sna-sec__head > :last-child { margin-bottom: 0; }
.sna-sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.sna-sec__head--row > div { max-width: 760px; }
.sna-sec__head--row > p:last-child { margin: 0; }
.sna-more { display: inline-flex; align-items: center; gap: 8px; font: 650 1rem var(--display); color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.sna-more .sna-ico { width: 20px; height: 20px; }
.sna-prose { max-width: 760px; }
.sna-prose h2 { margin-top: 1.6em; }
.sna-prose h2:first-child { margin-top: 0; }
.sna-prose h3 { margin-top: 1.4em; }
.sna-rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* page heads + breadcrumbs */
.sna-head { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.sna-head h1 { max-width: 22ch; }
.sna-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .92rem; color: var(--steel); }
.sna-crumbs li { margin: 0; }
.sna-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--rule); }
.sna-crumbs a { color: var(--steel); }

/* two columns (core Columns block) */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 36px 64px; margin: 0 0 1em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 899px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: auto !important; } }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.sna-split .wp-block-column:first-child { flex: 1.15 1 0; }

/* photos in pages: square corners, caption on a white job tag */
.wp-block-image { margin: 0 0 1em; position: relative; }
.wp-block-image img { width: 100%; height: auto; }
.sna-ph-3x2 img { aspect-ratio: 3 / 2; object-fit: cover; }
.sna-ph-4x3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.sna-ph-4x5 img { aspect-ratio: 4 / 5; object-fit: cover; }
.wp-block-image figcaption, .sna-figtag figcaption {
	display: inline-block; margin: 10px 0 0; padding: 0; font: 600 .78rem/1.3 var(--display); font-stretch: 82%; letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
}
.sna-figtag { position: relative; }
.sna-figtag figcaption { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 12px 7px 28px; color: var(--ink); background: var(--white); clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); max-width: calc(100% - 28px); }
.sna-figtag figcaption::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--concrete); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sna-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 1em; }
.sna-photos .wp-block-image { margin: 0; }

/* ---------- home hero: headline row first, then the banner full width ---------- */
.sna-hero { padding-top: clamp(40px, 5.2vw, 76px); padding-bottom: clamp(28px, 3vw, 40px); }
.sna-hero h1 { max-width: 18ch; margin-bottom: .45em; }
.sna-hero__grid { display: grid; gap: 36px 64px; align-items: end; }
.sna-hero__text .sna-lead { margin-bottom: 28px; }
.sna-hero__text .wp-block-buttons { margin: 0; }
@media (min-width: 1000px) { .sna-hero__grid { grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); } }

.sna-bleed { padding: 0; }
.sna-banner { position: relative; }
.sna-banner__frame { position: relative; aspect-ratio: 12 / 5; overflow: hidden; background: #2a2b2c; }
.sna-banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.sna-banner__slide.is-on { opacity: 1; }
.sna-banner__slide img { width: 100%; height: 100%; object-fit: cover; }
.sna-banner__tag {
	position: absolute; left: max(var(--pad), calc((100% - var(--wide)) / 2)); bottom: 22px; display: flex; align-items: center; gap: 14px;
	padding: 8px 18px 8px 8px; background: var(--white); max-width: calc(100% - 2 * var(--pad));
}
.sna-banner__pause { width: 44px; height: 44px; border: 0; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; box-shadow: inset 4px 0 0 var(--lime); }
.sna-banner__pause .sna-ico { width: 20px; height: 20px; stroke-width: 2.4; }
.sna-banner__pause .sna-ico--play, .sna-banner__pause.is-paused .sna-ico--pause { display: none; }
.sna-banner__pause.is-paused .sna-ico--play { display: block; fill: currentColor; }
.sna-banner__dots { display: flex; gap: 2px; }
.sna-banner__dot { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sna-banner__dot::before { content: ""; width: 12px; height: 12px; box-shadow: inset 0 0 0 2px var(--ink); }
.sna-banner__dot[aria-current="true"]::before { background: var(--ink); }
.sna-banner__cap { margin: 0; font: 600 .8rem/1.25 var(--display); font-stretch: 82%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 767px) {
	.sna-banner__frame { aspect-ratio: 4 / 3; }
	.sna-banner__tag { position: static; margin: 0 var(--pad); padding: 10px 0 0; max-width: none; }
}

/* the sign panel: the lines from the sign out front, in a keyline box */
.sna-signpanel { border: 2px solid var(--ink); background: var(--white); }
.sna-signpanel__head { margin: 0; padding: 16px 22px 14px; border-bottom: 2px solid var(--ink); box-shadow: inset 0 -5px 0 var(--lime); font: 700 .86rem/1.3 var(--display); font-stretch: 84%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.sna-signpanel ul { list-style: none; margin: 0; padding: 6px 22px; }
.sna-signpanel li { margin: 0; display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; font: 650 1rem/1.35 var(--display); font-stretch: 96%; color: var(--ink); }
.sna-signpanel li + li { border-top: 1px solid var(--line); }
.sna-signpanel li .sna-ico { width: 24px; height: 24px; padding: 4px; margin-top: -1px; background: var(--lime); color: var(--ink); stroke-width: 2.6; }
.sna-signpanel__foot { display: flex; gap: 12px; margin: 0; padding: 14px 22px 16px; background: var(--concrete); font-size: .95rem; line-height: 1.45; color: var(--text); }
.sna-signpanel__foot .sna-ico { width: 22px; height: 22px; margin-top: 1px; }
@media (max-width: 999px) { .sna-signpanel--hero { display: none; } }
@media (min-width: 1000px) { .sna-only-narrow { display: none; } }
@media (max-width: 999px) { .sna-only-narrow + .sna-sec { padding-top: 0; } }
@media (min-width: 600px) and (max-width: 999px) { .sna-signpanel ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; } .sna-signpanel li:nth-child(2) { border-top: 0; } }

/* ---------- cards ---------- */
.sna-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 28px; }
.sna-cards--svc { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .sna-cards--svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sna-cards--svc { grid-template-columns: repeat(6, minmax(0, 1fr)); } .sna-cards--svc > li { grid-column: span 2; } .sna-cards--svc > li:nth-child(n+4) { grid-column: span 3; } .sna-cards--svc > li:nth-child(n+4) .sna-card__ph img { aspect-ratio: 16 / 9; } }
.sna-card { position: relative; margin: 0; }
.sna-card__ph img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.sna-card__t { position: relative; margin: 0 0 8px; padding-top: 16px; font-size: 1.3rem; }
/* the wire: a ring terminal on a thin lead, above each card title */
.sna-card__t::before, .sna-aud__t::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: linear-gradient(var(--ink), var(--ink)) 10px 0 / 54px 2px no-repeat; }
.sna-card__t::after, .sna-aud__t::after { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); background: var(--lime); }
.sna-card__ph { margin-bottom: 18px; }
.sna-card__t a { color: var(--ink); text-decoration: none; }
.sna-card:hover .sna-card__t a, .sna-card__t a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
.sna-card p { margin: 0; color: var(--text); max-width: 44ch; }
.sna-card__more { display: inline-flex; margin-top: 12px; color: var(--ink); }
.sna-cards--aud { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sna-cards--aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sna-cards--aud { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sna-aud { margin: 0; }
.sna-aud__ph { margin-bottom: 18px; }
.sna-aud__ph img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.sna-aud__t { position: relative; padding-top: 16px; font-size: 1.15rem; margin-bottom: 8px; }
.sna-aud p { margin: 0; font-size: 1rem; }

/* R&R steps */
.sna-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 32px; counter-reset: s; }
@media (min-width: 700px) { .sna-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sna-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sna-steps li { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); }
.sna-steps__n { display: inline-block; margin-bottom: 14px; padding: 4px 10px; font: 700 .95rem/1.2 var(--display); font-stretch: 85%; letter-spacing: .08em; background: var(--lime); color: var(--ink); }
.sna-steps h3 { margin-bottom: 6px; }
.sna-steps p { margin: 0; font-size: 1rem; }

/* facts (static numbers) */
.sna-facts { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
@media (min-width: 1000px) { .sna-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sna-facts > div { padding: 22px 20px 4px 0; }
@media (min-width: 1000px) { .sna-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); } }
.sna-facts dt { font: 780 clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem)/1.05 var(--display); font-stretch: 120%; color: var(--ink); margin-bottom: 8px; }
.sna-facts dd { margin: 0; color: var(--steel); font-size: 1rem; max-width: 24ch; }

/* reviews */
.sna-reviews { display: grid; gap: 28px 40px; margin-top: 44px; }
@media (min-width: 900px) { .sna-reviews { grid-template-columns: 1fr 1fr; } }
.sna-review { margin: 0; padding: 26px 28px 24px; background: var(--white); border-left: 6px solid var(--lime); }
.sna-sec:not(.sna-sec--concrete) .sna-review { background: var(--concrete); }
.sna-review__stars { margin: 0 0 10px; color: var(--ink); letter-spacing: .12em; font-size: .95rem; }
.sna-review blockquote { margin: 0 0 14px; }
.sna-review blockquote p { margin: 0; font-size: 1.06rem; color: var(--ink); }
.sna-review figcaption { font-weight: 600; color: var(--ink); font-size: .97rem; }
.sna-review figcaption span { font-weight: 400; color: var(--steel); }

/* photo strip */
.sna-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 700px) { .sna-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sna-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sna-strip li { margin: 0; }
.sna-strip a { display: block; }
.sna-strip img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.sna-strip a:hover img { filter: brightness(1.06); }

/* map + visit card */
.sna-locate { display: grid; gap: 36px 56px; align-items: start; }
@media (min-width: 1000px) { .sna-locate { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); } }
.sna-mapfig { margin: 0; }
.sna-map { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.sna-mapfig figcaption { margin-top: 8px; font-size: .85rem; color: var(--steel); }
.sna-visit { border-top: 2px solid var(--ink); padding-top: 6px; }
.sna-visit > p, .sna-visit > div { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sna-visit .sna-ico { margin-top: 2px; }
.sna-visit__addr strong { font: 700 1.1rem var(--display); font-stretch: 108%; color: var(--ink); }
.sna-visit__tel a { font: 700 1.35rem/1.2 var(--display); font-stretch: 108%; color: var(--ink); text-decoration: none; }
.sna-visit__tel a:hover { text-decoration: underline; }
.sna-visit__mail a { overflow-wrap: anywhere; }
.sna-visit > .sna-visit__btns { border-bottom: 0; padding-top: 22px; }
.sna-hours { border-collapse: collapse; font-size: 1rem; }
.sna-hours th { text-align: left; font-weight: 500; padding: 2px 22px 2px 0; color: var(--ink); }
.sna-hours td { padding: 2px 0; }
.sna-hours th { white-space: nowrap; }
@media (max-width: 479px) { .sna-ccard .sna-hours th, .sna-ccard .sna-hours td, .sna-visit .sna-hours th, .sna-visit .sna-hours td { display: block; padding: 0; } .sna-ccard .sna-hours tr, .sna-visit .sna-hours tr { display: block; margin-bottom: 6px; } }
.sna-towns { display: grid; gap: 24px 40px; }
@media (min-width: 700px) { .sna-towns { grid-template-columns: 1.2fr 1fr; } }
.sna-towns h3 { font-size: 1rem; font-stretch: 90%; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.sna-towns ul { list-style: none; padding: 0; columns: 2; column-gap: 24px; }
.sna-towns li { break-inside: avoid; padding: 3px 0; }

/* call-to-action band */
.sna-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.sna-cta__t { max-width: 640px; }
.sna-cta__t h2 { margin-bottom: .3em; }
.sna-cta__t p { margin: 0; }
.sna-cta__btns { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 0; }

/* lists */
.sna-ticks { list-style: none; padding: 0; }
.sna-ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.sna-ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 14px; height: 14px; background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }
.sna-links { list-style: none; padding: 0; }
.sna-links--big li { margin-bottom: 10px; }
.sna-links--big a { font: 650 1.2rem var(--display); }
.sna-panelbox { border: 2px solid var(--ink); padding: 26px 28px 22px; background: var(--white); margin-bottom: 20px; }
.sna-panelbox > :last-child { margin-bottom: 0; }
.sna-panelbox h2, .sna-panelbox h3 { margin-top: 0; }
.sna-note { font-size: .95rem; color: var(--steel); }

/* installer checklist (their own card, as text) */
.sna-checklist { counter-reset: c; list-style: none; padding: 0; }
.sna-checklist li { position: relative; padding: 14px 0 14px 54px; margin: 0; border-top: 1px solid var(--line); }
.sna-checklist li::before { counter-increment: c; content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 14px; padding: 2px 8px; font: 700 .9rem/1.3 var(--display); font-stretch: 85%; background: var(--ink); color: var(--lime); }
.sna-volts { display: inline-block; font: 780 1.1rem var(--display); font-stretch: 112%; padding: 0 6px; background: var(--lime); color: var(--ink); }

/* ---------- Our Work: filters + core Gallery + lightbox ---------- */
.sna-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.sna-filter { min-height: 42px; padding: 0 16px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: 600 .95rem var(--display); cursor: pointer; }
.sna-filter[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: inset 5px 0 0 var(--lime); }
.sna-filters__count { font-size: .92rem; color: var(--steel); margin: 0 0 22px; }
.wp-block-gallery.sna-gallery { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
@media (min-width: 700px) { .wp-block-gallery.sna-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .wp-block-gallery.sna-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wp-block-gallery.sna-gallery .wp-block-image { margin: 0; width: auto !important; }
.wp-block-gallery.sna-gallery .wp-block-image[hidden] { display: none; }
.wp-block-gallery.sna-gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto !important; }
.wp-block-gallery.has-nested-images.sna-gallery figure.wp-block-image figcaption { position: static; display: block; margin: 8px 0 4px; padding: 0; max-height: none; overflow: visible; background: none; color: var(--steel); font-size: .74rem; text-align: left; text-shadow: none; }
.wp-block-gallery.has-nested-images.sna-gallery figure.wp-block-image:has(figcaption)::before { display: none; }
.wp-block-gallery.has-nested-images.sna-gallery figure.wp-block-image { flex-direction: column; align-items: stretch; }
.wp-block-gallery.sna-gallery a { display: block; }
.wp-block-gallery.sna-gallery a:focus-visible { outline-offset: 2px; }
.sna-lb { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 12, .95); color: #fff; }
.sna-lb::backdrop { background: rgba(12, 12, 12, .8); }
.sna-lb__in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 24px; }
.sna-lb__in img { max-width: 100%; max-height: calc(100% - 52px); width: auto; height: auto; object-fit: contain; }
.sna-lb__bar { margin: 12px 0 0; text-align: center; font-size: .98rem; color: #e6e7e8; }
.sna-lb__n { color: var(--lime); margin-left: 10px; font-family: var(--display); font-weight: 650; }
.sna-lb__btn { position: absolute; width: 52px; height: 52px; border: 0; background: #2a2b2c; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sna-lb__btn:hover { background: #3a3b3c; }
.sna-lb__btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.sna-lb__prev { left: 12px; top: 50%; margin-top: -26px; }
.sna-lb__next { right: 12px; top: 50%; margin-top: -26px; }
.sna-lb__close { right: 12px; top: 12px; }
@media (max-width: 699px) { .sna-lb__in { padding: 64px 10px 84px; } .sna-lb__prev, .sna-lb__next { top: auto; bottom: 16px; margin: 0; } .sna-lb__prev { left: calc(50% - 60px); } .sna-lb__next { right: calc(50% - 60px); } }

/* ---------- contact + form (Ninja Forms, opinionated styles off) ---------- */
.sna-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.sna-form, .sna-form .nf-form-cont, .sna-form nf-field, .sna-form .nf-field-element { min-width: 0; max-width: 100%; }
@media (min-width: 1000px) { .sna-contact { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); } }
.sna-ccard { background: var(--concrete); padding: 24px 20px 20px; border-top: 6px solid var(--ink); --hole: var(--concrete); }
@media (min-width: 600px) { .sna-ccard { padding: 30px 30px 26px; } }
.sna-ccard a { overflow-wrap: anywhere; }
.sna-ccard__big { display: flex; align-items: center; gap: 12px; font: 780 1.75rem/1.1 var(--display); font-stretch: 112%; margin: 0 0 18px; }
.sna-ccard__big a { color: var(--ink); text-decoration: none; }
.sna-ccard__big a:hover { text-decoration: underline; }
.sna-ccard__list { list-style: none; margin: 0; padding: 0; }
.sna-ccard__list li { display: flex; gap: 12px; padding: 12px 0; margin: 0; border-top: 1px solid var(--line); }
.sna-ccard__list .sna-ico { margin-top: 2px; }
.sna-form .nf-form-content { padding: 0; max-width: none; }
.sna-form .nf-form-fields-required { font-size: .95rem; color: var(--steel); margin-bottom: 18px; }
.sna-form nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 20px; }
.sna-form nf-field { flex: 1 1 100%; }
@media (min-width: 700px) { .sna-form nf-field:has(.sna-half) { flex: 1 1 calc(50% - 10px); } }
.sna-form .nf-field-container { margin-bottom: 22px; }
.sna-form .nf-field-label { margin-bottom: 6px; }
.sna-form .nf-field-label label, .sna-form .nf-field-label .nf-label-span { font-weight: 600; color: var(--ink); font-size: 1rem; }
.sna-form .ninja-forms-req-symbol { color: var(--err); }
.sna-form input.ninja-forms-field:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), .sna-form textarea.ninja-forms-field, .sna-form select.ninja-forms-field {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--body); }
.sna-form textarea.ninja-forms-field { min-height: 150px; height: 150px; }
.sna-form .ninja-forms-field:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); box-shadow: inset 4px 0 0 var(--lime); }
.sna-form .nf-field-description { font-size: .92rem; color: var(--steel); margin-top: 6px; }
.sna-form .nf-field-description p { margin: 0; }
.sna-form .list-radio-wrap ul, .sna-form .list-checkbox-wrap ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.sna-form .list-radio-wrap li, .sna-form .list-checkbox-wrap li { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.sna-form .list-radio-wrap .nf-field-element li input, .sna-form .list-checkbox-wrap .nf-field-element li input { width: 20px !important; height: 20px; margin: 0 !important; flex: none; accent-color: var(--ink); }
.sna-form .list-radio-wrap .nf-field-element li label, .sna-form .list-checkbox-wrap .nf-field-element li label { font-weight: 400 !important; margin: 0 !important; padding: 0; width: auto; }
.sna-form .list-radio-wrap .nf-field-element li, .sna-form .list-checkbox-wrap .nf-field-element li { margin: 0 !important; padding: 0; }
.sna-form .nf-error-msg, .sna-form .nf-error .nf-error-msg { color: var(--err); font-size: .95rem; font-weight: 500; margin-top: 6px; }
.sna-form .nf-error .ninja-forms-field { border-color: var(--err) !important; border-width: 2px !important; }
.sna-form .nf-form-errors .nf-error-msg { margin: 0 0 12px; }
.sna-form .nf-pass .ninja-forms-field { border-color: var(--rule); }
.sna-form input[type=submit], .sna-form input[type=button].ninja-forms-field { min-height: 52px; padding: 0 30px 0 34px; border: 0; border-radius: 0; background: var(--ink); color: #fff; box-shadow: inset 6px 0 0 var(--lime); font: 650 1.05rem var(--display); cursor: pointer; }
.sna-form input[type=submit]:hover, .sna-form input[type=button].ninja-forms-field:hover { background: #000; box-shadow: inset 11px 0 0 var(--lime); }
.sna-form .nf-after-field .nf-input-limit { display: none; }
.sna-thanks { padding: 32px 0 8px; outline: none; }
.sna-thanks__check { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); margin-bottom: 18px; }
.sna-thanks__check .sna-ico { width: 32px; height: 32px; stroke-width: 2.4; }
.sna-thanks h2 { margin-bottom: .35em; }
.sna-thanks ol { margin: 14px 0 22px; padding-left: 1.3em; }
.sna-thanks ol li { margin-bottom: 6px; }
.sna-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- footer (the one dark band) ---------- */
.sna-foot { background: var(--ink); color: #d4d6d7; font-size: 1rem; --hole: var(--ink); }
.sna-foot a { color: #fff; }
.sna-foot :focus-visible { outline-color: var(--lime); }
.sna-foot__in { display: grid; gap: 40px 44px; padding: clamp(56px, 6vw, 88px) max(var(--pad), calc((100% - var(--wide)) / 2)) 44px; }
@media (min-width: 700px) { .sna-foot__in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sna-foot__in { grid-template-columns: 1.4fr 1.15fr 1fr 1.2fr .9fr; } }
.sna-brand--foot { color: #fff; margin-bottom: 18px; }
.sna-brand--foot .sna-logo { height: 52px; }
.sna-foot__slogan { font: 650 1.08rem/1.35 var(--display); font-stretch: 104%; color: #fff; margin: 0 0 8px; }
.sna-foot__values { font: 600 .78rem/1.5 var(--display); font-stretch: 82%; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0; }
.sna-foot__h { font: 650 .8rem var(--display); font-stretch: 82%; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin: 6px 0 16px; }
.sna-foot__col ul { list-style: none; margin: 0; padding: 0; }
.sna-foot__col li { padding: 4px 0; margin: 0; }
.sna-foot__col a { text-decoration: none; }
.sna-foot__col a:hover { text-decoration: underline; }
.sna-foot__col p { margin: 0 0 14px; }
.sna-foot__col p a { text-decoration: underline; text-underline-offset: 3px; }
.sna-foot__visit p a { overflow-wrap: anywhere; }
.sna-foot__visit .sna-foot__tel { font: 780 1.35rem/1.2 var(--display); font-stretch: 110%; text-decoration: none; }
.sna-foot__visit .sna-foot__tel:hover { text-decoration: underline; }
.sna-hours--foot th, .sna-hours--foot td { display: block; padding: 0; }
.sna-hours--foot tr { display: block; margin-bottom: 8px; }
.sna-hours--foot th { color: #fff; font-weight: 500; }
.sna-hours--foot td { color: #d4d6d7; }
.sna-foot__base { padding: 18px max(var(--pad), calc((100% - var(--wide)) / 2)) 22px; border-top: 1px solid #34363a; font-size: .9rem; color: #b9bdc0; }
.sna-foot__base p { margin: 0; }
.sna-foot__base a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sna-foot__base a.sna-credit { text-decoration: underline; text-underline-offset: .18em; }

/* ---------- phones: the bottom bar with exactly Call and Request a Quote ---------- */
.sna-callbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: 62px; }
	.sna-callbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; height: 62px; border-top: 1px solid var(--line); background: var(--white); }
	.sna-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.02rem var(--display); text-decoration: none; }
	.sna-foot .sna-callbar__call { color: var(--ink); background: var(--white); }
	.sna-foot .sna-callbar__quote { color: var(--white); background: var(--ink); box-shadow: inset 6px 0 0 var(--lime); }
	.sna-callbar a:focus-visible { outline-offset: -4px; }
}

/* ---------- the one quiet fade-in (site.js adds .sna-rise only when motion is allowed) ---------- */
.sna-rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.sna-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.sna-rise { opacity: 1; transform: none; transition: none; }
	.sna-banner__slide { transition: none; }
	html { scroll-behavior: auto; }
}

@media print {
	.sna-header, .sna-callbar, .sna-banner__tag, .sna-foot__in { display: none !important; }
}
