:root {
  --orange: #f45322;
  --orange-soft: #fe6a40;
  --paper: #f7f0e8;
  --ink: #080808;
  --muted: #8d8d8d;
  --line: rgba(255, 255, 255, 0.18);
  --font-sans: "Huiwen Mincho Improved", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --font-serif: "Huiwen Mincho Improved", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --font-emotion: var(--font-sans);
}

@font-face {
  font-family: "Huiwen Mincho Improved";
  src: url("./assets/fonts/huiwen-mincho-improved.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(244, 83, 34, 0.22), transparent 32vw),
    linear-gradient(180deg, #020202 0%, #101010 40%, #050505 100%);
  color: #fff;
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

::selection {
  background: var(--orange);
  color: var(--ink);
}

.cursor-light {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.32;
  background: radial-gradient(circle, rgba(244, 83, 34, 0.18), rgba(244, 83, 34, 0.06) 34%, transparent 67%);
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  pointer-events: none;
}

.brand,
.nav-links,
.nav-action {
  pointer-events: auto;
  background: rgba(8, 8, 8, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  padding: 10px 16px;
  color: var(--orange);
  font-weight: 900;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 8px;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.nav-links a {
  min-width: 76px;
  padding: 8px 12px;
  text-align: center;
}

.nav-links a:hover,
.nav-action:hover {
  background: var(--orange);
  color: var(--ink);
}

.nav-action {
  justify-self: end;
  padding: 12px 20px;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px 36px 34px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #030303;
}

.hero-canvas,
.hero-grid,
.hero-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 0;
  opacity: 0.9;
}

.hero-grid {
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 74% 36%, rgba(244, 83, 34, 0.22), transparent 28vw),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.14));
  background-size: 42px 42px, 42px 42px, auto, auto;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.92));
}

.hero-orbit {
  z-index: 2;
  overflow: hidden;
}

.hero-orbit span {
  position: absolute;
  right: clamp(20px, 10vw, 170px);
  top: 50%;
  width: clamp(230px, 42vw, 690px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 83, 34, 0.28);
  border-radius: 50%;
  transform: translateY(-50%) rotate(0deg);
  animation: orbit 22s linear infinite;
}

.hero-orbit span:nth-child(2) {
  width: clamp(160px, 30vw, 480px);
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 15s;
  animation-direction: reverse;
}

.hero-orbit span:nth-child(3) {
  width: clamp(90px, 16vw, 260px);
  border-color: rgba(244, 83, 34, 0.5);
  animation-duration: 9s;
}

.hero-orbit span::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(244, 83, 34, 0.9);
}

@keyframes orbit {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 1140px;
  mix-blend-mode: normal;
  transform: translateY(var(--hero-offset, 0));
}

.eyebrow,
.section-kicker,
.manifesto-label {
  color: var(--orange);
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(70px, 18vw, 260px);
  line-height: 0.78;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 48px rgba(244, 83, 34, 0.2);
}

.hero-line {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(40px, 8.6vw, 132px);
  line-height: 0.86;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-line span {
  color: var(--orange);
}

.hero-text {
  margin: 28px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.2;
  font-weight: 700;
}

.hero-meta {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 34px;
  width: min(420px, 38vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-meta span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  background: var(--orange);
  color: var(--ink);
  padding: 18px 0;
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 58px);
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

.ticker div {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: drift 26s linear infinite;
}

.ticker span::before {
  content: "* ";
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-38%); }
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(0, 1fr);
  gap: 34px;
  padding: clamp(70px, 10vw, 140px) 36px;
}

.intro {
  background:
    radial-gradient(circle at 88% 20%, rgba(244, 83, 34, 0.14), transparent 28vw),
    var(--paper);
  color: var(--ink);
}

.intro-copy {
  max-width: 1120px;
}

