/* DTG site refresh v5 polish */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: 'Inter', Arial, sans-serif; line-height: 1.6; color: #222; background: #fff; }
img { max-width: 100%; }
a { color: #005c93; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 1rem; }

.site-header { background: #fff; border-bottom: 1px solid #d5dce6; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: .85rem; padding-bottom: .85rem; }
.brand { display: flex; align-items: center; gap: .95rem; text-decoration: none; color: #061a34; }
.brand img { height: 78px; width: auto; object-fit: contain; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1.72rem; line-height: 1.05; color: #005c93; }
.brand-tagline { font-size: 1rem; font-weight: 700; color: #333; margin-top: .05rem; letter-spacing: .03em; }

.phone-block { text-align: right; color: #061a34; }
.phone-block a { display: block; font-size: 1.25rem; letter-spacing: .03em; font-weight: 700; color: #005c93; text-decoration: none; line-height: 1.1; }
.phone-block a:hover, .phone-block a:focus { color: #061a34; text-decoration: none; }
.phone-block span { display: block; font-size: .82rem; color: #555; margin-top: .05rem; }

.site-nav { background: #061a34; }
.nav-wrap { display: flex; justify-content: flex-end; gap: .6rem; padding-top: .55rem; padding-bottom: .55rem; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; padding: .42rem .75rem; border-radius: 4px; transition: background .2s ease, color .2s ease; }
.site-nav a:hover, .site-nav a:focus { background: #005c93; text-decoration: none; color: #fff; }
.page-home .site-nav a[data-page="home"],
.page-services .site-nav a[data-page="services"],
.page-company .site-nav a[data-page="company"],
.page-clients .site-nav a[data-page="clients"],
.page-contact .site-nav a[data-page="contact"] { background: #0b5f94; color: #fff; cursor: default; }

.page-hero { min-height: 230px; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 26, 52, .74), rgba(6, 26, 52, .18)); }
.hero-clients::before, .hero-contact::before { background: linear-gradient(90deg, rgba(6, 26, 52, .60), rgba(6, 26, 52, .08)); }
.hero-wrap { position: relative; z-index: 1; max-width: 1100px; padding-top: 2.7rem; padding-bottom: 1.75rem; }
.page-hero h1 { font-size: clamp(1.85rem, 3.25vw, 2.58rem); line-height: 1.08; margin-bottom: .55rem; max-width: 930px; }
.page-hero p { max-width: 760px; font-size: 1.03rem; font-weight: 700; }

.hero-home { background-image: url("/images/hero-home.png?v=14"); }
.hero-services { background-image: url("/images/hero-services.png?v=14"); }
.hero-company { background-image: url("/images/hero-company.png?v=14"); }
.hero-clients { background-image: url("/images/hero-clients.png?v=14"); }
.hero-contact { background-image: url("/images/hero-contact.png?v=14"); }

main section.wrap { margin-top: 2rem; margin-bottom: 2rem; }
h2 { color: #061a34; font-size: 1.65rem; margin-bottom: .75rem; }
h3 { color: #061a34; margin-top: .85rem; margin-bottom: .5rem; }
p + p { margin-top: .8rem; }

.two-column, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.callout { background: #f0f4ff; border-left: 5px solid #005c93; padding: 1.25rem; border-radius: 8px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.card { background: #fff; padding: 1.25rem; border: 1px solid #d8dde6; border-radius: 10px; box-shadow: 0 8px 20px rgba(6, 26, 52, 0.06); }
.service-card { display: block; text-decoration: none; color: #222; min-height: 100%; background-image: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.88)), url("/images/hero-home.png?v=14"); background-size: cover; background-position: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card h3 { transition: color .2s ease; }
.service-card:hover, .service-card:focus { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6, 26, 52, 0.12); border-color: #005c93; }
.service-card:hover h3, .service-card:focus h3 { color: #008bd2; }

.button-link { display: inline-block; margin-top: .5rem; background: #061a34; color: #fff; text-decoration: none; padding: .7rem 1.1rem; border-radius: 6px; font-weight: 700; }
.button-link:hover { background: #061a34; color: #19a7e8; text-decoration: none; }
.button-link.secondary { background: #005c93; margin-left: .5rem; }
.button-link.secondary:hover { background: #005c93; color: #76d9ff; }

.panel-shell, .service-panel { border: 1px solid #d8dde6; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(6, 26, 52, 0.06); }
.services-intro { margin-bottom: 2rem; }
.service-panel { margin: 2rem 0; }
.section-banner { min-height: 76px; display: flex; align-items: center; padding: .85rem 1.5rem; background-size: cover; background-repeat: no-repeat; background-position: center; position: relative; overflow: hidden; }
.section-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 26, 52, .72), rgba(6, 26, 52, .18)); }
.section-banner h2 { position: relative; z-index: 1; color: #fff; font-size: clamp(1.28rem, 2.3vw, 1.75rem); line-height: 1.15; letter-spacing: .02em; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.service-panel-body { padding: 1.25rem 1.5rem 1.4rem; }
.service-panel-body ul { padding-left: 1.25rem; margin-bottom: .5rem; }
.service-panel-body li { margin-bottom: .45rem; }

.service-bg-what-we-do { background-image: url("/images/sub-hero-services-what-we-do.png?v=14"); }
.service-bg-analysis { background-image: url("/images/sub-hero-services-service-analysis.png?v=14"); }
.service-bg-billing { background-image: url("/images/sub-hero-services-billing-analysis.png?v=14"); }
.service-bg-documentation { background-image: url("/images/sub-hero-services-network-service-documentation.png?v=14"); }
.service-bg-installations { background-image: url("/images/sub-hero-services-coordinated-service-installations.png?v=14"); }
.service-bg-maintenance { background-image: url("/images/sub-hero-services-account-maintenance.png?v=14"); }
.company-bg-partners { background-image: url("/images/sub-hero-company-partners.png?v=14"); }
.clients-bg-representative { background-image: url("/images/sub-hero-clients-representative-clients.png?v=14"); }

.logo-grid { display: grid; gap: 1.35rem; align-items: center; margin-top: 1.5rem; }
.logo-grid img { width: 100%; max-width: 175px; height: 76px; object-fit: contain; display: block; margin: 0 auto; opacity: .86; filter: saturate(82%); transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.logo-grid img:hover { opacity: 1; filter: saturate(110%); transform: translateY(-1px); }
.partner-logo-grid, .client-logo-grid { padding: 1.5rem; border: 1px solid #d8dde6; border-radius: 10px; background: #fafafa; }
.partner-logo-grid, .client-logo-grid { grid-template-columns: repeat(4, 1fr); }

.contact-buttons { margin-top: 1.25rem; }

.site-footer { background: #061a34; color: #fff; text-align: center; padding: 1rem 0; margin-top: 3rem; }

@media (max-width: 1000px) {
  .partner-logo-grid, .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .phone-block { text-align: left; }
  .nav-wrap { justify-content: flex-start; flex-wrap: wrap; gap: .55rem; }
  .two-column, .contact-layout { grid-template-columns: 1fr; }
  .section-banner { min-height: 70px; padding: .8rem 1.15rem; }
  .service-panel-body { padding: 1.15rem 1.25rem 1.3rem; }
  .partner-logo-grid, .client-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .brand { align-items: flex-start; }
  .brand img { height: 58px; width: auto; }
  .brand-name { font-size: 1.12rem; }
  .brand-tagline { font-size: .82rem; }
  .phone-block a { font-size: 1.15rem; }
  .page-hero { min-height: 215px; }
  .partner-logo-grid, .client-logo-grid { grid-template-columns: 1fr; }
  .button-link.secondary { margin-left: 0; }
}


/* v6 final polish overrides */

/* Pull hero text left so it aligns more closely with the main content below */
.hero-wrap {
  max-width: 1400px;
  width: 100%;
}

/* Brighten hero images while keeping white copy readable */
.page-hero::before {
  background: linear-gradient(90deg, rgba(6, 26, 52, .58), rgba(6, 26, 52, .08));
}
.hero-home::before {
  background: linear-gradient(90deg, rgba(6, 26, 52, .52), rgba(6, 26, 52, .05));
}
.hero-contact::before,
.hero-clients::before {
  background: linear-gradient(90deg, rgba(6, 26, 52, .42), rgba(6, 26, 52, .02));
}
.page-hero h1,
.page-hero p {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.62);
}
.page-hero p {
  font-weight: 700;
}

/* Round the inner snippet/subhero image bars within the panel */
.panel-shell .section-banner,
.service-panel .section-banner {
  width: calc(100% - 2rem);
  margin: 1rem 1rem 0;
  border-radius: 8px;
}

/* Round the logo grid boxes more clearly */
.partner-logo-grid,
.client-logo-grid {
  border-radius: 14px;
  overflow: hidden;
}

/* Home service cards: 3 top / 2 bottom at full desktop */
.service-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card-grid .service-card {
  min-height: 190px;
}

/* Contact action buttons live under the CTA card */
.callout .contact-buttons {
  margin-top: 1.1rem;
}
.callout .button-link {
  margin-top: .25rem;
}

/* Logo size/proportion */
.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

/* Slightly reduce big partner heading if needed */
.partners-preview .section-banner h2,
.clients-panel .section-banner h2 {
  font-size: clamp(1.25rem, 2.15vw, 1.68rem);
}

@media (max-width: 900px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-card-grid {
    grid-template-columns: 1fr;
  }
  .brand img {
    width: 58px;
    height: 58px;
  }
}


/* v7 final adjustment overrides */

/* Hero copy aligned with standard page content */
.hero-wrap {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Brighten company hero slightly more */
.hero-company::before {
  background: linear-gradient(90deg, rgba(6, 26, 52, .50), rgba(6, 26, 52, .05));
}

/* Header brand refinements */
.brand {
  align-items: center;
}
.brand-text {
  justify-content: center;
}
.brand-name {
  white-space: nowrap;
}
.brand-tagline {
  margin-top: 0;
}
.brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

/* Slightly smaller menu to prevent wrapping */
.site-nav a {
  font-size: .92rem;
  padding: .40rem .68rem;
}
.nav-wrap {
  gap: .45rem;
}

/* Tighten services intro spacing */
.services-intro {
  margin-bottom: 1.35rem;
}
.service-panel {
  margin: 1.45rem 0;
}

/* Make home service card backgrounds more consistent */
.service-card {
  background-image: linear-gradient(90deg, rgba(255,255,255,.965), rgba(255,255,255,.90)), url("/images/hero-home.png?v=14");
  background-position: center center;
}

/* Mute logo default state so hover has clearer pop */
.logo-grid img {
  opacity: .72;
  filter: grayscale(70%) saturate(55%);
}
.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0%) saturate(115%);
}

/* Ensure contact buttons stay under CTA card */
.contact-layout > div .contact-buttons {
  display: none;
}
.callout .contact-buttons {
  display: block;
  margin-top: 1.1rem;
}

/* Keep rounded inner bars/boxes */
.panel-shell .section-banner,
.service-panel .section-banner {
  border-radius: 8px !important;
}
.partner-logo-grid,
.client-logo-grid {
  border-radius: 14px !important;
}

/* Mobile header/nav improvements */
@media (max-width: 800px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    gap: .8rem;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-name {
    font-size: clamp(.95rem, 3.8vw, 1.25rem);
    white-space: nowrap;
  }
  .brand-tagline {
    font-size: clamp(.75rem, 2.8vw, .9rem);
  }
  .brand img {
    width: 58px;
    height: 58px;
  }
  .phone-block {
    flex: 0 0 auto;
    text-align: right;
  }
  .phone-block a {
    font-size: .98rem;
  }
  .phone-block span {
    font-size: .72rem;
  }
  .nav-wrap {
    flex-wrap: nowrap;
    justify-content: center;
    gap: .22rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav a {
    font-size: .82rem;
    padding: .36rem .48rem;
  }
}

/* Very small phones */
@media (max-width: 430px) {
  .topbar {
    flex-wrap: wrap;
  }
  .phone-block {
    width: 100%;
    text-align: left;
    padding-left: 64px;
    margin-top: -.35rem;
  }
  .site-nav a {
    font-size: .78rem;
    padding: .34rem .40rem;
  }
}


/* v8 cache-busting patch:
   Image and stylesheet URLs now include ?v=8 so browsers refresh replaced assets cleanly.
*/


/* v9 final deploy spacing patch:
   Tightens the gap between the Services page "What We Do" intro panel
   and the first Service Analysis panel without changing spacing between
   the remaining service sections.
*/
.services-intro + .service-panels .service-panel:first-child {
  margin-top: .35rem;
}


/* v10 final company hero brightness adjustment:
   Lightens the Company hero overlay one more step so the purple gleam
   in the image comes through while keeping the white text readable.
*/
.hero-company::before {
  background: linear-gradient(90deg, rgba(6, 26, 52, .42), rgba(6, 26, 52, .02));
}


/* v11 final mobile header + sticky nav patch */

/* Keep the navy nav menu visible at the top while scrolling. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Improve compressed/tablet header behavior so brand and phone do not crowd each other. */
@media (max-width: 760px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: .75rem;
    row-gap: .1rem;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: clamp(.95rem, 3.25vw, 1.18rem);
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    font-size: clamp(.74rem, 2.65vw, .86rem);
    line-height: 1.15;
  }

  .phone-block {
    text-align: right;
    align-self: end;
    white-space: nowrap;
    padding-left: .25rem;
  }

  .phone-block span {
    display: none;
  }

  .phone-block a {
    font-size: clamp(.92rem, 3.1vw, 1rem);
    line-height: 1.05;
  }
}

/* On very small phones, let the phone drop to its own comfortable line. */
@media (max-width: 520px) {
  .topbar {
    grid-template-columns: 1fr;
    row-gap: .15rem;
  }

  .brand {
    width: 100%;
  }

  .brand-name {
    font-size: clamp(.92rem, 5vw, 1.12rem);
    max-width: 100%;
  }

  .phone-block {
    width: 100%;
    text-align: right;
    padding-left: 0;
    margin-top: -.15rem;
  }

  .phone-block a {
    font-size: .98rem;
  }
}


/* v12 final polish patch:
   - Stronger sticky nav behavior
   - Slimmer nav/menu height
   - More consistent compressed header sizing
   - Tighter brand/logo spacing
   - Slight Comcast logo size increase
*/

/* Stronger sticky nav. Apply to common nav wrappers so it works regardless of exact wrapper naming. */
.site-nav,
.navbar,
.main-nav,
nav.site-nav,
nav[aria-label="Primary"],
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 3000;
}

/* Ensure sticky nav has a solid background and does not become visually transparent while scrolling. */
.site-nav,
.navbar,
.main-nav,
.nav-wrap {
  background: #001a33;
}

/* Slim nav slightly on all screen sizes. */
.site-nav ul,
.navbar ul,
.main-nav ul,
.nav-menu {
  gap: .28rem;
}

.site-nav a,
.navbar a,
.main-nav a,
.nav-menu a {
  padding-top: .62rem;
  padding-bottom: .62rem;
  line-height: 1.05;
}

/* Tighter brand/header spacing without changing the visual identity. */
.topbar,
.site-header .topbar,
.header-inner {
  column-gap: .65rem;
}

.brand,
.logo-lockup,
.site-brand {
  gap: .55rem;
}

.brand img,
.logo-lockup img,
.site-brand img {
  margin-left: 0;
}

/* Make the Comcast partner logo a touch larger so it visually balances with the row. */
img[src*="partner-comcast"] {
  transform: scale(1.18);
  transform-origin: center;
}

/* Tablet/compressed header: keep brand text stable and give phone room without odd shrink/grow behavior. */
@media (max-width: 860px) {
  .topbar,
  .site-header .topbar,
  .header-inner {
    padding-left: clamp(.9rem, 2.5vw, 1.25rem);
    padding-right: clamp(.9rem, 2.5vw, 1.25rem);
    column-gap: .45rem;
  }

  .brand,
  .logo-lockup,
  .site-brand {
    gap: .42rem;
    min-width: 0;
  }

  .brand img,
  .logo-lockup img,
  .site-brand img {
    width: clamp(46px, 7vw, 58px);
    height: auto;
    flex: 0 0 auto;
  }

  .brand-name {
    font-size: clamp(1.04rem, 2.85vw, 1.25rem);
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    font-size: clamp(.74rem, 2.2vw, .88rem);
    line-height: 1.12;
    white-space: nowrap;
  }

  .phone-block span {
    display: none;
  }

  .phone-block a {
    font-size: clamp(.95rem, 2.55vw, 1.08rem);
    white-space: nowrap;
  }

  .site-nav a,
  .navbar a,
  .main-nav a,
  .nav-menu a {
    padding-top: .54rem;
    padding-bottom: .54rem;
    padding-left: .72rem;
    padding-right: .72rem;
  }
}

/* Phone size: stack phone neatly, keep header no wider than prior compressed state, and avoid brand growth jump. */
@media (max-width: 560px) {
  .topbar,
  .site-header .topbar,
  .header-inner {
    grid-template-columns: 1fr;
    padding-left: .75rem;
    padding-right: .75rem;
    row-gap: .12rem;
  }

  .brand,
  .logo-lockup,
  .site-brand {
    width: 100%;
    gap: .36rem;
  }

  .brand img,
  .logo-lockup img,
  .site-brand img {
    width: 46px;
  }

  .brand-name {
    font-size: clamp(.98rem, 4.1vw, 1.1rem);
    line-height: 1.05;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    font-size: clamp(.72rem, 3.2vw, .82rem);
    line-height: 1.08;
  }

  .phone-block {
    text-align: right;
    width: 100%;
    margin-top: -.1rem;
  }

  .phone-block a {
    font-size: .96rem;
  }

  .site-nav a,
  .navbar a,
  .main-nav a,
  .nav-menu a {
    padding-top: .46rem;
    padding-bottom: .46rem;
    padding-left: .58rem;
    padding-right: .58rem;
    font-size: .86rem;
  }
}

/* Very narrow phones: keep nav compact enough not to wrap. */
@media (max-width: 420px) {
  .site-nav a,
  .navbar a,
  .main-nav a,
  .nav-menu a {
    padding-left: .44rem;
    padding-right: .44rem;
    font-size: .82rem;
  }
}


/* v13 final deploy polish:
   - Real fixed-on-scroll nav behavior via tiny script + .is-fixed class
   - Slimmer nav on desktop/tablet/mobile
   - Prevents phone number from dropping to an extra third mobile line
   - Tighter logo/brand spacing
   - Comcast partner logo visual balance
*/

/* JS-driven fixed nav. Sticky alone does not work reliably because nav lives inside the header. */
.site-nav.is-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 5000;
  background: #061a34;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.nav-placeholder {
  height: 0;
}

/* Slimmer nav bar. */
.nav-wrap {
  padding-top: .34rem !important;
  padding-bottom: .34rem !important;
  gap: .36rem !important;
}

.site-nav a {
  padding: .34rem .66rem !important;
  line-height: 1.05 !important;
}

/* Tighten brand area slightly. */
.topbar {
  gap: .55rem !important;
  column-gap: .55rem !important;
}

.brand {
  gap: .46rem !important;
}

.brand img {
  margin-left: 0 !important;
}

/* Comcast is visually smaller than the other partner marks; enlarge it modestly. */
.partner-logo-grid img[src*="partner-comcast"],
.logo-grid img[src*="partner-comcast"],
img[src*="partner-comcast"] {
  transform: scale(1.26) !important;
  transform-origin: center center !important;
}

/* Tablet/compressed header: keep logo/name and phone on the same header row with call-now hidden. */
@media (max-width: 860px) {
  .topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    padding-left: .72rem !important;
    padding-right: .72rem !important;
    padding-top: .58rem !important;
    padding-bottom: .50rem !important;
    column-gap: .36rem !important;
    row-gap: 0 !important;
  }

  .brand {
    min-width: 0 !important;
    overflow: hidden !important;
    gap: .32rem !important;
  }

  .brand img {
    width: 50px !important;
    height: 50px !important;
  }

  .brand-text {
    min-width: 0 !important;
  }

  .brand-name {
    font-size: clamp(1.06rem, 2.65vw, 1.24rem) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-tagline {
    font-size: clamp(.74rem, 2vw, .86rem) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }

  .phone-block {
    width: auto !important;
    align-self: end !important;
    text-align: right !important;
    padding-left: .18rem !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
  }

  .phone-block span {
    display: none !important;
  }

  .phone-block a {
    font-size: clamp(.86rem, 2.25vw, .98rem) !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
  }

  .nav-wrap {
    padding-top: .27rem !important;
    padding-bottom: .27rem !important;
    gap: .22rem !important;
  }

  .site-nav a {
    padding: .28rem .50rem !important;
    font-size: .82rem !important;
  }
}

/* Phone size: do NOT stack the phone into a separate third line; keep it at level 2. */
@media (max-width: 560px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding-left: .58rem !important;
    padding-right: .58rem !important;
    padding-top: .48rem !important;
    padding-bottom: .46rem !important;
    min-width: 0 !important;
  }

  .brand {
    width: auto !important;
    gap: .28rem !important;
  }

  .brand img {
    width: 44px !important;
    height: 44px !important;
  }

  .brand-name {
    font-size: clamp(.94rem, 3.7vw, 1.02rem) !important;
    line-height: 1.03 !important;
  }

  .brand-tagline {
    font-size: clamp(.68rem, 2.8vw, .78rem) !important;
    line-height: 1.04 !important;
  }

  .phone-block {
    width: auto !important;
    align-self: end !important;
    text-align: right !important;
    padding-left: .1rem !important;
    margin-top: 0 !important;
  }

  .phone-block a {
    font-size: .86rem !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
  }

  .nav-wrap {
    padding-top: .22rem !important;
    padding-bottom: .22rem !important;
    gap: .16rem !important;
  }

  .site-nav a {
    padding: .24rem .38rem !important;
    font-size: .78rem !important;
  }
}

/* Very narrow phones: final compact nav/phone squeeze without wrapping the header taller. */
@media (max-width: 420px) {
  .topbar {
    padding-left: .46rem !important;
    padding-right: .46rem !important;
  }

  .brand img {
    width: 40px !important;
    height: 40px !important;
  }

  .brand-name {
    font-size: .9rem !important;
  }

  .brand-tagline {
    font-size: .66rem !important;
  }

  .phone-block a {
    font-size: .78rem !important;
  }

  .site-nav a {
    padding: .22rem .30rem !important;
    font-size: .74rem !important;
  }
}


/* v14 final polish:
   Add a subtle 1px white divider under the pinned navy menu so it remains
   visually separated when scrolling over hero/subheader image sections.
*/
.site-nav.is-fixed {
  border-bottom: 1px solid rgba(255, 255, 255, .82) !important;
}

/* Keep the same subtle divider under the non-pinned nav for visual consistency. */
.site-nav {
  border-bottom: 1px solid rgba(255, 255, 255, .42);
}

/* =========================================================
   v15 Final Header Sizing Stabilization
   Desktop starts at the tablet sweet spot, then scales down
   ========================================================= */

.brand-name,
.site-header .brand-name,
.logo-text .brand-name {
  color: #005C93 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.brand-tagline,
.site-header .brand-tagline,
.logo-text .brand-tagline {
  color: #55BFD8 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.12 !important;
  margin-left: 0.12em !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Desktop / wide: use the nice larger treatment */
@media (min-width: 901px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1.8rem, 2.65vw, 2.65rem) !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(1.1rem, 1.45vw, 1.45rem) !important;
  }
}

/* Tablet: hold close to desktop, do not grow larger */
@media (max-width: 900px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1.55rem, 4vw, 2.25rem) !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(1.05rem, 3vw, 1.45rem) !important;
  }
}

/* Phone: downsize before the name crowds the phone number */
@media (max-width: 640px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1.15rem, 4.2vw, 1.5rem) !important;
    letter-spacing: -0.015em !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(0.9rem, 3.6vw, 1.1rem) !important;
    margin-left: 0.12em !important;
  }
}

/* Tiny phone: final compression, no ellipsis */
@media (max-width: 390px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(0.82rem, 3.4vw, 0.98rem) !important;
  }
}

/* =========================================================
   v15.4 Final Header Breakpoint Smoothing
   Start tablet-style scaling earlier to prevent size waffle
   ========================================================= */

/* Wide desktop: keep the brand confidently sized */
@media (min-width: 1101px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1.5rem, 2.50vw, 2.50rem) !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(1.3rem, 1.38vw, 1.38rem) !important;
  }
}

/* Start tablet behavior earlier instead of waiting too long */
@media (max-width: 1100px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1.5rem, 2.50vw, 2.50rem) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(1.05rem, 1.35vw, 1.35rem) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    margin-left: 0.12em !important;
  }
}

/* Phone: let it scale down gently, but keep it from getting huge or wrapping weirdly */
@media (max-width: 640px) {
  .brand-name,
  .site-header .brand-name,
  .logo-text .brand-name {
    font-size: clamp(1.05rem, 1.45vw, 1.45rem) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    letter-spacing: -0.015em !important;
  }

  .brand-tagline,
  .site-header .brand-tagline,
  .logo-text .brand-tagline {
    font-size: clamp(0.9rem, 1.45vw, 1.45rem) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    margin-left: 0.12em !important;
  }
}

/* =========================================================
   v15.5 Partner logo balance
   Reduce AT&T slightly so it balances with surrounding logos
   across desktop, tablet, and mobile views.
   ========================================================= */

/* Desktop / full multi-column partner logo layout */
@media (min-width: 1001px) {
  .partner-logo-grid img[src*="partner-att.png"],
  .client-logo-grid img[src*="partner-att.png"],
  .logo-grid img[src*="partner-att.png"] {
    max-width: 135px !important;
    height: 56px !important;
    object-fit: contain !important;
  }
}

/* Tablet / double-row partner logo layout */
@media (min-width: 521px) and (max-width: 1000px) {
  .partner-logo-grid img[src*="partner-att.png"],
  .client-logo-grid img[src*="partner-att.png"],
  .logo-grid img[src*="partner-att.png"] {
    max-width: 125px !important;
    height: 50px !important;
    object-fit: contain !important;
  }
}

/* Phone / single-column partner logo layout */
@media (max-width: 520px) {
  .partner-logo-grid img[src*="partner-att.png"],
  .client-logo-grid img[src*="partner-att.png"],
  .logo-grid img[src*="partner-att.png"] {
    max-width: 125px !important;
    height: 50px !important;
    object-fit: contain !important;

    /* visual positioning for vertical stack */
    margin-top: 1.15rem !important;
    margin-bottom: -0.25rem !important;
  }
}