*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --void: #04040a;
  --deep: #0a0a14;
  --panel: #12121f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceaf2;
  --muted: #8b8799;
  --lime: #b8ff3c;
  --pink: #ff2d6a;
  --cyan: #00f0ff;
  --rail: 88px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-mono: "Space Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lime);
  text-decoration: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: var(--pink);
  top: -120px;
  right: 10%;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: var(--cyan);
  bottom: 20%;
  left: 5%;
  animation-delay: -6s;
}

.orb-c {
  width: 280px;
  height: 280px;
  background: var(--lime);
  top: 40%;
  right: 30%;
  animation-delay: -12s;
}

.grid-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body.is-ready .cursor-glow {
  opacity: 1;
}

.side-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  border-right: 1px solid var(--line);
  background: rgba(4, 4, 10, 0.85);
  backdrop-filter: blur(12px);
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.logo {
  width: 44px;
  height: 44px;
  animation: spin-slow 24s linear infinite;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--lime);
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.rail-nav a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 0.5rem;
  border-left: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.rail-nav a span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.rail-nav a:hover,
.rail-nav a.is-active {
  color: var(--lime);
  border-left-color: var(--lime);
}

.rail-cta {
  color: var(--void) !important;
  background: var(--lime);
  border-radius: 4px;
  margin-top: auto;
}

.rail-toggle {
  display: none;
}

.page-shell {
  position: relative;
  z-index: 2;
  margin-left: var(--rail);
  min-height: 100vh;
}

.mobile-bar,
.mobile-drawer {
  display: none;
}

.hero {
  min-height: 100vh;
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.tag-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime);
  border-color: rgba(184, 255, 60, 0.3);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-title {
  margin: 0 0 2.5rem;
  font-size: clamp(3.5rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .word[data-delay="1"] { animation-delay: 0.1s; }
.hero-title .word[data-delay="2"] { animation-delay: 0.22s; }
.hero-title .word[data-delay="3"] { animation-delay: 0.34s; }

.hero-title .accent {
  color: var(--lime);
  margin-left: 0.08em;
}

.hero-title .outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-visual {
  width: 100%;
  min-width: 0;
}

.hero-lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-lime {
  background: var(--lime);
  color: var(--void);
  box-shadow: 0 0 30px rgba(184, 255, 60, 0.25);
}

.btn-lime:hover {
  box-shadow: 0 0 50px rgba(184, 255, 60, 0.45);
  color: var(--void);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-full {
  width: 100%;
}

.hero-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(255, 45, 106, 0.15) 0%, rgba(0, 240, 255, 0.1) 50%, rgba(184, 255, 60, 0.08) 100%),
    var(--panel);
}

.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 240, 255, 0.06) 50%, transparent 60%);
  background-size: 100% 200%;
  animation: scan 4s linear infinite;
  pointer-events: none;
}

.hero-ticker {
  margin-top: 1rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span::before {
  content: "// ";
  color: var(--pink);
}

.services {
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.section-label h2,
.strategy-head h2,
.about-card h2,
.contact-left h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.services-intro {
  max-width: 36rem;
  color: var(--muted);
  margin: 1.5rem 0 2.5rem;
}

.services-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--lime) var(--panel);
}

.services-track::-webkit-scrollbar {
  height: 4px;
}

.services-track::-webkit-scrollbar-thumb {
  background: var(--lime);
  border-radius: 4px;
}

.svc-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  padding: 2rem 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: rgba(184, 255, 60, 0.3);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card-featured {
  background: linear-gradient(145deg, #1a1030 0%, var(--panel) 100%);
  border-color: rgba(255, 45, 106, 0.25);
}

.svc-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pink);
}

.svc-card h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.svc-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.svc-bar {
  margin-top: 1.5rem;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.svc-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--lime);
  animation: bar-slide 2.5s ease-in-out infinite;
}

.scroll-hint {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.5rem 0 0;
}

.strategy {
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
  background: var(--deep);
  border-top: 1px solid var(--line);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.strategy-head p {
  max-width: 32rem;
  color: var(--muted);
  margin-top: 1rem;
}

.timeline {
  position: relative;
  margin-top: 4rem;
  display: grid;
  gap: 3rem;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--pink), var(--lime));
  transition: height 0.15s linear;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr 280px;
  gap: 2rem;
  align-items: center;
  padding-left: 0.5rem;
}

.step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  border: 2px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  background: var(--void);
  position: relative;
  z-index: 1;
}

.step-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
}

.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.step-img {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about {
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 380px);
  gap: 3rem;
  align-items: center;
}

.about-card {
  padding: 2.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
}

.about-card p {
  color: var(--muted);
}

.about-card address {
  margin-top: 1.5rem;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-visual {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  justify-self: center;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 500 / 667;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--lime);
  color: var(--void);
  padding: 1rem 1.25rem;
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}

.about-badge-num {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about-badge-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact {
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 45, 106, 0.12) 0%, transparent 50%),
    var(--deep);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-left p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.contact-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--text);
}

.contact-list a:hover {
  color: var(--lime);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
  background: rgba(18, 18, 31, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-full {
  grid-column: span 2;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  padding: 0.85rem 1rem;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.12);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: var(--pink);
}

.form-status {
  grid-column: span 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  min-height: 1.25rem;
}

.form-status.success { color: var(--lime); }
.form-status.error { color: var(--pink); }

.legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-block p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="4"] { transition-delay: 0.1s; }
.reveal[data-delay="5"] { transition-delay: 0.2s; }
.reveal[data-delay="6"] { transition-delay: 0.3s; }

.parallax-wrap {
  overflow: hidden;
}

.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes scan {
  to { background-position: 0 200%; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes bar-slide {
  0%, 100% { left: 0; }
  50% { left: 70%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
  .hero-bottom,
  .about-layout,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .step {
    grid-template-columns: 56px 1fr;
  }

  .step-img {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  :root {
    --rail: 0;
  }

  .side-rail {
    display: none;
  }

  .page-shell {
    margin-left: 0;
  }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(4, 4, 10, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  .mobile-logo {
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    color: var(--text);
  }

  .mobile-menu-btn {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--lime);
    color: var(--void);
    border: none;
    padding: 0.55rem 1rem;
    cursor: pointer;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    top: 53px;
    z-index: 199;
    background: rgba(4, 4, 10, 0.97);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer.is-open {
    display: flex;
    transform: translateY(0);
  }

  .mobile-drawer a {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-title {
    font-size: clamp(2.75rem, 18vw, 5rem);
  }

  .legal {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-title .word {
    transform: none;
    opacity: 1;
  }
}
