:root {
  --black: #10100f;
  --ink: #171613;
  --soft-ink: #4e4b44;
  --paper: #f4f0e7;
  --white: #ffffff;
  --line: rgba(23, 22, 19, 0.14);
  --green: #03acef;
  --blue: #355a8d;
  --amber: #d09133;
  --red: #b65045;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  font-optical-sizing: auto;
  max-width: 100%;
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--green);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--black);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  mix-blend-mode: normal;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, backdrop-filter 180ms ease;
}

.brand,
.nav-toggle,
.language-toggle {
  position: relative;
  z-index: 3;
}

.site-header.is-scrolled {
  color: var(--black);
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  mix-blend-mode: normal;
}

.site-header.is-scrolled .brand {
  opacity: 0;
}

.site-header.is-over-dark .main-nav,
.site-header.is-over-dark .nav-toggle,
.site-header.is-over-dark .language-toggle {
  color: var(--paper);
}

.site-header.is-over-dark .main-nav a,
.site-header.is-over-dark .language-toggle {
  color: var(--paper);
  border-color: rgba(244, 240, 231, 0.78);
}

.site-header.is-over-dark .main-nav a:hover,
.site-header.is-over-dark .main-nav a:focus-visible,
.site-header.is-over-dark .language-toggle:hover,
.site-header.is-over-dark .language-toggle:focus-visible {
  color: var(--black);
  border-color: var(--green);
  background: var(--green);
}

.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  mix-blend-mode: normal;
  transition: opacity 120ms ease;
}

.brand-logo {
  width: clamp(104px, 7vw, 132px);
  background: transparent;
  padding: 0;
  mix-blend-mode: normal;
}

.blend-brand {
  position: fixed;
  top: 16px;
  left: clamp(18px, 4vw, 54px);
  z-index: 55;
  display: none;
  pointer-events: none;
  mix-blend-mode: difference;
}

.blend-brand.is-visible {
  display: inline-flex;
}

.blend-brand img {
  width: clamp(104px, 7vw, 132px);
  background: transparent;
  padding: 0;
  filter:
    drop-shadow(0.5px 0.5px 0 rgba(245, 240, 231, 0.42))
    drop-shadow(0 0 1px rgba(245, 240, 231, 0.28));
}

.main-nav {
  position: relative;
  z-index: 4;
  order: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.main-nav a,
.back-to-top,
.language-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.86rem;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.back-to-top:hover,
.back-to-top:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  mix-blend-mode: normal;
}

.main-nav a::after,
.back-to-top::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 9px;
  background: currentColor;
}

.language-toggle {
  order: 3;
  justify-content: center;
  min-width: 46px;
  margin-left: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle {
  order: 4;
  display: none;
  width: 46px;
  height: 46px;
  margin-left: 8px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  z-index: 5;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(3, 172, 239, 0.16), transparent 30%),
    linear-gradient(300deg, rgba(53, 90, 141, 0.18), transparent 34%),
    var(--paper);
}

.hero-upper {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.hero::before {
  content: "GTE";
  position: absolute;
  left: -0.05em;
  bottom: -0.2em;
  color: rgba(23, 22, 19, 0.045);
  font-size: 36vw;
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.hero-copy,
.hero-bottom {
  position: relative;
  min-width: 0;
}

.hero-copy {
  z-index: 2;
}

.hero-bottom {
  z-index: 0;
}

.hero-copy {
  width: min(100%, 1400px);
  position: relative;
  min-height: clamp(560px, 46vw, 720px);
  padding: clamp(18px, 3vw, 54px) clamp(18px, 4vw, 54px) clamp(28px, 4vw, 48px) calc(clamp(18px, 4vw, 54px) + clamp(104px, 7vw, 132px) + 8px);
}

.hero-copy > .eyebrow,
.hero-copy > .stacked-title {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 10px 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
span,
dd {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6.85vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stacked-title span {
  display: block;
}

.hero-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.72;
}

#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-orbit {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: var(--orbit-height);
  border: 1px solid rgba(23, 22, 19, 0.34);
  transform: translateY(-50%);
}

.stage-orbit-a {
  --orbit-height: 78%;
}

.stage-orbit-b {
  --orbit-height: 48%;
  left: 8%;
  right: 6%;
  border-color: rgba(3, 172, 239, 0.44);
}

.stage-orbit::after {
  content: "";
  position: absolute;
  top: 17%;
  left: 11%;
  width: 16px;
  height: 16px;
  background: var(--amber);
}


.hero-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  padding: 32px clamp(18px, 4vw, 54px) clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  min-width: 0;
}

.hero-bottom p {
  max-width: 760px;
  min-width: 0;
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1.08rem, 2vw, 1.5rem);
}

.magnetic-link {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 188px;
  border-radius: 0;
  color: var(--white);
  background: var(--black);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease;
}

.magnetic-link:hover,
.magnetic-link:focus-visible {
  transform: scale(1.03);
  background: var(--green);
}

.intro-section,
.capability-section,
.markets-section,
.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 142px) clamp(18px, 4vw, 54px);
  scroll-margin-top: 112px;
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.section-index {
  display: none;
}

.intro-text {
  max-width: 1000px;
}

h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5.9vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-text > p:last-child {
  max-width: 780px;
  margin: 36px auto 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: clamp(42px, 6vw, 84px);
}

.capability-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.capability-rail article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 26px 0;
  border-bottom: 1px solid var(--line);
}

.capability-rail article + article {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.capability-rail span {
  color: var(--green);
  font-weight: 900;
}

.capability-rail h3 {
  margin: auto 0 18px;
  max-width: 100%;
  font-size: clamp(1.18rem, 1.8vw, 1.72rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-transform: uppercase;
}

.capability-rail p {
  margin: 0;
  color: var(--soft-ink);
}

.markets-section {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  color: var(--paper);
  background: var(--black);
}

.market-copy {
  max-width: 560px;
  justify-self: end;
}

.markets-section .eyebrow {
  color: #9ee7ff;
}

.market-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 4.2rem);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 240, 231, 0.18);
}

