/*
Theme Name:  Clear Path Connection
Theme URI:   https://clearpathconnection.com
Author:      Clear Path Connection
Description: Custom WordPress theme for Clear Path Connection — AT&T Authorized Solution Provider
Version:     2.0
Text Domain: cpc
*/

/* ================================================================
   DESIGN TOKENS
================================================================ */
:root {
  /* Palette */
  --canvas:       #050D18;
  --navy:         #081628;
  --navy-mid:     #0D2240;
  --sky:          #00A8E8;
  --sky-dim:      rgba(0,168,232,0.10);
  --sky-border:   rgba(0,168,232,0.22);
  --sky-glow:     rgba(0,168,232,0.06);
  --accent:       #E85D04;
  --accent-h:     #F26918;
  --accent-dim:   rgba(232,93,4,0.18);
  --light:        #EFF4FA;
  --light-mid:    #E4ECF5;
  --white:        #FFFFFF;

  /* Text */
  --ink:          #0A1520;
  --ink-2:        #2D3E52;
  --ink-3:        #5A6E82;

  /* Surfaces */
  --surface-d:    rgba(255,255,255,0.04);
  --border-d:     rgba(255,255,255,0.07);
  --border-d2:    rgba(255,255,255,0.12);
  --border-l:     rgba(10,21,32,0.08);
  --border-l2:    rgba(10,21,32,0.14);

  /* Radii */
  --r:            10px;
  --r-lg:         18px;
  --r-xl:         26px;

  /* Layout */
  --max-w:        1240px;
  --nav-h:        64px;

  /* Fonts */
  --f-head:       'Barlow', system-ui, sans-serif;
  --f-body:       'Outfit', system-ui, sans-serif;

  /* Motion */
  --spring:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--f-body); cursor: pointer; }
address { font-style: normal; }

/* ================================================================
   GRAIN — fixed, never on scrolling containers
================================================================ */
.grain {
  position: fixed; inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
}

/* ================================================================
   TYPOGRAPHY
================================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.875rem;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--sky-dim);
  color: var(--sky);
  border: 1px solid var(--sky-border);
  margin-bottom: 1.25rem;
}
.eyebrow.on-light {
  background: rgba(10,21,32,0.05);
  color: var(--ink-2);
  border-color: var(--border-l2);
}
.eyebrow.accent {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(232,93,4,0.25);
}

.display-heading {
  font-family: var(--f-head);
  font-size: clamp(3rem, 6vw, 5.75rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display-heading .sky  { color: var(--sky); }
.display-heading .dim  { color: rgba(255,255,255,0.38); }
.display-heading strong { font-weight: 800; }

.section-heading {
  font-family: var(--f-head);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-heading strong { font-weight: 800; }
.section-heading .sky { color: var(--sky); }

.section-sub {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 58ch;
  margin-top: 1.125rem;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
  max-width: 64ch;
}
.prose p:last-child { margin-bottom: 0; }

/* Dark context overrides */
.on-dark .section-sub,
.on-dark .prose p,
.section-sub.on-dark,
.prose.on-dark p       { color: rgba(255,255,255,0.6); }
.on-dark .section-heading,
.on-dark .display-heading,
.section-heading.on-dark,
.display-heading.on-dark { color: var(--white); }

/* ================================================================
   BUTTONS
================================================================ */
.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background  0.28s var(--spring),
    box-shadow  0.28s var(--spring),
    transform   0.22s var(--spring),
    border-color 0.2s,
    color 0.2s;
  position: relative;
  white-space: nowrap;
}
.btn-primary:active,
.btn-ghost:active,
.btn-outline:active { transform: scale(0.97) translateY(1px) !important; }

