:root {
  --paper: #FFFFFF;
  --ink: #0E0E0E;
  --ink-2: #5E5E5E;
  --rule: #E3E3E3;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); font-feature-settings: "tnum"; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
ul { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* Header */
header { border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-size: 14px; font-weight: 600; letter-spacing: .24em; }
header nav { display: flex; gap: 36px; font-size: 14px; color: var(--ink-2); }
header nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 7vw, 88px); }
.hero .label { display: block; margin-bottom: 36px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 96px); line-height: 1.0; font-weight: 500; letter-spacing: -.035em; max-width: 12em; }
.hero .below { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.hero .intro { grid-column: 1 / 7; }
.hero .lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 30em; }
.hero .lede strong { color: var(--ink); font-weight: 500; }
.index { grid-column: 8 / 13; border-top: 1px solid var(--ink); }
.index a { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 500; transition: padding .3s var(--ease), color .3s; }
.index a span { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.index a:hover { padding-left: 10px; color: var(--ink-2); }

/* Ecosystem strip: a small decoration under the hero's intro */
.eco { position: relative; height: 120px; margin-top: 40px; max-width: 34em; }
.eco canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Sections */
section.block { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .label { grid-column: 1 / 4; padding-top: 10px; }
.head h2 { grid-column: 4 / 13; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; max-width: 18em; }

/* Services */
.service { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 36px 0 44px; scroll-margin-top: 24px; }
.service::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform-origin: left; }
.service:last-child { border-bottom: 1px solid var(--ink); }
.service .num { grid-column: 1 / 2; font-size: 14px; color: var(--ink-2); padding-top: 8px; }
.service .name { grid-column: 2 / 6; }
.service h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; font-weight: 500; letter-spacing: -.025em; }
.service .tag { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.service .body { grid-column: 6 / 10; padding-top: 6px; }
.service .body p { max-width: 30em; }
.service ul { grid-column: 10 / 13; padding-top: 6px; font-size: 15px; }
.service li { padding: 9px 0; border-top: 1px solid var(--rule); }
.service li:last-child { border-bottom: 1px solid var(--rule); }

/* Service glyphs: small line drawings, one per service */
.glyph { display: block; width: 160px; height: 80px; margin-top: 32px; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1; }
.g-find circle { fill: var(--paper); transition: fill .4s; }
.g-find circle.on { fill: var(--ink); }
.g-find .pick { transition: x .45s var(--ease), y .45s var(--ease); }
.g-net .ring { stroke: var(--rule); }
.g-net .spin { transform-origin: 80px 40px; animation: spin 36s linear infinite; }
.g-net .spokes { stroke-dasharray: 2 4; animation: flow 1.4s linear infinite; }
.g-net .spin circle { fill: var(--paper); }
.g-net .hub { fill: var(--ink); stroke: none; }
.g-feed .track { animation: feed 9s linear infinite; }
.g-feed .play { fill: var(--ink); stroke: none; }
.g-gen .bars { stroke-width: 2; }
.g-gen .dither { stroke: var(--ink); }
.g-gen .cover { fill: var(--paper); stroke: none; animation: gen 3.4s cubic-bezier(.5, 0, .3, 1) infinite; }
.g-gen .scan { animation: gen 3.4s cubic-bezier(.5, 0, .3, 1) infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -12; } }
@keyframes feed { to { transform: translateX(-170px); } }
@keyframes gen { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(68px); } }

/* How it works */
.how { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.cycle { grid-column: 1 / 6; width: 100%; max-width: 460px; overflow: visible; }
.cycle .base { fill: none; stroke: var(--ink); stroke-opacity: .22; stroke-dasharray: 880; stroke-dashoffset: 0; }
.cycle .node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.cycle .node.us { fill: var(--ink); }
.cycle .ring { fill: none; stroke: var(--ink); opacity: 0; }
.cycle .tail { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.cycle .head { fill: var(--ink); }
.cycle text { fill: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 500; }
.cycle .flow { opacity: .55; }
.cycle .flow text { fill: var(--ink-2); font-size: 13px; font-weight: 400; }
.cycle .center { fill: var(--ink-2); font-size: 14px; font-weight: 400; }
.how-text { grid-column: 7 / 13; }
.party { position: relative; padding: 20px 0 24px; }
.party::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform-origin: left; }
.party.us::before { height: 3px; }
.party h3 { font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.party p { margin-top: 8px; color: var(--ink-2); max-width: 26em; }
.loop { margin-top: 28px; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.35; letter-spacing: -.01em; max-width: 26em; }

/* Contact */
.contact { background: var(--ink); color: #FFFFFF; padding: clamp(72px, 10vw, 130px) 0 40px; }
.contact .label { color: #A3A3A3; }
.contact .email { position: relative; display: inline-block; margin-top: 28px; padding-bottom: 8px; font-size: clamp(34px, 6vw, 84px); line-height: 1; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.contact .email::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #FFFFFF; transform-origin: right; transition: transform .5s var(--ease); }
.contact .email:hover::after { transform: scaleX(0); }
.contact .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(56px, 8vw, 96px); }
.contact .cols > div { border-top: 1px solid #333333; padding-top: 18px; }
.contact h3 { font-size: 15px; font-weight: 500; }
.contact .cols p { margin-top: 6px; font-size: 15px; color: #A3A3A3; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(72px, 10vw, 120px); padding-top: 20px; border-top: 1px solid #333333; font-size: 13px; color: #8A8A8A; }

/* Entrance motion: only when scripts run, so the page is complete without them */
.js .hero h1 .w { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .index a.reveal { transition: opacity .8s ease, transform .8s var(--ease), padding .3s var(--ease), color .3s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.js .service::before, .js .party::before { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js .service.in::before, .js .party.in::before { transform: scaleX(1); }
.js .cycle .base { stroke-dashoffset: 880; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js .cycle.in .base { stroke-dashoffset: 0; }
.glyph.paused, .glyph.paused * { animation-play-state: paused !important; }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } }

@media (max-width: 900px) {
  .hero .intro, .index { grid-column: 1 / 13; }
  .index { margin-top: 16px; }
  .head .label, .head h2 { grid-column: 1 / 13; }
  .head .label { padding-top: 0; }
  .service { gap: 18px; }
  .service .num { grid-column: 1 / 13; padding-top: 0; }
  .service .name, .service .body, .service ul { grid-column: 1 / 13; }
  .glyph { margin-top: 24px; }
  .cycle, .how-text { grid-column: 1 / 13; }
  .cycle { max-width: 380px; margin: 0 auto 16px; }
  .contact .cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  header nav a:not(:last-child) { display: none; }
  .wordmark { letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .service::before, .js .party::before { transform: none; }
  .js .cycle .base { stroke-dashoffset: 0; }
}
