/* BeforeUgone — 共享设计系统
   主页、博客目录、文章页共用这一份。改主题只改这里。
   令牌（颜色 / 字体）集中在 :root，其余只用 var()。 */

/* ─── tokens ───────────────────────────────────────────────── */
:root {
  --bg:       oklch(98.5% 0.006 85);
  --surface:  oklch(100% 0 0);
  --fg:       oklch(23% 0.02 60);
  --muted:    oklch(50% 0.014 65);
  --border:   oklch(90% 0.008 80);
  --accent:   oklch(58% 0.205 33);    /* vermilion — primary, ≤2×/屏 */
  --accent-2: oklch(52% 0.12 245);    /* 墨蓝 — 仅用于插画/点缀 */

  --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
  --accent2-soft: color-mix(in oklch, var(--accent-2) 14%, transparent);
  --fg-soft:     color-mix(in oklch, var(--fg) 6%, transparent);

  --font-display: 'Iowan Old Style', 'Charter', 'Source Han Serif SC', 'Songti SC', 'STSong', Georgia, serif;
  --font-body:    'HarmonyOS Sans SC', 'HarmonyOS Sans', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-h1: clamp(40px, 5.4vw, 72px);
  --fs-h2: clamp(28px, 3.6vw, 46px);
  --fs-h3: 21px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-xs: 8px; --gap-sm: 12px; --gap-md: 20px; --gap-lg: 32px;
  --gap-xl: 56px; --gap-2xl: 104px;
  --container: 1120px; --gutter: 32px;
  --radius: 10px; --radius-lg: 16px;
}
[data-theme="dark"] {
  --bg:       oklch(20% 0.012 70);
  --surface:  oklch(24% 0.014 70);
  --fg:       oklch(94% 0.01 85);
  --muted:    oklch(70% 0.012 75);
  --border:   oklch(34% 0.012 70);
  --accent:   oklch(72% 0.17 42);
  --accent-2: oklch(74% 0.11 240);
}

/* ─── reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body);
  line-height: 1.6; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-optical-sizing: auto; font-feature-settings: "kern", "liga", "calt";
  border-top: 3px solid var(--accent);
  transition: background .3s ease, color .3s ease;
}
/* 纸张颗粒 */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .05; }
header, main, footer { position: relative; z-index: 2; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ─── layout primitives ───────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); }
.section + .section { border-top: 1px solid var(--border); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,0,0,1), transform .7s cubic-bezier(.2,0,0,1); }
  .reveal.in { opacity: 1; transform: none; }
}
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-2-1 { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gap-2xl); align-items: start; }
@media (max-width: 920px) { .grid-2, .grid-2-1 { grid-template-columns: 1fr; gap: var(--gap-xl); } }

/* ─── type ─────────────────────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.3; margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); max-width: 56ch; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--gap-md); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow svg { width: 13px; height: 13px; }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ─── nav ──────────────────────────────────────────────────── */
.topnav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklch, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: var(--gap-md); }
.brand { font-family: var(--font-mono); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; display: inline-flex; align-items: baseline; gap: 2px; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: var(--gap-lg); align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); position: relative; padding-block: 4px; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,0,0,1); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: var(--gap-sm); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--fg); transition: border-color .15s ease, transform .05s ease; }
.icon-btn:hover { border-color: var(--fg); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn svg { width: 17px; height: 17px; }
.nav-toggle { display: none; }
.moon { display: none; } [data-theme="dark"] .moon { display: block; } [data-theme="dark"] .sun { display: none; }
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 100%; right: var(--gutter); flex-direction: column; gap: var(--gap-sm); align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 18px; min-width: 180px; box-shadow: 0 16px 40px -24px var(--fg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding-block: 8px; font-size: 15px; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: grid; }
}