/* Trailing icon — button-in-button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  flex-shrink: 0;
  font-style: normal;
  transition: transform 0.28s var(--spring), background 0.2s;
}
.btn-primary:hover .btn-icon,
.btn-ghost:hover .btn-icon  { transform: translate(2px, -1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(232,93,4,0.32);
}
.btn-primary:hover {
  background: var(--accent-h);
  box-shadow: 0 6px 32px rgba(232,93,4,0.44);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-l2);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--light);
  transform: translateY(-2px);
}

.btn-sky {
  background: var(--sky-dim);
  color: var(--sky);
  border: 1.5px solid var(--sky-border);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 100px;
  font-family: var(--f-body); font-size: 0.875rem; font-weight: 600;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s var(--spring);
  white-space: nowrap;
}
.btn-sky:hover {
  background: rgba(0,168,232,0.18);
  box-shadow: 0 4px 18px rgba(0,168,232,0.2);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================================================================
   NAVIGATION — floating island
================================================================ */
.site-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: calc(var(--max-w) + 2rem);
  z-index: 500;
  height: var(--nav-h);
  background: rgba(5,13,24,0.72);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid var(--border-d2);
  border-radius: 20px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.3s;
}
.site-nav.scrolled {
  background: rgba(5,13,24,0.94);
  border-color: var(--border-d);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.nav-inner {
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--f-head);
  font-size: 1.125rem; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex; align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.62);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5625rem 1.25rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 0.875rem; font-weight: 600;
  border: none;
  box-shadow: 0 3px 16px rgba(232,93,4,0.3);
  transition: background 0.25s var(--spring), box-shadow 0.25s, transform 0.2s var(--spring);
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--accent-h);
  box-shadow: 0 5px 22px rgba(232,93,4,0.44);
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-d2);
  border-radius: 10px;
  margin-left: auto;
}
.burger-line {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.38s var(--spring), opacity 0.22s;
}
.nav-burger.is-open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed; inset: 0;
  z-index: 490;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  background: rgba(5,13,24,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.38s var(--spring), transform 0.38s var(--spring);
}
.nav-overlay.is-open { opacity: 1; pointer-events: all; transform: none; }
.nav-overlay-close {
  position: absolute; top: 1.5rem; right: 1.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-d2);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.nav-overlay-close:hover { background: rgba(255,255,255,0.14); }
.nav-overlay ul { display: flex; flex-direction: column; }
.nav-overlay a {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border-d);
  opacity: 0; transform: translateY(14px);
  transition: color 0.2s, opacity 0.42s var(--spring), transform 0.42s var(--spring);
}
.nav-overlay.is-open li:nth-child(1) a { opacity:1; transform:none; transition-delay:.06s; }
.nav-overlay.is-open li:nth-child(2) a { opacity:1; transform:none; transition-delay:.11s; }
.nav-overlay.is-open li:nth-child(3) a { opacity:1; transform:none; transition-delay:.16s; }
.nav-overlay.is-open li:nth-child(4) a { opacity:1; transform:none; transition-delay:.21s; }
.nav-overlay.is-open li:nth-child(5) a { opacity:1; transform:none; transition-delay:.26s; }
.nav-overlay a:hover { color: var(--white); }
.nav-overlay li:last-child a { border-bottom: none; }
.nav-overlay .overlay-cta { color: var(--accent) !important; }

/* ================================================================
   LAYOUT HELPERS
================================================================ */
.section {
  padding: 7rem 2rem;
  position: relative;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}

