@charset "utf-8";
/* ============================================================
   开心放置 happyidle.com
   全站样式表 · 纯静态，无外部依赖
   ============================================================ */

/* ---------- 基础变量 ---------- */
:root {
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --card: #ffffff;
  --ink: #1b1a17;
  --ink-soft: #3b3833;
  --muted: #7a746a;
  --line: #e4ded3;
  --line-soft: #efeae1;
  --accent: #b2512b;
  --accent-soft: #f5e9e1;
  --green: #2e4a46;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border: 0; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

/* ---------- 通用容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper-2); }

/* 小标签：— 摄影作品 */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
}
.section-head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  margin: 0;
}
.section-head .eyebrow { margin-bottom: 16px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  white-space: nowrap;
}
.link-more:hover { border-color: var(--accent); }
.link-more span { transition: transform .3s var(--ease); }
.link-more:hover span { transform: translateX(4px); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-cn {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .12em;
}
.brand-en {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: min(76vh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #cfcabf;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 24, .30) 0%, rgba(20, 22, 24, .04) 38%, rgba(18, 20, 21, .62) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px 76px;
  color: #fff;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 40px;
  padding: 7px 16px;
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.2;
  letter-spacing: .02em;
  max-width: 15em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}
.hero-desc {
  margin-top: 22px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 13.5px;
  letter-spacing: .1em;
  border-radius: 40px;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: #fff;
  color: var(--ink);
}
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

.hero-meta {
  position: absolute;
  right: 32px;
  bottom: 78px;
  z-index: 2;
  text-align: right;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  line-height: 2.1;
}

/* ---------- 引言区 ---------- */
.intro { padding: 96px 0 84px; }
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}
.intro h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.5;
}
.intro h2 em {
  font-style: normal;
  color: var(--accent);
}
.intro-body { color: var(--ink-soft); font-size: 15.5px; line-height: 2; }
.intro-body p { margin-bottom: 1.2em; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 34px 28px 0 0;
}
.stat + .stat { padding-left: 36px; border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- 栏目卡片 ---------- */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.col-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.col-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px -28px rgba(40, 32, 22, .38);
  border-color: var(--line);
}
.col-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.col-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.col-card:hover .col-card-media img { transform: scale(1.045); }
.col-card-body { padding: 26px 26px 28px; }
.col-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.col-card-body p { font-size: 13.8px; color: var(--muted); line-height: 1.9; margin: 0; }
.col-card-body .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- 作品网格（瀑布流） ---------- */
.masonry {
  columns: 3;
  column-gap: 22px;
}
.work {
  break-inside: avoid;
  margin: 0 0 22px;
  display: block;
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.work img {
  width: 100%;
  height: auto;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.work:hover img { transform: scale(1.03); }
.work-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 20px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .58) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.work:hover .work-cap { opacity: 1; }
.work-cap strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
}
.work-cap span {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .74);
}

/* 筛选按钮 */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  background: none;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all .28s var(--ease);
}
.filter-btn:hover { border-color: var(--ink-soft); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- 列表 / 教程 ---------- */
.post-list { border-top: 1px solid var(--line); }
.post {
  display: grid;
  grid-template-columns: 96px 1fr 200px;
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.post:hover { background: rgba(255, 255, 255, .6); }
.post-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: .1em;
}
.post-main h3 {
  font-size: 21px;
  margin-bottom: 8px;
  transition: color .25s var(--ease);
}
.post:hover .post-main h3 { color: var(--accent); }
.post-main p { font-size: 13.8px; color: var(--muted); line-height: 1.85; margin: 0; max-width: 620px; }
.post-side {
  text-align: right;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  line-height: 2;
}
.post-side .tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 3px 12px;
  font-size: 11px;
  letter-spacing: .1em;
}

