:root {
  --bg: #0b0a14;
  --bg-alt: #12101f;
  --card: #1a1730;
  --line: #2b2748;
  --text: #ecebf5;
  --muted: #a3a0bd;
  --gold: #f5c25b;
  --violet: #7a5cff;
  --grad: linear-gradient(100deg, var(--gold), #ff8a5b 45%, var(--violet));
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem; letter-spacing: -0.02em; }
h2 small { display: block; font-size: 0.45em; color: var(--muted); font-weight: 500; margin-top: .5rem; letter-spacing: 0; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
a { color: inherit; }
p + p { margin-top: 1rem; }
strong { color: #fff; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(80px, 12vw, 140px) 0; }
.alt { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--gold); margin-bottom: 1rem; font-weight: 500; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--grad); color: #0b0a14; font-weight: 600; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(245, 194, 91, .6); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(16px, calc((100% - var(--max)) / 2));
  transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(11, 10, 20, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .08em; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); letter-spacing: .02em; margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 6px auto; transition: transform .3s; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 78%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: 120px 16px 80px; max-width: 860px; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 6rem); letter-spacing: -0.04em; margin-bottom: 1.4rem; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 2.2rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; z-index: 2; width: 24px; height: 40px; border: 1.5px solid var(--line); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: drip 1.8s infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Flagship */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; margin: 1.5rem 0; }
.ticks li { padding-left: 1.6rem; position: relative; margin: .45rem 0; color: var(--muted); }
.ticks li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .75em; top: .25em; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; }
.flow span { font-size: .8rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); position: relative; }
.flow span:not(:last-child)::after { content: "→"; margin-left: 8px; color: var(--gold); }
.showcase-art {
  aspect-ratio: 4 / 5; border-radius: var(--radius); position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(245, 194, 91, .35), transparent 50%),
              radial-gradient(circle at 80% 90%, rgba(122, 92, 255, .45), transparent 55%), var(--card);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(245, 194, 91, .35); animation: spin 24s linear infinite; }
.r1 { width: 40%; aspect-ratio: 1; }
.r2 { width: 65%; aspect-ratio: 1; border-style: dashed; animation-duration: 40s; animation-direction: reverse; }
.r3 { width: 90%; aspect-ratio: 1; border-color: rgba(122, 92, 255, .35); animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
.showcase-label { font-family: "Space Grotesk"; font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .2em; position: relative; }
.caption { margin-top: .8rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 2.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(245, 194, 91, .5); }
.card p { color: var(--muted); font-size: .95rem; }
.icon { font-size: 1.6rem; margin-bottom: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* About stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2.5rem; }
.stats div { border-top: 1px solid var(--line); padding-top: 1rem; }
.stats strong { display: block; font-family: "Space Grotesk"; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: .9rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 2.5rem; }
.member { text-align: center; padding: 28px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.avatar { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font: 700 2rem "Space Grotesk"; color: #0b0a14; background: var(--grad); }
.member p { color: var(--muted); font-size: .9rem; }

/* Contact */
.contact { background: radial-gradient(ellipse at 50% 120%, rgba(122, 92, 255, .25), transparent 60%); }
.form { margin-top: 2rem; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: .8rem 1rem; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .85rem; color: var(--muted); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.socials { display: flex; gap: 18px; }
.socials a { text-decoration: none; }
.socials a:hover { color: var(--gold); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring, .scroll-hint span { animation: none; }
}

/* Mobile */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: rgba(11, 10, 20, .96); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s;
  }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: 14px 0; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; }
  .showcase-art { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