/* Section backgrounds */
.bg-canvas   { background: var(--canvas); }
.bg-navy     { background: var(--navy); }
.bg-light    { background: var(--light); }
.bg-white    { background: var(--white); }
.bg-darkest  { background: #030810; }

/* ================================================================
   HERO — homepage, full viewport
================================================================ */
.site-hero {
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  background: var(--canvas);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Layered ambient glows + dark image overlay */
.hero-glow {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(5,13,24,0.78) 0%, rgba(5,13,24,0.52) 52%, rgba(5,13,24,0.28) 100%),
    linear-gradient(to top, rgba(5,13,24,0.55) 0%, transparent 45%),
    radial-gradient(ellipse 70% 60% at 72% 38%, rgba(0,168,232,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 15% 70%, rgba(13,34,64,0.55) 0%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 88% 82%, rgba(232,93,4,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(0,168,232,0.04) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.hero-content { max-width: 640px; }
.hero-content .display-heading {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-content .section-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.125rem;
  margin-bottom: 2.75rem;
  max-width: 52ch;
}

/* Right: Double-bezel badge card */
.hero-aside { position: relative; }
.badge-shell {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-d2);
  border-radius: var(--r-xl);
  padding: 6px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.badge-core {
  background: rgba(8,22,40,0.8);
  border-radius: calc(var(--r-xl) - 6px);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.06);
}
.badge-core-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.badge-core img {
  max-width: 200px;
  width: 100%;
  height: auto;
  filter: brightness(1.06) drop-shadow(0 0 12px rgba(0,168,232,0.2));
}
.badge-core-divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-d2), transparent);
}
/* Decorative floating glow dot */
.hero-aside::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* ================================================================
   PRODUCT BENTO — homepage feature section
================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Row 1: Mobility — full-width featured */
.bento-feature {
  grid-column: 1 / -1;
}

/* Row 2: Wireline + Voice side-by-side */
.bento-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Outer shell — double-bezel */
.bento-card {
  background: rgba(239,244,250,0.6);
  border: 1px solid var(--border-l);
  border-radius: var(--r-xl);
  padding: 6px;
  transition:
    border-color 0.3s var(--spring),
    box-shadow   0.3s var(--spring),
    transform    0.3s var(--spring);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,168,232,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.bento-card:hover { border-color: var(--sky-border); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,168,232,0.08), 0 4px 12px rgba(0,0,0,0.06); }
.bento-card:hover::before { opacity: 1; }

/* Inner core */
.bento-card-inner {
  background: var(--white);
  border-radius: calc(var(--r-xl) - 6px);
  padding: 2.5rem;
  position: relative; z-index: 1;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Featured variant — dark, full-width */
.bento-card.bento-dark {
  background: rgba(8,22,40,0.95);
  border-color: var(--border-d2);
}
.bento-card.bento-dark:hover {
  border-color: var(--sky-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px var(--sky-border);
}
.bento-card.bento-dark .bento-card-inner {
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
}
.bento-card.bento-dark .bento-card-inner::after { display: none; }

/* Dark card content */
.bento-dark-content {}
.bento-dark-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.firstnet-badge-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-d2);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.firstnet-badge-wrap img { max-width: 160px; height: auto; }
.bento-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.bento-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-d);
  border-radius: var(--r);
  padding: 1rem;
}
.bento-stat-num {
  font-family: var(--f-head);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.bento-stat-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* Card icon */
.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--light);
  border: 1px solid var(--border-l2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.bento-card:hover .card-icon     { background: var(--sky-dim); color: var(--sky); border-color: var(--sky-border); }
.bento-card.bento-dark .card-icon{ background: rgba(0,168,232,0.1); border-color: var(--sky-border); color: var(--sky); }

.card-title {
  font-family: var(--f-head);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.bento-card.bento-dark .card-title { color: var(--white); font-size: 1.875rem; }

.card-body {
  font-size: 0.9375rem;
  color: var(--ink-3);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 2rem;
}
.bento-card.bento-dark .card-body { color: rgba(255,255,255,0.55); }

.card-cta {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--ink-2);
  margin-top: auto;
  transition: color 0.22s, gap 0.25s var(--spring);
}
.bento-card:hover .card-cta     { color: var(--sky); gap: 0.875rem; }
.bento-card.bento-dark .card-cta{ color: var(--sky); }

.card-cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border-l2);
  font-style: normal;
  transition: background 0.22s, border-color 0.22s, transform 0.28s var(--spring);
}
.bento-card.bento-dark .card-cta-icon { background: var(--sky-dim); border-color: var(--sky-border); }
.bento-card:hover .card-cta-icon { transform: translate(3px, -2px); background: var(--sky-dim); border-color: var(--sky-border); }

