:root {
  --ink: #f6f7fb;
  --muted: #aeb7ca;
  --bg: #070b14;
  --panel: #101727;
  --line: rgba(255,255,255,.11);
  --blue: #6ca8ff;
  --violet: #9f82ff;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 76% 12%, rgba(94,97,255,.18), transparent 28rem), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
header { position: sticky; top: 0; z-index: 5; background: rgba(7,11,20,.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 116px; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(39,144,255,.2)); }
.mark { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #08101f; font-weight: 900; }
.links { display: flex; align-items: center; gap: 24px; }
.links a, footer a { color: var(--muted); text-decoration: none; }
.links a:hover, footer a:hover { color: var(--ink); }
.hero { min-height: 66vh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; padding: 92px 0 72px; }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; font-size: .8rem; }
h1 { margin: 14px 0 20px; max-width: 780px; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .96; letter-spacing: -.065em; }
h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.1; }
h3 { margin: 0 0 8px; font-size: 1.12rem; }
p { margin: 0; color: var(--muted); }
.lead { max-width: 650px; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.signal { min-height: 320px; position: relative; display: grid; place-items: center; isolation: isolate; }
.signal::before { content: ""; position: absolute; z-index: -1; width: 76%; aspect-ratio: 1.35; border-radius: 50%; background: rgba(42,104,255,.2); filter: blur(72px); }
.logo-stage { width: min(100%, 440px); display: grid; place-items: center; }
.logo-stage img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 34px rgba(0,119,255,.34)); }
section { padding: 84px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; margin-bottom: 38px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }
.card .num { display: block; color: var(--blue); margin-bottom: 38px; font-variant-numeric: tabular-nums; }
.projects-section { overflow: hidden; }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.project { min-height: 260px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: #11182a; }
.project:nth-child(1), .project:nth-child(2) { grid-column: span 3; }
.project:nth-child(n+3) { grid-column: span 2; }
.project::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -80px; border-radius: 50%; background: var(--project-glow, #6ca8ff); opacity: .18; filter: blur(8px); }
.project-top { position: absolute; inset: 20px 20px auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.status { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7,11,20,.35); }
.project h3 { position: relative; z-index: 1; margin: 0 0 2px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .98; letter-spacing: -.055em; }
.project p { position: relative; z-index: 1; }
.project-wolter { --project-glow: #53c7ff; background: linear-gradient(145deg, #102036, #0d1422); }
.project-haunta { --project-glow: #b072ff; background: linear-gradient(145deg, #241634, #111321); }
.project-kvd { --project-glow: #ffbf5e; background: linear-gradient(145deg, #282117, #111520); }
.project-remote { --project-glow: #65e0ba; background: linear-gradient(145deg, #102a27, #101722); }
.project-vee { --project-glow: #ff6f91; background: linear-gradient(145deg, #2a1623, #111520); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 38px; border-radius: 26px; background: linear-gradient(135deg, #182440, #18152e); border: 1px solid rgba(150,170,255,.25); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: #0c1220; font-weight: 750; text-decoration: none; white-space: nowrap; }
.page { padding: 72px 0 96px; }
.page h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 48px; font-size: 1.55rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-inline-start: 22px; }
.meta { margin: 18px 0 44px; color: var(--muted); }
footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot div { display: flex; gap: 20px; }
@media (max-width: 760px) {
  .links a:not(:last-child) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-top: 64px; }
  .signal { min-height: 270px; }
  .section-head, .grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project:nth-child(n) { grid-column: span 1; min-height: 220px; }
  .contact { align-items: flex-start; flex-direction: column; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .orbit { animation: none; } }
