/* =========================================================
   陈屿 · 个人网站
   风格：新粗野主义 / Neo-brutalism
   粗黑描边 + 硬阴影 + 高饱和色块 + 手绘扁平插画
   ========================================================= */

:root {
  --ink: #0E0E0E;
  --paper: #FFFFFF;
  --soft: #F2F2F0;
  --muted: #5B5B5B;

  --coral: #FF6B7A;
  --blue: #4C7DFF;
  --purple: #7B5CFA;
  --yellow: #FFC83D;
  --mint: #B9F26B;

  --bd: 2.5px solid var(--ink);
  --sh: 6px 6px 0 var(--ink);
  --sh-sm: 4px 4px 0 var(--ink);
  --sh-lg: 10px 10px 0 var(--ink);

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;

  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI Variable Display", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

::selection { background: var(--yellow); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- 字体层级 ---------- */
.display {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.022em;
}

.display-2 {
  font-size: clamp(30px, 3.9vw, 48px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
}

.display-3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.015em;
}

.lead { color: var(--muted); font-size: 16.5px; line-height: 1.75; max-width: 54ch; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- 高亮色块（参考图的荧光笔效果） ---------- */
.hl {
  --c: var(--yellow);
  display: inline-block;
  line-height: 1;
  padding: .05em .09em;
  margin-inline: -.02em;
  background: var(--c);
  color: var(--ink);
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-coral  { --c: var(--coral);  color: #fff; }
.hl-blue   { --c: var(--blue);   color: #fff; }
.hl-purple { --c: var(--purple); color: #fff; }
.hl-mint   { --c: var(--mint);   color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: var(--bd);
  border-radius: 14px;
  background: var(--paper);
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: var(--sh-sm);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1d1d1d; }
.btn-yellow { background: var(--yellow); }
.btn-sm { padding: 11px 20px; font-size: 14.5px; border-radius: 12px; }

/* 文字链接箭头 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 15px;
  border-bottom: 2.5px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .18s var(--ease);
}
.link-arrow:hover { gap: 13px; }
.link-arrow svg { width: 17px; height: 17px; }

/* ---------- 顶部导航 ---------- */
.navwrap {
  position: sticky;
  top: 16px;
  z-index: 60;
  padding-inline: 18px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px 9px 16px;
  background: var(--paper);
  border: var(--bd);
  border-radius: 999px;
  box-shadow: var(--sh);
}

.logo {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .3s var(--ease);
}
.logo:hover { transform: rotate(-14deg); }
.logo svg { width: 30px; height: 30px; }

.navlinks {
  display: flex;
  gap: 2px;
  margin-inline: auto;
}

.navlinks a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  transition: background .16s, color .16s;
}
.navlinks a:hover { background: var(--soft); }

/* 当前页高亮：由 build.py 在对应文件里写死 class，纯静态 */
.navlinks a.current {
  background: var(--ink);
  color: #fff;
}

.iconbtn {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--coral);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.iconbtn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--coral); }
.iconbtn svg { width: 20px; height: 20px; }


/* ---------- 页面 ----------
   每个 tab 是一个独立的 HTML 文件（index / about / articles / works），
   导航就是普通的页面跳转：不依赖 JS、不依赖 :target、不依赖 hash，
   在任何预览容器或浏览器里都能打开。 */

.page {
  display: block;
  animation: pagein .38s var(--ease) both;
}

@keyframes pagein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 首页 Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 58px;
  align-items: center;
  padding-block: 74px 44px;
}

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  margin-bottom: 22px;
  border: var(--bd);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
.pill-note .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.35); }
}

.hero .display { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; }

.art-card {
  border: var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  background: var(--yellow);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.art-card svg { width: 100%; height: 100%; }

.art-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  padding: 12px 18px;
  background: var(--paper);
  border: var(--bd);
  border-radius: 14px;
  box-shadow: var(--sh-sm);
  font-size: 13.5px;
  font-weight: 800;
  transform: rotate(-4deg);
}
.art-badge b { color: var(--coral); }

.art-sticker {
  position: absolute;
  right: -14px;
  top: -18px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  border: var(--bd);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  font-size: 13.5px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: .04em;
  transform: rotate(10deg);
}

