:root {
  --bg: #0d1017;
  --bg-elevated: #121722;
  --bg-soft: #171d2a;
  --panel: rgba(20, 25, 36, 0.78);
  --panel-solid: #171d29;
  --panel-muted: #101620;
  --line: rgba(186, 196, 218, 0.14);
  --line-strong: rgba(188, 161, 255, 0.26);
  --text: #f5f7fb;
  --muted: #aeb8cb;
  --muted-strong: #d7deec;
  --primary: #a879ff;
  --primary-strong: #8f5cff;
  --primary-soft: #d7c5ff;
  --accent: #78ead4;
  --warm: #ffcf8a;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.26);
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1480px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #0c0f15 0%, #101521 46%, #0b0e14 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(168, 121, 255, 0.32);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(168, 121, 255, 0.08) 36%, transparent 58%),
    linear-gradient(180deg, rgba(120, 234, 212, 0.05), transparent 34%);
  opacity: 0.8;
}

.page-shell > * {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 13, 19, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(168, 121, 255, 0.95), rgba(120, 234, 212, 0.82)),
    #151b27;
  color: #0a0e15;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 16px 46px rgba(168, 121, 255, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-link.is-active {
  color: #0a0e15;
  background: var(--primary-soft);
}

.nav-cta {
  margin-left: 4px;
  border: 1px solid rgba(168, 121, 255, 0.32);
  background: rgba(168, 121, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 64px 0 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(168, 121, 255, 0.1), transparent 26%),
    linear-gradient(135deg, transparent 0%, rgba(120, 234, 212, 0.08) 48%, transparent 72%);
  opacity: 0.85;
}

.hero::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 50%;
  width: min(860px, 70vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(168, 121, 255, 0.42), transparent);
  animation: scanLine 8s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  max-width: 1280px;
  text-align: center;
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--primary-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.contact-copy h2,
.subhero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(3rem, 6.2vw, 5.7rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.hero-text,
.section-heading p,
.section-copy p,
.contact-copy p,
.service-card p,
.pillar-card p,
.project-card p,
.value-card p,
.timeline-item p,
.result-card p,
.testimonial-card p,
.faq-item p,
.ecosystem-main p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 76ch;
  margin: 14px auto 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  color: #080c12;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent));
  box-shadow: 0 18px 42px rgba(168, 121, 255, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 56px rgba(168, 121, 255, 0.28);
}

.button-secondary {
  color: var(--muted-strong);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(168, 121, 255, 0.34);
  background: rgba(168, 121, 255, 0.09);
}

.hero-visual {
  position: relative;
  width: min(1220px, 100%);
  min-height: 430px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  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: 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
  animation: gridDrift 18s linear infinite;
}

.diagram-panel {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(18, 23, 34, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.diagram-panel-main {
  top: 0;
  left: 0;
  width: min(54%, 620px);
  min-height: 320px;
  padding: 24px;
}

.diagram-panel-side {
  left: 340px;
  bottom: 18px;
  width: min(38%, 430px);
  padding: 22px;
}

.diagram-panel-sustainability {
  top: 198px;
  right: 0;
  width: min(34%, 390px);
  min-height: 220px;
  padding: 22px;
}

.diagram-panel-metrics {
  top: -22px;
  right: 78px;
  width: 300px;
  padding: 20px;
}

.connector-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(120, 234, 212, 0.78), transparent);
  box-shadow: 0 0 14px rgba(120, 234, 212, 0.16);
  transform-origin: left center;
}

.connector-a {
  top: 164px;
  left: 500px;
  width: 360px;
  transform: rotate(-11deg);
}

.connector-b {
  top: 300px;
  left: 520px;
  width: 400px;
  transform: rotate(12deg);
}

.connector-c {
  top: 338px;
  left: 680px;
  width: 315px;
  transform: rotate(-18deg);
}

.diagram-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent, rgba(168, 121, 255, 0.16), transparent),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.diagram-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.diagram-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(11, 15, 22, 0.78);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.node-primary {
  top: 96px;
  left: 34px;
  width: 210px;
}

.node-secondary {
  top: 198px;
  right: 36px;
  width: 198px;
}

.node-tertiary {
  bottom: 46px;
  left: 78px;
  width: 210px;
}

