/* ============================================================
   PEVARNIK BROS., INC. / PBI ELECTRIC — Premium Contractor Build
   Brand: PBI blue, white, logo gray, deep industrial navy
   Fonts: Clash Display (headlines) + Satoshi (body)
   Vibe: commercial, disciplined, infrastructure-focused
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-accent: #253d8e;
  --brand-accent-light: #3d58a8;
  --brand-accent-deep: #233b78;
  --brand-glow: rgba(37,61,142,0.26);
  --brand-blue: #253d8e;
  --brand-blue-deep: #233b78;
  --brand-blue-light: #3d58a8;
  --brand-gray: #808186;
  --brand-gray-light: #a0a0a0;
  --navy: #0d1730;
  --bg: #080b12;
  --bg-2: #0e1420;
  --bg-3: #151b26;
  --surface: #161c28;
  --surface-2: #202631;
  --border: rgba(37,61,142,0.32);
  --border-subtle: rgba(255,255,255,0.09);
  --text: #dce1e8;
  --text-muted: #a5acb7;
  --text-dim: #707984;
  --white: #ffffff;
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --radius: 6px;
  --radius-lg: 14px;
  --transition: 0.3s ease;
  --max-w: 1240px;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img,
video,
svg {
  max-width: 100%;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.brand-accent { color: var(--brand-accent); }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--brand-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--brand-glow);
}
.btn-primary.btn-full { width: 100%; justify-content: center; }
.btn-primary.btn-submit { font-size: 0.9rem; padding: 17px 36px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-ghost:hover {
  border-color: var(--brand-accent);
  background: rgba(37,61,142,0.08);
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-nav:hover { background: var(--brand-accent-light); box-shadow: 0 4px 20px var(--brand-glow); }

.btn-service {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  text-decoration: none;
  border: 1px solid var(--brand-accent);
  padding: 10px 24px;
  border-radius: var(--radius);
  margin-top: 20px;
  transition: background var(--transition), color var(--transition);
}
.btn-service:hover { background: var(--brand-accent); color: var(--white); }

.mini-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  text-decoration: none;
  margin-top: 12px;
  transition: opacity var(--transition);
}
.mini-link:hover { opacity: 0.75; }

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 60px;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto 56px; }

/* ── NAVBAR ── */
/* Ensure all sections sit above the fixed storm canvas (z:1) + wind overlay (z:2) */
body > *:not(#storm-canvas):not(.wind-overlay):not(#navbar):not(.mobile-menu) {
  position: relative;
  z-index: 3;
}

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5000;
  background: linear-gradient(180deg, rgba(235,238,243,0.86) 0%, rgba(218,224,232,0.68) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  transition: transform 0.3s ease, background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  border-bottom: 1px solid rgba(128,129,134,0.22);
  box-shadow: 0 14px 34px rgba(18,26,40,0.08);
}
#navbar.scrolled {
  background: rgba(229,234,240,0.97);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom-color: rgba(128,129,134,0.36);
  box-shadow: 0 12px 32px rgba(18,26,40,0.16);
}
.nav-inner {
  max-width: min(1780px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 2.4vw, 44px);
  height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.nav-brand { display: flex; flex-direction: column; }
.nav-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #121a28;
  line-height: 1;
}
.nav-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(12px, 1.1vw, 18px);
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f5d6b;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  min-height: 24px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand-accent); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #182231;
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #050b11;
  border-top: 1px solid var(--border);
  padding: 16px clamp(20px, 6vw, 34px) 28px;
  gap: 4px;
  width: 100%;
  max-width: 100vw;
  max-height: none;
  height: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 5001;
}
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open {
  display: flex;
}
#navbar.menu-open {
  transform: none !important;
}
#navbar.menu-open .storm-urgency {
  display: none;
}
#navbar.scrolled .storm-urgency {
  display: none;
}

.home-page #navbar:not(.scrolled):not(.menu-open) {
  background: linear-gradient(180deg, rgba(8,12,18,0.4) 0%, rgba(8,12,18,0.18) 58%, rgba(8,12,18,0) 100%);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
.home-page #navbar:not(.scrolled):not(.menu-open) .nav-name {
  color: #f7f9fc;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.home-page #navbar:not(.scrolled):not(.menu-open) .nav-links a {
  color: rgba(247,249,252,0.78);
  text-shadow: 0 2px 12px rgba(0,0,0,0.36);
}
.home-page #navbar:not(.scrolled):not(.menu-open) .nav-links a:hover {
  color: #ffffff;
}
.home-page #navbar:not(.scrolled):not(.menu-open) .call-toggle {
  background: rgba(8,12,18,0.24);
  border-color: rgba(255,255,255,0.2);
  color: #f7f9fc;
}
.home-page #navbar:not(.scrolled):not(.menu-open) .nav-logo-img {
  background: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.34);
  box-shadow: none;
}
.home-page #navbar:not(.scrolled):not(.menu-open) .hamburger span {
  background: #f7f9fc;
}
.home-page #navbar:not(.scrolled):not(.menu-open) .storm-urgency::before {
  background: linear-gradient(180deg, rgba(8,12,18,0.1), transparent);
}
.home-page #navbar:not(.scrolled):not(.menu-open) .urgency-inner {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,0.2), transparent 38%),
    linear-gradient(135deg, rgba(118,128,140,0.34) 0%, rgba(72,82,96,0.28) 46%, rgba(25,35,48,0.22) 100%);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 38px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 3; /* above fixed storm canvas */
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(8,12,18,0.88) 0%, rgba(8,12,18,0.62) 45%, rgba(13,21,32,0.34) 100%),
    linear-gradient(to top, rgba(8,12,18,0.86) 0%, rgba(8,12,18,0.18) 46%, transparent 76%);
}
/* storm-canvas is now full-page fixed — handled above */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 214px 28px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(8,12,18,0.58);
  box-shadow: 0 14px 36px rgba(0,0,0,0.24);
  backdrop-filter: blur(10px);
}
.eyebrow-line {
  height: 1px;
  width: 32px;
  background: rgba(255,255,255,0.66);
  opacity: 1;
  flex: 0 0 32px;
}
.hero-eyebrow span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #f7f9fc;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.56);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 960px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(13,21,32,0.8);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  backdrop-filter: blur(6px);
}
.hero-scroll-hint {
  display: none;
}
.hero-scroll-hint span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1px solid var(--brand-accent);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  opacity: 0.5;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--brand-accent);
  border-radius: 2px;
  animation: wheelScroll 2s ease-in-out infinite;
}
@keyframes wheelScroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ── SERVICES ── */
#services {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.services-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-subtle);
}

