:root {
  --bg: #050914;
  --bg-deep: #02050c;
  --panel: rgba(10, 17, 34, 0.76);
  --panel-strong: rgba(12, 21, 42, 0.94);
  --line: rgba(132, 157, 204, 0.16);
  --line-hot: rgba(91, 231, 255, 0.42);
  --text: #f5f8ff;
  --muted: #91a0ba;
  --cyan: #5be7ff;
  --cyan-soft: #a5f4ff;
  --violet: #8d65ff;
  --pink: #d652ff;
  --green: #5cf5bd;
  --max: 1240px;
  --radius: 18px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 2%, rgba(39, 179, 211, 0.13), transparent 31rem),
    radial-gradient(circle at 86% 26%, rgba(133, 58, 207, 0.12), transparent 34rem),
    var(--bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

main,
section,
.hero-copy,
.hero-system,
.system-frame {
  min-width: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(123, 150, 201, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 150, 201, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3,
.brand,
.button {
  font-family: "Sora", sans-serif;
}

.neural-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 36px), 1280px);
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 8, 18, 0.76);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand img {
  width: 46px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}

.brand span span {
  color: var(--cyan);
}

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

.site-nav a {
  color: #b8c3d8;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cyan-soft);
}

.site-nav .nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(91, 231, 255, 0.36);
  border-radius: 9px;
  color: var(--text);
  background: rgba(91, 231, 255, 0.07);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle i {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 920px;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5vw;
  padding-top: 140px;
  padding-bottom: 90px;
}

.hero-grid,
.footer-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid::before,
.footer-grid::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(91, 231, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 231, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 65% 45%, black, transparent 62%);
  transform: perspective(800px) rotateX(64deg) translateY(10%);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 11px;
  border: 1px solid rgba(91, 231, 255, 0.17);
  border-radius: 99px;
  color: #bdc9dc;
  background: rgba(91, 231, 255, 0.04);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill i,
.form-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse 1.8s infinite;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 span,
.section-heading h2 span,
.portfolio-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), #a9f4ff 48%, #b990ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 650px;
  color: #aab6ca;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #031019;
  background: linear-gradient(115deg, var(--cyan), #a2f4ff);
  box-shadow: 0 10px 35px rgba(91, 231, 255, 0.17);
}

.button-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover {
  border-color: rgba(91, 231, 255, 0.4);
}

