@charset "UTF-8";
/* ==========================================================================
   韩伟 Frank · 个人网站
   版式与视觉体系参照 adhamdannaway.com 的极简单栏栅格，配色替换为个人品牌色
   墨蓝 #0B1A2E / #1C3A5E  ·  果绿 #2FBF71 / #1FA65E  ·  金 #C8A24A
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 品牌色 */
  --ink: #0B1A2E;
  --ink-2: #1C3A5E;
  --green: #2FBF71;
  --green-2: #1FA65E;
  --gold: #C8A24A;

  /* 中性色（沿用参考站体系） */
  --text: #333333;
  --muted: #757575;
  --line: #DDDDDD;
  --line-soft: #E9ECF0;
  --paper: #FFFFFF;
  --paper-2: #FAFAFA;
  --paper-3: #F5F5F5;
  --black: #111111;

  /* 尺寸 */
  --header-h: 62px;
  --gutter: 5%;
  --row-max: 1040px;

  /* 字体 */
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    Helvetica, Arial, sans-serif;
  --font-num: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* 阴影 */
  --shadow-card: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  --shadow-inset: inset 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 830px) {
  :root {
    --header-h: 92px;
  }
}

/* --------------------------------------------------------------------------
   2. 基础重置与排版
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 2.4rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 4.2rem;
}
h2 {
  font-size: 3.2rem;
}
h3 {
  font-size: 2.4rem;
}
h4 {
  font-size: 1.8rem;
}

p {
  margin: 0 0 2.4rem;
  font-size: 2rem;
  line-height: 1.5;
}

p.intro {
  font-size: 2.4rem;
  line-height: 1.3;
  color: var(--muted);
}

p.intro-small {
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--muted);
}

p.small,
.small {
  font-size: 1.8rem !important;
  margin-bottom: 2.4rem !important;
  line-height: 1.5 !important;
}

p.muted,
.muted {
  color: var(--muted);
}

strong,
b {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  transition: color 0.3s, opacity 0.3s;
}
a:hover {
  color: var(--green-2);
}

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

ul,
ol {
  padding-left: 0;
}

figure {
  margin: 0;
}

::selection {
  background: var(--green);
  color: #fff;
}

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

/* 无障碍：仅供读屏 */
.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;
}

/* 跳转到主内容 */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 2000;
  padding: 1.2rem 2rem;
  background: var(--green);
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. 栅格
   -------------------------------------------------------------------------- */
.row {
  zoom: 1;
  width: 100%;
}
.row::after {
  display: table;
  content: "";
  clear: both;
}
.content .row {
  max-width: var(--row-max);
  margin: 0 auto;
}
.content .row.wide {
  max-width: 1040px;
}
.col-12 {
  width: 100%;
}
.align-c {
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. 顶栏
   -------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--ink);
  transition: box-shadow 0.3s;
}
#header .row {
  max-width: var(--row-max);
  margin: 0 auto;
}
#header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.logo {
  float: left;
  display: flex;
  align-items: center;
  height: var(--header-h);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover {
  color: #fff;
  opacity: 0.75;
}
.logo .logo-en {
  margin-left: 0.7rem;
  font-family: var(--font-num);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* 汉堡按钮（移动端） */
.icon-nav {
  float: right;
  display: block;
  width: 44px;
  height: var(--header-h);
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.icon-nav span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.icon-nav.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.icon-nav.is-active span:nth-child(2) {
  opacity: 0;
}
.icon-nav.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 导航 */
#header nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  right: 0;
  z-index: 999;
  width: 100%;
  background: #12263F;
  font-size: 2.2rem;
  text-align: center;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
#header nav.is-open {
  display: block;
}
#header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#header nav li {
  display: block;
  height: 6.2rem;
  border-top: 1px solid #1B3155;
  border-bottom: 1px solid #0A1729;
}
#header nav li a {
  display: block;
  color: #fff;
  line-height: 6.2rem;
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
}
#header nav li a:hover,
#header nav li.current_page_item > a {
  color: var(--green);
}

/* 社交图标列表 */
.social {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social li {
  display: block;
  border: 0 !important;
  height: auto !important;
  float: none !important;
}
.social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: auto !important;
  height: 5.6rem !important;
  line-height: 5.6rem !important;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7) !important;
  text-indent: 0 !important;
  text-transform: none;
}
.social li a svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}
.social li a:hover {
  color: #fff !important;
  opacity: 0.75;
}

