:root {
  color-scheme: dark;
  --bg: #03070a;
  --panel: rgba(8, 18, 22, 0.72);
  --panel-strong: rgba(11, 29, 34, 0.88);
  --line: rgba(154, 239, 255, 0.18);
  --line-strong: rgba(154, 239, 255, 0.38);
  --text: #f2fbff;
  --muted: #9ab1b8;
  --accent: #40e8ff;
  --accent-2: #ffb454;
  --accent-3: #54ffb8;
  --radius: 8px;
  --max: 1180px;
  --pointer-x: 0;
  --pointer-y: 0;
  --hero-progress: 0;
  --page-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(64, 232, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 14% 18%, rgba(84, 255, 184, 0.13), transparent 24rem),
    radial-gradient(circle at 38% 55%, rgba(255, 180, 84, 0.12), transparent 26rem),
    linear-gradient(135deg, #020405 0%, #071014 48%, #020405 100%);
  color: var(--text);
  font-family:
    "Avenir Next", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(64, 232, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 232, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 78%, transparent);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.field-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.66;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.025) 51%);
  background-size: 100% 4px;
  mix-blend-mode: screen;
  opacity: 0.28;
}

.scanline::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0 42%, rgba(64, 232, 255, 0.08) 48%, transparent 55% 100%);
  animation: sweep 6s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 2px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  width: calc(var(--page-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
  box-shadow: 0 0 18px rgba(64, 232, 255, 0.78);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 52px);
  background: linear-gradient(to bottom, rgba(3, 7, 10, 0.82), rgba(3, 7, 10, 0));
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 0 30px rgba(64, 232, 255, 0.18);
  overflow: hidden;
}

.brand:hover .brand-mark {
  box-shadow:
    0 0 22px rgba(64, 232, 255, 0.42),
    0 0 64px rgba(84, 255, 184, 0.16);
}

.brand-mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  color: rgba(242, 251, 255, 0.78);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  transition: width 180ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

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

.section {
  position: relative;
  width: min(calc(100vw - 36px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  perspective: 1200px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -7%;
  z-index: -1;
  transform:
    translate3d(
      calc(var(--pointer-x) * -18px),
      calc((var(--hero-progress) * -110px) + (var(--pointer-y) * -12px)),
      0
    )
    scale(calc(1 + (var(--hero-progress) * 0.08)));
  transition: transform 80ms linear;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 7, 10, 0.98) 0%, rgba(3, 7, 10, 0.76) 42%, rgba(3, 7, 10, 0.35) 74%),
    linear-gradient(to top, var(--bg), transparent 28%),
    linear-gradient(to bottom, rgba(3, 7, 10, 0.46), transparent 28%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.04) rotate(calc(var(--pointer-x) * 0.35deg));
  animation: slowDrift 16s ease-in-out infinite alternate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: calc(0.72 - (var(--hero-progress) * 0.28));
}

.field-slice {
  position: absolute;
  right: clamp(12px, 8vw, 110px);
  width: min(42vw, 620px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64, 232, 255, 0.8), rgba(84, 255, 184, 0.32), transparent);
  box-shadow:
    0 0 18px rgba(64, 232, 255, 0.7),
    0 0 80px rgba(64, 232, 255, 0.22);
  transform:
    translate3d(calc(var(--pointer-x) * 34px), calc(var(--hero-progress) * -90px), 0)
    rotate(-18deg)
    scaleX(calc(0.92 + (var(--hero-progress) * 0.32)));
  transform-origin: right center;
  animation: sliceFloat 5.8s ease-in-out infinite;
}

.slice-a {
  top: 30%;
}

.slice-b {
  top: 44%;
  right: clamp(32px, 13vw, 190px);
  width: min(48vw, 720px);
  animation-delay: -1.6s;
}

.slice-c {
  top: 59%;
  right: clamp(0px, 5vw, 80px);
  width: min(36vw, 520px);
  animation-delay: -3.2s;
}

