:root {
  --ink-950: #07111f;
  --ink-900: #0d1726;
  --ink-820: #132238;
  --steel-700: #26364d;
  --paper: #f7fbff;
  --muted: #93a4ba;
  --text: #e8f0fb;
  --cyan: #28d7c4;
  --blue: #2f8cff;
  --lime: #a8e063;
  --amber: #f3c969;
  --rose: #ff6b6b;
  --line: rgba(232, 240, 251, 0.14);
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ink-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(40, 215, 196, 0.1), transparent 28%),
    linear-gradient(250deg, rgba(47, 140, 255, 0.14), transparent 32%),
    linear-gradient(180deg, var(--ink-900), var(--ink-950));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-950);
  padding: 0.75rem 1rem;
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 17, 31, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 222px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.primary-nav a:hover {
  color: var(--paper);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.045);
}

.language-toggle button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--ink-950);
  background: var(--cyan);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 850;
}

.nav-cta {
  background: var(--paper);
  color: var(--ink-950);
  padding: 0.66rem 1rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.74;
}

.signal-line {
  position: absolute;
  width: 64vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform-origin: center;
  animation: signalSweep 8s linear infinite;
}

.line-a {
  left: -12vw;
  top: 28%;
  rotate: -16deg;
}

.line-b {
  right: -18vw;
  top: 58%;
  rotate: 18deg;
  animation-delay: 1.8s;
}

.line-c {
  left: 15vw;
  bottom: 11%;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  rotate: 3deg;
  animation-delay: 3.6s;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  align-items: center;
  gap: 64px;
  padding: 66px 0;
}

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

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

h1 {
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(3.8rem, 9vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--paper);
  font-size: 1.14rem;
  line-height: 1.22;
}

.hero-lead {
  max-width: 720px;
  color: #c9d7e8;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.button {
  border: 1px solid transparent;
  padding: 0.92rem 1.18rem;
}

.button.primary {
  color: var(--ink-950);
  background: var(--cyan);
  box-shadow: 0 14px 40px rgba(40, 215, 196, 0.24);
}

.button.primary:hover {
  background: var(--lime);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
}

.button.secondary:hover {
  border-color: rgba(168, 224, 99, 0.55);
  background: rgba(168, 224, 99, 0.08);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  border: 1px solid rgba(40, 215, 196, 0.28);
  border-radius: 999px;
  padding: 0.48rem 0.76rem;
  color: #dffcf8;
  background: rgba(40, 215, 196, 0.08);
  font-size: 0.9rem;
  font-weight: 820;
}

.operations-visual {
  position: relative;
  border: 1px solid rgba(232, 240, 251, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(9, 20, 35, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.operations-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.54;
}

.ops-toolbar,
.ops-grid,
.terminal-strip {
  position: relative;
}

.ops-toolbar {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}

.ops-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.ops-toolbar span:nth-child(2) {
  background: var(--amber);
}

.ops-toolbar span:nth-child(3) {
  background: var(--lime);
}

.ops-toolbar strong {
  margin-left: auto;
  color: #d7e6f8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.ops-card,
.solution-grid article,
.method-list li,
.metrics-panel article,
.tech-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.ops-card {
  min-height: 154px;
  padding: 20px;
  transform: translateY(0);
  animation: panelLift 7s ease-in-out infinite;
}

.ops-card:nth-child(2) {
  animation-delay: 800ms;
}

.ops-card:nth-child(3) {
  animation-delay: 1400ms;
}

.ops-card:nth-child(4) {
  animation-delay: 2200ms;
}

.ops-card.active {
  border-color: rgba(40, 215, 196, 0.45);
  background: rgba(40, 215, 196, 0.08);
}

.ops-card span,
.card-kicker,
.method-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ops-card h2 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.ops-card p,
.solution-grid p,
.method-list p,
.metrics-panel span,
.tech-grid p,
.intro-layout p,
.section-heading p,
.experience-layout p,
.initiative-layout p,
.contact-layout p {
  color: var(--muted);
}

.terminal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 16px 18px;
  color: #bcd7e7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.terminal-strip span::before {
  content: ">";
  color: var(--lime);
  margin-right: 6px;
}

.intro-band {
  padding: 70px 0;
  background: var(--paper);
  color: var(--ink-950);
}

.intro-band .eyebrow,
.intro-band h2,
.intro-band p {
  color: var(--ink-950);
}

.intro-layout,
.experience-layout,
.method-layout,
.initiative-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.intro-layout h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.intro-layout p {
  max-width: 660px;
  margin: 0;
  color: #34445a;
  font-size: 1.1rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.solution-grid article {
  min-height: 235px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.solution-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 215, 196, 0.44);
  background: var(--panel-strong);
}

.method-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--ink-900);
}

.method-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
}

.method-list span {
  grid-row: span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 6px;
  color: var(--ink-950);
  background: var(--amber);
}

.method-list h3,
.method-list p {
  margin-bottom: 0;
}

.method-list p {
  margin-top: 6px;
}

.experience-section {
  background:
    linear-gradient(90deg, rgba(40, 215, 196, 0.06), transparent 40%),
    rgba(255, 255, 255, 0.015);
}

.metrics-panel {
  display: grid;
  gap: 14px;
}

.metrics-panel article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.metrics-panel strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 140, 255, 0.16);
  color: #cfe3ff;
  font-size: 1.15rem;
}

.metrics-panel span {
  font-size: 1.08rem;
  font-weight: 800;
}

.tech-section {
  background: var(--paper);
  color: var(--ink-950);
}

.tech-section .eyebrow,
.tech-section h2 {
  color: var(--ink-950);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tech-grid article {
  min-height: 126px;
  padding: 22px;
  border-color: rgba(7, 17, 31, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.07);
}

.tech-grid span {
  display: block;
  margin-bottom: 8px;
  color: #156c61;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tech-grid p {
  margin: 0;
  color: #34445a;
  font-weight: 750;
}

.initiatives-section {
  padding: 70px 0;
  background: linear-gradient(90deg, rgba(168, 224, 99, 0.1), rgba(47, 140, 255, 0.08));
}

.initiative-layout {
  align-items: center;
}

.initiative-layout h2 {
  margin-bottom: 12px;
}

.contact-section {
  background: var(--ink-900);
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  font-style: normal;
  background:
    linear-gradient(135deg, rgba(40, 215, 196, 0.12), rgba(47, 140, 255, 0.08)),
    var(--panel);
}

.contact-card strong {
  color: var(--paper);
  font-size: 1.3rem;
}

.contact-card a {
  width: fit-content;
  margin-top: 10px;
  color: var(--cyan);
  font-size: 1.08rem;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #040b15;
}

.footer-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-content p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .menu-button {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 80px 0 auto;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 17, 31, 0.98);
    padding: 18px 20px 24px;
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

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

  .primary-nav a {
    padding: 13px 0;
  }

  .language-toggle {
    width: fit-content;
    margin: 10px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout,
  .intro-layout,
  .experience-layout,
  .method-layout,
  .initiative-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 44px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 70px 0;
  }

  .brand img {
    width: 190px;
  }

  .hero-layout {
    padding: 44px 0 58px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.9rem);
  }

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

  .operations-visual {
    margin-inline: -4px;
  }

  .ops-grid,
  .solution-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .method-list li,
  .metrics-panel article {
    grid-template-columns: 1fr;
  }

  .method-list span {
    grid-row: auto;
  }

  .footer-content {
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes signalSweep {
  0% {
    opacity: 0;
    transform: translateX(-22%);
  }

  20%,
  70% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translateX(44%);
  }
}

@keyframes panelLift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}