/* Feature card — full width */
.service-feature-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  overflow: hidden;
  min-height: 480px;
}
.sfc-img {
  position: relative;
  overflow: hidden;
}
.sfc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-feature-card:hover .sfc-img img { transform: scale(1.04); }
.sfc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--surface));
}
.sfc-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-division-logo {
  width: min(260px, 72%);
  max-height: 96px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 26px;
}
.sfc-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sfc-content h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}
.sfc-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.sfc-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.sfc-items span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 4px;
}

/* Standard service cards */
.service-standard-card {
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}
.service-standard-card:hover { background: var(--surface-2); }
.ssc-img {
  height: 220px;
  overflow: hidden;
}
.ssc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.photo-focus-ev-chargers {
  object-position: center 48%;
}
.service-standard-card:hover .ssc-img img { transform: scale(1.05); filter: brightness(0.85); }
.ssc-content { padding: 32px 28px; flex: 1; display: flex; flex-direction: column; }
.ssc-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ssc-content h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ssc-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; flex: 1; }
.ssc-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.ssc-items span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 3px;
}

/* Mini service cards */
.service-mini-card {
  background: var(--surface);
  padding: 36px 28px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-mini-card:hover { background: var(--surface-2); }
.service-mini-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-mini-card:hover::after { transform: scaleX(1); }
.service-mini-card.brand-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
  border-left: 2px solid var(--brand-accent);
}
.smc-icon { color: var(--brand-accent); margin-bottom: 16px; }
.service-mini-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-mini-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.industrial-power-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: stretch;
  padding: 34px;
}
.industrial-power-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.industrial-power-card h4 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.95;
  margin-bottom: 14px;
}
.industrial-project {
  color: var(--brand-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.45;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.industrial-power-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.industrial-power-gallery figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(224,229,235,0.78);
  border: 1px solid rgba(128,129,134,0.28);
  border-radius: 8px;
}
.industrial-power-gallery picture {
  display: block;
  min-height: 0;
}
.industrial-power-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}
.industrial-power-gallery figcaption {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  color: #182231;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* ── INSURANCE ── */
#insurance,
#project-support {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.insurance-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.insurance-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.2) grayscale(0.5);
}
.insurance-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8,12,18,0.95) 35%, rgba(8,12,18,0.6) 100%);
}
.insurance-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.insurance-left p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 16px;
}
.insurance-left .btn-primary { margin-top: 24px; }
.insurance-steps-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ins-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ins-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--brand-accent);
  border-radius: 4px;
  padding: 5px 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ins-text h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.ins-text p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.ins-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-accent), rgba(37,61,142,0.1));
  margin-left: 32px;
  margin: 12px 0 12px 32px;
}

/* ── OWNER CLAIM VIDEOS ── */
#owner-videos,
#people {
  padding: 118px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(37,61,142,0.13), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #0c151f 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.owner-video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 58px;
  align-items: center;
}
.owner-video-copy p {
  max-width: 520px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.video-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.video-trust-points span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid rgba(37,61,142,0.24);
  background: rgba(37,61,142,0.07);
  border-radius: 999px;
  padding: 9px 13px;
}
.owner-video-panel {
  position: relative;
  min-width: 0;
  background: rgba(14,28,42,0.72);
  border: 1px solid rgba(37,61,142,0.22);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 36px 100px rgba(0,0,0,0.34);
}
.video-carousel-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}
.video-eyebrow,
.owner-video-meta span,
.video-placeholder span {
  display: inline-block;
  color: var(--brand-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.video-carousel-top h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--white);
}
.video-controls {
  display: flex;
  gap: 8px;
}
.video-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(37,61,142,0.36);
  background: rgba(8,12,18,0.66);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.video-arrow:hover,
.video-arrow:focus-visible {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--white);
  transform: translateY(-1px);
}
.owner-video-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 8px;
  max-width: 100%;
  contain: layout paint;
}
.owner-video-track::-webkit-scrollbar { display: none; }
.owner-video-card {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1fr);
  align-items: stretch;
}
.owner-video-card > * {
  min-width: 0;
}
.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(37,61,142,0.12), rgba(8,12,18,0.92)),
    #05080c;
  overflow: hidden;
}
.video-frame video {
  width: min(100%, 320px);
  height: min(72vh, 560px);
  display: block;
  object-fit: cover;
  background: #05080c;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}
.leadership-frame {
  min-height: 500px;
  padding: 22px;
}
.leadership-frame img {
  width: min(100%, 360px);
  height: min(72vh, 520px);
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}
.owner-video-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
}
.owner-video-meta h4,
.video-placeholder h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  line-height: 1.05;
  margin-bottom: 10px;
}
.owner-video-meta p,
.video-placeholder p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 100%;
  overflow-wrap: break-word;
}
.video-placeholder {
  min-height: 360px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(37,61,142,0.16), rgba(8,12,18,0.92)),
    url('images/pbi/substation.jpg') center/cover;
  position: relative;
  isolation: isolate;
}
.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,12,18,0.74);
  z-index: -1;
}
.play-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brand-accent);
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 0 0 12px rgba(37,61,142,0.12);
}
.video-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}
.video-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.26);
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}
.video-dot.active {
  width: 34px;
  background: var(--brand-accent);
}

