/* =========================================================
   WYEX — AIGC 全栈创作者
   视觉语言：新野兽派 / 粗描边 / 硬阴影 / 高饱和撞色
   ========================================================= */

:root {
  --ink: #101010;
  --ink-2: #2c2c2c;
  --body: #5b5b57;
  --muted: #8b8b86;
  --paper: #ffffff;
  --paper-2: #f4f4f1;
  --paper-3: #e8e8e3;
  --yellow: #ffc63d;
  --coral: #ff5f5f;
  --blue: #2f7bf6;
  --purple: #5b4be8;
  --green: #4ec46b;

  --shadow-1: 3px 3px 0 var(--ink);
  --shadow-2: 6px 6px 0 var(--ink);
  --shadow-3: 9px 9px 0 var(--ink);
  --r-card: 22px;
  --r-btn: 10px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

.skip {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}

.skip:focus {
  transform: translate(-50%, 0);
}

/* ============ 高亮标记 ============ */
.mark {
  display: inline-block;
  padding: 0.02em 0.16em 0.08em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.06;
}

.mark-coral {
  background: var(--coral);
  color: #fff;
}
.mark-blue {
  background: var(--blue);
  color: #fff;
}
.mark-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.mark-purple {
  background: var(--purple);
  color: #fff;
}

/* ============ 导航 ============ */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  pointer-events: none;
}

.nav {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(16, 16, 16, 0.1), 0 14px 32px rgba(16, 16, 16, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 12px 2px 4px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--yellow);
  flex: none;
}

.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-link:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.nav-link.is-active {
  background: var(--ink);
  color: #fff;
}

.nav-link-contact {
  display: none;
}