/* ─── buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius); border: 1px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; transition: transform .2s cubic-bezier(.2,0,0,1), background .18s ease, border-color .18s ease, color .18s ease, box-shadow .25s ease; }
.btn-primary { background: var(--accent); color: oklch(99% 0 0); border-color: var(--accent); box-shadow: 0 1px 2px color-mix(in oklch, var(--accent) 28%, transparent); }
[data-theme="dark"] .btn-primary { color: oklch(18% 0.01 70); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 90%, black); transform: translateY(-2px); box-shadow: 0 12px 26px -12px color-mix(in oklch, var(--accent) 60%, transparent); }
.btn-secondary:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 6px; }
.btn-ghost:hover { color: var(--accent); }
.btn-arrow::after { content: '→'; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ─── pills / tags ─────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-family: var(--font-mono); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }

/* ─── hero ─────────────────────────────────────────────────── */
.hero { padding-block: clamp(64px, 11vw, 124px); position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero .wordmark { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 12vw, 124px); line-height: 0.94; letter-spacing: -0.04em; margin: 0 0 2px; display: inline-block; }
.hero .wordmark .u { color: var(--accent); font-style: italic; }
.squiggle { width: clamp(180px, 34vw, 360px); height: 20px; margin: 0 0 var(--gap-lg); color: var(--accent); }
.squiggle path { stroke-dasharray: 720; stroke-dashoffset: 720; animation: draw 1.4s .35s cubic-bezier(.2, 0, 0, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .squiggle path { animation: none; stroke-dashoffset: 0; } }
.hero h1 { font-size: clamp(24px, 3.2vw, 38px); max-width: 20ch; margin: 0 0 var(--gap-md); }
.hero .lead { margin: 0 0 var(--gap-lg); }
.hero-cta { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; }

/* hero 字符场：three.js canvas（主）+ 静态 mono 字符纹理（降级兜底）。
   左侧渐变 mask 让位标题与正文——字符只在右侧 / 四周呼吸，正文恒清晰。 */
.hero-field, .hero-glyphs {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent 44%, black 96%);
          mask-image: linear-gradient(100deg, transparent 44%, black 96%);
}
.hero-field { width: 100%; height: 100%; }
.hero-glyphs {
  overflow: hidden;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.85; letter-spacing: 0.05em;
  color: color-mix(in oklch, var(--fg) 13%, transparent);
  word-break: break-all; user-select: none;
}
.hero-glyphs .g { opacity: .55; }
.hero-glyphs .g.lit { color: color-mix(in oklch, var(--fg) 34%, transparent); }
.hero.is-3d .hero-glyphs { display: none; }       /* 3D 就绪后隐藏静态兜底 */
.hero:not(.is-3d) .hero-field { display: none; }  /* 未就绪 / 降级时隐藏 canvas */
@media (prefers-reduced-motion: no-preference) {
  .hero-glyphs .g.lit { animation: glyph-flicker var(--dur, 6s) ease-in-out var(--del, 0s) infinite; }
  .hero.is-offscreen .hero-glyphs .g.lit { animation-play-state: paused; }
  @keyframes glyph-flicker { 0%, 100% { opacity: .28; } 48% { opacity: 1; } }
}

