:root {
  color-scheme: light;
  --bg: #f5f7f3;
  --ink: #16211c;
  --muted: #5d6b63;
  --line: #dbe2da;
  --panel: #ffffff;
  --panel-strong: #eaf1ed;
  --accent: #0f7c68;
  --accent-dark: #09594b;
  --blue: #1f5c7a;
  --gold: #c99631;
  --clay: #c25f42;
  --shadow: 0 24px 70px rgba(24, 43, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  align-items: center;
  background: rgba(245, 247, 243, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 5vw;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  min-height: calc(100vh - 72px);
  padding: 76px 5vw 96px;
  position: relative;
}

.cinematic {
  grid-template-columns: minmax(0, 1fr);
}

.ai-floor {
  min-height: calc(100vh - 72px);
}

.parked-folds {
  background: var(--bg);
}

.experience {
  background: #07110e;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.hero-media > img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.58;
  position: absolute;
  right: 0;
  top: 0;
  transform: scale(1.04);
  width: 100%;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    radial-gradient(circle at 74% 44%, rgba(104, 240, 196, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(7, 17, 14, 0.94) 0%, rgba(7, 17, 14, 0.66) 28%, rgba(7, 17, 14, 0.12) 62%, rgba(7, 17, 14, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 17, 14, 0.22), rgba(7, 17, 14, 0.92));
  inset: 0;
  position: absolute;
}

.floor-perspective {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(104, 240, 196, 0.18) 49%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 9%, rgba(104, 240, 196, 0.12) 9.2%, transparent 9.6%),
    repeating-linear-gradient(0deg, transparent 0 16%, rgba(104, 240, 196, 0.1) 16.4%, transparent 17%);
  bottom: -24%;
  height: 66%;
  left: -10%;
  opacity: 0.8;
  position: absolute;
  right: -10%;
  transform: perspective(620px) rotateX(63deg);
  transform-origin: bottom center;
  animation: floorFlow 8s linear infinite;
}

.motion-rails {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.rail {
  border: 1px solid rgba(104, 240, 196, 0.16);
  border-radius: 999px;
  color: rgba(232, 246, 239, 0.64);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  left: -26%;
  padding: 8px 18px;
  position: absolute;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 26px rgba(104, 240, 196, 0.14);
}

.rail-a { top: 18%; transform: rotate(16deg); animation: railDiagonal 9s linear infinite; }
.rail-b { top: 36%; transform: rotate(-10deg); animation: railReverse 11s linear infinite; }
.rail-c { bottom: 24%; transform: rotate(8deg); animation: railDiagonal 13s linear infinite -3s; }
.rail-d { bottom: 8%; transform: rotate(-17deg); animation: railReverse 10s linear infinite -5s; }

.scanlines {
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.035) 0, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 8px);
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.45;
  position: absolute;
  animation: scanMove 6s linear infinite;
}

.code-rain {
  color: rgba(191, 255, 234, 0.5);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.code-rain span {
  animation: codeFall 14s linear infinite;
  left: var(--x);
  position: absolute;
  text-shadow: 0 0 16px rgba(20, 214, 166, 0.45);
  top: -12%;
  transform: rotate(90deg);
  white-space: nowrap;
}

.code-rain span:nth-child(1) { --x: 55%; animation-delay: 0s; }
.code-rain span:nth-child(2) { --x: 68%; animation-delay: -3s; }
.code-rain span:nth-child(3) { --x: 82%; animation-delay: -7s; }
.code-rain span:nth-child(4) { --x: 47%; animation-delay: -10s; }
.code-rain span:nth-child(5) { --x: 76%; animation-delay: -12s; }
.code-rain span:nth-child(6) { --x: 91%; animation-delay: -5s; }

.pulse {
  background: rgba(31, 241, 189, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31, 241, 189, 0.42), 0 0 28px rgba(31, 241, 189, 0.9);
  height: 10px;
  position: absolute;
  width: 10px;
  animation: pulseMove 8s ease-in-out infinite, pulseGlow 2.2s ease-out infinite;
}

.pulse.p1 { left: 63%; top: 30%; }
.pulse.p2 { animation-delay: -2s; left: 78%; top: 52%; }
.pulse.p3 { animation-delay: -4s; left: 57%; top: 68%; }

.hero-copy {
  align-self: center;
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.cinema-copy {
  align-self: end;
  background:
    linear-gradient(135deg, rgba(1, 8, 7, 0.72), rgba(1, 8, 7, 0.34)),
    radial-gradient(circle at 100% 0%, rgba(104, 240, 196, 0.12), transparent 34%);
  border: 1px solid rgba(104, 240, 196, 0.18);
  border-radius: 8px;
  max-width: 650px;
  padding: 24px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(18px);
}

.boot-status {
  align-items: center;
  color: rgba(232, 246, 239, 0.82);
  display: inline-flex;
  gap: 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.boot-status span {
  background: #68f0c4;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(104, 240, 196, 0.9);
  height: 9px;
  width: 9px;
}

.cinema-copy h1 {
  font-size: clamp(2rem, 3vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 620px;
}

.cinema-copy h1 span {
  color: #68f0c4;
  display: block;
  min-height: 0.98em;
  text-shadow: 0 0 34px rgba(104, 240, 196, 0.35);
}

.live-caption {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(104, 240, 196, 0.14), transparent 24%, rgba(80, 190, 255, 0.12) 76%, rgba(104, 240, 196, 0.18)),
    radial-gradient(circle at 10% 50%, rgba(104, 240, 196, 0.2), transparent 32%),
    rgba(1, 8, 7, 0.56);
  border: 1px solid rgba(104, 240, 196, 0.36);
  border-radius: 6px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 36px rgba(104, 240, 196, 0.08),
    0 0 34px rgba(104, 240, 196, 0.16);
  color: rgba(209, 255, 239, 0.9);
  display: grid;
  font-family: "SFMono-Regular", Consolas, monospace;
  gap: 8px 12px;
  grid-template-columns: auto 1fr;
  grid-template-rows: 18px 44px;
  height: 96px;
  margin-top: 20px;
  max-width: 510px;
  overflow: hidden;
  padding: 14px 18px 16px;
  position: relative;
  backdrop-filter: blur(16px);
}

.live-caption::before,
.live-caption::after {
  border-color: rgba(104, 240, 196, 0.72);
  content: "";
  height: 18px;
  pointer-events: none;
  position: absolute;
  width: 18px;
}

.live-caption::before {
  border-left: 1px solid;
  border-top: 1px solid;
  left: 8px;
  top: 8px;
}

.live-caption::after {
  border-bottom: 1px solid;
  border-right: 1px solid;
  bottom: 8px;
  right: 8px;
}

.caption-label {
  color: rgba(104, 240, 196, 0.92);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.caption-signal {
  align-self: center;
  background:
    repeating-linear-gradient(90deg, rgba(104, 240, 196, 0.72) 0 8px, transparent 8px 14px),
    linear-gradient(90deg, rgba(104, 240, 196, 0.38), rgba(80, 190, 255, 0.08));
  border-radius: 999px;
  height: 2px;
  overflow: hidden;
  position: relative;
}

.caption-signal::after {
  animation: captionSignal 1.9s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

#rotatingLine {
  align-items: center;
  color: rgba(226, 255, 246, 0.96);
  display: flex;
  font-size: clamp(0.8rem, 1.02vw, 0.94rem);
  font-weight: 800;
  grid-column: 1 / -1;
  height: 44px;
  justify-content: flex-start;
  letter-spacing: 0.01em;
  line-height: 1.22;
  max-width: 100%;
  overflow: hidden;
  padding-right: 10px;
  text-shadow: 0 0 18px rgba(104, 240, 196, 0.26);
}

.portal-button {
  box-shadow: 0 0 0 0 rgba(104, 240, 196, 0.28);
  animation: portalGlow 2.6s ease-in-out infinite;
}

.holo-faces {
  animation: holoFacesDrift 18s ease-in-out infinite alternate, holoFacesFlicker 4.2s ease-in-out infinite;
  bottom: -1%;
  filter:
    drop-shadow(0 0 34px rgba(104, 240, 196, 0.48))
    drop-shadow(0 0 70px rgba(80, 190, 255, 0.28));
  max-width: 1160px;
  opacity: 0.96;
  position: absolute;
  right: 1%;
  width: 74vw;
  z-index: 2;
  -webkit-mask-image:
    radial-gradient(ellipse at 54% 52%, #000 0%, #000 44%, rgba(0,0,0,0.82) 58%, transparent 82%),
    linear-gradient(90deg, transparent 0%, #000 8%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in, source-in;
  mask-image:
    radial-gradient(ellipse at 54% 52%, #000 0%, #000 44%, rgba(0,0,0,0.82) 58%, transparent 82%),
    linear-gradient(90deg, transparent 0%, #000 8%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 76%, transparent 100%);
  mask-composite: intersect;
}

.holo-faces::before {
  animation: holoFaceScan 3s linear infinite;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.34), transparent);
  content: "";
  height: 22%;
  left: 0;
  mix-blend-mode: screen;
  position: absolute;
  right: 0;
  top: -24%;
  z-index: 2;
}

.holo-faces::after {
  background:
    radial-gradient(ellipse at 38% 42%, rgba(255,255,255,0.16), transparent 18%),
    radial-gradient(ellipse at 68% 40%, rgba(104,240,196,0.2), transparent 22%),
    radial-gradient(ellipse at 52% 50%, transparent 0%, transparent 52%, rgba(7,17,14,0.74) 88%),
    linear-gradient(90deg, rgba(7,17,14,0.86), transparent 22%, transparent 78%, rgba(7,17,14,0.82)),
    linear-gradient(180deg, rgba(7,17,14,0.72) 0%, transparent 16%, transparent 66%, rgba(7,17,14,0.88) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  mix-blend-mode: normal;
  animation: hologramLightSweep 7s ease-in-out infinite;
}

.holo-faces img {
  display: block;
  height: auto;
  width: 100%;
  opacity: 1;
  object-fit: contain;
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  animation: none;
}

.data-orbit {
  border: 1px solid rgba(104, 240, 196, 0.18);
  border-radius: 999px;
  height: 160px;
  position: absolute;
  width: 160px;
  animation: orbitSpin 10s linear infinite;
}

.data-orbit::after {
  background: #68f0c4;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(104, 240, 196, 0.8);
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: -4px;
  width: 8px;
}

.orbit-a { right: 18%; top: 18%; }
.orbit-b { animation-duration: 14s; bottom: 18%; right: 30%; transform: scale(0.72); }
.orbit-c { animation-duration: 18s; left: 46%; top: 42%; transform: scale(0.52); }

.status-dock {
  background: rgba(1, 8, 7, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  bottom: 34px;
  display: flex;
  gap: 10px;
  padding: 10px;
  position: absolute;
  right: 5vw;
  z-index: 3;
  backdrop-filter: blur(12px);
}

.status-dock span {
  color: rgba(232, 246, 239, 0.72);
  font-size: 0.82rem;
  padding: 10px 12px;
}

.status-dock strong {
  color: #68f0c4;
  display: block;
  font-size: 1rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.experience .eyebrow {
  color: #68f0c4;
}

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

h1 {
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 940px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  max-width: 760px;
}

.experience .lead {
  color: rgba(232, 246, 239, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(236, 255, 248, 0.88);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px 12px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

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

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

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.experience .button.secondary,
.button.sound {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button.sound {
  cursor: pointer;
  font-family: inherit;
}

.button.sound.active {
  background: rgba(201, 150, 49, 0.2);
  border-color: rgba(201, 150, 49, 0.62);
}

.signal-panel {
  align-self: center;
  aspect-ratio: 0.92;
  background:
    radial-gradient(circle at 74% 16%, rgba(201, 150, 49, 0.28), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(31, 92, 122, 0.14), transparent 28%),
    linear-gradient(140deg, #ffffff 0%, #e9f0ed 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.live-panel {
  background:
    radial-gradient(circle at 74% 16%, rgba(104, 240, 196, 0.22), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(31, 92, 122, 0.22), transparent 28%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.18) 0%, rgba(12, 31, 25, 0.86) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.panel-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 2;
}

.panel-heading span {
  color: rgba(232, 246, 239, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-heading strong {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.82rem;
  gap: 6px;
  text-transform: uppercase;
}

.panel-heading strong::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
}

.signal-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  inset: 68px 28px 28px;
  opacity: 0.65;
  position: absolute;
}

.signal-line {
  background: linear-gradient(90deg, transparent, rgba(15, 124, 104, 0.38), transparent);
  height: 2px;
  position: absolute;
  transform-origin: center;
  width: 58%;
}

.signal-line.line-a {
  left: 20%;
  top: 42%;
  transform: rotate(18deg);
}

.signal-line.line-b {
  left: 24%;
  top: 58%;
  transform: rotate(-22deg);
}

.signal-grid span {
  border: 1px solid rgba(15, 124, 104, 0.22);
  border-radius: 8px;
}

.signal-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 124, 104, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 33, 27, 0.12);
  display: flex;
  justify-content: center;
  min-height: 62px;
  padding: 16px;
  position: absolute;
}

.live-panel .signal-card {
  background: rgba(7, 17, 14, 0.68);
  border-color: rgba(104, 240, 196, 0.24);
  color: #fff;
}

.live-panel .signal-card.main small {
  color: rgba(232, 246, 239, 0.7);
}

.signal-card.main {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  inset: auto 10% 12% 10%;
  min-height: 118px;
}

.signal-card.main strong {
  font-size: 1.8rem;
}

.signal-card.main small {
  color: var(--muted);
}

.signal-card.one {
  left: 12%;
  top: 18%;
}

.signal-card.two {
  right: 12%;
  top: 30%;
}

.signal-card.three {
  left: 34%;
  top: 47%;
}

.signal-card.four {
  right: 18%;
  top: 57%;
}

.section {
  padding: 80px 5vw;
}

.intro {
  background: var(--ink);
  color: #fff;
}

.intro p:not(.eyebrow) {
  color: #dbe6df;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 920px;
}

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

.service-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.service-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 250px;
  padding: 24px;
  position: relative;
}

.service-list article:hover,
.proof-grid article:hover {
  border-color: rgba(15, 124, 104, 0.28);
  box-shadow: 0 18px 44px rgba(24, 43, 34, 0.08);
  transform: translateY(-2px);
}

.card-index {
  color: var(--gold);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 44px;
}

.service-list p,
.contact p,
.steps {
  color: var(--muted);
}

.split {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.split p {
  color: var(--muted);
  max-width: 620px;
}

.steps {
  counter-reset: item;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 58px 1fr;
  min-height: 92px;
  padding: 16px 20px;
}

.steps span {
  color: var(--gold);
  font-weight: 900;
}

.steps strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.clients {
  background: var(--panel-strong);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.client-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inclusion-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 28px;
  max-width: 900px;
  padding-top: 18px;
}

.client-grid span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 33, 28, 0.08);
  border-radius: 8px;
  font-weight: 800;
  min-height: 68px;
  padding: 20px;
}

.proof {
  background:
    radial-gradient(circle at 82% 0%, rgba(15, 124, 104, 0.08), transparent 30%),
    #fff;
  border-top: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.proof-grid article {
  background: linear-gradient(180deg, #ffffff, #f6faf7);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 180px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.proof-grid strong {
  color: var(--ink);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

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

.diagnostic {
  background:
    linear-gradient(135deg, rgba(15, 124, 104, 0.08), rgba(201, 150, 49, 0.07)),
    var(--bg);
}

.diagnostic-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 43, 34, 0.08);
  padding: 28px;
}

.diagnostic-panel strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.diagnostic-panel ul {
  color: var(--muted);
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 20px;
}

.contact {
  background: var(--ink);
  color: #fff;
  margin: 80px 5vw;
  padding: 48px;
  border-radius: 8px;
}

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

.contact .button {
  margin-top: 14px;
}

.footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px 5vw 48px;
}

.hero-only-footer {
  background: #07110e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 246, 239, 0.72);
  margin-top: -1px;
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .nav {
    gap: 16px;
    overflow-x: auto;
    width: 100%;
  }

  .hero,
  .cinematic,
  .split,
  .service-list,
  .clients,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    max-width: 100vw;
    min-height: calc(100svh - 101px);
    overflow-x: hidden;
    padding: 56px 5vw 132px;
  }

  .cinema-copy {
    max-width: min(540px, calc(100vw - 48px));
    min-width: 0;
    width: min(540px, calc(100vw - 48px));
  }

  .cinema-copy h1 {
    font-size: clamp(1.95rem, 8.7vw, 3.7rem);
    max-width: 100%;
    min-width: 0;
    text-wrap: balance;
  }

  .lead,
  .live-caption,
  .hero-actions {
    max-width: min(492px, calc(100vw - 84px));
    min-width: 0;
    width: min(492px, calc(100vw - 84px));
  }

  .caption-signal,
  #rotatingLine {
    min-width: 0;
  }

  .live-caption {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .terminal-window {
    max-width: none;
  }

  .status-dock {
    bottom: 18px;
    left: 5vw;
    right: 5vw;
    justify-content: space-between;
  }

  .holo-faces {
    bottom: 11%;
    opacity: 0.5;
    right: -28%;
    width: 118vw;
  }

  .hero-media img {
    opacity: 0.42;
    object-position: 64% center;
  }

  .signal-panel {
    min-height: 380px;
  }

  .contact {
    margin-left: 5vw;
    margin-right: 5vw;
    padding: 34px 24px;
  }
}

@media (min-width: 861px) and (max-height: 840px) {
  .hero {
    padding-bottom: 92px;
    padding-top: 46px;
  }

  .cinema-copy {
    align-self: center;
    max-width: 520px;
    padding: 22px 24px 24px;
  }

  .boot-status {
    font-size: 0.7rem;
    margin-bottom: 14px;
  }

  .cinema-copy h1 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.04;
    margin-bottom: 18px;
  }

  .lead {
    font-size: 1.02rem;
    line-height: 1.48;
    max-width: 500px;
  }

  .live-caption {
    grid-template-rows: 16px 36px;
    height: 84px;
    margin-top: 18px;
    max-width: 510px;
    padding-bottom: 14px;
    padding-top: 12px;
  }

  #rotatingLine {
    font-size: 0.86rem;
    height: 36px;
    line-height: 1.16;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 44px;
    padding: 0 17px;
  }

  .holo-faces {
    bottom: -1%;
    right: 1%;
    width: 72vw;
  }

  .hero-media > img {
    opacity: 0.5;
  }

  .status-dock {
    bottom: 24px;
  }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.8%, 1%, 0); }
}

@keyframes scanMove {
  from { transform: translateY(0); }
  to { transform: translateY(32px); }
}

@keyframes codeFall {
  from { transform: translateY(-20vh) rotate(90deg); opacity: 0; }
  12% { opacity: 0.72; }
  82% { opacity: 0.38; }
  to { transform: translateY(122vh) rotate(90deg); opacity: 0; }
}

@keyframes pulseMove {
  0%, 100% { transform: translate3d(0, 0, 0); }
  35% { transform: translate3d(34px, -18px, 0); }
  70% { transform: translate3d(-22px, 24px, 0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(31, 241, 189, 0.42), 0 0 28px rgba(31, 241, 189, 0.8); }
  100% { box-shadow: 0 0 0 28px rgba(31, 241, 189, 0), 0 0 42px rgba(31, 241, 189, 0.42); }
}

@keyframes framePulse {
  0%, 100% { opacity: 0.34; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

@keyframes portalGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(104, 240, 196, 0.16), 0 0 34px rgba(104, 240, 196, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(104, 240, 196, 0.08), 0 0 54px rgba(104, 240, 196, 0.32); }
}

@keyframes captionSignal {
  to { transform: translateX(100%); }
}

@keyframes floorFlow {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 80px 0, 0 120px; }
}

@keyframes railDiagonal {
  from { translate: -20vw 0; }
  to { translate: 150vw 0; }
}

@keyframes railReverse {
  from { translate: 150vw 0; }
  to { translate: -60vw 0; }
}

@keyframes holoScan {
  from { transform: translateY(-110%); }
  to { transform: translateY(110%); }
}

@keyframes holoFlicker {
  0% { opacity: 0.72; filter: blur(0); }
  38% { opacity: 0.92; filter: blur(0.2px); }
  66% { opacity: 0.64; filter: blur(0); }
  100% { opacity: 0.88; filter: blur(0.35px); }
}

@keyframes holoFacesDrift {
  from { transform: translate3d(0, 0, 0) scale(0.98); }
  to { transform: translate3d(-2.2%, -1.2%, 0) scale(1.02); }
}

@keyframes holoFacesFlicker {
  0%, 100% { opacity: 0.84; filter: drop-shadow(0 0 34px rgba(104, 240, 196, 0.4)) drop-shadow(0 0 70px rgba(80, 190, 255, 0.2)); }
  35% { opacity: 1; filter: drop-shadow(0 0 42px rgba(104, 240, 196, 0.58)) drop-shadow(0 0 90px rgba(80, 190, 255, 0.32)); }
  62% { opacity: 0.76; filter: drop-shadow(0 0 22px rgba(104, 240, 196, 0.28)) drop-shadow(0 0 56px rgba(80, 190, 255, 0.16)); }
  78% { opacity: 0.96; filter: drop-shadow(0 0 44px rgba(104, 240, 196, 0.52)) drop-shadow(0 0 84px rgba(80, 190, 255, 0.28)); }
}

@keyframes holoFaceScan {
  from { transform: translateY(-20%); }
  to { transform: translateY(560%); }
}

@keyframes hologramLightSweep {
  0%, 100% {
    opacity: 0.78;
    transform: translateX(0);
  }
  38% {
    opacity: 0.96;
    transform: translateX(-1.5%);
  }
  66% {
    opacity: 0.68;
    transform: translateX(1%);
  }
}

@keyframes orbitSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

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

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  .cinema-copy {
    max-width: calc(100vw - 48px);
    padding: 18px;
    width: calc(100vw - 48px);
  }

  .boot-status {
    align-items: flex-start;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .cinema-copy h1 {
    font-size: clamp(1.95rem, 8.7vw, 2.55rem);
  }



  .lead,
  .live-caption,
  .hero-actions {
    max-width: calc(100vw - 84px);
    width: calc(100vw - 84px);
  }

  .live-caption {
    height: 94px;
    padding-left: 14px;
    padding-right: 14px;
  }

  #rotatingLine {
    font-size: 0.78rem;
  }

  .button {
    width: 100%;
  }

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