.hero-proof {
  display: flex;
  gap: 32px;
  color: #8090aa;
  font-size: 0.76rem;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof b {
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.hero-system {
  position: relative;
  display: grid;
  min-height: 600px;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  width: min(43vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(91, 231, 255, 0.12);
  border-radius: 50%;
  animation: orbitBreath 6s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  inset: 11%;
  content: "";
  border: 1px dashed rgba(141, 101, 255, 0.2);
  border-radius: inherit;
  animation: spin 32s linear infinite;
}

.hero-orbit::after {
  inset: 28%;
  border-style: solid;
  border-color: rgba(91, 231, 255, 0.2);
  animation-direction: reverse;
  animation-duration: 22s;
}

.hero-wordmark {
  position: absolute;
  top: 2%;
  right: -4%;
  width: 80%;
  opacity: 0.12;
  mix-blend-mode: screen;
  filter: saturate(1.2);
}

.system-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(130, 154, 198, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(91, 231, 255, 0.08), transparent 45%),
    rgba(5, 11, 25, 0.84);
  box-shadow: var(--shadow), inset 0 0 70px rgba(88, 42, 170, 0.07);
  backdrop-filter: blur(16px);
}

.frame-corners::before,
.frame-corners::after {
  position: absolute;
  width: 24px;
  height: 24px;
  content: "";
  border-color: var(--cyan);
  opacity: 0.85;
}

.frame-corners::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.frame-corners::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.system-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: #8fa0ba;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

.system-head b {
  color: var(--green);
  font-size: inherit;
}

.system-map {
  position: relative;
  height: 270px;
  background:
    linear-gradient(rgba(91, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 231, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
}

.system-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(91, 231, 255, 0.27);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.system-map::before,
.system-map::after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(91, 231, 255, 0.55), transparent);
  transform-origin: left center;
}

.system-map::before {
  top: 38%;
  left: 14%;
  width: 72%;
  height: 1px;
  transform: rotate(14deg);
}

.system-map::after {
  top: 72%;
  left: 19%;
  width: 65%;
  height: 1px;
  transform: rotate(-25deg);
}

.node {
  position: absolute;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(91, 231, 255, 0.28);
  border-radius: 50%;
  color: var(--cyan-soft);
  background: rgba(7, 19, 37, 0.94);
  box-shadow: 0 0 28px rgba(91, 231, 255, 0.12);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.57rem;
}

.node::before {
  position: absolute;
  inset: -6px;
  content: "";
  border: 1px dashed rgba(141, 101, 255, 0.3);
  border-radius: inherit;
  animation: spin 9s linear infinite;
}

.n1 { top: 18%; left: 10%; }
.n2 { top: 8%; right: 15%; }
.n3 { top: 58%; left: 24%; }
.n4 { top: 58%; right: 11%; }
.n5 { top: 35%; left: calc(50% - 29px); }

.system-feed {
  padding: 14px 20px 18px;
  color: #8493ab;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  line-height: 1.9;
}

.system-feed div {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 8px;
  align-items: center;
}

.system-feed b,
.system-feed em {
  font-size: inherit;
  font-style: normal;
  font-weight: 500;
}

.system-feed em {
  color: var(--green);
}

.system-feed span {
  color: var(--cyan);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 0;
  color: #65738a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.signal-strip {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 6vw, 90px);
  padding: 17px 24px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  color: #70809a;
  background: rgba(5, 11, 24, 0.6);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.signal-strip span::before {
  margin-right: 10px;
  color: var(--cyan);
  content: "+";
}

.content-section {
  position: relative;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2,
.portfolio-teaser h2,
.case-copy h2,
.portfolio-capabilities h2,
.portfolio-contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 8px auto;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(91, 231, 255, 0.045), transparent 48%),
    rgba(8, 15, 30, 0.75);
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.service-card:hover {
  border-color: rgba(91, 231, 255, 0.34);
  background-color: rgba(10, 20, 39, 0.92);
  transform: translateY(-6px);
}

.service-card-accent {
  background:
    radial-gradient(circle at 80% 4%, rgba(141, 101, 255, 0.2), transparent 50%),
    linear-gradient(145deg, rgba(91, 231, 255, 0.07), transparent 50%),
    rgba(8, 15, 30, 0.82);
}

.service-index {
  color: #657793;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.67rem;
}

.service-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 38px 0 28px;
  place-items: center;
  border: 1px solid rgba(91, 231, 255, 0.19);
  border-radius: 16px;
  background: rgba(91, 231, 255, 0.05);
}

.service-icon::before,
.service-icon::after {
  width: 23px;
  height: 23px;
  content: "";
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.service-icon::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--violet);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 5px 8px;
  border: 1px solid rgba(128, 151, 194, 0.13);
  border-radius: 99px;
  color: #71819a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.section-geometry {
  position: absolute;
  top: 12%;
  right: -12%;
  z-index: -1;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(141, 101, 255, 0.1);
  transform: rotate(28deg);
}

.process-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(91, 231, 255, 0.025), transparent),
    rgba(3, 8, 18, 0.52);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 56px;
}

.process-beam {
  position: absolute;
  top: 22px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 16px rgba(91, 231, 255, 0.45);
}

.process-step {
  position: relative;
  padding: 0 20px;
  text-align: center;
}

.process-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 27px;
  place-items: center;
  border: 1px solid rgba(91, 231, 255, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--bg);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
}

.process-step b {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}

.process-step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50% 50% 18px 18px;
  background:
    radial-gradient(circle, rgba(91, 231, 255, 0.09), transparent 54%),
    rgba(8, 15, 30, 0.72);
}