/* ── GALLERY ── */
#gallery,
#projects {
  padding: 110px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: var(--surface);
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 484px;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.9); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,18,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: rgba(8,12,18,0.8);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.gallery-cta-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.gallery-cta-content {
  padding: 32px;
  text-align: center;
}
.gallery-cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.gallery-cta-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── TESTIMONIALS ── */
#testimonials,
#proof {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color var(--transition), transform var(--transition);
}
.testi-card:hover { border-color: var(--border); transform: translateY(-4px); }
.testi-card.featured-testi {
  background: var(--surface-2);
  border-color: var(--brand-accent);
}
.testi-stars { color: var(--brand-accent); font-size: 0.9rem; letter-spacing: 3px; }
.testi-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.testi-avatar {
  width: 40px; height: 40px;
  background: var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.testi-location { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── FINANCING ── */
#financing,
#bonding {
  padding: 110px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.financing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.financing-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 480px;
}
.financing-left strong { color: var(--white); }
.financing-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.fin-option {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.fin-icon {
  color: var(--brand-accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  flex-shrink: 0;
}
.fin-option h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.fin-option p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.financing-right {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/11;
}
.financing-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.financing-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,18,0.8) 0%, transparent 50%);
}
.financing-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  background: rgba(8,12,18,0.88);
  border: 1px solid var(--brand-accent);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  backdrop-filter: blur(8px);
  text-align: center;
}
.fb-big {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.fb-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── PROCESS ── */
#process {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.process-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.process-node {
  flex: 1;
  padding: 0 32px;
  text-align: center;
  position: relative;
}
.process-node:first-child { padding-left: 0; }
.process-node:last-child { padding-right: 0; }
.pn-circle {
  width: 64px; height: 64px;
  border: 2px solid var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand-accent);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.pn-step {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.process-node h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.process-node p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.process-line {
  position: absolute;
  top: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--brand-accent), rgba(37,61,142,0.2));
  width: calc(25% - 32px);
}
.process-line:nth-of-type(2) { left: 25%; }
.process-line:nth-of-type(4) { left: 50%; }
.process-line:nth-of-type(6) { left: 75%; }

