:root {
  --bg: #090c0e;
  --panel: #101417;
  --text: #f2f4ed;
  --muted: #8f9894;
  --line: rgba(242, 244, 237, .14);
  --accent: #b7ff54;
  --accent-dark: #0b1305;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #0a0d10; }

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(183,255,84,.09), rgba(183,255,84,0) 68%);
}

.site-header {
  position: fixed; inset: 0 0 auto 0; height: 78px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 clamp(20px, 3.2vw, 52px); border-bottom: 1px solid transparent;
  z-index: 30; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(9,12,14,.78); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: -.03em; font-size: 18px; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-dark); font-weight: 850; }
.nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav a, .contact-link { transition: color .2s ease; }
.nav a:hover, .contact-link:hover { color: var(--accent); }
.contact-link { justify-self: end; font-size: 13px; }
.menu-btn { display: none; border: 0; color: var(--text); background: none; justify-self: end; }

.section-pad { padding-left: clamp(20px, 5vw, 76px); padding-right: clamp(20px, 5vw, 76px); max-width: var(--max); margin: 0 auto; }
.bordered { border-top: 1px solid var(--line); }
.hero { position: relative; min-height: 100svh; padding-top: 120px; padding-bottom: 46px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero-grid { position: absolute; inset: 78px 0 0; opacity: .17; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 7.1428% 100%, 100% 12.5%; mask-image: linear-gradient(to bottom, black, transparent 92%); }
.eyebrow, .section-kicker { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.hero-title { position: relative; z-index: 1; margin: 16px 0 20px; display: flex; flex-direction: column; font-size: clamp(96px, 18.2vw, 290px); line-height: .72; letter-spacing: -.085em; font-weight: 800; }
.hero-title span { display: block; }
.hero-title span:nth-child(2) { margin-left: 16.5vw; color: transparent; -webkit-text-stroke: 1px rgba(242,244,237,.55); }
.tech-line { align-self: flex-end; margin-right: 2vw; }
.dot { color: var(--accent); -webkit-text-stroke: 0; }
.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hero-copy { max-width: 560px; margin: 0; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.55; letter-spacing: -.02em; color: #c8ceca; }
.hero-copy strong { color: var(--accent); font-weight: 650; }
.round-cta { width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 10px; letter-spacing: .12em; transition: all .25s ease; background: rgba(255,255,255,.015); }
.round-cta .arrow { font-size: 20px; }
.round-cta:hover { background: var(--accent); color: var(--accent-dark); transform: rotate(-5deg); border-color: var(--accent); }
.signal { position: absolute; top: 108px; right: 5vw; display: flex; align-items: end; gap: 3px; height: 18px; }
.signal span { width: 3px; background: var(--accent); animation: pulse 1.3s ease-in-out infinite; }
.signal span:nth-child(1){height:6px}.signal span:nth-child(2){height:13px;animation-delay:.1s}.signal span:nth-child(3){height:18px;animation-delay:.2s}.signal span:nth-child(4){height:10px;animation-delay:.3s}.signal span:nth-child(5){height:15px;animation-delay:.4s}
@keyframes pulse { 50% { opacity: .3; transform: scaleY(.55); } }

.manifesto, .services, .process, .work, .cta { padding-top: 36px; padding-bottom: 120px; }
.manifesto-layout, .section-head, .process-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(34px, 8vw, 140px); margin-top: 86px; }
.manifesto h2, .section-head h2, .process-intro h2 { margin: 0; font-size: clamp(48px, 7vw, 108px); line-height: .96; letter-spacing: -.065em; font-weight: 650; }
.manifesto-copy { align-self: end; }
.manifesto-copy p, .section-head p, .process-intro p { margin: 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.65; color: #c2c8c4; }
.manifesto-copy .muted { margin-top: 28px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.statement { margin-top: 110px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: baseline; font-size: clamp(33px, 5.7vw, 88px); line-height: .9; letter-spacing: -.06em; font-weight: 700; }
.statement .plus, .statement .equals { color: var(--muted); font-weight: 300; }
.statement .accent { color: var(--accent); }

.section-head { margin-top: 68px; align-items: end; }
.section-head p { justify-self: end; }
.service-list { margin-top: 86px; border-top: 1px solid var(--line); }
.service-card { min-height: 190px; display: grid; grid-template-columns: 90px .8fr 1.2fr auto; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease; }
.service-card:hover { background: rgba(183,255,84,.035); padding-left: 18px; padding-right: 18px; }
.service-index { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.service-card h3 { margin: 0; font-size: clamp(34px, 4vw, 64px); letter-spacing: -.055em; font-weight: 580; }
.service-card p { margin: 0; color: #adb5b0; line-height: 1.6; max-width: 470px; }
.service-tag { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-size: 10px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }

.process-intro { margin-top: 76px; }
.process-intro p { justify-self: end; align-self: end; }
.steps { list-style: none; padding: 0; margin: 96px 0 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 120px 1fr 1fr; align-items: center; min-height: 145px; border-bottom: 1px solid var(--line); }
.steps span { color: var(--accent); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps strong { font-size: clamp(34px, 4vw, 62px); letter-spacing: -.055em; font-weight: 560; }
.steps em { justify-self: end; font-style: normal; color: var(--muted); }

.work-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.project { display: block; }
.project-a { grid-column: span 7; }
.project-b { grid-column: 8 / -1; margin-top: 180px; }
.project-c { grid-column: 3 / span 8; margin-top: 80px; }
.project-meta { display: flex; justify-content: space-between; margin-bottom: 13px; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--muted); }
.project-visual { aspect-ratio: 16/10; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.project h3 { margin: 20px 0 7px; font-size: clamp(26px, 3vw, 43px); line-height: 1.05; letter-spacing: -.045em; font-weight: 560; }
.project p { margin: 0; color: var(--muted); font-size: 13px; }
.project:hover .project-visual { border-color: rgba(183,255,84,.55); }
.visual-ai { background: radial-gradient(circle at 50% 50%, #1a2515, #0a0d0c 65%); display: grid; place-items: center; }
.orb { position: absolute; border: 1px solid rgba(183,255,84,.35); border-radius: 50%; }
.orb-1 { width: 68%; aspect-ratio: 1; }
.orb-2 { width: 45%; aspect-ratio: 1; }
.orb-3 { width: 22%; aspect-ratio: 1; background: rgba(183,255,84,.09); box-shadow: 0 0 80px rgba(183,255,84,.18); }
.ai-word { position: relative; z-index: 2; font-size: clamp(44px, 7vw, 105px); letter-spacing: -.07em; font-weight: 750; }
.visual-brand { background: var(--accent); display: grid; place-items: center; }
.brand-poster { color: #0a0d0c; font-weight: 900; font-size: clamp(42px, 7vw, 96px); line-height: .75; letter-spacing: -.08em; transform: rotate(-6deg); }
.visual-system { background: #0d1215; }
.system-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(242,244,237,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(242,244,237,.12) 1px, transparent 1px); background-size: 9% 14%; transform: perspective(600px) rotateX(62deg) scale(1.4); transform-origin: center bottom; }
.system-label { position: absolute; left: 6%; bottom: 8%; font: 700 clamp(27px, 5vw, 74px) ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); letter-spacing: -.06em; }

.cta { padding-top: 110px; padding-bottom: 110px; }
.cta-inner p { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.cta-inner a { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: clamp(48px, 8.5vw, 132px); line-height: .9; letter-spacing: -.07em; font-weight: 700; transition: color .25s ease; }
.cta-inner a:hover { color: var(--accent); }

.footer { padding-top: 52px; padding-bottom: 38px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: center; border-top: 1px solid var(--line); }
.footer p { margin: 0; justify-self: center; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 22px; justify-self: end; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.copyright { grid-column: 1 / -1; padding-top: 38px; margin-top: 20px; border-top: 1px solid var(--line); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; color: #59615d; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2,.75,.2,1), transform .75s cubic-bezier(.2,.75,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav, .contact-link { display: none; }
  .menu-btn { display: block; }
  .site-header.open { height: auto; min-height: 100svh; align-content: start; padding-top: 24px; background: rgba(9,12,14,.98); }
  .site-header.open .nav { display: flex; position: absolute; left: 20px; top: 120px; flex-direction: column; gap: 20px; font-size: 12vw; color: var(--text); letter-spacing: -.06em; }
  .site-header.open .contact-link { display: block; position: absolute; left: 20px; bottom: 40px; color: var(--accent); font-size: 16px; }
  .hero { min-height: 900px; }
  .hero-title { font-size: clamp(88px, 25vw, 180px); line-height: .78; margin-top: 72px; }
  .hero-title span:nth-child(2) { margin-left: 6vw; }
  .tech-line { align-self: flex-start; margin-right: 0; }
  .hero-bottom { align-items: end; }
  .round-cta { width: 86px; height: 86px; flex: 0 0 auto; }
  .manifesto-layout, .section-head, .process-intro { grid-template-columns: 1fr; gap: 45px; }
  .section-head p, .process-intro p { justify-self: start; }
  .service-card { grid-template-columns: 48px 1fr; gap: 12px 18px; padding: 30px 0; }
  .service-card p, .service-tag { grid-column: 2; }
  .service-card:hover { padding-left: 10px; padding-right: 10px; }
  .steps li { grid-template-columns: 52px 1fr; padding: 28px 0; }
  .steps em { grid-column: 2; justify-self: start; margin-top: 8px; }
  .work-grid { display: block; }
  .project { margin: 0 0 74px; }
  .project-c { margin-left: 7vw; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 760px; padding-top: 104px; }
  .hero-title { font-size: 25vw; margin-top: 90px; }
  .hero-copy { font-size: 16px; }
  .round-cta { width: 72px; height: 72px; font-size: 8px; }
  .manifesto, .services, .process, .work, .cta { padding-bottom: 86px; }
  .manifesto-layout, .section-head, .process-intro { margin-top: 58px; }
  .manifesto h2, .section-head h2, .process-intro h2 { font-size: 13vw; }
  .statement { margin-top: 70px; }
  .service-list, .steps, .work-grid { margin-top: 60px; }
  .service-card h3, .steps strong { font-size: 10vw; }
  .service-card { grid-template-columns: 38px 1fr; }
  .project-c { margin-left: 0; }
  .cta { padding-top: 80px; padding-bottom: 80px; }
  .footer { display: block; }
  .footer-links { margin-top: 28px; justify-content: space-between; }
}

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