/* ================================================================
   DIFFERENTIATORS — divider-style, no card boxes
================================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-d);
  border-left: 1px solid var(--border-d);
}
.diff-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
}
.diff-num {
  font-family: var(--f-head);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--sky);
  margin-bottom: 1.25rem;
  display: block;
}
.diff-title {
  font-family: var(--f-head);
  font-size: 1.125rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.diff-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.72;
}

/* ================================================================
   PAGE HERO — inner pages
================================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 5.5rem);
  padding-bottom: 5.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(5,13,24,0.82) 0%, rgba(5,13,24,0.58) 50%, rgba(5,13,24,0.32) 100%),
    linear-gradient(to top, rgba(5,13,24,0.6) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 90% 20%, rgba(0,168,232,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 5% 90%, rgba(0,168,232,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero .display-heading {
  color: var(--white);
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}
.page-hero .section-sub { color: rgba(255,255,255,0.62); }

.page-breadcrumb {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.page-breadcrumb a { transition: color 0.2s; }
.page-breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.page-breadcrumb span[aria-hidden] { opacity: 0.3; }

/* ================================================================
   SERVICES GRID — inner pages
================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.services-grid.three-col { grid-template-columns: repeat(3, 1fr); }

/* Double-bezel service card */
.service-card {
  background: rgba(239,244,250,0.5);
  border: 1px solid var(--border-l);
  border-radius: var(--r-xl);
  padding: 6px;
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s var(--spring);
}
.service-card:hover {
  border-color: var(--sky-border);
  box-shadow: 0 10px 36px rgba(0,168,232,0.07), 0 3px 10px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.service-card-inner {
  background: var(--white);
  border-radius: calc(var(--r-xl) - 6px);
  padding: 2.25rem;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.service-card-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--light); border: 1px solid var(--border-l2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); margin-bottom: 1.5rem;
  transition: background 0.22s, color 0.22s;
}
.service-card:hover .service-card-icon { background: var(--sky-dim); color: var(--sky); border-color: var(--sky-border); }
.service-card-title {
  font-family: var(--f-head);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 0.75rem;
}
.service-card-body {
  font-size: 0.9375rem; color: var(--ink-3); line-height: 1.75;
}

/* ================================================================
   SPLIT SECTION
================================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-content .section-heading { margin-bottom: 1.25rem; }
.split-content .prose           { margin-bottom: 2rem; }
.split-visual {}

/* Stat block */
.stat-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-d2);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat-item {
  padding: 2rem 2.25rem;
  border-bottom: 1px solid var(--border-d);
}
.stat-item:last-child { border-bottom: none; }
.stat-num {
  font-family: var(--f-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800; color: var(--white);
  line-height: 1; letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
}
.stat-num .unit { font-size: 0.6em; font-weight: 700; opacity: 0.7; }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.42); }

/* ================================================================
   FIRSTNET CALLOUT
================================================================ */
.firstnet-callout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-d2);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.firstnet-callout::before {
  content: '';
  position: absolute; top: -40px; left: -40px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.firstnet-badge-panel {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.firstnet-badge-panel img { max-width: 200px; height: auto; }
.firstnet-content .section-heading { color: var(--white); margin-bottom: 1rem; }
.firstnet-content .prose p         { color: rgba(255,255,255,0.6); }

/* ================================================================
   PARTNER STRIP
================================================================ */
.partner-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
}
.partner-strip img { height: 48px; width: auto; opacity: 0.85; }

/* ================================================================
   CTA STRIP
================================================================ */
.cta-strip {
  padding: 7rem 2rem;
  background: var(--canvas);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,4,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip-inner {
  max-width: 800px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  flex-wrap: wrap;
}
.cta-strip .section-heading { color: var(--white); }
.cta-strip-actions { flex-shrink: 0; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: #030810;
  border-top: 1px solid var(--border-d);
  padding: 5rem 2rem 2.5rem;
}
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-d);
  margin-bottom: 2rem;
}
.footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.footer-logo-img  { height: 34px; width: auto; }
.footer-tagline {
  font-size: 0.875rem; color: rgba(255,255,255,0.38);
  line-height: 1.75; max-width: 26ch; margin-bottom: 1.75rem;
}
.footer-badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-badge  { height: 34px; width: auto; opacity: 0.8; }
.footer-col-label {
  font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.9rem; color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-address p { font-size: 0.875rem; color: rgba(255,255,255,0.48); line-height: 1.8; }
.footer-address a { color: var(--sky); transition: color 0.2s; }
.footer-address a:hover { color: rgba(0,168,232,0.75); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.24); }
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.22); max-width: 50ch; text-align: right; line-height: 1.55; }
.footer-legal-links { display: flex; gap: 1.25rem; width: 100%; margin-top: 0.25rem; }
.footer-legal-links a { font-size: 0.75rem; color: rgba(255,255,255,0.28); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--sky); }