/* ── CAREERS ── */
#careers {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.careers-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.careers-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.18) grayscale(0.3);
}
.careers-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,12,18,0.96) 40%, rgba(13,21,32,0.7) 100%);
}
.careers-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.careers-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}
.careers-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,21,32,0.8);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.careers-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.careers-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── CONTACT ── */
#contact {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 420px;
}
.contact-reach {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.reach-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity var(--transition);
}
.reach-item:hover { opacity: 0.8; }
.reach-icon {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.reach-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.reach-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.contact-dm-tip {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  border-left: 3px solid var(--brand-accent);
}
.contact-dm-tip span { color: var(--brand-accent); font-weight: 600; }
.contact-dm-tip strong { color: var(--white); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input[type="file"] {
  padding: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  margin-right: 14px;
  border: 1px solid var(--border);
  background: rgba(37,61,142,0.12);
  color: var(--white);
  border-radius: var(--radius);
  padding: 9px 13px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a8aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.form-group select option { background: var(--bg-2); }
.form-group textarea { resize: vertical; min-height: 88px; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}
.field-note {
  color: var(--text-muted);
  font-size: 0.76rem;
}
.form-success {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.success-icon { margin-bottom: 20px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.form-success p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.success-direct a { color: var(--brand-accent); text-decoration: none; font-weight: 600; }

/* ── EMPLOYMENT APPLICATION ── */
.application-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(8,12,18,0.92), rgba(8,12,18,0.74)),
    url('images/pbi/equipment-yard.jpg') center/cover fixed;
}
.application-shell {
  min-height: 100vh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 72px;
}
.application-back {
  display: inline-flex;
  align-items: center;
  color: var(--brand-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 46px;
}
.application-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 58px;
  align-items: start;
}
.application-copy {
  position: sticky;
  top: 42px;
  padding-top: 42px;
  min-width: 0;
  max-width: 100%;
}
.application-copy h1,
.thanks-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 26px;
}
.application-copy p,
.thanks-panel p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.85;
  max-width: 520px;
}
.application-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.application-highlights span {
  border: 1px solid var(--border);
  background: rgba(13,21,32,0.78);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.employment-form {
  min-width: 0;
  max-width: 100%;
  background: rgba(19,31,46,0.94);
  border: 1px solid rgba(37,61,142,0.24);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 34px 100px rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.employment-form-top { margin-bottom: 12px; }
.employment-form-top span {
  color: var(--brand-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.employment-form-top h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-top: 8px;
}
.application-thanks {
  display: grid;
  place-items: center;
}
.thanks-panel {
  width: min(680px, 100%);
  max-width: 100%;
  min-width: 0;
  text-align: center;
  background: rgba(23,28,34,0.94);
  border: 1px solid rgba(37,61,142,0.24);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 68px);
  box-shadow: 0 34px 100px rgba(0,0,0,0.42);
}
.thanks-panel p { margin: 0 auto 30px; }
.thanks-logo {
  width: 220px;
  height: 78px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(37,61,142,0.32);
  background: rgba(255,255,255,0.95);
  padding: 6px;
  margin-bottom: 24px;
}

/* ── FOOTER ── */
#footer { background: #040709; border-top: 1px solid var(--border); }
.footer-top { padding: 72px 0 48px; }
.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-co-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.footer-co-sub {
  font-size: 0.72rem;
  color: var(--brand-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 6px;
}
.footer-col a, .footer-col span {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-credit a { color: var(--brand-accent); text-decoration: none; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .service-feature-card { grid-template-columns: 1fr; }
  .sfc-img { height: 280px; }
  .sfc-img-overlay { background: linear-gradient(to top, var(--surface), transparent); }
  .insurance-body { grid-template-columns: 1fr; gap: 48px; }
  .owner-video-layout { grid-template-columns: 1fr; gap: 42px; }
  .owner-video-card { grid-template-columns: 1fr; }
  .video-frame { min-height: auto; padding: 24px; }
  .financing-layout { grid-template-columns: 1fr; }
  .financing-right { aspect-ratio: 16/7; }
  .process-track { flex-wrap: wrap; gap: 32px; }
  .process-line { display: none; }
  .process-node { flex: 0 0 calc(50% - 16px); padding: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .services-mega-grid { grid-template-columns: 1fr; }
  .industrial-power-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 120px 28px 100px; }
  .hero-headline { font-size: clamp(3rem, 13vw, 5rem); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item,
  .gallery-cta-item { min-height: 230px; }
  .gallery-item.large { min-height: 300px; }
  .process-node { flex: 0 0 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .careers-cta { flex-direction: column; align-items: flex-start; }
  #owner-videos { padding: 84px 0; }
  .owner-video-panel { padding: 14px; }
  .video-carousel-top { align-items: flex-start; flex-direction: column; }
  .video-controls { align-self: flex-end; }
  .owner-video-meta { padding: 20px; }
  .video-frame { padding: 16px; }
  .video-frame video {
    width: min(100%, 300px);
    height: min(70vh, 530px);
  }
}

/* ── FULL-PAGE STORM CANVAS ──────────────────────────────── */
#storm-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── WIND OVERLAY ───────────────────────────────────────── */
.wind-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.wind-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.wind-line {
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 200 1600;
  stroke-dashoffset: 1800;
  animation: windDash var(--wdur, 4s) var(--wdelay, 0s) ease-in-out infinite;
}
/* Each line: unique color tint, timing, intensity */
.w1 { stroke: rgba(37,61,142,0.18); --wdur: 3.8s; --wdelay: 0s;   stroke-dasharray: 180 1600; }
.w2 { stroke: rgba(128,129,134,0.12); --wdur: 4.4s; --wdelay: 0.7s; stroke-dasharray: 260 1600; }
.w3 { stroke: rgba(37,61,142,0.14); --wdur: 3.2s; --wdelay: 1.3s; stroke-dasharray: 140 1600; }
.w4 { stroke: rgba(160,160,160,0.09); --wdur: 5.1s; --wdelay: 0.3s; stroke-dasharray: 320 1600; }
.w5 { stroke: rgba(37,61,142,0.10); --wdur: 4.7s; --wdelay: 1.8s; stroke-dasharray: 200 1600; }
.w6 { stroke: rgba(37,61,142,0.15); --wdur: 3.5s; --wdelay: 2.4s; stroke-dasharray: 160 1600; }
.w7 { stroke: rgba(37,61,142,0.11); --wdur: 5.8s; --wdelay: 0.9s; stroke-dasharray: 280 1600; }
.w8 { stroke: rgba(128,129,134,0.13); --wdur: 4.1s; --wdelay: 3.1s; stroke-dasharray: 220 1600; }
@keyframes windDash {
  0%   { stroke-dashoffset: 1800; opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 0.8; }
  100% { stroke-dashoffset: -200; opacity: 0; }
}

/* ── STORM URGENCY BANNER ───────────────────────────────── */
.storm-urgency {
  background: transparent;
  border: 0;
  padding: 10px clamp(18px, 3vw, 44px) 0;
  position: relative;
  z-index: 999;
  overflow: visible;
  pointer-events: none;
}
.storm-urgency::before {
  content: '';
  position: absolute;
  inset: -80px 0 -36px;
  background: linear-gradient(180deg, rgba(198,205,215,0.22) 0%, rgba(198,205,215,0.08) 58%, transparent 100%);
  animation: none;
  pointer-events: none;
}
@keyframes urgencyPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.urgency-inner {
  max-width: min(1180px, 100%);
  margin: 0 auto;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: nowrap;
  position: relative;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,0.24), transparent 38%),
    linear-gradient(135deg, rgba(108,118,130,0.58) 0%, rgba(70,80,94,0.5) 46%, rgba(34,44,58,0.44) 100%);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(18,26,40,0.14), inset 0 1px 0 rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  pointer-events: auto;
}
.urgency-mark {
  width: 82px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 4px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 18px rgba(18,26,40,0.18);
}
.urgency-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f7f9fc;
  letter-spacing: 0.04em;
  text-align: center;
  min-width: 0;
}
.urgency-text strong {
  color: #dce5ff;
  font-weight: 700;
}
.btn-urgency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.btn-urgency:hover {
  background: var(--brand-accent-light);
  transform: translateY(-1px);
}

/* ── HERO SLIDESHOW ──────────────────────────────────────── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.06);
  animation: none;
}
.hero-slide.storm-slide {
  filter: brightness(1.18) contrast(1.06) saturate(1.08);
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.06); background-position: center 40%; }
  100% { transform: scale(1.0);  background-position: center 44%; }
}
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
  border-radius: 4px;
}
.dot.active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  width: 24px;
  transform: none;
}
/* Rotating headlines */
.hero-headlines {
  position: relative;
  min-height: 200px;
  margin-bottom: 28px;
}
.slide-headline {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  margin-bottom: 0;
}
.slide-headline.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

/* ── STORY GRID ──────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.story-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.story-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.story-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.story-card:hover .story-img img {
  transform: scale(1.05);
  filter: brightness(0.9);
}
.story-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  color: #ffffff;
  background: rgba(37,61,142,0.9);
  border: 1px solid rgba(210,218,239,0.42);
}
.story-badge.storm {
  background: rgba(56,67,86,0.92);
  color: #ffffff;
  border-color: rgba(160,160,160,0.44);
}
.story-badge.damage {
  background: rgba(91,94,101,0.92);
  color: #ffffff;
  border-color: rgba(210,214,220,0.42);
}
.story-badge.crew {
  background: rgba(37,61,142,0.92);
  color: #ffffff;
  border-color: rgba(210,218,239,0.44);
}
.story-badge.done {
  background: rgba(35,59,120,0.92);
  color: #ffffff;
  border-color: rgba(210,218,239,0.44);
}
.story-body {
  padding: 22px 20px;
}
.story-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.story-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .hero-headlines { min-height: 160px; }
  .industrial-power-card { padding: 26px 18px; }
  .industrial-power-gallery { grid-template-columns: 1fr; }
  .industrial-power-gallery img { aspect-ratio: 4 / 3; }
  .industrial-power-gallery figcaption { min-height: auto; }
}

/* ── BEFORE / AFTER SECTION ────────────────────────────────── */
#before-after,
#field-proof {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.ba-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ba-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.ba-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ba-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.ba-card:hover .ba-img-wrap img {
  transform: scale(1.04);
  filter: brightness(0.95);
}
.ba-label {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}
.before-label {
  background: rgba(37,61,142,0.92);
  color: #ffffff;
  border: 1px solid rgba(210,218,239,0.42);
}
.after-label {
  background: rgba(91,94,101,0.92);
  color: #ffffff;
  border: 1px solid rgba(210,214,220,0.42);
}
.ba-caption {
  padding: 22px 24px;
  flex: 1;
}
.ba-caption h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
}
.ba-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 700px) {
  .ba-pair { grid-template-columns: 1fr; }
}

/* ── PREFERS-REDUCED-MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #storm-canvas,
  .wind-overlay { display: none !important; }
  .hero-slide { transition: none !important; animation: none !important; }
  .slide-headline { transition: none !important; }
  .wind-line { animation: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── NAV PHONE ────────────────────────────────────────────── */
.call-menu {
  position: relative;
  z-index: 5100;
}
.call-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(37,61,142,0.25);
  background: transparent;
  color: var(--brand-accent);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.call-toggle:hover,
.call-toggle:focus-visible,
.call-menu.open .call-toggle {
  background: rgba(37,61,142,0.08);
  border-color: var(--brand-accent);
  outline: none;
}
.nav-call .call-toggle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.call-dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  padding: 8px;
  border: 1px solid rgba(37,61,142,0.28);
  border-radius: 14px;
  background: rgba(5, 11, 17, 0.98);
  box-shadow: 0 22px 55px rgba(0,0,0,0.4);
  z-index: 5200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
}
.nav-call .call-dropdown {
  top: calc(100% + 94px);
}
.call-menu.open .call-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.call-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.call-dropdown a:hover,
.call-dropdown a:focus-visible {
  background: rgba(37,61,142,0.12);
  outline: none;
}
.call-dropdown a span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.call-dropdown a strong {
  font-size: 0.9rem;
  color: var(--brand-accent);
}
.inline-call {
  display: inline-block;
  vertical-align: baseline;
}
.inline-call .call-toggle {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--brand-accent);
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}
.inline-call .call-toggle:hover,
.inline-call .call-toggle:focus-visible,
.inline-call.open .call-toggle {
  background: transparent;
  text-decoration: underline;
}
.inline-call .call-dropdown {
  left: 0;
  right: auto;
}
.contact-call .call-toggle {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}
.contact-call .call-toggle:hover,
.contact-call .call-toggle:focus-visible,
.contact-call.open .call-toggle {
  background: transparent;
  color: var(--brand-accent);
}
.contact-call .call-dropdown {
  left: 0;
  right: auto;
}
.footer-call {
  width: fit-content;
}
.footer-call .call-toggle {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-call .call-toggle:hover,
.footer-call .call-toggle:focus-visible,
.footer-call.open .call-toggle {
  background: transparent;
  color: var(--white);
}
.footer-call .call-dropdown {
  top: auto;
  bottom: calc(100% + 10px);
  left: 0;
  right: auto;
}
.mobile-call-menu {
  display: none;
  width: 100%;
}
.mobile-call-menu .call-toggle {
  width: 100%;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 16px 4px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mobile-call-menu .call-toggle::after {
  content: '+';
  color: var(--brand-accent);
  font-size: 1rem;
}
.mobile-call-menu.open .call-toggle::after {
  content: '-';
}
.mobile-call-menu .call-dropdown {
  display: none;
  position: static;
  width: 100%;
  min-width: 0;
  margin: 10px 0 14px;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.mobile-call-menu.open .call-dropdown {
  display: block;
}
.mobile-call-menu .call-dropdown a {
  border-bottom: 0;
  padding: 12px;
  font-size: 0.9rem;
}
@media (max-width: 1050px) { .nav-call { display: none; } }

/* ── REVIEW SUMMARY BAR ───────────────────────────────────── */
.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  padding: 16px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.review-stars-big {
  color: var(--brand-accent);
  font-size: 1rem;
  letter-spacing: 3px;
}
.review-count-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ── PROCESS CONNECTOR ─────────────────────────────────────── */
.process-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 32px; /* align with circle center */
  gap: 0;
}
.process-connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--brand-accent), rgba(37,61,142,0.2));
  min-width: 20px;
}
.process-arrow {
  color: var(--brand-accent);
  opacity: 0.7;
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .process-connector { display: none; }
}
.pn-timing {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: rgba(37,61,142,0.08);
  border: 1px solid rgba(37,61,142,0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── FOOTER BOTTOM UPDATES ────────────────────────────────── */
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-privacy {
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.7;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social {
  color: var(--text-dim);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.footer-social:hover { color: var(--brand-accent); }
.footer-credit a { color: var(--brand-accent); text-decoration: none; }
.seven-attribution {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.seven-attribution:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.seven-attribution img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.45));
}
.seven-attribution strong {
  background: linear-gradient(90deg, #253d8e, #808186);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── REAL LOGO IMAGE ─────────────────────────────────────── */
.nav-logo-img {
  width: 102px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(37,61,142,0.28);
  background: rgba(255,255,255,0.96);
  padding: 5px 7px;
  flex-shrink: 0;
}
.footer-logo-img {
  width: 156px;
  height: 58px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(37,61,142,0.24);
  background: rgba(255,255,255,0.96);
  padding: 7px;
  flex-shrink: 0;
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,12,18,0.92);
  backdrop-filter: blur(8px);
}
.lb-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 14px;
  max-width: 92vw;
  max-height: 90vh;
}
.lb-img {
  max-width: min(84vw, 1100px);
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid rgba(37,61,142,0.35);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.lb-caption {
  color: var(--brand-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(37,61,142,0.13);
  border: 1px solid rgba(37,61,142,0.36);
  color: var(--brand-accent);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { background: rgba(37,61,142,0.24); }
.lb-close {
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
}
.lb-prev,
.lb-next {
  top: 50%;
  width: 46px;
  height: 62px;
  transform: translateY(-50%);
  font-size: 2.2rem;
}
.lb-prev { left: -64px; }
.lb-next { right: -64px; }

/* ── PREMIUM INTERACTION POLISH ───────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 20%), rgba(37,61,142,0.12), transparent 28rem);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.nav-links a.active { color: var(--brand-accent); }
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brand-accent);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 7s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-dots {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  z-index: 6;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: auto;
  margin: 0 0 36px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(8,12,18,0.34);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), width var(--transition);
}
.dot.active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  width: 26px;
  transform: none;
}
.hero-headlines {
  position: relative;
  min-height: clamp(14rem, 20vw, 18rem);
}
.slide-headline {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.slide-headline.active {
  opacity: 1;
  transform: translateY(0);
}

#impact-stats {
  padding: 0 0 90px;
  background: linear-gradient(180deg, rgba(8,12,18,0.96), var(--bg-2));
  border-top: 1px solid var(--border);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  transform: translateY(-42px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.32);
}
.impact-card,
.impact-cta {
  background: rgba(19,31,46,0.96);
  padding: 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.impact-label {
  color: var(--brand-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.impact-card strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 12px;
}
.impact-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}
.impact-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-light));
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.impact-cta::after {
  content: '';
  position: absolute;
  inset: -40% -25%;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.28), transparent 65%);
  transform: translateX(-70%);
  transition: transform 0.7s ease;
}
.impact-cta:hover::after { transform: translateX(70%); }
.impact-cta span,
.impact-cta em {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-style: normal;
  position: relative;
  z-index: 1;
}
.impact-cta strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 12px 0 18px;
  position: relative;
  z-index: 1;
}

#service-area {
  padding: 110px 0;
  background: #d9dee6;
  border-top: 1px solid var(--border);
}
.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 56px;
  align-items: center;
}
.area-copy p {
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 28px;
}
.area-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin: 2px 0 28px;
  padding: 12px 15px;
  background: rgba(243,245,247,0.78);
  border: 1px solid rgba(128,129,134,0.3);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(18,26,40,0.06);
}
.brand-service-chip img {
  width: 112px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-service-chip span {
  color: #354252;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}
.area-tab {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(19,31,46,0.72);
  padding: 10px 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.area-tab:hover,
.area-tab.active {
  background: var(--brand-accent);
  color: var(--white);
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}
.area-panel {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  background: rgba(8,12,18,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
.area-map {
  position: relative;
  background: #0e1420;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 0;
}
.area-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.8;
}
.regional-map-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}
.area-map-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(8,12,18,0.72);
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
  z-index: 4;
}
.area-map-logo {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  width: min(138px, 24%);
  height: auto;
  opacity: 0.5;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.26));
}
@keyframes pulseNode {
  70% { box-shadow: 0 0 0 18px rgba(37,61,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,61,142,0); }
}
.area-details {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area-details span {
  color: var(--brand-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.area-details h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.area-details p,
.area-details li {
  color: var(--text-muted);
  line-height: 1.75;
}
.area-details ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 22px 0 8px;
}
.area-details li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
}
.area-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--brand-accent);
  transform: rotate(45deg);
}

#inspection-tool,
#fit-check {
  padding: 110px 0;
  background:
    linear-gradient(120deg, rgba(8,12,18,0.98) 0%, rgba(13,21,32,0.88) 55%, rgba(8,12,18,0.96) 100%),
    url('images/pbi/substation.jpg') center/cover;
  border-top: 1px solid var(--border);
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: center;
}
.tool-left p {
  max-width: 510px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.tool-note {
  max-width: 520px;
  border-left: 3px solid var(--brand-accent);
  background: rgba(19,31,46,0.78);
  padding: 18px 20px;
  color: var(--text-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tool-note strong { color: var(--white); }
.roof-tool {
  background: rgba(19,31,46,0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.38);
  backdrop-filter: blur(12px);
}
.roof-tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.roof-tool-top h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.75rem;
}
#riskScore {
  color: var(--brand-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.risk-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.risk-option {
  min-height: 58px;
  text-align: left;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.risk-option:hover,
.risk-option.active {
  border-color: var(--brand-accent);
  background: rgba(37,61,142,0.12);
  color: var(--white);
  transform: translateY(-2px);
}
.risk-result {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  background: rgba(8,12,18,0.7);
}
.risk-result span {
  color: var(--brand-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.risk-result strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.08;
  margin: 9px 0;
}
.risk-result p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .area-layout,
  .tool-layout { grid-template-columns: 1fr; }
  .owner-video-layout { grid-template-columns: 1fr; }
  .application-hero { grid-template-columns: 1fr; }
  .application-copy {
    position: relative;
    top: auto;
    padding-top: 0;
  }
  .area-panel { grid-template-columns: 1fr; }
  .area-map { min-height: 340px; }
}

@media (max-width: 1500px) {
  .nav-name { font-size: 1.08rem; }
  .nav-logo-img {
    width: 96px;
    height: 36px;
  }
  .nav-inner {
    height: 70px;
    gap: 14px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a {
    font-size: 0.64rem;
    letter-spacing: 0.055em;
  }
  .nav-call .call-toggle {
    font-size: 0.75rem;
    padding: 7px 10px;
  }
}

@media (max-width: 1220px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 0.68rem; }
  .btn-nav { padding-inline: 16px; }
}

@media (max-width: 1380px) {
  .nav-links,
  .btn-nav,
  .nav-call { display: none; }
  .mobile-call-menu { display: block; }
  .hamburger { display: flex; }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .container,
  .nav-inner,
  .urgency-inner {
    width: 100%;
    max-width: 100%;
  }
  .nav-inner {
    height: 68px;
    padding-inline: 18px;
  }
  .application-shell {
    width: min(100% - 32px, 1180px);
    padding: 28px 0 54px;
  }
  .application-back { margin-bottom: 28px; }
  .application-copy h1,
  .thanks-panel h1 {
    font-size: clamp(3.2rem, 18vw, 4.5rem);
    overflow-wrap: anywhere;
  }
  .employment-form { padding: 22px; }
  .nav-name { font-size: 0.94rem; }
  .nav-logo { gap: 10px; min-width: 0; }
  .nav-logo-img {
    width: 86px;
    height: 32px;
  }
  .storm-urgency {
    padding: 8px 14px 0;
  }
  .urgency-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .urgency-mark {
    width: 58px;
    height: 22px;
    padding: 2px 5px;
  }
  .urgency-text {
    text-align: left;
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .btn-urgency {
    display: none;
  }
  .mobile-menu {
    top: 68px;
    bottom: 0;
    height: calc(100vh - 68px);
    max-height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
    padding: 22px 22px calc(34px + env(safe-area-inset-bottom));
  }
  .hero-dots {
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    display: inline-flex;
    margin-bottom: 32px;
  }
  #hero {
    min-height: 960px;
    align-items: flex-start;
  }
  .hero-content {
    padding: 190px 28px 150px;
  }
  .hero-eyebrow {
    gap: 10px;
    padding: 8px 10px;
  }
  .eyebrow-line {
    width: 20px;
    flex-basis: 20px;
  }
  .hero-eyebrow span {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  .impact-grid,
  .risk-options { grid-template-columns: 1fr; }
  .impact-grid { transform: translateY(-24px); }
  .impact-card,
  .impact-cta,
  .area-details,
  .roof-tool { padding: 24px; }
  .area-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .area-map {
    min-height: 310px;
    padding: 0;
  }
  .regional-map-img {
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .video-carousel-track,
  .area-panel,
  .roof-tool,
  .contact-form {
    max-width: 100%;
  }
  .owner-video-track {
    width: 100%;
    max-width: calc(100vw - 56px);
  }
  .owner-video-card {
    width: 100%;
    min-width: 100%;
    grid-template-columns: 1fr;
  }
  .video-placeholder {
    min-height: 260px;
    aspect-ratio: auto;
    padding: 24px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .tool-layout { gap: 36px; }
  .lb-prev { left: 0; top: auto; bottom: -62px; transform: none; }
  .lb-next { right: 0; top: auto; bottom: -62px; transform: none; }
}

@media (max-width: 900px) {
  .hero-dots {
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }
}

/* ── BRAND READABILITY PASS ─────────────────────────────────
   Use the official blue on light gray/white surfaces so it stays legible.
   Hero/nav/footer retain darker contrast zones for image depth.
*/
body {
  background: #cfd5de;
}

#impact-stats,
#services,
#service-area,
#people.people-preview-section,
#projects,
#fit-check,
#field-proof,
#proof,
#bonding,
#process,
#contact,
.people-page-body,
.people-section,
.people-cta-band {
  background: #d9dee6;
  border-top-color: rgba(128,129,134,0.32);
  color: #182231;
}

#services,
#projects,
#proof,
#contact,
.people-section {
  background: #e4e8ee;
}

#field-proof,
#process,
#people.people-preview-section,
.people-cta-band {
  background: #cfd5de;
}

#fit-check {
  background:
    linear-gradient(120deg, rgba(207,213,222,0.97), rgba(228,232,238,0.93)),
    url('images/pbi/substation.jpg') center/cover;
}

#project-support .insurance-bg-img,
#careers .careers-bg img {
  filter: brightness(0.82) grayscale(0.18);
}

#project-support .insurance-bg-overlay,
#careers .careers-overlay {
  background: linear-gradient(110deg, rgba(217,222,230,0.95) 34%, rgba(217,222,230,0.78) 100%);
}

#project-support .section-title,
#project-support .ins-text h4 {
  color: #121a28;
  text-shadow: none;
}

#project-support .section-title .brand-accent,
#project-support .section-label {
  color: var(--brand-blue);
}

