/* On Point Plumbing brand tokens, from On_Point_Plumbing_Brand_Style_System.docx (v1.0, 2026-10-19).
   Source of truth. Copy into the site's assets folder when building (site-full/assets/brand.css).
   Fonts: load Montserrat 700/800 and Inter 400/600 from Google Fonts in the page head. */

:root {
  /* Colors */
  --opp-navy: #181333;        /* logo navy: headlines, primary buttons, navy bands, footer (17.8:1 on white) */
  --pipe-blue: #97B8D7;       /* logo blue: accents and text on navy/black only (2.1:1 on white = not for text on white) */
  --pipe-blue-deep: #2F5F8F;  /* links, icons, secondary buttons on white (6.7:1) */
  --wrap-black: #0E0D12;      /* vehicle black: dark sections echoing the wrap */
  --steel: #A7A9AC;           /* wrap silver: dividers, chevrons; muted text on navy only */
  --mist: #EEF3F8;            /* pale blue-gray sections and cards */
  --signal: #F2A33A;          /* call / emergency button ONLY, navy text on it (8.5:1) */
  --white: #FFFFFF;
  --text: #181333;
  --text-muted: #4A4E63;

  /* Type */
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Spacing steps */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Corners */
  --r-input: 4px;
  --r-card: 8px;      /* buttons and cards */
  --r-panel: 16px;    /* large panels and the badge */
  --r-pill: 999px;    /* call button */
}

/* Type scale (size / line-height, weight) */
.t-display { font: 800 56px/60px var(--font-display); }
.t-h1      { font: 800 40px/46px var(--font-display); }
.t-h2      { font: 700 28px/34px var(--font-display); }
.t-h3      { font: 700 20px/28px var(--font-display); }
.t-phone   { font: 800 28px/32px var(--font-display); }
.t-eyebrow { font: 800 12px/16px var(--font-display); text-transform: uppercase; letter-spacing: .14em; }
.t-body-lg { font: 400 18px/28px var(--font-body); }
.t-body    { font: 400 16px/26px var(--font-body); }
.t-small   { font: 400 14px/20px var(--font-body); }

/* Buttons: at least 44px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 12px 22px; border-radius: var(--r-card);
  font: 600 16px/20px var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-primary   { background: var(--opp-navy); color: var(--white); }
.btn-secondary { background: transparent; color: var(--pipe-blue-deep); border-color: var(--pipe-blue-deep); }
.btn-call      { background: var(--signal); color: var(--opp-navy); border-radius: var(--r-pill); font-weight: 700; }

/* Logo rules: never below 200px wide (use the coupling-O icon instead); clear space ~1/4 of the O's height. */
.logo-full { width: clamp(220px, 22vw, 290px); /* PNG has ~8% padding: 220px keeps the artwork >= 200px */ height: auto; display: block; }
.logo-icon { width: 44px; height: 44px; display: block; }