.about-visual img {
  width: 72%;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.about-visual > span {
  position: absolute;
  bottom: 22px;
  color: #6f7f99;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.about-orbit {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px dashed rgba(141, 101, 255, 0.25);
  border-radius: 50%;
  animation: spin 35s linear infinite;
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px 0;
  color: var(--muted);
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
}

.about-facts div {
  padding: 22px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}

.about-facts b {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan-soft);
  font-family: "Sora", sans-serif;
}

.about-facts span {
  color: #8291aa;
  font-size: 0.76rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan-soft);
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.portfolio-teaser {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6vw;
  padding: 80px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(115deg, rgba(91, 231, 255, 0.055), transparent 45%),
    rgba(8, 15, 30, 0.82);
}

.teaser-projects a {
  display: grid;
  grid-template-columns: 42px 0.8fr 1.2fr 25px;
  gap: 15px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, color 180ms ease;
}

.teaser-projects a:hover {
  padding-left: 10px;
  color: var(--cyan-soft);
}

.teaser-projects span,
.teaser-projects em {
  color: #71809a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-style: normal;
}

.contact-section {
  margin-top: 130px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 17% 50%, rgba(141, 101, 255, 0.12), transparent 32rem),
    rgba(2, 6, 14, 0.55);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 26px 0 34px;
  color: var(--muted);
}

.direct-contact {
  display: grid;
  gap: 9px;
  color: #b9c7dc;
  font-size: 0.86rem;
}

.direct-contact a:hover,
.footer-column a:hover {
  color: var(--cyan);
}

.contact-form {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 14, 28, 0.88);
  box-shadow: var(--shadow);
}

.contact-form::before {
  position: absolute;
  top: -1px;
  left: 32px;
  width: 110px;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #8595ad;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: #98a6bc;
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: rgba(2, 7, 16, 0.62);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 128px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(91, 231, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(91, 231, 255, 0.06);
}

.contact-form .button {
  width: 100%;
}

.form-response {
  min-height: 24px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-response.success {
  color: var(--green);
}

.form-response.error {
  color: #ff8698;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.site-footer {
  position: relative;
  padding: 80px max(24px, calc((100vw - var(--max)) / 2)) 24px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 50px;
  padding-bottom: 70px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  mix-blend-mode: screen;
}

.footer-brand b {
  display: block;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.17em;
}

.footer-brand em {
  color: #6f809a;
  font-size: 0.69rem;
  font-style: normal;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column > span,
.footer-cta > span {
  margin-bottom: 9px;
  color: #657690;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  color: #aab7cb;
  font-size: 0.78rem;
}

.footer-cta {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #596a83;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.61rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Portfolio */
.portfolio-hero {
  position: relative;
  min-height: 700px;
  padding-top: 220px;
  overflow: hidden;
}

.portfolio-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 7vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.portfolio-hero > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.07rem;
}

.portfolio-stats {
  display: flex;
  gap: 45px;
  margin-top: 55px;
  color: #73839b;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.portfolio-stats b {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.case-study {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 7vw;
  align-items: center;
  padding-block: 125px;
  border-top: 1px solid var(--line);
}

.case-study-reverse {
  grid-template-columns: 1.18fr 0.82fr;
}

.case-study-reverse .case-copy {
  order: 2;
}

.case-copy > p:not(.eyebrow) {
  margin: 27px 0;
  color: var(--muted);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 30px;
}

.case-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #8796ad;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

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

.case-copy dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.73rem;
}

.case-copy dt {
  color: #65758f;
  font-family: "IBM Plex Mono", monospace;
}

.case-copy dd {
  margin: 0;
  color: #b4c0d2;
}

.case-copy dd i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.case-visual {
  position: relative;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(134, 158, 201, 0.24);
  border-radius: 16px;
  background: #060b15;
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.case-study-reverse .browser-frame {
  transform: perspective(1400px) rotateY(2deg) rotateX(1deg);
}

.browser-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: #62728b;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
}

.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45546d;
}

.browser-bar span {
  margin-left: 9px;
}

.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.case-signal {
  position: absolute;
  padding: 8px 11px;
  border: 1px solid rgba(91, 231, 255, 0.25);
  color: var(--cyan);
  background: rgba(3, 9, 19, 0.94);
  box-shadow: 0 0 28px rgba(91, 231, 255, 0.13);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.signal-a {
  top: 18%;
  right: -3%;
}

.signal-b {
  bottom: 12%;
  left: -3%;
  color: #c8a5ff;
  border-color: rgba(141, 101, 255, 0.35);
}

.portfolio-capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 120px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.portfolio-capabilities > .eyebrow,
.portfolio-capabilities > h2 {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 36px 0;
  background: rgba(5, 10, 21, 0.94);
}

.portfolio-capabilities > h2 {
  padding-top: 0;
  padding-bottom: 45px;
}

.portfolio-capabilities > div {
  min-height: 220px;
  padding: 28px;
  background: rgba(7, 14, 28, 0.97);
}

.portfolio-capabilities div span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
}

.portfolio-capabilities div b {
  display: block;
  margin: 50px 0 10px;
  font-family: "Sora", sans-serif;
}

.portfolio-capabilities div p {
  color: var(--muted);
  font-size: 0.76rem;
}

.portfolio-contact {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 35px;
  align-items: center;
  margin-bottom: 120px;
  padding: 36px 45px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(91, 231, 255, 0.07), transparent 40%),
    rgba(8, 15, 30, 0.86);
}

