/* ==========================================================
   Portfolio · 邓兰欣  共享样式
   风格：柔和治愈水彩风 / 浅米底色 / 纤细清淡字体
   ========================================================== */
:root{
  --bg: #f7f4f0;                       /* 页面底色：取自首屏插画的纸面底色 */
  --bg-bar: rgba(247, 244, 240, .88);
  --line: rgba(150, 145, 135, .22);    /* 状态栏分割线 */
  --hairline: rgba(150, 145, 135, .13);/* 信息行淡分隔线 */
  --ink-title: #5f5a52;
  --ink-body: #837d73;
  --ink-soft: #aca69b;
  --ink-hover: #8d877c;
  --logo-blue: #a8bcd8;                /* 手写 logo 同款蓝 */
  --wash-blue: #e8eef6;                /* 淡水彩蓝 */
  --wash-green: #eef1e7;               /* 淡水彩绿 */
}
*{ box-sizing: border-box; }
html{
  margin: 0; padding: 0;
  scroll-behavior: smooth;             /* 锚点跳转（如 About）平滑滚动 */
  scroll-padding-top: 78px;            /* 预留状态栏高度，避免标题被遮住 */
}
body{
  background: var(--bg);
  color: var(--ink-body);
  font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial,
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; }

/* —— 页面淡入（唯一动效） —— */
.page-fade{ animation: pageFade 1.1s ease-out both; }
.site-hero{ animation: pageFade 1.1s ease-out .18s both; }
.about{ animation: pageFade 1.1s ease-out .18s both; }
@keyframes pageFade{ from{ opacity: 0; } to{ opacity: 1; } }

/* ============ 顶部状态栏 ============ */
.site-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--bg-bar);
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
  backdrop-filter: blur(12px) saturate(1.02);
  border-bottom: 1px solid var(--line);
}
.site-topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px 0 22px;              /* logo 更靠左 */
  height: 64px;
}
.site-topbar__brand{
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}
.site-topbar__brand img{
  display: block;
  height: 30px;
  width: auto;
}
.site-topbar__nav ul{
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-topbar__nav a{
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .13em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transform-origin: center;
  transition: color .42s ease, transform .42s ease;
}
/* 悬浮 / 点击 / 当前页：变大 + logo 同款蓝 */
.site-topbar__nav a:hover,
.site-topbar__nav a:focus-visible,
.site-topbar__nav a:active,
.site-topbar__nav a.is-active,
.site-topbar__nav a[aria-current="page"]{
  color: var(--logo-blue);
  font-weight: 400;
  transform: scale(1.14);
  outline: none;
}

/* ============ 首屏（index） ============ */
.site-hero{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100vh - 65px);
  height: calc(100svh - 65px);
  padding: 2.6vh 24px 3vh;
  text-align: center;
}
.site-hero__art{
  position: relative;                  /* 星星图层定位基准 */
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
  margin: 0;
  line-height: 0;
  text-decoration: none;
  transform-origin: center;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}
/* 悬停翅膀：整体微微放大 */
.site-hero__art:hover,
.site-hero__art:focus-visible{
  transform: scale(1.03);
}
.site-hero__art > img{
  display: block;
  height: 100%;
  width: auto;
  aspect-ratio: 2 / 1;                 /* 比例拉长：16:9 → 2:1 */
  max-width: 100%;
  object-fit: cover;                   /* 只裁上下留白的纸边，不挤压变形 */
  object-position: center;
}
/* 无星版插画：与主图同框同尺寸，悬停时淡入替换 */
.site-hero__art > .site-hero__art-clean{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  aspect-ratio: 2 / 1;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 1;
  pointer-events: none;
}
.site-hero__art:hover .site-hero__art-clean,
.site-hero__art:focus-visible .site-hero__art-clean{
  opacity: 1;
}

