:root {
  --ink: #f3f6ff;
  --muted: #929cb5;
  --navy: #060815;
  --panel: #0d1021;
  --cyan: #21d4fd;
  --coral: #ff4d6d;
  --yellow: #ffd84d;
  --violet: #8b5cf6;
  --line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(124, 58, 237, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 38%, rgba(33, 212, 253, 0.07), transparent 29rem),
    var(--navy);
  font-family: Inter, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 12px 18px; color: #061019; background: var(--cyan); font-weight: 900; }
.skip-link:focus { top: 12px; }

.home-header {
  width: min(1440px, calc(100% - 80px));
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.wordmark-box {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #061019;
  background: linear-gradient(135deg, var(--cyan), #b9fff8);
  clip-path: polygon(9% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 0 27px rgba(33, 212, 253, 0.22);
  font: 950 13px/1 monospace;
  letter-spacing: -0.08em;
}
.wordmark > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.wordmark strong { font-size: 12px; letter-spacing: 0.12em; }
.wordmark small { color: #727d98; font: 700 7px/1 monospace; letter-spacing: 0.2em; }
.home-header nav { display: flex; gap: 42px; }
.home-header nav a { position: relative; color: #aeb7cd; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.home-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--cyan); transition: right .2s ease; }
.home-header nav a:hover, .home-header nav a:focus-visible { color: white; }
.home-header nav a:hover::after, .home-header nav a:focus-visible::after { right: 0; }
.nav-project { justify-self: end; padding: 11px 15px; color: #cbd3e6; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.nav-project span { margin-left: 9px; color: var(--cyan); }
.nav-project:hover, .nav-project:focus-visible { color: white; border-color: rgba(33,212,253,.5); }

.home-hero {
  position: relative;
  width: min(1440px, calc(100% - 80px));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: 78px 4vw 100px;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(390px, .72fr);
  align-items: center;
  gap: 90px;
}
.home-hero::before { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 0; height: 1px; background: var(--line); }
.home-hero::after { content: ""; position: absolute; right: -13%; top: 13%; width: 560px; height: 560px; border: 1px solid rgba(33,212,253,.06); border-radius: 50%; box-shadow: 0 0 0 55px rgba(139,92,246,.025), 0 0 0 110px rgba(255,77,109,.018); pointer-events: none; }
.coordinate { position: absolute; color: #3f4961; font: 700 7px/1 monospace; letter-spacing: .18em; writing-mode: vertical-rl; }
.coordinate-left { left: -3px; bottom: 30px; }
.coordinate-right { right: -3px; top: 35px; }
.home-hero-copy { position: relative; z-index: 2; }
.section-label { margin: 0 0 22px; color: var(--cyan); font: 800 9px/1 monospace; letter-spacing: .24em; }
.section-label span { display: inline-block; width: 34px; height: 2px; margin: 0 11px 3px 0; background: var(--cyan); box-shadow: 0 0 10px rgba(33,212,253,.75); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 27px; font-size: clamp(59px, 6.4vw, 96px); line-height: 1.01; letter-spacing: -.075em; font-weight: 950; }
h1 em { color: transparent; background: linear-gradient(96deg, var(--coral), #ff9a69 75%); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.home-lede { max-width: 600px; margin-bottom: 32px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.home-actions { display: flex; align-items: center; gap: 27px; }
.primary-link {
  width: min(100%, 330px);
  min-height: 72px;
  padding: 14px 18px 14px 23px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #061019;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 7px;
  background: linear-gradient(105deg, var(--cyan), #8effee);
  box-shadow: 0 18px 44px rgba(33,212,253,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-link:hover, .primary-link:focus-visible { transform: translateY(-3px); box-shadow: 0 23px 50px rgba(33,212,253,.36); }
.primary-link > span { display: flex; flex-direction: column; gap: 5px; }
.primary-link strong { font-size: 15px; font-weight: 950; }
.primary-link small { font: 700 8px/1 monospace; letter-spacing: .09em; opacity: .62; }
.primary-link b { font-size: 20px; }
.quiet-link { padding: 12px 0; color: #aeb8d0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 10px; font-weight: 800; }
.quiet-link span { margin-left: 8px; color: var(--coral); }

.signal-panel { position: relative; z-index: 2; width: min(100%, 480px); aspect-ratio: 1 / 1.05; justify-self: end; display: flex; flex-direction: column; border: 1px solid rgba(125,143,189,.2); border-radius: 16px; background: linear-gradient(145deg, rgba(19,23,47,.72), rgba(8,10,23,.88)); box-shadow: 0 40px 95px rgba(0,0,0,.38), inset 0 0 0 7px rgba(255,255,255,.012); overflow: hidden; }
.signal-panel::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(33,212,253,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(33,212,253,.13) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle, black, transparent 72%); }
.signal-top, .signal-bottom { position: relative; z-index: 2; min-height: 58px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: #69748f; border-bottom: 1px solid rgba(255,255,255,.07); font: 700 8px/1 monospace; letter-spacing: .14em; }
.signal-top i, .edge-status i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #45ef9a; box-shadow: 0 0 10px #45ef9a; }
.signal-core { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; }
.signal-core::before, .signal-core::after { content: ""; position: absolute; width: 2px; height: 70%; background: linear-gradient(transparent, rgba(33,212,253,.5), transparent); }
.signal-core::after { width: 70%; height: 2px; }
.signal-core strong { position: relative; z-index: 3; width: 106px; height: 106px; display: grid; place-items: center; color: #061019; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), #8effee); box-shadow: 0 0 45px rgba(33,212,253,.34); font: 950 31px/1 monospace; letter-spacing: -.1em; }
.core-ring { position: absolute; border: 1px solid rgba(33,212,253,.29); border-radius: 50%; }
.ring-one { width: 170px; height: 170px; }
.ring-two { width: 245px; height: 245px; border-style: dashed; border-color: rgba(255,77,109,.24); transform: rotate(18deg); }
.ring-three { width: 330px; height: 330px; border-color: rgba(139,92,246,.16); }
.signal-bottom { min-height: 64px; justify-content: center; gap: 15px; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 0; }
.signal-bottom i { width: 3px; height: 3px; border-radius: 50%; background: var(--coral); }

.page-shell { width: min(1240px, calc(100% - 80px)); margin: 0 auto; padding: 125px 0; }
.section-intro { margin-bottom: 55px; display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 60px; }
.section-intro h2, .about-heading h2, .home-footer-cta h2 { margin-bottom: 0; font-size: clamp(43px, 5vw, 68px); line-height: 1.08; letter-spacing: -.06em; }
.section-intro > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.featured-project { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 535px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(11,14,29,.8); box-shadow: 0 35px 80px rgba(0,0,0,.3); }
.project-image { position: relative; min-height: 460px; overflow: hidden; }
.project-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% center; transition: transform .55s ease; }
.project-image:hover img, .project-image:focus-visible img { transform: scale(1.025); }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, rgba(8,10,23,.65)); pointer-events: none; }
.image-grid { position: absolute; inset: 0; opacity: .09; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.13) 4px); pointer-events: none; }
.project-state { position: absolute; z-index: 2; left: 20px; top: 20px; padding: 10px 12px; color: #b7c1d7; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; background: rgba(5,8,18,.76); backdrop-filter: blur(8px); font: 700 8px/1 monospace; letter-spacing: .12em; }
.project-state i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #45ef9a; box-shadow: 0 0 8px #45ef9a; }
.project-copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.project-meta { margin-bottom: 37px; display: flex; justify-content: space-between; color: #626d87; font: 700 8px/1 monospace; letter-spacing: .12em; }
.project-kicker { margin-bottom: 8px; color: var(--coral); font: 800 9px/1 monospace; letter-spacing: .18em; }
.project-copy h3 { margin-bottom: 18px; font-size: 40px; letter-spacing: -.05em; }
.project-copy > p:not(.project-kicker) { margin-bottom: 25px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.project-copy dl { margin: 0 0 27px; display: flex; gap: 26px; }
.project-copy dl div { padding-left: 10px; border-left: 2px solid rgba(255,255,255,.12); }
.project-copy dt { font: 900 20px/1 monospace; }
.project-copy dd { margin: 6px 0 0; color: #69748e; font-size: 8px; font-weight: 800; }
.game-intro-button {
  width: 100%;
  min-height: 72px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  color: #061019;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 7px;
  background: linear-gradient(105deg, var(--cyan), #8affee);
  box-shadow: 0 15px 38px rgba(33,212,253,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.game-intro-button:hover, .game-intro-button:focus-visible { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(33,212,253,.34); }
.button-icon { width: 42px; height: 42px; display: grid; place-items: center; color: white; border-radius: 50%; background: #071019; font-weight: 950; font-style: italic; }
.game-intro-button > span:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.game-intro-button strong { font-size: 14px; font-weight: 950; }
.game-intro-button small { font: 700 8px/1 monospace; letter-spacing: .06em; opacity: .65; }
.game-intro-button b { font-size: 19px; }
.next-projects { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.next-projects > div { min-height: 112px; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; column-gap: 20px; align-items: center; border: 1px dashed rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.018); }
.next-projects span { grid-row: 1 / 3; color: #434d64; font: 900 19px/1 monospace; }
.next-projects strong { align-self: end; color: #8f99b1; font-size: 12px; }
.next-projects small { align-self: start; margin-top: 6px; color: #505a72; font-size: 9px; }

.about-section { display: grid; grid-template-columns: .86fr 1fr; gap: 105px; border-top: 1px solid var(--line); }
.about-copy { padding-left: 40px; border-left: 1px solid var(--line); }
.about-copy > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-copy .about-lead { color: #e7edfb; font-size: 20px; font-weight: 800; line-height: 1.55; }
.principles { margin-top: 34px; display: grid; gap: 12px; }
.principles > div { min-height: 76px; padding: 14px 17px; display: grid; grid-template-columns: 39px 1fr; grid-template-rows: 1fr 1fr; align-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; background: rgba(255,255,255,.02); }
.principles span { grid-row: 1 / 3; color: var(--cyan); font: 900 11px/1 monospace; }
.principles strong { align-self: end; font-size: 12px; }
.principles small { align-self: start; margin-top: 5px; color: #68728a; font-size: 9px; }

.home-footer-cta { position: relative; min-height: 520px; padding: 105px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.home-footer-cta::before { content: ""; position: absolute; width: 540px; height: 340px; border: 1px solid rgba(33,212,253,.1); border-radius: 50%; box-shadow: 0 0 0 45px rgba(139,92,246,.025), 0 0 0 90px rgba(255,77,109,.018); transform: rotate(-8deg); }
.home-footer-cta > * { position: relative; z-index: 2; }
.home-footer-cta > p:not(.section-label) { margin: 23px 0 30px; color: var(--muted); font-size: 12px; }
.cta-button { width: min(100%, 355px); text-align: left; }
.home-footer { width: min(1440px, calc(100% - 80px)); min-height: 110px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #5d6780; font: 700 8px/1 monospace; letter-spacing: .13em; }
.footer-wordmark { transform: scale(.87); transform-origin: left center; }
.edge-status { justify-self: end; }
.edge-status i { background: #f48120; box-shadow: 0 0 10px #f48120; }

@media (max-width: 1080px) {
  .home-header, .home-hero, .page-shell, .home-footer { width: min(100% - 48px, 1000px); }
  .home-header { grid-template-columns: 1fr auto; }
  .home-header nav { display: none; }
  .home-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; }
  .home-hero-copy { max-width: 700px; }
  .signal-panel { width: min(560px, 80%); justify-self: center; }
  .coordinate { display: none; }
  .section-intro { grid-template-columns: 1fr 330px; }
  .featured-project { grid-template-columns: 1fr; }
  .project-image { min-height: 440px; }
  .project-image::after { display: none; }
}

@media (max-width: 720px) {
  .home-header, .home-hero, .page-shell, .home-footer { width: calc(100% - 28px); }
  .home-header { height: 74px; }
  .wordmark-box { width: 35px; height: 35px; font-size: 10px; }
  .wordmark strong { font-size: 9px; }
  .wordmark small { font-size: 6px; }
  .nav-project { padding: 10px 11px; font-size: 8px; }
  .home-hero { min-height: calc(100svh - 74px); padding: 62px 0 70px; gap: 65px; }
  h1 { font-size: clamp(51px, 16vw, 72px); }
  .home-lede { font-size: 13px; line-height: 1.75; }
  .home-actions { display: block; }
  .primary-link { width: 100%; }
  .quiet-link { display: inline-block; margin-top: 18px; }
  .signal-panel { width: 100%; }
  .signal-core strong { width: 86px; height: 86px; font-size: 26px; }
  .ring-one { width: 145px; height: 145px; }
  .ring-two { width: 205px; height: 205px; }
  .ring-three { width: 270px; height: 270px; }
  .page-shell { padding: 87px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 28px; }
  .section-intro h2, .about-heading h2, .home-footer-cta h2 { font-size: 43px; }
  .project-image { min-height: 280px; }
  .project-copy { padding: 28px 21px; }
  .project-meta { margin-bottom: 28px; }
  .project-copy h3 { font-size: 34px; }
  .next-projects { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 43px; }
  .about-copy { padding-left: 24px; }
  .home-footer-cta { min-height: 490px; }
  .home-footer { min-height: 140px; padding: 24px 0; grid-template-columns: 1fr auto; }
  .home-footer > p:not(.edge-status) { display: none; }
  .edge-status { font-size: 6px; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