.depth-ring {
  position: absolute;
  right: clamp(12px, 11vw, 170px);
  top: 28%;
  width: clamp(180px, 30vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(64, 232, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 58%, rgba(64, 232, 255, 0.1) 59%, transparent 61%),
    conic-gradient(from 90deg, transparent, rgba(64, 232, 255, 0.34), transparent 34%, rgba(255, 180, 84, 0.18), transparent 72%);
  filter: blur(0.2px);
  transform:
    translate3d(calc(var(--pointer-x) * -24px), calc(var(--hero-progress) * -160px), 0)
    rotateX(64deg)
    rotateZ(calc((var(--hero-progress) * 100deg) + (var(--pointer-x) * 7deg)));
}

.ring-b {
  top: 42%;
  right: clamp(80px, 21vw, 320px);
  width: clamp(120px, 20vw, 280px);
  border-color: rgba(84, 255, 184, 0.18);
  transform:
    translate3d(calc(var(--pointer-x) * 30px), calc(var(--hero-progress) * -80px), 0)
    rotateX(68deg)
    rotateZ(calc((var(--hero-progress) * -120deg) + 24deg));
}

.ring-c {
  top: 18%;
  right: clamp(-30px, 3vw, 50px);
  width: clamp(220px, 36vw, 540px);
  opacity: 0.42;
  transform:
    translate3d(calc(var(--pointer-x) * -42px), calc(var(--hero-progress) * -210px), 0)
    rotateX(70deg)
    rotateZ(calc((var(--hero-progress) * 80deg) - 16deg));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
  width: min(calc(100vw - 36px), var(--max));
  margin: 0 auto;
  padding: 120px 0 70px;
}

.hero-copy,
.solution-copy,
.company-copy,
.contact-copy {
  width: 100%;
  min-width: 0;
}

.hero-copy {
  transform: translateY(calc(var(--hero-progress) * -38px));
  transition: transform 80ms linear;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow:
    0 0 22px rgba(64, 232, 255, 0.12),
    0 10px 38px rgba(0, 0, 0, 0.62);
}

h1::selection,
h2::selection,
p::selection {
  background: rgba(64, 232, 255, 0.28);
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 860;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 34px;
  color: #c3d7de;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

.hero-actions,
.signal-stats,
.strip-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  border-color: rgba(64, 232, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 42%),
    linear-gradient(135deg, rgba(64, 232, 255, 0.95), rgba(84, 255, 184, 0.56));
  color: #001014;
  box-shadow:
    0 0 34px rgba(64, 232, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

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

.signal-panel,
.tech-card,
.contact-form,
.case-project,
.media-ribbon figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.signal-panel {
  align-self: end;
  width: 100%;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  transform:
    translate3d(
      calc(var(--pointer-x) * 20px),
      calc(40px + (var(--hero-progress) * -86px)),
      0
    )
    rotateX(calc(var(--pointer-y) * -2deg))
    rotateY(calc(var(--pointer-x) * 3deg));
  transform-style: preserve-3d;
  transition: transform 80ms linear;
}

.signal-panel::before {
  position: absolute;
  inset: -1px;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(64, 232, 255, 0.28), transparent 52% 100%),
    radial-gradient(circle at calc(50% + (var(--pointer-x) * 30%)) 0%, rgba(84, 255, 184, 0.18), transparent 44%);
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(calc(var(--hero-progress) * 38%));
}

.signal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.signal-header b {
  color: var(--accent-2);
}

.signal-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  gap: 8px;
  margin-bottom: 22px;
}

.signal-map span {
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(64, 232, 255, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 255, 184, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(64, 232, 255, 0.14), transparent);
  animation: pulseCell 2.2s ease-in-out infinite;
}

.signal-map span:nth-child(2n) {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 180, 84, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(64, 232, 255, 0.12), transparent);
}

.scroll-cue {
  position: absolute;
  left: clamp(18px, 4vw, 52px);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(242, 251, 255, 0.58);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.22em;
  transform: translateY(calc(var(--hero-progress) * 42px));
  opacity: calc(1 - (var(--hero-progress) * 1.4));
}

.scroll-cue i {
  display: block;
  width: 82px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
  animation: cueLine 1.8s ease-in-out infinite;
}

.signal-map span:nth-child(3n) {
  animation-delay: 500ms;
}

.signal-map span:nth-child(4n) {
  animation-delay: 900ms;
}

.signal-stats p,
.strip-metrics p {
  flex: 1 1 90px;
  min-width: 0;
  margin: 0;
}

.signal-stats strong,
.strip-metrics strong {
  display: block;
  color: var(--text);
  font-size: 28px;
}

.signal-stats span,
.strip-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.intro-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-copy span {
  color: var(--accent-2);
  font-weight: 800;
}

.strip-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 54px);
}

.strip-metrics {
  justify-content: flex-end;
}

.strip-metrics p {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 46px;
}

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

.tech-card {
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.tech-card img {
  width: 100%;
  height: 170px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(64, 232, 255, 0.2);
  object-fit: cover;
  filter: saturate(1.16) contrast(1.08);
  box-shadow:
    0 0 34px rgba(64, 232, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    filter 280ms ease,
    transform 420ms ease;
}

.tech-card:hover {
  border-color: rgba(64, 232, 255, 0.54);
  transform: translateY(-6px);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.46),
    0 0 54px rgba(64, 232, 255, 0.12);
}

.tech-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.34) contrast(1.12);
}

.card-index {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tech-card p,
.case-project p,
.company-copy p,
.contact-copy p,
.solution-list span {
  color: var(--muted);
  line-height: 1.78;
}

.solutions {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
}

.solution-visual {
  position: relative;
  aspect-ratio: 1;
  min-height: 360px;
}

.orbital,
.orbital span,
.core {
  position: absolute;
  border-radius: 50%;
}

.media-ribbon {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.18fr 0.9fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.media-ribbon figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
}

.media-ribbon img,
.case-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
  transition:
    filter 280ms ease,
    transform 420ms ease;
}

