/* ============================================================
   Ander. Tech. — 共享设计系统 + 首页样式
   配色 / 字体 / 版式参考 huwerholdings.com 的排版语言，
   替换为 Ander. Tech. 的紫罗兰 · 粉色调。
   ============================================================ */

:root {
  --bg: #0b0812;
  --panel: #141020;
  --line: rgba(228, 216, 255, .16);
  --line-strong: rgba(228, 216, 255, .32);
  --muted: #a9a2c0;
  --text: #f7f3ff;
  --violet: #a87cff;
  --pink: #ff8ed2;
  --blue: #9aa6ff;
  --max: 1240px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Noto Sans SC", "Manrope", -apple-system, "Segoe UI", sans-serif;
  --display: "Manrope", "Noto Sans SC", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 全站 80px 网格底纹，向下渐隐 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

::selection { background: var(--violet); color: #120a1e; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- 背景层 ---------- */
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: .05;
  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='.7'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .14;
  z-index: -3;
  pointer-events: none;
}
.ambient-one { background: #6a4bd8; top: -16vw; right: -14vw; }
.ambient-two { background: #b8408f; bottom: 2vh; left: -26vw; opacity: .1; }

/* ---------- 通用版式 ---------- */
.section-pad {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
  padding-block: 150px;
}

.eyebrow,
.kicker,
.section-marker,
.community-code {
  margin: 0;
  color: var(--blue);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.kicker { color: var(--muted); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  color: #120a1e;
  background: var(--text);
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease), opacity .2s ease;
}
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ---------- 导航 / 字标 ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.hero-nav {
  position: absolute;
  top: 29px;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  z-index: 3;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  font: 800 18px/1 var(--display);
  letter-spacing: -.06em;
  text-decoration: none;
}
.wordmark span { color: var(--violet); }
.wordmark em {
  margin-left: 7px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  font-style: normal;
  letter-spacing: .22em;
  transform: translateY(-1px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ddd7ee;
  font: 500 11px/1 var(--mono);
  letter-spacing: .09em;
  text-decoration: none;
  transition: color .3s ease;
}
.nav-link i { font-size: 15px; transition: transform .3s var(--ease); }
.nav-link:hover { color: var(--violet); }
.nav-link:hover i { transform: translate(2px, -2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url("Assets/Images/webp/homebg.webp") 50% 34% / cover no-repeat;
  filter: brightness(.7) saturate(.96);
  transform: scale(1.04);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 66% 40%, rgba(168, 124, 255, .22), transparent 58%),
    linear-gradient(180deg, rgba(11, 8, 18, .78) 0%, rgba(11, 8, 18, .46) 44%, rgba(11, 8, 18, .96) 100%),
    linear-gradient(90deg, rgba(11, 8, 18, .95) 0%, rgba(11, 8, 18, .42) 52%, rgba(11, 8, 18, .66) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 46%, rgba(140, 120, 255, .14), transparent 32%),
    linear-gradient(90deg, transparent 49.94%, rgba(255, 255, 255, .07) 50%, transparent 50.06%);
  mask-image: linear-gradient(to bottom, #000 26%, transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, #000 26%, transparent 86%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(196, 178, 255, .22);
  border-radius: 50%;
  z-index: -1;
  transform: rotate(-28deg);
}
.orbit::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d3c4ff;
  box-shadow: 0 0 18px 6px rgba(168, 124, 255, .75);
}
.orbit-large {
  width: min(1040px, 85vw);
  height: min(420px, 35vw);
  left: 33%;
  top: 26%;
}
.orbit-large::before { top: 1%; left: 13%; }
.orbit-small {
  width: 440px;
  height: 180px;
  left: 53%;
  top: 41%;
  border-color: rgba(255, 142, 210, .32);
}
.orbit-small::before {
  bottom: -3px;
  right: 9%;
  background: #ffb3dd;
  box-shadow: 0 0 18px 6px rgba(255, 142, 210, .7);
}

.hero-signal {
  position: absolute;
  top: 29%;
  right: 8%;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 46px;
  opacity: .85;
}
.hero-signal span {
  width: 2px;
  background: linear-gradient(var(--blue), var(--violet));
  box-shadow: 0 0 10px rgba(154, 166, 255, .8);
  animation: pulse-bar 2.6s ease-in-out infinite;
}
.hero-signal span:nth-child(1) { height: 14px; }
.hero-signal span:nth-child(2) { height: 40px; animation-delay: .3s; }
.hero-signal span:nth-child(3) { height: 23px; animation-delay: .6s; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
  padding-top: 5vh;
}

.hero h1 {
  max-width: 820px;
  margin: 23px 0 22px;
  font: 800 clamp(64px, 11.6vw, 166px)/.78 var(--display);
  letter-spacing: -.095em;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 228, 255, .82);
}
.hero-dot {
  color: inherit;
  letter-spacing: 0;
}
.hero-subtitle {
  margin: 0;
  color: #ece6fb;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: .05em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 24px 0 0;
  color: #9d94b8;
  font: 500 10.5px/1.6 var(--mono);
  letter-spacing: .16em;
}
.hero-meta span { display: inline-flex; align-items: center; }
.hero-meta span + span::before {
  content: "/";
  margin: 0 13px;
  color: rgba(168, 124, 255, .55);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 9px 15px 9px 13px;
  color: #e2daf6;
  background: rgba(20, 16, 32, .5);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 11px/1 var(--mono);
  letter-spacing: .1em;
  text-decoration: none;
  backdrop-filter: blur(7px);
  transition: border-color .3s ease, transform .3s var(--ease), background .3s ease;
}
.hero-chip i.ph { font-size: 14px; opacity: .7; }
.hero-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 124, 255, .7);
  background: rgba(30, 22, 48, .7);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ef0c0;
  box-shadow: 0 0 10px rgba(126, 240, 192, .9);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 39px;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 17px;
  color: #c7c0d8;
  font-size: 12px;
  text-decoration: none;
}
.scroll-cue i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.scroll-cue:hover i {
  background: var(--violet);
  color: #120a1e;
  transform: translateY(3px);
}

.hero-index {
  position: absolute;
  bottom: 42px;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  margin: 0;
  color: #837a9c;
  font: 11px/1 var(--mono);
}

/* ---------- 跑马灯 ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  background: rgba(14, 10, 22, .65);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}
.ticker-group span {
  color: #b2a9c8;
  font: 500 11px/1 var(--mono);
  letter-spacing: .22em;
  white-space: nowrap;
}
.ticker-group i {
  color: var(--violet);
  font-size: 7px;
  font-style: normal;
  opacity: .8;
}

/* ---------- 项目入口 ---------- */
.project-entry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 58% 72% at 84% 32%, rgba(168, 124, 255, .2), transparent 62%),
    radial-gradient(ellipse 42% 52% at 6% 92%, rgba(255, 142, 210, .07), transparent 60%),
    linear-gradient(180deg, #0d0a17 0%, #0b0812 100%);
}
.project-entry-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: 7%;
  align-items: center;
  padding-block: 118px;
}
.project-entry h2 {
  max-width: 780px;
  margin: 24px 0 22px;
  font: 800 clamp(46px, 7.4vw, 105px)/.82 var(--display);
  letter-spacing: -.09em;
}
.project-entry h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 236, 250, .86);
}
.project-entry-copy {
  max-width: 430px;
  margin: 0;
  color: #dccfe6;
  font-size: 16px;
  line-height: 1.9;
}
.project-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  padding: 13px 0;
  color: #f4efff;
  border-bottom: 1px solid rgba(168, 124, 255, .8);
  font-size: 14px;
  text-decoration: none;
  transition: gap .3s var(--ease), color .3s ease;
}
.project-entry-link i { font-size: 18px; }
.project-entry-link:hover { gap: 16px; color: #fff; }
.project-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  color: #a79fbd;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: .14em;
}
.project-entry-meta span {
  padding: 4px 9px;
  border: 1px solid rgba(168, 124, 255, .45);
  border-radius: 999px;
  color: #cdbcff;
  font-size: 9px;
  letter-spacing: .16em;
}
.project-entry-coordinate {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  bottom: 35px;
  margin: 0;
  color: #b7a8c6;
  font: 10px/1 var(--mono);
  letter-spacing: .14em;
}