/* ---------- 跑马灯 ---------- */
.marquee {
  margin-top: 26px;
  background: var(--ink);
  color: #fff;
  border-block: var(--bd);
  overflow: hidden;
}
.mq-track {
  display: flex;
  width: max-content;
  animation: marq 32s linear infinite;
}
.mq-group { display: flex; flex: none; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

.mq-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px 24px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.mq-item svg { width: 15px; height: 15px; }

/* ---------- 区块 ---------- */
.block { padding-block: 76px; }
.block-tight { padding-block: 44px; }

.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 16px; }

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ---------- 服务卡 ---------- */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.svc {
  background: var(--paper);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.svc:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.svc-art {
  display: grid;
  place-items: center;
  padding: 20px 16px;
  background: var(--soft);
  border-bottom: var(--bd);
}
.svc-art svg { width: 100%; max-width: 236px; height: auto; }

.svc-body { padding: 24px 26px 28px; }
.svc-body h3 { font-size: 21px; font-weight: 900; margin-bottom: 10px; letter-spacing: -.01em; }
.svc-body p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.svc-tags span {
  padding: 4px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--paper);
}

/* ---------- 作品卡（横条） ---------- */
.worklist { display: grid; gap: 26px; }

.work {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  background: var(--paper);
  border: var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.work:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.work-info {
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
}
.brand-mark i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--ink);
}
.brand-mark.p { background: var(--purple); }
.brand-mark.p i { background: #fff; }
.brand-mark.y { background: var(--yellow); }

.tag {
  display: inline-block;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tag.ghost { background: var(--paper); color: var(--ink); }

.work-info h3 { font-size: clamp(21px, 2.1vw, 27px); font-weight: 900; letter-spacing: -.015em; }
.work-info p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.work-info .link-arrow { margin-top: 6px; }

.work-art {
  display: grid;
  place-items: center;
  padding: 30px;
  border-left: var(--bd);
}
.work-art svg { width: 100%; max-width: 400px; height: auto; }
.work-art.purple { background: var(--purple); }
.work-art.blue   { background: var(--blue); }
.work-art.coral  { background: var(--coral); }
.work-art.yellow { background: var(--yellow); }
.work-art.mint   { background: var(--mint); }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--bd);
  border-radius: var(--r-md);
  box-shadow: var(--sh);
  overflow: hidden;
  background: var(--paper);
}
.stats > div {
  padding: 30px 24px;
  text-align: center;
  border-right: var(--bd);
}
.stats > div:last-child { border-right: 0; }
.stats b {
  display: block;
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stats span { font-size: 14px; font-weight: 700; color: var(--muted); }
.stats > div:nth-child(1) b { color: var(--coral); }
.stats > div:nth-child(2) b { color: var(--blue); }
.stats > div:nth-child(3) b { color: var(--purple); }
.stats > div:nth-child(4) b { color: #C99700; }

/* ---------- CTA 大块 ---------- */
.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 54px 56px;
  background: var(--yellow);
  border: var(--bd);
  border-radius: 28px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.cta-box::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  opacity: .35;
}
.cta-box h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.cta-box .btn { position: relative; z-index: 1; }

/* ---------- 关于：圆形插画 ---------- */
.about-top {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
  padding-block: 66px 56px;
}

.circle-art {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: var(--bd);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  background: var(--coral);
}
.circle-art svg { width: 100%; height: 100%; }

.about-copy .display-2 { margin-bottom: 22px; }
.about-copy .lead { margin-bottom: 30px; }

.points { display: grid; gap: 18px; margin-bottom: 32px; }
.points li { display: flex; gap: 14px; }
.sq {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
}
.sq.p { background: var(--purple); }
.sq.c { background: var(--coral); }
.sq.b { background: var(--blue); }

.points b { display: block; font-size: 16.5px; font-weight: 800; margin-bottom: 3px; }
.points p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- 深色区 ---------- */
.dark {
  background: var(--ink);
  color: #fff;
  padding-block: 80px;
}
.dark .lead { color: #A9A9A9; }
.dark .display-2 { color: #fff; }

.exp-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 60px;
  align-items: start;
}

.exp-intro { position: sticky; top: 110px; }
.exp-intro .display-2 { margin-bottom: 20px; }
.exp-intro .lead { margin-bottom: 28px; }
.btn-light { background: #fff; color: var(--ink); }

.exp-list { display: grid; gap: 20px; }

.exp {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, .16);
  overflow: hidden;
  transition: transform .18s var(--ease);
}
.exp:hover { transform: translate(-3px, -3px); }

.exp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  border-bottom: 2px solid #E8E8E8;
  font-weight: 800;
  font-size: 14.5px;
}
.expi {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}
.expi.b { background: var(--blue); color: #fff; }
.expi.p { background: var(--purple); color: #fff; }
.expi.y { background: var(--yellow); }

.exp-body { padding: 20px 22px 24px; }
.exp-body h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.exp-body p { color: var(--muted); font-size: 14.5px; line-height: 1.72; }

/* ---------- 竖向时间线（左右两侧都能加条目） ---------- */
.tl-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 880px;
  margin: 0 auto 6px;
}
.tl-head span {
  justify-self: center;
  padding: 6px 18px;
  border: var(--bd);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: .06em;
}
.tl-head span:first-child { background: var(--yellow); }
.tl-head span:last-child { background: var(--mint); }

.timeline {
  position: relative;
  max-width: 880px;
  margin: 26px auto 0;
  padding: 4px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  margin-left: -1px;
  border-left: 2px dashed var(--ink);
}
.tl-item {
  position: relative;
  width: 50%;
  padding-right: 44px;
  margin-bottom: 28px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item.right {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 44px;
}
.tl-dot {
  position: absolute;
  top: 20px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
}
.tl-item.right .tl-dot { right: auto; left: -10px; }
.tl-dot.p { background: var(--purple); }
.tl-dot.b { background: var(--blue); }
.tl-dot.m { background: var(--mint); }
.tl-card {
  background: var(--paper);
  border: var(--bd);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  padding: 18px 20px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.tl-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.tl-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--muted);
}
.tl-card h3 { font-size: 19px; font-weight: 900; line-height: 1.3; margin: 6px 0 8px; }
.tl-card p { color: var(--muted); font-size: 14.5px; line-height: 1.72; }

.skill { margin-bottom: 24px; }
.skill:last-child { margin-bottom: 0; }
.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
  font-weight: 800;
  font-size: 15.5px;
}
.skill-top b { font-size: 14px; color: var(--muted); }

.bar {
  height: 18px;
  border: var(--bd);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 2px 2px 0 var(--ink);
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 999px 0 0 999px;
  width: var(--w);   /* 默认就是满的：没有 JS 也能看到真实比例 */
}
.js .bar i {
  width: 0;
  transition: width 1.1s var(--ease);
}
.js .bar.in i { width: var(--w); }

/* ---------- 评价 ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quotes.three { grid-template-columns: repeat(3, 1fr); }

.quote {
  position: relative;
  padding: 42px 34px 30px;
  background: var(--paper);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--sh);
}
.quote-mark {
  position: absolute;
  left: 28px;
  top: -22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: var(--bd);
  border-radius: 50%;
}
.quote-mark svg { width: 20px; height: 20px; }
.quote p { font-size: 15.5px; line-height: 1.75; margin-bottom: 22px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  flex: none;
  background: var(--soft);
}
.avatar svg { width: 100%; height: 100%; }
.quote-author b { display: block; font-size: 15px; font-weight: 800; }
.quote-author span { font-size: 13px; color: var(--muted); }

/* 我信的那几条：没有头像，序号条压在上沿 */
.quote.principle { padding-top: 40px; }
.quote.principle p { font-size: 16.5px; font-weight: 700; line-height: 1.68; margin-bottom: 18px; }
.quote.principle .quote-mark { background: var(--yellow); color: var(--ink); }
.quote.principle:nth-child(2) .quote-mark { background: var(--mint); }
.quote.principle:nth-child(3) .quote-mark { background: var(--coral); }

/* ---------- 页头 ---------- */
.page-head { padding-block: 64px 44px; }
.page-head .display-2 { margin-bottom: 16px; }
.page-head .lead { max-width: 60ch; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 9px 19px;
  border: var(--bd);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .14s, color .14s;
}
.chip.active { background: var(--ink); color: #fff; }

/* ---------- 文章 ---------- */
.art-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 26px;
  margin-bottom: 40px;
  align-items: start;
}

.art-feat {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.art-feat:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.thumb {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-bottom: var(--bd);
  padding: 26px;
}
.thumb svg { width: 100%; max-width: 330px; height: auto; }
.art-feat .thumb { aspect-ratio: 16 / 10; }

.badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 6px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
}

.art-feat-body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.art-feat-body h3 { font-size: clamp(22px, 2.3vw, 29px); font-weight: 900; letter-spacing: -.018em; line-height: 1.28; }
.art-feat-body p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.art-meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
}
.art-meta b { font-weight: 800; }
.art-meta span { color: var(--muted); }