#project-support .insurance-left p,
#project-support .ins-text p {
  color: #445160;
  text-shadow: none;
}

#impact-stats .section-title,
#services .section-title,
#service-area .section-title,
#people.people-preview-section .section-title,
#projects .section-title,
#fit-check .section-title,
#field-proof .section-title,
#proof .section-title,
#bonding .section-title,
#process .section-title,
#careers .section-title,
#contact .section-title,
.people-page-body .section-title,
.people-page-body h1,
.people-page-body h2,
.people-page-body h3,
.people-page-body h4,
#impact-stats h3,
#services h3,
#services h4,
#service-area h3,
#projects h3,
#fit-check h3,
#field-proof h4,
#proof h3,
#bonding h4,
#process h4,
#careers h2,
#contact h2 {
  color: #121a28;
}

#impact-stats p,
#services p,
#service-area p,
#service-area li,
#people.people-preview-section p,
#projects p,
#fit-check p,
#field-proof p,
#proof p,
#bonding p,
#process p,
#careers p,
#contact p,
.people-page-body p,
.people-page-body li,
.section-sub {
  color: #4f5d6b;
}

#hero .brand-accent,
#navbar .brand-accent,
#footer .brand-accent,
.application-page .brand-accent {
  color: #ffffff;
}

#services .services-mega-grid,
#impact-stats .impact-grid,
#field-proof .ba-grid {
  background: rgba(128,129,134,0.26);
  border-color: rgba(128,129,134,0.28);
}

