:root {
  --bg: #090a0d;
  --bg-soft: #0f1116;
  --text: #f3f3ef;
  --muted: #9a9da8;
  --line: rgba(255,255,255,.11);
  --accent: #b8ff3d;
  --accent-soft: rgba(184,255,61,.12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #070807; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.cursor-glow {
  width: 420px; height: 420px; border-radius: 50%;
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(184,255,61,.1), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity .25s ease;
}

.topbar {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  height: 82px; padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.topbar.scrolled { background: rgba(9,10,13,.72); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; font-size: .88rem; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--accent); color: #090a0d; font-weight: 900; letter-spacing: 0; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: .85rem; transition: color .2s ease; }
nav a:hover { color: var(--text); }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; position: relative; padding-top: 104px; padding-bottom: 64px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .76rem; letter-spacing: .17em; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(184,255,61,.8); }
.hero h1 { margin: 24px 0 24px; font-size: clamp(4.2rem, 8.3vw, 9rem); line-height: .83; letter-spacing: -.075em; font-weight: 750; }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(243,243,239,.72); }
.hero-lead { max-width: 620px; color: #c3c5cd; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 0 19px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 30px; justify-content: space-between; font-size: .9rem; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button.primary { background: var(--accent); color: #0a0b0d; border-color: var(--accent); }
.button.ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.22); }

.hero-visual { display: grid; place-items: center; min-height: 520px; }
.orbital { width: min(38vw, 500px); aspect-ratio: 1; position: relative; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .15s linear; }
.orbital::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 38% 35%, rgba(184,255,61,.16), rgba(184,255,61,.03) 45%, transparent 70%); filter: blur(3px); }
.orbital-ring { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.ring-one { inset: 8%; }
.ring-two { inset: 20%; transform: rotateX(67deg) rotateZ(17deg); border-color: rgba(184,255,61,.25); }
.ring-three { inset: 4% 31%; transform: rotateY(68deg) rotateZ(28deg); }
.orbital-core { width: 43%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(184,255,61,.45); background: radial-gradient(circle at 35% 30%, #1c2220 0, #0e1110 55%, #070807 100%); box-shadow: 0 0 90px rgba(184,255,61,.08), inset 0 0 44px rgba(184,255,61,.05); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.orbital-core strong { font-size: clamp(1.65rem, 3.9vw, 3.9rem); letter-spacing: -.055em; line-height: 1; font-weight: 800; }
.satellite { position: absolute; padding: 6px 9px; border: 1px solid var(--line); background: rgba(9,10,13,.82); font-size: .64rem; letter-spacing: .14em; color: #c7cad2; }
.s1 { right: 4%; top: 29%; }
.s2 { left: 2%; bottom: 29%; }
.s3 { right: 16%; bottom: 8%; }

.scroll-cue { position: absolute; bottom: 28px; left: 0; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .62rem; letter-spacing: .18em; }
.scroll-cue i { display: block; width: 64px; height: 1px; background: var(--line); overflow: hidden; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scan 2.5s infinite ease-in-out; transform-origin: left; }
@keyframes scan { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin:left;} 51% { transform-origin:right;} 100% { transform: scaleX(0); transform-origin:right;} }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: ticker 24s linear infinite; }
.ticker span { font-size: .73rem; letter-spacing: .18em; font-weight: 700; color: #b9bbc3; }
.ticker b { color: var(--accent); font-size: .6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.about { padding: 140px 0; }
.section-kicker { color: var(--accent); font-size: .72rem; letter-spacing: .17em; font-weight: 700; margin-bottom: 38px; }
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.about h2, .section-heading h2, .contact h2 { margin: 0; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .95; letter-spacing: -.06em; font-weight: 700; }
.about h2 em { color: var(--accent); font-style: normal; }
.about-copy { padding-top: 8px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.65; }
.about-copy p { margin-top: 0; }
.muted { color: var(--muted); }

.work { padding: 40px 0 140px; }
.section-heading { display: grid; grid-template-columns: .45fr 1fr; gap: 40px; margin-bottom: 70px; }
.section-heading .section-kicker { margin-top: 10px; }
.section-heading h2 { max-width: 850px; }
.cards { border-top: 1px solid var(--line); }
.card { min-height: 220px; position: relative; padding: 38px 32px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .24fr .52fr 1fr; gap: 28px; align-items: start; transition: background .25s ease, transform .15s ease; transform-style: preserve-3d; }
.card:hover { background: rgba(255,255,255,.025); }
.card-number { color: var(--muted); font-size: .72rem; letter-spacing: .15em; padding-top: 8px; }
.card h3 { margin: 0; font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.card p { margin: 4px 0 0; max-width: 530px; color: #aaadb6; font-size: 1.02rem; }

.contact { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(4rem, 10vw, 9rem); }
.contact-mail { margin-top: 42px; font-size: clamp(1.35rem, 3vw, 2.7rem); border-bottom: 1px solid rgba(184,255,61,.45); padding-bottom: 7px; transition: color .2s ease, border-color .2s ease; }
.contact-mail span { color: var(--accent); }
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }
.contact-phone { margin-top: 17px; color: var(--muted); font-size: 1rem; }
.contact-phone:hover { color: var(--text); }

footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; min-height: 110px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .75rem; }
footer .brand { color: var(--text); }
footer > a:last-child:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .topbar { height: 72px; }
  nav { display: none; }
  .section { width: min(100% - 34px, var(--max)); }
  .hero { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(4.1rem, 18vw, 7.5rem); }
  .hero-visual { min-height: 400px; margin-top: -10px; }
  .orbital { width: min(88vw, 470px); }
  .scroll-cue { bottom: 24px; }
  .about { padding: 100px 0; }
  .about-grid, .section-heading { grid-template-columns: 1fr; gap: 34px; }
  .section-heading { margin-bottom: 50px; }
  .card { min-height: auto; grid-template-columns: 42px 1fr; padding: 28px 0; }
  .card h3 { grid-column: 2; }
  .card p { grid-column: 2; }
  .card-number { grid-row: 1 / span 2; }
  footer { width: calc(100% - 34px); }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { min-height: 330px; }
  .contact { min-height: 70vh; }
  footer { padding: 28px 0; flex-direction: column; gap: 18px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