.portfolio-contact img {
  width: 130px;
  height: 105px;
  object-fit: cover;
  mix-blend-mode: screen;
}

.portfolio-contact h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

/* Revision: purposeful identity, connected systems and clearer hierarchy */
.brand img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(91, 231, 255, 0.32));
  mix-blend-mode: normal;
}

.brand {
  gap: 0;
}

.status-pill {
  color: #93f7c8;
  border-color: rgba(92, 245, 189, 0.25);
  background: rgba(92, 245, 189, 0.055);
  box-shadow: inset 0 0 22px rgba(92, 245, 189, 0.025);
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(3rem, 5.25vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span,
.portfolio-hero h1 span {
  background: linear-gradient(90deg, var(--cyan), #a9f4ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.system-map::before,
.system-map::after {
  display: none;
}

.system-map svg {
  stroke: rgba(91, 231, 255, 0.32);
}

.system-map .network-ring {
  fill: none;
  stroke: rgba(141, 101, 255, 0.3);
  stroke-dasharray: 7 10;
  transform-origin: 250px 160px;
  animation: networkSpin 30s linear infinite;
}

.system-map .network-outer {
  stroke: rgba(91, 231, 255, 0.14);
  stroke-dasharray: 3 9;
}

.node {
  display: flex;
  width: 66px;
  height: 66px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  cursor: default;
  transition: width 220ms ease, height 220ms ease, margin 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.node::before {
  animation-duration: 12s;
}

.node b,
.node small {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1.15;
  text-align: center;
}

.node small {
  margin-top: 3px;
  color: #657793;
  font-size: 0.42rem;
}

.node:hover {
  width: 78px;
  height: 78px;
  margin: -6px;
  border-color: rgba(91, 231, 255, 0.75);
  background: rgba(10, 28, 50, 0.98);
  box-shadow: 0 0 36px rgba(91, 231, 255, 0.3);
  animation-play-state: paused;
}

.n1 { top: 10%; left: 10%; animation: nodeOrbitA 7s ease-in-out infinite; }
.n2 { top: 10%; right: 10%; animation: nodeOrbitB 8s ease-in-out infinite; }
.n3 { bottom: 7%; left: 7%; top: auto; animation: nodeOrbitB 7.5s ease-in-out infinite reverse; }
.n4 { right: 7%; bottom: 7%; top: auto; animation: nodeOrbitA 8.5s ease-in-out infinite reverse; }
.n5 { top: calc(50% - 41px); left: calc(50% - 41px); }

.node-core {
  width: 82px;
  height: 82px;
  border-color: rgba(141, 101, 255, 0.58);
  background: radial-gradient(circle, rgba(141, 101, 255, 0.22), rgba(7, 19, 37, 0.96));
  box-shadow: 0 0 38px rgba(141, 101, 255, 0.18);
}

.node-core::before {
  border-color: rgba(91, 231, 255, 0.42);
  animation-duration: 18s;
  animation-direction: reverse;
}

.signal-strip {
  justify-content: flex-start;
  gap: 0;
  padding-inline: 0;
}

.signal-strip span::before {
  content: none;
}

.signal-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.signal-strip:hover .signal-track {
  animation-play-state: paused;
}

.signal-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.signal-group i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
}

.signal-group i::before,
.signal-group i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--cyan);
}

.signal-group i::after {
  transform: rotate(90deg);
}

.section-heading {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  grid-template-areas:
    "eyebrow ."
    "title copy";
  gap: 13px 70px;
  align-items: start;
}

.section-heading .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.section-heading h2 {
  grid-area: title;
}

.section-heading > p {
  grid-area: copy;
  margin: 8px 0 0;
}

.service-icon::before,
.service-icon::after {
  content: none;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(91, 231, 255, 0.24));
  transition: transform 220ms ease, stroke 220ms ease;
}

.service-card:hover .service-icon svg {
  stroke: var(--cyan-soft);
  transform: scale(1.08);
}

.service-card-accent .eyebrow {
  margin-top: 4px;
}

.process-section .section-heading {
  max-width: 850px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "eyebrow"
    "title";
}

.process-beam {
  top: 23px;
  right: 10%;
  left: 10%;
}

.process-step {
  z-index: 1;
}

.systems-mesh {
  position: relative;
  display: grid;
  width: 88%;
  aspect-ratio: 1.05;
  place-items: center;
  border-radius: 50%;
  transform-style: preserve-3d;
  transition: transform 450ms ease, filter 450ms ease;
}

.systems-mesh:hover {
  filter: drop-shadow(0 0 28px rgba(91, 231, 255, 0.16));
  transform: perspective(800px) rotateX(4deg) rotateY(-5deg) scale(1.025);
}

.systems-mesh svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: rgba(7, 20, 37, 0.94);
  stroke: rgba(91, 231, 255, 0.38);
  stroke-width: 1;
  filter: drop-shadow(0 0 9px rgba(91, 231, 255, 0.13));
}

