: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: 10.5em; }
.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; }
.hero .index .label { margin-bottom: 12px; }
.index a:first-of-type { 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: 40px 0 28px; max-width: 34em; }
/* The canvas reaches 20px past the column on each side (EDGE in main.js), so its rings have room. */
.eco canvas { position: absolute; top: 0; left: -20px; width: calc(100% + 40px); height: 100%; }
/* Labels under the strip: brands under the left column, us under the hub, creators under the right column. */
.eco-labels { position: absolute; top: 100%; left: 0; right: 0; margin-top: 10px; display: grid; grid-template-columns: 1fr auto 1fr; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.eco-labels span:last-child { justify-self: end; }
.eco-labels .us { color: var(--ink); }

/* 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 { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
/* Line icons from the sprite at the top of index.html. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service li:last-child { border-bottom: 1px solid var(--rule); }

/* Service glyphs: one small animated drawing per service, drawn by main.js */
.glyph { display: block; width: 160px; height: 80px; margin-top: 32px; }

/* 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); }
.reach { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(56px, 8vw, 96px); align-items: start; }
.contact .cols { grid-column: 8 / 13; }
.contact .cols > div { border-top: 1px solid #333333; padding: 18px 0 22px; }
.contact h3 { font-size: 15px; font-weight: 500; }
.contact .cols p { margin-top: 6px; font-size: 15px; color: #A3A3A3; }
.contact .cols a { color: #FFFFFF; border-bottom: 1px solid #666666; }
.contact .cols a:hover { border-color: #FFFFFF; }

/* Inquiry form: drafts an email in the visitor's own mail app (main.js) */
.inquiry { grid-column: 1 / 7; display: grid; gap: 24px; }
.role { border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.role legend { float: left; width: 100%; margin-bottom: 10px; }
.role label { position: relative; }
.role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role span { display: inline-block; padding: 9px 16px; border: 1px solid #555555; font-size: 14px; color: #CFCFCF; transition: background .2s, color .2s, border-color .2s; }
.role input:checked + span { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.role input:focus-visible + span { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field input, .field textarea { width: 100%; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid #555555; border-radius: 0; color: #FFFFFF; font: 400 17px/1.5 var(--font); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: #FFFFFF; }
.inquiry button { justify-self: start; display: inline-flex; gap: 10px; padding: 13px 22px; background: #FFFFFF; color: var(--ink); border: 0; font: 500 15px var(--font); cursor: pointer; transition: background .2s; }
.inquiry button:hover { background: #DDDDDD; }
.inquiry button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.hint { margin-top: -10px; font-size: 13px; color: #8A8A8A; }
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; }
@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; }
  .inquiry, .contact .cols { grid-column: 1 / 13; }
  .contact .cols { margin-top: 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; }
}
