:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #07101b;
  --panel: rgba(8, 15, 28, 0.78);
  --panel-strong: rgba(12, 24, 42, 0.9);
  --line: rgba(160, 210, 255, 0.16);
  --line-strong: rgba(93, 232, 255, 0.42);
  --text: #f5f8ff;
  --muted: #9ba9c1;
  --soft: #d3dcf1;
  --cyan: #36dcff;
  --blue: #2878ff;
  --magenta: #f23cff;
  --violet: #9b5cff;
  --green: #35f0a5;
  --yellow: #d9ff60;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1680px;
  --hero-max: 2400px;
  --page-pad: clamp(22px, 5vw, 140px);
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0) 0, var(--bg) 720px),
    radial-gradient(circle at 48% 22%, rgba(54, 220, 255, 0.08), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(90, 180, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 180, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 72%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #00101a;
  font-weight: 800;
  text-decoration: none;
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: var(--scroll, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--green));
  box-shadow: 0 0 22px rgba(54, 220, 255, 0.6);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(2, 6, 13, 0.55);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 6, 13, 0.86);
  border-color: rgba(54, 220, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(242, 60, 255, 0.7);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(242, 60, 255, 0.95), rgba(54, 220, 255, 0.28));
  box-shadow: 0 0 24px rgba(242, 60, 255, 0.35);
}

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

.nav a {
  padding: 9px 14px;
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-cta,
.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(54, 220, 255, 0.44);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(242, 60, 255, 0.88), rgba(40, 120, 255, 0.82));
  box-shadow: 0 0 30px rgba(54, 220, 255, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.header-cta svg,
.btn svg,
.text-link svg,
.scroll-cue svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(54, 220, 255, 0.1);
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.9) 29%, rgba(5, 7, 13, 0.38) 61%, rgba(5, 7, 13, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.35) 0%, rgba(5, 7, 13, 0.22) 58%, var(--bg) 100%);
}

.hero-grid {
  z-index: -2;
  background:
    linear-gradient(rgba(54, 220, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 220, 255, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-inner {
  width: min(var(--hero-max), calc(100% - var(--page-pad) - var(--page-pad)));
  margin: 0 auto;
  padding: calc(var(--header-h) + 58px) 0 72px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  font-size: clamp(40px, 4.45vw, 66px);
  font-weight: 900;
  line-height: 1.07;
  text-wrap: balance;
}

.hero-accent {
  color: transparent;
  background: linear-gradient(135deg, var(--magenta), var(--cyan) 62%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.55;
}

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

.btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  border: 1px solid rgba(54, 220, 255, 0.5);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(242, 60, 255, 0.92), rgba(40, 120, 255, 0.92)),
    linear-gradient(90deg, var(--magenta), var(--cyan));
  box-shadow: 0 14px 46px rgba(40, 120, 255, 0.3), 0 0 42px rgba(242, 60, 255, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 18px 56px rgba(54, 220, 255, 0.35), 0 0 60px rgba(242, 60, 255, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(180, 230, 255, 0.22);
  color: var(--soft);
  background: rgba(8, 15, 28, 0.58);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(54, 220, 255, 0.52);
  color: #fff;
  background: rgba(15, 30, 52, 0.78);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 38px;
  border: 1px solid rgba(54, 220, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(54, 220, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-proof div {
  min-height: 92px;
  padding: 18px 22px;
  background: rgba(5, 10, 20, 0.78);
}

.hero-proof strong {
  display: block;
  color: var(--cyan);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.section {
  width: min(var(--max), calc(100% - var(--page-pad) - var(--page-pad)));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0 0;
}

.projects-section {
  padding-top: clamp(42px, 5vw, 70px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 6vw, 82px);
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 850;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.55;
}

.project-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  overscroll-behavior-x: contain;
}

.project-grid::-webkit-scrollbar {
  height: 8px;
}

.project-grid::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.project-grid .project-card {
  scroll-snap-align: start;
}

.project-card,
.capability,
.method,
.number-item,
.final-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--panel);
  box-shadow: var(--shadow);
}

.project-card {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 35%), var(--accent-glow), transparent 46%);
  transition: opacity 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card > * {
  position: relative;
}

.project-card[data-accent="violet"] {
  --accent: var(--violet);
  --accent-glow: rgba(155, 92, 255, 0.22);
}

.project-card[data-accent="cyan"] {
  --accent: var(--cyan);
  --accent-glow: rgba(54, 220, 255, 0.18);
}

.project-card[data-accent="magenta"] {
  --accent: var(--magenta);
  --accent-glow: rgba(242, 60, 255, 0.2);
}

.project-card[data-accent="green"] {
  --accent: var(--green);
  --accent-glow: rgba(53, 240, 165, 0.18);
}

.project-card[data-accent="yellow"] {
  --accent: var(--yellow);
  --accent-glow: rgba(217, 255, 96, 0.16);
}

.project-visual {
  position: relative;
  height: 190px;
  margin-bottom: 22px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 54%);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--accent), transparent 70%), transparent 54%),
    rgba(0, 10, 20, 0.64);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 74%);
  border-radius: var(--radius);
}

