/* ==========================================================================
   大肥鱼工作室 · DAFEIYU STUDIO
   深色科技感单页官网
   --------------------------------------------------------------------------
   目录
   01. 变量与重置
   02. 基础排版与工具类
   03. 滚动进度 / 噪点
   04. 导航
   05. Hero
   06. 跑马灯
   07. 区块通用
   08. 作品
   09. 服务
   10. 关于
   11. 联系
   12. 页脚
   13. Toast
   14. 响应式
   15. 减弱动效
   ========================================================================== */

/* 01. 变量与重置 ---------------------------------------------------------- */
:root {
  --bg:        #06070b;
  --bg-soft:   #0a0c13;
  --surface:   rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .055);
  --line:      rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .05);

  --text:      #eef1f7;
  --text-2:    #a2a9b8;
  --text-3:    #6d7484;

  --cyan:      #5ce1ff;
  --violet:    #8a7bff;
  --pink:      #ff7bd5;

  --accent-grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 52%, var(--pink) 100%);
  --btn-grad:    linear-gradient(100deg, #6fe6ff 0%, #9b8bff 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 11vw, 168px);

  --ease: cubic-bezier(.22, .7, .2, 1);

  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
          -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas,
               "Liberation Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #2a2f3d var(--bg);
}

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

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: rgba(140, 123, 255, .38); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--cyan);
  color: #041016;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* 02. 基础排版与工具类 ---------------------------------------------------- */
section[id] { scroll-margin-top: 88px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 防止某些浏览器裁掉渐变文字的下缘 */
  padding-bottom: .06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #57e08f;
  box-shadow: 0 0 0 0 rgba(87, 224, 143, .55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(87, 224, 143, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(87, 224, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 224, 143, 0); }
}

.index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--text-3);
  margin-bottom: 20px;
}
.index b { color: var(--cyan); font-weight: 500; }

/* 03. 滚动进度 / 噪点 ----------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: rgba(255, 255, 255, .05);
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(92, 225, 255, .6);
}

/* 04. 导航 ---------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 7, 11, .72);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  position: relative;
  z-index: 97;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(92, 225, 255, .18), rgba(138, 123, 255, .22));
  border: 1px solid rgba(140, 160, 255, .3);
  color: #dff7ff;
  font-size: 18px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  flex: none;
}
.brand-mark.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.35;
}
.brand-text em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--text-3);
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color .22s, background .22s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  transition: .25s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover {
  border-color: rgba(92, 225, 255, .55);
  background: rgba(92, 225, 255, .1);
  color: #eafcff;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 97;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* 05. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 16vh, 180px) 0 clamp(80px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner { position: relative; z-index: 2; }

.orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .6;
  will-change: transform;
}
.orb-a {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -14%; left: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(58, 150, 255, .55), transparent 68%);
  animation: drift-a 24s ease-in-out infinite alternate;
}
.orb-b {
  width: 40vw; height: 40vw;
  max-width: 540px; max-height: 540px;
  top: 8%; right: -10%;
  background: radial-gradient(circle at 55% 45%, rgba(150, 90, 255, .5), transparent 68%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
.orb-c {
  width: 32vw; height: 32vw;
  max-width: 420px; max-height: 420px;
  bottom: -14%; left: 34%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 105, 200, .34), transparent 70%);
  animation: drift-c 32s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(6%, 8%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-7%, 10%, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(5%, -9%, 0) scale(1.15); } }

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .062) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .062) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 20%, transparent 78%);
  opacity: 1;
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(33px, 7.6vw, 104px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 16ch;
}

.lede {
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-2);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 44px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s, border-color .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--btn-grad);
  color: #06111a;
  font-weight: 600;
  box-shadow: 0 10px 34px -12px rgba(110, 200, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -12px rgba(130, 180, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  max-width: 640px;
}
.hero-meta li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--text-3);
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--line-soft);
}
.hero-meta li:last-child { border: 0; margin-right: 0; padding-right: 0; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  color: var(--text-3);
}
.hero-scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .35), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  background: var(--cyan);
  animation: scroll-line 2.4s var(--ease) infinite;
}
@keyframes scroll-line {
  0%   { transform: translateY(-110%); }
  60%, 100% { transform: translateY(260%); }
}

/* 06. 跑马灯 -------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(92, 225, 255, .045), rgba(138, 123, 255, .045));
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee span {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee em { color: var(--cyan); font-style: normal; font-size: 11px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 07. 区块通用 ------------------------------------------------------------ */
.section { padding-block: var(--section-y); position: relative; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section-head h2 {
  font-size: clamp(30px, 4.1vw, 54px);
  letter-spacing: -.035em;
  max-width: 20ch;
}
.section-note {
  font-size: 14.5px;
  color: var(--text-2);
  padding-bottom: 6px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.br-mobile { display: none; }

/* 08. 作品 ---------------------------------------------------------------- */
.works { border-top: 1px solid var(--line-soft); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.work-card {
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 12px;
  transition: border-color .4s var(--ease), transform .4s var(--ease),
              box-shadow .4s var(--ease), background .4s;
  transform-style: preserve-3d;
}

.work-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r-lg) - 8px);
  aspect-ratio: 4 / 3;
  background: #0b0d14;
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .9s var(--ease), filter .6s;
  filter: saturate(.92) contrast(1.02);
}
.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 11, .55), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
}