.nav-cta {
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-mail,
.nav-burger {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-left: 4px;
  transition: transform 0.18s var(--ease);
}

.nav-mail:hover,
.nav-burger:hover {
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 3px;
}

.nav-burger span {
  display: block;
  width: 14px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.2s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ============ 英雄区 ============ */
.hero {
  padding: 108px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(78, 196, 107, 0.5);
  animation: pulse 2.4s infinite;
  flex: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(78, 196, 107, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(78, 196, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(78, 196, 107, 0);
  }
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.85vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-title .mark {
  padding-left: 0.14em;
  padding-right: 0.14em;
}

.hero-lead {
  max-width: 33em;
  margin: 0 0 22px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.85;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag {
  padding: 6px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.tag-yellow {
  background: var(--yellow);
}
.tag-coral {
  background: var(--coral);
  color: #fff;
}
.tag-blue {
  background: var(--blue);
  color: #fff;
}
.tag-ink {
  background: var(--ink);
  color: #fff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 21px;
  border: 2px solid var(--ink);
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background 0.16s;
}

.btn svg {
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--ink);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-paper {
  background: #fff;
  color: var(--ink);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.hero-meta svg {
  color: var(--coral);
}

.hero-meta span {
  color: var(--body);
}

/* 肖像 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

.portrait-card {
  position: relative;
  width: min(100%, 396px);
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
  background: var(--yellow);
  box-shadow: var(--shadow-3);
  transform: rotate(-1.2deg);
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.portrait-card img {
  width: 100%;
  height: auto;
  transform: scale(1.035);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-1);
  white-space: nowrap;
}

.chip-status {
  left: -6px;
  bottom: 34px;
  transform: rotate(-2deg);
}

.chip-role {
  top: 26px;
  right: -8px;
  background: var(--yellow);
  transform: rotate(2deg);
}

/* ============ 跑马灯 ============ */
.marquee {
  margin-top: 24px;
  padding: 13px 0;
  background: var(--ink);
  color: #fff;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  color: var(--yellow);
  font-size: 13px;
  line-height: 1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============ 通用区块 ============ */
.sec {
  padding: 76px 0;
}

.sec-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.sec-head.is-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 1px;
}

.sec-title {
  margin: 0;
  font-size: clamp(29px, 3.5vw, 45px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.sec-sub {
  margin: 14px 0 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============ 能力卡片 ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.svc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.svc-art {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.svc-body {
  padding: 21px 23px 25px;
}

.svc-body h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.svc-body p {
  margin: 0;
  color: var(--body);
  font-size: 13.4px;
  line-height: 1.78;
}

.svc-cta {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 26px;
  background: var(--yellow);
  box-shadow: var(--shadow-2);
}

.svc-cta .cta-badge {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-1);
}

.svc-cta h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.svc-cta p {
  margin: 0;
  max-width: 26em;
  color: #3d3116;
  font-size: 13.2px;
  line-height: 1.75;
}

.svc-cta .btn {
  height: 44px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.svc-cta .btn:hover {
  box-shadow: 4px 5px 0 var(--ink);
}

/* ============ 设备插画（纯 CSS 构件） ============ */
.mock {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 11px;
  box-shadow: var(--shadow-2);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-bottom: 2px solid var(--ink);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  flex: none;
}

.dot-r {
  background: var(--coral);
}
.dot-y {
  background: var(--yellow);
}
.dot-g {
  background: var(--green);
}
.dot-b {
  background: var(--blue);
}

.ln {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #161616;
  opacity: 0.9;
}

.ln-light {
  background: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

/* 浏览器 */
.mock-browser {
  width: 246px;
}

.browser-body {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 12px;
  padding: 13px;
}

.browser-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.browser-dots {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: #fff;
}

.browser-dots i.is-blue {
  background: var(--blue);
}

.gen-panel {
  display: grid;
  place-items: center;
  height: 78px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.mock .cursor {
  position: absolute;
  right: -9px;
  bottom: -11px;
  width: 25px;
  height: 25px;
}

/* 手机 */
.mock-phone {
  position: relative;
  width: 128px;
  height: 186px;
  padding: 12px 10px 10px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-2);
}

.phone-notch {
  width: 38px;
  height: 5px;
  margin: 0 auto 11px;
  border-radius: 99px;
  background: var(--ink);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.phone-card {
  position: relative;
  height: 62px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--coral);
}

.phone-card .ln {
  background: #fff;
  opacity: 0.92;
}

.handle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
}

.h-tl {
  top: -5px;
  left: -5px;
}
.h-tr {
  top: -5px;
  right: -5px;
}
.h-bl {
  bottom: -5px;
  left: -5px;
}
.h-br {
  bottom: -5px;
  right: -5px;
}

.phone-blocks {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.blk {
  width: 26px;
  height: 20px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.blk-y {
  background: var(--yellow);
}
.blk-b {
  background: var(--blue);
}

.phone-toolbar {
  position: absolute;
  top: 38px;
  right: -26px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 99px;
  box-shadow: var(--shadow-1);
}

.phone-toolbar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

/* 视频卡片 */
.mock-video {
  position: relative;
  width: 232px;
  height: 148px;
}

.vid-card {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: #fff;
}

.vid-back {
  top: 4px;
  left: 30px;
  width: 168px;
  height: 104px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-2);
}

.vid-front {
  left: 16px;
  top: 22px;
  width: 176px;
  height: 108px;
  display: grid;
  place-items: center;
  background: var(--purple);
  transform: rotate(1.5deg);
  box-shadow: var(--shadow-2);
  z-index: 2;
}

.play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
}

.play svg {
  margin-left: 2px;
}

.vid-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 96px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: var(--shadow-1);
}

.slider {
  position: relative;
  display: block;
  height: 5px;
  border-radius: 99px;
  background: var(--coral);
}

.slider i {
  position: absolute;
  right: 16px;
  top: -5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
}

.blip {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.blip-coral {
  background: var(--coral);
  right: 2px;
  top: 8px;
}

/* 工作流 */
.mock-flow {
  position: relative;
  width: 244px;
  height: 152px;
}

.flow-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 9px 11px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.flow-a {
  top: 6px;
  left: 4px;
  width: 82px;
  height: 46px;
  border-radius: 8px;
}

.flow-b {
  top: 22px;
  left: 116px;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  border-radius: 50%;
  background: var(--yellow);
}

.flow-c {
  top: 84px;
  right: 4px;
  width: 96px;
  height: 50px;
  border-radius: 8px;
  background: var(--blue);
}

.flow-link {
  position: absolute;
  border-top: 2px dashed rgba(16, 16, 16, 0.55);
  transform-origin: left center;
}

.link-1 {
  top: 30px;
  left: 88px;
  width: 26px;
}

.link-2 {
  top: 64px;
  left: 148px;
  width: 46px;
  transform: rotate(58deg);
}

.flow-badge {
  position: absolute;
  left: 84px;
  bottom: 2px;
  padding: 3px 8px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 2px 2px 0 var(--ink);
}

/* 医疗 */
.mock-health {
  position: relative;
  width: 208px;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 11px;
  box-shadow: var(--shadow-2);
}

.health-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.health-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  flex: none;
}

.ecg {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 6px;
}

.capsule {
  position: absolute;
  right: -12px;
  bottom: -10px;
  width: 52px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--yellow) 0 50%, #fff 50% 100%);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ============ 关于 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.about-figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 372px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--ink);
}

.about-disc img {
  width: 84%;
  height: auto;
  filter: drop-shadow(7px 7px 0 rgba(16, 16, 16, 1));
}

.about-sticker {
  position: absolute;
  left: 2%;
  bottom: 8%;
  padding: 8px 13px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: var(--shadow-1);
  transform: rotate(-3deg);
  white-space: nowrap;
}

.about-copy p {
  margin: 0 0 24px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.9;
}

.about-copy .sec-title {
  margin-bottom: 18px;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.stat {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
}

.stat i {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border: 2px solid var(--ink);
  border-radius: 2px;
}

.stat b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 2px;
}

.stat span {
  display: block;
  color: var(--body);
  font-size: 13.4px;
  line-height: 1.7;
}

.stat-blue i {
  background: var(--blue);
}
.stat-coral i {
  background: var(--coral);
}
.stat-yellow i {
  background: var(--yellow);
}

.motto {
  position: relative;
  padding: 22px 26px 22px 30px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-1);
}

.motto::before {
  content: "“";
  position: absolute;
  left: 10px;
  top: 2px;
  color: var(--yellow);
  font-size: 40px;
  line-height: 1;
  font-family: Georgia, serif;
}

.motto p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.motto small {
  display: block;
  margin-top: 6px;
  color: #a5a5a0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ============ 作品 ============ */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
  margin-bottom: 26px;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.work:hover {
  transform: translateY(-4px);
  box-shadow: 11px 11px 0 var(--ink);
}

.work-info {
  padding: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.work-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.work-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  flex: none;
}

.work-logo.is-blue {
  background: var(--blue);
  color: #fff;
}

.pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.work h3 {
  margin: 12px 0 12px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.work-info p {
  margin: 0 0 22px;
  color: var(--body);
  font-size: 13.6px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: gap 0.18s var(--ease);
}

.text-link:hover {
  gap: 11px;
}

.work-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px 26px;
  border-left: 2px solid var(--ink);
  overflow: hidden;
}

.work-visual.is-purple {
  background: var(--purple);
}
.work-visual.is-blue {
  background: var(--blue);
}

.work-visual::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.work-visual::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}

/* 笔记本电脑 */
.laptop {
  position: relative;
  z-index: 1;
  width: 292px;
}

.laptop-screen {
  display: grid;
  grid-template-columns: 46px 1fr 34px;
  gap: 9px;
  height: 176px;
  padding: 11px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 11px;
  box-shadow: var(--shadow-2);
}

.lap-side {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-right: 6px;
  border-right: 1.5px solid var(--paper-3);
}

.lap-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lap-video {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--purple);
}

.play-sm {
  width: 28px;
  height: 28px;
}

.lap-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 5px;
  border-left: 1.5px solid var(--paper-3);
}

.laptop-base {
  width: 112%;
  height: 12px;
  margin: -1px 0 0 -6%;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 2px 2px 8px 8px;
}

/* 设计系统浏览器 */
.mock-ds {
  width: 300px;
  z-index: 1;
}

.ds-body {
  padding: 14px;
}

.ds-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 11px;
  border: 2px solid var(--ink);
  border-radius: 99px;
}

.ds-search span {
  width: 54%;
  height: 3px;
  border-radius: 2px;
  background: var(--paper-3);
}

.ds-swatches {
  display: flex;
  gap: 7px;
  margin: 13px 0;
}

.ds-swatches i {
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 5px;
}

.ds-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.ds-pills {
  display: flex;
  gap: 7px;
}

.ds-pills i {
  width: 46px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 99px;
}

.ds-pills i:first-child {
  background: var(--yellow);
}

/* ============ 历程（深色） ============ */
.journey {
  background: var(--ink);
  color: #fff;
  padding: 86px 0 92px;
}

.journey .eyebrow {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.journey-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 62px);
  align-items: start;
}

.journey .sec-title {
  color: #fff;
}

.journey-copy p {
  max-width: 26em;
  margin: 18px 0 26px;
  color: #adada8;
  font-size: 14.5px;
  line-height: 1.85;
}

.j-card {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.j-card:last-child {
  margin-bottom: 0;
}

.j-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--ink);
}

.j-head span {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.j-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  flex: none;
}

.j-icon.is-coral {
  background: var(--coral);
}
.j-icon.is-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.j-body {
  padding: 16px 20px 20px;
}

.j-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.j-body p {
  margin: 0;
  color: var(--body);
  font-size: 13.2px;
  line-height: 1.75;
}

/* ============ 正在关注 ============ */
.focus-card {
  position: relative;
  min-height: 268px;
  padding: clamp(26px, 3.6vw, 46px);
  padding-right: clamp(26px, 27vw, 300px);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 9px 9px 0 var(--yellow);
}

.focus-quote {
  position: absolute;
  top: -22px;
  left: 26px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.focus-card h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.focus-card > p {
  max-width: 34em;
  margin: 0 0 20px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}

.focus-photo {
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: clamp(190px, 24vw, 282px);
  margin: 0;
  filter: drop-shadow(8px 8px 0 rgba(16, 16, 16, 1));
}

.focus-photo img {
  width: 100%;
  height: auto;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 30em;
}

/* ============ 文章 ============ */
.articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.articles-head .sec-title {
  margin: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 22px;
}

.a-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.a-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.a-thumb {
  position: relative;
  display: grid;
  place-items: center;
  height: 236px;
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.a-body {
  padding: 22px 24px 26px;
}

.a-body h3 {
  margin: 11px 0 9px;
  font-size: 19px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.a-body p {
  margin: 0 0 16px;
  color: var(--body);
  font-size: 13.2px;
  line-height: 1.78;
}

.a-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px solid var(--paper-3);
}

.a-meta img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
  flex: none;
}

.a-meta b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.a-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.a-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.a-side .a-card {
  flex: 1;
  display: grid;
  grid-template-columns: 168px 1fr;
}

.a-side .a-thumb {
  height: 100%;
  min-height: 178px;
  border-bottom: 0;
  border-right: 2px solid var(--ink);
}

.a-side .a-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.a-side .a-body h3 {
  font-size: 15.5px;
  margin: 9px 0 8px;
}

.a-side .a-body p {
  font-size: 12.4px;
  margin-bottom: 12px;
}

.a-side .pill {
  align-self: flex-start;
}

/* 文章缩略图构件 */
.thumb-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.mock-sm {
  width: 232px;
  transform: scale(0.94);
}

.pen-card {
  position: absolute;
  left: 24px;
  bottom: 26px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  transform: rotate(-6deg);
}

.palette {
  position: absolute;
  right: 22px;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: rotate(6deg);
}

.palette i {
  width: 44px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.doc-mock {
  position: relative;
  width: 132px;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-1);
}

.doc-mock .ln {
  margin-bottom: 8px;
}

.doc-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.doc-row i {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

.doc-row i:first-child {
  background: var(--yellow);
}

.h1-mark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 9px;
}

/* ============ 页脚 / 订阅 ============ */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 26px;
}

.sub {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 16px 14px 84px;
  margin-bottom: 54px;
  background: #fff;
  border-radius: 18px;
  color: var(--ink);
}

.sub-icon {
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--shadow-1);
}

.sub-label {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sub-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.sub-form {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sub-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  outline: none;
}

.sub-form input::placeholder {
  color: var(--muted);
}

.sub-form input:focus {
  box-shadow: 0 0 0 3px rgba(47, 123, 246, 0.35);
}

.sub-form button {
  height: 46px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.16s var(--ease);
}

.sub-form button:hover {
  transform: translateY(-1px);
}

.sub-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.sub-msg {
  font-size: 12.5px;
  font-weight: 700;
  color: #2f7bf6;
  min-height: 1em;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr;
  gap: 40px;
  padding-bottom: 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.footer-desc {
  max-width: 24em;
  margin: 0 0 20px;
  color: #9b9b96;
  font-size: 13px;
  line-height: 1.8;
}

.socials {
  display: flex;
  gap: 9px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 0.18s var(--ease);
}

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

.socials a:nth-child(1) {
  background: var(--yellow);
}
.socials a:nth-child(2) {
  background: var(--blue);
  color: #fff;
}
.socials a:nth-child(3) {
  background: var(--coral);
  color: #fff;
}
.socials a:nth-child(4) {
  background: var(--purple);
  color: #fff;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a,
.footer-links span {
  color: #9b9b96;
  font-size: 13px;
  transition: color 0.18s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #7e7e79;
  font-size: 12px;
}

/* ============ 提示条 ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  transform: translate(-50%, 120%);
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: var(--shadow-1);
  transition: transform 0.28s var(--ease);
  pointer-events: none;
}

.toast.is-on {
  transform: translate(-50%, 0);
}

/* ============ 入场动画 ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(34px, 5vw, 48px);
  }

  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-cta {
    grid-column: span 2;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    gap: 20px;
    padding: 24px 28px;
  }

  .svc-cta .cta-badge {
    width: 56px;
    height: 56px;
    flex: none;
  }

  .svc-cta .btn {
    margin-left: auto;
  }

  .focus-card {
    padding-right: clamp(26px, 30vw, 260px);
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 100px;
  }

  .hero-grid,
  .about-grid,
  .journey-grid,
  .work,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 8px;
  }

  .portrait-card {
    width: min(100%, 320px);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .chip-status {
    left: 0;
    bottom: 18px;
  }

  .chip-role {
    top: 14px;
    right: 0;
  }

  .work-visual {
    border-left: 0;
    border-top: 2px solid var(--ink);
    min-height: 260px;
  }

  .a-side .a-card {
    grid-template-columns: 148px 1fr;
  }

  .focus-card {
    padding-right: clamp(26px, 3.6vw, 46px);
    padding-bottom: 30px;
  }

  .focus-photo {
    position: static;
    display: block;
    width: 200px;
    margin: 26px 0 0 auto;
    filter: drop-shadow(6px 6px 0 rgba(16, 16, 16, 1));
  }

  .articles-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .sub {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 14px;
    margin-top: 0;
  }

  .sub-icon {
    position: static;
    transform: none;
    width: 52px;
    height: 52px;
  }

  .sub-right {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(16, 16, 16, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0.2s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    padding: 11px 14px;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-link-contact {
    display: block;
  }

  .sec {
    padding: 66px 0;
  }

  .journey {
    padding: 66px 0 72px;
  }

  .about-figure {
    margin-bottom: 6px;
  }

  .about-disc {
    width: min(100%, 320px);
  }
}

@media (max-width: 640px) {
  .sub-form {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-form button {
    height: 44px;
  }

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

  .svc-cta {
    grid-column: auto;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .svc-cta .btn {
    margin-left: 0;
  }

  .svc-art {
    height: 196px;
  }

  .a-side .a-card {
    grid-template-columns: 1fr;
  }

  .a-side .a-thumb {
    min-height: 160px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .a-thumb {
    height: 200px;
  }

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

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta span {
    display: inline;
  }

  .mock-browser,
  .mock-ds {
    transform: scale(0.94);
  }

  .laptop {
    width: 100%;
    max-width: 292px;
  }
}

@media (max-width: 400px) {
  .nav-name {
    display: none;
  }

  .nav-brand {
    padding-right: 4px;
  }

  .float-chip {
    font-size: 10.5px;
    padding: 6px 10px;
  }

  .hero-title {
    font-size: 31px;
  }
}

/* 尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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