/* Midwest Maintenance Services — site styles */
:root {
  --navy: #141b4f;
  --navy-2: #1c256a;
  --navy-3: #2a3a9a;
  --accent: #65ff33;
  --accent-ink: #0d1440;
  --accent-soft: #ecffe4;
  --blue: #2a55d6;
  --ink: #0f1638;
  --text: #2a3646;
  --muted: #5d6b7c;
  --line: #e3e8ef;
  --soft: #f4f6f9;
  --bg: #ffffff;
  --ok: #2c9a12;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 27, 46, .06), 0 8px 24px rgba(10, 27, 46, .08);
  --shadow-lg: 0 20px 50px rgba(10, 27, 46, .18);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-3); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy); color: #c9d6e4; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 2px; box-shadow: 0 0 0 1px rgba(36,122,12,.25); }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 64ch; }
.dark .lead { color: #aebfd1; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 700 1rem/1 var(--font-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(101, 255, 51, .35); }
.btn-primary:hover { background: #86ff5c; color: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #aebfd1; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-left { display: flex; gap: 18px; align-items: center; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 6px; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
.topbar span, .topbar a { white-space: nowrap; }
@media (max-width: 960px) { .topbar .tb-hide { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(10, 27, 46, .08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(101,255,51,.35); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 800 1.08rem/1.05 var(--font-head); letter-spacing: -.01em; }
.brand-text span { font: 600 .68rem/1.3 var(--font-body); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .main-nav button.nav-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; font: 600 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.main-nav a:hover, .main-nav button.nav-btn:hover, .main-nav [aria-current="page"] { background: var(--soft); color: var(--ink); }
.main-nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.has-drop { position: relative; }
.drop { list-style: none; margin: 0; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
.drop.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.has-drop:hover .drop, .has-drop.open .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-drop.open .chev { transform: rotate(180deg); }
.drop a { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; font-weight: 500; }
.drop a svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.drop .drop-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--font-head); color: var(--ink); text-decoration: none; }
.nav-phone svg { width: 18px; height: 18px; color: var(--blue); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; }

.main-nav a, .main-nav button.nav-btn, .nav-phone { white-space: nowrap; }
@media (max-width: 1280px) {
  .nav-phone span { display: none; }
  .main-nav a, .main-nav button.nav-btn { padding: 10px 9px; }
}
@media (max-width: 1260px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; top: var(--nav-top, 112px); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px; transform: translateX(100%); transition: transform .25s ease; border-top: 1px solid var(--line); }
  .nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav button.nav-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .drop, .drop.wide { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; min-width: 0; padding: 0 0 12px; display: none; grid-template-columns: 1fr; }
  .has-drop:hover .drop, .has-drop:focus-within .drop { transform: none; }
  .has-drop.open .drop { display: grid; transform: none; }
  .main-nav .drop a { padding: 10px 8px; font-size: .98rem; justify-content: flex-start; }
  .main-nav .mobile-cta { display: grid; gap: 10px; margin-top: 20px; border: 0; }
  .main-nav .mobile-cta .btn { width: 100%; justify-content: center; padding: 16px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1261px) { .main-nav .mobile-cta { display: none; } }

/* Hero */
.hero { position: relative; background: var(--navy); color: #c9d6e4; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 520px at 80% 30%, rgba(51, 102, 255, .55), transparent 62%),
  radial-gradient(600px 400px at 0% 100%, rgba(101, 255, 51, .10), transparent 60%); }
.lot-lines { position: absolute; right: -40px; bottom: -10px; width: 60%; max-width: 760px; opacity: .14; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #b7c6d6; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #dbe5ef; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-visual img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.float-badge { position: absolute; left: -18px; bottom: 28%; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.float-badge img { width: 46px; height: 46px; }
.float-badge .fb-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.float-badge .fb-icon svg { width: 22px; height: 22px; }
.float-badge strong { display: block; font: 800 1.05rem/1.1 var(--font-head); }
.float-badge span { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .float-badge { left: 10px; bottom: 10px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: #b7c6d6; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 85% 10%, rgba(51,102,255,.5), transparent 60%); }
.page-hero .container { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #b7c6d6; }
.page-hero .btn-row { margin-top: 24px; }
.page-hero.with-img .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero.with-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .page-hero.with-img .container { grid-template-columns: 1fr; } }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #6f86a0; }
.crumbs a { color: #d6e2ee; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #8aa0b8; }

/* Logo strip */
.logo-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.logo-strip .container { display: flex; align-items: center; gap: 28px; }
.logo-strip p { margin: 0; font: 700 .75rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; max-width: 160px; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; align-items: center; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .logo-strip .container { flex-direction: column; align-items: stretch; gap: 14px; } .logo-strip p { max-width: none; text-align: center; } }

/* Cards & grids */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.icard { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--text); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.icard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.icard h3 { margin: 6px 0 0; font-size: 1.15rem; }
.icard p { margin: 0; color: var(--muted); font-size: .96rem; }
.icard .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 700 .9rem/1 var(--font-head); color: var(--blue); }
.icard .more svg { width: 16px; height: 16px; transition: transform .18s; }
.icard:hover .more svg { transform: translateX(4px); }
.ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: #247a0c; flex-shrink: 0; }
.ico svg { width: 26px; height: 26px; }
.ico.blue { background: #e8edff; color: var(--blue); }
.dark .icard { background: var(--navy-2); border-color: rgba(255,255,255,.08); color: #b7c6d6; }
.dark .icard h3 { color: #fff; }
.dark .icard p { color: #9fb2c6; }
.dark .icard .ico { background: rgba(101,255,51,.12); color: var(--accent); }
.dark .icard .more { color: var(--accent); }

/* One company band */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pillar { padding: 30px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar .num { font: 800 .8rem/1 var(--font-head); color: var(--blue); letter-spacing: .1em; }
.pillar h3 { margin: 12px 0 8px; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--line); } .pillar:last-child { border-bottom: 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-stack { position: relative; }
.photo-stack .photo:nth-child(2) { position: absolute; width: 48%; right: -12px; bottom: -28px; border: 6px solid #fff; }
@media (max-width: 900px) { .photo-stack .photo:nth-child(2) { right: 8px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-head); color: #fff; letter-spacing: -.03em; }
.stat strong em { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 8px; color: #9fb2c6; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ok); margin-top: 2px; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 620px) { .checks.two { grid-template-columns: 1fr; } }
.dark .checks svg { color: var(--accent); }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 800 2rem/1 var(--font-head); color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Answer box (AI / featured snippet friendly) */
.answer { border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 0 0 28px; color: var(--ink); }
.answer > strong:first-child { display: block; font: 800 .75rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #247a0c; margin-bottom: 8px; }
.answer p { margin: 0; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }

.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside .card h3 { font-size: 1.05rem; }
.aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.aside ul a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .95rem; }
.aside ul a:hover, .aside ul a[aria-current] { background: var(--soft); color: var(--ink); }
.aside ul a svg { width: 18px; height: 18px; color: var(--blue); }
.cta-card { background: var(--navy); color: #b7c6d6; border: 0; }
.cta-card h3 { color: #fff; }
.cta-card .btn { width: 100%; margin-top: 8px; }
.cta-card a.tel { color: #fff; font: 800 1.3rem/1 var(--font-head); text-decoration: none; display: block; margin-top: 14px; text-align: center; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }

/* Tags / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--ink); }
.chips svg { width: 16px; height: 16px; color: var(--blue); }
.dark .chips a, .dark .chips span { background: transparent; border-color: rgba(255,255,255,.18); color: #dbe5ef; }
.dark .chips a:hover { border-color: #fff; }

/* Before / after */
.ba { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 21 / 16; background: #ddd; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.35); pointer-events: none; }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); display: grid; place-items: center; pointer-events: none; color: var(--ink); }
.ba .ba-knob svg { width: 24px; height: 24px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 6px; font: 700 .72rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; background: rgba(10,27,46,.8); color: #fff; pointer-events: none; }
.ba .tag.l { left: 12px; }
.ba .tag.r { right: 12px; background: var(--accent); color: var(--accent-ink); }
.ba input[type=range]:focus-visible ~ .ba-knob { outline: 3px solid var(--accent); outline-offset: 3px; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* Case studies */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case:nth-child(even) .case-media { order: 2; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: .95rem; }
.case dt { font-weight: 700; color: var(--ink); }
.case dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case:nth-child(even) .case-media { order: 0; } }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .92rem/1 var(--font-body); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #ddd; aspect-ratio: 21/16; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(10,27,46,.85)); color: #fff; font-size: .88rem; font-weight: 600; text-align: left; }
.gallery [hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 22, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 100%); max-height: 80vh; border-radius: 10px; width: auto; }
.lightbox p { color: #dbe5ef; text-align: center; margin-top: 12px; }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close svg { width: 22px; height: 22px; }

/* Reviews */
.review { display: flex; flex-direction: column; gap: 14px; }
.review .stars { display: flex; gap: 2px; color: var(--accent); }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.review footer { margin-top: auto; font-size: .9rem; color: var(--muted); }
.review footer strong { color: var(--ink); display: block; }
.placeholder-note { font-size: .82rem; background: #fff4e5; color: #8a4b00; border: 1px dashed #f0b35a; padding: 8px 12px; border-radius: 8px; }

/* Logos page */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-tile { display: grid; place-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; min-height: 170px; text-align: center; }
.logo-tile img { max-height: 70px; width: auto; max-width: 200px; object-fit: contain; }
.logo-tile span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 700 1.05rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; }
.faq details[open] summary::after { content: "\2212"; background: var(--accent); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq-group h2 { font-size: 1.4rem; margin: 40px 0 16px; }
.faq-group:first-child h2 { margin-top: 0; }

/* Areas */
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area-list a { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, transform .15s; }
.area-list a:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.area-list svg { width: 20px; height: 20px; color: var(--blue); }
.area-list small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.map-frame { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--soft); }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: #c2410c; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cdd6e1; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,111,209,.15); }
.field textarea { min-height: 130px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 6px; }
.check-grid label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; }
.check-grid input { width: 18px; height: 18px; accent-color: var(--navy); }
.check-grid label:has(input:checked) { border-color: var(--navy); background: var(--soft); }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #e7f7ee; color: #14532d; }
.form-status.err { display: block; background: #fdecec; color: #7f1d1d; }
.hp { position: absolute; left: -9999px; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); flex-wrap: wrap; position: relative; }
.cta-band h2 { color: var(--accent-ink); margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; font-size: 1.05rem; }
.cta-band .btn-ghost { border-color: rgba(26,20,0,.35); color: var(--accent-ink); }
.cta-band .btn-ghost:hover { border-color: var(--accent-ink); background: rgba(0,0,0,.04); color: var(--accent-ink); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 26px solid rgba(255,255,255,.28); border-radius: 50%; }

/* Jobs */
.job { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.job h3 { margin: 0 0 4px; }
.job .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { background: #0c1136; color: #93a6ba; font-size: .95rem; }
.site-footer .container { padding-top: 64px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 700 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c3d0dd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-text span { color: #7f93a8; }
.site-footer address { font-style: normal; display: grid; gap: 8px; margin-top: 14px; }
.site-footer address a, .site-footer address span { display: flex; gap: 10px; align-items: flex-start; }
.site-footer address svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10,27,46,.08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .callbar .btn { padding: 13px 10px; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.mt0 { margin-top: 0; } .mt2 { margin-top: 24px; } .mt3 { margin-top: 40px; } .center { text-align: center; }
.muted { color: var(--muted); }
.updated { font-size: .85rem; color: var(--muted); margin-top: 28px; }

/* ---- v2: logo palette, emphasis, service tiers, area groups ---- */
strong, b { font-weight: 700; color: var(--ink); }
.dark strong, .page-hero strong, .cta-card strong, .hero strong { color: #fff; }
.cta-band strong { color: var(--accent-ink); }
.answer p strong { color: var(--ink); }
.prose p strong, .faq strong { background: linear-gradient(transparent 62%, rgba(101,255,51,.28) 62%); padding: 0 1px; }
.icard.sm { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px; }
.icard.sm .ico { width: 44px; height: 44px; border-radius: 10px; }
.icard.sm .ico svg { width: 22px; height: 22px; }
.icard.sm h3 { margin: 0 0 4px; font-size: 1.02rem; }
.icard.sm p { font-size: .9rem; }
.icard.sm.alt .ico { background: #e8edff; color: var(--blue); }
.all-card { background: var(--navy); border-color: var(--navy); color: #c9d6e4; }
.all-card h3 { color: #fff; }
.all-card p { color: #aebfd1; }
.all-card .ico { background: rgba(101,255,51,.14); color: var(--accent); }
.all-card .more { color: var(--accent); }
.all-card:hover { color: #c9d6e4; }
.aside ul li.sub a { padding-left: 34px; font-size: .9rem; }
.town-group { margin: 0 0 22px; }
.town-group h3 { font-size: 1rem; margin: 0 0 10px; color: var(--navy-3); }
.town-group .chips span { padding: 6px 12px; font-size: .86rem; }
.chips li { list-style: none; }
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow { color: var(--accent); }
.stat strong em { color: var(--accent); }
.check-grid input { accent-color: var(--navy-3); }
.site-footer strong { color: #fff; }
section[id] { scroll-margin-top: 90px; }

/* ---- v3: photo heroes, proof strip, benefits, maps ---- */
.photo-hero { position: relative; overflow: hidden; background: var(--navy); color: #d6e0f5; min-height: clamp(420px, 56vw, 560px); display: flex; align-items: center; }
.photo-hero .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,27,79,.96) 0%, rgba(20,27,79,.86) 42%, rgba(20,27,79,.45) 75%, rgba(20,27,79,.25) 100%); }
.photo-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: linear-gradient(90deg, var(--accent), #3366ff); }
.photo-hero .container { position: relative; z-index: 2; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.ph-content { max-width: 640px; }
.photo-hero h1 { color: #fff; }
.photo-hero .lead { color: #d6e0f5; }
.photo-hero .btn-row { margin-top: 26px; }
@media (max-width: 720px) { .photo-hero::before { background: linear-gradient(180deg, rgba(20,27,79,.88), rgba(20,27,79,.94)); } }
.proof { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(10,27,46,.05); position: relative; z-index: 3; }
.proof .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.proof .container > div { display: flex; gap: 12px; align-items: center; }
.proof svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: #247a0c; flex-shrink: 0; }
.proof span { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.proof strong { display: block; font: 800 .98rem/1.2 var(--font-head); color: var(--ink); }
@media (max-width: 860px) { .proof .container { grid-template-columns: 1fr 1fr; } }
.benefit { position: relative; padding-top: 30px; border-top: 4px solid var(--accent); }
.benefit .bnum { position: absolute; top: 18px; right: 20px; font: 800 1.9rem/1 var(--font-head); color: #e3e8f5; }
.benefit h3 { margin-bottom: 8px; }
.crew-photo .photo { aspect-ratio: 4 / 3; }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; display: block; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.area-map.dark svg { background: transparent; border: 0; }
.area-map figcaption { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .85rem; }
.area-map.dark figcaption { color: #aebfd1; }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.k-blue { background: #3366ff; opacity: .8; }
.k-green { background: #b9ff9f; border: 1px solid #3f9d1c; }
.prose .area-map { margin: 8px 0 28px; }.photo-hero .eyebrow { color: var(--accent); }
.photo-hero .ph-bg.flip { transform: scaleX(-1); }
.faq-jump { margin: 0 0 32px; }
.faq-group, .faq details { scroll-margin-top: 100px; }
.faq details p a { font-weight: 600; }

/* ---- Site search ---- */
.search-toggle { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.search-toggle:hover { border-color: var(--ink); }
.search-toggle svg { width: 20px; height: 20px; }
body.search-open { overflow: hidden; }
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(12, 17, 54, .6); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: clamp(16px, 10vh, 110px) 16px 16px; }
.search-overlay[hidden] { display: none; }
.search-panel { width: 100%; max-width: 680px; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(10,14,50,.35); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 2 * clamp(16px, 10vh, 110px)); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-bar > svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.1rem/1.4 var(--font-body); color: var(--ink); background: transparent; padding: 6px 0; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-close { border: 1px solid var(--line); background: var(--soft); border-radius: 8px; padding: 6px 10px; font: 600 .75rem/1 var(--font-body); color: var(--muted); cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.search-results .sr-type { grid-row: 1 / span 2; align-self: start; margin-top: 2px; font: 700 .66rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #247a0c; background: var(--accent-soft); padding: 5px 7px; border-radius: 6px; white-space: nowrap; }
.search-results strong { color: var(--ink); font-weight: 700; }
.search-results small { color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-results li.active a, .search-results a:hover { background: var(--soft); }
.search-empty { padding: 16px; color: var(--muted); }
.search-hint { margin: 0; padding: 14px 18px 18px; color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .search-results .sr-type { display: none; } .search-results a { grid-template-columns: 1fr; } }.crew-photo .photo { aspect-ratio: auto; }
.hero .float-badge strong { color: var(--ink); }
.hero .float-badge { left: auto; bottom: auto; right: -18px; top: 22px; }
@media (max-width: 900px) { .hero .float-badge { right: 10px; top: 10px; } }
.hero-visual img:first-child { aspect-ratio: auto; }
.hero-visual img[src*="sweeper-truck-night"] { object-position: 38% center; }
.hero-visual img:first-child { aspect-ratio: 2.145 / 1; object-position: 44.1% center; }
.logo-tile img { height: 64px; max-height: none; width: auto; max-width: 210px; object-fit: contain; }
.logo-strip-link { display: flex; align-items: center; gap: 28px; text-decoration: none; color: inherit; cursor: pointer; }
.logo-strip-link:hover { color: inherit; }
.logo-strip-link .ls-more { display: block; margin-top: 6px; color: var(--blue); letter-spacing: .06em; }
.logo-strip-link:hover .ls-more { text-decoration: underline; }
.logo-strip-link:hover .marquee img { filter: none; opacity: 1; }
@media (max-width: 720px) { .logo-strip-link { flex-direction: column; align-items: stretch; gap: 14px; } }
/* ---- Mobile fit fixes ---- */
.tb-short { display: none; }
.topbar a { display: inline-block; padding: 8px 0; }
@media (max-width: 520px) {
  .tb-long { display: none; }
  .tb-short { display: inline; }
}
@media (max-width: 420px) {
  .nav-wrap { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .6rem; letter-spacing: .1em; }
  .nav-cta { gap: 6px; }
  .search-toggle, .menu-toggle { width: 42px; height: 42px; }
  .nav-phone { padding: 8px 4px; }
}
@media (min-width: 1261px) and (max-width: 1320px) { .main-nav a, .main-nav button.nav-btn { padding: 10px 7px; } .nav-wrap { gap: 14px; } .nav-cta { gap: 8px; } }
/* ---- How it works timeline ---- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--accent), #3366ff); border-radius: 2px; }
.tl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 28px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--accent); display: grid; place-items: center; font: 800 1.25rem/1 var(--font-head); box-shadow: 0 0 0 5px #fff; }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.tl-body h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.tl-body h3 svg { width: 22px; height: 22px; color: var(--blue); }
.tl-body > p { color: var(--text); }
.tl-body .checks { margin: 0; }
.tl-body .checks li { font-size: .95rem; }
@media (max-width: 560px) { .timeline::before { left: 19px; } .tl-step { grid-template-columns: 40px 1fr; gap: 12px; } .tl-num { width: 40px; height: 40px; font-size: 1.05rem; } .tl-body { padding: 18px; } }
.logo-grid { grid-template-columns: repeat(5, 1fr); }
.logo-tile { padding: 26px 14px; min-height: 150px; }
.logo-tile img { max-width: 100%; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
/* Brands page: 3 x 3 grid */
.logo-grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
/* Brands page: 2 rows of 5 */
.logo-grid { grid-template-columns: repeat(5, 1fr); max-width: none; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Gallery page: before & after grid, groups, show more */
.gal-group + .gal-group { margin-top: 56px; }
.gal-group[hidden] { display: none; }
.gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.gal-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.gal-count { margin: 0; color: var(--muted, #5b6b7d); font-size: .95rem; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ba-card { margin: 0; }
.ba-card[hidden] { display: none; }
.ba-card .ba { aspect-ratio: 4 / 3; }
.ba-card figcaption { margin-top: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.gal-more { text-align: center; margin-top: 26px; }
.gal-more[hidden] { display: none; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.crew-ba .ba { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }

/* Before & after carousel (case studies) */
.ba-carousel { position: relative; }
.ba-carousel .bac-slide[hidden] { display: none; }
.ba-carousel .bac-cap { margin: 10px 0 0; font-weight: 600; color: var(--ink); font-size: .95rem; min-height: 1.4em; }
.bac-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.bac-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.bac-nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.bac-nav button svg { width: 20px; height: 20px; }
.bac-nav .bac-prev svg { transform: scaleX(-1); }
.bac-count { font: 600 .92rem/1 var(--font-head); color: var(--muted, #5b6b7d); min-width: 48px; text-align: center; }
.case-media figcaption, .ba-carousel + figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted, #5b6b7d); }
.ba-carousel .ba, .case-media .ba { aspect-ratio: 1 / 1; }

/* Logo strip: phone fixes (iOS lazy-load gaps, sticky hover pausing the scroll, Safari mask prefix) */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; animation-name: logo-scroll; }
@keyframes logo-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (hover: none), (pointer: coarse) {
  .marquee:hover .marquee-track { animation-play-state: running; }
  .marquee img, .marquee img:hover, .logo-strip-link:hover .marquee img { filter: none; opacity: 1; }
}
@media (max-width: 720px) {
  .marquee-track { gap: 36px; animation-duration: 32s; }
  .marquee img { height: 40px; max-width: 130px; }
}
