/* =========================================================
   AXIOMA — DIGITAL SYSTEMS STUDIO
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-soft: #101010;
  --surface: #151515;
  --surface-hover: #1b1b1b;

  --text: #f4f2ed;
  --muted: #8d8d8d;
  --line: rgba(255,255,255,.10);

  --accent: #b8ff45;
  --accent-dark: #8fce29;

  --font-main: "Space Grotesk", sans-serif;
  --font-mono: "DM Mono", monospace;

  --container: 1240px;
}


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.025) 1px,
      transparent 1px
    );

  background-size: 80px 80px;

  mask-image: linear-gradient(
    to bottom,
    black,
    transparent 70%
  );

  pointer-events: none;
  z-index: -3;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;

  opacity: .025;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;

  filter: blur(120px);

  pointer-events: none;
  z-index: -2;

  opacity: .10;
}

.orb-1 {
  background: var(--accent);
  top: -300px;
  right: -200px;
}

.orb-2 {
  background: #6f5cff;
  bottom: -300px;
  left: -300px;
}


/* ---------------------------------------------------------
   NAVBAR
   --------------------------------------------------------- */

.navbar {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;

  height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-weight: 700;
  letter-spacing: -.03em;
}

.logo-mark {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1px solid var(--accent);

  color: var(--accent);

  font-family: var(--font-mono);
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 34px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 12px;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 11px 17px;

  border: 1px solid var(--line);

  font-family: var(--font-mono);
  font-size: 11px;

  transition:
    background .2s ease,
    border-color .2s ease;
}

.nav-cta:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,.25);
}


/* ---------------------------------------------------------
   GENERAL
   --------------------------------------------------------- */

.section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.kicker {
  color: var(--accent);

  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
}

