/* ===========================================================
   砚边 · 作品集
   宣纸淡墨 —— 一份手写的样式表，没有框架，没有构建
   =========================================================== */

:root {
  --paper: #f5f2e9;
  --paper-soft: #fbf9f3;
  --paper-dim: #efeade;
  --ink: #211f1c;
  --ink-70: #45423b;
  --ink-50: #726e64;
  --ink-30: #a7a298;
  --line: rgba(33, 31, 28, 0.14);
  --line-soft: rgba(33, 31, 28, 0.075);
  --cinnabar: #a3402e;
  --cinnabar-ink: #8a3323;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong",
    "SimSun", Georgia, serif;
  --kai: "Kaiti SC", "KaiTi", "STKaiti", "楷体", "Songti SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --narrow: 800px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 宣纸：底色渐变 + 极淡纤维噪点 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1200px 640px at 10% -10%, rgba(46, 44, 38, 0.085), transparent 62%),
    radial-gradient(900px 520px at 92% 2%, rgba(46, 44, 38, 0.05), transparent 66%),
    radial-gradient(800px 700px at 58% 108%, rgba(46, 44, 38, 0.045), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(163, 64, 46, 0.16);
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0;
}

:focus-visible {
  outline: 1px solid var(--cinnabar);
  outline-offset: 4px;
}

/* ---------- 通用容器 ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
  z-index: 1;
}

.narrow {
  max-width: var(--narrow);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper-soft);
  padding: 10px 18px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 233, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 66px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: none;
  font-family: var(--serif);
}

.brand__mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  transform: translateY(-2px);
  flex: none;
}

.brand__name {
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.brand__sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  position: relative;
  padding: 8px 11px;
  font-size: 13.5px;
  color: var(--ink-70);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
  opacity: 0.55;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--ink);
}

.nav__link.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cinnabar);
}

.nav__link.is-active::after {
  transform: scaleX(1);
  opacity: 0.8;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.nav__toggle span:nth-child(1) {
  top: 16px;
}
.nav__toggle span:nth-child(2) {
  top: 21px;
}
.nav__toggle span:nth-child(3) {
  top: 26px;
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 首页 Hero ---------- */

.hero {
  padding: 96px 0 76px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 30px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ink-30);
}

.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  line-height: 1.28;
  letter-spacing: 0.012em;
  font-weight: 500;
}

.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  background-image: linear-gradient(
    to top,
    rgba(163, 64, 46, 0.14) 0%,
    rgba(163, 64, 46, 0.14) 40%,
    transparent 40%
  );
  background-repeat: no-repeat;
}

.hero__lede {
  margin-top: 30px;
  max-width: 34em;
  font-size: 15.5px;
  color: var(--ink-70);
  line-height: 2;
}

.hero__meta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-50);
}

.hero__meta a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}

.hero__meta a:hover {
  color: var(--ink);
  border-color: var(--ink-50);
}

.hero__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-30);
}

/* 水墨画 */

.hero__art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.hero__art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero__caption {
  margin-top: 6px;
  text-align: right;
  font-family: var(--kai);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-30);
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--cinnabar);
  color: #f7efe6;
  font-family: var(--kai);
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
  border-radius: 2px;
  transform: rotate(-3.5deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex: none;
}

.seal--sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

/* ---------- 章节头 ---------- */

.section {
  padding: 34px 0 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 22px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-50);
  letter-spacing: 0.02em;
}

.section-head .count {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink-30);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ---------- 墨线分隔 ---------- */

.ink-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(33, 31, 28, 0.16) 12%,
    rgba(33, 31, 28, 0.1) 50%,
    rgba(33, 31, 28, 0.16) 88%,
    transparent 100%
  );
}