.systems-mesh .mesh-secondary {
  stroke: rgba(141, 101, 255, 0.3);
  stroke-dasharray: 5 10;
}

.mesh-orbit {
  position: absolute;
  border: 1px dashed rgba(91, 231, 255, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-alpha {
  width: 74%;
  aspect-ratio: 1;
  animation: spin 28s linear infinite;
}

.orbit-beta {
  width: 46%;
  aspect-ratio: 1;
  border-color: rgba(141, 101, 255, 0.32);
  animation: spin 18s linear infinite reverse;
}

.mesh-label {
  position: absolute;
  padding: 5px 7px;
  border: 1px solid rgba(91, 231, 255, 0.16);
  border-radius: 4px;
  color: #7e91ac;
  background: rgba(4, 11, 23, 0.88);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  transition: color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.systems-mesh:hover .mesh-label {
  color: var(--cyan-soft);
  border-color: rgba(91, 231, 255, 0.42);
  box-shadow: 0 0 13px rgba(91, 231, 255, 0.1);
}

.label-data { top: 6%; left: 11%; }
.label-model { top: 6%; right: 9%; }
.label-api { bottom: 8%; left: 8%; }
.label-action { right: 6%; bottom: 7%; }

.systems-mesh > b {
  position: relative;
  z-index: 1;
  color: var(--cyan-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
}

.mesh-pulse {
  fill: var(--cyan);
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: meshPulse 2.8s ease-in-out infinite;
}

.mesh-pulse.p2 { animation-delay: -0.5s; }
.mesh-pulse.p3 { animation-delay: -1s; }
.mesh-pulse.p4 { animation-delay: -1.5s; }
.mesh-pulse.p5 { animation-delay: -2s; }

.portfolio-teaser {
  grid-template-columns: 1fr 0.9fr;
}

.portfolio-teaser h2 {
  font-size: clamp(2rem, 3.6vw, 3.75rem);
}

.browser-frame img {
  aspect-ratio: 1.94 / 1;
}

.footer-brand img {
  width: 124px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(91, 231, 255, 0.22));
  mix-blend-mode: normal;
}

.footer-brand {
  align-self: start;
}

.proof-showcase {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 6vw;
  align-items: center;
  padding-block: 125px;
  border-top: 1px solid var(--line);
}

.proof-showcase-reverse {
  grid-template-columns: 1.28fr 0.72fr;
}

.proof-showcase-reverse .proof-copy {
  order: 2;
}

.proof-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.proof-copy h2 span {
  color: var(--cyan);
}

.proof-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.proof-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.proof-metrics span {
  color: #71819a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.57rem;
  text-transform: uppercase;
}

.proof-metrics b {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan-soft);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.dashboard-stack {
  position: relative;
  min-height: 540px;
  perspective: 1200px;
}

.dash-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(124, 151, 200, 0.22);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(91, 231, 255, 0.055), transparent 45%),
    rgba(6, 14, 29, 0.94);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.dash-card:hover {
  z-index: 6;
  border-color: rgba(91, 231, 255, 0.48);
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.46), 0 0 30px rgba(91, 231, 255, 0.1);
}

.dash-card header {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #8495ae;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.dash-card header i {
  color: var(--green);
  font-style: normal;
}

.dash-card-main {
  top: 55px;
  right: 5%;
  z-index: 3;
  width: 78%;
  min-height: 400px;
  transform: rotateY(-4deg);
}

.dash-card-main:hover {
  transform: rotateY(0) translateY(-8px);
}

.dash-card-left {
  bottom: 0;
  left: 0;
  z-index: 4;
  width: 37%;
  min-height: 235px;
  transform: rotateY(7deg) rotateZ(-2deg);
}

.dash-card-left:hover {
  transform: rotateY(0) rotateZ(0) translateY(-8px);
}

.dash-card-right {
  top: 0;
  right: 0;
  z-index: 2;
  width: 34%;
  min-height: 220px;
  transform: rotateY(-8deg) rotateZ(2deg);
}

.dash-card-right:hover {
  transform: rotateY(0) rotateZ(0) translateY(-8px);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.dash-kpis b {
  padding: 18px 14px;
  color: var(--text);
  background: rgba(7, 15, 30, 0.98);
  font-family: "Sora", sans-serif;
  font-size: clamp(0.8rem, 1.4vw, 1.15rem);
}

.dash-kpis small {
  display: block;
  margin-top: 5px;
  color: #65758d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.48rem;
  font-weight: 400;
  text-transform: uppercase;
}

.dash-chart {
  display: flex;
  height: 165px;
  align-items: end;
  gap: 10px;
  padding: 28px 24px 18px;
  background:
    linear-gradient(rgba(91, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 231, 255, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
}

.dash-chart i {
  width: 11%;
  min-height: 20px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(91, 231, 255, 0.18), var(--cyan));
  box-shadow: 0 0 12px rgba(91, 231, 255, 0.12);
}

.dash-chart i:nth-child(1) { height: 30%; }
.dash-chart i:nth-child(2) { height: 48%; }
.dash-chart i:nth-child(3) { height: 42%; }
.dash-chart i:nth-child(4) { height: 72%; }
.dash-chart i:nth-child(5) { height: 60%; }
.dash-chart i:nth-child(6) { height: 84%; }
.dash-chart i:nth-child(7) { height: 76%; }
.dash-chart i:nth-child(8) { height: 96%; }

.dash-rows {
  display: grid;
  padding: 12px 18px 18px;
}

.dash-rows span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(129, 151, 191, 0.09);
  color: #8493aa;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
}

.dash-rows span i,
.bot-card > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.dash-rows span b {
  margin-left: auto;
  color: var(--cyan-soft);
}

.mini-donut {
  display: grid;
  width: 94px;
  height: 94px;
  margin: 24px auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 74%, rgba(91, 231, 255, 0.08) 74%);
}

.mini-donut::before {
  position: absolute;
  width: 68px;
  height: 68px;
  content: "";
  border-radius: 50%;
  background: #081225;
}

.mini-donut b {
  position: relative;
  z-index: 1;
  font-family: "Sora", sans-serif;
}

.mini-lines {
  display: grid;
  gap: 8px;
  padding: 0 20px 20px;
}

.mini-lines span {
  height: 5px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(91, 231, 255, 0.7), rgba(141, 101, 255, 0.1));
}