/* —— 星星层：与插画同框 —— */
.star-rain{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  aspect-ratio: 2 / 1;
  width: auto;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.star-rain img{
  position: absolute;
  top: -12%;
  left: var(--x, 50%);
  width: var(--s, 22px);
  height: auto;
  opacity: 0;
  animation-name: none;                /* 默认不动，悬停才播放 */
  animation-duration: var(--d, 3s);
  animation-delay: var(--delay, 0s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: top, transform, opacity;
}

/* 原来画在插画里的 14 颗星：悬停时统一垂直下落，在椭圆消失区内有高有低地消失 */
.star-rain .star-orig{
  top: var(--y, 50%);
  animation-timing-function: linear;   /* 匀速下落，整齐不乱飞 */
}

.site-hero__art:hover .star-rain img,
.site-hero__art:focus-visible .star-rain img{
  animation-name: starFall;
}
.site-hero__art:hover .star-rain .star-orig,
.site-hero__art:focus-visible .star-rain .star-orig{
  animation-name: starDropZone;
}

@keyframes starFall{
  0%{
    top: -12%;
    opacity: 0;
    transform: rotate(0deg) scale(.9);
  }
  12%{ opacity: .85; }
  72%{ opacity: .85; }
  100%{
    top: 106%;
    opacity: 0;
    transform: rotate(540deg) scale(1.05);
  }
}
/* 原位星消失动画：全部统一垂直下落，不左右乱飘；
   每颗星的消失高度 --end 都落在同一个椭圆区域内（中心 50%/72%，半径 42%×32%），
   高处的星落得深、矮处的星落得浅，于是消失点有高有低、全部收进椭圆范围 */
@keyframes starDropZone{
  0%{
    top: var(--y);
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  30%{ opacity: .95; }
  60%{ opacity: .7; }
  100%{
    top: var(--end, 90%);
    opacity: 0;
    transform: rotate(360deg) scale(.8);
  }
}
.site-hero__intro{
  flex: 0 0 auto;
  margin-top: 1.2vh;
  max-width: 560px;
}
.site-hero__title{
  margin: 0 0 1.1vh;
  font-size: clamp(20px, 2.9vh, 26px);
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink-title);
}
.site-hero__roles{
  margin: 0 0 1.6vh;
  font-size: clamp(12.5px, 1.6vh, 14px);
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink-hover);
}
.site-hero__desc{
  margin: 0;
  font-size: clamp(12.5px, 1.6vh, 14px);
  font-weight: 300;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--ink-body);
}
.site-hero__scroll{
  flex: 0 0 auto;
  margin: 0;
  padding-top: 2.4vh;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .24em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .42s ease;
}
.site-hero__scroll:hover{ color: var(--logo-blue); }
.site-hero__scroll::before{
  content: "";
  display: block;
  width: 1px;
  height: 3.4vh;
  min-height: 18px;
  margin: 0 auto 10px;
  background: linear-gradient(to bottom, rgba(172,166,155,0), rgba(172,166,155,.75));
}

/* ============ 【关于我】板块（work 页） ============ */
.about{
  scroll-margin-top: 78px;             /* 锚点定位时避开吸顶状态栏 */
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) 34px clamp(70px, 10vh, 130px);
}
.about__inner{
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: clamp(32px, 4.4vh, 52px);
  align-items: start;
}

/* 左栏：个人照片 */
.about__photo{
  margin: 0;
}
.about__photo-frame{
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background: var(--wash-blue);
}
.about__photo-frame img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__photo figcaption{
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--ink-soft);
}

/* 右栏：个人信息 */
.about__title{
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--ink-title);
}
.about__title em{
  font-style: normal;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .3em;
  color: var(--logo-blue);
  margin-left: 14px;
  vertical-align: 2px;
}
.about__lead{
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.9;
  color: var(--ink-hover);
}
.about__list{
  margin: 0;
  padding: 0;
}
.about__row{
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding: 13px 2px;
}
.about__row + .about__row{
  border-top: 1px solid var(--hairline);
}
.about__row dt{
  flex: 0 0 96px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--ink-soft);
}
.about__row dd{
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1.75;
  color: #6b665d;
}
/* 项目经历：横跨照片与文字两栏的淡水彩长卡片 */
.about__project{
  grid-column: 1 / -1;                  /* 左贴照片左缘，右抵文字右缘 */
  margin: 0;
  padding: 24px clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: linear-gradient(150deg, var(--wash-blue), #f5f3ec 70%);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px clamp(18px, 2.6vw, 40px);
}
.about__project h3{
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--ink-soft);
}
.about__project p{
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1.9;
  color: #6b665d;
}

