/* GigTech V4.1: authentic logo and four-person team. */
.brand-authentic{gap:10px;align-items:center;letter-spacing:normal;line-height:1}
.brand-authentic .brand-mark{width:38px;height:38px;object-fit:contain;flex:none}
.brand-authentic .brand-wordmark{width:138px;height:auto;max-height:32px;object-fit:contain;filter:none}
.brand-footer.brand-authentic .brand-mark{width:44px;height:44px}
.brand-footer.brand-authentic .brand-wordmark{width:156px}
.v3-team-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.v3-team-person .v3-team-bottom h3{font-size:clamp(22px,2.2vw,31px)}
.v3-team-photo img[src*="team-shuja-hasan"]{object-position:center 32%}
@media(max-width:1100px){.v3-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}}
@media(max-width:650px){.brand-authentic .brand-mark{width:32px;height:32px}.brand-authentic .brand-wordmark{width:114px}.v3-team-grid{grid-template-columns:1fr;gap:30px}}

/* GigTech V5 vector brand identity; override legacy raster sizing. */
.brand-authentic .brand-mark{object-fit:contain;image-rendering:auto}
.brand-authentic .brand-wordmark{width:153px;max-height:35px;filter:none}
.brand-footer.brand-authentic .brand-wordmark{width:175px}
@media(max-width:650px){.brand-authentic .brand-mark{width:32px;height:32px}.brand-authentic .brand-wordmark{width:116px}}

/* Mobile corrections: preserve clear space for navigation, footer columns and page heroes. */
@media(max-width:920px){
  .site-header .header-cta{display:none}
}

@media(max-width:650px){
  .site-header .nav-wrap{gap:12px}
  .site-header .brand{min-width:0;gap:8px}
  .site-header .brand-mark{width:30px;height:30px}
  .site-header .brand-wordmark{width:clamp(105px,31vw,122px)}
  .site-header .nav-toggle{flex:0 0 42px;width:42px}

  .v2-inner-hero{padding:68px 0 72px}
  .v2-inner-hero::after{display:none}
  .v2-inner-hero h1{
    max-width:100%;
    font-size:clamp(2.65rem,10.5vw,4rem);
    line-height:1.02;
    letter-spacing:-.075em;
    margin:32px 0 22px;
    text-wrap:balance;
  }
  .v2-inner-hero p{font-size:1rem;line-height:1.6;max-width:100%}
  .v2-inner-hero .v2-pill-cta{max-width:100%;white-space:normal}

  .interior-hero{padding:68px 0 72px;min-height:0}
  .interior-hero::after{display:none}
  .interior-hero h1{
    max-width:100%;
    font-size:clamp(2.65rem,10.5vw,4rem);
    line-height:1.02;
    letter-spacing:-.075em;
    text-wrap:balance;
  }
  .interior-hero p{font-size:1rem;line-height:1.6;max-width:100%}

  .v2-hero h1{
    font-size:clamp(3.15rem,12vw,5rem);
    line-height:1;
    letter-spacing:-.075em;
  }

  .v3-case-hero h1{
    font-size:clamp(2.65rem,11.5vw,4.4rem);
    line-height:.98;
    letter-spacing:-.075em;
    overflow-wrap:anywhere;
  }

  .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px 18px;
    padding:42px 0 48px;
  }
  .site-footer .footer-grid>div:first-child{grid-column:1/-1}
  .site-footer .footer-grid>div:not(:first-child){min-width:0;font-size:.88rem}
  .site-footer .footer-grid>div>a,
  .site-footer .footer-grid>div>span{max-width:100%;overflow-wrap:anywhere}
  .site-footer .footer-bottom{align-items:flex-start;gap:12px 18px}
  .site-footer .footer-bottom>span:nth-child(2){display:flex;flex-wrap:wrap;gap:8px 18px}
}

@media(max-width:390px){
  .site-footer .footer-grid{grid-template-columns:1fr;gap:26px;padding-block:36px}
  .site-footer .footer-grid>div:first-child{grid-column:auto}
}
