/* ==========================================================================
   Readycam Telecommunications — site styles
   Brand: navy #00235D + signal blue #0067B4 (from logo); cable blue accent #2E8BEA
   Type: Barlow Condensed (display) + Barlow (text)
   Rev. 2 (client direction, Oct 26): V1 kept as the foundation — larger logo, shorter dark
   hero with photo, "What we do" pulled up, light "Who we serve" background with dark cards,
   real client reviews.
   ========================================================================== */

:root {
  --navy-900: #001233;
  --navy-800: #001a45;
  --navy: #00235d;
  --navy-600: #0a3373;
  --blue: #0067b4;
  --blue-500: #1479c9;
  --cable: #2e8bea;
  --cable-soft: #6eb4ff;
  --ink: #0d1b2e;
  --ink-2: #263750;
  --ink-3: #4e5d73;
  --line: #dfe5ee;
  --line-2: #c9d3e1;
  --paper: #ffffff;
  --mist: #f3f6fa;
  --mist-2: #e9eff6;
  --amber: #ffb627;            /* safety / hi-vis accent, used sparingly */
  --ok: #1d9a5b;
  --danger: #c8373b;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 8vw, 120px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(0, 26, 69, .06), 0 4px 16px rgba(0, 26, 69, .06);
  --shadow-2: 0 2px 6px rgba(0, 26, 69, .08), 0 18px 40px -12px rgba(0, 26, 69, .22);
  --header-h: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.005em; }
p { margin: 0; }
b, strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cable); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--cable-soft); }
.h-xl { font-size: clamp(36px, 4.4vw, 62px); text-transform: uppercase; letter-spacing: -.01em; line-height: .98; }
.h-lg { font-size: clamp(36px, 4.4vw, 58px); text-transform: uppercase; line-height: 1; }
.h-md { font-size: clamp(26px, 2.4vw, 32px); }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); }
.accent { color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -10px rgba(0, 103, 180, .8); }
.btn--primary:hover { background: var(--blue-500); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* ---------- licensed badge ---------- */
.badge-li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(29, 154, 91, .1); border: 1px solid rgba(29, 154, 91, .35); color: #137a46;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.badge-li svg { width: 18px; height: 18px; flex: none; }
.badge-li--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.badge-li--dark svg { color: #5fd69a; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__left { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; color: var(--cable-soft); }
.topbar__item strong { color: #fff; font-weight: 600; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 26, 69, .35); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand img { width: 200px; height: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.02); }
.brand__divider { width: 1px; height: 40px; background: var(--line-2); }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; white-space: nowrap; padding: 8px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--blue); }
.header__cta { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav__mobile-cta { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(0, 18, 51, .92) 38%, rgba(0, 26, 69, .55) 70%, rgba(0, 26, 69, .35) 100%),
    linear-gradient(0deg, rgba(0, 18, 51, .7), transparent 40%);
}
/* faint blueprint grid */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(110, 180, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 180, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 5vw, 80px); align-items: center; padding-top: clamp(32px, 3.2vw, 46px); padding-bottom: clamp(32px, 3.2vw, 46px); }
.hero__copy { max-width: 680px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--cable-soft); }
.hero__lead { margin-top: 20px; max-width: 560px; font-size: clamp(18px, 1.5vw, 21px); color: rgba(255, 255, 255, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .14); aspect-ratio: 4 / 3.1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-2);
}
.hero__tag-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
.hero__tag-icon svg { width: 22px; height: 22px; }
.hero__tag strong { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.hero__tag div > span { font-size: 14px; color: var(--ink-3); }
.hero__tag .hero__tag-icon { color: #fff; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-800); color: rgba(255, 255, 255, .8); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 14px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lead { max-width: 640px; }

/* ---------- services ---------- */
#services { padding-top: clamp(40px, 4vw, 60px); }
@media (min-width: 1024px) {
  #services .section-head { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); }
  #services .section-head .h-lg { font-size: clamp(32px, 3.6vw, 52px); }
}
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service__media img { transform: scale(1.05); }
.service__num {
  position: absolute; left: 20px; top: 20px; padding: 4px 10px; border-radius: 4px; background: rgba(0, 18, 51, .82); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .14em;
}
.service__body { display: flex; flex-direction: column; flex: 1; padding: 30px 30px 32px; }
.service__icon { width: 56px; height: 56px; margin-top: -58px; margin-bottom: 18px; position: relative; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(0, 103, 180, .9); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: clamp(21px, 6.4vw, 30px); text-transform: uppercase; }
.service p { margin-top: 12px; }
.checklist { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue); }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); overflow: hidden; }
.industry { padding: 36px 30px 34px; background: var(--navy-800); transition: background .3s var(--ease); }
.industry:hover { background: var(--navy-600); }
.industry svg { width: 40px; height: 40px; color: var(--cable-soft); }
.industry h3 { margin-top: 22px; font-size: clamp(22px, 6.6vw, 26px); text-transform: uppercase; letter-spacing: .02em; }
.industry p { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .7); }

