:root {
  --bg: #10100e;
  --ink: #f6f1e6;
  --muted: rgba(246, 241, 230, 0.68);
  --faint: rgba(246, 241, 230, 0.14);
  --line: rgba(246, 241, 230, 0.18);
  --orange: #ff8a1f;
  --cyan: #41ead4;
  --lime: #b7ff4a;
  --concrete: #d8d0bd;
  --max: 1180px;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 138, 31, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #10100e 0%, #171712 46%, #eee6d5 46%, #eee6d5 100%);
  background-size: 64px 64px, auto;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    system-ui,
    sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(16, 16, 14, 0.76);
  border-bottom: 1px solid rgba(246, 241, 230, 0.12);
  backdrop-filter: blur(18px);
}

.brand-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
}

.mark-grid {
  width: 28px;
  height: 28px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 12px 12px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 16px 0 / 12px 12px no-repeat,
    linear-gradient(var(--lime), var(--lime)) 0 16px / 12px 12px no-repeat,
    linear-gradient(var(--concrete), var(--concrete)) 16px 16px / 12px 12px no-repeat;
  box-shadow: 0 0 28px rgba(65, 234, 212, 0.28);
}

.site-nav {
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 30px);
}

.site-nav a {
  color: rgba(246, 241, 230, 0.78);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: end;
  padding: calc(var(--header) + 48px) clamp(18px, 5vw, 72px) 56px;
  isolation: isolate;
}

.hero-canvas,
.hero-shade,
.hero-image {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #11100d;
}

.hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 70% 24%, rgba(65, 234, 212, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(16, 16, 14, 0.96) 0%, rgba(16, 16, 14, 0.74) 44%, rgba(16, 16, 14, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 16, 14, 0.94) 0%, transparent 34%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(64px, 14vw, 178px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(246, 241, 230, 0.84);
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 900;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #14110c;
  background: var(--orange);
}

.button-primary:hover {
  background: var(--lime);
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(246, 241, 230, 0.08);
}

.button-ghost:hover {
  border-color: rgba(65, 234, 212, 0.72);
  color: var(--cyan);
}

.hero-status {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 56px;
  width: min(300px, calc(100% - 36px));
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

.hero-status span,
.hero-status p {
  color: var(--muted);
}

.hero-status span {
  font-size: 12px;
  font-weight: 900;
}

.hero-status strong {
  display: block;
  margin-top: 6px;
  color: var(--lime);
  font-size: 40px;
  line-height: 1;
}

.hero-status p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.intro {
  display: grid;
  min-height: 42vh;
  place-items: center;
  padding: 72px clamp(18px, 5vw, 72px);
  background: #eee6d5;
  color: #181713;
}

.intro p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.22;
}

.section {
  padding: 110px clamp(18px, 5vw, 72px) 0;
}

.section-heading {
  width: min(760px, 100%);
}

.section-heading h2,
.proof-copy h2,
.contact-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.work-section {
  color: var(--ink);
  background: #171712;
}

.work-list {
  width: min(var(--max), 100%);
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 56px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.work-item span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.work-item h3,
.work-item p,
.system-step p,
.proof-grid p,
.site-footer p {
  margin: 0;
}

.work-item h3 {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.16;
}

.work-item p {
  max-width: 780px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.system-section {
  padding-bottom: 110px;
  background: #171712;
}

.system-track {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
}

.system-step {
  min-height: 260px;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(255, 138, 31, 0.08), transparent 42%),
    #171712;
}

.system-step strong {
  color: var(--concrete);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.system-step p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 6vw, 86px);
  padding: 110px clamp(18px, 5vw, 72px);
  color: #181713;
  background:
    linear-gradient(90deg, rgba(24, 23, 19, 0.09) 1px, transparent 1px),
    #eee6d5;
  background-size: 54px 54px;
}

.proof-band .eyebrow {
  color: #8a4608;
}

.proof-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(24, 23, 19, 0.18);
}

.proof-grid p {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(24, 23, 19, 0.18);
  color: rgba(24, 23, 19, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.proof-grid strong {
  color: #b45500;
  font-size: 14px;
}

.contact-section {
  padding-bottom: 92px;
  color: var(--ink);
  background: #10100e;
}

.contact-layout {
  display: flex;
  width: min(var(--max), 100%);
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.contact-copy {
  width: min(760px, 100%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) 28px;
  color: rgba(246, 241, 230, 0.56);
  background: #10100e;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .hero {
    min-height: 860px;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 48px;
  }

  .system-track,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .system-track {
    background: transparent;
    border-top: 1px solid var(--line);
  }

  .system-step {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }

  .contact-layout {
    display: grid;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 94px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 18px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 720px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(58px, 22vw, 96px);
  }

  .hero-line {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .intro {
    min-height: auto;
    padding-block: 62px;
  }

  .section {
    padding-top: 76px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .proof-band {
    padding-block: 76px;
  }

  .proof-grid p {
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 16px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }
}