.project-entry-figure {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  margin: 0;
}
.figure-media {
  position: relative;
  overflow: hidden;
}
.figure-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(228, 216, 255, .22);
  filter: saturate(.94) contrast(1.02);
  box-shadow: 0 34px 90px rgba(70, 28, 132, .45);
}
/* 让偏亮的立绘落进紫罗兰色调 */
.figure-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 108%, rgba(11, 8, 18, .5), transparent 58%),
    linear-gradient(202deg, rgba(112, 62, 196, .3) 0%, rgba(11, 8, 18, .04) 48%, rgba(255, 142, 210, .14) 100%);
  box-shadow: inset 0 0 90px rgba(11, 8, 18, .35);
}
/* 四角标记 —— 档案照的取景框 */
.project-entry-figure::before,
.project-entry-figure::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}
.project-entry-figure::before {
  top: -14px;
  left: -14px;
  border-top: 1px solid var(--violet);
  border-left: 1px solid var(--violet);
}
.project-entry-figure::after {
  right: -14px;
  bottom: 34px;
  border-right: 1px solid var(--violet);
  border-bottom: 1px solid var(--violet);
}
.project-entry-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #a79fbd;
  font: 500 9.5px/1.4 var(--mono);
  letter-spacing: .14em;
}
.project-entry-figure figcaption span:last-child { text-align: right; }

