﻿/* ============================================================
   青海小羚数字科技有限公司 · 官网样式
   Aesthetic: 高原矿脉 / editorial-tech, ink + salt-paper + gold
   ============================================================ */

:root {
  --ink: #0b0f0d;
  --ink-2: #111713;
  --ink-3: #18201a;
  --paper: #f3efe4;
  --paper-2: #eae4d5;
  --paper-card: #f8f5ec;
  --gold: #c9a15f;
  --gold-soft: #ddc08d;
  --gold-ink: #8f6d31;
  --lake: #7fb4a6;

  --text: #191d1a;
  --text-soft: #5b615a;
  --text-light: #f3efe4;
  --muted-light: rgba(243, 239, 228, 0.58);
  --hair-dark: rgba(243, 239, 228, 0.14);
  --hair-light: rgba(25, 29, 26, 0.16);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --page-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(88px, 11vw, 156px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --header-h: 76px;
}

/* ---------------------------------------------------------- reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* subtle film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------------------------------------------------------- utilities */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex: none;
}

.section {
  padding-block: var(--section-y);
  position: relative;
  scroll-margin-top: var(--header-h);
}

.section-paper {
  background: var(--paper);
  color: var(--text);
}
.section-paper .kicker { color: var(--gold-ink); }
.section-paper .kicker::before { background: var(--gold-ink); }
.section-paper .head-note { color: var(--text-soft); }

.section-ink {
  background: var(--ink);
  color: var(--text-light);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--hair-dark);
}
.section-head .head-note {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted-light);
  max-width: 30em;
  padding-bottom: 6px;
}
.section-paper .section-head { border-bottom-color: var(--hair-light); }

