/* Fixed header */
.site-header,
.hero {
  --focus-color: var(--gte-green);
}
.site-header.is-scrolled {
  --focus-color: var(--gte-navy);
}
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: max(var(--gutter), calc((100vw - var(--shell-wide-max)) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  color: var(--gte-white);
  transition:
    background-color var(--duration-fast),
    height var(--duration-fast),
    color var(--duration-fast);
}
.site-header.is-scrolled {
  height: var(--header-height-compact);
  background: rgb(255 255 255 / 92%);
  color: var(--gte-navy);
  border-color: rgb(23 47 107 / 10%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__logo {
  width: clamp(230px, 24vw, 340px);
  height: auto;
  filter: brightness(0) invert(1);
}
.is-scrolled .brand__logo {
  filter: none;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  font-size: var(--body-small);
  font-weight: var(--weight-medium);
}
.primary-nav a {
  padding-block: 0.5rem;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color var(--duration-fast) var(--ease-out);
}
.primary-nav a:hover,
.primary-nav a.is-active {
  text-decoration-color: currentColor;
}
.primary-nav .nav-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-weight: var(--weight-bold);
}
.nav-contact::after {
  content: "↗";
  color: var(--gte-green);
  font-size: 1.5rem;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.75rem 0 0.75rem 0.75rem;
}

.nav-contact::after,
.contact__map-link span,
.to-top span {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-contact:hover::after,
.contact__map-link:hover span {
  transform: translate(3px, -3px);
}

.to-top:hover span {
  transform: translateY(-3px);
}
/* Hero: approved headquarters photo is the visual layer; motion stays in the content below. */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--gte-navy);
  background-image: url("../assets/photos/hero-gte.jpg");
  background-image: image-set(
    url("../assets/photos/hero-gte.avif") type("image/avif"),
    url("../assets/photos/hero-gte.webp") type("image/webp"),
    url("../assets/photos/hero-gte.jpg") type("image/jpeg")
  );
  background-position: var(--hero-photo-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--gte-white);
  overflow: clip;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(680px, 92svh, 960px);
  padding-block: 11rem 4.5rem;
}
.hero h1 {
  font-size: var(--h1);
  max-width: 16ch;
  letter-spacing: -0.045em;
}
.hero h1 span {
  color: var(--gte-green);
}
.hero__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: clamp(3rem, 7vh, 5rem);
}
.hero__claim {
  font-size: var(--body-large);
  line-height: 1.4;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(12 31 77 / 88%) 0%,
      rgb(12 31 77 / 76%) 48%,
      rgb(12 31 77 / 56%) 100%
    ),
    linear-gradient(180deg, transparent 55%, rgb(12 31 77 / 16%) 100%);
}
.scroll-control {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;

  font-size: 1rem;
  font-weight: var(--weight-medium);
}
.scroll-control__arrow {
  display: grid;
  place-items: center;

  width: 72px;
  height: 72px;

  background: var(--gte-green);
  border-radius: 50%;

  transition:
    background-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}
.scroll-control__arrow img {
  width: 28px;
}
.scroll-control:hover .scroll-control__arrow {
  background: white;
  transform: translateY(4px);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 6rem;
  align-items: start;
}
.about__copy {
  display: grid;
  gap: 1.4rem;
  max-width: var(--measure-prose);
}

.about__support {
  max-width: 48ch;
  color: var(--gte-text);
  font-size: clamp(1.2rem, 1.45vw, 1.4rem);
  line-height: 1.5;
}
/* Editorial data: this section is intentionally focused on people. */
.numbers-field {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(3.5rem, 7vw, 7rem);
  align-items: end;
}

.numbers-field__lead,
.numbers-field__people {
  margin: 0;
}

.numbers .section-heading > p {
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  line-height: 1.45;
}

.numbers-field__people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 2rem;
}

.stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.stat dt {
  max-width: 22ch;
  color: var(--gte-text-on-navy-muted);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.35;
}

.stat dd {
  order: -1;
  margin: 0 0 1rem;
  font-size: clamp(3.25rem, 4.5vw, 4.5rem);
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.stat__prefix {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--body-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0;
  line-height: 1.2;
}

.stat--lead dd {
  font-size: clamp(4.75rem, 7.4vw, 7rem);
  color: var(--gte-green);
}

.numbers-field__people .stat {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 25%);
}