/* ─── about / projects / writing log / table / contact / footer ─ */
.portrait { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-lg); aspect-ratio: 3/4; display: grid; place-items: center; color: var(--muted); font-family: var(--font-mono); font-size: 12px; text-align: center; padding: 18px; }
.quote { font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.34; letter-spacing: -0.01em; margin: var(--gap-lg) 0 0; padding-left: 22px; border-left: 3px solid var(--accent); }
.now-list { list-style: none; margin: var(--gap-lg) 0 0; padding: 0; }
.now-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 15px; align-items: baseline; }
.now-list li::before { content: '✳'; color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.proj-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px color-mix(in oklch, var(--fg) 5%, transparent); transition: transform .24s cubic-bezier(.2,0,0,1), border-color .24s ease, box-shadow .3s cubic-bezier(.2,0,0,1); }
.proj-card:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--accent) 45%, var(--border)); box-shadow: 0 2px 4px color-mix(in oklch, var(--fg) 5%, transparent), 0 30px 56px -34px color-mix(in oklch, var(--accent) 32%, var(--fg)); }
.proj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.proj-head .idx { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.proj-card h3 { font-family: var(--font-display); font-size: 23px; letter-spacing: -0.01em; }
.proj-card .sub { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-top: -6px; }
.proj-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.proj-card.is-ph { background: transparent; border-style: dashed; justify-content: center; gap: 10px; min-height: 150px; box-shadow: none; }
.proj-card.is-ph .mono { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.log-row { display: grid; grid-template-columns: 132px 1fr 96px; gap: var(--gap-lg); padding: 24px 0; border-top: 1px solid var(--border); align-items: baseline; transition: background .15s ease; }
.log-row:last-child { border-bottom: 1px solid var(--border); }
.log-row:hover { background: var(--fg-soft); }
.log-row .lead-col { display: flex; flex-direction: column; gap: 7px; }
.log-row h3 { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.01em; }
.log-row p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.log-row .pull { text-align: right; }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); width: fit-content; }
.status.live { color: var(--accent); border-color: color-mix(in oklch, var(--accent) 40%, var(--border)); }
.status .ddot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
@media (max-width: 720px) {
  .log-row { grid-template-columns: 1fr; gap: 10px; }
  .log-row .pull { text-align: left; }
}
.ds-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ds-table th, .ds-table td { padding: 14px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.ds-table th { color: var(--muted); font-weight: 500; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.ds-table tbody tr:hover { background: var(--fg-soft); }
.ds-table td:first-child { font-weight: 600; }
.ds-table .who { color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.tablewrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 1px 2px color-mix(in oklch, var(--fg) 4%, transparent); }
.tablewrap .ds-table th, .tablewrap .ds-table td { padding-inline: 18px; }
.tablewrap .ds-table tr:last-child td { border-bottom: 0; }
.contact { text-align: center; }
.social { display: flex; flex-wrap: wrap; gap: var(--gap-sm); justify-content: center; margin-top: var(--gap-lg); }
.social a, .social button { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid var(--border); border-radius: 999px; font-size: 14.5px; background: transparent; color: var(--fg); transition: border-color .15s ease, color .15s ease; }
.social a:hover, .social button:hover { border-color: var(--fg); color: var(--accent); }
.social svg { width: 17px; height: 17px; }
.copied-flag { color: var(--accent); }
.pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
.pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }
.pagefoot .sign { font-family: var(--font-display); font-style: italic; color: var(--fg); }

/* ─── 博客目录 ─────────────────────────────────────────────── */
.page-head { padding-block: clamp(56px, 9vw, 120px) clamp(28px, 5vw, 48px); }
.page-head .lead { margin-top: var(--gap-md); }
.post-list { border-top: 1px solid var(--border); }
a.post-row { display: grid; grid-template-columns: 132px 1fr 120px; gap: var(--gap-lg); padding: 26px 4px; border-bottom: 1px solid var(--border); align-items: baseline; color: inherit; transition: background .15s ease, transform .2s cubic-bezier(.2,0,0,1); }
a.post-row:hover { background: var(--fg-soft); transform: translateX(10px); }
a.post-row .p-date { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
a.post-row h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; transition: color .15s ease; }
a.post-row:hover h3 { color: var(--accent); }
a.post-row .p-dek { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
a.post-row .p-cat { text-align: right; }
@media (max-width: 720px) {
  a.post-row { grid-template-columns: 1fr; gap: 8px; padding-left: 4px !important; }
  a.post-row .p-cat { text-align: left; }
}
.empty-note { margin-top: var(--gap-xl); padding: 26px 28px; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.empty-note code { font-family: var(--font-mono); font-size: 12.5px; background: var(--fg-soft); padding: 1px 6px; border-radius: 5px; color: var(--accent); }

/* ─── 文章正文（prose）─────────────────────────────────────── */
.article { padding-block: clamp(40px, 7vw, 88px); }
.article-wrap { max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); }
.article-back { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--gap-xl); transition: color .15s ease; }
.article-back:hover { color: var(--accent); }
.article-meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--gap-md); }
.article-meta .sep { opacity: .5; }
.article-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--gap-md); }
.article-dek { font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); margin: 0 0 var(--gap-xl); }
.article-rule { border: 0; border-top: 1px solid var(--border); margin: 0 0 var(--gap-xl); }
.prose { font-size: 17px; line-height: 1.85; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.015em; margin-top: 1.8em; }
.prose h3 { font-size: 20px; font-weight: 650; margin-top: 1.6em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklch, var(--accent) 45%, transparent); transition: text-decoration-color .15s ease; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 21px; line-height: 1.45; color: var(--fg); }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--fg-soft); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose figure { margin: 1.8em 0; }
.prose img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.prose figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }
.article-foot { max-width: 720px; margin: clamp(44px, 7vw, 76px) auto 0; padding: var(--gap-xl) var(--gutter) 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-md); }

/* ─── 文章动效（emilkowalski-motion）───────────────────────────
   ① 入场：标题区分组上浮落定（纯 CSS，无 JS）
   ② 阅读进度：顶部细线随滚动填充（CSS 滚动时间线，无 JS）
   只用 transform/opacity；reduced-motion 与不支持 scroll() 的浏览器自动静默。 */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 40; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .read-progress { animation: read-progress linear both; animation-timeline: scroll(root block); }
  @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  .article [data-enter] { opacity: 0; transform: translateY(14px); animation: enter-up .6s cubic-bezier(.2, 0, 0, 1) forwards; }
  .article [data-enter="1"] { animation-delay: .05s; }
  .article [data-enter="2"] { animation-delay: .12s; }
  .article [data-enter="3"] { animation-delay: .19s; }
  .article [data-enter="4"] { animation-delay: .27s; }
  .article [data-enter="5"] { animation-delay: .36s; transform: translateY(22px); }
  @keyframes enter-up { to { opacity: 1; transform: none; } }
}
