/* ══════════════════════════════════════════════════════════════════
   DALA — particle brain / lightbulb / globe / mark, on a fixed stage.
   ══════════════════════════════════════════════════════════════════ */
:root {
  --bg: #050406;
  --bg2: #0b0a10;
  --ink: #f4f2ff;
  --ink-70: rgba(244, 242, 255, .72);
  --ink-55: rgba(244, 242, 255, .55);
  --ink-35: rgba(244, 242, 255, .35);
  --violet: #7c5cff;
  --violet-2: #a68bff;
  --teal: #2fe3b0;
  --yellow: #e9c53c;
  --pink: #ff5aa5;
  --sans: "Instrument Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--violet); color: #fff; }

/* thin native scrollbar like the reference */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #08070c; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 3px; }

/* ── stage ───────────────────────────────────────────────── */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 45%, var(--bg2) 0%, var(--bg) 70%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 80% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 100%); }
.stage__grain { position: absolute; inset: -50%; pointer-events: none; opacity: .045; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-1%,3%)} 80%{transform:translate(3%,-1%)} 100%{transform:translate(0,0)} }

/* ── preloader ───────────────────────────────────────────── */
.pre { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center;
  transition: opacity .7s ease, visibility .7s; }
.pre.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre__inner { width: min(320px, 70vw); text-align: center; }
.pre__mark { width: 44px; height: 44px; margin: 0 auto 14px; }
.pre__p1 { fill: var(--violet); }
.pre__p2 { fill: var(--teal); opacity: .85; }
.pre__word { font-size: 22px; letter-spacing: -.02em; margin-bottom: 26px; }
.pre__rail { height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.pre__rail i { display: block; height: 100%; width: 0; background: var(--violet-2); transition: width .25s ease-out; }
.pre__meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-55); font-family: var(--mono); }
.pre__meta em { font-style: normal; color: var(--ink); }

/* ── cursor ──────────────────────────────────────────────── */
.cur, .cur-ring { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; opacity: 0; will-change: transform; }
.cur { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; }
.cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, background .3s; display: grid; place-items: center; }
.cur-ring span { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cur-ring.is-active { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--violet-2); background: rgba(124,92,255,.14); }
.cur-ring.is-active span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cur, .cur-ring { display: none; } }

/* ── HUD ─────────────────────────────────────────────────── */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: -.01em; }
.hud__brand svg { width: 22px; height: 22px; }
.hud__nav { display: flex; align-items: center; gap: 28px; }
.hud__nav a:not(.pill) { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); transition: color .3s; }
.hud__nav a:not(.pill):hover, .hud__nav a.is-active { color: var(--ink); }

.pill { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 13px; border-radius: 999px;
  background: var(--violet); color: #fff; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s; box-shadow: 0 0 0 0 rgba(124,92,255,.0); }
.pill:hover { background: #8d70ff; transform: translateY(-1px); box-shadow: 0 8px 26px rgba(124,92,255,.35); }
.pill--lg { height: 30px; padding: 0 18px; font-size: 9.5px; }

/* ── sections ────────────────────────────────────────────── */
main { position: relative; z-index: 2; }
.sec { position: relative; min-height: 100vh; padding: 0 var(--pad); }

.h2 { font-size: clamp(26px, 2.75vw, 42px); font-weight: 400; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 20px; }
.h2--xl { font-size: clamp(38px, 4.4vw, 68px); letter-spacing: -.03em; line-height: 1.02; }
.body { font-size: 12.5px; line-height: 1.55; color: var(--ink-70); max-width: 34ch; margin-bottom: 14px; }
.body em { font-style: italic; }
.body em.hi { color: var(--yellow); }
.eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 700; margin-bottom: 8px; }
.lnk { color: var(--yellow); }
.lnk:hover { text-decoration: underline; }

/* hero */
.sec--hero { display: flex; align-items: center; min-height: 100vh; }
.hero__copy { max-width: 46vw; }
.hero__h1 { font-size: clamp(48px, 7.4vw, 118px); font-weight: 400; line-height: .98; letter-spacing: -.035em; margin-bottom: 26px; }
.hero__h1 .ln { display: block; overflow: hidden; }
.hero__h1 .ln span { display: block; transform: translateY(110%); }
.hero__body { font-size: 12.5px; line-height: 1.6; color: var(--ink-70); max-width: 40ch; margin-bottom: 22px; }
.hero__copy .eyebrow, .hero__body, .hero__copy .pill { opacity: 0; transform: translateY(14px); }

/* side copy sections */
.sec--side { display: flex; align-items: center; }
.sec--side.sec--tall { min-height: 130vh; }
.sec--right { justify-content: flex-end; }
.sec--right .side__copy { width: min(34vw, 420px); margin-right: 2vw; }
.sec--left .side__copy { width: min(34vw, 420px); margin-left: 1vw; }
.side__copy .body { max-width: 36ch; }

/* manifesto statements */
.sec--statement { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 100vh; }
.statement { max-width: 62ch; }
.statement p { font-size: clamp(16px, 1.55vw, 24px); line-height: 1.32; letter-spacing: -.012em; margin-bottom: 1em; text-shadow: 0 2px 22px rgba(0,0,0,.6); }
.statement p:last-child { margin-bottom: 0; }

/* team */
.sec--team { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.team__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.team__bg img { position: absolute; left: 50%; top: 50%; width: 120vh; height: auto; transform: translate(-50%, -50%); opacity: 0;
  filter: blur(6px) saturate(.4) brightness(.5); transition: opacity 1s ease; }
.team__bg img.is-on { opacity: .12; }
.team__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 34vw) 1fr; gap: 6vw; align-items: center; width: 100%; }
.team__sub { font-size: 15px; margin-bottom: 14px; }
.team__copy .body { max-width: 40ch; }
.team__slider { position: relative; display: grid; grid-template-columns: 200px auto; grid-template-rows: auto auto; column-gap: 20px; row-gap: 22px; align-items: center; }
.team__cardwrap { position: relative; width: 200px; height: 310px; grid-row: 1; grid-column: 1; }
.team__card { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform-origin: 50% 100%; opacity: 0; will-change: transform, opacity; }
.team__card img { width: 100%; height: 100%; object-fit: cover; }
.team__card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; }
.team__meta { grid-row: 1; grid-column: 2; align-self: start; padding-top: 42px; }
.team__role { font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); font-weight: 700; margin-bottom: 8px; min-height: 12px; }
.team__name { font-size: clamp(22px, 2.05vw, 32px); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 12px; min-height: 2.24em; }
.team__name .ln { display: block; overflow: hidden; }
.team__name .ln span { display: block; }
.team__social { display: flex; gap: 10px; }
.team__social a svg { width: 12px; height: 12px; fill: var(--ink); opacity: .85; }
.team__ctrl { grid-row: 2; grid-column: 1; display: flex; justify-content: center; gap: 8px; }
.rbtn { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 11px; line-height: 1; display: grid; place-items: center;
  transition: background .25s, transform .3s var(--ease); }
