:root {
  --bg: #07080a;
  --bg-soft: #0c0e11;
  --text: #f0eee9;
  --muted: #8c8d8b;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #a6ffcb;
  --accent-blue: #8eaeff;
  --content: min(1180px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 10%, rgba(82, 105, 99, 0.12), transparent 24rem),
    var(--bg);
  font-family: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

::selection {
  color: #07100b;
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  pointer-events: none;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

#wind-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  width: var(--content);
  height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transform: translateX(-50%);
  transition: height 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  height: 70px;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #08110c;
  background: var(--accent);
  border-radius: 50%;
  font-family: "STSong", "SimSun", serif;
  font-size: 16px;
  transform: rotate(-8deg);
}

.brand-name {
  font-size: 14px;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  gap: 42px;
  font-size: 13px;
  color: #b9bab7;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.availability {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: #c9cac7;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(166, 255, 203, 0.08);
  animation: pulse 2.6s ease-in-out infinite;
}

main,
.site-header {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
}

.hero {
  position: relative;
  min-height: 100svh;
  width: var(--content);
  margin: 0 auto;
  padding: 142px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.kicker-line {
  width: 42px;
  height: 1px;
  background: #454746;
}

.hero-title-wrap {
  margin: auto 0;
  padding: 3vh 0;
}

.hero-eyebrow {
  margin: 0 0 4px 8px;
  color: #a3a4a1;
  font-size: clamp(14px, 1.1vw, 18px);
  letter-spacing: 0.46em;
}

.hero-title {
  position: relative;
  margin: 0;
  font-family: "STSong", "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(98px, 14.1vw, 210px);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.08em;
}

.title-row {
  display: flex;
  gap: 0.02em;
  overflow: hidden;
}

.title-row i {
  font-style: normal;
  display: inline-block;
  text-shadow: 0 14px 60px rgba(255, 255, 255, 0.06);
}

.title-row-offset {
  margin-left: 27%;
  margin-top: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 238, 233, 0.82);
}

.title-row-offset em {
  align-self: flex-end;
  margin: 0 0 -0.06em 0.09em;
  color: var(--accent);
  -webkit-text-stroke: 0;
  font-family: serif;
  font-size: 0.55em;
  font-style: normal;
}

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.hero-intro {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  width: 76px;
  height: 1px;
  overflow: hidden;
  background: #333537;
}

.scroll-line i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scroll-line 2.4s ease-in-out infinite;
}

.hero-index {
  position: absolute;
  right: 0;
  top: 48%;
  color: #545654;
  font-size: 9px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 40vw;
  height: 40vw;
  top: 15%;
  right: -8%;
}

.orbit-two {
  width: 26vw;
  height: 26vw;
  top: 24%;
  right: -1%;
  border-color: rgba(166, 255, 203, 0.08);
}

.section {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  padding: 156px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #6f716f;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-label span:first-child {
  color: var(--accent);
}

.manifesto-grid {
  margin-top: 84px;
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 12vw;
  align-items: end;
}

.manifesto-lead {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(35px, 4.8vw, 68px);
  line-height: 1.42;
  letter-spacing: -0.03em;
}

.manifesto-lead span,
.section-heading h2 span,
.capability-layout h2 span,
.contact-content h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 238, 233, 0.55);
}

.about-copy {
  color: #aaaBA8;
  font-size: 14px;
  line-height: 2;
}

.about-copy p + p {
  margin-top: 28px;
}