#services .service-feature-card,
#services .service-standard-card,
#services .service-mini-card,
#impact-stats .impact-card,
#projects .gallery-item,
#projects .gallery-cta-item,
#field-proof .ba-card,
#proof .testi-card,
#bonding .fin-icon,
#process .pn-circle,
#contact .contact-form,
#contact .contact-dm-tip,
#contact .reach-icon,
.area-panel,
.roof-tool,
.risk-result,
.people-preview-card,
.person-card,
.people-cta-card {
  background: #f3f5f7;
  border-color: rgba(128,129,134,0.28);
  box-shadow: 0 18px 44px rgba(18,26,40,0.08);
}

#services .service-standard-card:hover,
#services .service-mini-card:hover,
#proof .testi-card.featured-testi {
  background: #e9edf2;
}

#services .sfc-img-overlay {
  background: linear-gradient(to right, transparent 58%, #ffffff);
}

#services .sfc-items span,
#services .ssc-items span,
#careers .perk,
#service-area .area-tab,
#contact .form-group input,
#contact .form-group select,
#contact .form-group textarea,
.application-page .form-group input,
.application-page .form-group select,
.application-page .form-group textarea {
  background: #e0e5eb;
  border-color: rgba(128,129,134,0.28);
  color: #182231;
}

#contact .form-group label,
#contact .reach-label,
.people-page-body .section-label,
#services .sfc-num,
#services .industrial-project,
#services .ssc-num,
#impact-stats .impact-label,
.person-card-body span,
.people-preview-meta span {
  color: var(--brand-blue);
}