/* ================================================================
   CONTACT
================================================================ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 320px; gap: 5rem; align-items: start;
}
.contact-sidebar {
  display: flex; flex-direction: column; gap: 1.5rem;
  position: sticky; top: calc(var(--nav-h) + 2.5rem);
}
.sidebar-card {
  background: var(--navy);
  border: 1px solid var(--border-d2);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  color: var(--white);
}
.sidebar-card.light {
  background: var(--light);
  border-color: var(--border-l2);
  color: var(--ink);
}
.sidebar-card.light .sidebar-heading { color: var(--ink); }
.sidebar-card.light .sidebar-steps li { color: var(--ink-2); }
.sidebar-badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.sidebar-badges img { height: 34px; width: auto; opacity: 0.88; }
.sidebar-blurb { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; }
.sidebar-address { font-style: normal; display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.75rem; }
.sidebar-address p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.sidebar-address a { color: var(--sky); transition: color 0.2s; }
.sidebar-address a:hover { color: rgba(0,168,232,0.75); }
.sidebar-heading {
  font-family: var(--f-head); font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}
.sidebar-steps { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-steps li { font-size: 0.875rem; color: var(--ink-2); line-height: 1.6; }

/* GHL embed wrapper */
.ghl-form-wrap { width: 100%; }
.ghl-form-wrap iframe {
  width: 100%;
  border: none;
  border-radius: var(--r-lg);
  display: block;
}

/* Contact form (legacy — kept for reference) */
.contact-form { display: flex; flex-direction: column; gap: 1.375rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 0.875rem 1.125rem;
  font-family: var(--f-body); font-size: 0.9375rem;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--border-l2); border-radius: var(--r);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0,168,232,0.1);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-success {
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-left: 3px solid #388e3c; border-radius: var(--r);
  padding: 1.5rem 1.75rem; color: #1b5e20;
}
.form-success h2 { font-family: var(--f-head); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-errors {
  background: #fdecea; border: 1px solid #ef9a9a;
  border-left: 3px solid #c62828; border-radius: var(--r);
  padding: 1rem 1.5rem; color: #b71c1c; font-size: 0.875rem;
}
.form-errors ul { padding-left: 1.25rem; }
.form-errors li { margin-bottom: 0.25rem; }

/* About page */
.about-highlight-card {
  background: var(--navy); border: 1px solid var(--border-d2);
  border-radius: var(--r-xl); padding: 2.25rem;
}
.about-highlights-list { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 1.25rem; }
.about-highlights-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem; color: rgba(255,255,255,0.72); line-height: 1.5;
}
.about-highlights-list li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sky); margin-top: 0.55rem;
}
.partner-strip-inline { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.75rem; }
.partner-strip-inline img { height: 32px; width: auto; opacity: 0.85; }

/* Team section */
.team-section { border-top: 1px solid var(--border-l); }
.team-intro { margin-bottom: 3.5rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.team-card {
  background: var(--white);
  border: 1.5px solid var(--border-l2);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  border-color: var(--sky-border);
  box-shadow: 0 8px 40px rgba(0,168,232,0.08);
}
.team-card-inner { padding: 2.25rem 2rem; height: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.team-card-header { display: flex; align-items: center; gap: 1.25rem; }
.team-photo {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border-l2);
}
.team-card-name-block { display: flex; flex-direction: column; gap: 0.25rem; }
.team-name {
  font-family: var(--f-head); font-size: 1.375rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.015em;
}
.team-title {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sky);
}
.team-card-body { display: flex; flex-direction: column; gap: 1.25rem; }
.team-stats { display: flex; gap: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-l); }
.team-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.team-stat-num {
  font-family: var(--f-head); font-size: 1.75rem; font-weight: 800;
  color: var(--sky); letter-spacing: -0.02em; line-height: 1;
}
.team-stat-label { font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.04em; }
.team-bio { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; }

