/* Strip&Wax.com section rhythm for the older ".band" page template (2026-11-22).
   Replaces the identical inline <style id="sw-sections"> block that was pasted into every page.
   Loaded on every page in the same spot that block used, so the cascade order is unchanged.
   New pages use saw-components.css (.sw-band); nothing here targets .sw-band. */

:root{--sws-paper-2:#EEF4F8;--sws-line:#DCE6EC;--sws-hairline:#E6ECF0;--sws-blue:#0096D0;
  --sws-blue-deep:#0077A6;--sws-tint:#E6F5FB;--sws-text:#191B1D}

/* Bands alternate white and paper so each section reads as its own block
   (brand page system: white / paper-2 / one dark band). */
.band.alt{background:var(--sws-paper-2)!important;border-top:0!important;border-bottom:0!important}

/* Two bands of the same tone in a row share one block of space, split by a hairline. */
.band:not(.alt,.quote)+.band:not(.alt,.quote),
.band.alt:not(.quote)+.band.alt:not(.quote){padding-top:0!important}
.band:not(.alt,.quote)+.band:not(.alt,.quote)>.wrap,
.band.alt:not(.quote)+.band.alt:not(.quote)>.wrap{border-top:1px solid var(--sws-hairline);padding-top:64px}
.band.alt:not(.quote)+.band.alt:not(.quote)>.wrap{border-top-color:var(--sws-line)}

/* Text keeps a readable measure. */
.band:not(.quote)>.wrap>:is(p,ul,ol,h2,h3,details,dl){max-width:760px}

/* Long lists use the width: two columns on desktop. */
@media(min-width:900px){
  .band:not(.quote)>.wrap>ul:not([class]):has(>li:nth-child(6)){max-width:1040px;columns:2;column-gap:56px}
  .band:not(.quote)>.wrap>ul:not([class]):has(>li:nth-child(6))>li{break-inside:avoid}
  .band:not(.quote)>.wrap>ul.ticks:has(>li:nth-child(6)){max-width:1040px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
}

/* Plain numbered lists become a numbered step strip. */
.band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3)){
  list-style:none;counter-reset:sws-step;padding:0;margin:24px 0 8px;max-width:none;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
/* 4, 7 or 8 steps sit four to a row; everything else three to a row. */
.band:not(.quote)>.wrap>ol:not([class]):is(:has(>li:nth-child(4):last-child),:has(>li:nth-child(7):last-child),:has(>li:nth-child(8):last-child)){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:960px){.band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3)){grid-template-columns:minmax(0,1fr)!important}}
.band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3))>li{
  counter-increment:sws-step;position:relative;margin:0;padding:58px 22px 20px;
  background:#fff;border:1px solid var(--sws-line);border-radius:14px;line-height:1.55;
  box-shadow:0 10px 28px rgba(20,40,55,.05)}
.band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3))>li::before{
  content:counter(sws-step);position:absolute;left:22px;top:18px;width:28px;height:28px;border-radius:50%;
  background:var(--sws-blue-deep);color:#fff;display:grid;place-items:center;
  font:800 14px/1 Poppins,system-ui,sans-serif}
.band.alt:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3))>li{border-color:#fff}

/* Step cards fill the row instead of leaving an empty fourth column. */
@media(min-width:921px){.process-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}

/* City heroes: the quote card sat inside a second white card (.panel). Show one card.
   The form and its card are unchanged. */
.hero aside.panel:has(>.swq-card){background:none;box-shadow:none;border-radius:0;padding:0!important}

/* One-column heroes line up with the page edge below them (was a 900px box). */
main>.hero:not(.sw-hero,.sw-locksmith-hero)>.wrap{max-width:1180px}
/* Lift the old 14ch headline cap to 20ch (min-width beats max-width); wider headlines keep their width. */
main>.hero:not(.sw-hero,.sw-locksmith-hero)>.wrap>h1{min-width:min(100%,20ch)}

/* Keyboard focus is always visible. Components with their own focus style keep it. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--sws-blue);outline-offset:2px}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

@media(max-width:640px){
  .band:not(.alt,.quote)+.band:not(.alt,.quote)>.wrap,
  .band.alt:not(.quote)+.band.alt:not(.quote)>.wrap{padding-top:44px}
  .band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3))>li{padding:16px 18px 16px 60px}
  .band:not(.quote)>.wrap>ol:not([class]):has(>li:nth-child(3))>li::before{left:18px;top:16px}
}
/* Number badges with white text use the deep brand blue (white on #0096D0 is 3.35:1, on #0077A6 it is 5.0:1). Akia 11/22. */
main :is(.numbered li,.steps li,.process-row .card)::before{background:var(--sws-blue-deep)}