/* ---------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 15, 13, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(243, 239, 228, 0.08);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(11, 15, 13, 0.9);
  border-bottom-color: rgba(243, 239, 228, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201, 161, 95, 0.18));
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.04); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-light);
}
.brand-en {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--muted-light);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-light);
  opacity: 0.72;
  padding: 6px 0;
  transition: opacity 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover,
.nav a[aria-current="true"] { opacity: 1; }
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  padding: 10px 20px;
  border: 1px solid rgba(201, 161, 95, 0.55);
  color: var(--gold-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header-cta .arrow { transition: transform 0.3s var(--ease); }
.header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.header-cta:hover .arrow { transform: translateX(4px); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(243, 239, 228, 0.22);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--text-light);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 25px; }

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  padding: calc(var(--header-h) + 48px) var(--page-x) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair-dark);
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 34px);
  color: var(--text-light);
}
.mobile-nav a span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.mobile-nav-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  line-height: 2.2;
}

body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + 32px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, #17201a 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 100%, #111a15 0%, transparent 60%),
    var(--ink);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    460px circle at var(--gx, 70%) var(--gy, 30%),
    rgba(201, 161, 95, 0.13),
    transparent 65%
  );
  transition: background 0.2s linear;
}

.hero::after {
  content: "";
  position: absolute;
  left: var(--page-x);
  right: var(--page-x);
  bottom: 0;
  height: 1px;
  background: var(--hair-dark);
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(36px, 6vw, 64px);
}

.hero-copy { position: relative; z-index: 3; max-width: 720px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-light);
  margin-bottom: clamp(28px, 4vw, 44px);
  animation: rise 0.9s var(--ease) 0.05s both;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 161, 95, 0.6);
  animation: pulse 2.8s var(--ease) infinite;
  flex: none;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7.4vw, 6.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-title .line {
  display: block;
  animation: rise 1.1s var(--ease) both;
}
.hero-title .line:nth-child(1) { animation-delay: 0.16s; }
.hero-title .line:nth-child(2) { animation-delay: 0.3s; }
.line-accent { color: var(--gold); }

.hero-sub {
  max-width: 34em;
  margin-top: clamp(24px, 3.4vw, 40px);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 2;
  color: var(--muted-light);
  animation: rise 1s var(--ease) 0.46s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
  animation: rise 1s var(--ease) 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 30px;
  font-size: 13px;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-ghost {
  border-color: rgba(243, 239, 228, 0.3);
  color: var(--text-light);
}
.btn-ghost:hover {
  border-color: var(--text-light);
  background: rgba(243, 239, 228, 0.06);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  justify-self: end;
  max-width: 520px;
  animation: fade 1.6s var(--ease) 0.4s both;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(243, 239, 228, 0.1);
  pointer-events: none;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 16%;
  background: radial-gradient(circle, rgba(201, 161, 95, 0.09), transparent 65%);
  pointer-events: none;
}
.topo {
  width: 100%;
  height: 100%;
  animation: drift 26s ease-in-out infinite alternate;
  transform-origin: center;
}

.art-label {
  position: absolute;
  top: 6%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(243, 239, 228, 0.55);
}
.art-label .dot { width: 5px; height: 5px; }

.art-caption {
  position: absolute;
  left: 8%;
  bottom: 6%;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 2;
  letter-spacing: 0.2em;
  color: rgba(243, 239, 228, 0.3);
}

.hero-foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hair-dark);
}
.hero-foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  animation: fade 1.2s var(--ease) 0.9s both;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(243, 239, 228, 0.7);
  transition: color 0.3s var(--ease);
}
.scroll-cue:hover { color: var(--gold); }
.cue-line {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.2s var(--ease) infinite;
}

/* ---------------------------------------------------------- ticker */
.ticker {
  background: var(--paper);
  color: var(--text);
  overflow: hidden;
  border-bottom: 1px solid var(--hair-light);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 145s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker-item {
  padding: 15px 30px;
  font-size: 13px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.ticker-sep {
  width: 5px;
  height: 5px;
  background: var(--gold-ink);
  transform: rotate(45deg);
  flex: none;
}

/* ---------------------------------------------------------- about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about-lead .display {
  font-size: clamp(1.95rem, 3.6vw, 3.35rem);
}
.about-body { max-width: 560px; }
.lede {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 22px;
}
.about-body > p:not(.lede):not(.about-note) {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--text-soft);
}

.about-tags {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hair-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.tag-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 5px 13px;
  font-size: 12.5px;
  border: 1px solid var(--hair-light);
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.tags li:hover { border-color: var(--gold-ink); background: rgba(201, 161, 95, 0.08); }

.about-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--hair-light);
}
.stat {
  padding: 32px 24px 8px;
  border-right: 1px solid var(--hair-light);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--gold-ink);
}
.stat-value .num {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-value .unit {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.stat-label {
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

/* ---------------------------------------------------------- services */
.service-list { border-top: 1px solid var(--hair-dark); }
.service { border-bottom: 1px solid var(--hair-dark); }

.service-toggle {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  width: 100%;
  padding: clamp(22px, 2.6vw, 30px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0.85;
}
.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease), transform 0.45s var(--ease);
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  white-space: nowrap;
}
.service-plus {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 239, 228, 0.22);
  border-radius: 50%;
  justify-self: end;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-plus::before,
.service-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(243, 239, 228, 0.7);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.service-plus::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.service-plus::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.service-toggle:hover .service-title { color: var(--gold-soft); transform: translateX(6px); }
.service-toggle:hover .service-plus { border-color: rgba(201, 161, 95, 0.6); }
.service.open .service-plus {
  background: rgba(201, 161, 95, 0.1);
  border-color: rgba(201, 161, 95, 0.6);
}
.service.open .service-plus::before { background: var(--gold); transform: translate(-50%, -50%) rotate(180deg); }
.service.open .service-plus::after { background: var(--gold); transform: translate(-50%, -50%) rotate(90deg); }

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.service.open .service-panel { grid-template-rows: 1fr; }
.service-panel-inner { overflow: hidden; }

.service-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  padding: 0 0 clamp(30px, 3.4vw, 44px) calc(52px + clamp(14px, 3vw, 32px));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s 0.1s var(--ease), transform 0.45s 0.1s var(--ease);
}
.service.open .service-body { opacity: 1; transform: none; }

.service-desc {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--muted-light);
  max-width: 34em;
}
.service-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-content: start;
}
.service-deliverables li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 228, 0.82);
}
.service-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------------------------------------------------------- work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--hair-light);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 29, 26, 0.32);
  box-shadow: 0 26px 50px -30px rgba(25, 29, 26, 0.4);
}
.work-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: clamp(4px, 1vw, 12px);
}
.work-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 30% 10%, #1b241d 0%, transparent 60%),
    var(--ink-2);
  aspect-ratio: 4 / 3;
}
.work-card--wide .work-art { aspect-ratio: auto; min-height: 340px; }
.work-art svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-art svg { transform: scale(1.035); }
.work-index {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(243, 239, 228, 0.42);
}
.work-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.4vw, 32px);
}
.work-card--wide .work-info { justify-content: center; padding: clamp(26px, 3vw, 46px); }
.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.work-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 12px;
}
.work-card--wide .work-info h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.work-info p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.work-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hair-light);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
}

/* ---------------------------------------------------------- approach */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.step {
  border-top: 1px solid var(--hair-dark);
  padding-top: 28px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  margin: 14px 0 16px;
  color: var(--text-light);
}
.step p {
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--muted-light);
  max-width: 30em;
}

.quote {
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--hair-dark);
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-light);
}
.quote blockquote::before { content: "「"; color: var(--gold); }
.quote blockquote::after { content: "」"; color: var(--gold); }
.quote figcaption {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-light);
}