/* A single common gesture, three evenly aligned businesses. */
.group-system__origin {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2.75rem;
}
.group-system__logo {
  width: 320px;
}
.group-system__origin::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gte-line);
}
.group-system__entities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5rem;
}
.entity__brand {
  height: 88px;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.entity__brand img {
  width: 220px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}
.entity__brand--teb img {
  width: 180px;
}
.entity__brand--edicon img {
  width: 210px;
}
.entity__description {
  color: var(--gte-text-muted);
  max-width: var(--measure-card);
}

/* Reach */
.reach {
  background: var(--gte-bg);
}
.reach__shell {
  display: grid;
  grid-template-columns: 0.8fr 1.65fr;
  align-items: center;
  gap: 3rem;
}
.reach__copy > p:not(.eyebrow) {
  margin-top: 2rem;
  color: var(--gte-text-muted);
}
.reach__facts {
  margin: 2.5rem 0 0;
}
.reach__facts div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--gte-line);
}
.reach__facts dt {
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-weight: var(--weight-medium);
}
.reach__facts dd {
  margin: 0;
  font-size: var(--body-small);
  color: var(--gte-text-muted);
}

/* Partner field: native proportions, no cards or table borders. */
.partners__heading {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.partners__heading .eyebrow {
  margin: 0;
}

.partners__heading-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 4rem;
}

.partners__heading h2 {
  max-width: 15ch;
}

.partners__intro {
  max-width: var(--measure-support);
  color: var(--gte-text-muted);
  font-size: var(--body);
  line-height: 1.55;
}
.partner-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 4rem;

  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list li {
  display: grid;
  place-items: center;
  min-height: 100px;
}

.partner-list img {
  width: 100%;
  max-width: 170px;
  height: 76px;

  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
}
.partner-list li:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-list__fallback {
  display: grid;
  place-items: center;
  gap: 0.2rem;
  width: 100%;
  max-width: 170px;
  min-height: 76px;
  color: rgb(23 47 107 / 56%);
  text-align: center;
  line-height: 1.15;
}

.partner-list__fallback strong {
  font-size: 1.35rem;
  font-weight: var(--weight-medium);
}

.partner-list__fallback small {
  max-width: 18ch;
  font-size: 0.72rem;
  font-weight: var(--weight-regular);
}
.partner--canon img {
  max-width: 145px;
}

.partner--intel img {
  max-width: 105px;
}

.partner--cisco img {
  max-width: 125px;
}

.partner--msi img {
  max-width: 145px;
}

.partner--kamsoft img {
  max-width: 155px;
}
/* Contact and footer */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(4rem, 10vw, 9rem);
  align-items: start;
}
.contact h2 {
  max-width: 14ch;
}
.contact address {
  display: grid;
  gap: 1.4rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;

  color: var(--gte-text-on-navy-muted);
}
.contact-item--action a {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  color: var(--gte-white);
}
.contact-item--address {
  color: var(--gte-text-on-navy-muted);
}
.contact-item p {
  margin: 0;
}