.mini-lines span:nth-child(2) { width: 72%; }
.mini-lines span:nth-child(3) { width: 48%; }

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 20px;
}

.data-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(91, 231, 255, 0.12);
  border-radius: 8px;
  color: #6d7f99;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5rem;
}

.data-grid b {
  color: var(--cyan-soft);
}

.automation-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(141, 101, 255, 0.12), transparent 32%),
    linear-gradient(rgba(91, 231, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 231, 255, 0.04) 1px, transparent 1px),
    rgba(5, 12, 26, 0.82);
  background-size: auto, 38px 38px, 38px 38px, auto;
}

.automation-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(91, 231, 255, 0.25);
  stroke-dasharray: 5 8;
  stroke-width: 1;
}

.automation-core,
.bot-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(91, 231, 255, 0.22);
  background: rgba(5, 15, 31, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.automation-core:hover,
.bot-card:hover {
  border-color: rgba(91, 231, 255, 0.6);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38), 0 0 24px rgba(91, 231, 255, 0.12);
  transform: translateY(-5px);
}

.automation-core {
  top: calc(50% - 76px);
  left: calc(50% - 76px);
  display: grid;
  width: 152px;
  height: 152px;
  place-items: center;
  border-color: rgba(141, 101, 255, 0.52);
  border-radius: 50%;
  text-align: center;
}