.work-tag {
  position: absolute;
  z-index: 2;
  top: 12px; right: 12px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: #dbe6ff;
  background: rgba(10, 12, 18, .62);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.work-meta {
  position: relative;
  padding: 18px 10px 10px;
}
.work-meta h3 {
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: -.02em;
  padding-right: 64px;
}
.work-meta p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 46ch;
  transition: color .4s;
}
.work-year {
  position: absolute;
  top: 20px; right: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-3);
}

.work-card:hover {
  border-color: rgba(120, 170, 255, .38);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 30px 70px -40px rgba(90, 160, 255, .8);
}
.work-card:hover .work-media img { transform: scale(1.06); filter: saturate(1.06); }
.work-card:hover .work-media::after { opacity: 1; }
.work-card:hover .work-meta p { color: var(--text-2); }

/* 09. 服务 ---------------------------------------------------------------- */
.services { border-top: 1px solid var(--line-soft); }

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

.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: clamp(24px, 3.2vw, 38px) 8px;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), padding-left .4s var(--ease);
  position: relative;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.service:hover { background: linear-gradient(90deg, rgba(92, 225, 255, .045), transparent 60%); }
.service:hover::before { transform: scaleY(1); }

.service-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-3);
  padding-top: 6px;
  transition: color .3s;
}
.service:hover .service-no { color: var(--cyan); }

.service-body h3 { font-size: clamp(20px, 2.3vw, 27px); letter-spacing: -.02em; }
.service-body p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  max-width: 62ch;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 6px;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--text-3);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

/* 10. 关于 ---------------------------------------------------------------- */
.about { border-top: 1px solid var(--line-soft); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about-visual { position: relative; }
.mono-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(92, 225, 255, .16), transparent 55%),
    radial-gradient(circle at 70% 85%, rgba(138, 123, 255, .2), transparent 55%),
    linear-gradient(160deg, #0c0f18, #080a10);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mono-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.mono-mark {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 600;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .92;
  filter: drop-shadow(0 0 40px rgba(120, 140, 255, .35));
}
.mono-line {
  position: absolute;
  bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-3);
}
.mono-badge {
  position: absolute;
  right: -14px; bottom: 34px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(120, 170, 255, .35);
  background: rgba(10, 13, 21, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: .16em;
  color: #bcd6ff;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9);
}

.about-copy h2 {
  font-size: clamp(27px, 3.4vw, 44px);
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.about-copy p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 54ch;
}
.about-copy p + p { margin-top: 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats b {
  display: block;
  font-size: clamp(26px, 3.1vw, 38px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #9fb4d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-3);
}

/* 11. 联系 ---------------------------------------------------------------- */
.contact {
  border-top: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 20%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(110, 120, 255, .16), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 1; text-align: center; }
.contact-inner .index { margin-bottom: 22px; }
.contact h2 {
  font-size: clamp(38px, 6.6vw, 84px);
  letter-spacing: -.045em;
  line-height: 1.04;
}
.contact-sub {
  margin: 26px auto 0;
  max-width: 56ch;
  color: var(--text-2);
  font-size: 15px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(34px, 4vw, 48px);
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -.02em;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: color .3s, border-color .3s;
}
.mail svg { width: .7em; height: .7em; transition: transform .3s var(--ease); }
.mail:hover { color: var(--cyan); border-color: rgba(92, 225, 255, .7); }
.mail:hover svg { transform: translate(3px, -3px); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 12.5px;
  color: var(--text-2);
  transition: .25s var(--ease);
}
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); }

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}
.socials a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-3);
  transition: .25s var(--ease);
}
.socials a:hover {
  color: #fff;
  border-color: rgba(92, 225, 255, .45);
  background: rgba(92, 225, 255, .08);
  transform: translateY(-2px);
}

/* 12. 页脚 ---------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 34px 0;
  background: #05060a;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.45; }
.footer-brand em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--text-3);
}
.footer-note { font-size: 12px; color: var(--text-3); }
.footer-note.dim { color: #4d5464; }

/* 13. Toast --------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  transform: translate(-50%, 20px);
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(16, 20, 30, .94);
  border: 1px solid rgba(120, 200, 255, .35);
  color: #e8f6ff;
  font-size: 13px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
  backdrop-filter: blur(10px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 14. 响应式 -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-note { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; }
  .service { grid-template-columns: 44px minmax(0, 1fr); }
  .service-tags { grid-column: 2; justify-content: flex-start; padding-top: 4px; }
}

@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle { display: grid; }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(6, 7, 11, .96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-links a {
    font-size: 26px;
    font-weight: 500;
    padding: 14px 28px;
    letter-spacing: -.02em;
  }
  .nav-links a::after { left: 28px; right: 28px; bottom: 8px; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; z-index: 95; }

  .work-grid { grid-template-columns: 1fr; }
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
  .hero-scroll { display: none; }
  .mono-badge { right: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { min-height: auto; padding-top: 132px; }
  .hero-meta { row-gap: 10px; }
  .hero-meta li:nth-child(2) { border-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .service-no { padding-top: 0; }
  .service-tags { grid-column: 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .contact-actions { flex-direction: column; }
  .mail { font-size: 20px; }
}

/* 15. 减弱动效 ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* 滚动揭示（由 JS 添加 is-visible） */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease) var(--d, 0s),
              transform .9s var(--ease) var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
