@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0d10;
  --surface: #12161b;
  --text: #f4f6f8;
  --muted: #9ba4ae;
  --line: #242b33;
  --accent: #79e0bf;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
.brand-name {
  margin-left:20px
}

body {
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #0b0d10 !important;
  color: #f4f6f8 !important;
  min-height: 100% !important;
}

a {
  color: #f4f6f8 !important;
  text-decoration: none !important;
}
a.button {
  color: black !important;
  background-color: white;
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
  background: var(--surface);
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 160ms ease;
}

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

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 80px;
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 620px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button {
  display: inline-block;
  margin-top: 34px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-graphic {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.logic-card {
  width: 230px;
  height: 230px;
  position: relative;
  z-index: 2;
  border: 1px solid #303841;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  transform: rotate(-6deg);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.logic-card span {
  width: 22px;
  height: 78px;
  background: var(--text);
  border-radius: 12px;
}

.logic-card span:nth-child(2) {
  height: 118px;
  background: var(--accent);
}

.logic-card span:nth-child(3) {
  height: 55px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 280px;
  height: 280px;
  background: rgba(121,224,191,.12);
  top: 25px;
  right: 15px;
}

.orb-two {
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255,255,255,.1);
  bottom: 20px;
  left: 35px;
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.split > p {
  align-self: end;
  color: var(--muted);
  max-width: 650px;
  font-size: 1.08rem;
}

.services {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.services article {
  min-height: 250px;
  background: var(--bg);
  padding: 30px;
}

.services span {
  color: var(--muted);
  font-size: 0.75rem;
}

.services h3 {
  margin-top: 60px;
  font-size: 1.4rem;
}

.services p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  text-align: center;
}

.contact h2 {
  margin-top: 14px;
}

.contact > p:not(.section-label) {
  margin-top: 14px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent);
}

footer {
  min-height: 110px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .site-header {
    min-height: 72px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 100px 0 70px;
  }

  .hero-graphic {
    height: 280px;
  }

  .logic-card {
    width: 180px;
    height: 180px;
  }

  .split,
  .services {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 35px;
  }

  .section {
    padding: 80px 0;
  }

  .services article {
    min-height: 210px;
  }

  footer {
    padding: 30px 0;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* DNA parallax story ------------------------------------------------------- */

.dna-story {
  position: relative;
  border-top: 1px solid var(--line);
  min-height: 290vh;
  padding: 0;
}

.dna-story-inner { position: relative; min-height: 290vh; }

.dna-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

.dna-logo {
  width: clamp(910px, 28vw, 365px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0% // 22%;
  position: relative;
  z-index: 2;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}

.dna-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 3; }
.dna-line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 7px rgba(0,0,0,.55)); transition: stroke-dashoffset 80ms linear; }
.dna-line-white { stroke: #f4f6f8; }
.dna-line-yellow { stroke: #ffd326; }
.dna-line-red { stroke: #ff3945; }

.dna-dot { transform-box: fill-box; transform-origin: center; opacity: 0; transition: opacity 160ms ease, transform 160ms ease; filter: drop-shadow(0 0 9px rgba(255,255,255,.14)); }
.dna-dot-white { fill: #f4f6f8; }
.dna-dot-yellow { fill: #ffd326; }
.dna-dot-red { fill: #ff3945; }

.dna-copy { position: absolute; inset: 0; z-index: 5; }
.dna-copy-block { position: absolute; width: min(390px, 32vw); opacity: .18; transform: translateY(28px); transition: opacity 100ms linear, transform 100ms linear; }
.dna-copy-block:nth-child(1) { top: 26vh; }
.dna-copy-block:nth-child(2) { top: 113vh; }
.dna-copy-block:nth-child(3) { top: 200vh; }
.dna-copy-right { right: 2%; text-align: right; }
.dna-copy-left { left: 2%; text-align: left; }
.dna-copy-index { display: inline-block; margin-bottom: 12px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.dna-copy-block h3 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.035em; }
.dna-copy-block p { margin: 0; font-size: 1rem; }

@media (max-width: 800px) {
  .dna-story, .dna-story-inner { min-height: 260vh; }
  .dna-stage { align-items: start; padding-top: 14vh; }
  .dna-logo { width: min(58vw, 270px); }
  .dna-lines { display: none; }
  .dna-copy-block, .dna-copy-left, .dna-copy-right { left: 20px; right: 20px; width: auto; text-align: left; padding: 22px; background: rgba(18,22,27,.88); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(10px); }
  .dna-copy-block:nth-child(1) { top: 55vh; }
  .dna-copy-block:nth-child(2) { top: 135vh; }
  .dna-copy-block:nth-child(3) { top: 215vh; }
}

.what-story:hover {
  background: #fff !important;
  color: #000 !important;
}

.what-story:hover h3,
.what-story:hover p,
.what-story:hover span,
.what-story:hover svg {
  color: #000 !important;
  fill: #000 !important;
}
.what-story,
.what-story h3,
.what-story p,
.what-story svg {
  transition: background-color 0.25s ease, color 0.25s ease, fill 0.25s ease;
}