.intro-copy h2,
.works-header h2,
.sparklab h2 {
  margin: 0;
  font-size: clamp(36px, 6.8vw, 108px);
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-copy h2 {
  font-size: clamp(34px, 5.6vw, 86px);
  line-height: 1;
}

.intro-copy p,
.band-text p,
.sparklab-copy p {
  color: rgba(8, 8, 8, 0.72);
  font-family: var(--font-emotion);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.55;
}

.intro-copy p {
  max-width: 860px;
}

.split-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 66vh;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 24%),
    var(--orange);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.split-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% auto;
  width: 54vw;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(8, 8, 8, 0.2);
  animation: orbit 24s linear infinite;
}

.big-statement,
.band-text {
  padding: clamp(34px, 6vw, 86px) 36px;
}

.big-statement {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: clamp(42px, 8vw, 126px);
  line-height: 0.86;
  font-weight: 900;
  text-transform: uppercase;
}

.big-statement span {
  color: #fff;
}

.band-text {
  display: flex;
  align-items: flex-end;
  border-left: 1px solid rgba(8, 8, 8, 0.24);
}

.field {
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    #080808;
  background-size: 34px 34px;
}

.field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.field-list article {
  min-height: 310px;
  padding: clamp(22px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.012);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.field-list article:hover {
  background: rgba(244, 83, 34, 0.09);
  border-color: rgba(244, 83, 34, 0.36);
}

.field-list span,
.work-item > span:not(.work-icon) {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.field-list h3 {
  margin: 20px 0 0;
  font-size: clamp(28px, 4.5vw, 70px);
  line-height: 0.92;
  text-transform: uppercase;
}

.field-list p,
.work-item p,
.sparklab-copy li {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-emotion);
  font-size: 17px;
  line-height: 1.5;
}

.manifesto {
  padding: clamp(68px, 10vw, 150px) 36px;
  background:
    linear-gradient(180deg, rgba(244, 83, 34, 0.08), transparent 22%),
    #fff;
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(0, 1fr);
  gap: 34px;
}

.manifesto-lines p {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid rgba(8, 8, 8, 0.16);
  font-family: var(--font-emotion);
  font-size: clamp(28px, 4.9vw, 76px);
  line-height: 1.18;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.works {
  padding: clamp(70px, 10vw, 140px) 36px;
  background:
    radial-gradient(circle at 12% 16%, rgba(244, 83, 34, 0.16), transparent 30vw),
    var(--ink);
}

.works-header {
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(0, 1fr);
  gap: 34px;
  margin-bottom: 44px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-item {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  will-change: transform;
}

.work-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--orange);
}

.work-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-item:hover {
  background: var(--orange);
  color: var(--ink);
}

.work-item:hover span,
.work-item:hover p {
  color: var(--ink);
}

.work-item strong {
  display: block;
  margin: 22px 0;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 0.98;
  text-transform: uppercase;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.work-links a {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-item:hover .work-links a {
  border-color: rgba(8, 8, 8, 0.42);
  color: var(--ink);
}

.work-links a:hover {
  background: var(--ink);
  color: var(--orange) !important;
}

.sparklab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: clamp(70px, 10vw, 140px) 36px;
  background:
    linear-gradient(90deg, rgba(244, 83, 34, 0.12), transparent 34%),
    var(--paper);
  color: var(--ink);
}

.sparklab-copy ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(8, 8, 8, 0.16);
}

.sparklab-copy li {
  color: rgba(8, 8, 8, 0.72);
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.16);
  position: relative;
}

.sparklab-copy li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.contact {
  min-height: 62vh;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
  background:
    linear-gradient(rgba(8, 8, 8, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 8, 8, 0.12) 1px, transparent 1px),
    var(--orange);
  background-size: 46px 46px;
  color: var(--ink);
}