/* ============ 空状态 / 占位页（work 页） ============ */
.site-note{
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(90px, 18vh, 200px) 24px;
  text-align: center;
}
.site-note__star{
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--logo-blue);
}
.site-note__title{
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--ink-title);
}
.site-note__text{
  margin: 0 0 34px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .1em;
  line-height: 2;
  color: var(--ink-body);
}
.site-note__link{
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink-hover);
  text-decoration: none;
  background: linear-gradient(150deg, var(--wash-blue), var(--wash-green));
  transition: color .42s ease, transform .42s ease;
}
.site-note__link:hover{
  color: var(--logo-blue);
  transform: scale(1.04);
}

/* ============ 作品页：左侧分类栏 ============ */
.work-layout{
  display: flex;
  align-items: flex-start;
  gap: clamp(36px, 7vw, 96px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(60px, 11vh, 130px) 34px;
  animation: pageFade 1.1s ease-out .18s both;
}
.work-side{
  flex: 0 0 auto;
  position: sticky;                    /* 滚动时分类栏留在左侧 */
  top: 96px;
}
.work-side__nav{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.work-side__nav a{
  display: block;
  text-decoration: none;
  transform-origin: left center;       /* 从左侧基点放大，不挤右边 */
  transition: color .38s ease, transform .38s ease;
}
/* 顶部的 Work：深灰、更大 */
.work-side__title{
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--ink-title);
  margin-bottom: 6px;
}
/* 分类项：颜色略浅、字号更小 */
.work-side__nav a:not(.work-side__title){
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
/* 悬浮：变灰 + 字体略大（14px × 1.07 ≈ 15px，始终小于 Work 的 20px） */
.work-side__nav a:not(.work-side__title):hover,
.work-side__nav a:not(.work-side__title):focus-visible{
  outline: none;
  color: var(--ink-hover);
  transform: scale(1.07);
}
/* 点击：变蓝（配合页面底部的小脚本切换 .is-active） */
.work-side__nav a:not(.work-side__title):active,
.work-side__nav a:not(.work-side__title).is-active{
  color: var(--logo-blue);
}
.work-main{
  flex: 1 1 auto;
  min-width: 0;
}
/* 内容区已被 work-layout 提供留白，抵消 site-note 自带的内边距 */
.work-main .site-note{
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ============ IP 设计案例 ============ */
.ip-case,
.agent-case,
.work-soon{
  scroll-margin-top: 92px;             /* 锚点定位避开吸顶状态栏 */
}
/* Art 页：内容区第一个板块不加上边距和分隔线（与 Work 页首板块一致） */
.work-main > .work-soon:first-child,
.work-main > .case:first-child{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.ip-case__head{
  margin-bottom: clamp(30px, 4.5vh, 52px);
}
.ip-case__eyebrow{
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .34em;
  color: var(--logo-blue);
}
.ip-case__title{
  margin: 0 0 16px;
  font-size: clamp(24px, 3.2vh, 30px);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--ink-title);
}
.ip-case__lead{
  margin: 0;
  max-width: 620px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 2.05;
  letter-spacing: .05em;
  color: var(--ink-body);
}
.ip-case__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ip-case__tags li{
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .14em;
  color: var(--ink-hover);
  background: linear-gradient(150deg, var(--wash-blue), var(--wash-green));
}

/* 两张完整长图并排：不裁切，整张呈现 */
.ip-board{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;                  /* 顶对齐，各按自身长度延伸 */
}
.ip-board__item{
  margin: 0;
}
.ip-board__item a{
  display: block;
  text-decoration: none;
}
.ip-board__item img{
  display: block;
  width: 100%;
  height: auto;                        /* 整张图完整显示，不裁不切 */
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(120, 110, 95, .07);
  transition: box-shadow .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}
.ip-board__item a:hover img{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(120, 110, 95, .12);
}
.ip-board__item figcaption{
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink-soft);
}
.ip-board__note{
  margin: 26px 0 0;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--ink-soft);
}

/* ============ Art 页：案例通用排版（海报 / 书籍 / 品牌 / 家居） ============ */
.case{
  scroll-margin-top: 92px;
  margin-top: clamp(56px, 9vh, 96px);   /* 与上一板块拉开，同 Work 页各板块节奏 */
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}
.case__head{
  margin-bottom: clamp(28px, 4.2vh, 46px);
}
.case__eyebrow{
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .34em;
  color: var(--logo-blue);
}
.case__title{
  margin: 0 0 16px;
  font-size: clamp(24px, 3.2vh, 30px);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--ink-title);
}
.case__lead{
  margin: 0;
  max-width: 620px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 2.05;
  letter-spacing: .05em;
  color: var(--ink-body);
}
.case__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.case__tags li{
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .14em;
  color: var(--ink-hover);
  background: linear-gradient(150deg, var(--wash-blue), var(--wash-green));
}

