/* G-TECH GLOBAL FONT SYSTEM: edit these variables to update every page. */
:root {
  --gtech-font-title: Tahoma, "Segoe UI", Arial, sans-serif;
  --gtech-font-body: Calibri, "Segoe UI", Arial, sans-serif;
  --gtech-button-font: var(--gtech-font-title);
  --display: var(--gtech-font-title);
  --body: var(--gtech-font-body);
  --agnix-display: var(--gtech-font-title);
  --agnix-font: var(--gtech-font-body);
  --eng-display: var(--gtech-font-title);
  --eng-body: var(--gtech-font-body);
  --gtech-heading-font: var(--gtech-font-title);
  --gtech-body-font: var(--gtech-font-body);
  --gtech-type-display: var(--gtech-font-title);
  --gtech-type-body: var(--gtech-font-body);
  --gtech-h2-family: var(--gtech-font-title);
  --gtech-font-size-display: clamp(52px, 6.5vw, 88px);
  --gtech-font-size-page-title: clamp(44px, 5vw, 68px);
  --gtech-font-size-section-title: clamp(38px, 4.5vw, 64px);
  --gtech-font-size-card-title: clamp(24px, 2vw, 28px);
  --gtech-font-size-description: 18px;
  --gtech-font-size-body: 18px;
  --gtech-font-size-label: 16px;
  --gtech-font-size-small: 14px;
  --gtech-font-weight-title: 500;
  --gtech-font-weight-card-title: 500;
  --gtech-font-weight-body: 400;
  --gtech-font-weight-label: 500;
  --gtech-line-height-title: 1.08;
  --gtech-line-height-body: 1.6;
  --gtech-letter-spacing-title: 0;
}

body{font-family:var(--gtech-font-body)!important;font-size:var(--gtech-font-size-body);font-weight:var(--gtech-font-weight-body);line-height:var(--gtech-line-height-body)}

body :where(p,li,small,blockquote,figcaption,address,input,textarea,select){
  font-family:var(--gtech-font-body)!important;
}

body :where(h1,h2,h3,h4,h5,h6),
body :where(h1,h2,h3,h4,h5,h6) *,
body :where(button,label,legend,nav,nav a,[role="button"],[class*="title"],[class*="heading"],[class*="eyebrow"],[class*="kicker"],
  .builder-menu,.builder-pill,.builder-nav-cta,.builder-footer,.builder-footer a,.builder-footer-action,
  .eng-hero-action,.eng-primary,.gtech-filter-actions button,.gtech-job-view){
  font-family:var(--gtech-font-title)!important;
}

main h1{font-family:var(--gtech-font-title)!important;font-size:var(--gtech-font-size-page-title)!important;font-weight:var(--gtech-font-weight-title)!important;line-height:var(--gtech-line-height-title)!important;letter-spacing:var(--gtech-letter-spacing-title)!important}
main .builder-hero h1,main .about2-hero h1,main .careers-hero h1,main .eng-hero h1,main .eng4-hero h1,main h1.eng4-display{font-size:var(--gtech-font-size-display)!important;line-height:.98!important}
#hero-title{font-size:70px!important}
main h2,.builder-footer-statement h2,.agnix-footer h2{font-family:var(--gtech-font-title)!important;font-size:var(--gtech-font-size-section-title)!important;font-weight:var(--gtech-font-weight-title)!important;line-height:var(--gtech-line-height-title)!important;letter-spacing:var(--gtech-letter-spacing-title)!important}
main h3,.builder-footer-links h3,.agnix-footer h3{font-family:var(--gtech-font-title)!important;font-size:var(--gtech-font-size-card-title)!important;font-weight:var(--gtech-font-weight-card-title)!important;line-height:1.18!important;letter-spacing:0!important}

/* Keep heading tracking consistent across every page and footer. */
#main :where(h1,h2,h3,h4,h5,h6),
footer :where(h1,h2,h3,h4,h5,h6){letter-spacing:0!important}
main p,main li,.builder-footer-statement p:not(.builder-footer-kicker),.agnix-footer p{font-size:var(--gtech-font-size-body)!important;font-weight:var(--gtech-font-weight-body)!important;line-height:var(--gtech-line-height-body)!important}
main .builder-hero-lead,main .eng-hero-lead,main .eng-delivery-lead,main .builder-subtext,main [class*="description"]{font-size:var(--gtech-font-size-description)!important}
main .about2-label,main .builder-eyebrow,main .builder-hero-kicker,main .eng-kicker,main .eng-eyebrow,main .ii-label,main .home-careers-eyebrow,main [class*="section-label"],main [class*="eyebrow"],.builder-footer-kicker,.agnix-section-label{font-family:var(--gtech-font-title)!important;font-size:var(--gtech-font-size-label)!important;font-weight:var(--gtech-font-weight-label)!important;line-height:1.35!important}

/* Engineering capability tags remain readable after the global body-size rules. */
.engineering-page main .eng-cap-grid li{font-size:15px!important}

@media(max-width:560px){:root{--gtech-font-size-display:48px;--gtech-font-size-page-title:42px;--gtech-font-size-section-title:36px;--gtech-font-size-card-title:24px;--gtech-font-size-description:17px;--gtech-font-size-body:17px}}
