:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-soft: #0b1115;
  --panel: rgba(13, 22, 28, 0.78);
  --panel-strong: rgba(18, 29, 37, 0.92);
  --line: rgba(178, 222, 232, 0.18);
  --line-strong: rgba(117, 228, 244, 0.4);
  --text: #eef7f8;
  --muted: #9dafb4;
  --cyan: #6fe8f8;
  --mint: #80f0c8;
  --gold: #e2c16b;
  --magenta: #e36ac8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(111, 232, 248, 0.1), transparent 28rem),
    radial-gradient(circle at 85% 40%, rgba(128, 240, 200, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 10, 0.68);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 10, 0.86);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 0.75rem;
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(111, 232, 248, 0.08);
  border: 1px solid rgba(111, 232, 248, 0.22);
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.25rem;
  justify-content: center;
  padding: 0.38rem;
}

.brand-mark img {
  height: 100%;
  width: 100%;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav .nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 0.7rem 0.9rem;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: none;
  height: 2.5rem;
  justify-content: center;
  position: relative;
  width: 2.5rem;
}

.nav-toggle span {
  background: currentColor;
  border-radius: 999px;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease;
  width: 1.15rem;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

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

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

.hero {
  min-height: 92vh;
  overflow: hidden;
  padding: 10rem clamp(1.25rem, 5vw, 5rem) 7rem;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.68) 38%, rgba(5, 7, 10, 0.16) 74%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.92));
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.8rem, 9vw, 8.2rem);
  letter-spacing: 0;
  line-height: 0.86;
  margin-bottom: 1.5rem;
  max-width: 8ch;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 4.25rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-copy {
  color: #d9e5e7;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
  max-width: 670px;
}

.hero-actions,
.cta-section {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.95rem 1.1rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #031113;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
}

.signal-band {
  background: #071014;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-item {
  border-right: 1px solid var(--line);
  min-height: 13rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item span {
  color: var(--gold);
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.signal-item strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 0.65rem;
}

.signal-item p,
.service-card p,
.split-section p,
.about-copy p,
.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.split-section,
.about-section,
.cta-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}

.section-heading {
  max-width: 920px;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 22rem;
  padding: 1.4rem;
}

.service-icon {
  align-items: center;
  background: rgba(111, 232, 248, 0.08);
  border: 1px solid rgba(111, 232, 248, 0.22);
  border-radius: 8px;
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  margin-bottom: 3rem;
  width: 3rem;
}

.service-icon svg {
  fill: none;
  height: 1.35rem;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.35rem;
}

.split-section {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(128, 240, 200, 0.08), transparent 42%),
    #071014;
  border-block: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
}

.split-section > div:first-child p:last-child {
  font-size: 1.05rem;
  max-width: 720px;
}

.process-list {
  display: grid;
  gap: 0.8rem;
}

.process-step {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
}

.process-step span {
  color: var(--mint);
  display: block;
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.about-section {
  align-items: stretch;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
}

.about-copy {
  max-width: 900px;
}

.identity-panel {
  align-self: start;
  background: var(--panel-strong);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.identity-icon {
  height: 4.5rem;
  margin-bottom: 0.5rem;
  width: 6rem;
}

.identity-panel strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.identity-panel a {
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.panel-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-section {
  background:
    linear-gradient(120deg, rgba(111, 232, 248, 0.14), rgba(227, 106, 200, 0.08) 40%, rgba(226, 193, 107, 0.1)),
    #081014;
  border-top: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  min-height: 24rem;
  text-align: center;
}

.cta-section h2 {
  max-width: 920px;
}

.site-footer {
  align-items: center;
  background: #030506;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
}

.site-footer a {
  color: var(--text);
}

@media (max-width: 980px) {
  .signal-band,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .split-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 18rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(5, 7, 10, 0.96);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    left: 0;
    padding: 0.8rem 1.25rem 1.3rem;
    position: fixed;
    right: 0;
    top: 68px;
    transform: translateY(calc(-100% - 68px));
    transition: transform 180ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    border-top: 1px solid var(--line);
    padding: 1rem 0;
  }

  .site-nav .nav-cta {
    margin-top: 0.7rem;
    padding: 0.9rem;
    text-align: center;
  }

  .hero {
    min-height: 88vh;
    padding-top: 8.5rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.52)),
      linear-gradient(180deg, rgba(5, 7, 10, 0.22), rgba(5, 7, 10, 0.96));
  }

  .hero-media img {
    object-position: 58% center;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .signal-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .signal-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.2rem);
  }

  h2 {
    font-size: 2rem;
  }
}
