/* Pride Plumbing (NC) — BND mockup. lacassa wrap-identity structure re-expressed
   in Pride navy/red. TOKENIZED FOR THE P3 SISTER-BRAND TEMPLATE: every brand
   value lives in the --brand-* block below. To re-skin for Universal Plumbing,
   Air Care, Anchor or Power Plumbing TX: swap the --brand-* values, the logo
   files, and the location data in build_locations.py. Nothing else changes. */

:root {
  /* ---- BRAND TOKENS (swap per sister brand) ---- */
  --brand-primary: #1b2f8f;      /* Pride navy, sampled from the logo */
  --brand-primary-deep: #101d5c;
  --brand-accent: #e40001;       /* Pride red */
  --brand-accent-dark: #b80001;
  --brand-display-font: "Zilla Slab", serif;
  --brand-body-font: "Source Sans 3", sans-serif;

  /* ---- SYSTEM TOKENS (shared across all 5 brands) ---- */
  --ink: #171b2e;
  --text: #262a3d;
  --text-muted: #5a5f75;
  --paper: #ffffff;
  --bg-light: #f4f5f8;
  --line: #dfe2ea;
  --amber: #f6a821;
  --gutter: clamp(20px, 4vw, 40px);
  --container: 1200px;
  --radius: 14px;
  --radius-pill: 800px;
  --shadow-card: 0 6px 24px rgba(23, 27, 46, 0.10);
  --shadow-btn: 0 4px 14px rgba(23, 27, 46, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--brand-body-font); color: var(--text); background: var(--paper); font-size: 16.5px; line-height: 1.62; }