.contact-copy p {
  margin: 0 0 36px;
  max-width: 1200px;
  font-size: clamp(42px, 8vw, 130px);
  line-height: 1.02;
  font-family: var(--font-emotion);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-actions a {
  width: fit-content;
  padding: 18px 26px;
  border: 1px solid var(--ink);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-actions a:hover {
  background: var(--ink);
  color: var(--orange);
}

.wechat-qr {
  display: block;
  width: clamp(112px, 13vw, 170px);
  justify-self: end;
  align-self: end;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 36px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

  .cursor-light {
    display: none;
  }
}

@media (orientation: portrait) and (min-width: 901px) {
  .hero {
    padding: 120px 36px 42px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 20px;
  }

  .hero-copy {
    max-width: 900px;
    transform: none;
  }

  .hero-line {
    font-size: clamp(54px, 8vw, 96px);
    line-height: 0.92;
  }

  .hero-text {
    max-width: 760px;
    font-size: clamp(18px, 2.1vw, 24px);
  }

  .hero-meta {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: min(760px, calc(100vw - 72px));
    max-width: none;
    margin-top: 2px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    scrollbar-width: none;
  }

  .hero-meta span {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    font-size: 11px;
    line-height: 1.15;
  }

  .hero-meta::-webkit-scrollbar {
    display: none;
  }

  .hero-orbit span {
    right: clamp(-120px, -8vw, -32px);
    top: 42%;
    width: clamp(180px, 34vw, 360px);
    opacity: 0.72;
  }

  .hero-orbit span:nth-child(2) {
    width: clamp(140px, 26vw, 280px);
  }

  .hero-orbit span:nth-child(3) {
    width: clamp(80px, 14vw, 150px);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 96px 22px 34px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 24px;
  }

  .hero-meta {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: calc(100vw - 44px);
    margin-top: 4px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    scrollbar-width: none;
    align-self: end;
    max-width: none;
  }

  .hero-meta span {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    font-size: 10px;
    line-height: 1.15;
  }

  .hero-meta::-webkit-scrollbar {
    display: none;
  }

  .hero-copy {
    width: 100%;
    transform: none;
  }

  .section-grid,
  .manifesto,
  .works-header,
  .sparklab,
  .split-band {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .manifesto,
  .works,
  .sparklab,
  .contact {
    padding-left: 22px;
    padding-right: 22px;
  }

  .field-list,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .field-list article,
  .work-item {
    min-height: 230px;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .band-text {
    border-left: 0;
    border-top: 1px solid rgba(8, 8, 8, 0.24);
  }

  .footer {
    flex-direction: column;
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    padding: 9px 12px;
    font-size: 15px;
  }

  .eyebrow {
    max-width: 310px;
    font-size: 11px;
    line-height: 1.18;
  }

  .hero {
    min-height: 100svh;
    padding: 88px 18px 30px;
    gap: 16px;
  }

  .hero h1 {
    font-size: clamp(58px, 22vw, 88px);
    line-height: 0.82;
  }

  .hero-line {
    margin-top: 14px;
    font-size: clamp(34px, 12.8vw, 52px);
    line-height: 0.95;
    max-width: 100%;
  }

  .hero-text {
    margin-top: 20px;
    max-width: 330px;
    font-size: 15px;
    line-height: 1.25;
  }

  .hero-meta {
    width: calc(100vw - 36px);
    margin-top: 2px;
  }

  .ticker {
    padding: 14px 0;
    font-size: 28px;
  }

  .nav-action {
    padding: 10px 12px;
    font-size: 11px;
  }

  .intro-copy h2 {
    font-size: clamp(30px, 9.6vw, 46px);
    line-height: 1.08;
  }

  .contact-actions a {
    width: 100%;
    padding: 15px 16px;
    font-size: 17px;
    text-align: center;
  }

  .wechat-qr {
    width: 132px;
  }
}

@media (max-width: 400px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(54px, 21vw, 78px);
  }

  .hero-line {
    font-size: clamp(31px, 12vw, 46px);
  }

  .hero-text {
    max-width: 300px;
    font-size: 14px;
  }

  .hero-meta {
    width: calc(100vw - 32px);
  }
}
