:root {
  --ink: #071311;
  --ink-soft: #10201d;
  --paper: #f1eee4;
  --paper-dim: #d7d5ca;
  --acid: #9fffcf;
  --acid-strong: #61f5b0;
  --line-dark: rgba(7, 19, 17, 0.16);
  --line-light: rgba(241, 238, 228, 0.18);
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Liberation Mono", monospace;
  --pad: clamp(22px, 5vw, 76px);
  --type-hero: clamp(52px, 6vw, 92px);
  --type-section: clamp(34px, 4vw, 58px);
  --type-feature: clamp(24px, 2vw, 30px);
  --type-contact: clamp(38px, 5vw, 70px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--acid);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  transition: background 250ms ease, height 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(7, 19, 17, 0.9);
  backdrop-filter: blur(18px);
  border-color: rgba(241, 238, 228, 0.12);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: 0.14em; }
.brand svg { width: 30px; height: 30px; }
.brand svg path:first-child { fill: none; stroke: currentColor; stroke-width: 1.4; }
.brand svg path:last-child { fill: none; stroke: currentColor; stroke-width: 1.6; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 52px); font-size: 13px; }
.site-nav > a:not(.nav-cta) { position: relative; opacity: 0.74; transition: opacity 180ms ease; }
.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}
.site-nav > a:hover { opacity: 1; }
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid rgba(241, 238, 228, 0.5); padding: 10px 17px; transition: 180ms ease; }
.nav-cta:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(145px, 19vh, 210px) var(--pad) 72px;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 79% 45%, rgba(97, 245, 176, 0.09), transparent 30%),
    linear-gradient(115deg, transparent 64%, rgba(159, 255, 207, 0.04));
}
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(241, 238, 228, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 238, 228, 0.055) 1px, transparent 1px);
  background-size: 7.5vw 7.5vw;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 920px; }
.eyebrow, .section-mark, .hero-index, .capability-number, .contact-meta {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  font-size: 10px;
}
.eyebrow { margin: 0 0 29px; color: var(--acid); }
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: var(--type-hero);
  font-weight: 550;
  letter-spacing: -0.058em;
  line-height: 0.94;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(241, 238, 228, 0.7); }