.art-list { display: grid; gap: 26px; align-content: start; }

.art-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--paper);
  border: var(--bd);
  border-radius: 20px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.art-row:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.art-row .thumb { border-bottom: 0; border-right: var(--bd); padding: 16px; }
.art-row .thumb svg { max-width: 150px; }
.art-row .badge { right: 10px; top: 10px; padding: 4px 10px; font-size: 11.5px; }

.art-row-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.art-row-body h3 { font-size: 18px; font-weight: 900; line-height: 1.35; letter-spacing: -.01em; }
.art-row-body p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.art-row-body .small { font-size: 12.5px; }

.art-rows { display: grid; gap: 18px; }

/* 订阅 */
.subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 40px 44px;
  border: var(--bd);
  border-radius: 24px;
  box-shadow: var(--sh);
  background: var(--mint);
}
.subscribe h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.015em; margin-bottom: 6px; }
.subscribe p { font-size: 14.5px; color: #3E4A2B; }
.sub-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sub-form input {
  padding: 14px 18px;
  min-width: 240px;
  border: var(--bd);
  border-radius: 13px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  box-shadow: var(--sh-sm);
  outline: none;
}
.sub-form input:focus { box-shadow: 4px 4px 0 var(--blue); }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 40px;
  background: var(--ink);
  color: #fff;
  padding-block: 72px 26px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1.5px solid #2A2A2A;
}
.foot h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.18; letter-spacing: -.02em; margin-bottom: 26px; }
.foot .btn { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--coral); }
.foot .btn:hover { box-shadow: 6px 6px 0 var(--coral); }