/* ---------- 产品卡片 ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px 28px 24px;
  background: rgba(251, 249, 243, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease),
    transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  background: radial-gradient(
    circle at var(--mx, 82%) var(--my, 108%),
    rgba(33, 31, 28, 0.075),
    transparent 58%
  );
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 31, 28, 0.2);
  background: rgba(252, 250, 245, 0.86);
  box-shadow: 0 22px 46px -28px rgba(33, 31, 28, 0.5);
}

.card:hover::before {
  opacity: 1;
}

.card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__index {
  position: absolute;
  right: -6px;
  top: -22px;
  z-index: 0;
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1;
  color: rgba(33, 31, 28, 0.045);
  user-select: none;
  pointer-events: none;
  transition: color 0.6s var(--ease);
}

.card:hover .card__index {
  color: rgba(33, 31, 28, 0.075);
}

.card__type {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card__type i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cinnabar);
  opacity: 0.8;
  font-style: normal;
}

.card__title {
  margin-top: 18px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.card__en {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-30);
  font-weight: 400;
}

.card__desc {
  margin-top: 16px;
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--ink-70);
  flex: 1;
}

.card__foot {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__tags {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-30);
  font-family: var(--sans);
}

.card__more {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-50);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.4s, gap 0.4s var(--ease);
}

.card__more svg {
  width: 15px;
  height: 8px;
  overflow: visible;
}

.card__more path {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.card:hover .card__more {
  color: var(--cinnabar);
  gap: 10px;
}

/* ---------- 关于引子 ---------- */

.about-strip {
  margin: 96px 0 0;
  padding: 56px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 170px;
  gap: 46px;
  align-items: start;
}

.about-strip__label {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-50);
  padding-top: 6px;
}

.about-strip__text {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.9;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.about-strip__text small {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-70);
  letter-spacing: 0;
  max-width: 40em;
}

.about-strip__cta {
  justify-self: end;
  padding-top: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.35s, border-color 0.35s, gap 0.35s var(--ease);
}

.text-link:hover {
  color: var(--cinnabar);
  border-color: rgba(163, 64, 46, 0.4);
  gap: 13px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 120px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer__note {
  font-size: 12px;
  color: var(--ink-30);
  letter-spacing: 0.06em;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12.5px;
  color: var(--ink-50);
}

.footer__links a {
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--ink);
}

/* ---------- 内页头 ---------- */

.page-head {
  padding: 66px 0 44px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-50);
  margin-bottom: 34px;
  transition: color 0.3s, gap 0.3s var(--ease);
}

.crumb:hover {
  color: var(--ink);
  gap: 13px;
}

.page-head__type {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  font-weight: 500;
  letter-spacing: 0.012em;
  line-height: 1.35;
}

.page-title .en {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.lede {
  margin-top: 24px;
  max-width: 40em;
  font-family: var(--kai);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 2;
  color: var(--ink-70);
  letter-spacing: 0.03em;
}

.page-head__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.btn--ink {
  background: var(--ink);
  color: #f8f5ed;
}

.btn--ink:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn--line {
  border-color: rgba(33, 31, 28, 0.24);
  color: var(--ink);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--ink);
  background: rgba(33, 31, 28, 0.035);
}

.btn__meta {
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.55;
}

/* ---------- 规格表 ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 0 0 64px;
}

.fact {
  background: var(--paper);
  padding: 20px 22px;
}

.fact dt {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.fact dd {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- 正文 ---------- */

.prose {
  padding: 12px 0 0;
}

.prose h2 {
  font-size: 20px;
  letter-spacing: 0.12em;
  margin: 56px 0 22px;
  padding-left: 16px;
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
  opacity: 0.85;
}

.prose h2:first-child {
  margin-top: 0;
}

.block-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 58px 0 28px;
  padding-left: 16px;
  position: relative;
}

.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
  opacity: 0.85;
}

.prose p {
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-70);
  margin-bottom: 1.25em;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.pullquote {
  margin: 40px 0;
  padding: 4px 0 4px 26px;
  border-left: 1px solid rgba(163, 64, 46, 0.35);
  font-family: var(--kai);
  font-size: 18px;
  line-height: 2;
  color: var(--ink-70);
  letter-spacing: 0.03em;
}