/* Who we serve (Rev. 2): light section, dark-blue cards, brighter headings */
#industries .industries { gap: 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
#industries .industry {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800);
  box-shadow: 0 18px 36px -22px rgba(0, 26, 69, .55);
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
#industries .industry::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cable); }
#industries .industry:hover { background: var(--navy-600); transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(0, 26, 69, .7); }
#industries .industry h3 { color: #fff; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.08; letter-spacing: .02em; }
#industries .industry p { color: rgba(255, 255, 255, .86); font-size: 16px; }
#industries .industry svg { color: var(--cable-soft); }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  min-height: 42px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist-2); cursor: zoom-in; }
.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff;
  background: linear-gradient(0deg, rgba(0, 18, 51, .85), transparent);
  font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.shot figcaption small { font-family: var(--font-text); font-weight: 500; font-size: 12px; letter-spacing: .08em; padding: 3px 8px; border-radius: 3px; background: rgba(255, 255, 255, .16); white-space: nowrap; }
.shot.is-hidden { display: none; }
.shot button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: zoom-in; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(0, 12, 33, .94); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #fff; font-family: var(--font-display); font-size: 20px; letter-spacing: .05em; text-transform: uppercase; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- approach / process ---------- */
.approach { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.approach__media { position: relative; }
.approach__media .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.3; }
.approach__media .main img { width: 100%; height: 100%; object-fit: cover; }
.approach__media .inset { position: absolute; right: -28px; bottom: -28px; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-2); aspect-ratio: 4 / 3; }
.approach__media .inset img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; gap: 0; margin-top: 34px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--blue); }
.step h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.step p { margin-top: 6px; font-size: 16px; }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 22px);
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); text-transform: uppercase; }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, .86); font-size: 18px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy); color: #fff; }