/* ---------- 关于 ---------- */
.about { padding-block: 150px 110px; }

.section-marker {
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: #8b84a3;
}
.section-marker span:first-child { color: var(--blue); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-top: 75px;
}

.about-heading h2,
.metrics h2,
.community h2 {
  margin: 18px 0 0;
  font: 700 clamp(37px, 5.3vw, 72px)/1.06 var(--display);
  letter-spacing: -.065em;
}
.about-heading h2 span,
.metrics h2 span,
.community h2 span { color: #bda6ff; }

.about-copy {
  max-width: 600px;
  padding-top: 11px;
  color: #c5bdd6;
  font-size: 15px;
  line-height: 2;
}
.about-copy p { margin: 0 0 29px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy .lead {
  color: #f0eafd;
  font-size: 17px;
  font-weight: 500;
}

.story-block {
  position: relative;
  max-width: 890px;
  margin: 105px 0 0 auto;
  padding-left: 69px;
  color: #bcb4cd;
  font-size: 14px;
  line-height: 2.05;
}
.story-block p { margin: 0; }
.story-label {
  margin: 0 0 18px !important;
  color: #8f86a8;
  font: 500 10px/1.6 var(--mono);
  letter-spacing: .18em;
}
.story-quote {
  position: absolute;
  top: -57px;
  left: 0;
  color: #7f6bf0;
  font: 150px/.85 Georgia, serif;
  user-select: none;
}

/* ---------- 我们在做 ---------- */
.practice { padding-block: 120px 150px; }

.practice-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 75px;
}
.practice-head h2 {
  margin: 0;
  font: 700 clamp(34px, 4.6vw, 62px)/1.06 var(--display);
  letter-spacing: -.06em;
}
.practice-head h2 span { color: #bda6ff; }

.practice-list {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.practice-row {
  display: grid;
  grid-template-columns: 76px minmax(0, .85fr) minmax(0, 1.45fr) 34px;
  gap: 24px;
  align-items: start;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, padding .35s var(--ease);
}
.practice-row:hover { background: rgba(168, 124, 255, .06); padding-inline: 22px; }
.practice-index {
  color: #8d84a6;
  font: 500 11px/1.7 var(--mono);
  letter-spacing: .12em;
}
.practice-row h3 {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.3;
}
.practice-row p {
  margin: 3px 0 0;
  color: #a9a1bd;
  font-size: 14px;
  line-height: 1.85;
}
.practice-row i {
  justify-self: end;
  margin-top: 7px;
  color: #7e73a0;
  font-size: 20px;
  transition: color .3s ease, transform .3s var(--ease);
}
.practice-row:hover i { color: var(--violet); transform: translate(2px, -2px); }

/* ---------- 数据 ---------- */
.metrics {
  position: relative;
  width: 100%;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-block: 135px;
  background: linear-gradient(112deg, #181129 0%, #100b1b 54%, #1c1028 100%);
  overflow: hidden;
}
.metrics::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -25vw;
  top: -45vw;
  border: 1px solid rgba(168, 124, 255, .14);
  border-radius: 50%;
}

.metrics-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.metric-note {
  margin: 0 0 5px;
  padding-left: 20px;
  border-left: 1px solid var(--violet);
  color: #aaa2c0;
  font: 12px/1.8 var(--mono);
}

.metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric-card {
  position: relative;
  min-height: 248px;
  padding: 36px 26px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.metric-card:first-child { border-left: 1px solid var(--line); }
.metric-card:hover {
  background: rgba(168, 124, 255, .09);
  transform: translateY(-7px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .22);
}
.metric-number {
  font: 700 clamp(48px, 6vw, 90px)/1 var(--display);
  letter-spacing: -.08em;
}
.unit {
  margin-left: 5px;
  color: #c3b2ff;
  font: 600 clamp(22px, 2.6vw, 38px)/1 var(--display);
}
.metric-card p {
  margin: 42px 0 0;
  color: #c7c0d8;
  font-size: 14px;
}
.metric-symbol {
  position: absolute;
  right: 27px;
  bottom: 27px;
  color: #7a6f9c;
  font-size: 23px;
}

/* ---------- 社群 ---------- */
.community {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}
.community-heading { position: relative; z-index: 1; }
.community-intro {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.community-orb {
  position: absolute;
  width: 560px;
  height: 560px;
  right: 3%;
  top: 71px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%,
    rgba(230, 214, 255, .5), rgba(140, 118, 240, .26) 8%,
    rgba(26, 20, 44, .38) 33%, transparent 66%);
}
.community-orb span {
  position: absolute;
  border: 1px solid rgba(186, 170, 255, .22);
  border-radius: 50%;
}
.community-orb span:nth-child(1) { inset: 10%; }
.community-orb span:nth-child(2) { inset: 27%; transform: rotateX(64deg); }
.community-orb span:nth-child(3) { inset: 18%; transform: rotate(70deg) scaleY(.35); }

.community-links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 90px;
}
.community-card {
  position: relative;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--text);
  background: rgba(22, 18, 36, .72);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.community-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(168, 124, 255, .8);
  background: rgba(32, 24, 52, .84);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}
.community-code { color: var(--blue); }
.community-card strong { font-size: 21px; letter-spacing: -.04em; font-weight: 700; }
.community-card i {
  position: absolute;
  right: 25px;
  bottom: 25px;
  color: #c1b2ff;
  font-size: 21px;
  transition: transform .3s var(--ease);
}
.community-card:hover i { transform: translate(2px, -2px); }

/* ---------- 页脚 ---------- */
.footer {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
  padding: 35px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #8b83a0;
  font-size: 11px;
}
.footer-main,
.footer-meta { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer-tag {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b8aecf;
  font: 500 10px/1 var(--mono);
  letter-spacing: .1em;
}
.footer-meta a { color: #d6cfe6; text-decoration: none; transition: color .25s ease; }
.footer-meta a:hover { color: var(--violet); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #16101f;
  background: #e4dcff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.back-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: #c3aeff; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-load {
  opacity: 0;
  transform: translateY(20px);
  animation: load-in .85s var(--ease) forwards;
}
.nav.reveal-load { animation-delay: .05s; }
.hero-content .reveal-load:nth-child(1) { animation-delay: .18s; }
.hero-content .reveal-load:nth-child(2) { animation-delay: .28s; }
.hero-content .reveal-load:nth-child(3) { animation-delay: .42s; }
.hero-content .reveal-load:nth-child(4) { animation-delay: .5s; }
.hero-content .reveal-load:nth-child(5) { animation-delay: .58s; }
.scroll-cue.reveal-load { animation-delay: .68s; }
.hero-index.reveal-load { animation-delay: .74s; }

@keyframes load-in { to { opacity: 1; transform: none; } }
@keyframes pulse-bar { 50% { transform: scaleY(.4); opacity: .35; } }
@keyframes pulse-dot { 50% { opacity: .45; transform: scale(.85); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 断点 ---------- */
@media (max-width: 1080px) {
  .about-layout { gap: 6%; }
  .metrics h2 { font-size: clamp(34px, 4.8vw, 58px); }
}

@media (max-width: 900px) {
  .practice-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 4px;
  }
  .practice-row i { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .section-pad { padding-block: 95px; }
  .hero-nav { top: 22px; }
  .hero-content { padding-top: 12vh; }
  .hero h1 { font-size: clamp(58px, 18vw, 100px); }
  .hero-meta { font-size: 10px; letter-spacing: .1em; row-gap: 4px; }
  .hero-meta span + span::before { margin: 0 10px; }
  .hero-signal { right: 7%; top: 22%; height: 36px; }
  .orbit-large { width: 110vw; height: 46vw; left: 15%; top: 32%; }
  .orbit-small { width: 90vw; height: 36vw; left: 26%; top: 44%; }
  .hero-index { bottom: 35px; }
  .scroll-cue { bottom: 31px; }

  .project-entry-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 92px;
  }
  .project-entry h2 { font-size: clamp(43px, 13vw, 70px); }
  .project-entry-copy { font-size: 14px; }
  .project-entry-figure { justify-self: start; max-width: 400px; }
  .project-entry-coordinate { right: 20px; bottom: 27px; font-size: 9px; }

  .about { padding-block: 95px; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .about-copy { padding: 0; font-size: 14px; }
  .about-copy .lead { font-size: 16px; }
  .story-block { margin-top: 72px; padding-left: 35px; font-size: 13px; }
  .story-quote { left: -7px; font-size: 105px; }

  .practice { padding-block: 95px; }
  .practice-head { display: block; padding-top: 50px; }
  .practice-head h2 { font-size: clamp(32px, 4.6vw, 46px); }
  .practice-head .kicker { margin-top: 22px; }
  .practice-list { margin-top: 44px; }
  .practice-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 4px;
  }
  .practice-row i { display: none; }
  .practice-index { margin-bottom: 2px; }

  .metrics { padding: 95px 20px; }
  .metrics-top { display: block; }
  .metric-note { margin-top: 34px; }
  .metric-grid { grid-template-columns: 1fr; margin-top: 51px; }
  .metric-card {
    min-height: 187px;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .metric-card:last-child { border-bottom: 0; }
  .metric-card p { margin-top: 27px; }

  .community { min-height: auto; padding-bottom: 95px; }
  .community-orb { width: 390px; height: 390px; right: -38%; top: 80px; opacity: .7; }
  .community-links { grid-template-columns: 1fr; margin-top: 62px; }
  .community-card { min-height: 139px; }

  .footer { display: block; padding-block: 28px; }
  .footer-main,
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-meta { margin-top: 23px; }
  .footer-main .wordmark { font-size: 21px; }
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-load {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .metric-card,
  .community-card,
  .back-top,
  .hero-chip,
  .project-entry-link { transition: none; }
  .hero-signal span,
  .status-dot,
  .ticker-track { animation: none; }
  .hero-bg,
  .project-entry-image { transform: none; }
}