/* Privacy page */
.privacy-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  align-items: start;
}
.privacy-toc {
  position: sticky; top: calc(var(--nav-h) + 2.5rem);
  background: var(--light); border: 1.5px solid var(--border-l2);
  border-radius: var(--r-xl); padding: 1.75rem;
}
.privacy-toc-label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem;
}
.privacy-toc-list { display: flex; flex-direction: column; gap: 0.5rem; counter-reset: none; padding-left: 0; }
.privacy-toc-list li { font-size: 0.875rem; }
.privacy-toc-list a { color: var(--ink-2); transition: color 0.2s; }
.privacy-toc-list a:hover { color: var(--sky); }
.privacy-body { display: flex; flex-direction: column; gap: 0; }
.privacy-intro {
  padding: 2rem; background: var(--light); border-radius: var(--r-lg);
  margin-bottom: 3rem; border-left: 3px solid var(--sky);
}
.privacy-intro p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.75; }
.privacy-section { padding-bottom: 3rem; border-bottom: 1px solid var(--border-l); margin-bottom: 3rem; }
.privacy-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.privacy-heading {
  font-family: var(--f-head); font-size: 1.375rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1.25rem;
}
.privacy-sub-heading {
  font-family: var(--f-head); font-size: 1rem; font-weight: 700;
  color: var(--ink-2); margin: 1.5rem 0 0.625rem;
}
.privacy-section p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 0.875rem; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.875rem; }
.privacy-section ul li { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.65; }
.privacy-contact-block {
  background: var(--light); border: 1.5px solid var(--border-l2);
  border-radius: var(--r-lg); padding: 1.5rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1rem;
}
.privacy-contact-block p { font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 0; }
.privacy-contact-block a { color: var(--sky); transition: color 0.2s; }
.privacy-contact-block a:hover { color: var(--sky); opacity: 0.75; }

/* ================================================================
   REVEAL ANIMATIONS
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(3px);
  transition:
    opacity   0.82s var(--spring),
    transform 0.82s var(--spring),
    filter    0.82s var(--spring);
  will-change: opacity, transform, filter;
}
.reveal.revealed { opacity: 1; transform: none; filter: blur(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.25s; }
.d4 { transition-delay: 0.34s; }
.d5 { transition-delay: 0.43s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 3rem; }
  .hero-aside       { max-width: 400px; }
  .diff-grid        { grid-template-columns: 1fr 1fr; }
  .diff-item:nth-child(2) { border-right: none; }
  .diff-item:nth-child(3) { border-right: 1px solid var(--border-d); }
  .footer-top       { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .split            { gap: 3rem; }
  .firstnet-callout { grid-template-columns: 1fr; gap: 2rem; }
  .bento-card.bento-dark .bento-card-inner { grid-template-columns: 1fr; }
  .bento-dark-visual { display: none; }
}
@media (max-width: 900px) {
  .bento-row        { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-nav         { left: 1rem; right: 1rem; width: calc(100% - 2rem); top: 0.625rem; border-radius: 16px; transform: none; max-width: none; }
  .nav-links        { display: none; }
  .nav-cta          { display: none; }
  .nav-burger       { display: flex; }
  .hero-inner       { padding: 3rem 1.5rem; }
  .page-hero        { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section          { padding: 5rem 1.25rem; }
  .cta-strip        { padding: 5rem 1.25rem; }
  .cta-strip-inner  { flex-direction: column; align-items: flex-start; }
  .split            { grid-template-columns: 1fr; }
  .services-grid    { grid-template-columns: 1fr; }
  .services-grid.three-col { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .contact-wrap     { grid-template-columns: 1fr; gap: 3rem; }
  .contact-sidebar  { position: static; }
  .footer-top       { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer{ text-align: left; max-width: none; }
  .partner-strip    { gap: 2rem; }
  .diff-grid        { grid-template-columns: 1fr; }
  .diff-item        { border-right: none; }
  .team-grid        { grid-template-columns: 1fr; }
  .privacy-wrap     { grid-template-columns: 1fr; gap: 2.5rem; }
  .privacy-toc      { position: static; }
}
@media (max-width: 480px) {
  .hero-actions     { flex-direction: column; align-items: flex-start; }
  .bento-card-inner { padding: 1.75rem; }
  .section-heading  { font-size: clamp(1.75rem, 5vw, 2.5rem); }
}