.diagram-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(120, 234, 212, 0.05), rgba(120, 234, 212, 0.72), rgba(168, 121, 255, 0.05));
  transform-origin: left center;
}

.line-a {
  top: 176px;
  left: 210px;
  width: 178px;
  transform: rotate(21deg);
}

.line-b {
  top: 266px;
  left: 152px;
  width: 188px;
  transform: rotate(-31deg);
}

.line-c {
  top: 298px;
  left: 222px;
  width: 150px;
  transform: rotate(23deg);
}

.diagram-panel-side ul {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.diagram-panel-side li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
}

.signal-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.signal-grid span {
  display: grid;
  place-items: center;
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.diagram-panel-sustainability p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.metric-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
}

.metric-row strong {
  color: var(--muted-strong);
  font-family: "Space Grotesk", sans-serif;
}

.trust-bar {
  padding: 12px 0 42px;
}

.trust-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-track span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.9rem;
}

.section {
  padding: 112px 0;
}

.technical-section {
  position: relative;
}

.technical-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--container);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
}

.overview {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 1060px;
  margin-bottom: 40px;
}

.section-heading h2,
.section-copy h2,
.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 2.8vw, 3.25rem);
  line-height: 1.08;
}

.pillar-grid,
.service-grid,
.project-list,
.client-grid,
.timeline,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 22px;
}

.pillar-grid,
.service-grid,
.project-list,
.client-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.split-grid,
.results-grid,
.contact-grid,
.ecosystem-layout,
.credentials-grid,
.subhero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: start;
}

.hero-card,
.hero-panel,
.value-card,
.service-card,
.feature-card,
.client-card,
.result-card,
.testimonial-card,
.contact-card,
.faq-item,
.timeline-item,
.pillar-card,
.project-card,
.credential-panel,
.ecosystem-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.pillar-card,
.service-card,
.project-card,
.feature-card,
.value-card,
.result-card,
.testimonial-card,
.client-card,
.timeline-item,
.credential-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.pillar-card:hover,
.service-card:hover,
.project-card:hover,
.feature-card:hover,
.value-card:hover,
.result-card:hover,
.testimonial-card:hover,
.client-card:hover,
.timeline-item:hover,
.credential-panel:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.pillar-card::before,
.project-card::before,
.service-card::before,
.feature-card::before,
.value-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-top: 1px solid rgba(168, 121, 255, 0.28);
  border-right: 1px solid rgba(168, 121, 255, 0.28);
  border-radius: 0 14px 0 0;
  pointer-events: none;
}

.service-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary-soft);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.pillar-card {
  min-height: 380px;
}

.pillar-card h3,
.service-card h3,
.feature-card h3,
.value-card h3,
.result-card h3,
.timeline-item h3,
.project-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  line-height: 1.18;
}

.pillar-card h3 {
  font-size: 1.55rem;
}

.compact-list,
.credential-list,
.stack-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.compact-list li,
.credential-list li,
.stack-list li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.032);
  line-height: 1.48;
}

.compact-list li::before,
.credential-list li::before,
.stack-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.service-card {
  min-height: 240px;
}

.accent-card {
  border-color: rgba(168, 121, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(168, 121, 255, 0.12), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.project-list-featured {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.project-card-large {
  min-height: 520px;
}

.project-card-large .project-preview {
  min-height: 260px;
}

.project-preview {
  position: relative;
  min-height: 190px;
  margin: 18px 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0d121b;
  background-size: 26px 26px, 26px 26px, auto;
}

.project-preview span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(10, 14, 20, 0.72);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-preview::before,
.project-preview::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(168, 121, 255, 0.32);
  border-radius: 18px;
}

.project-preview::before {
  right: 28px;
  bottom: 26px;
  width: 42%;
  height: 44%;
  background: rgba(168, 121, 255, 0.08);
}

.project-preview::after {
  left: 32px;
  bottom: 52px;
  width: 36%;
  height: 30%;
  background: rgba(120, 234, 212, 0.07);
}

.project-preview-tori {
  min-height: 260px;
}

.project-preview-tori div {
  position: absolute;
  right: 42px;
  top: 72px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(120, 234, 212, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(120, 234, 212, 0.28) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(120, 234, 212, 0.28) 50%, transparent 51%);
}

.project-preview-web::before {
  width: 64%;
  height: 48%;
}

.project-preview-cad::after {
  transform: skewX(-16deg);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-tag,
.project-year,
.ecosystem-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--primary-soft);
  background: rgba(168, 121, 255, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ecosystem-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(168, 121, 255, 0.13), rgba(255, 255, 255, 0.025) 54%),
    var(--panel-solid);
}

.ecosystem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.48;
}

