:root {
  --bg: #06070d;
  --surface: rgba(18, 20, 34, .62);
  --surface-solid: #10121f;
  --line: rgba(140, 150, 255, .14);
  --line-strong: rgba(140, 150, 255, .28);
  --text: #eef0ff;
  --muted: #9097b8;
  --cyan: #16e6f5;
  --blue: #3b6bff;
  --violet: #a23bff;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--violet));
  --radius: 20px;
  --max: 1160px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
::selection { background: rgba(59, 107, 255, .45); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Backdrop: particle canvas + aurora + grid */
#space { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: -3; pointer-events: none; background: var(--bg); overflow: hidden; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: .32; animation: drift 22s ease-in-out infinite alternate;
}
.aurora::before { background: radial-gradient(circle, var(--blue), transparent 65%); top: -35vmax; right: -20vmax; }
.aurora::after { background: radial-gradient(circle, var(--violet), transparent 65%); bottom: -40vmax; left: -25vmax; animation-delay: -11s; opacity: .22; }
@keyframes drift { to { transform: translate(-8vmax, 10vmax) scale(1.15); } }
.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 20; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgba(6, 7, 13, .55); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(6, 7, 13, .8); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 32px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--grad); transform: scaleX(0); transition: transform .3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-family: var(--display); font-size: 15px; font-weight: 500;
  transition: transform .2s, box-shadow .3s, border-color .2s;
}
.btn-primary { color: #fff; background: var(--grad); background-size: 200% 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 30px -8px rgba(59, 107, 255, .7); animation: slide 6s linear infinite; }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 10px 40px -6px rgba(162, 59, 255, .8); }
@keyframes slide { 0% { background-position: 0 0; } 50% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* Typography */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 8s linear infinite; }
.kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--cyan); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 64px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; margin-bottom: 28px; background: rgba(255,255,255,.02);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1; }
h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
h1 .line > span { display: inline-block; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); filter: blur(8px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1), filter .6s; white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; filter: none; }
.rotator > span.off { opacity: 0; transform: translateY(-60%); filter: blur(8px); }
.lede { margin-top: 28px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 52ch; }
.hero-cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 56px; display: flex; gap: 36px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hero-meta b { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--text); letter-spacing: -.02em; }

/* Orbit visual */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: end; transition: transform .3s ease-out; }
.orbit .core {
  position: absolute; inset: 32%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8ff8ff, var(--blue) 45%, #2a0f6b 88%);
  box-shadow: 0 0 80px rgba(59, 107, 255, .55), inset -18px -26px 50px rgba(10, 0, 40, .75);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 0 120px rgba(162, 59, 255, .6), inset -18px -26px 50px rgba(10, 0, 40, .75); } }
.orbit svg.rings { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; }
.orbit .star { position: absolute; width: 28px; height: 28px; top: 4%; right: 14%; color: #b67bff; animation: twinkle 3s ease-in-out infinite; filter: drop-shadow(0 0 10px var(--violet)); }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }
.orbit .chip {
  position: absolute; font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 8px;
  background: rgba(16, 18, 31, .8); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.orbit .chip::before { content: "● "; color: var(--cyan); }
.orbit .c1 { top: 16%; left: -2%; } .orbit .c2 { bottom: 22%; right: -4%; animation-delay: -2s; } .orbit .c3 { bottom: 4%; left: 14%; animation-delay: -4s; }
.orbit .c2::before { color: var(--violet); } .orbit .c3::before { color: var(--blue); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); background: rgba(6,7,13,.4); }
.marquee .track { display: flex; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee .track span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee .track span::after { content: "✦"; font-size: 14px; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 120px 0; scroll-margin-top: 40px; position: relative; }
.section-head { margin-bottom: 56px; max-width: 680px; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* Glass cards with cursor spotlight */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
  transition: border-color .3s, transform .5s cubic-bezier(.2,.8,.2,1);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 107, 255, .16), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--cyan), var(--violet) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px; min-height: 300px; display: flex; flex-direction: column; }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pillar .glyph { width: 52px; height: 52px; margin-top: 28px; color: var(--cyan); }