/* ---------- 文章正文 ---------- */
.article-hero {
  padding: 72px 0 0;
  border-bottom: 1px solid var(--line);
}
.article-hero .eyebrow { margin-bottom: 20px; }
.article-hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.35;
  max-width: 21em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 26px 0 42px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--muted);
}
.article-cover {
  margin: 0 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article-cover figcaption {
  font-size: 12.5px;
  color: var(--muted);
  padding: 12px 2px 0;
  letter-spacing: .04em;
}

.article-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  padding: 64px 0 96px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 104px;
  font-size: 13px;
  color: var(--muted);
}
.article-aside h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-aside ul { list-style: none; margin: 0 0 32px; padding: 0; }
.article-aside li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.article-aside li a:hover { color: var(--accent); }
.aside-note {
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.9;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose { max-width: 720px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: 25px;
  margin: 52px 0 18px;
  padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; margin: 34px 0 12px; }
.prose p { font-size: 16px; line-height: 2.05; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { font-size: 15.5px; line-height: 2; color: var(--ink-soft); margin-bottom: .35em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose figure { margin: 34px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: .03em;
}
.prose blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.prose blockquote p { font-size: 17.5px; }

.param-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 34px;
  font-size: 14px;
}
.param-table caption {
  caption-side: top;
  text-align: left;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .08em;
  padding-bottom: 10px;
}
.param-table th, .param-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 14px 11px 0;
  text-align: left;
}
.param-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .12em;
  border-bottom: 1px solid var(--ink-soft);
}
.param-table td { color: var(--ink-soft); }

.article-end {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.95;
}

.next-read {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 64px;
}
.next-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--card);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.next-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.next-card span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.next-card h4 { font-size: 17px; margin: 10px 0 6px; }
.next-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 页面头（内页） ---------- */
.page-head {
  padding: 76px 0 52px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.3;
}
.page-head .lead {
  margin-top: 20px;
  max-width: 620px;
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}

/* ---------- 关于页 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding: 72px 0 0;
}
.info-list {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-list dt, .info-list .k {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .1em;
}
.info-list .v { color: var(--ink-soft); }

.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
  margin-top: 32px;
}
.notice h3 { font-size: 17px; margin-bottom: 14px; }
.notice p, .notice li { font-size: 13.5px; color: var(--muted); line-height: 1.95; }
.notice ul { padding-left: 1.2em; margin: 0; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(18, 17, 15, .93);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.lightbox-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  text-align: center;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  letter-spacing: .1em;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- 页脚 ---------- */
.footer {
  background: #1e1d1a;
  color: rgba(255, 255, 255, .66);
  padding: 72px 0 0;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 18px;
}
.footer-brand .brand-cn { color: #fff; font-size: 22px; letter-spacing: .14em; }
.footer-brand .brand-en { color: rgba(255, 255, 255, .44); margin-left: 10px; }
.footer-brand p {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.95;
  max-width: 300px;
  color: rgba(255, 255, 255, .55);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, .66); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, .42);
  letter-spacing: .04em;
}
.footer-bottom .beian a { color: rgba(255, 255, 255, .56); }
.footer-bottom .beian a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease);
  z-index: 50;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .4);
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .columns-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; order: 2; }
  .masonry { columns: 2; }
  .post { grid-template-columns: 64px 1fr; gap: 22px; }
  .post-side { grid-column: 2; text-align: left; }
  .hero-meta { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap, .nav-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-menu a { display: block; padding: 13px 0; font-size: 15px; }
  .columns-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .stat { padding: 20px 0 0; }
  .hero { min-height: 68vh; }
  .hero-inner { padding-bottom: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .next-read { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .article-hero { padding-top: 48px; }
  .article-layout { padding: 44px 0 64px; }
  .prose h2 { font-size: 22px; margin-top: 40px; }
  .lightbox { padding: 16px; }
}

/* ---------- 设计作品条目 ---------- */
.d-list { border-top: 1px solid var(--line); }
.d-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}
.d-item--flip .d-media { order: 2; }
.d-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  cursor: zoom-in;
}
.d-media img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.d-media:hover img { transform: scale(1.025); }
.d-body .idx {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .18em;
}
.d-body h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 12px 0 16px;
  line-height: 1.4;
}
.d-body p { font-size: 14.5px; line-height: 2; color: var(--ink-soft); }
.d-spec {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 2.1;
  letter-spacing: .04em;
}
.d-spec b { font-weight: 500; color: var(--ink-soft); }

@media (max-width: 860px) {
  .d-item, .d-item--flip { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .d-item--flip .d-media { order: 0; }
}