#contact .reach-value,
#contact .contact-dm-tip strong,
#bonding .financing-left strong {
  color: #182231;
}

#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder {
  color: #707984;
}

#contact .form-note,
.field-note {
  color: #687483;
}

#fit-check .risk-result {
  background: #f3f5f7;
  border-color: rgba(128,129,134,0.32);
}

#fit-check .risk-result span {
  color: var(--brand-blue);
}

#fit-check .risk-result strong {
  color: #121a28;
  text-shadow: none;
}

#fit-check .risk-result p {
  color: #4f5d6b;
}

#projects .story-body h3 {
  color: #f7f9fc;
}

#projects .story-body p {
  color: #b8c0ca;
}

#impact-stats .impact-card strong {
  color: #121a28;
  text-shadow: none;
}

#impact-stats .impact-card p {
  color: #4f5d6b;
}

#proof .testi-author {
  border-top-color: rgba(128,129,134,0.28);
}

#proof .testi-name {
  color: #182231;
}

#proof .testi-location {
  color: #687483;
}

#careers .careers-content {
  max-width: 760px;
}

#careers .careers-note {
  color: #4f5d6b;
}

.people-preview-section {
  padding: 105px 0;
}

.people-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
}

.people-preview-copy p {
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.people-preview-card {
  border: 1px solid rgba(128,129,134,0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.people-preview-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(128,129,134,0.24);
}

.people-preview-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.people-preview-photos .co-owner-preview {
  filter: saturate(1.03) contrast(1.02);
}

.people-preview-meta {
  padding: 26px 28px;
}

.people-preview-meta span {
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.people-preview-meta strong {
  display: block;
  color: #182231;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.people-page-body {
  color: #182231;
}

.people-page-body #navbar,
.page-navbar {
  background: rgba(229,234,240,0.97);
  border-bottom-color: rgba(128,129,134,0.28);
  box-shadow: 0 12px 32px rgba(18,26,40,0.16);
}

.people-main {
  padding-top: 76px;
}

.people-hero {
  padding: 92px 0 68px;
  background:
    linear-gradient(135deg, rgba(228,232,238,0.97), rgba(207,213,222,0.92)),
    url('images/pbi/office-latrobe.jpg') center/cover;
  border-bottom: 1px solid rgba(128,129,134,0.28);
}

.people-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: 56px;
  align-items: end;
}

.people-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
  margin-bottom: 22px;
  max-width: 980px;
}

.people-hero p {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.people-hero-logo,
.application-brand-logo {
  display: block;
  width: min(320px, 72vw);
  height: auto;
  object-fit: contain;
  margin-top: 30px;
  opacity: 0.88;
}

.application-brand-logo {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(37,61,142,0.28);
  border-radius: var(--radius);
  padding: 8px;
  width: min(260px, 72vw);
  margin: 0 0 28px;
}

.people-hero-proof {
  display: grid;
  gap: 10px;
}

.people-hero-proof span {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(128,129,134,0.28);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #182231;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  box-shadow: 0 14px 34px rgba(18,26,40,0.08);
}

.people-section {
  padding: 105px 0;
}

.field-section {
  background: #cfd5de;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.field-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.person-card {
  border: 1px solid rgba(128,129,134,0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.person-card.co-owner-highlight {
  border-color: rgba(37,61,142,0.48);
  box-shadow: 0 24px 58px rgba(37,61,142,0.14);
}

.person-card.co-owner-highlight .person-card-body {
  background:
    linear-gradient(135deg, rgba(37,61,142,0.08), rgba(255,255,255,0) 48%),
    #f3f5f7;
}

.person-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #d7dde4;
}

.field-grid .person-card img {
  aspect-ratio: 4 / 5;
}

.person-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.person-card-body span {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
}

.person-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1;
}

.person-card-body p {
  font-size: 0.92rem;
  line-height: 1.72;
}

.people-cta-band {
  padding: 86px 0 105px;
}

.people-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(128,129,134,0.28);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
}

.people-cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  max-width: 700px;
}