.media-ribbon figure::after,
.case-project::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, rgba(2, 4, 5, 0.86), transparent 55%),
    linear-gradient(110deg, rgba(64, 232, 255, 0.16), transparent 42%, rgba(255, 180, 84, 0.12));
  pointer-events: none;
}

.media-ribbon figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--text);
  font-weight: 850;
}

.orbital {
  inset: 9%;
  border: 1px solid var(--line-strong);
  animation: rotate 18s linear infinite;
}

.orbital span {
  inset: 12%;
  border: 1px solid rgba(64, 232, 255, 0.14);
}

.orbital span:nth-child(2) {
  inset: 26%;
  border-color: rgba(255, 180, 84, 0.22);
  transform: rotate(35deg) scaleX(1.35);
}

.orbital span:nth-child(3) {
  inset: 40%;
  border-style: dashed;
}

.core {
  inset: 37%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(64, 232, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(64, 232, 255, 0.32), rgba(64, 232, 255, 0.08) 72%),
    #000;
  box-shadow:
    0 0 34px rgba(64, 232, 255, 0.52),
    0 0 90px rgba(64, 232, 255, 0.24);
}

.core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(64, 232, 255, 0.38));
}

.solution-list {
  display: grid;
  gap: 18px;
}

.solution-list p {
  margin: 0;
  border-left: 1px solid var(--line-strong);
  padding: 2px 0 2px 22px;
}

.solution-list strong,
.solution-list span {
  display: block;
}

.solution-list strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.case-project {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.case-project.large {
  min-height: 560px;
  grid-row: span 2;
}

.case-project.wide {
  grid-column: 1 / -1;
  min-height: 390px;
}

.case-project div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.case-project span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.case-project h3,
.case-project p {
  max-width: 620px;
  margin: 0;
}

.case-project h3 {
  margin-bottom: 12px;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.72);
}

.case-project:hover img,
.media-ribbon figure:hover img {
  transform: scale(1.06);
  filter: saturate(1.3) contrast(1.12);
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 34px;
  align-items: stretch;
}

.company-copy,
.manifesto {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.manifesto {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(64, 232, 255, 0.08), transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.manifesto p {
  font-size: clamp(25px, 3.4vw, 46px);
  line-height: 1.2;
}

.manifesto span {
  color: var(--accent-2);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.76fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 70px;
}

.contact-copy a {
  display: block;
  width: fit-content;
  margin-top: 12px;
  color: var(--accent);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  outline: none;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64, 232, 255, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100vw - 36px), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 13px;
}

body.motion-ready .reveal {
  transform: translateY(24px);
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

body.motion-ready .reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes slowDrift {
  from {
    filter: saturate(1.05) contrast(1.04);
  }
  to {
    filter: saturate(1.24) contrast(1.1);
  }
}

@keyframes pulseCell {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

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

@keyframes sweep {
  0%,
  35% {
    transform: translateX(-130%);
  }
  75%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes sliceFloat {
  0%,
  100% {
    opacity: 0.28;
    clip-path: inset(0 38% 0 0);
  }
  45% {
    opacity: 0.9;
    clip-path: inset(0 0 0 18%);
  }
  72% {
    opacity: 0.42;
    clip-path: inset(0 20% 0 4%);
  }
}

@keyframes cueLine {
  0%,
  100% {
    transform: scaleX(0.28);
    opacity: 0.38;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

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

  .site-nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 7, 10, 0.94);
    padding: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero-grid,
  .intro-strip,
  .tech-grid,
  .solutions,
  .company,
  .contact,
  .case-gallery,
  .media-ribbon {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 10px;
  }

  .signal-panel {
    align-self: auto;
    transform: translateY(calc(var(--hero-progress) * -24px));
  }

  .intro-strip {
    align-items: start;
  }

  .case-project.large,
  .case-project.wide {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero-grid {
    padding-top: 104px;
  }

  .hero-art {
    opacity: 0.38;
  }

  .field-slice {
    right: -26vw;
    width: 92vw;
  }

  .depth-ring {
    right: -34vw;
    top: 28%;
    width: 92vw;
  }

  .scroll-cue {
    display: none;
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.04;
    word-break: break-all;
  }

  .hero-lede {
    max-width: 100%;
    word-break: break-all;
  }

  .signal-map {
    grid-template-columns: 1fr;
  }

  .signal-map span {
    aspect-ratio: 2.2;
  }

  .case-project,
  .case-project.large,
  .case-project.wide,
  .media-ribbon figure {
    min-height: 320px;
  }

  .hero-actions,
  .strip-metrics,
  .signal-stats {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .solution-visual {
    min-height: 280px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}