/* ---------- reviews ---------- */
.reviews-summary { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); margin-top: 22px; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 20px; height: 20px; }
.reviews-summary strong { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.reviews-summary span { font-size: 15px; color: var(--ink-3); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { position: relative; display: flex; flex-direction: column; padding: 32px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.review__quote { position: absolute; right: 26px; top: 22px; width: 44px; height: 44px; color: var(--mist-2); }
.review blockquote { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex: none; }
.review__who strong { display: block; color: var(--ink); font-weight: 600; }
.review__who span { font-size: 14px; color: var(--ink-3); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__src { flex: none; padding: 3px 8px; border-radius: 4px; background: var(--mist); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; }
.review { border-top: 4px solid var(--blue); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.reviews-summary .stars { color: var(--amber); }
.review__who { min-width: 0; }
.reviews-summary .stars svg { width: 22px; height: 22px; }
.sample-pill { display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 4px; background: #fff4dc; color: #8a5a00; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.reviews-foot { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- reviews slider ---------- */
.slider { position: relative; }
.slider__track {
  --per: 3; --gap: 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 6px 2px 18px; margin: -6px -2px 0; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 2px solid var(--cable); outline-offset: 4px; border-radius: var(--radius-lg); }
.slider__track > .review { scroll-snap-align: start; }
.slider__track > .review:hover { transform: none; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s; }
.slider__btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.slider__btn:disabled { opacity: .35; cursor: default; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 6px; }
.slider__dot { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background .2s, transform .2s; }
.slider__dot[aria-selected="true"]::before { background: var(--blue); transform: scale(1.25); }
.review__rated { margin: 14px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); flex: 1; }
.review__rated strong { display: block; margin-bottom: 4px; color: var(--navy); font-family: var(--font-display); font-size: 21px; letter-spacing: .02em; text-transform: uppercase; }
@media (max-width: 1023px) { .slider__track { --per: 2; --gap: 20px; } }
@media (max-width: 767px)  { .slider__track { --per: 1; --gap: 14px; grid-auto-columns: 88%; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 80px 0 56px; }
.footer__brand img { width: 150px; }
.footer__brand p { margin-top: 20px; max-width: 320px; }
.footer__brand .badge-li { margin-top: 22px; }
.footer__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--cable-soft); }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.page-hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(0, 18, 51, .9) 45%, rgba(0, 26, 69, .5) 100%); }
.page-hero .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 6vw, 80px); }
.page-hero h1 { color: #fff; max-width: 820px; margin-top: 18px; }
.page-hero p { max-width: 620px; margin-top: 20px; font-size: clamp(18px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #fff; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: clamp(28px, 3.4vw, 48px); margin-top: calc(var(--section) * -1 - 40px); position: relative; z-index: 2; }
.form-card h2 { font-size: clamp(30px, 3vw, 40px); text-transform: uppercase; }
.form-card > p { margin-top: 10px; }
.form-body > p { margin-top: 10px; }
.form-grid { margin-top: 28px; }

.fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300235d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:hover, .select:hover, .textarea:hover { border-color: #9fb0c6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 103, 180, .14); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__error { display: none; font-size: 14px; color: var(--danger); }
.field.has-error .field__error { display: block; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form__note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); max-width: 360px; }
.form__note svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.form__status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.form__status.is-error { display: block; background: #fdecec; color: #8f1f22; }
.hp { position: absolute; left: -9999px; }

.form-success { display: none; text-align: center; padding: 30px 10px 10px; }
.form-success.is-visible { display: block; }
.form-success__icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 154, 91, .12); color: var(--ok); }
.form-success__icon svg { width: 38px; height: 38px; }
.form-success h3 { margin-top: 22px; font-size: 36px; text-transform: uppercase; }
.form-success p { margin: 12px auto 0; max-width: 460px; }
.form-success .btn { margin-top: 26px; }

/* Leave a Review page */
.review-wrap { max-width: 860px; }
.rating-input { border: 0; padding: 0; margin: 0; }
.rating-input legend { margin-bottom: 7px; }
.rating-input__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input__stars label { cursor: pointer; color: #c5cfdb; line-height: 0; padding: 2px; border-radius: 6px; transition: color .15s, transform .15s; }
.rating-input__stars label svg { width: 34px; height: 34px; }
.rating-input__stars input:checked ~ label,
.rating-input__stars label:hover,
.rating-input__stars label:hover ~ label { color: #f5a623; }
.rating-input__stars label:hover { transform: scale(1.08); }
.rating-input__stars input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.review-form .form__status { margin-top: 18px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.aside { display: grid; gap: 20px; }
.info-card { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.info-card--navy { background: var(--navy-800); border-color: var(--navy-800); color: rgba(255, 255, 255, .78); }
.info-card--navy h3 { color: #fff; }
.info-card h3 { font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.info-list { display: grid; gap: 18px; margin-top: 22px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list__icon { width: 42px; height: 42px; border-radius: var(--radius); display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--cable-soft); flex: none; }
.info-list__icon svg { width: 20px; height: 20px; }
.info-list small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.info-list a, .info-list b { color: #fff; font-weight: 600; font-size: 17px; }
.info-list a:hover { color: var(--cable-soft); }
.info-list a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.next-steps { display: grid; gap: 16px; margin-top: 20px; counter-reset: ns; }
.next-steps li { position: relative; padding-left: 46px; font-size: 16px; }
.next-steps li::before { counter-increment: ns; content: counter(ns); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.next-steps strong { display: block; color: var(--ink); font-weight: 600; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.trust-row svg { width: 16px; height: 16px; color: var(--blue); }

/* services strip (contact page) */
.svc-strip { background: var(--line); border-color: var(--line); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-strip .industry { background: #fff; }
.svc-strip .industry:hover { background: var(--mist); }
.svc-strip .industry svg { color: var(--blue); }
.svc-strip .industry p { color: var(--ink-2); }

/* ---------- section fade-in (on load for the first section, on scroll for the rest) ---------- */
.js .fade { opacity: 0; transition: opacity .9s ease; }
.js .fade.is-in { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .site-header .wrap { gap: 20px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 16px; letter-spacing: .04em; }
  .header__cta { padding: 0 16px; font-size: 15px; }
  .brand__divider, .site-header .badge-li { display: none; }
  .brand img { width: 170px; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1181px) and (max-width: 1279px) {
  .brand img { width: 180px; }
  .nav__list { gap: 22px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .service h3 { font-size: 24px; }
  .service__body { padding: 26px 24px 28px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 96px; }
  .topbar__item--hide-md { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(0, 26, 69, .4); visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav__link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__mobile-cta { display: block; padding-top: 20px; }
  .nav__mobile-cta .btn { width: 100%; }

  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { justify-self: start; max-width: 520px; }
  .hero__photo { aspect-ratio: 16 / 11; }
  .hero__tag { left: 16px; bottom: 16px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .services { grid-template-columns: 1fr; max-width: 640px; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .approach { grid-template-columns: 1fr; }
  .approach__media { max-width: 560px; margin-right: 28px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; padding-top: 64px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .form-card { margin-top: calc(var(--section) * -1 - 20px); }
  .aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .topbar .wrap { justify-content: center; }
  .topbar__right { display: none; }
  :root { --header-h: 84px; }
  .brand img { width: 140px; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .h-xl { font-size: clamp(34px, 9.4vw, 46px); }
  .h-lg { font-size: clamp(32px, 9vw, 40px); }
  .hero__tag { position: relative; left: auto; bottom: auto; margin: -36px 16px 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .industries, .svc-strip { grid-template-columns: 1fr; }
  .industry { padding: 28px 24px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .shot--wide { grid-column: span 2; }
  .shot figcaption { padding: 30px 10px 10px; font-size: 14px; }
  .shot figcaption small { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .approach__media .inset { right: -16px; bottom: -20px; border-width: 4px; }
  .approach__media { margin-right: 16px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .reviews-foot .btn { width: 100%; }
  .service__body { padding: 26px 22px 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__cap { bottom: 74px; font-size: 16px; padding: 0 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .aside { grid-template-columns: 1fr; }
  .reviews-summary { flex-wrap: wrap; justify-content: center; border-radius: var(--radius-lg); }
}
/* shorter laptop screens: keep "What we do" on the first screen */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero .h-xl { font-size: clamp(36px, 3.8vw, 52px); }
  .hero__lead { font-size: 18px; margin-top: 16px; }
  .hero__actions { margin-top: 24px; }
  .hero .wrap { padding-top: 28px; padding-bottom: 32px; }
  .hero__photo { aspect-ratio: 4 / 2.9; }
  #services { padding-top: 36px; }
}
@media (max-width: 400px) {
  .form-card { padding: 24px 18px; }
  .btn { padding: 0 18px; white-space: normal; text-align: center; }
  .info-card { padding: 22px 18px; }
  .info-list a, .info-list b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .fade { opacity: 1; transition: none; }
}

/* keep anchored/scrolled targets clear of the sticky header */
section[id], .form-card { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ==========================================================================
   Rev. 3 — responsive refinements (Oct 27)
   ========================================================================== */
/* phones: keep the phone number in the top bar (tap to call), hide the email */
@media (max-width: 767px) {
  .topbar { font-size: 13px; }
  .topbar .wrap { justify-content: space-between; gap: 12px; }
  .topbar__right { display: flex; }
  .topbar__right .topbar__item--email { display: none; }
  .topbar__left { gap: 12px; min-width: 0; }
}
@media (max-width: 359px) {
  .topbar__item strong { font-size: 12px; }
  .topbar__item svg { display: none; }
}
/* tablets: service cards use the full width as side-by-side cards instead of a narrow left-aligned column */
@media (min-width: 640px) and (max-width: 1023px) {
  .services { max-width: none; gap: 24px; }
  .service { flex-direction: row; }
  .service__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 300px; }
  .service__body { padding: 30px 30px 32px; }
  .service__icon { margin-top: 0; }
  .service h3 { font-size: 28px; }
  .hero__visual { max-width: 560px; }
  .approach__media { max-width: 600px; }
}
/* small laptops: three service cards side by side need tighter type */
@media (min-width: 1024px) and (max-width: 1179px) {
  .services { gap: 20px; }
  .service h3 { font-size: 22px; }
  .service__body { padding: 24px 20px 26px; }
  .checklist li { font-size: 15px; }
  .hero .wrap { gap: 40px; }
}
/* contact details: avoid orphaned words */
.info-list b, .info-list a, .review blockquote, .lead, .hero__lead { text-wrap: pretty; }
.h-xl, .h-lg, .service h3, .industry h3, .cta-band h2, .form-card h2, .info-card h3 { text-wrap: balance; }
/* Rev. 4 — touch targets & small screens (Oct 28). Padding is offset by negative
   margins so link sizes grow for fingers without moving anything on the page. */
@media (max-width: 1023px) {
  .footer__links a, .crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .footer__contact a { display: inline-block; padding: 5px 0; margin: -5px 0; }
  .topbar a.topbar__item { padding: 6px 0; margin: -6px 0; }
  .slider__dots { gap: 0; }
  .slider__dot { width: 34px; height: 40px; margin: -6px 0; }
}
@media (max-width: 359px) {
  .h-xl { font-size: 30px; }
  .h-lg { font-size: 28px; }
}
/* phones held sideways: keep the hero photo from filling several screens */
@media (max-width: 1023px) and (max-height: 500px) and (orientation: landscape) {
  .hero__visual { max-width: 420px; }
}
/* Rev. 6 — mobile layout (Oct 28) */
/* reviews: one full-width card per swipe on phones (no half-visible next card) */
@media (max-width: 767px) {
  .slider__track { --per: 1; grid-auto-columns: 100%; }
}
/* job-site gallery: one photo per row on phones */
@media (max-width: 639px) {
  .gallery { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .shot, .shot--wide, .shot--tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .shot--tall { aspect-ratio: 4 / 5; }
  .shot figcaption { padding: 44px 16px 14px; font-size: 17px; }
  .shot figcaption small { display: inline-block; }
}
/* gallery on tablets / large phones: an even grid of same-size photos, so no gaps are left at the end */
@media (min-width: 640px) and (max-width: 1023px) {
  .gallery { grid-auto-rows: auto; gap: 14px; }
  .shot, .shot--wide, .shot--tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (min-width: 640px) and (max-width: 767px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* large phones: footer in two columns instead of one long list */
@media (min-width: 480px) and (max-width: 767px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shot figcaption { padding: 34px 12px 12px; font-size: 15px; }
  .shot figcaption small { display: none; }
}