.rbtn:hover { background: #22c79a; transform: scale(1.12); }
.rbtn:active { transform: scale(.94); }

/* investors */
.sec--investors { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.inv__list { list-style: none; position: relative; height: 62vh; }
.inv { position: absolute; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.inv span { display: flex; flex-direction: column; }
.inv b { font-weight: 400; font-size: clamp(14px, 1.15vw, 18px); letter-spacing: -.01em; }
.inv small { font-size: 8px; color: var(--ink-55); letter-spacing: .02em; }
.tri { display: block; width: 26px; height: 26px; flex: none;
  background: var(--c); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='none' stroke='white' stroke-width='3'><path d='M20 4 36 34H4z'/><path d='M20 4v30M4 34l16-8 16 8'/></g></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='none' stroke='white' stroke-width='3'><path d='M20 4 36 34H4z'/><path d='M20 4v30M4 34l16-8 16 8'/></g></svg>") center/contain no-repeat;
  filter: drop-shadow(0 0 8px var(--c)); animation: tumble 9s ease-in-out infinite; }
.inv--1 { left: 4%; top: 22%; }
.inv--2 { left: 20%; top: 36%; }
.inv--3 { left: 4%; top: 55%; }
.inv--4 { left: 42%; top: 68%; }
.inv--5 { left: 12%; top: 82%; }
.inv--2 .tri { animation-delay: -2s; } .inv--3 .tri { animation-delay: -4s; } .inv--4 .tri { animation-delay: -6s; } .inv--5 .tri { animation-delay: -8s; }
@keyframes tumble { 0%,100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(10deg) translateY(-4px); } }
.inv__copy { justify-self: start; padding-left: 8vw; }
.inv__copy .body { max-width: 34ch; }

/* cta */
.sec--cta { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta__copy { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__h { font-size: clamp(24px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; text-shadow: 0 2px 30px rgba(0,0,0,.7); }
.foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); font-family: var(--mono);
  font-size: 8.5px; letter-spacing: .06em; color: var(--ink-55); }
.foot__nav { display: flex; gap: 22px; text-transform: uppercase; letter-spacing: .12em; }
.foot__nav a:hover { color: var(--ink); }
.foot__soc { display: flex; gap: 14px; }
.foot__soc svg { width: 12px; height: 12px; fill: var(--ink); opacity: .85; }

/* reveal (JS toggles) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hud__nav { gap: 16px; }
  .hud__nav a[data-nav="blog"] { display: none; }
  .hero__copy { max-width: 100%; padding-top: 22vh; }
  .hero__h1 { font-size: clamp(44px, 13vw, 80px); }
  .sec--right, .sec--left { justify-content: flex-start; align-items: flex-end; padding-bottom: 12vh; }
  .sec--right .side__copy, .sec--left .side__copy { width: min(100%, 420px); margin: 0; }
  .sec--side.sec--tall { min-height: 100vh; }
  .team__grid { grid-template-columns: 1fr; gap: 40px; padding: 16vh 0 10vh; }
  .team__slider { grid-template-columns: 170px auto; }
  .team__cardwrap { width: 170px; height: 262px; }
  .sec--investors { grid-template-columns: 1fr; padding-top: 12vh; padding-bottom: 12vh; gap: 40px; }
  .inv__list { height: 52vh; }
  .inv__copy { padding-left: 0; }
  .foot { flex-wrap: wrap; gap: 8px; justify-content: center; text-align: center; }
  .foot__c { width: 100%; }
}

/* ── reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .stage__grain, .tri { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__h1 .ln span, .hero__copy .eyebrow, .hero__body, .hero__copy .pill { transform: none; opacity: 1; }
  .cur, .cur-ring { display: none; }
}