.hero-intro {
  max-width: 505px;
  margin: 42px 0 0;
  color: rgba(241, 238, 228, 0.67);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.9;
}
.hero-actions { display: flex; align-items: center; gap: 38px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button svg { width: 18px; height: 18px; }
.button svg path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--acid); }
.button-primary:hover { background: var(--paper); }
.text-link { padding: 10px 0; color: rgba(241, 238, 228, 0.72); font-size: 13px; border-bottom: 1px solid rgba(241, 238, 228, 0.32); }
.text-link span { margin-left: 8px; color: var(--acid); }
.hero-index {
  position: absolute;
  right: var(--pad);
  bottom: 42px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 25px;
  color: rgba(241, 238, 228, 0.4);
}
.hero-index b { grid-column: 1 / -1; color: var(--acid); font-weight: 500; }
.hero-orbit { position: absolute; width: min(48vw, 680px); aspect-ratio: 1; right: -1vw; top: 16%; z-index: 0; }
.orbit { position: absolute; inset: 12%; border: 1px solid rgba(159, 255, 207, 0.18); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 16%; border: inherit; border-radius: inherit; }
.orbit::after { inset: 34%; }
.orbit-a { animation: rotate 28s linear infinite; }
.orbit-b { inset: 5%; border-style: dashed; transform: scaleY(0.5) rotate(22deg); animation: counter-rotate 22s linear infinite; }
.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 94px;
  height: 94px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(159, 255, 207, 0.4);
  background: rgba(7, 19, 17, 0.72);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 0 80px rgba(97, 245, 176, 0.18);
}
.core span { font-size: 30px; font-weight: 500; letter-spacing: -0.08em; }
.core small { margin-top: 5px; color: var(--acid); font: 8px var(--mono); letter-spacing: 0.12em; }
.node { position: absolute; width: 8px; height: 8px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 20px var(--acid); }
.node-a { left: 18%; top: 33%; animation: blink 2.4s ease-in-out infinite; }
.node-b { right: 13%; top: 55%; animation: blink 2.4s 0.7s ease-in-out infinite; }
.node-c { left: 47%; bottom: 8%; animation: blink 2.4s 1.2s ease-in-out infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes counter-rotate { to { transform: scaleY(0.5) rotate(-338deg); } }
@keyframes blink { 50% { opacity: 0.2; transform: scale(0.6); } }

.section-mark { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.section-mark span { color: #4a605a; }
.statement { position: relative; padding: 118px var(--pad) 130px; display: grid; grid-template-columns: 1fr 3fr; gap: 4vw; }
.statement-copy { max-width: 920px; }
.kicker { margin: 0 0 16px; font-size: 15px; color: #58645f; }
.statement h2 {
  margin: 0;
  font-size: var(--type-section);
  line-height: 1.18;
  letter-spacing: -0.055em;
  font-weight: 520;
}
.statement h2 span { color: #42755e; }
.signal-line { position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--line-dark); }
.signal-line span { position: absolute; top: -2px; left: 26%; width: 52px; height: 5px; background: var(--ink); }

.capabilities { padding: 118px var(--pad) 120px; }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 7vw; align-items: end; margin-bottom: 75px; }
.section-head h2, .method-main > h2, .about-copy h2 {
  margin: 19px 0 0;
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 1.08;
  font-size: var(--type-section);
}
.section-head > p { max-width: 500px; margin: 0; color: #56615d; line-height: 1.9; }
.capability-list { border-top: 1px solid var(--line-dark); }
.capability {
  position: relative;
  display: grid;
  grid-template-columns: 0.55fr 0.7fr 2fr;
  gap: 3vw;
  padding: 50px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 220ms ease;
}
.capability::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -0.22); z-index: -1; background: rgba(159, 255, 207, 0.13); transform: scaleY(0); transform-origin: bottom; transition: transform 260ms ease; }
.capability:hover::before { transform: scaleY(1); }
.capability:hover { padding-left: 12px; padding-right: 12px; }
.capability-number { padding-top: 8px; color: #65716d; }
.capability-icon svg { width: 82px; height: 82px; }
.capability-icon path, .capability-icon circle { fill: none; stroke: #3e6c59; stroke-width: 1.2; }
.capability-copy { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 3.5vw; }
.capability-copy h3 { margin: 0; font-size: var(--type-feature); font-weight: 560; letter-spacing: -0.035em; }
.capability-copy p { margin: 3px 0 22px; color: #56615d; line-height: 1.8; }
.capability-copy ul { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.capability-copy li { padding: 8px 12px; border: 1px solid var(--line-dark); font: 10px var(--mono); letter-spacing: 0.06em; }

.method { padding: 125px var(--pad); color: var(--paper); background: var(--ink-soft); display: grid; grid-template-columns: 0.75fr 2fr; gap: 8vw; }
.method-aside { display: flex; flex-direction: column; justify-content: space-between; }
.method-aside .section-mark span { color: var(--acid); }
.method-aside p { max-width: 300px; margin: 200px 0 0; color: rgba(241, 238, 228, 0.52); font-size: 14px; line-height: 1.8; }
.method-main > h2 { margin-top: 0; }
.steps { margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.steps li { display: grid; grid-template-columns: 75px 1fr; padding: 31px 0; border-bottom: 1px solid var(--line-light); }
.steps > li > span { padding-top: 5px; color: var(--acid); font: 10px var(--mono); }
.steps div { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 3vw; }
.steps h3 { margin: 0; font-size: 24px; font-weight: 540; }
.steps p { max-width: 450px; margin: 0; color: rgba(241, 238, 228, 0.53); line-height: 1.8; }

.about { min-height: 760px; display: grid; grid-template-columns: 1.02fr 0.98fr; }
.about-visual { position: relative; min-height: 700px; color: var(--acid); background: #0b1715; display: grid; place-items: center; overflow: hidden; }
.about-visual::before { content: ""; position: absolute; inset: 0; opacity: 0.2; background-image: linear-gradient(rgba(159, 255, 207, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 255, 207, 0.1) 1px, transparent 1px); background-size: 48px 48px; }
.about-visual svg { position: relative; z-index: 2; width: min(72%, 530px); }
.about-visual svg circle, .about-visual svg path { fill: none; stroke: rgba(159, 255, 207, 0.26); stroke-width: 0.8; }
.about-visual svg .pulse { stroke: var(--acid); stroke-width: 1.4; filter: drop-shadow(0 0 4px var(--acid)); }
.about-visual strong { position: absolute; z-index: 3; font-size: clamp(58px, 8vw, 118px); letter-spacing: -0.08em; font-weight: 500; }
.scanner { position: absolute; z-index: 4; left: 0; right: 0; height: 1px; top: 20%; background: var(--acid); box-shadow: 0 0 18px var(--acid); animation: scan 5s ease-in-out infinite; }
.scan-label { position: absolute; z-index: 4; font: 9px var(--mono); letter-spacing: 0.12em; }
.scan-a { top: 28px; left: 28px; }
.scan-b { right: 28px; bottom: 28px; }
@keyframes scan { 0%, 100% { top: 15%; opacity: 0; } 15%, 85% { opacity: 0.9; } 50% { top: 85%; } }
.about-copy { padding: 110px var(--pad); align-self: center; }
.about-copy > p { max-width: 590px; margin: 38px 0 45px; color: #56615d; line-height: 2; }
.principles { border-top: 1px solid var(--line-dark); }
.principles div { display: grid; grid-template-columns: 55px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.principles b { color: #4e7a67; font: 10px var(--mono); }
.principles span { font-size: 14px; }

.contact { position: relative; padding: 110px var(--pad) 60px; color: var(--ink); background: var(--acid); overflow: hidden; }
.contact-noise { position: absolute; inset: 0; opacity: 0.15; background-image: radial-gradient(var(--ink) 0.7px, transparent 0.7px); background-size: 7px 7px; mask-image: linear-gradient(90deg, transparent, #000); }
.contact > *:not(.contact-noise) { position: relative; z-index: 1; }
.contact .section-mark span { color: #2e7458; }
.contact h2 { margin: 55px 0 45px; font-size: var(--type-contact); line-height: 1.12; letter-spacing: -0.055em; font-weight: 530; }
.contact h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(7, 19, 17, 0.72); }
.button-light { background: var(--ink); color: var(--paper); }
.button-light:hover { background: var(--paper); color: var(--ink); }
.contact-meta { margin-top: 90px; padding-top: 22px; border-top: 1px solid rgba(7, 19, 17, 0.25); display: flex; justify-content: space-between; }

.site-footer { min-height: 110px; padding: 30px var(--pad); color: rgba(241, 238, 228, 0.62); background: var(--ink); display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; font-size: 12px; }
.brand-footer { color: var(--paper); }
.site-footer p { text-align: center; }
.icp { justify-self: end; transition: color 180ms ease; }
.icp:hover { color: var(--acid); }

.reveal { opacity: 1; transform: translateY(0); transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-pending { opacity: 0; transform: translateY(22px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-orbit { opacity: 0.58; right: -20%; top: 21%; width: 70vw; }
  .statement { grid-template-columns: 1fr; gap: 42px; }
  .section-head { grid-template-columns: 1fr; }
  .capability { grid-template-columns: 0.4fr 0.5fr 2.2fr; }
  .capability-copy { grid-template-columns: 1fr; }
  .capability-copy ul { grid-column: 1; }
  .method { grid-template-columns: 1fr; }
  .method-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .method-aside p { margin: 0; }
  .about { grid-template-columns: 1fr; }
  .about-visual { min-height: 560px; }
}

@media (max-width: 720px) {
  :root {
    --type-hero: clamp(44px, 13.2vw, 56px);
    --type-section: clamp(30px, 9vw, 38px);
    --type-feature: clamp(22px, 6.4vw, 27px);
    --type-contact: clamp(34px, 10vw, 46px);
  }
  .site-header { height: 66px; }
  .nav-toggle { position: relative; z-index: 60; display: grid; gap: 6px; width: 42px; height: 42px; padding: 13px 9px; border: 0; background: none; }
  .nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; padding: 110px var(--pad) 50px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--ink); transform: translateX(100%); transition: transform 260ms ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav > a { padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 23px; }
  .site-nav .nav-cta { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--acid); font-size: 15px; text-align: center; }
  .hero { min-height: 800px; padding-top: 145px; }
  .hero h1 { line-height: 0.98; }
  .hero-intro { max-width: 320px; margin-top: 30px; font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-index { right: auto; left: var(--pad); bottom: 25px; }
  .hero-orbit { width: 100vw; top: 31%; right: -46%; opacity: 0.42; }
  .hero-grid { background-size: 56px 56px; }
  .statement, .capabilities, .method { padding-top: 82px; padding-bottom: 82px; }
  .statement { gap: 35px; }
  .section-head { margin-bottom: 48px; }
  .capability { grid-template-columns: 1fr auto; padding: 34px 0; gap: 22px; }
  .capability-number { grid-column: 1; }
  .capability-icon { grid-column: 2; grid-row: 1; }
  .capability-icon svg { width: 58px; height: 58px; }
  .capability-copy { grid-column: 1 / -1; }
  .method-aside { grid-template-columns: 1fr; }
  .steps { margin-top: 45px; }
  .steps li { grid-template-columns: 45px 1fr; }
  .steps div { grid-template-columns: 1fr; gap: 10px; }
  .about-visual { min-height: 440px; }
  .about-copy { padding-top: 82px; padding-bottom: 82px; }
  .contact { padding-top: 82px; }
  .contact h2 { margin-top: 42px; }
  .contact-meta { margin-top: 68px; display: grid; gap: 10px; }
  .site-footer { padding-top: 38px; padding-bottom: 38px; grid-template-columns: 1fr; justify-items: start; }
  .site-footer p { text-align: left; }
  .icp { justify-self: start; }
}

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