/* 海报分组之间留白 */
.ad-group + .ad-group{
  margin-top: clamp(40px, 6.5vh, 68px);
}
.ad-group__label{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .3em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ad-group__label::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.ad-grid{
  display: grid;
  gap: 22px;
  align-items: start;
}
.ad-grid--trio{
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.ad-item{
  margin: 0;
}
.ad-item a{
  display: block;
  text-decoration: none;
}
.ad-item img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(120, 110, 95, .07);
  transition: box-shadow .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}
.ad-item a:hover img{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(120, 110, 95, .12);
}
.ad-item figcaption{
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink-soft);
}
.ad-list-note{
  margin: 22px 0 0;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--ink-soft);
}
/* 家居设计：单张方案板长图，限宽保清晰度 */
.home-grid{
  grid-template-columns: minmax(0, 800px);
}
/* 满宽单张：书籍封面、品牌标志等横向大图 */
.case-grid--full{
  grid-template-columns: minmax(0, 1fr);
}
/* 同组内两张满宽图上下叠放时，多留一点呼吸 */
.case-grid--full > .ad-item + .ad-item{
  margin-top: 10px;
}
/* IP 设计：单张长图，占满内容宽度（源图为 1200px 宽，2 倍图足够清晰） */
.ip-single{
  grid-template-columns: minmax(0, 1fr);
}
/* 书籍内页：按可用宽度自动两列 */
.book-grid--inner{
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.book-grid--inner .ad-item img{
  background: #fff;
}

/* ============ Agent 搭建案例 ============ */
.agent-case{
  margin-top: clamp(56px, 9vh, 96px);
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}
.agent-case__head{
  margin-bottom: 30px;
}
.agent-case__eyebrow{
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .34em;
  color: var(--logo-blue);
}
.agent-case__title{
  margin: 0 0 16px;
  font-size: clamp(22px, 2.9vh, 27px);
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink-title);
}
.agent-case__lead{
  margin: 0;
  max-width: 640px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 2.05;
  letter-spacing: .05em;
  color: var(--ink-body);
}
.agent-case__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.agent-case__tags li{
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .14em;
  color: var(--ink-hover);
  background: linear-gradient(150deg, var(--wash-blue), var(--wash-green));
}

/* 工作流全景图：已抠掉画布底色，直接浮在页面上 */
.agent-case__fig{
  margin: 0;
}
.agent-case__fig > a{
  display: block;
  text-decoration: none;
}
.agent-case__fig img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: box-shadow .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}
/* 悬停轻微上浮 + 加深投影，点击在新标签查看全图 */
.agent-case__fig a:hover img{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(120, 110, 95, .12);
}
.agent-case__fig figcaption{
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink-soft);
}

/* 三段流程拆解 */
.agent-case__steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.agent-case__steps span{
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .3em;
  color: var(--logo-blue);
}
.agent-case__steps h3{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--ink-title);
}
.agent-case__steps p{
  margin: 0;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--ink-body);
}