/* 功能格子 */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 46px;
  margin: 8px 0 4px;
}

.feature h3 {
  font-size: 15.5px;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  padding-left: 15px;
  position: relative;
  font-weight: 600;
}

.feature h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-30);
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-70);
  padding-left: 15px;
}

/* 平台清单 */

.platforms {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.platforms li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: baseline;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.platforms .pf-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.platforms .pf-desc {
  color: var(--ink-50);
  font-size: 13px;
}

.platforms .pf-act {
  font-size: 12.5px;
  color: var(--cinnabar);
  border-bottom: 1px solid rgba(163, 64, 46, 0.3);
  white-space: nowrap;
  transition: border-color 0.3s;
}

.platforms .pf-act:hover {
  border-color: var(--cinnabar);
}

.platforms .pf-none {
  font-size: 12px;
  color: var(--ink-30);
}

/* 下一页 */

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: 84px;
}

.pager a {
  background: var(--paper);
  padding: 26px 26px 28px;
  transition: background 0.4s var(--ease);
}

.pager a:hover {
  background: rgba(252, 250, 245, 0.9);
}

.pager .pg-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.pager .pg-title {
  display: block;
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.pager .pg--next {
  text-align: right;
}

/* 提示条 */

.note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--ink-50);
  letter-spacing: 0.02em;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.8;
}

.note::before {
  content: "※";
  color: var(--cinnabar);
  opacity: 0.7;
  flex: none;
}

/* ---------- 关于页 ---------- */

.about-hero {
  padding: 76px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: end;
}

.about-hero__title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.55;
  font-weight: 500;
}

.about-hero__title span {
  color: var(--ink-30);
}

.about-hero__side {
  font-family: var(--kai);
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-50);
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.about-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 54px;
}

.about-body__aside {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-50);
  position: sticky;
  top: 96px;
  align-self: start;
}

.about-body__content {
  max-width: 62ch;
}

.about-body__content h2 {
  font-size: 19px;
  letter-spacing: 0.12em;
  margin: 46px 0 18px;
}

.about-body__content h2:first-child {
  margin-top: 0;
}

.about-body__content p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-70);
  margin-bottom: 1.2em;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 44px;
  margin: 12px 0 0;
}

.skill-group h3 {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
}

.skill-group p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-50);
}

.contact-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.contact-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.contact-list .k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-30);
}

.contact-list .v {
  color: var(--ink);
  font-family: var(--sans);
}

.contact-list .v a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.contact-list .v a:hover {
  border-color: var(--ink-50);
}

.copy-btn {
  font-size: 11.5px;
  color: var(--ink-50);
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 10px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  font-family: var(--sans);
}

.copy-btn:hover {
  color: var(--ink);
  border-color: var(--ink-50);
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 80px 0;
}