img { max-width: 100%; display: block; }
a { color: var(--brand-primary); text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3, h4, .display { font-family: var(--brand-display-font); font-weight: 700; font-style: italic; line-height: 1.12; color: var(--ink); }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--brand-primary); color: #dfe4f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--deep { background: var(--brand-primary-deep); color: #cdd4ee; }
.section--deep h2, .section--deep h3 { color: #fff; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--brand-body-font); font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--brand-accent); }
.section--navy .kicker, .section--deep .kicker { color: #ff9b9b; }
.section--navy .kicker::before, .section--deep .kicker::before { background: #ff9b9b; }

.h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--text-muted); max-width: 740px; }
.section--navy .lede, .section--deep .lede { color: #c3cbe8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--brand-body-font); font-weight: 800; font-size: 15.5px; letter-spacing: 1px; text-transform: uppercase; padding: 16px 30px; border-radius: var(--radius-pill); border: 0; cursor: pointer; box-shadow: var(--shadow-btn); transition: transform 0.16s ease, background 0.16s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--brand-accent); color: #fff; }
.btn--red:hover { background: var(--brand-accent-dark); }
.btn--white { background: #fff; color: var(--brand-primary); }
.btn--white:hover { background: #e9edfb; }
.btn--navy { background: var(--brand-primary); color: #fff; }
.btn--navy:hover { background: var(--brand-primary-deep); }

/* Location utility bar (the multi-location device) */
.locbar { background: var(--brand-accent); color: #fff; font-size: 13.5px; font-weight: 700; }
.locbar .container { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 40px; flex-wrap: nowrap; }
.locbar__label { letter-spacing: 1px; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.locbar a, .locbar span.loc { color: #fff; padding: 3px 10px; border-radius: var(--radius-pill); }
.locbar a:hover { background: rgba(255,255,255,0.18); }
.locbar a.is-active { background: #fff; color: var(--brand-accent); }

/* Header/nav: navy, wrap-identity */
.nav { background: var(--brand-primary); position: sticky; top: 0; z-index: 70; box-shadow: 0 2px 12px rgba(16,29,92,0.4); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.nav__logo img { width: clamp(130px, 14vw, 175px); height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.nav__list { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 6px; color: #eef1fb; font-weight: 700; font-size: 15px; padding: 26px 13px; }
.nav__link:hover { color: #ffb3b3; }
.nav__link .car { font-size: 10px; opacity: 0.7; }
.nav__dd { position: absolute; top: 100%; left: 0; background: #fff; min-width: 250px; border-radius: 0 0 10px 10px; box-shadow: 0 18px 38px rgba(0,0,0,0.24); list-style: none; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s; border-top: 3px solid var(--brand-accent); }
.nav__item:hover .nav__dd, .nav__item:focus-within .nav__dd { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dd a { display: block; padding: 9px 18px; color: var(--text); font-weight: 600; font-size: 14.5px; }
.nav__dd a:hover { background: var(--bg-light); color: var(--brand-primary); }
.nav__ctas { display: flex; gap: 10px; align-items: center; }
.nav__ctas .btn { padding: 12px 20px; font-size: 13.5px; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 95; }
.hamburger span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Drawer */
.drawer { position: fixed; inset: 0; background: var(--brand-primary-deep); z-index: 90; transform: translateX(103%); transition: transform 0.3s ease, visibility 0s linear 0.3s; visibility: hidden; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 0.3s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid rgba(255,255,255,0.12); }
.drawer__head img { height: 42px; width: auto; }
.drawer__close { background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; padding: 6px; }
.drawer__nav { padding: 8px 0; flex: 1; }
.drawer__group { border-bottom: 1px solid rgba(255,255,255,0.08); }
.drawer__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; color: #fff; font-family: var(--brand-body-font); font-weight: 700; font-size: 17px; padding: 16px var(--gutter); cursor: pointer; }
.drawer__toggle .car { transition: transform 0.2s ease; font-size: 12px; opacity: 0.7; }
.drawer__group.is-open .drawer__toggle .car { transform: rotate(180deg); }
.drawer__panel { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.drawer__group.is-open .drawer__panel { max-height: 560px; }
.drawer__panel a { display: block; color: #c3cbe8; font-size: 15.5px; font-weight: 600; padding: 10px calc(var(--gutter) + 14px); }
.drawer__link { display: block; color: #fff; font-weight: 700; font-size: 17px; padding: 16px var(--gutter); }
.drawer__foot { padding: 18px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 12px; }
.drawer__call { text-align: center; color: #fff; font-size: 20px; font-weight: 800; }
.drawer__hours { text-align: center; color: #c3cbe8; font-size: 14px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 80; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
.scrim.is-open { opacity: 1; visibility: visible; }
body.drawer-locked { overflow: hidden; }

/* Hero: lacassa split, brand-drenched, real team photo as a subtle underlay */
.hero { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-deep) 100%); position: relative; overflow: hidden; }
.hero__bgphoto { position: absolute; inset: 0; pointer-events: none; }
.hero__bgphoto img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.12; filter: saturate(0.5); }
.hero__bgphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,47,143,0.55) 0%, rgba(16,29,92,0.85) 100%); }
.hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(228,0,1,0.16); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); position: relative; z-index: 1; }
.hero__media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 48px rgba(0,0,0,0.4); position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(16,29,92,0.85)); color: #c3cbe8; font-size: 11.5px; font-weight: 600; padding: 24px 14px 8px; }
.hero__h1 { color: #ffb3b3; font-family: var(--brand-body-font); font-style: normal; font-weight: 800; font-size: clamp(13px, 1.5vw, 15px); letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 12px; }
.hero__headline { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.hero__sub { color: #d5daf1; font-size: clamp(16px, 1.9vw, 18.5px); margin-bottom: 24px; max-width: 520px; }
.hero__ctas { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__rating .chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #eef1fb; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: var(--radius-pill); white-space: nowrap; }

/* Perks card (replaces lacassa's $ coupon, uses their real program) */
.perkcard { margin-top: 24px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); padding: 16px 20px; display: flex; align-items: center; gap: 16px; max-width: 460px; }
.perkcard__badge { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--brand-display-font); font-style: italic; font-weight: 700; font-size: 13px; text-align: center; line-height: 1.1; box-shadow: 0 0 0 4px rgba(228,0,1,0.2); }
.perkcard__body strong { display: block; font-size: 15.5px; color: var(--ink); }
.perkcard__body span { font-size: 13.5px; color: var(--text-muted); }
.perkcard__body a { font-size: 13px; font-weight: 700; color: var(--brand-accent); }

/* Trust bar */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .container { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.trustbar img { height: 44px; width: auto; object-fit: contain; }
.trustbar .titem { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); }

/* Service silos */
.silos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.silo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.silo__head { background: var(--brand-primary); color: #fff; padding: 20px 26px; display: flex; align-items: center; gap: 14px; }
.silo__head h3 { color: #fff; font-size: 21px; }
.silo__body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.silo__links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; margin-bottom: 18px; }
.silo__links a { color: var(--text); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 11px; padding: 6px 8px; border-radius: 8px; transition: background 0.15s ease, color 0.15s ease; }
.silo__links a:hover { background: var(--bg-light); color: var(--brand-primary); }
.silo__links .sicon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: #fdecec; color: var(--brand-accent); display: inline-flex; align-items: center; justify-content: center; }
.silo__links .sicon svg { width: 19px; height: 19px; }
.silo__more { margin-top: auto; font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-accent); }

/* Why trust split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split__stack { display: grid; gap: 14px; }
.split__stack figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.split__stack img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.split__stack figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(23,27,46,0.85)); color: #e8ebf5; font-size: 12.5px; font-weight: 600; padding: 22px 14px 10px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; font-weight: 600; align-items: flex-start; }
.checklist .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 900; margin-top: 3px; }

/* Locations module: the tokenized-template proof.
   Two BUILT feature branches + three queued compact cards, so built-vs-drop-in reads at a glance. */
.locfeature { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 42px; }
.branch { position: relative; display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; color: var(--text); transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.branch:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(23,27,46,0.22); }
.branch__head { position: relative; background: linear-gradient(125deg, var(--brand-primary) 0%, var(--brand-primary-deep) 100%); padding: 26px 26px 22px; overflow: hidden; }
.branch__head::before { content: ""; position: absolute; right: -30px; bottom: -34px; width: 190px; height: 190px; border-radius: 50%; background: rgba(228,0,1,0.18); }
.branch__ghost { position: absolute; right: 6px; top: -26px; font-family: var(--brand-display-font); font-style: italic; font-weight: 700; font-size: 120px; line-height: 1; color: rgba(255,255,255,0.07); pointer-events: none; }
.branch__flag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #fff; background: var(--brand-accent); border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 12px; position: relative; }
.branch__head h3 { color: #fff; font-size: 27px; position: relative; }
.branch__county { color: #b9c2e6; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; position: relative; margin-top: 4px; }
.branch__body { padding: 20px 26px 24px; }
.branch__towns { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.branch__towns span { background: var(--bg-light); border: 1px solid var(--line); color: var(--text-muted); font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: var(--radius-pill); white-space: nowrap; }
.branch__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.branch__row .btn { padding: 12px 22px; font-size: 13.5px; }
.locqueue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.qcard { position: relative; border: 2px dashed var(--line); border-radius: var(--radius); padding: 20px 22px; background: rgba(255,255,255,0.6); }
.qcard h3 { font-size: 18px; margin-bottom: 2px; }
.qcard__county { font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 10px; }
.qcard__phone { font-weight: 800; color: var(--brand-accent); font-size: 15px; }
.qcard__tag { position: absolute; top: 14px; right: 14px; font-size: 9.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px 9px; background: #fff; }

/* Programs band: white cards on navy, icon-led */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.program { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 14px 36px rgba(0,0,0,0.28); transition: transform 0.18s ease; }
.program:hover { transform: translateY(-5px); }
.program__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(228,0,1,0.35); }
.program h3 { color: var(--ink); font-size: 19px; margin-bottom: 8px; }
.program p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 16px; }
.program a { color: var(--brand-accent); font-weight: 800; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; }
.program a:hover { color: var(--brand-accent-dark); }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--brand-body-font); font-weight: 700; font-size: 16.5px; color: var(--ink); padding: 18px 22px; }
.faq__q .car { transition: transform 0.2s ease; color: var(--brand-accent); flex: 0 0 auto; }
.faq__item.is-open .faq__q .car { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq__a > div { padding: 0 22px 20px; color: var(--text-muted); font-size: 15.5px; }

/* CTA band */
.ctaband { background: linear-gradient(120deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%); }
.ctaband .container { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); text-align: center; }
.ctaband h2 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 12px; }
.ctaband p { color: #ffd9d9; font-size: 18px; margin-bottom: 28px; }
.ctaband__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer: branch directory as the feature, ghost wordmark, real hierarchy */
.footer { background: var(--brand-primary-deep); color: #c3cbe8; position: relative; overflow: hidden; }
.footer::before { content: "PRIDE"; position: absolute; right: -20px; bottom: -60px; font-family: var(--brand-display-font); font-style: italic; font-weight: 700; font-size: clamp(160px, 24vw, 340px); line-height: 1; color: rgba(255,255,255,0.03); pointer-events: none; user-select: none; }
.footer > .container, .footer .footer__legal { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.footer__grid h4 { color: #fff; font-size: 13px; font-family: var(--brand-body-font); font-style: normal; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--brand-accent); display: inline-block; }
.footer__grid ul { list-style: none; display: grid; gap: 10px; }
.footer__grid ul a { color: #c3cbe8; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.footer__grid ul a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-accent); flex: 0 0 auto; }
.footer__grid ul a:hover { color: #fff; }
.footer__brand img { width: 180px; margin-bottom: 18px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.footer__brand p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer__branchdir { display: grid; gap: 8px; }
.footer__branch { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; padding: 10px 14px; transition: background 0.15s ease, border-color 0.15s ease; }
.footer__branch:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); }
.footer__branch .b-city { color: #fff; font-weight: 700; font-size: 14.5px; }
.footer__branch .b-city a { color: #fff; }
.footer__branch .b-city a:hover { color: #ffb3b3; }
.footer__branch .b-county { display: block; color: #8f9cd0; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.footer__branch .b-phone { color: #ffb3b3; font-weight: 800; font-size: 14px; white-space: nowrap; }
.footer__branch .b-phone:hover { color: #fff; }
.footer__accept { margin-top: 16px; background: #fff; border-radius: 8px; padding: 8px 10px; display: inline-block; }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.1); }
.footer__legal .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; flex-wrap: wrap; }

/* Mobile sticky bar */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: none; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 18px rgba(0,0,0,0.25); }
.mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 800; font-size: 14.5px; letter-spacing: 0.8px; text-transform: uppercase; color: #fff; }
.mobilebar__call { background: var(--brand-primary); }
.mobilebar__book { background: var(--brand-accent); }

/* ---------- Round-2 devices ---------- */
/* Wrap-stripe divider: the red/white diagonal accent from the van wrap */
.wrapstripe { height: 12px; background:
  repeating-linear-gradient(-55deg, var(--brand-accent) 0 18px, #fff 18px 26px, var(--brand-primary) 26px 44px, #fff 44px 52px); }

/* Angled section transition */
.angle-top { clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 100%); margin-top: -3vw; padding-top: calc(clamp(56px, 8vw, 96px) + 3vw); }

/* Stats band */
.stats { background: var(--brand-primary); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 30px; padding-bottom: 30px; }
.stat { text-align: center; color: #c3cbe8; }
.stat strong { display: block; font-family: var(--brand-display-font); font-style: italic; font-size: clamp(24px, 3vw, 36px); color: #fff; line-height: 1.1; }
.stat span { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }

/* Real-projects strip */
.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.projects figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.projects img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.projects figure:hover img { transform: scale(1.05); }
.projects figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(23,27,46,0.9)); color: #fff; font-size: 12px; font-weight: 600; padding: 24px 12px 10px; }

/* Towns marquee */
.marquee { background: var(--brand-primary-deep); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 36s linear infinite; }
.marquee__track span { color: #8f9cd0; font-weight: 700; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; white-space: nowrap; }
.marquee__track span::after { content: "★"; color: var(--brand-accent); margin-left: 34px; font-size: 11px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Payment strip in footer */
.footer__accept { margin-top: 14px; }
.footer__accept img { max-width: 220px; height: auto; }

/* Hero van settle-in */
@keyframes heroSettle { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero__media { overflow: hidden; }
.hero__media img { animation: heroSettle 2.4s ease-out both; }

/* Sister-brand token demo switcher (pitch device: one template, five brands) */
.skinswap { position: fixed; left: 16px; bottom: 84px; z-index: 78; background: #fff; border-radius: 12px; box-shadow: 0 10px 32px rgba(0,0,0,0.3); padding: 12px 14px; font-size: 12.5px; max-width: 240px; border: 1px solid var(--line); }
.skinswap strong { display: block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.skinswap__row { display: flex; gap: 8px; }
.skinswap button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.skinswap button.is-active { outline: 3px solid var(--brand-primary); }
.skinswap__note { margin-top: 8px; color: var(--text-muted); font-size: 11.5px; line-height: 1.45; }
@media (max-width: 768px) { .skinswap { display: none; } }
@media (prefers-reduced-motion: reduce) { .marquee__track, .hero__media img { animation: none; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Location page hero */
.pagehero { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-deep) 100%); }
.pagehero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
.pagehero .breadcrumbs { font-size: 13px; font-weight: 700; color: #8f9cd0; margin-bottom: 14px; }
.pagehero .breadcrumbs a { color: #ffb3b3; }

@media (max-width: 1024px) {
  .nav__list, .nav__ctas .btn--white { display: none; }
  .hamburger { display: block; }
  .hero .container, .pagehero .container { grid-template-columns: 1fr; }
  .hero__media { order: 2; }
  .locfeature { grid-template-columns: 1fr; }
  .locqueue { grid-template-columns: 1fr; }
  .silo__links { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .silos { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .mobilebar { display: grid; }
  .section { padding: 48px 0; }
  .locbar { font-size: 12.5px; }
  .locbar__label { display: none; }
  .locbar .container { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline-start: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .locbar .container::-webkit-scrollbar { display: none; }
  .locbar a, .locbar span.loc { white-space: nowrap; scroll-snap-align: start; flex: 0 0 auto; }
  .hero__ctas .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .silo__links { columns: 1; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .projects { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Hero trust logos (replaces text chips) */
.hero__logos { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero__logos span { background: #fff; border-radius: 10px; padding: 8px 14px; display: inline-flex; align-items: center; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.hero__logos img { height: 26px; width: auto; object-fit: contain; }

/* ===== CRAFT PASS (taste-skill: physics motion + diffused depth) =====
   Adopted: spring easing, blur-fade reveals, magnetic button press, soft ambient shadow.
   Rejected: pill eyebrows and soft SaaS radii (Josh's documented AI-tells), and the
   skill's ban on sticky nav / mobile CTA bars, which are proven home-services patterns. */
:root { --ease-spring: cubic-bezier(0.32, 0.72, 0, 1); --ease-soft: cubic-bezier(0.16, 1, 0.3, 1); }

.reveal { filter: blur(6px);
  transition: opacity 0.85s var(--ease-soft), transform 0.85s var(--ease-spring), filter 0.85s var(--ease-soft); }
.reveal.in { filter: blur(0); }

.btn { transition: transform 0.55s var(--ease-spring), background 0.4s var(--ease-spring), box-shadow 0.55s var(--ease-spring); }
.btn:active { transform: scale(0.975); }

/* Diffused ambient depth instead of a single harsh drop shadow */
.silo, .county, .review, .step, .inc, .line-card, .gcstep, .cap, .branch, .qcard, .program, .loccard, .projects figure {
  transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-spring), border-color 0.55s var(--ease-spring);
}
@media (prefers-reduced-motion: reduce) { .reveal { filter: none; transition: none; } }