.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7E7E7E;
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: #E4E4E4;
  transition: color .16s, transform .16s;
}
.foot-col a:hover { color: var(--yellow); transform: translateX(4px); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13.5px;
  color: #8A8A8A;
}

/* ---------- 滚动出现 ---------- */
/* 只有确认脚本能跑（html.js）才把元素先藏起来做动画。
   否则脚本被沙箱拦掉时，整页内容会一直是 opacity:0 —— 也就是「什么都看不到」。 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 真实照片（替换手绘插画头像） ---------- */
/* 照片本身自带黄底 + 黑色贴纸描边，稍微放大一点把外侧白边挤出可视区 */
.art-card img.photo { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.05); }
.circle-art img.photo { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); }
.avatar img.photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 可点击的卡片与分类标签 ---------- */
a.chip { display: inline-block; text-decoration: none; color: inherit; }
a.chip:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
a.chip.active:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }

a.art-feat, a.art-row, a.work { text-decoration: none; color: inherit; }
a.art-feat:focus-visible, a.art-row:focus-visible, a.work:focus-visible, a.chip:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- 文章 / 作品详情页 ---------- */
.post-wrap { max-width: 800px; margin-inline: auto; padding-block: 40px 90px; }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 16px;
  border: var(--bd);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.post-back:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }

.post-head { margin-top: 26px; }
.post-cat { margin-bottom: 18px; }
.post-title {
  font-size: clamp(27px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.028em;
  margin-bottom: 18px;
}
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.post-meta b { color: var(--ink); font-weight: 800; }

.post-cover {
  border: var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  background: var(--soft);
  padding: 44px;
  display: grid;
  place-items: center;
  margin: 32px 0 44px;
}
.post-cover svg { width: 100%; max-width: 300px; height: auto; }

.prose { font-size: 16.5px; line-height: 1.92; color: #1B1B1B; }
.prose p { margin-bottom: 20px; }
.prose strong { font-weight: 900; box-shadow: inset 0 -.42em 0 var(--yellow); }
.prose code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: .9em;
  background: var(--soft);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}
.prose h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.02em;
  margin: 42px 0 16px;
  padding-bottom: 10px;
  border-bottom: var(--bd);
}
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 11px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 3px;
}
.prose blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 6px solid var(--ink);
  background: var(--soft);
  border-radius: 0 16px 16px 0;
  font-weight: 800;
  font-size: 16px;
}