.stats {
  margin-top: 118px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat strong {
  font-family: "STSong", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
}

.stat sup {
  color: var(--accent);
  font-size: 0.35em;
}

.stat span {
  color: #6e706e;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.works {
  width: 100%;
  padding-left: max(48px, calc((100vw - 1180px) / 2));
  padding-right: max(48px, calc((100vw - 1180px) / 2));
  background: #0a0c0f;
}

.section-heading {
  margin-bottom: 92px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2,
.capability-layout h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.24;
  text-align: right;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project {
  position: relative;
  min-height: 180px;
  padding: 34px 20px 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr 250px 42px;
  gap: 36px;
  align-items: center;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  transition: padding 0.45s ease, background 0.45s ease;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(166, 255, 203, 0.03), transparent 70%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s ease;
}

.project:hover,
.project:focus {
  padding-left: 20px;
}

.project:hover::before,
.project:focus::before {
  transform: scaleX(1);
  transform-origin: left;
}

.project-number {
  align-self: start;
  color: var(--accent);
  font-size: 10px;
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-content p {
  margin: 0 0 13px;
  color: #686a69;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 0 0 13px;
  font-family: "STSong", serif;
  font-size: clamp(24px, 2.5vw, 35px);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.project-content span {
  color: #858684;
  font-size: 12px;
}

.project-arrow {
  position: relative;
  z-index: 2;
  justify-self: end;
  font-size: 22px;
  transition: color 0.35s, transform 0.35s;
}

.project:hover .project-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

.project-visual {
  position: relative;
  height: 112px;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.7;
  transform: scale(0.96);
  transition: opacity 0.45s, transform 0.45s;
}

.project:hover .project-visual {
  opacity: 1;
  transform: scale(1);
}

.visual-one {
  background: radial-gradient(circle at 35% 45%, #263934, #101518 55%, #090a0c);
}

.orb {
  position: absolute;
  width: 76px;
  height: 76px;
  left: 45%;
  top: 50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #d7ffe7, #58a47b 20%, #1b2d28 58%, #080b0b);
  box-shadow: 0 0 40px rgba(117, 255, 181, 0.24);
  transform: translate(-50%, -50%);
}

.grid-sphere {
  position: absolute;
  width: 115px;
  height: 115px;
  left: 60%;
  top: 50%;
  border: 1px solid rgba(191, 255, 218, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scaleY(0.38);
}

.visual-two {
  background: linear-gradient(160deg, #252117, #11110e 58%);
}

.sun {
  position: absolute;
  top: 22px;
  left: 44%;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #f0c56b;
  box-shadow: 0 0 28px rgba(240, 197, 107, 0.35);
}

.wave {
  position: absolute;
  width: 180px;
  height: 40px;
  left: 50%;
  border: 1px solid rgba(240, 197, 107, 0.45);
  border-radius: 50%;
  transform: translateX(-50%) scaleY(0.4);
}

.wave-a { bottom: 3px; }
.wave-b { bottom: 17px; width: 145px; }
.wave-c { bottom: 30px; width: 105px; }

.visual-three {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #10121a;
}

.visual-three span {
  width: 1px;
  height: 68%;
  background: linear-gradient(transparent, #9bb0ff, transparent);
  animation: echo 2s ease-in-out infinite alternate;
}

.visual-three span:nth-child(2) { height: 42%; animation-delay: -0.3s; }
.visual-three span:nth-child(3) { height: 85%; animation-delay: -0.7s; }
.visual-three span:nth-child(4) { height: 58%; animation-delay: -1.1s; }
.visual-three span:nth-child(5) { height: 35%; animation-delay: -1.4s; }

.capability-layout {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 12vw;
}

.capability-layout h2 {
  text-align: left;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-list div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
}

.capability-list span {
  color: #555756;
  font-size: 9px;
}

.capability-list p {
  margin: 0;
  font-family: "STSong", serif;
  font-size: 20px;
}

.capability-list em {
  color: #737573;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact {
  width: 100%;
  min-height: 86svh;
  padding-left: max(48px, calc((100vw - 1180px) / 2));
  padding-right: max(48px, calc((100vw - 1180px) / 2));
  padding-bottom: 38px;
  background: #0c0e11;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  left: 50%;
  bottom: -50vw;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 161, 131, 0.13), transparent 66%);
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
  margin: 12vh auto 16vh;
  text-align: center;
}

.contact-content > p {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.34em;
}

.contact-content h2 {
  margin: 0;
  font-family: "STSong", serif;
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 400;
  line-height: 1.12;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.icp-link {
  color: #777977;
  transition: color 0.3s;
}

.icp-link:hover {
  color: var(--accent);
}

.footer {
  position: absolute;
  z-index: 2;
  left: max(48px, calc((100vw - 1180px) / 2));
  right: max(48px, calc((100vw - 1180px) / 2));
  bottom: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  color: #626462;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

.footer-motto {
  justify-self: end;
}

.socials {
  display: flex;
  gap: 28px;
}

.socials a {
  color: #929491;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.9s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(166, 255, 203, 0.02); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@keyframes echo {
  to { transform: scaleY(0.45); opacity: 0.35; }
}

@media (max-width: 900px) {
  :root {
    --content: calc(100vw - 48px);
  }

  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { padding-top: 116px; }
  .hero-title { font-size: clamp(88px, 22vw, 150px); }
  .title-row-offset { margin-left: 14%; }
  .manifesto-grid,
  .capability-layout { grid-template-columns: 1fr; gap: 58px; }
  .manifesto-grid { margin-top: 60px; }
  .about-copy { max-width: 520px; margin-left: auto; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 50px; }
  .project { grid-template-columns: 46px 1fr 150px 28px; gap: 18px; }
  .capability-layout h2 { max-width: 650px; }
}

@media (max-width: 620px) {
  :root { --content: calc(100vw - 36px); }
  .site-header { height: 76px; }
  .brand-name { display: none; }
  .availability { padding: 8px 12px; }
  .hero { padding: 104px 0 34px; }
  .hero-kicker span:last-child,
  .kicker-line { display: none; }
  .hero-title-wrap { padding-top: 8vh; }
  .hero-title { font-size: clamp(72px, 27vw, 118px); line-height: 0.82; }
  .title-row-offset { margin-left: 5%; }
  .hero-bottom { align-items: end; }
  .hero-intro { font-size: 15px; }
  .scroll-cue > span:first-child { display: none; }
  .scroll-line { width: 44px; }
  .hero-index { display: none; }
  .orbit-one { width: 100vw; height: 100vw; right: -45%; }
  .orbit-two { width: 68vw; height: 68vw; right: -30%; }
  .section { padding: 104px 0; }
  .manifesto-lead { font-size: 31px; }
  .stats { margin-top: 74px; grid-template-columns: 1fr; gap: 36px; }
  .stat { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .works,
  .contact { padding-left: 18px; padding-right: 18px; }
  .section-heading { margin-bottom: 62px; }
  .section-heading h2 { text-align: left; font-size: 40px; }
  .project { min-height: 160px; grid-template-columns: 30px 1fr 28px; padding-right: 4px; }
  .project-visual { display: none; }
  .project-content h3 { font-size: 24px; }
  .capability-layout h2 { font-size: 38px; }
  .capability-list div { grid-template-columns: 30px 1fr; }
  .capability-list em { display: none; }
  .contact { min-height: 780px; }
  .contact-content { margin-top: 100px; }
  .contact-content h2 { font-size: 55px; }
  .footer { left: 18px; right: 18px; grid-template-columns: 1fr auto; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-motto { display: none; }
  .socials { gap: 15px; }
}

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