@media only screen and (min-width: 830px) {
  .icon-nav {
    display: none;
  }
  #header nav {
    display: block;
    position: static;
    float: right;
    width: auto;
    background: transparent;
    font-size: 1.6rem;
    overflow: visible;
  }
  #header nav ul {
    display: flex;
    align-items: center;
  }
  #header nav li {
    display: inline-block;
    float: left;
    height: var(--header-h);
    border: 0;
  }
  #header nav li a {
    display: block;
    line-height: var(--header-h);
    padding: 0 0.9em;
    color: #fff;
  }
  #header nav li a:hover {
    color: var(--muted);
  }
  #header nav li.current_page_item > a {
    color: var(--green);
  }
  .social {
    display: flex;
    align-items: center;
    margin-left: 1.8rem;
  }
  .social li a {
    width: 3.6rem !important;
    height: var(--header-h) !important;
    line-height: var(--header-h) !important;
  }
  .social li a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .social li a svg {
    width: 19px;
    height: 19px;
  }
}

/* --------------------------------------------------------------------------
   5. 内容容器与区块
   -------------------------------------------------------------------------- */
.content {
  margin-top: var(--header-h);
}

section {
  display: block;
  padding: 6.4rem 3.2rem;
}
section.light {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
section.noise {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
section.dark {
  background: var(--paper-2);
  box-shadow: var(--shadow-inset);
}
section.main {
  background: var(--paper);
  border-top: 1px solid #fff;
  border-bottom: 1px solid var(--line);
}
section.nopad-t {
  padding-top: 0;
}
section.nopad-b {
  padding-bottom: 0;
}
section.hero {
  padding: 0 3.2rem;
}

@media only screen and (min-width: 428px) {
  section {
    padding: 8rem 4.3rem;
  }
  section.hero {
    padding: 0 4.3rem;
  }
}
@media only screen and (min-width: 830px) {
  section {
    padding: 9.6rem 4.3rem;
  }
  section.hero {
    padding: 0 4.3rem;
  }
}

/* 居中分隔标题 */
.header-center {
  position: relative;
  height: 1px;
  margin-bottom: 4rem;
  background: var(--line);
  border-bottom: 1px solid #fff;
}
.header-center h3 {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: min(34rem, 92%);
  margin: 0;
  padding: 0;
  background: var(--paper-2);
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-num);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.22rem;
}
section.light .header-center h3 {
  background: var(--paper);
}
.header-center h3::before,
.header-center h3::after {
  content: none;
}

/* 小标签 */
.pill {
  display: inline-block;
  height: 3.2rem;
  padding: 0 1.6rem;
  margin: 1.6rem 0;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 3.2rem;
  vertical-align: middle;
}
.pill.green {
  background: rgba(47, 191, 113, 0.1);
  border-color: rgba(47, 191, 113, 0.4);
  color: var(--green-2);
}
.pill.gold {
  background: rgba(200, 162, 74, 0.12);
  border-color: rgba(200, 162, 74, 0.45);
  color: #9A7628;
}

/* 按钮 */
a.button,
button.button {
  display: inline-block;
  min-width: 0;
  height: 4.8rem;
  padding: 0 1.8em;
  margin: 0 1.2rem 1.2rem 0;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 4.6rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s, border-color 0.3s;
}
a.button:hover,
button.button:hover {
  background: var(--green-2);
  border-color: var(--green-2);
  color: #fff;
  opacity: 1;
}
a.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
a.button.ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
a.button.light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
a.button.light:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* --------------------------------------------------------------------------
   6. 首页半脸主视觉
   参考站的招牌交互：一张人像 + 左右两个身份区，悬停左右「滑开」露出说明
   -------------------------------------------------------------------------- */
.face {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 180px;
  overflow: hidden;
  background: var(--ink);
}
.face .face-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 26%;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s;
}