.ecosystem-copy,
.ecosystem-layout {
  position: relative;
}

.ecosystem-layout {
  margin-top: 28px;
}

.ecosystem-main {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.ecosystem-main h3 {
  margin: 14px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.ecosystem-links {
  display: grid;
  gap: 12px;
}

.ecosystem-pill {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.ecosystem-pill:hover,
.ecosystem-pill:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(168, 121, 255, 0.1);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #0a0e15;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.client-card {
  display: grid;
  gap: 12px;
  min-height: 148px;
}

.client-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  line-height: 1.18;
}

.client-note {
  color: var(--muted);
  line-height: 1.7;
}

.value-stack,
.results-list,
.faq-list {
  display: grid;
  gap: 18px;
}

.subhero {
  padding: 92px 0 42px;
}

.subhero-grid {
  align-items: end;
}

.subhero h1 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
  line-height: 1.06;
}

.subhero-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.credential-panel h2 {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.1;
}

.stack-list {
  grid-template-columns: repeat(2, 1fr);
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-card label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-weight: 700;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(168, 121, 255, 0.55);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(168, 121, 255, 0.12);
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-points a,
.contact-points span {
  color: var(--muted);
}

.contact-points a:hover,
.footer-wrap a:hover {
  color: var(--text);
}

.site-footer {
  padding: 28px 0 38px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

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

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

@keyframes gridDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 34px 34px;
  }
}

@keyframes scanLine {
  0%,
  100% {
    opacity: 0.32;
    transform: translateX(-50%) scaleX(0.6);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-50%) scaleX(1);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .results-grid,
  .contact-grid,
  .ecosystem-layout,
  .credentials-grid,
  .subhero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero h1 {
    max-width: 100%;
    white-space: normal;
  }

  .hero-visual {
    min-height: 720px;
  }

  .diagram-panel-main {
    left: 50%;
    width: min(100%, 560px);
    transform: translateX(-50%);
  }

  .diagram-panel-sustainability {
    top: 430px;
    right: 0;
    left: auto;
    width: calc(50% - 10px);
    min-height: 250px;
  }

  .diagram-panel-side {
    right: 0;
    bottom: 20px;
    left: auto;
    width: calc(50% - 10px);
  }

  .diagram-panel-metrics {
    top: 430px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 280px;
    transform: none;
  }

  .connector-line {
    display: none;
  }

  .pillar-grid,
  .service-grid,
  .project-list,
  .project-list-featured,
  .client-grid,
  .timeline,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .brand-copy small {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(12, 16, 24, 0.96);
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a,
  .language-switcher {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 24px, 1480px);
  }

  .hero {
    padding: 72px 0 58px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12vw, 3.8rem);
    white-space: normal;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 1210px;
  }

  .diagram-panel-main {
    left: 0;
    width: 100%;
    transform: none;
  }

  .diagram-panel-side {
    top: 520px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
  }

  .diagram-panel-sustainability {
    top: 990px;
    left: 0;
    width: 100%;
    min-height: auto;
  }

  .diagram-panel-metrics {
    top: 740px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    transform: none;
  }

  .node-primary,
  .node-secondary,
  .node-tertiary {
    left: 24px;
    right: auto;
    width: calc(100% - 48px);
  }

  .node-secondary {
    top: 188px;
  }

  .node-tertiary {
    bottom: 42px;
  }

  .diagram-line,
  .connector-line {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .pillar-grid,
  .service-grid,
  .project-list,
  .project-list-featured,
  .client-grid,
  .timeline,
  .feature-grid,
  .testimonial-grid,
  .stack-list {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    min-height: auto;
  }

  .project-card-large .project-preview,
  .project-preview {
    min-height: 210px;
  }

  .ecosystem-card {
    padding: 24px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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