.section-number {
  color: var(--accent);

  font-family: var(--font-mono);
  font-size: 11px;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
  width: min(var(--container), calc(100% - 48px));
  min-height: calc(100vh - 90px);

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.05fr .95fr;

  align-items: center;

  gap: 60px;

  padding: 80px 0 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 28px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.pulse {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow: 0 0 15px var(--accent);

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero h1 {
  max-width: 850px;

  font-size: clamp(65px, 8vw, 120px);
  line-height: .88;

  letter-spacing: -.07em;
  font-weight: 600;
}

.hero h1 span {
  display: block;

  color: transparent;

  -webkit-text-stroke: 1px rgba(255,255,255,.7);
}

.hero-description {
  max-width: 560px;

  margin-top: 35px;

  color: var(--muted);

  font-size: 18px;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;

  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  padding: 15px 20px;

  font-family: var(--font-mono);
  font-size: 11px;

  border: 1px solid var(--line);

  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #0b0b0b;
  border-color: var(--accent);
}

.button-primary:hover {
  background: #caff73;
}

.button-ghost:hover {
  background: var(--surface);
}

.button-light {
  background: white;
  color: black;
  border-color: white;
}


/* ---------------------------------------------------------
   HERO VISUAL
   --------------------------------------------------------- */

.hero-visual {
  position: relative;

  aspect-ratio: 1;

  max-width: 570px;
  width: 100%;

  margin-left: auto;
}

.visual-grid {
  position: absolute;
  inset: 10%;

  border: 1px solid var(--line);

  background-image:
    linear-gradient(
      rgba(255,255,255,.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.04) 1px,
      transparent 1px
    );

  background-size: 35px 35px;

  transform: rotate(3deg);
}

.system {
  position: absolute;
  inset: 0;
}

.connections {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.connections line {
  stroke: rgba(184,255,69,.35);
  stroke-width: 1;
  stroke-dasharray: 5 8;

  animation: dash 8s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

.node {
  position: absolute;

  width: 9px;
  height: 9px;

  background: var(--accent);

  box-shadow:
    0 0 0 6px rgba(184,255,69,.08),
    0 0 20px rgba(184,255,69,.6);

  border-radius: 50%;
}

.node-center {
  width: 90px;
  height: 90px;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: rgba(184,255,69,.05);

  border: 1px solid var(--accent);

  box-shadow:
    0 0 50px rgba(184,255,69,.08),
    inset 0 0 40px rgba(184,255,69,.05);
}

.node-center span {
  color: var(--accent);

  font-family: var(--font-mono);
  font-size: 28px;
}

.node-1 {
  top: 19%;
  left: 23%;
}

.node-2 {
  top: 23%;
  right: 20%;
}

.node-3 {
  bottom: 21%;
  left: 20%;
}

.node-4 {
  bottom: 19%;
  right: 20%;
}

.orbit {
  position: absolute;

  top: 50%;
  left: 50%;

  border: 1px solid rgba(255,255,255,.08);

  border-radius: 50%;

  transform: translate(-50%, -50%) rotate(30deg);
}

.orbit-a {
  width: 62%;
  height: 34%;
}

.orbit-b {
  width: 38%;
  height: 70%;

  transform: translate(-50%, -50%) rotate(-30deg);
}

.visual-label {
  position: absolute;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 9px;

  display: flex;
  gap: 20px;
}

.label-top {
  top: 5%;
  left: 5%;
}

.label-bottom {
  right: 5%;
  bottom: 5%;
}


/* ---------------------------------------------------------
   MARQUEE
   --------------------------------------------------------- */

.marquee {
  overflow: hidden;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  padding: 17px 0;

  white-space: nowrap;
}

.marquee-track {
  width: max-content;

  display: flex;
  align-items: center;
  gap: 30px;

  animation: marquee 25s linear infinite;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .15em;
}

.marquee i {
  color: var(--accent);
  font-style: normal;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.intro {
  padding: 180px 0;

  display: grid;
  grid-template-columns: 120px 1fr;
}

.intro-content {
  max-width: 900px;
}

.intro h2 {
  margin-top: 20px;

  font-size: clamp(45px, 6vw, 82px);
  line-height: .98;

  letter-spacing: -.06em;
}

.intro h2 em {
  color: var(--accent);
  font-style: normal;
}

.large-text {
  max-width: 650px;

  margin-top: 50px;

  color: var(--muted);

  font-size: 20px;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   SERVICES
   --------------------------------------------------------- */

.services {
  padding-bottom: 180px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-bottom: 55px;
}

.section-heading h2 {
  margin-top: 15px;

  font-size: clamp(45px, 5vw, 70px);
  letter-spacing: -.06em;
}

.section-heading > p {
  max-width: 260px;

  color: var(--muted);

  line-height: 1.6;
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 470px;

  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  transition:
    background .3s ease,
    transform .3s ease;
}

.service-card:hover {
  background: var(--surface);
  transform: translateY(-5px);
}

.service-card.featured {
  background: var(--surface);
}

.card-top {
  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 11px;
}

.card-icon {
  color: var(--accent);
  font-size: 20px;
}

.service-card h3 {
  margin-bottom: 18px;

  font-size: 45px;
  letter-spacing: -.05em;
}

.service-card p {
  max-width: 310px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 6px 8px;

  border: 1px solid var(--line);

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 8px;
}


/* ---------------------------------------------------------
   PROCESS
   --------------------------------------------------------- */

.process {
  padding: 100px 0 180px;

  display: grid;
  grid-template-columns: 120px 1fr;
}

.process-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;

  gap: 100px;
}

.process h2 {
  margin-top: 20px;

  font-size: clamp(50px, 6vw, 82px);
  line-height: .95;

  letter-spacing: -.07em;
}

.process h2 span {
  color: var(--accent);
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;

  gap: 20px;

  padding: 30px 0;

  border-bottom: 1px solid var(--line);
}

.step > span {
  color: var(--accent);

  font-family: var(--font-mono);
  font-size: 11px;
}

.step h3 {
  margin-bottom: 10px;

  font-size: 20px;
}

.step p {
  max-width: 500px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   IMPACT
   --------------------------------------------------------- */

.impact {
  position: relative;

  min-height: 650px;

  padding: 100px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;

  background: var(--accent);
  color: #080808;
}

.impact-pattern {
  position: absolute;
  inset: 0;

  opacity: .18;

  background-image:
    linear-gradient(
      45deg,
      transparent 48%,
      #080808 49%,
      #080808 51%,
      transparent 52%
    );

  background-size: 80px 80px;

  mask-image: linear-gradient(
    90deg,
    black,
    transparent
  );
}

.impact-content {
  position: relative;

  max-width: 800px;
}

.impact .kicker {
  color: #080808;
}

.impact h2 {
  margin-top: 20px;

  font-size: clamp(55px, 7vw, 100px);
  line-height: .9;

  letter-spacing: -.07em;
}

.impact h2 span {
  display: block;

  color: transparent;

  -webkit-text-stroke: 1px #080808;
}

.impact-content > p {
  max-width: 550px;

  margin-top: 35px;

  font-size: 17px;
  line-height: 1.6;
}

.impact .button {
  margin-top: 35px;
}

.impact-equation {
  position: absolute;

  right: 6%;
  bottom: 10%;

  display: flex;
  align-items: center;
  gap: 14px;

  font-family: var(--font-mono);
  font-size: 10px;

  transform: rotate(-8deg);
}

.impact-equation b {
  font-size: 20px;
}

.impact-equation strong {
  font-size: 14px;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.cta {
  min-height: 700px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.cta-small {
  color: var(--accent);

  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
}

.cta h2 {
  margin-top: 25px;

  font-size: clamp(65px, 10vw, 140px);
  line-height: .85;

  letter-spacing: -.08em;
}

.cta h2 span {
  display: block;

  color: transparent;

  -webkit-text-stroke: 1px rgba(255,255,255,.7);
}

.cta p {
  margin-top: 35px;

  color: var(--muted);
}

.cta .button {
  margin-top: 35px;
}

.button.large {
  padding: 20px 25px;

  font-size: 12px;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.footer {
  width: min(var(--container), calc(100% - 48px));

  margin: 0 auto;

  padding: 45px 0 25px;

  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  align-items: start;
}

.footer-main > p {
  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 10px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 25px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: 10px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  margin-top: 70px;

  color: #555;

  font-family: var(--font-mono);
  font-size: 9px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    padding-top: 70px;
  }

  .hero-visual {
    margin: 40px auto 0;
    max-width: 500px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 400px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .impact {
    padding: 70px 40px;
  }

  .impact-equation {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}


@media (max-width: 600px) {

  .navbar,
  .hero,
  .section,
  .footer {
    width: min(100% - 32px, var(--container));
  }

  .navbar {
    height: 75px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 90px;
  }

  .hero h1 {
    font-size: clamp(56px, 16vw, 90px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .intro {
    padding: 110px 0;

    grid-template-columns: 1fr;
    gap: 25px;
  }

  .intro h2 {
    font-size: 48px;
  }

  .large-text {
    font-size: 17px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .services {
    padding-bottom: 110px;
  }

  .process {
    padding-bottom: 110px;

    grid-template-columns: 1fr;
    gap: 25px;
  }

  .process h2 {
    font-size: 55px;
  }

  .impact {
    width: 100%;

    min-height: 600px;

    padding: 70px 24px;
  }

  .impact h2 {
    font-size: 58px;
  }

  .cta {
    min-height: 550px;
  }

  .cta h2 {
    font-size: 70px;
  }

  .footer-bottom {
    margin-top: 45px;
  }
}