.automation-core::before {
  position: absolute;
  inset: -16px;
  content: "";
  border: 1px dashed rgba(91, 231, 255, 0.24);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.automation-core span {
  align-self: end;
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
}

.automation-core b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.automation-core small {
  align-self: start;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.42rem;
}

.bot-card {
  width: 172px;
  padding: 15px;
  border-radius: 12px;
}

.bot-card > i {
  display: block;
  margin-bottom: 11px;
}

.bot-card span,
.bot-card b,
.bot-card small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
}

.bot-card span {
  color: #7e8fa8;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.bot-card b {
  margin: 5px 0;
  color: var(--cyan-soft);
  font-size: 0.65rem;
}

.bot-card small {
  color: #5f718b;
  font-size: 0.48rem;
}

.bot-one { top: 38px; left: 34px; }
.bot-two { top: 38px; right: 34px; }
.bot-three { bottom: 38px; left: 34px; }
.bot-four { right: 34px; bottom: 38px; }

.portfolio-contact img {
  width: 130px;
  height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(91, 231, 255, 0.35));
  mix-blend-mode: normal;
}

@keyframes networkSpin {
  to { transform: rotate(360deg); }
}

@keyframes nodeOrbitA {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(5px, -3px); }
  50% { transform: translate(8px, 4px); }
  75% { transform: translate(2px, 7px); }
}

@keyframes nodeOrbitB {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 5px); }
  50% { transform: translate(3px, 8px); }
  75% { transform: translate(7px, -2px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes meshPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.45); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  50% { opacity: 0.35; transform: scale(0.75); }
}