.project-visual-brain .visual-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 92px;
  transform: translate(-50%, -50%);
  border: 2px solid color-mix(in srgb, var(--accent), white 18%);
  border-radius: 46% 54% 44% 56% / 58% 42% 58% 42%;
  box-shadow: 0 0 42px color-mix(in srgb, var(--accent), transparent 28%);
}

.project-visual-brain .visual-core::before,
.project-visual-brain .visual-core::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--magenta);
  border-radius: 50%;
}

.project-visual-brain .visual-core::after {
  inset: 34px 22px 18px;
  border-color: var(--green);
}

.project-visual-chart {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 14px;
  padding: 42px 0;
}

.project-visual-chart span {
  width: 22px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(40, 120, 255, 0.22));
  box-shadow: 0 0 28px rgba(54, 220, 255, 0.4);
}

.project-visual-chart span:nth-child(1) { height: 54px; }
.project-visual-chart span:nth-child(2) { height: 92px; }
.project-visual-chart span:nth-child(3) { height: 72px; }
.project-visual-chart span:nth-child(4) { height: 118px; }

.project-visual-a {
  display: grid;
  place-items: center;
  color: transparent;
  font-family: "Unbounded", sans-serif;
  font-size: 120px;
  font-weight: 900;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.38);
  text-shadow: 0 0 46px rgba(242, 60, 255, 0.75);
}

.project-visual-chat span {
  position: absolute;
  display: block;
  border: 2px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 0 32px rgba(53, 240, 165, 0.35);
}

.project-visual-chat span:nth-child(1) {
  left: 46px;
  top: 48px;
  width: 96px;
  height: 62px;
}

.project-visual-chat span:nth-child(2) {
  right: 42px;
  bottom: 42px;
  width: 92px;
  height: 58px;
  border-color: var(--cyan);
}

.project-visual-chat span:nth-child(3) {
  left: 88px;
  top: 72px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 20px 0 0 var(--green), 40px 0 0 var(--green), 98px 44px 0 var(--cyan), 118px 44px 0 var(--cyan), 138px 44px 0 var(--cyan);
}

.project-visual-library {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 30px 38px;
}

.project-visual-library span {
  height: 15px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 25%), transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent), transparent 60%);
}

.project-visual-library span:nth-child(1) { width: 100%; }
.project-visual-library span:nth-child(2) { width: 74%; }
.project-visual-library span:nth-child(3) { width: 90%; }
.project-visual-library span:nth-child(4) { width: 60%; }

.project-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 25px;
  font-weight: 800;
}

.project-card p:not(.project-kicker) {
  margin: 13px 0 0;
  color: var(--soft);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.52;
}