/* ---------------------------------------------------------- contact */
.contact {
  padding-top: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(70% 60% at 0% 10%, #141c17 0%, transparent 60%),
    var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-title {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.28;
}
.contact-title em {
  font-style: normal;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 161, 95, 0.4);
  padding-bottom: 0.06em;
}
.contact-note {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.contact-list { padding-top: 8px; }
.contact-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair-dark);
  transition: padding 0.4s var(--ease), border-color 0.4s var(--ease);
}
a.contact-row:hover { border-bottom-color: rgba(201, 161, 95, 0.55); padding-left: 8px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted-light);
}
.contact-value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-light);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
a.contact-row:hover .contact-value { color: var(--gold-soft); }
.contact-arrow {
  font-size: 13px;
  color: rgba(243, 239, 228, 0.45);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
a.contact-row:hover .contact-arrow { transform: translateX(5px); color: var(--gold); }
.contact-row--static { cursor: default; }
.contact-coord {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(243, 239, 228, 0.32);
}

/* ---------------------------------------------------------- footer */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--hair-dark);
  padding-block: 36px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-name { font-size: 13px; letter-spacing: 0.06em; color: var(--text-light); }
.footer-en {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(243, 239, 228, 0.34);
}
.footer-nav { display: flex; gap: 26px; }
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--gold-soft); }
.footer-legal {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 228, 0.38);
  text-align: right;
}
.footer-legal a:hover { color: var(--gold-soft); }

/* ---------------------------------------------------------- animation */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 161, 95, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(201, 161, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 161, 95, 0); }
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes drift {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.03) rotate(2.5deg); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--d, 0s) var(--ease), transform 0.9s var(--d, 0s) var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .service-body { padding-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: clamp(24px, 6vw, 48px);
  }
  .hero-title { font-size: clamp(2.5rem, 10.5vw, 4.4rem); }
  .hero-art {
    position: absolute;
    right: -26%;
    top: 2%;
    width: 78vw;
    max-width: 520px;
    opacity: 0.32;
    z-index: 1;
    pointer-events: none;
  }
  .hero-art::before { display: none; }
  .art-label, .art-caption { display: none; }
  .topo-label { display: none; }
  .hero-copy { padding-top: clamp(10px, 4vw, 32px); }
  .hero-foot-inner .foot-mid { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-body { max-width: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 20px; border-bottom: 1px solid var(--hair-light); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:first-child { padding-left: 20px; }
  .stat:nth-last-child(-n + 2) { border-bottom: 0; }

  .section-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .section-head .head-note { padding-bottom: 0; }

  .service-toggle { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .service-tag { display: none; }
  .service-plus { width: 38px; height: 38px; }
  .service-body { grid-template-columns: 1fr; gap: 24px; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--wide { grid-template-columns: 1fr; }
  .work-card--wide .work-art { min-height: 0; aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-top: 24px; }
  .step + .step { margin-top: 24px; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-legal { text-align: left; }
}

@media (max-width: 620px) {
  .hero { min-height: 92svh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: space-between; }
  .hero-foot-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-foot-inner .scroll-cue { align-self: flex-end; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat-label { font-size: 11.5px; }

  .work-grid { grid-template-columns: 1fr; }
  .work-art { aspect-ratio: 4 / 3; }

  .service-deliverables { grid-template-columns: 1fr; }

  .contact-row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; }
  .contact-label { grid-column: 1 / -1; }
  .contact-arrow { grid-row: 2; grid-column: 2; }

  .footer-nav { gap: 20px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-glow { display: none; }
  .ticker-track { animation: none; }
  .topo { animation: none; }
}

/* ==========================================================
   Scenario detail pages / 场景方案页
   ========================================================== */
.sc-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-light);
  padding: calc(var(--header-h) + clamp(44px, 5.5vw, 76px)) 0 clamp(44px, 5.5vw, 72px);
  border-bottom: 1px solid var(--hair-dark);
}
.sc-hero::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -30%;
  width: 70%;
  height: 130%;
  background: radial-gradient(closest-side, rgba(201, 161, 95, 0.14), transparent 72%);
  pointer-events: none;
}
.sc-hero .wrap { position: relative; z-index: 1; }

.sc-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(26px, 4vw, 42px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
  transition: color 0.3s var(--ease);
}
.sc-crumb:hover { color: var(--gold); }

.sc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: end;
}
.sc-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.05rem, 4.4vw, 3.4rem);
  line-height: 1.26;
  letter-spacing: 0.01em;
  margin: 18px 0 22px;
}
.sc-title em { font-style: normal; color: var(--gold); }
.sc-lead {
  max-width: 40em;
  font-size: 15px;
  line-height: 2;
  color: var(--muted-light);
}
.sc-facts {
  display: grid;
  gap: 18px;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 1px solid var(--hair-dark);
}
.sc-fact dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.sc-fact dd { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(243, 239, 228, 0.8); }