.contact-item__icon {
  width: 19px;
  height: 19px;
  margin-top: 0.15rem;

  fill: none;
  stroke: var(--gte-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item a {
  width: fit-content;
  color: var(--gte-text-on-navy-muted);
  transition: color var(--duration-fast);
}

.contact-item a:hover {
  color: var(--gte-white);
}
.contact strong {
  color: var(--gte-white);
  font-weight: var(--weight-medium);
  font-size: var(--body-large);
}
.contact a {
  width: fit-content;
  text-underline-offset: 0.3em;
}
.contact a:hover {
  text-decoration: underline;
}
.contact__map-link {
  color: var(--gte-green);
  font-size: var(--body-small);
}
.site-footer {
  padding-block: 2rem;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: var(--body-small);
}
.brand--footer img {
  width: 230px;
}
.to-top {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-weight: var(--weight-medium);
}

@media (max-width: 1000px) {
  .site-header {
    height: 88px;
  }
  .brand__logo {
    width: 250px;
  }
  .primary-nav {
    gap: 1rem;
  }
  .about__grid {
    gap: 3rem;
  }
  .numbers-field {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .numbers-field__people {
    gap: 2.25rem 1.5rem;
  }
  .group-system__entities {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .entity {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: start;
    padding-block: 2.25rem;
    border-top: 1px solid var(--gte-line);
  }

  .entity__brand {
    height: auto;
    margin: 0;
  }

  .entity__description {
    max-width: var(--measure-support);
  }
  .reach__shell {
    grid-template-columns: 1fr 1.4fr;
    gap: 1.5rem;
  }
  .partner-list {
    gap: 1.5rem;
  }
}

@media (max-width: 800px) {
  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height-compact);
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--weight-medium);
    font-size: var(--body-small);
  }
  .menu-toggle__icon {
    width: 22px;
    height: 12px;
    border-block: 1px solid currentColor;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    height: 1px;
    border-bottom: 0;
    transform: rotate(-45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transform: translateY(-1px) rotate(90deg);
  }
  body.menu-open .site-header {
    --focus-color: var(--gte-green);
    background: var(--gte-navy);
    color: var(--gte-white);
  }
  body.menu-open .site-header .brand__logo {
    filter: brightness(0) invert(1);
  }
  .primary-nav {
    position: absolute;
    top: var(--header-height-compact);
    inset-inline: 0;
    display: none;
    padding: 2rem var(--gutter) 3rem;
    background: var(--gte-navy);
    color: var(--gte-white);
    font-size: 1.65rem;
    height: calc(100dvh - var(--header-height-compact));
    overflow-y: auto;
  }
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .primary-nav a {
    padding-block: 0.7rem;
  }
  .primary-nav .nav-contact {
    justify-content: flex-start;
    gap: 0.65rem;
  }
  .hero__content {
    min-height: max(780px, 100svh);
    padding-block: 10rem 4rem;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__copy {
    max-width: 55ch;
  }
  .group-system__entities {
    gap: 1.5rem;
  }
  .entity__brand {
    height: 66px;
    margin-bottom: 1.5rem;
  }
  .entity__brand img {
    max-height: 55px;
  }
  .reach__shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .reach__copy {
    max-width: 55ch;
  }
  .reach__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .reach__facts div {
    display: block;
  }
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .site-footer__inner {
    flex-wrap: wrap;
  }
}
@media (max-width: 540px) {
  .entity {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 2rem;
  }
  .brand__logo {
    width: min(215px, 55vw);
  }

  .hero__content {
    min-height: max(740px, 100svh);
    padding-block: 9rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .hero__bottom {
    flex-direction: column;
    align-items: start;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }

  .hero__claim {
    font-size: 1.35rem;
  }

  .scroll-control {
    width: 100%;
    justify-content: space-between;
  }

  .scroll-control__arrow {
    width: 62px;
    height: 62px;
  }

  .numbers-field {
    gap: 3rem;
  }

  .numbers-field__people {
    gap: 2rem 1rem;
  }

  .stat--lead dd {
    font-size: clamp(4rem, 17vw, 5.5rem);
  }

  .numbers-field__people .stat {
    padding-top: 1.25rem;
  }

  .numbers-field__people .stat dd {
    margin-bottom: 0.6rem;
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .numbers-field__people .stat dt {
    font-size: var(--body-small);
  }

  .group-system__origin {
    margin-bottom: 2.5rem;
    gap: 1rem;
  }

  .group-system__logo {
    width: 260px;
  }

  .entity__description {
    max-width: none;
  }

  .entity__brand {
    margin-bottom: 0;
  }

  .entity__brand img {
    max-height: 60px;
  }

  .reach__facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reach__facts div {
    display: grid;
    grid-template-columns: minmax(110px, auto) 1fr;
    align-items: baseline;
    gap: 1rem;
  }

  .reach__facts dt {
    font-size: 1.6rem;
  }

  .reach__facts dd {
    margin-top: 0.4rem;
  }

  /* Partners */
  .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
  }

  .partner-list li {
    min-height: 88px;
  }

  .partner-list img {
    max-width: 140px;
    height: 68px;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .site-footer__inner .brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 800px) {
  html:not(.has-js) .site-header {
    position: relative;
    height: auto;
    flex-wrap: wrap;
    gap: 1rem;
    padding-block: 1.5rem;
    background: var(--gte-navy);
  }
  html:not(.has-js) .menu-toggle {
    display: none;
  }
  html:not(.has-js) .primary-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 0;
    font-size: var(--body-small);
  }
  .partners__heading-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