/* 左右身份区 */
.face .zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  width: 42%;
  height: 22%;
  margin: auto 0;
  color: var(--muted);
  text-decoration: none;
}
.face .zone h1 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.face .zone p {
  display: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.face .zone .arrow {
  display: none;
}
.face .zone-designer {
  left: 0;
  text-align: left;
}
.face .zone-promoter {
  right: 0;
  text-align: right;
}
.face .zone h1 .chevron-left,
.face .zone h1 .chevron-right {
  display: inline-block;
  color: var(--green);
  font-family: var(--font-num);
  font-size: 0.62em;
  line-height: 1;
  vertical-align: 0.08em;
}
.face .zone h1 .chevron-left {
  padding: 0 0.06em 0 0;
}
.face .zone h1 .chevron-right {
  padding: 0 0 0 0.06em;
}

/* 滑开面板 */
.face .panel {
  position: absolute;
  top: 0;
  z-index: 2;
  display: none;
  width: 50%;
  height: 100%;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s;
}
.face .panel-left {
  left: 0;
  background: linear-gradient(100deg, rgba(11, 26, 46, 0.97) 0%, rgba(28, 58, 94, 0.86) 62%, rgba(28, 58, 94, 0) 100%);
  transform: translateX(-14%);
}
.face .panel-right {
  right: 0;
  background: linear-gradient(260deg, rgba(11, 26, 46, 0.97) 0%, rgba(31, 166, 94, 0.78) 62%, rgba(31, 166, 94, 0) 100%);
  transform: translateX(14%);
}

/* 小屏：标签压在图上；左右加暗角保证白字可读 */
.face::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 26, 46, 0.7) 0%, rgba(11, 26, 46, 0) 34%, rgba(11, 26, 46, 0) 66%, rgba(11, 26, 46, 0.7) 100%),
    linear-gradient(180deg, rgba(11, 26, 46, 0.5) 0%, rgba(11, 26, 46, 0) 34%, rgba(11, 26, 46, 0) 62%, rgba(11, 26, 46, 0.45) 100%);
  pointer-events: none;
}
@media only screen and (min-width: 375px) {
  .face .zone h1 {
    font-size: 2.6rem;
  }
}
@media only screen and (min-width: 480px) {
  .face .zone h1 {
    font-size: 3.2rem;
  }
}
@media only screen and (min-width: 600px) {
  .face .zone h1 {
    font-size: 4.2rem;
  }
}
@media only screen and (min-width: 600px) {
  .face {
    aspect-ratio: 16 / 9;
  }
}
@media only screen and (min-width: 768px) {
  .face .zone {
    width: 34%;
    height: 46%;
  }
  .face .zone h1 {
    font-size: 5.2rem;
  }
  .face .zone p {
    display: block;
    margin-top: 1.2rem;
    font-size: 1.6rem;
    line-height: 1.45;
  }
}
@media only screen and (min-width: 1140px) {
  .face {
    width: 1040px;
    height: 600px;
    aspect-ratio: auto;
    margin: 0 auto;
  }
  .face .face-img {
    object-position: 56% 26%;
  }
  .face .panel {
    display: block;
  }
  .face .zone {
    width: 520px;
    height: 600px;
    top: 0;
    bottom: auto;
    margin: 0;
  }
  .face .zone h1 {
    font-size: 8.2rem;
    letter-spacing: 0.01em;
  }
  .face .zone h1 {
    position: relative;
    z-index: 4;
    opacity: 1;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s;
  }
  .face .zone p {
    position: relative;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.45s 0.12s, transform 0.55s 0.12s;
  }
  .face .zone p {
    display: block;
    max-width: 300px;
    margin-top: 1.6rem;
    font-size: 1.7rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  }
  .face .zone-designer .description {
    position: absolute;
    top: 176px;
    left: 44px;
    width: 340px;
  }
  .face .zone-promoter .description {
    position: absolute;
    top: 176px;
    right: 44px;
    width: 340px;
  }
  .face .zone-designer p {
    transform: translateX(-16px);
  }
  .face .zone-promoter p {
    transform: translateX(16px);
  }

  /* 悬停：面板滑开、文案淡入、人像微推 */
  .face .zone-designer:hover ~ .face-img,
  .face .zone-designer:focus-visible ~ .face-img {
    transform: translateX(3.2%) scale(1.03);
  }
  .face .zone-promoter:hover ~ .face-img,
  .face .zone-promoter:focus-visible ~ .face-img {
    transform: translateX(-3.2%) scale(1.03);
  }
  .face .zone-designer:hover ~ .panel-left,
  .face .zone-designer:focus-visible ~ .panel-left {
    opacity: 1;
    transform: translateX(0);
  }
  .face .zone-promoter:hover ~ .panel-right,
  .face .zone-promoter:focus-visible ~ .panel-right {
    opacity: 1;
    transform: translateX(0);
  }
  .face .zone-designer:hover h1,
  .face .zone-designer:hover p,
  .face .zone-designer:focus-visible h1,
  .face .zone-designer:focus-visible p,
  .face .zone-promoter:hover h1,
  .face .zone-promoter:hover p,
  .face .zone-promoter:focus-visible h1,
  .face .zone-promoter:focus-visible p {
    opacity: 1;
    transform: translateX(0);
  }
  .face .zone-designer:hover ~ .panel-left ~ .face-img {
    filter: saturate(1.05) brightness(0.92);
  }
  /* 桌面端默认也露出淡淡的姓名条 */
  .face .zone-tag {
    display: block;
  }
}
.face .zone-tag {
  display: none;
}