.post-foot {
  margin-top: 56px;
  padding-top: 30px;
  border-top: var(--bd);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .post-wrap { padding-block: 26px 64px; }
  .post-cover { padding: 26px; margin: 26px 0 32px; }
  .post-foot { flex-direction: column; align-items: stretch; }
  .post-foot .btn { justify-content: center; }
  .post-foot .post-back { justify-content: center; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 54px 30px; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .about-top { grid-template-columns: 1fr; gap: 44px; }
  .circle-art { max-width: 400px; margin-inline: auto; }
  .exp-grid { grid-template-columns: 1fr; gap: 36px; }
  .exp-intro { position: static; }
  .art-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .quotes.three { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .cards3 { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
  .work-art { border-left: 0; border-top: var(--bd); order: -1; padding: 24px; }
  .work-info { padding: 28px 26px 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(1),
  .stats > div:nth-child(2) { border-bottom: var(--bd); }
  .quotes { grid-template-columns: 1fr; }
  .art-row { grid-template-columns: 150px 1fr; }
  /* 窄屏不用汉堡（汉堡要 JS），导航直接折成两行，纯 CSS 就能点 */
  .nav { flex-wrap: wrap; padding: 9px 12px; row-gap: 6px; border-radius: 26px; }
  .logo { order: 1; }
  .iconbtn { order: 2; margin-left: auto; width: 40px; height: 40px; }
  .navlinks {
    order: 3;
    width: 100%;
    margin: 2px 0 0;
    justify-content: space-between;
    border-top: 1.5px solid #ECECEC;
    padding-top: 7px;
  }
  .navlinks a { padding: 7px 8px; font-size: 14.5px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .navwrap { padding-inline: 12px; top: 10px; }
  .block { padding-block: 56px; }
  /* 时间线在手机上仍然居中，卡片左右交替，只是整体缩小 */
  .tl-head span { padding: 5px 12px; font-size: 12px; }
  .tl-item { padding-right: 20px; margin-bottom: 18px; }
  .tl-item.right { padding-left: 20px; }
  .tl-dot { top: 14px; right: -7px; width: 14px; height: 14px; border-width: 2.5px; }
  .tl-item.right .tl-dot { left: -7px; }
  .tl-card { padding: 12px 13px; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
  .tl-tag { font-size: 10.5px; letter-spacing: .02em; }
  .tl-card h3 { font-size: 15px; margin: 4px 0 6px; }
  .tl-card p { font-size: 12px; line-height: 1.6; }
  .cta-box { padding: 36px 26px; }
  .subscribe { padding: 30px 24px; }
  .sub-form input { min-width: 100%; }
  .sub-form { width: 100%; }
  .sub-form .btn { width: 100%; justify-content: center; }
  .art-row { grid-template-columns: 1fr; }
  .art-row .thumb { border-right: 0; border-bottom: var(--bd); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .stats > div { padding: 22px 12px; }
  .art-badge { left: 0; bottom: 12px; }
  .art-sticker { width: 66px; height: 66px; font-size: 11px; right: -6px; top: -12px; }
  .foot { padding-block: 52px 22px; }
}

/* ---------- 卡片点击：选择在哪看 ---------- */
.pick { cursor: pointer; }
.pick-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}
.pick-layer[hidden] { display: none; }
.pick-mask { position: absolute; inset: 0; background: rgba(14, 14, 14, .45); }
.pick-box {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 26px 24px 20px;
  background: var(--paper);
  border: var(--bd);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
}
.pick-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.pick-name { font-size: 18px; font-weight: 900; line-height: 1.42; margin: 8px 0 16px; }
.pick-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pick-tabs[hidden] { display: none; }
.pick-tab {
  padding: 7px 16px;
  border: var(--bd);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.pick-tab.is-on { background: var(--ink); color: #fff; }
.pick-box.is-wide { width: min(680px, 100%); }
.pick-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.pick-actions.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
  padding: 2px 4px 2px 2px;
}
.vcard {
  display: flex;
  flex-direction: column;
  border: var(--bd);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.vcard:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.vcover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--yellow, #ffe066);
  overflow: hidden;
}
.vcover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vname {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  color: var(--ink);
  background: repeating-linear-gradient(135deg, #ffe680 0 14px, #ffe066 14px 28px);
}
.vmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 9px;
  border-top: var(--bd);
}
.vplat {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--yellow, #ffe066);
  font-size: 10.5px;
  font-weight: 800;
}
.vgo {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow, #ffe066);
  font-size: 12px;
  font-weight: 900;
}
.pick-actions .btn {
  justify-content: center;
  padding: 8px 10px;
  font-size: 12.5px;
  box-shadow: 3px 3px 0 var(--ink);
}
.pick-actions:not(.vgrid) .btn { padding: 12px 22px; font-size: 14.5px; }
.pick-close {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
body.pick-open { overflow: hidden; }

/* 打印 / 无障碍 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