/* Self-hosted fonts (Latin subset, variable weight), preloaded in the page head.
   Inter (body text) uses font-display: optional so text paints at once (it's the mobile LCP element); Montserrat (headings) uses swap. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: optional; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Site layout and components. Brand tokens live in brand.css (load it first). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/26px var(--font-body); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--pipe-blue-deep); }
h1, h2, h3 { font-family: var(--font-display); color: var(--opp-navy); margin: 0 0 var(--s-4); }
h1 { font-weight: 800; font-size: clamp(34px, 5.6vw, 56px); line-height: 1.07; }
h2 { font-weight: 800; font-size: clamp(26px, 3.8vw, 40px); line-height: 1.15; }
h3 { font-weight: 700; font-size: 20px; line-height: 28px; }
p { margin: 0 0 var(--s-4); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: block; font: 800 12px/16px var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: var(--pipe-blue-deep); margin-bottom: var(--s-3); }
section { padding: var(--s-9) 0; }
.mist { background: var(--mist); }
.navy { background: var(--opp-navy); color: #D3DBE6; }
.navy h2, .navy h3 { color: var(--white); }
.navy .eyebrow { color: var(--pipe-blue); }
.lead { font-size: 18px; line-height: 28px; color: var(--text-muted); max-width: 46em; }
.navy .lead { color: #D3DBE6; }
.section-head { max-width: 760px; margin-bottom: var(--s-7); }
.btn-light { background: var(--white); color: var(--opp-navy); }
.btn-light:hover { background: var(--mist); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--pipe-blue); }
.btn-outline-light:hover { background: rgba(151,184,215,.12); }
.btn-primary:hover { background: #241D4A; }
.btn-call:hover { background: #F5B256; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Top bar */
.topbar { background: var(--opp-navy); color: #D3DBE6; font-size: 14px; line-height: 20px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-2); }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--pipe-blue); }
.topbar-right { display: flex; gap: var(--s-5); }

/* Header + nav */
header.site { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid #DDE3EA; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 80px; }
.brand-link { display: block; padding: var(--s-2) 0; flex-shrink: 0; }
.logo-full { width: clamp(200px, 16vw, 250px); height: auto; display: block; }
nav.main { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 10px 9px; color: var(--opp-navy); text-decoration: none; font-weight: 600; border-radius: var(--r-card); }
.nav-item > a:hover, .nav-item:focus-within > a { color: var(--pipe-blue-deep); background: var(--mist); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); border: 1px solid #DDE3EA; border-radius: var(--r-card); box-shadow: 0 12px 28px rgba(24,19,51,.12); padding: var(--s-2); z-index: 30; }
.dropdown a { display: block; padding: 8px 12px; color: var(--opp-navy); text-decoration: none; border-radius: var(--r-input); font-size: 15px; }
.dropdown a:hover, .dropdown a:focus { background: var(--mist); color: var(--pipe-blue-deep); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.nav-cta { display: flex; gap: var(--s-2); margin-left: var(--s-2); }
.nav-mobile-only { display: none; }
.menu-toggle { display: none; min-height: 44px; padding: 0 var(--s-4); background: none; border: 1px solid #C9D2DC; border-radius: var(--r-card); font: 600 16px var(--font-body); color: var(--opp-navy); cursor: pointer; }

/* Home hero */
.hero { background: var(--opp-navy); color: var(--white); padding: var(--s-9) 0; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-8); align-items: center; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--pipe-blue); }
.hero .lead { color: #D3DBE6; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-call { margin-top: var(--s-4); font-size: 15px; color: #D3DBE6; }
.hero-call a { color: var(--white); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: var(--s-6) 0 0; }
.chips li { border: 1px solid var(--pipe-blue); color: var(--pipe-blue); border-radius: var(--r-pill); padding: 4px 14px; font: 600 14px/20px var(--font-body); }
.hero-photo { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Intro + stats */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin: 0; }
.stats div { background: var(--mist); border-radius: var(--r-card); padding: var(--s-5); }
.stats dt { font: 800 28px/32px var(--font-display); color: var(--opp-navy); }
.stats dd { margin: var(--s-1) 0 0; color: var(--text-muted); }

/* Grids and cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: var(--s-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.card { background: var(--white); border: 1px solid #DDE3EA; border-radius: var(--r-card); padding: var(--s-5); }
.card p { color: var(--text-muted); margin: 0; }
.card ul { margin: 0; padding-left: 18px; color: var(--text-muted); }
.card li { margin-bottom: var(--s-1); }
.card .tag { width: 40px; height: 4px; background: var(--pipe-blue-deep); border-radius: 2px; margin-bottom: var(--s-4); }
.card .text-link { display: inline-block; margin-top: var(--s-4); }
.navy .card { background: rgba(255,255,255,.04); border-color: rgba(151,184,215,.35); }
.navy .card p { color: #D3DBE6; }
.num { font: 800 14px/20px var(--font-display); color: var(--pipe-blue-deep); letter-spacing: .1em; margin-bottom: var(--s-2); display: block; }
.navy .num { color: var(--pipe-blue); }

/* Steps (How we work) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 4px solid var(--opp-navy); padding-top: var(--s-4); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font: 800 14px/20px var(--font-display); color: var(--pipe-blue-deep); letter-spacing: .1em; margin-bottom: var(--s-2); }
.steps p { color: var(--text-muted); margin: 0; }

/* Credentials */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.creds { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.creds li { display: flex; gap: var(--s-3); align-items: center; font-weight: 600; color: var(--opp-navy); background: var(--white); border: 1px solid #DDE3EA; border-radius: var(--r-card); padding: var(--s-3) var(--s-4); }
.creds li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pipe-blue-deep); flex-shrink: 0; }
.badge-img { width: 100%; max-width: 440px; display: block; margin: 0 auto; }

/* Service lists */
.service-cat { scroll-margin-top: 120px; }
.service-cat ul { columns: 2; column-gap: var(--s-6); padding-left: 18px; margin: 0; color: var(--text-muted); }
.service-cat li { break-inside: avoid; margin-bottom: var(--s-1); scroll-margin-top: 120px; }
.service-cat li:target { color: var(--opp-navy); font-weight: 600; }
.anchor-section { scroll-margin-top: 120px; }
.sub-sections { display: grid; gap: var(--s-7); }
.sub-sections > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-6); border-top: 1px solid #DDE3EA; padding-top: var(--s-6); scroll-margin-top: 120px; }
.sub-sections h2 { font-size: 28px; line-height: 34px; }
.sub-sections ul { margin: var(--s-3) 0 0; padding-left: 18px; color: var(--text-muted); }

/* Page hero (inner pages) */
.page-hero { background: var(--opp-navy); color: #D3DBE6; padding: var(--s-8) 0 var(--s-7); }
.page-hero h1 { color: var(--white); margin-bottom: var(--s-3); }
.page-hero .eyebrow { color: var(--pipe-blue); }
.page-hero .lead { color: #D3DBE6; }
.crumbs { font: 600 14px/20px var(--font-body); margin-bottom: var(--s-4); }
.crumbs a { color: var(--pipe-blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Projects */
.project { background: var(--white); border: 1px solid #DDE3EA; border-radius: var(--r-card); overflow: hidden; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.project .body { padding: var(--s-5); }
.project .meta { font: 800 12px/16px var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--pipe-blue-deep); margin-bottom: var(--s-2); display: block; }
.project p { color: var(--text-muted); font-size: 15px; line-height: 24px; margin: 0; }
.project .gc { margin-top: var(--s-3); font-size: 14px; }
.project .more { display: inline-block; margin-top: var(--s-3); font-weight: 600; color: var(--pipe-blue-deep); }
.project-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.project-link:hover h3 { color: var(--pipe-blue-deep); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filters button { min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid #C9D2DC; background: var(--white); color: var(--opp-navy); font: 600 15px var(--font-body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--opp-navy); color: var(--white); border-color: var(--opp-navy); }
.filters button:hover { border-color: var(--opp-navy); }
.project[hidden] { display: none; }
.no-results { color: var(--text-muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--s-4); margin: var(--s-6) 0 0; padding: 0; }
.facts div { border-left: 3px solid var(--pipe-blue); padding-left: var(--s-3); }
.facts dt { font: 800 12px/16px var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--pipe-blue); }
.facts dd { margin: var(--s-1) 0 0; color: var(--white); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: var(--s-3); margin-top: var(--s-5); }
.gallery button { padding: 0; border: 0; background: var(--mist); border-radius: var(--r-card); overflow: hidden; cursor: zoom-in; display: block; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.03); }
.pager { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; border-top: 1px solid #DDE3EA; margin-top: var(--s-8); padding-top: var(--s-5); }
.pager a { text-decoration: none; font-weight: 600; max-width: 48%; }
.pager span { display: block; font: 800 12px/16px var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(14, 13, 18, .92); }
.lightbox .frame { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-card); }
.lightbox .lb-btn { position: absolute; min-width: 44px; min-height: 44px; border: 1px solid var(--pipe-blue); border-radius: var(--r-pill); background: rgba(24, 19, 51, .85); color: var(--white); font: 600 16px/1 var(--font-body); padding: 0 16px; cursor: pointer; }
.lightbox .lb-close { top: 8px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: var(--steel); font-size: 14px; }

/* Forms */
.form-card { background: var(--white); border: 1px solid #DDE3EA; border-radius: var(--r-panel); padding: var(--s-6); scroll-margin-top: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--opp-navy); margin-bottom: var(--s-1); font-size: 15px; }
.field .hint { font-weight: 400; color: var(--text-muted); font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #B9C3CF; border-radius: var(--r-input); font: 400 16px/24px var(--font-body); color: var(--text); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--pipe-blue-deep); outline-offset: 1px; border-color: var(--pipe-blue-deep); }
.form-note { font-size: 14px; color: var(--text-muted); margin-top: var(--s-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.path { border-radius: var(--r-panel); padding: var(--s-6); }
.path.commercial { background: var(--opp-navy); color: #D3DBE6; }
.path.commercial h2 { color: var(--white); }
.path.residential { background: var(--mist); }
.path h2 { font-size: 28px; line-height: 34px; }

/* CTA band (every page) */
.cta-band { background: var(--wrap-black); color: #D3DBE6; padding: var(--s-8) 0; }
.cta-band h2 { color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-6); }
.cta-band p { max-width: 42em; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Footer */
footer { background: var(--opp-navy); color: var(--steel); padding: var(--s-7) 0 var(--s-5); font-size: 14px; line-height: 22px; }
footer h3 { color: var(--white); font-size: 16px; line-height: 22px; margin-bottom: var(--s-2); }
footer a { color: var(--pipe-blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-6); }
.footer-logo { width: 240px; height: auto; display: block; margin-bottom: var(--s-3); }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); border-top: 1px solid rgba(167,169,172,.25); padding-top: var(--s-4); }
.footer-base { margin-top: var(--s-4); }

/* Sticky call bar on phones */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: var(--s-2); padding: var(--s-2) var(--s-4) calc(var(--s-2) + env(safe-area-inset-bottom, 0px)); background: var(--opp-navy); }
.callbar .btn { flex: 1; }
.nowrap { white-space: nowrap; }

/* Long emails/words wrap instead of pushing the page sideways */
.cta-band .wrap > *, .footer-grid > *, .paths > *, .split > *, .intro > * { min-width: 0; }
footer p, .path p, .card p { overflow-wrap: anywhere; }

/* Housecall Pro "Book Online" buttons: its script injects button.hcp-button styles (blue, uppercase, pill)
   after the page loads. These rules lock the font and shape to match the Request a Bid buttons exactly. */
.btn.hcp-button { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 44px !important; padding: 12px 22px !important; margin: 0 !important; border: 2px solid transparent !important; border-radius: var(--r-card) !important; box-shadow: none !important; text-transform: none !important; white-space: nowrap !important; font: 600 16px/20px var(--font-body) !important; letter-spacing: normal !important; text-decoration: none !important; cursor: pointer; }
.btn-primary.hcp-button { background: var(--opp-navy) !important; color: var(--white) !important; }
.btn-primary.hcp-button:hover { background: #241D4A !important; }
.btn-light.hcp-button { background: var(--white) !important; color: var(--opp-navy) !important; }
.btn-light.hcp-button:hover { background: var(--mist) !important; }
.btn-secondary.hcp-button { background: transparent !important; color: var(--pipe-blue-deep) !important; border-color: var(--pipe-blue-deep) !important; }
.btn-secondary.hcp-button:hover { background: var(--mist) !important; }
.nav-cta .btn { white-space: nowrap; }
.callbar .btn, .callbar .btn.hcp-button { padding: 10px 12px !important; }
@media (max-width: 1279px) {
  .menu-toggle { display: inline-block; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: var(--s-3) 20px var(--s-5); border-bottom: 1px solid #DDE3EA; gap: 0; max-height: calc(100vh - 120px); overflow-y: auto; }
  nav.main.open { display: flex; }
  .nav-item > a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid #EEF1F5; }
  .nav-item > a:hover { background: none; }
  .dropdown { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 var(--s-2) var(--s-4); min-width: 0; }
  .nav-item:hover .dropdown { display: block; }
  .nav-mobile-only { display: block; }
  .nav-cta { margin: var(--s-4) 0 0; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .hero .wrap, .intro, .split, .paths, .sub-sections > div { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: var(--s-8) 0; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .topbar .wrap { flex-wrap: nowrap; }
  .callbar .btn { padding: 10px 12px; white-space: nowrap; }
  .grid-3, .steps, .stats, .form-grid { grid-template-columns: 1fr; }
  .service-cat ul { columns: 1; }
  .callbar { display: flex; }
  body { padding-bottom: 72px; }
  .nav-cta .btn-call { display: none; }
  .pager a { max-width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .logo-full { width: 200px; }
  header.site .wrap { min-height: 68px; }
}
@media (max-width: 360px) {
  .logo-full { width: 170px; }
  header.site .wrap { gap: var(--s-2); padding: 0 14px; }
  .menu-toggle { padding: 0 var(--s-3); }
  .topbar .wrap { padding-inline: 14px; font-size: 13px; }
  .topbar-right { gap: var(--s-3); }
}

/* Project videos */
.videos-head { margin-top: var(--s-7); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--s-4); margin-top: var(--s-5); align-items: start; }
.videos video { width: 100%; max-height: 70vh; background: var(--wrap-black); border-radius: var(--r-card); display: block; }

/* "Trusted by" scrolling client logos (home page) */
.logo-strip { margin: 0 0 var(--s-7); }
.logo-strip-label { font: 800 12px/16px var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); text-align: center; margin: 0 0 var(--s-4); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: var(--s-4); list-style: none; margin: 0; padding: 0 var(--s-4) 0 0; }
.logo-set li { flex: 0 0 auto; width: 180px; height: 96px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid #DDE3EA; border-radius: var(--r-card); padding: var(--s-3) var(--s-4); }
.logo-set img { max-width: 100%; max-height: 64px; object-fit: contain; display: block; }
.logo-text { font: 800 16px/20px var(--font-display); color: var(--opp-navy); text-align: center; text-transform: uppercase; letter-spacing: .04em; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; }
  .logo-set { flex-wrap: wrap; justify-content: center; padding: 0; }
  .logo-set[aria-hidden="true"] { display: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) { .logo-set li { width: 140px; height: 80px; } .logo-track { animation-duration: 30s; } }

/* Home hero: the keyword line is the H1 (styled small), the tagline keeps the big display look */
.hero h1.eyebrow { font: 800 12px/16px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--pipe-blue); margin: 0 0 var(--s-3); }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5.6vw, 56px); line-height: 1.07; color: var(--white); margin: 0 0 var(--s-4); }

/* SEO additions */
.related-links { margin: var(--s-2) 0 var(--s-6); color: var(--text-muted); }
.related-links a { font-weight: 600; }
footer .licenses { color: var(--steel); font-size: 13px; line-height: 20px; }
.footer-services { padding-top: var(--s-3); border-top: 0; }
.map-embed { margin-top: var(--s-6); border-radius: var(--r-panel); overflow: hidden; border: 1px solid #DDE3EA; aspect-ratio: 16 / 9; background: var(--mist); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.service-points { columns: 2; column-gap: var(--s-6); padding-left: 18px; color: var(--text-muted); }
@media (max-width: 640px) { .service-points { columns: 1; } }
.review blockquote { margin: 0 0 var(--s-3); color: var(--text); }
.review figcaption { font-weight: 600; color: var(--text-muted); font-size: 14px; }
