:root {
  --bg: #020202;
  --bg-soft: #09090b;
  --panel: rgba(13, 13, 17, 0.78);
  --panel-strong: rgba(8, 8, 10, 0.88);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f6;
  --text-soft: #d7d7dd;
  --muted: #9898a4;
  --accent: #f02828;
  --accent-soft: #ff6e6e;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-strong: 0 38px 140px rgba(0, 0, 0, 0.56);
  --radius: 32px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Chakra Petch", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
  opacity: 0.24;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.014), transparent 56%);
}

.video-background,
.video-overlay,
.grid-overlay,
.noise-overlay,
.spotlight,
.scroll-progress,
.cursor-dot,
.cursor-ring {
  pointer-events: none;
}

.video-background,
.video-overlay,
.grid-overlay,
.noise-overlay,
.spotlight,
.cursor-dot,
.cursor-ring {
  position: fixed;
  inset: 0;
}

.video-background {
  z-index: -6;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) contrast(1.08) saturate(0.92);
}

.video-overlay {
  z-index: -5;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 46, 46, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.3), rgba(2, 2, 2, 0.54) 45%, rgba(2, 2, 2, 0.72) 100%);
}

.grid-overlay {
  z-index: -4;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  opacity: 0.2;
}

.noise-overlay {
  z-index: -3;
  opacity: 0.045;
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.08) 50%, transparent 100%),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  background-size: 100% 4px, 5px 100%;
}

.spotlight {
  z-index: -2;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 20%), rgba(255, 44, 44, 0.14), transparent 18%);
  transition: background-position 0.12s ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, #ff5e5e, #ff1f1f);
  box-shadow: 0 0 18px rgba(255, 44, 44, 0.5);
}

.cursor-dot,
.cursor-ring {
  z-index: 120;
  inset: auto auto 0 0;
  translate: -50% -50%;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3434;
  box-shadow: 0 0 16px rgba(255, 52, 52, 0.7);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 70, 70, 0.58);
  box-shadow: 0 0 20px rgba(255, 52, 52, 0.18);
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.shell,
.topbar,
.ticker {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.eyebrow,
.button,
.hero-signals span,
.card-label,
.service-index,
.contact-link span,
.system-readout span {
  font-family: "Orbitron", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 32, 32, 0.26));
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.hero,
.intro-grid,
.showcase,
.services,
.system,
.grand-banner,
.contact {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 28px;
  align-items: center;
  padding: 40px 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ff8f8f;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.5rem, 8.8vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

h1 span {
  color: var(--accent-soft);
  text-shadow: 0 0 30px rgba(255, 46, 46, 0.25);
}

.hero-text {
  max-width: 40rem;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.18rem;
  line-height: 1.72;
}

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

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, #ff4949, #a90f0f);
  border-color: rgba(255, 76, 76, 0.34);
  box-shadow: 0 18px 40px rgba(240, 40, 40, 0.26);
}

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

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-signals span {
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 56, 56, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f6d0d0;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

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

.hero-orbit,
.hero-glow {
  position: absolute;
  border-radius: 50%;
}

.hero-orbit {
  inset: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-a {
  width: min(52vw, 740px);
  height: min(52vw, 740px);
  animation: spin 28s linear infinite;
}

.orbit-b {
  width: min(40vw, 560px);
  height: min(40vw, 560px);
  border-color: rgba(255, 58, 58, 0.24);
  animation: spin-reverse 22s linear infinite;
}

.hero-glow {
  width: min(42vw, 620px);
  height: min(42vw, 620px);
  background: radial-gradient(circle, rgba(255, 42, 42, 0.11), transparent 66%);
  filter: blur(34px);
}

.hero-logo,
.hero-brain {
  position: absolute;
  max-width: 100%;
  will-change: transform;
}

.hero-logo-main {
  position: relative;
  z-index: 4;
  width: min(100%, 680px);
  filter:
    drop-shadow(0 24px 50px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 50px rgba(255, 30, 30, 0.1));
  animation: hero-float 10s ease-in-out infinite;
}

.hero-brain {
  z-index: 0;
  width: min(92%, 880px);
  opacity: 0.1;
  transform: scale(1.12);
  filter: blur(2px);
}

.ticker {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 28px;
  animation: marquee 24s linear infinite;
}

.ticker-track span {
  position: relative;
  font-family: "Orbitron", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.26em;
  color: #dddddf;
  text-transform: uppercase;
}

.ticker-track span::after {
  content: "•";
  margin-left: 28px;
  color: var(--accent);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: stretch;
  padding: 60px 0 20px;
}

.intro-panel,
.media-card,
.service-card,
.system-copy,
.system-wall,
.contact-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: var(--shadow);
}

.intro-panel::before,
.media-card::before,
.service-card::before,
.system-copy::before,
.system-wall::before,
.contact-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 44, 44, 0.1), transparent 32%);
  pointer-events: none;
}

.manifesto-card {
  padding: 28px;
}

.card-label {
  margin: 0 0 14px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #ff8f8f;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.manifesto-card h2 {
  max-width: 9ch;
  font-size: clamp(1.7rem, 2.2vw, 2.7rem);
  line-height: 1;
}