/* 主视觉下方简介 */
.hero-note {
  padding: 4.8rem 3.2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-note .row {
  max-width: 68rem;
  margin: 0 auto;
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. 作品卡片网格
   -------------------------------------------------------------------------- */
.thumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  /* row-gap 必须用绝对值：百分比 row-gap 在高度自适应的容器里会解析为 0 */
  gap: 3.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thumbs li {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  margin: 0;
  padding: 5% 5% 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.thumbs li:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.thumbs li > a {
  position: relative;
  display: block;
  color: var(--text);
  text-decoration: none;
}
.thumbs li img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.thumbs .description {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0;
}
.thumbs h4 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thumbs p {
  display: block;
  margin: 0 !important;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1.2 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thumbs .arrow-r {
  display: none;
}

/* 作品页：无链接卡片 + 案例说明（说明文字允许换行） */
.thumbs li p.case-note {
  margin: 0 0 2rem !important;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1.6 !important;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media only screen and (min-width: 600px) {
  .thumbs {
    gap: 3.2rem 5%;
  }
  .thumbs li {
    flex: 0 0 calc(50% - 2.5%);
    padding: 1.6666666% 1.6666666% 0;
  }
  .thumbs .description {
    padding: 1.6rem 1.6rem 1.6rem 1.6rem;
  }
}
@media only screen and (min-width: 830px) {
  .thumbs {
    gap: 3.2rem 2.4038461%;
  }
  .thumbs li {
    flex: 0 0 31.7307693%;
    padding: 0.7692307% 0.7692307% 0;
  }
  .thumbs .description {
    padding: 1.6rem 4rem 1.6rem 1.6rem;
  }
  .thumbs li.no-link .description {
    padding-right: 1.6rem;
  }
  .thumbs .arrow-r {
    position: absolute;
    top: 2.1rem;
    right: 1.2rem;
    display: block;
    width: 3.2rem;
    height: 3.2rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s, transform 0.3s;
  }
  .thumbs .arrow-r svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke: var(--green-2);
    stroke-width: 2;
    fill: none;
  }
  .thumbs li:hover .arrow-r,
  .thumbs li a:focus-visible .arrow-r {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --------------------------------------------------------------------------
   8. 图文分栏
   -------------------------------------------------------------------------- */
.split {
  zoom: 1;
}
.split::after {
  display: table;
  content: "";
  clear: both;
}
.split > * {
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .split .col-5 {
    float: left;
    width: 41.3461538%;
    margin-right: 3.8461538%;
  }
  .split .col-7 {
    float: left;
    width: 54.8076923%;
  }
  .split .col-6 {
    float: left;
    width: 48.0769230%;
    margin-right: 3.8461538%;
  }
  .split .col-6:nth-child(2n) {
    margin-right: 0;
  }
  .split .col-4 {
    float: left;
    width: 30.7692307%;
    margin-right: 3.8461538%;
  }
  .split .col-4:last-child {
    margin-right: 0;
  }
  .split.reverse .col-5 {
    float: right;
    margin: 0 0 0 3.8461538%;
  }
  .split.reverse .col-7 {
    float: left;
  }
}

/* 人像卡片 */
.portrait {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.portrait-round {
  border-radius: 50%;
  box-shadow: none;
  max-width: 220px;
}
.portrait-frame {
  position: relative;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(rgba(11, 26, 46, 0), rgba(11, 26, 46, 0.72));
  pointer-events: none;
}
.portrait-caption {
  position: absolute;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 2rem;
  z-index: 2;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
}
.portrait-caption strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   9. 列表（关于页 · 擅长 / 兴趣 / 事实）
   -------------------------------------------------------------------------- */
.list-plain {
  margin: 0 0 4rem;
  padding: 0;
  list-style: none;
}
.list-plain li {
  position: relative;
  margin-bottom: 1.2rem;
  padding-left: 2.2rem;
  font-size: 2rem;
  line-height: 1.5;
}
.list-plain li::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.list-plain.gold li::before {
  background: var(--gold);
}
.list-plain.ink li::before {
  background: var(--ink-2);
}
.list-plain li a {
  color: var(--text);
}

/* 时间线 */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline > li {
  position: relative;
  padding: 0 0 3.2rem 2.8rem;
  border-left: 1px solid var(--line);
}
.timeline > li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.timeline > li::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px #fff;
}
.timeline .when {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}
.timeline h4 {
  margin: 0 0 0.4rem;
  font-size: 2.1rem;
  font-weight: 400;
}
.timeline .role {
  margin: 0;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1.5;
}
.timeline .role:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. 技能条形图（关于页）
   -------------------------------------------------------------------------- */
.bar-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 1.6rem;
  height: 340px;
  margin: 0 0 2.4rem;
  padding: 0 0 0 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.bar-chart li {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.bar-chart .bar {
  position: relative;
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--line);
  transition: height 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.bar-chart li:nth-child(1) .bar {
  background: linear-gradient(180deg, var(--g1-a, #5fb2a8), var(--g1-b, #b0dbd6));
}
.bar-chart .percent {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 2rem;
  text-align: center;
}
.bar-chart .percent span {
  font-size: 1.3rem;
}
.bar-chart .skill {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.3;
  text-align: center;
}

/* 条形图配色：绿 / 墨蓝 / 金 / 深绿 / 浅墨 */
.bar-chart li.c1 .bar {
  background: linear-gradient(180deg, #2FBF71, #B7E9CD);
}
.bar-chart li.c2 .bar {
  background: linear-gradient(180deg, #0B1A2E, #7C8DA6);
}
.bar-chart li.c3 .bar {
  background: linear-gradient(180deg, #C8A24A, #F0DFB6);
}
.bar-chart li.c4 .bar {
  background: linear-gradient(180deg, #1FA65E, #A8E3C4);
}
.bar-chart li.c5 .bar {
  background: linear-gradient(180deg, #1C3A5E, #8FA6C4);
}
.bar-chart li.c6 .bar {
  background: linear-gradient(180deg, #4E5D73, #C3CBD6);
}

/* --------------------------------------------------------------------------
   11. 观点 / 方法论条目
   -------------------------------------------------------------------------- */
.entry-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry-list > li {
  padding: 3.6rem 0;
  border-bottom: 1px solid var(--line);
}
.entry-list > li:first-child {
  padding-top: 0;
}
.entry-list > li:last-child {
  border-bottom: 0;
}
.entry-list h3 {
  margin: 0 0 1.2rem;
  font-size: 2.6rem;
  font-weight: 400;
}
.entry-list p {
  font-size: 1.9rem;
  line-height: 1.6;
}
.entry-list .meta {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 编号卡片 */
.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 7rem;
  margin-bottom: 3.6rem;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.4rem;
  left: 0;
  color: rgba(11, 26, 46, 0.16);
  font-family: var(--font-num);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
}
.steps h3 {
  margin: 0 0 0.8rem;
  font-size: 2.2rem;
  font-weight: 400;
}
.steps p:last-child {
  margin-bottom: 0;
}

/* 引言块 */
.quote {
  margin: 0 0 2.4rem;
  padding: 0 0 0 2.4rem;
  border-left: 3px solid var(--green);
  color: var(--ink-2);
  font-size: 2.1rem;
  line-height: 1.55;
}
.quote p:last-child {
  margin-bottom: 0;
}

/* 三栏卡片 */
.cards-3 {
  zoom: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards-3::after {
  display: table;
  content: "";
  clear: both;
}
.cards-3 > li {
  margin-bottom: 3.2rem;
  padding: 3.2rem 2.8rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.cards-3 h3 {
  margin: 0 0 1rem;
  font-size: 2.1rem;
  font-weight: 400;
}
.cards-3 p {
  margin-bottom: 0;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--muted);
}
@media only screen and (min-width: 768px) {
  .cards-3 {
    display: flex;
    gap: 2.4rem;
  }
  .cards-3 > li {
    flex: 1 1 0;
    margin-bottom: 0;
  }
}

/* 数据条 */
.stats {
  zoom: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats::after {
  display: table;
  content: "";
  clear: both;
}
.stats li {
  margin-bottom: 2.8rem;
  text-align: center;
}
.stats .num {
  display: block;
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stats .num em {
  font-style: normal;
  font-size: 2.2rem;
  font-weight: 400;
  vertical-align: super;
}
.stats .lbl {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.5rem;
}
@media only screen and (min-width: 600px) {
  .stats {
    display: flex;
    gap: 2rem;
  }
  .stats li {
    flex: 1 1 0;
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   12. 联系页
   -------------------------------------------------------------------------- */
.social-disc {
  margin: 0;
  padding: 3.2rem 0 0;
  list-style: none;
}
.social-disc li {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}
.social-disc li a {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 5.2rem;
  padding: 0 1.8rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.8rem;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.social-disc li a:hover {
  border-color: var(--green);
  box-shadow: 0 2px 8px rgba(47, 191, 113, 0.18);
  transform: translateX(2px);
}
.social-disc .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--paper-3);
  flex: 0 0 3.2rem;
}
.social-disc .ico svg {
  width: 17px;
  height: 17px;
  fill: var(--ink);
}
.social-disc li a:hover .ico {
  background: var(--green);
}
.social-disc li a:hover .ico svg {
  fill: #fff;
}
.social-disc .val {
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 1.6rem;
}

/* 表单 */
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  padding: 0 1.6rem;
  border: 1px solid #949494;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 300;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form input[type="text"],
.form input[type="email"] {
  height: 4.8rem;
  line-height: 4.8rem;
}
.form textarea {
  height: 148px;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  line-height: 1.7;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.18);
  outline: none;
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--muted);
}
.form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
  line-height: 1.5;
  color: var(--text);
}
.form .field {
  margin-bottom: 2.4rem;
}
.form .form-row {
  zoom: 1;
}
.form .form-row::after {
  display: table;
  content: "";
  clear: both;
}
@media only screen and (min-width: 768px) {
  .form .form-row .field {
    float: left;
    width: 48.0769230%;
  }
  .form .form-row .field:nth-child(2) {
    float: right;
  }
}
.form .form-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.5rem;
}
.form .form-status {
  display: none;
  clear: both;
  margin: 1.6rem 0 0;
  padding: 1.6rem;
  border: 1px solid #A1D8EA;
  border-radius: 8px;
  background: #EBFAFF;
  color: #007BA2;
  font-size: 1.8rem;
}
.form .form-status.is-visible {
  display: block;
}
.form .form-status.is-error {
  border-color: #EFBBBB;
  background: #F8EFEF;
  color: #BF2727;
}
.form .form-actions {
  margin-top: 0.8rem;
}

/* --------------------------------------------------------------------------
   13. 页脚
   -------------------------------------------------------------------------- */
#footer {
  position: relative;
  min-height: 50px;
  margin-top: 0;
  padding: 4rem var(--gutter) 0;
  background: var(--paper-3);
  box-shadow: var(--shadow-inset);
  color: var(--muted);
  font-size: 1.6rem;
  text-align: center;
}
#footer .left {
  display: block;
  margin-bottom: 1.6rem;
}
#footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
#footer a:hover {
  color: var(--text);
}
#footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer nav li a {
  display: inline-block;
}
@media only screen and (min-width: 830px) {
  #footer .left {
    float: left;
    margin-bottom: 0;
  }
  #footer nav {
    display: inline-block;
    float: right;
  }
  #footer nav li a {
    margin-left: 2rem;
  }
}
#footer .gradient-white {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
a.top {
  position: absolute;
  left: 50%;
  bottom: -24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  background: var(--ink);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: bottom 0.3s, background 0.3s;
}
a.top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2.4;
  fill: none;
}
a.top:hover {
  bottom: -20px;
  background: var(--green-2);
}
a.top span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* 页脚下方的收尾空隙，给回到顶部按钮留位 */
.footer-space {
  height: 34px;
  background: #fff;
}

/* --------------------------------------------------------------------------
   14. 滚动进场
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   15. 无障碍 / 动效偏好
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .bar-chart .bar {
    transition: none;
  }
}

/* 高对比 */
@media (prefers-contrast: more) {
  :root {
    --muted: #555555;
    --line: #B4B4B4;
  }
}

/* --------------------------------------------------------------------------
   16. 打印
   -------------------------------------------------------------------------- */
@media print {
  #header,
  #footer,
  .icon-nav,
  a.top,
  .reveal {
    display: none !important;
  }
  .content {
    margin-top: 0;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  body {
    font-size: 12pt;
  }
  .thumbs li,
  .cards-3 > li {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