.people-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .people-preview-layout,
  .people-hero-layout {
    grid-template-columns: 1fr;
  }

  .people-grid,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .people-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .people-main {
    padding-top: 68px;
  }

  .people-hero {
    padding: 72px 0 48px;
  }

  .people-hero h1 {
    font-size: clamp(2.4rem, 10.8vw, 3.6rem);
    line-height: 1;
  }

  .people-preview-section,
  .people-section,
  .people-cta-band {
    padding: 72px 0;
  }

  .people-preview-layout {
    gap: 34px;
  }

  .people-preview-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .people-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

/* ── MOBILE UX POLISH ────────────────────────────────────────── */
html {
  scroll-padding-top: 112px;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.hero-headlines {
  height: clamp(24rem, 32vw, 30rem);
  min-height: 0;
}

.slide-headline,
.slide-headline.active {
  position: absolute;
  width: 100%;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 86px;
  }

  .service-feature-card {
    min-height: 0;
  }

  .sfc-img {
    height: 220px;
  }

  .sfc-content {
    padding: 34px 28px 36px;
  }

  .service-division-logo {
    width: min(220px, 76%);
    max-height: 78px;
    margin-bottom: 18px;
  }

  .sfc-content h3 {
    font-size: clamp(2.55rem, 12vw, 3.2rem);
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-inline: 18px;
    line-height: 1.35;
  }

  .btn-service {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: clamp(0.62rem, 2.5vw, 0.76rem);
    letter-spacing: 0.055em;
    line-height: 1.25;
    white-space: nowrap;
  }

  .home-page #navbar {
    transform: translateY(0) !important;
  }

  .hero-headlines {
    height: clamp(16rem, 62vw, 19rem);
  }

  .hero-slide.active {
    animation: none;
    transform: scale(1.02);
  }

  #bonding .financing-layout {
    gap: 42px;
  }

  #bonding .financing-right {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  #bonding .financing-img-overlay {
    background: linear-gradient(to top, rgba(8,12,18,0.84) 0%, rgba(8,12,18,0.22) 72%);
  }

  #bonding .financing-badge {
    left: 22px;
    right: 22px;
    bottom: 20px;
    padding: 20px 16px 18px;
  }

  #bonding .fb-big {
    font-size: clamp(3.25rem, 16vw, 4.2rem);
    line-height: 0.92;
    margin-bottom: 8px;
  }

  #bonding .fb-label {
    font-size: 0.8rem;
    line-height: 1.35;
  }
}