.manifesto-card h2 span {
  color: var(--accent-soft);
}

.manifesto-card p:last-child {
  max-width: 100%;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.62;
}

.intro-figure {
  min-height: 560px;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 18px 18px 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 44, 44, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    var(--panel);
}

.intro-figure img {
  display: block;
  max-height: 620px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 28px rgba(255, 40, 40, 0.18));
}

.intro-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stat-panel {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
}

.stat-panel h3 {
  font-size: 0.96rem;
  line-height: 1.22;
}

.stat-panel span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.54;
}

.ticker {
  position: relative;
  z-index: 2;
  margin-top: 6px;
}

.showcase,
.services,
.system,
.grand-banner,
.contact {
  padding: 72px 0 0;
}

.services-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading {
  max-width: 62rem;
  margin-bottom: 28px;
}

.showcase .section-heading {
  max-width: 48rem;
}

.showcase .section-heading h2 {
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  max-width: 10ch;
}

.services-top .section-heading {
  margin-bottom: 0;
}

.services-figure {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
}

.services-figure::before {
  content: "";
  position: absolute;
  inset: 8% 14% 6%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255, 44, 44, 0.14), transparent 66%);
  filter: blur(26px);
}

.services-figure img {
  position: relative;
  z-index: 1;
  display: block;
  max-height: 560px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 30px rgba(255, 40, 40, 0.14));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.media-card {
  min-height: 220px;
  display: grid;
  align-items: end;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22));
}

.media-card-text {
  display: grid;
  align-items: end;
  min-height: 220px;
  background:
    radial-gradient(circle at top left, rgba(255, 44, 44, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    var(--panel);
}

.media-card-text::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.22));
}

.media-copy {
  position: relative;
  z-index: 2;
  padding: 22px;
}

.media-copy h3 {
  margin-top: 8px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  max-width: 16ch;
}

.media-text {
  margin: 10px 0 0;
  max-width: 30rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.62;
}

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

.service-card {
  min-height: 320px;
  padding: 30px;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 40, 40, 0.82), transparent);
}

.service-index {
  margin: 0 0 24px;
  font-size: 0.74rem;
  color: #ff8f8f;
  letter-spacing: 0.2em;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.service-card p {
  color: var(--text-soft);
  line-height: 1.72;
}

.service-list {
  position: relative;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.service-list li + li {
  margin-top: 8px;
}

.system {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.system-copy,
.contact-stage {
  padding: 32px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item span {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 32, 32, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffb2b2;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
}

.timeline-item p,
.contact-copy p {
  color: var(--text-soft);
  line-height: 1.72;
}

.system-wall {
  min-height: 700px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 42, 42, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006)),
    var(--panel-strong);
}

.system-layer {
  position: absolute;
  max-width: 100%;
}

.layer-brain {
  inset: 2% 7% auto 7%;
  width: 86%;
  opacity: 0.42;
  filter: blur(0.5px);
}

.system-readout {
  position: absolute;
  inset: auto 24px 18px 24px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-readout span {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 58, 58, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f2c3c3;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.grand-banner {
  padding-bottom: 0;
}

.banner-copy {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

blockquote {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 1;
}

.contact {
  padding-bottom: 88px;
}

.contact-stage {
  display: grid;
  grid-template-columns: 0.78fr 1.14fr 0.88fr;
  gap: 24px;
  align-items: center;
}

.contact-brand img {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 46px rgba(255, 44, 44, 0.08));
}

.contact-copy h2 {
  max-width: 10ch;
}

.contact-links {
  display: grid;
  gap: 14px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
}

.contact-link span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #ff9b9b;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

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

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tilt-card.is-tilting {
  border-color: rgba(255, 64, 64, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 44px rgba(255, 44, 44, 0.08);
}

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

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.02);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.86;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .hero,
  .intro-grid,
  .showcase-grid,
  .services-top,
  .service-grid,
  .system,
  .contact-stage {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .intro-stats {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-rows: none;
  }

  .hero-stage {
    min-height: 560px;
  }

  .orbit-a {
    width: min(76vw, 720px);
    height: min(76vw, 720px);
  }

  .orbit-b {
    width: min(58vw, 560px);
    height: min(58vw, 560px);
  }

  .system-wall {
    min-height: 620px;
  }

  .intro-figure {
    min-height: 420px;
  }

  .intro-figure img {
    max-height: 440px;
  }

  .services-figure {
    min-height: 360px;
  }

  .services-figure img {
    max-height: 420px;
  }
}

@media (max-width: 760px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .shell,
  .topbar,
  .ticker {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  h2,
  blockquote {
    font-size: clamp(1.9rem, 10vw, 3.2rem);
  }

  .hero-text {
    font-size: 1.04rem;
  }

  .hero-stage {
    min-height: 360px;
  }

  .service-card,
  .manifesto-card,
  .intro-figure,
  .stat-panel,
  .system-copy,
  .system-wall,
  .contact-stage,
  .media-card {
    padding: 24px;
    border-radius: 24px;
  }

  .system-wall {
    min-height: 420px;
  }

  .contact-stage {
    gap: 18px;
  }
}