@keyframes orbitBreath {
  50% { transform: scale(1.04); opacity: 0.65; }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 180px;
  }

  .hero-system {
    min-height: 520px;
  }

  .hero-orbit {
    width: min(70vw, 540px);
  }

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

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 0;
  }

  .process-beam {
    display: none;
  }

  .portfolio-teaser,
  .contact-layout,
  .case-study,
  .case-study-reverse {
    grid-template-columns: 1fr;
  }

  .case-study-reverse .case-copy {
    order: initial;
  }

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }

  .footer-cta {
    grid-column: 1 / -1;
  }

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

  .proof-showcase,
  .proof-showcase-reverse {
    grid-template-columns: 1fr;
  }

  .proof-showcase-reverse .proof-copy {
    order: initial;
  }

  .dashboard-stack {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(calc(100% - 30px), var(--max));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    max-width: calc(100vw - 20px);
  }

  .brand img {
    width: 64px;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(3, 8, 18, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 30px);
    overflow: hidden;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    font-size: 0.62rem;
    overflow-wrap: anywhere;
  }

  .hero-proof {
    display: grid;
    gap: 9px;
  }

  .hero-system {
    min-height: 440px;
    max-width: calc(100vw - 30px);
  }

  .system-frame {
    min-height: 380px;
  }

  .system-feed {
    padding-inline: 14px;
    font-size: 0.57rem;
  }

  .system-feed div {
    grid-template-columns: 66px 1fr;
  }

  .system-feed em {
    display: none;
  }

  .hero-wordmark {
    top: 5%;
    right: 0;
  }

  .scroll-cue {
    display: none;
  }

  .signal-strip {
    justify-content: flex-start;
  }

  .content-section {
    padding: 90px 0;
  }

  .section-heading,
  .about-section,
  .portfolio-teaser {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-areas:
      "eyebrow"
      "title"
      "copy";
    gap: 20px;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .process-section .section-heading {
    grid-template-areas:
      "eyebrow"
      "title";
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.8vw, 3.65rem);
  }

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

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

  .about-visual {
    min-height: 420px;
  }

  .mesh-label {
    font-size: 0.4rem;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .portfolio-teaser {
    padding: 32px 24px;
  }

  .teaser-projects a {
    grid-template-columns: 28px 1fr 22px;
  }

  .teaser-projects em {
    display: none;
  }

  .contact-section {
    margin-top: 80px;
  }

  .contact-layout {
    gap: 50px;
  }

  .contact-form {
    padding: 25px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-cta {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .portfolio-hero {
    min-height: 620px;
    padding-top: 180px;
  }

  .portfolio-stats {
    display: grid;
    gap: 18px;
  }

  .case-study {
    padding-block: 85px;
  }

  .portfolio-capabilities {
    grid-template-columns: 1fr;
  }

  .portfolio-contact {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .proof-showcase {
    gap: 45px;
    padding-block: 85px;
  }

  .proof-copy h2 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }

  .dashboard-stack {
    min-height: 610px;
  }

  .dash-card-main {
    top: 95px;
    right: 0;
    width: 95%;
  }

  .dash-card-left {
    bottom: 0;
    width: 48%;
  }

  .dash-card-right {
    width: 46%;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .dash-kpis b {
    padding: 9px 13px;
  }

  .dash-chart {
    height: 130px;
  }

  .automation-map {
    min-height: 670px;
  }

  .automation-core {
    top: calc(50% - 70px);
    left: calc(50% - 70px);
    width: 140px;
    height: 140px;
  }

  .bot-card {
    width: 145px;
  }

  .bot-one { top: 32px; left: 20px; }
  .bot-two { top: 32px; right: 20px; }
  .bot-three { bottom: 32px; left: 20px; }
  .bot-four { right: 20px; bottom: 32px; }

  .footer-brand img {
    width: 112px;
  }
}

@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;
  }
}