/* 其他分类占位 */
.work-soon{
  margin-top: clamp(56px, 9vh, 96px);
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.work-soon__label{
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .3em;
  color: var(--logo-blue);
}
.work-soon__text{
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

/* ============ 响应式 ============ */
/* ============ 首页第二屏：页面目录（蝴蝶结 + 三个入口） ============ */
.site-menu{
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 34px 70px;
  scroll-margin-top: -13px;            /* 抵消全局 78px 预留，正好停在状态栏下沿 */
}

.menu-stage{
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 中央蝴蝶结：降低透明度做底纹 */
.menu-bow{
  width: clamp(230px, 34vw, 356px);
  margin-bottom: clamp(42px, 7vh, 72px);
  opacity: .2;
  pointer-events: none;
}
.menu-bow img{
  display: block;
  width: 100%;
  height: auto;
}

/* 三个入口：状态栏式横条 */
.menu-list{
  width: 100%;
  display: flex;
  flex-direction: column;
}
.menu-item{
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 17px 10px 17px 6px;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  transition: padding-left .35s ease, background-color .35s ease;
}
.menu-item:last-child{ border-bottom: 1px solid var(--hairline); }
.menu-item__num{
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  transition: color .35s ease;
}
.menu-item__name{
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink-title);
  transition: color .35s ease, transform .35s ease;
}
.menu-item__cn{
  flex: 1 1 auto;
  margin-right: 4px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .22em;
  text-align: right;
  color: var(--ink-soft);
  transition: color .35s ease;
}
.menu-item__arrow{
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--ink-soft);
  transition: color .35s ease, transform .35s ease;
}
.menu-item:hover,
.menu-item:focus-visible{
  padding-left: 16px;
  background: rgba(168, 188, 216, .07);
}
.menu-item:hover .menu-item__name,
.menu-item:focus-visible .menu-item__name{ color: var(--logo-blue); }
.menu-item:hover .menu-item__num,
.menu-item:hover .menu-item__cn,
.menu-item:hover .menu-item__arrow,
.menu-item:focus-visible .menu-item__num,
.menu-item:focus-visible .menu-item__cn,
.menu-item:focus-visible .menu-item__arrow{ color: var(--logo-blue); }
.menu-item:hover .menu-item__arrow,
.menu-item:focus-visible .menu-item__arrow{ transform: translateX(6px); }
.menu-item:focus-visible{ outline: none; }

@media (max-width: 820px){
  .work-layout{
    flex-direction: column;            /* 窄屏：分类栏移到内容上方 */
    gap: 44px;
    padding: 48px 22px 70px;
  }
  .work-side{ position: static; }
  .work-side__nav{ flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; }
  .work-side__title{ margin-bottom: 0; margin-right: 8px; }
  .ip-board{ grid-template-columns: 1fr; gap: 18px; }   /* 窄屏单栏，图片仍整张显示 */
  .agent-case__steps{ grid-template-columns: 1fr; gap: 18px; }
  .work-main .site-note{ text-align: center; }
  .about{ padding: 48px 22px 70px; }
  .about__inner{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__photo-frame{ max-width: 320px; margin: 0 auto; }
  .about__row{ gap: 20px; }
}
@media (max-width: 620px){
  .site-topbar__inner{
    height: auto; flex-wrap: wrap; justify-content: center;
    gap: 8px 18px; padding: 13px 18px;
  }
  .site-topbar__brand img{ height: 25px; }
  .site-topbar__nav ul{ gap: 16px; }
  .site-topbar__nav a{ font-size: 12px; letter-spacing: .1em; }
  .site-hero{
    height: auto; min-height: calc(100svh - 92px);
    padding: 26px 20px; justify-content: flex-start;
  }
  .site-hero__art{ flex: 0 0 auto; }
  .site-hero__art > img{ height: auto; width: clamp(240px, 86vw, 420px); }
  /* 触屏无悬停，隐藏星星层与无星版，避免叠图 */
  .star-rain,
  .site-hero__art-clean{ display: none; }
  .site-hero__art:hover{ transform: none; }
  .site-hero__intro{ margin-top: 26px; }
  .site-hero__title{ font-size: 20px; }
  .site-hero__roles{ font-size: 12.5px; letter-spacing: .12em; }
  .site-hero__desc{ font-size: 13px; }
  .site-hero__scroll{ margin-top: auto; padding-top: 40px; }
  .about__row{ flex-direction: column; gap: 4px; padding: 11px 0; }
  .about__row dt{ flex: none; }
  /* 首页第二屏目录 */
  .site-menu{ padding: 70px 22px 54px; }
  .menu-bow{ width: clamp(200px, 64vw, 300px); margin-bottom: 42px; }
  .menu-item{ padding: 15px 8px 15px 4px; gap: 12px; }
  .menu-item__name{ font-size: 15.5px; }
  .menu-item__cn{ font-size: 11px; letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce){
  .page-fade, .site-hero, .about, .menu-stage{ animation: none; }
  .menu-item, .menu-item__name, .menu-item__arrow{ transition: none; }
  .site-topbar__nav a{ transition: color .3s ease; }
  .star-rain img{ animation: none !important; opacity: 0; }
  .site-hero__art{ transition: none; }
  .site-hero__art:hover,
  .site-hero__art:focus-visible{ transform: none; }
  .site-hero__art:hover .site-hero__art-clean,
  .site-hero__art:focus-visible .site-hero__art-clean{ opacity: 0; }
}