.project-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.project-card li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.text-link,
.status-line {
  width: max-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.text-link:hover {
  color: #fff;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-line::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

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

.capability {
  min-height: 230px;
  padding: 24px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.capability:hover {
  transform: translateY(-4px);
  border-color: rgba(54, 220, 255, 0.38);
  background: var(--panel-strong);
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border: 1px solid rgba(54, 220, 255, 0.26);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(54, 220, 255, 0.06);
}

.capability-icon svg {
  width: 29px;
  height: 29px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.capability h3 {
  font-size: 17px;
  font-weight: 780;
}

.capability p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(54, 220, 255, 0.12);
}

.method div {
  min-height: 112px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(54, 220, 255, 0.055), rgba(242, 60, 255, 0.02)),
    rgba(5, 10, 20, 0.84);
}

.method strong {
  display: block;
  color: var(--green);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
}

.method span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.numbers-section {
  padding-bottom: 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(54, 220, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(54, 220, 255, 0.12);
  box-shadow: var(--shadow);
}

.number-item {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(5, 10, 20, 0.84);
  text-align: center;
}

.number-item strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--magenta), var(--cyan), var(--green));
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.number-item span {
  display: block;
  max-width: 150px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.final-cta {
  position: relative;
  width: min(var(--max), calc(100% - var(--page-pad) - var(--page-pad)));
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: center;
  margin: clamp(74px, 10vw, 128px) auto 0;
  padding: clamp(28px, 6vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.94), rgba(5, 10, 20, 0.62)),
    radial-gradient(circle at 82% 52%, rgba(242, 60, 255, 0.18), transparent 34%),
    radial-gradient(circle at 68% 60%, rgba(54, 220, 255, 0.17), transparent 38%),
    var(--panel);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(54, 220, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 220, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}

.cta-copy {
  position: relative;
  z-index: 2;
}

.cta-copy h2 {
  max-width: 700px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 860;
}

.cta-copy p {
  max-width: 530px;
  margin: 18px 0 30px;
  color: var(--soft);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.cta-cube {
  position: relative;
  z-index: 1;
  height: 260px;
  perspective: 800px;
}

.cta-cube span,
.cta-cube::before,
.cta-cube::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(54, 220, 255, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 60, 255, 0.22), rgba(54, 220, 255, 0.1)),
    rgba(0, 12, 24, 0.6);
  box-shadow: 0 0 54px rgba(54, 220, 255, 0.25), inset 0 0 44px rgba(242, 60, 255, 0.14);
}

.cta-cube span {
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg);
  animation: cubeFloat 6s ease-in-out infinite;
}

.cta-cube::before {
  left: 52%;
  top: 42%;
  width: 78px;
  height: 78px;
  transform: rotateX(58deg) rotateZ(45deg);
  animation: cubeFloat 5.2s ease-in-out infinite reverse;
}

.cta-cube::after {
  left: 30%;
  top: 62%;
  width: 58px;
  height: 58px;
  transform: rotateX(58deg) rotateZ(45deg);
  animation: cubeFloat 5.8s ease-in-out infinite;
}

.site-footer {
  width: min(var(--max), calc(100% - var(--page-pad) - var(--page-pad)));
  margin: 0 auto;
  padding: 42px 0 54px;
  color: rgba(211, 220, 241, 0.54);
  text-align: center;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.site-footer a {
  color: var(--cyan);
  text-decoration: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes cubeFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg) translateY(-14px);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .project-card {
    min-height: 540px;
  }

  .capability-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  body::after {
    display: none;
  }

  .site-header {
    padding: 0 14px;
    gap: 10px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .header-cta svg {
    width: 15px;
    height: 15px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.82) 56%, rgba(5, 7, 13, 0.55) 100%),
      linear-gradient(180deg, rgba(5, 7, 13, 0.16) 0%, var(--bg) 100%);
  }

  .hero-inner {
    width: min(100% - 30px, var(--max));
    padding: calc(var(--header-h) + 38px) 0 62px;
  }

  h1 {
    font-size: clamp(31px, 9vw, 48px);
    line-height: 1.08;
  }

  .hero-copy p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .btn {
    min-height: 52px;
    width: 100%;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-proof {
    display: none;
  }

  .section,
  .final-cta,
  .site-footer {
    width: min(100% - 30px, var(--max));
  }

  .section {
    padding-top: 74px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-head h2,
  .cta-copy h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .section-head p,
  .cta-copy p {
    font-size: 15px;
  }

  .capability-rail,
  .method,
  .numbers-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
    padding: 18px;
  }

  .project-visual {
    height: 150px;
  }

  .project-card h3 {
    font-size: 22px;
  }

  .project-card p:not(.project-kicker) {
    font-size: 14px;
  }

  .capability {
    min-height: auto;
  }

  .capability-icon {
    margin-bottom: 18px;
  }

  .method div,
  .number-item {
    min-height: 112px;
  }

  .final-cta {
    min-height: auto;
    margin-top: 72px;
    padding: 24px;
  }

  .cta-cube {
    height: 210px;
    order: -1;
  }

  .site-footer {
    padding-bottom: 42px;
  }
}

@media (max-width: 420px) {
  .header-cta span {
    max-width: 74px;
    line-height: 1.1;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .project-visual-chat span:nth-child(1) {
    left: 30px;
  }

  .project-visual-chat span:nth-child(2) {
    right: 30px;
  }
}

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

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