.sc-section { padding: clamp(60px, 7.5vw, 104px) 0; }
.sc-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.sc-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-ink .sc-label { color: var(--gold); }
.sc-heading {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.42;
}
.sc-sub {
  max-width: 52em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-soft);
}
.section-ink .sc-sub { color: var(--muted-light); }

.sc-pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 48px);
}
.sc-pain {
  padding-top: 20px;
  border-top: 1px solid var(--hair-light);
}
.section-ink .sc-pain { border-top-color: var(--hair-dark); }
.sc-pain-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}
.section-ink .sc-pain-num { color: var(--gold); }
.sc-pain h3 {
  margin: 10px 0 9px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}
.sc-pain p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.section-ink .sc-pain p { color: var(--muted-light); }

.sc-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(30px, 4vw, 48px);
  border: 1px solid var(--hair-dark);
  background: var(--hair-dark);
}
.sc-module { padding: clamp(22px, 2.6vw, 34px); background: var(--ink); }
.sc-module-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.sc-module h3 {
  margin: 10px 0 9px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
}
.sc-module p { font-size: 13px; line-height: 1.9; color: var(--muted-light); }
.sc-module ul { display: grid; gap: 6px; margin-top: 14px; }
.sc-module li {
  position: relative;
  padding-left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(243, 239, 228, 0.6);
}
.sc-module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.sc-deliver {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 76px);
  margin-top: clamp(28px, 4vw, 44px);
}
.sc-list { display: grid; }
.sc-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hair-light);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text);
}
.sc-list li span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
  padding-top: 3px;
}
.sc-tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.sc-tags li {
  padding: 7px 13px;
  border: 1px solid var(--hair-light);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}
.sc-note {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(201, 161, 95, 0.08);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-soft);
}

.sc-cta {
  padding: clamp(52px, 6.5vw, 88px) 0;
  background: var(--ink);
  border-top: 1px solid var(--hair-dark);
}
.sc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.sc-cta h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.work-link span { transition: transform 0.3s var(--ease); }
.work-link:hover { color: var(--text); }
.work-link:hover span { transform: translateX(4px); }

@media (max-width: 900px) {
  .sc-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .sc-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--hair-dark);
  }
  .sc-pains { grid-template-columns: 1fr; gap: 0; }
  .sc-pain { padding-top: 18px; }
  .sc-pain + .sc-pain { margin-top: 22px; }
  .sc-modules { grid-template-columns: 1fr; }
  .sc-deliver { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  .sc-facts { grid-template-columns: 1fr; }
  .sc-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------- UI mockups */
.ui-frame {
  margin-top: clamp(30px, 4vw, 48px);
  border: 1px solid var(--hair-dark);
  background: #0d1411;
  box-shadow: 0 46px 90px -56px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.ui-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--hair-dark);
  background: rgba(243, 239, 228, 0.035);
}
.ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 239, 228, 0.16);
}
.ui-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 228, 0.42);
}
.ui-badge {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid rgba(201, 161, 95, 0.4);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.ui-body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  min-height: 330px;
}
.ui-body.is-shot {
  display: block;
  min-height: 0;
}
.ui-img {
  display: block;
  width: 100%;
  height: auto;
}
.ui-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--hair-dark);
  background: radial-gradient(70% 80% at 30% 20%, #16211b 0%, transparent 62%), #0b110e;
}
.ui-visual svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.ui-pin {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 95, 0.16);
}
.ui-pin::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(201, 161, 95, 0.35);
  border-radius: 50%;
}
.ui-legend {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 228, 0.5);
}
.ui-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(14px, 1.6vw, 20px);
}
.ui-card {
  padding: 12px 14px;
  border: 1px solid var(--hair-dark);
  background: rgba(243, 239, 228, 0.022);
}
.ui-card-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ui-kpi {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--text-light);
}
.ui-kpi small {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-light);
}
.ui-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(243, 239, 228, 0.12);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(243, 239, 228, 0.6);
}
.ui-row:last-child { border-bottom: 0; }
.ui-row b { font-weight: 400; color: var(--text-light); }
.ui-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.sc-screens { padding-top: clamp(44px, 5.5vw, 72px); border-top: 1px solid var(--hair-dark); }
.sc-screens .sc-sub { max-width: 46em; }

@media (max-width: 900px) {
  .ui-body { grid-template-columns: 1fr; }
  .ui-visual { border-right: 0; border-bottom: 1px solid var(--hair-dark); min-height: 300px; }
}
@media (max-width: 620px) {
  .ui-visual { min-height: 230px; }
  .ui-side { grid-template-columns: 1fr 1fr; }
  .ui-side .ui-card:last-child { grid-column: 1 / -1; }
}