/* ---------- 动效 ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

html.js .reveal.d1 {
  transition-delay: 0.08s;
}
html.js .reveal.d2 {
  transition-delay: 0.16s;
}
html.js .reveal.d3 {
  transition-delay: 0.24s;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }
  .about-strip {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .about-strip__cta {
    grid-column: 2;
    justify-self: start;
    padding-top: 0;
  }
}

@media (max-width: 980px) {
  .wrap,
  .nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.45s var(--ease), opacity 0.3s var(--ease),
      padding 0.3s var(--ease);
  }

  .nav.is-open .nav__links {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 14px 2px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__link::after,
  .nav__link.is-active::before {
    display: none;
  }

  .nav__link.is-active {
    color: var(--cinnabar);
  }

  .hero {
    padding: 62px 0 52px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero__art {
    justify-self: start;
    max-width: 300px;
    opacity: 0.95;
  }

  .hero__caption {
    text-align: left;
  }

  .about-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 68px;
  }

  .about-strip__cta {
    grid-column: 1;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .about-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 52px 0 40px;
  }

  .about-hero__side {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-left: 0;
    padding-top: 18px;
  }

  .about-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 38px;
  }

  .about-body__aside {
    position: static;
  }

  .skill-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .platforms li {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 6px 16px;
  }

  .platforms .pf-act,
  .platforms .pf-none {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap,
  .nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand__sub {
    display: none;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .card {
    min-height: 0;
    padding: 26px 22px 20px;
  }

  .hero__title {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }

  .hero__lede {
    font-size: 14.5px;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .hero__meta .hero__dot {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-head {
    padding: 46px 0 34px;
  }

  .page-title .en {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    line-height: 1.7;
  }

  .page-head__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-head__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact {
    padding: 16px 18px;
  }

  .pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager .pg--next {
    text-align: left;
  }

  .contact-list li {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .contact-list .copy-btn {
    grid-column: 2;
    justify-self: start;
  }

  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-footer {
    margin-top: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .pager,
  .page-head__actions {
    display: none;
  }
  body {
    background: #fff;
  }
  body::before,
  body::after {
    display: none;
  }
}

/* ---------- 产品图标 ---------- */

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.card__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #38352f;
  background: radial-gradient(
    circle at 36% 30%,
    #fffdf7 0%,
    rgba(33, 31, 28, 0.055) 78%
  );
  border: 1px solid rgba(33, 31, 28, 0.16);
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease),
    transform 0.6s var(--ease);
}

.card__icon svg {
  width: 29px;
  height: 29px;
  display: block;
  stroke-width: 1.15;
}

.card__icon svg [stroke] {
  stroke: currentColor;
}

.card__icon svg .ck-accent {
  stroke: var(--cinnabar);
  opacity: 0.9;
}

.card__icon svg .ck-fill {
  fill: var(--cinnabar);
  stroke: none;
}

.card:hover .card__icon {
  border-color: rgba(33, 31, 28, 0.2);
  color: var(--ink);
  transform: rotate(-3deg);
}

/* 卡片内 type 行与图标同行，去掉原来的圆点 */
.card__head .card__type i {
  display: none;
}

/* 详情页标题前的图标 */
.page-head__lead {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.page-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #38352f;
  background: radial-gradient(
    circle at 36% 30%,
    #fffdf7 0%,
    rgba(33, 31, 28, 0.055) 78%
  );
  border: 1px solid rgba(33, 31, 28, 0.16);
}

.page-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke-width: 1.15;
}

.page-icon svg [stroke] {
  stroke: currentColor;
}

.page-icon svg .ck-accent {
  stroke: var(--cinnabar);
  opacity: 0.9;
}

.page-icon svg .ck-fill {
  fill: var(--cinnabar);
  stroke: none;
}

.page-head__lead .page-head__type {
  margin-bottom: 0;
}

/* ---------- 截图 ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
  margin: 4px 0 68px;
  align-items: start;
}

.gallery--phones {
  grid-template-columns: repeat(2, minmax(0, 336px));
  justify-content: center;
  gap: 34px;
}

.shot {
  margin: 0;
}

.shot__frame {
  position: relative;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -50px rgba(33, 31, 28, 0.75),
    0 2px 6px -4px rgba(33, 31, 28, 0.2);
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}

.shot__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot:hover .shot__frame {
  transform: translateY(-2px);
  box-shadow: 0 36px 70px -50px rgba(33, 31, 28, 0.8),
    0 2px 6px -4px rgba(33, 31, 28, 0.22);
}

.shot figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-50);
  letter-spacing: 0.02em;
}

.gallery--phones .shot__frame {
  padding: 7px;
  border-radius: 16px;
}

.gallery--phones .shot figcaption {
  text-align: center;
}

.gallery-note {
  margin: -46px 0 60px;
  font-size: 12px;
  color: var(--ink-30);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .gallery,
  .gallery--phones {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 52px;
  }

  .gallery--phones {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .shot__frame {
    padding: 7px;
  }
}