.market-tile {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 40px);
  color: var(--paper);
  background: var(--black);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.market-tile:hover,
.market-tile:focus-visible {
  color: var(--black);
  background: var(--green);
}

.market-tile span {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.market-tile p {
  max-width: 360px;
  margin: 28px 0 0;
}

.statement-section {
  padding: clamp(78px, 12vw, 170px) clamp(18px, 4vw, 54px);
  color: var(--black);
  background:
    linear-gradient(90deg, rgba(3, 172, 239, 0.2), transparent 48%),
    linear-gradient(270deg, rgba(208, 145, 51, 0.2), transparent 46%),
    #e9e5da;
}

.statement-section p {
  max-width: 80vw;
  margin: 0 auto;
  font-size: clamp(2.75rem, 7.2vw, 7.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.contact-section h2 {
  max-width: 1180px;
  font-size: clamp(2.75rem, 5.7vw, 6.8rem);
  line-height: 0.94;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(22px, 4vw, 46px);
  z-index: 60;
  color: var(--black);
  background: rgba(245, 240, 231, 0.94);
  border-color: rgba(23, 22, 19, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-details {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  margin-left: auto;
}

.contact-mail {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--black);
  font-size: clamp(1.55rem, 3vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--green);
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: minmax(110px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  padding: clamp(38px, 6vw, 70px) clamp(18px, 4vw, 54px) 28px;
  color: var(--paper);
  background: var(--black);
}

.footer-top,
.footer-legal,
.copyright {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244, 240, 231, 0.2);
}

.footer-top img {
  width: clamp(190px, 22vw, 300px);
  padding: 0;
  background: transparent;
  filter:
    drop-shadow(0.5px 0.5px 0 rgba(245, 240, 231, 0.48))
    drop-shadow(0 0 1px rgba(245, 240, 231, 0.32));
}

.footer-legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 7vw, 120px);
  padding-top: 42px;
}

.footer-legal h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-legal p,
.copyright {
  color: rgba(244, 240, 231, 0.7);
}

.copyright {
  margin-top: 46px;
  font-size: 0.9rem;
}

@keyframes rotate-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-inline: clamp(22px, 5vw, 40px);
    padding-top: clamp(132px, 13vw, 168px);
  }

  .hero-bottom {
    padding-inline: clamp(22px, 5vw, 40px);
  }

  .intro-section,
  .section-heading,
  .markets-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .market-copy {
    justify-self: start;
  }

  .capability-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-rail article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 740px) {
  .site-header {
    min-height: 70px;
    mix-blend-mode: normal;
    color: var(--black);
    background: rgba(245, 240, 231, 0.96);
    border-bottom: 1px solid rgba(23, 22, 19, 0.12);
    backdrop-filter: blur(14px);
  }

  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(245, 240, 231, 0.96);
    border-bottom: 1px solid rgba(23, 22, 19, 0.12);
    pointer-events: none;
  }

  .site-header.is-scrolled {
    color: var(--black);
    background: rgba(245, 240, 231, 0.96);
    border-color: rgba(23, 22, 19, 0.12);
    backdrop-filter: blur(14px);
    mix-blend-mode: normal;
  }

  .site-header.is-scrolled .brand {
    opacity: 1;
  }

  .site-header.is-over-dark .main-nav,
  .site-header.is-over-dark .nav-toggle,
  .site-header.is-over-dark .language-toggle {
    color: var(--black);
  }

  .blend-brand {
    display: none !important;
  }

  .nav-toggle {
    display: block;
  }

  .language-toggle {
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: clamp(18px, 4vw, 54px);
    right: clamp(18px, 4vw, 54px);
    z-index: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px 20px;
    color: var(--black);
    background: rgba(245, 240, 231, 0.98);
    border: 1px solid rgba(23, 22, 19, 0.14);
    border-top: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: space-between;
    border-radius: 0;
    border-width: 0 0 1px;
    min-height: 54px;
  }

  .hero-copy {
    padding-top: 104px;
    padding-inline: clamp(20px, 6vw, 32px);
  }

  .hero-bottom {
    padding-inline: clamp(20px, 6vw, 32px);
  }

  h1 {
    font-size: clamp(2.45rem, 11.2vw, 4.15rem);
    line-height: 0.94;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.8vw, 3.65rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .intro-section,
  .capability-section,
  .markets-section,
  .contact-section {
    scroll-margin-top: 96px;
    padding-inline: clamp(20px, 6vw, 32px);
  }

  .intro-text > p:last-child,
  .hero-bottom p {
    max-width: 100%;
    font-size: clamp(1.02rem, 5vw, 1.28rem);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .magnetic-link {
    width: min(100%, 320px);
    height: auto;
    min-height: 92px;
    justify-content: flex-start;
    padding: 18px;
    font-size: clamp(1rem, 5vw, 1.35rem);
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
  }

  .capability-rail,
  .market-grid,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .capability-rail article,
  .capability-rail article + article,
  .capability-rail article:nth-child(3) {
    min-height: auto;
    padding: 24px 0;
    border-left: 0;
  }

  .capability-rail h3 {
    margin-top: 42px;
  }

  .market-tile {
    min-height: 220px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand-logo {
    width: 96px;
  }

  .main-nav {
    left: 18px;
    right: 18px;
  }

  h1 {
    font-size: clamp(2.15rem, 10.2vw, 3.08rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.95rem);
  }

  .hero-stage {
    width: 100%;
    min-height: 330px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
