:root {
  --bg: #07111f;
  --bg-2: #0d1b2d;
  --ink: #101827;
  --muted: #647083;
  --line: #d7dde7;
  --paper: #f7f9fc;
  --white: #ffffff;
  --accent: #f2c230;
  --accent-2: #59a8d8;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6
}

a {
  color: inherit
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 4vw;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 20, 35, .08)
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand-main {
  font-weight: 750;
  letter-spacing: .02em;
  font-size: 1.05rem
}

.brand-sub {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-top: .25rem
}

.nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: .92rem
}

.nav a {
  text-decoration: none;
  color: #26344a
}

.nav a:hover {
  color: #000
}


.hero {
  min-height: 88vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;

  background-image: url('../img/tellgen-aero-banner-slash.png');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #07111f;

  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(90deg, rgba(4, 10, 19, .86), rgba(4, 10, 19, .58) 45%, rgba(4, 10, 19, .16)) */
}

.hero-content {
  position: relative;
  max-width: 780px;
  margin-left: 6vw;
  padding: 6rem 0;
  z-index: 2;
}


.eyebrow {
  margin: 0 0 .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .92;
  margin: .2rem 0 1.3rem;
  letter-spacing: -.055em;
  max-width: 850px
}

.hero-text {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  max-width: 680px;
  color: #dce5f2
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  width: max-content;
}

.button.primary {
  background: var(--accent);
  color: #111827
}

.button.secondary {
  border-color: rgba(255, 255, 255, .45);
  color: var(--white);
  background: rgba(255, 255, 255, .08)
}

.section,
.section-narrow {
  padding: 6rem 5vw
}

.section-narrow {
  max-width: 1100px;
  margin: auto
}

.lead {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -.035em;
  margin: 0;
  color: #172235
}

.section-title {
  max-width: 850px;
  margin: 0 0 3rem
}

.section-title h2,
.factory h2,
.split h2,
.contact h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  margin: .2rem 0 1rem;
  letter-spacing: -.05em
}

.section-title p,
.factory-text p,
.split p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 50px rgba(20, 35, 60, .06)
}

.card h3 {
  margin: 0 0 .7rem;
  font-size: 1.08rem;
  line-height: 1.2
}

.card p {
  margin: 0;
  color: var(--muted)
}

.factory {
  background: linear-gradient(135deg, #07111f, #132841);
  color: var(--white);
  padding: 6rem 5vw;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
  align-items: start
}

.factory-text p {
  color: #c5d1df
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem
}

.pipeline div {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: 1.4rem
}

.pipeline span {
  color: var(--accent);
  font-weight: 800;
  display: block;
  margin-bottom: .8rem
}

.pipeline strong {
  display: block;
  font-size: 1.1rem
}

.pipeline p {
  margin: .45rem 0 0;
  color: #c5d1df
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.image-panel {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 35, 60, .18);
  background: #111
}

.image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.two-col-section {
  display: flex;
  align-items: center;
  gap: 50px;
}

.two-col-text {
  flex: 1;
}

.two-col-image {
  width: 45%;
  flex-shrink: 0;
}

.two-col-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.popup-image-wrapper {
  width: 100%;
  text-align: center;
}

.popup-image {
  width: 100%;
  max-width: 1100px;
  cursor: zoom-in;
  border-radius: 16px;
}

.image-hint {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.applications .popup-image-wrapper {
  width: 65%;
  margin: 0 auto;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.92);

  justify-content: center;
  align-items: center;
}

.popup-content {
  max-width: 94vw;
  max-height: 94vh;
  border-radius: 12px;
  cursor: zoom-out;
}

.popup-close {
  position: absolute;
  top: 24px;
  right: 34px;

  color: white;
  font-size: 42px;
  line-height: 1;

  cursor: pointer;
}

.dark-band {
  background: #07111f;
  color: var(--white)
}

.section-title.light p {
  color: #c9d3e0
}

.flow {
  display: flex;
  align-items: stretch;
  gap: .7rem;
  flex-wrap: wrap
}

.flow div {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  font-weight: 700
}

.flow span {
  width: 28px;
  position: relative
}

.flow span:after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0
}

.adp-section {
  background: #fff
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #0d5f90;
  font-weight: 750;
  text-decoration: none
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.responsibility-grid article {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 1.4rem;
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(20, 35, 60, .05)
}

.responsibility-grid h3 {
  margin: 0 0 .4rem
}

.responsibility-grid p {
  margin: 0;
  color: var(--muted)
}

.applications {
  background: linear-gradient(180deg, #f7f9fc, #eaf0f8)
}

.application-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem
}

.application-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .75rem 1rem;
  font-weight: 650;
  color: #23324a
}

.contact {
  margin: 5vw;
  padding: 4rem;
  border-radius: 36px;
  background: linear-gradient(135deg, #10243d, #07111f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem
}

.contact p {
  color: #c5d1df;
  max-width: 760px
}

.footer {
  padding: 2rem 5vw;
  background: #030913;
  color: #d7dee9;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  display: flex !important;
  align-items: flex-start !important;
}

.footer p {
  margin: .2rem 0 0;
  color: #8896aa
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem
}

.footer-links a {
  color: #d7dee9;
  text-decoration: none;
  font-size: .92rem
}

@media (max-width:980px) {
  .nav {
    display: none
  }

  .domain-grid,
  .responsibility-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .factory,
  .split {
    grid-template-columns: 1fr
  }

  .hero {
    min-height: 78vh
  }

  .hero-content {
    margin: 0 5vw
  }

  .pipeline {
    grid-template-columns: 1fr
  }

  .applications-group {
    margin-top: 40px;
  }

  .applications-group h3 {
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 600;
  }

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

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

@media (max-width:620px) {

  .domain-grid,
  .responsibility-grid {
    grid-template-columns: 1fr
  }

  .section,
  .section-narrow,
  .factory {
    padding: 4rem 1.25rem
  }

  .hero h1 {
    font-size: 3.2rem
  }

  .flow {
    display: grid
  }

  .flow span {
    display: none
  }

  .site-header {
    padding: 1rem 1.25rem
  }

  .contact {
    margin: 1.25rem;
    padding: 2rem;
    border-radius: 24px
  }
}

.contact .button {
  white-space: nowrap;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: nowrap;
}

.footer-col {
  display: block !important;
}

.footer-col:first-child {
  width: 22%;
}

.footer-col:nth-child(2) {
  width: 48%;
}

.footer-col:nth-child(3) {
  width: 18%;
}

.footer-network {
  list-style: disc;
  margin: 0;
  padding-left: 1.2rem;
}

.footer-network li {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.footer-network span {
  opacity: 0.7;
  font-size: 0.92rem;
}

.footer-network a {
  text-decoration: none;
}


@media screen and (max-width: 1200px) {

  .hero {
    background-image:
      linear-gradient(90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.22) 100%),
      url('../img/tellgen-aero-banner-slash.png') !important;
  }

}