.pillar:nth-child(2) .glyph { color: var(--blue); } .pillar:nth-child(3) .glyph { color: var(--violet); }
.pillar h3 { font-size: 26px; margin-top: auto; padding-top: 32px; }
.pillar p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* Ventures */
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.venture { padding: 40px; display: flex; flex-direction: column; min-height: 400px; }
.venture .halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -140px; top: -140px; filter: blur(70px); opacity: .45; pointer-events: none; animation: breathe2 8s ease-in-out infinite; }
@keyframes breathe2 { 50% { transform: scale(1.2) translate(-20px, 20px); } }
.venture.dayly .halo { background: #ff3fa4; } .venture.resto .halo { background: var(--cyan); }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; margin-bottom: 32px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag.live { color: var(--cyan); border-color: rgba(22, 230, 245, .35); }
.tag.soon { color: #c58bff; border-color: rgba(162, 59, 255, .4); }
.venture h3 { font-size: 44px; line-height: 1; }
.venture .sub { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-top: 12px; }
.venture p.desc { margin-top: 22px; color: #c9cde6; flex: 1; }
.venture .desc-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.venture .link { margin-top: 28px; font-family: var(--display); font-weight: 500; font-size: 15px; display: inline-flex; gap: 6px; align-self: flex-start; }
.venture .link:hover { color: var(--cyan); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 30px; }
.service .icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 22px; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(135deg, rgba(22,230,245,.14), rgba(162,59,255,.14)); border: 1px solid var(--line); }
.service .icon svg { width: 20px; height: 20px; }
.service h3 { font-size: 19px; letter-spacing: -.02em; }
.service p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.industries { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.industries ul { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; text-transform: none; letter-spacing: 0; }
.industries li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; color: var(--text); font-family: var(--sans); font-size: 14px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--blue); }
.step { padding-top: 28px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--mono); font-size: 12px; color: var(--cyan); display: block; margin-bottom: 14px; }
.step h3 { font-size: 22px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Principles */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principles > div { padding: 32px; }
.principles h3 { font-size: 24px; }
.principles p { color: var(--muted); margin-top: 8px; font-size: 15px; max-width: 42ch; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.timeline { list-style: none; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--cyan), var(--blue), var(--violet)); opacity: .6; }
.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface-solid); border: 1px solid var(--line-strong); }
.timeline li.now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(22,230,245,.15), 0 0 18px var(--cyan); animation: pulse 2s infinite; }
.timeline .year { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -.03em; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Contact */
.contact { text-align: center; padding: 88px 32px; }
.contact .halo { position: absolute; left: 50%; bottom: -60%; width: 700px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(59,107,255,.35), rgba(162,59,255,.15), transparent); pointer-events: none; }
.contact > * { position: relative; }
.contact .kicker { justify-content: center; }
.contact h2 { max-width: 16ch; margin: 0 auto; }
.contact p { color: var(--muted); margin: 20px auto 36px; max-width: 48ch; }
.contact .mail { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 4vw, 44px); letter-spacing: -.03em; display: inline-block; }
.contact .mail:hover { filter: brightness(1.25); }
.chips { margin-top: 36px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chips a { font-size: 14px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; background: rgba(6,7,13,.5); transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; font-size: 14px; color: var(--muted); background: rgba(6,7,13,.6); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h4 { color: var(--text); font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--text); }
.foot address { font-style: normal; line-height: 1.7; margin-top: 16px; }
.foot-tag { margin-top: 14px; }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }

/* Legal pages */
.legal { padding: 80px 0 40px; max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); }
.legal .updated { color: var(--muted); margin-top: 12px; font-family: var(--mono); font-size: 12px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: #c9cde6; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--cyan); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s, border-color .3s; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .hero-in { opacity: 0; transform: translateY(24px); animation: heroIn 1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
.js h1 .line > span { transform: translateY(110%); animation: lineUp 1.1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-in, .js h1 .line > span { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .orbit { justify-self: center; max-width: 360px; order: -1; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
  .brand img { height: 24px; }
  .hero { min-height: 0; padding: 24px 0 72px; }
  .orbit { max-width: 260px; }
  .orbit .chip { font-size: 10px; }
  .orbit .c1 { left: -14%; } .orbit .c2 { right: -16%; }
  .hero-meta { gap: 24px; }
  section { padding: 72px 0; }
  .ventures, .services, .steps, .foot, .pillars, .principles { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .venture { padding: 28px; min-height: 0; }
  .venture h3 { font-size: 36px; }
  .contact { padding: 56px 20px; }
  .marquee .track { font-size: 18px; }
}
