/* ============================================================
   lumy · 手帐风作品集
   配色：奶油米白 / 暖杏 / 鼠尾草绿 / 豆沙粉 / 深棕灰
   ============================================================ */

:root{
  --cream:      #F5EFE6;   /* 主背景 */
  --cream-deep: #EFE6DA;
  --paper:      #FFFCF7;   /* 卡片纸 */
  --apricot:    #E8D5C4;   /* 暖杏点缀 */
  --sage:       #A8B5A0;   /* 鼠尾草绿 */
  --blush:      #D4A5A5;   /* 豆沙粉 */
  --ink:        #4A4238;   /* 深棕灰文字 */
  --ink-soft:   #6E6459;
  --ink-faint:  #9A9086;
  --line:       #DED2C3;

  --shadow-s: 0 2px 6px rgba(74,66,56,.07);
  --shadow-m: 0 10px 24px rgba(74,66,56,.12);
  --shadow-l: 0 22px 48px rgba(74,66,56,.20);

  --font-script: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --font-hand: "Montserrat", "Avenir Next", "Helvetica Neue", "PingFang SC", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --maxw: 1180px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body{
  margin: 0;
  overflow-x: clip; /* 兜底：贴纸/胶带等绝对定位元素不产生横向滚动（不影响 sticky 导航） */
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    /* 淡淡的横线，像内页 */
    repeating-linear-gradient(to bottom, rgba(74,66,56,.035) 0 1px, transparent 1px 34px),
    /* 纸纤维噪点 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ padding: 0; margin: 0; list-style: none; }
h1,h2,h3{ margin: 0; font-weight: 700; line-height: 1.3; }

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

/* 标题统一用衬线宋体（参考图3），正文用系统黑体 */
h1, h2, .section-title, .quote-note p,
.edu-school h3, .skill-h, .tl-title{
  font-family: var(--font-script);
}

/* ---------------- 通用纸片 / 胶带 / 印章 ---------------- */
.note-card{
  position: relative;
  background: var(--paper);
  padding: 26px 26px 24px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-m);
  border: 1px solid rgba(74,66,56,.07);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease;
}
.note-card::after{ /* 纸张右下角微卷 */
  content:"";
  position: absolute; right: 0; bottom: 0;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, transparent 50%, rgba(74,66,56,.08) 50%);
  border-bottom-right-radius: var(--r-lg);
}

.tape{
  position: absolute;
  width: 108px; height: 30px;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.5) 0 6px, rgba(255,255,255,.18) 6px 12px),
    rgba(232,213,196,.82);
  border-left: 1px dashed rgba(255,255,255,.65);
  border-right: 1px dashed rgba(255,255,255,.65);
  box-shadow: 0 2px 5px rgba(74,66,56,.10);
  z-index: 3;
  pointer-events: none;
}
.tape--top-left{ top: -14px; left: -18px; transform: rotate(-32deg); }
.tape--top-right{ top: -14px; right: -18px; transform: rotate(30deg); }
.tape--bottom-right{ bottom: -14px; right: -14px; transform: rotate(-26deg); }
.tape--top-center{ top: -14px; left: 50%; margin-left: -54px; transform: rotate(-3deg); }

.stamp{
  display: inline-block;
  font-family: var(--font-script);
  padding: 4px 12px 3px;
  border: 1.6px solid currentColor;
  border-radius: 6px;
  opacity: .82;
  letter-spacing: .06em;
}
.stamp--card{
  position: absolute; top: 16px; right: -10px;
  background: rgba(212,165,165,.16);
  color: #B87B7B;
  font-size: 15px;
  transform: rotate(7deg);
  border-radius: 4px;
  z-index: 4;
}
.label-chip{
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(168,181,160,.22);
  color: #5E6B57;
  white-space: nowrap;
}
.chip--sage{ background: rgba(168,181,160,.26); color: #5E6B57; }
.chip--blush{ background: rgba(212,165,165,.22); color: #A97070; }

/* ---------------- 导航 ---------------- */
.nav{
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  background: linear-gradient(to bottom, var(--cream) 62%, rgba(245,239,230,0));
}
.brand{
  font-family: var(--font-hand);
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em;
}

.nav-cta{ display: flex; align-items: center; gap: 12px; }
.btn--nav{
  background: var(--ink); color: var(--cream);
  border-color: var(--ink);
  padding: 10px 20px;
  letter-spacing: .06em;
}
.btn--nav:hover{ transform: translateY(-2px); box-shadow: var(--shadow-m); }

.nav-links{ display: flex; gap: 6px; }
.nav-link{
  position: relative;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .14em;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.nav-link:hover{ background: rgba(232,213,196,.55); color: var(--ink); }
.nav-link.is-active{ color: var(--ink); background: rgba(232,213,196,.75); }
.nav-link.is-active::after{
  content:""; position: absolute; left: 50%; bottom: -3px;
  width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--blush);
}

.nav-toggle{
  display: none;
  width: 42px; height: 38px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  padding: 10px 9px;
}
.nav-toggle span{ display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 3px 0; }

.progress{
  position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70;
  background: transparent;
}
.progress i{ display: block; height: 100%; width: 0; background: var(--blush); opacity: .75; }

/* ---------------- Hero ---------------- */
.hero{
  width: 100%;
  overflow: hidden; /* 装饰元素（大圆、拼贴标签）不外溢撑出横向滚动 */
  background:
    repeating-linear-gradient(to bottom, rgba(74,66,56,.03) 0 1px, transparent 1px 34px),
    #F1E4D1;
  border-bottom: 1px solid rgba(74,66,56,.08);
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.hero-eyebrow{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-hand);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .28em;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.hero-eyebrow i{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(168,181,160,.35);
}
.hero-title{
  font-family: var(--font-script);
  font-weight: 900;
  font-size: clamp(44px, 6.8vw, 84px);
  line-height: 1.16;
  letter-spacing: .02em;
  margin: 0 0 18px;
}
.hero-title em{
  font-style: normal;
  position: relative;
  color: var(--ink);
}
/* 红色笔刷划过名字 */
.hero-title em::after{
  content:""; position: absolute; left: -4%; right: -6%; bottom: .06em;
  height: .42em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 60' preserveAspectRatio='none'%3E%3Cpath d='M10 40 C 50 16, 95 14, 130 22 C 165 30, 200 34, 212 28' fill='none' stroke='%23C96F5E' stroke-width='22' stroke-linecap='round' opacity='.5'/%3E%3Cpath d='M14 30 C 60 44, 130 40, 206 24' fill='none' stroke='%23C96F5E' stroke-width='10' stroke-linecap='round' opacity='.4'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero-role{
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  margin: 0 0 30px;
}
.hero-role strong{ color: #8C6A5A; }
/* 黄色马克笔划线 */
.hero-role em{
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(239,201,76,.75) 60%);
  padding: 0 2px;
}

/* 竖线引用（参考编辑风排版） */
.quote-note{
  position: relative;
  border-left: 3px solid #C96F5E;
  padding: 4px 0 4px 20px;
  margin: 0 0 8px;
  max-width: 440px;
}
.quote-note p{
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 19px;
  margin: 0;
  line-height: 1.8;
  color: var(--ink-soft);
}
.quote-note strong{ color: var(--ink); }

.hero-actions{ display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn{
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  border: 1.5px solid var(--ink);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--solid{ background: var(--ink); color: var(--cream); }
.btn--solid:hover{ transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn--ghost{ background: transparent; }
.btn--ghost:hover{ background: rgba(232,213,196,.7); transform: translateY(-2px); }
button.btn{ font-family: inherit; cursor: pointer; }
.btn--mint{ background: rgba(168,181,160,.32); border-color: rgba(140,155,132,.9); }
.btn--mint:hover{ background: rgba(168,181,160,.55); transform: translateY(-2px); box-shadow: var(--shadow-m); }

/* ---------------- 相机拼贴照片区 ---------------- */
.hero-photo{
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 560px;
}
/* 背景细线大圆 */
.ring-deco{
  position: absolute; right: -60px; top: -30px;
  width: 320px; height: 320px;
  border: 1.5px solid rgba(74,66,56,.14);
  border-radius: 50%;
}
/* 大圆弧异形相框：右上、左下大弧，深色细描边 */
.photo-frame{
  position: relative; z-index: 2;
  width: min(400px, 82vw);
  aspect-ratio: 4 / 5;
  background: var(--paper);
  padding: 12px;
  border: 1.5px solid rgba(74,66,56,.55);
  border-radius: 30px 140px 30px 140px;
  box-shadow: var(--shadow-l);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.photo-frame:hover{ transform: translateY(-6px) rotate(-.5deg); }
.photo-frame > img{
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px 130px 20px 130px;
}
.photo-frame img.is-hidden{ display: none; }
.photo-frame.is-dragover{ outline: 2px dashed #C96F5E; outline-offset: 6px; }
.photo-empty{
  position: absolute; inset: 12px;
  border-radius: 20px 130px 20px 130px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
  font-size: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,252,247,.9), transparent 60%),
    repeating-linear-gradient(45deg, rgba(232,213,196,.4) 0 12px, rgba(232,213,196,.16) 12px 24px),
    var(--cream-deep);
}
.photo-empty small{ font-size: 12px; color: var(--ink-faint); }
/* 胶片计数徽章 */
.frame-film-badge{
  position: absolute; top: 26px; right: 44px;
  font-family: var(--font-hand);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--paper);
  background: rgba(74,66,56,.55);
  padding: 5px 12px 4px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
/* 照片区叠放的小物件 */
.photo-widget{ position: absolute; z-index: 4; }
/* 左上：贴纸便签 */
.widget-sticker{
  top: 26px; left: 26px;
  background: var(--paper);
  border: 1px solid rgba(74,66,56,.1);
  border-radius: 8px;
  padding: 16px 16px 10px;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-m);
  display: flex; flex-direction: column; gap: 2px;
}
.widget-sticker b{ font-family: var(--font-hand); font-size: 15px; letter-spacing: .1em; }
.widget-sticker span{ font-size: 12px; color: var(--ink-soft); }
/* 左侧：胶卷条 */
.film-strip{
  position: absolute; z-index: 3;
  left: 6px; top: 16%;
  width: 34px; height: 44%;
  background: #2E2A26;
  border-radius: 6px;
  box-shadow: var(--shadow-m);
  transform: rotate(-2deg);
}
.film-strip::before{ /* 片格 */
  content:""; position: absolute; inset: 14px 6px;
  background:
    repeating-linear-gradient(to bottom,
      var(--cream-deep) 0 14px,
      rgba(232,213,196,.35) 14px 16px,
      transparent 16px 22px);
  border-radius: 2px;
}
.film-strip::after{ /* 齿孔两列 */
  content:""; position: absolute; top: 5px; bottom: 5px; left: 4px;
  width: 4px;
  background: repeating-linear-gradient(to bottom, var(--cream) 0 4px, transparent 4px 10px);
  border-radius: 1px;
  box-shadow: 22px 0 0 0 var(--cream);
}
/* 右侧：拼贴短关键字 */
.collage-tags{
  top: 34%; right: -34px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.ctag{
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--ink);
  padding: 8px 14px 7px;
  border: 1px solid rgba(74,66,56,.12);
  box-shadow: var(--shadow-s);
  position: relative;
}
.ctag::before{ /* 迷你胶带 */
  content:""; position: absolute; top: -7px; left: 50%;
  width: 34px; height: 13px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(232,213,196,.75);
  border-radius: 1px;
}
.ctag--blush{ background: #F2DCDC; transform: rotate(-4deg); border-radius: 3px 12px 4px 10px; }
.ctag--sage{ background: #DCE3D8; transform: rotate(3deg); border-radius: 12px 4px 10px 4px; }
.ctag--apricot{ background: #F0E2D0; transform: rotate(-2deg); border-radius: 6px 14px 5px 12px; }
/* 左下：代表经历卡 */
.widget-exp{
  left: -30px; bottom: 30px;
  background: var(--paper);
  border: 1px solid rgba(74,66,56,.1);
  border-radius: 14px;
  padding: 14px 20px 12px;
  box-shadow: var(--shadow-m);
  display: flex; flex-direction: column; gap: 3px;
  max-width: 240px;
}
.exp-kicker{
  font-family: var(--font-hand);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .24em;
  color: #C96F5E;
  margin-bottom: 2px;
}
.widget-exp strong{
  font-family: var(--font-script);
  font-weight: 900; font-size: 19px;
  letter-spacing: .02em;
}
.widget-exp .exp-tags{ font-size: 12px; color: var(--ink-faint); }

.tag-row{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 64px 0 0;
  padding: 0;
  justify-content: center;
}
.mini-tag{
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  transform: rotate(var(--rot, 0deg));
}
.mini-tag:nth-child(1){ --rot: -2deg; }
.mini-tag:nth-child(2){ --rot: 1.5deg; }
.mini-tag:nth-child(3){ --rot: -1deg; background: rgba(168,181,160,.16); }
.mini-tag:nth-child(4){ --rot: 2deg; background: rgba(212,165,165,.14); }
.mini-tag:nth-child(5){ --rot: -1.5deg; }

.scroll-hint{
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 54px;
  font-size: 13px; color: var(--ink-faint);
}
.scroll-hint i{
  width: 1px; height: 34px;
  background: linear-gradient(var(--line), transparent);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob{ 0%,100%{ transform: translateY(0); opacity:.4 } 50%{ transform: translateY(6px); opacity:1 } }

/* ---------------- Section 通用 ---------------- */
.section{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px;
}
.section--tinted{
  max-width: none;
  background: linear-gradient(180deg, rgba(232,213,196,0), rgba(232,213,196,.32), rgba(232,213,196,0));
}
.section--tinted > *{ max-width: var(--maxw); margin-inline: auto; }
.section-head{ margin-bottom: 40px; position: relative; }
.section-index{
  font-family: var(--font-hand);
  font-size: 15px; font-weight: 700; color: var(--blush);
  text-transform: uppercase; letter-spacing: .3em;
  display: block; margin-bottom: 4px;
}
.section-title{
  font-family: var(--font-script);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 48px);
  letter-spacing: .04em;
}
.section-title::after{
  content:""; display: block; width: 64px; height: 3px; margin-top: 10px;
  background: var(--apricot); border-radius: 3px;
}
.section-desc{ color: var(--ink-soft); font-size: 15px; margin: 10px 0 0; }

/* ---------------- 教育（校园大图卡片） ---------------- */
.edu-wrap{
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}
.edu-card{
  background: var(--paper);
  border: 1px solid rgba(74,66,56,.08);
  border-radius: 20px;
  box-shadow: var(--shadow-m);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease;
}
.edu-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-l); }

.edu-photo{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(232,213,196,.4) 0 12px, rgba(232,213,196,.16) 12px 24px),
    var(--cream-deep);
}
.edu-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.edu-photo img.pos-low{ object-position: center 72%; }
.edu-photo-fallback{
  position: absolute; inset: 0;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 16px;
  color: var(--ink-soft); font-size: 12.5px;
}
.edu-photo-fallback b{
  font-family: var(--font-hand); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em; color: var(--ink);
}
/* 圆形校徽（真实校徽图片） */
.edu-seal{
  position: absolute; right: 16px; bottom: 14px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid rgba(74,66,56,.4);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  padding: 3px;
}
.edu-seal img{
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.edu-body{ padding: 22px 26px 24px; }
.edu-date{
  font-family: var(--font-hand);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em;
  color: #C96F5E;
  margin: 0 0 8px;
}
.edu-degree-row{
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 10px;
}
.edu-degree{ font-size: 13.5px; color: var(--ink-soft); }
.edu-body h3{ font-size: 27px; font-weight: 900; margin: 0 0 8px; }
.edu-courses{
  font-size: 13.5px; color: var(--ink-soft);
  line-height: 1.95; margin: 0;
}

/* ---------------- 实习时间轴 v3（纵向 · 随页面滚动） ---------------- */
.tl2{ position: relative; }

/* 容器：左侧留出轨道空间 */
.tl2-viewport{ position: relative; padding-left: 56px; }

.tl2-track{
  position: relative;
  display: flex; flex-direction: column; gap: 42px;
}

/* 纵向时间轴：虚线 + 已读进度 */
.tl2-rail{
  position: absolute; left: 18px; top: 8px; bottom: 8px;
  width: 0;
  border-left: 2px dashed rgba(74,66,56,.22);
}
.tl2-rail::after{ /* 顶端起点圆点 */
  content:""; position: absolute; left: -5px; top: -7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blush);
}
.tl2-rail i{
  position: absolute; left: -1px; top: 0;
  width: 2px; height: 0;
  background: linear-gradient(180deg, #C96F5E, var(--blush));
  border-radius: 2px;
  transition: height .3s linear;
}

/* 卡片 */
.tl2-card{
  position: relative;
  width: 100%;
  background: var(--paper);
  border: 1px solid rgba(74,66,56,.09);
  border-radius: 18px 22px 12px 20px;
  padding: 30px 32px 24px;
  box-shadow: var(--shadow-m);
  opacity: .5;
  transform: translateY(26px) scale(.99);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease;
}
.tl2-card.is-active{
  opacity: 1;
  transform: none;
  box-shadow: var(--shadow-l);
}
.tl2-card:hover{ box-shadow: var(--shadow-l); }

/* 节点圆点（挂在左侧轨道上） */
.tl2-node{
  position: absolute; top: 34px; left: -46px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--sage);
  box-shadow: 0 0 0 5px rgba(168,181,160,.16);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.tl2-card.is-active .tl2-node{
  border-color: var(--blush);
  box-shadow: 0 0 0 8px rgba(212,165,165,.2);
  transform: scale(1.15);
}
.tl2-card.is-active .tl2-node::after{
  content:""; position: absolute; inset: -11px;
  border-radius: 50%;
  border: 1px solid rgba(212,165,165,.55);
  animation: nodePulse 2.2s ease-out infinite;
}
@keyframes nodePulse{
  0%{ transform: scale(.7); opacity: .9; }
  100%{ transform: scale(1.5); opacity: 0; }
}

/* 日期 + NOW 标 */
.tl2-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 8px;
}
.tl2-date{
  font-family: var(--font-hand);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em;
  color: #C96F5E; margin: 0;
}
.tl2-now{
  font-family: var(--font-hand);
  font-size: 10px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff; background: var(--sage);
  padding: 4px 10px 3px; border-radius: 999px;
}

/* 公司 / 部门 / 岗位：同排等权 */
.tl2-who{
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px 14px;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px dashed rgba(74,66,56,.16);
}
.tl2-company{
  font-family: var(--font-script);
  font-weight: 900; font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .02em; margin: 0;
}
.tl2-cell{
  font-size: 14px; font-weight: 600;
  padding: 5px 12px 4px;
  border-radius: 8px;
  background: rgba(168,181,160,.2);
  color: #5E6B57;
}
.tl2-cell--role{
  background: rgba(232,213,196,.7);
  color: #8C6A5A;
}

/* 子项目块 */
.tl2-blocks{ display: flex; flex-direction: column; gap: 16px; }
.tl2-block{
  padding-left: 14px;
  border-left: 2px solid rgba(168,181,160,.4);
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.3,1);
}
.tl2-card.is-active .tl2-block{ opacity: 1; transform: none; }
.tl2-card.is-active .tl2-block:nth-child(1){ transition-delay: .06s; }
.tl2-card.is-active .tl2-block:nth-child(2){ transition-delay: .14s; }
.tl2-card.is-active .tl2-block:nth-child(3){ transition-delay: .22s; }
.tl2-card.is-active .tl2-block:nth-child(4){ transition-delay: .30s; }
.tl2-block h4{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-script);
  font-weight: 700; font-size: 17px;
  margin: 0 0 6px;
}
.tl2-block h4 i{
  font-style: normal;
  font-family: var(--font-hand);
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  color: var(--blush);
  background: rgba(212,165,165,.16);
  border-radius: 5px; padding: 2px 6px 1px;
}
.tl2-block p{
  margin: 0;
  font-size: 14px; line-height: 1.85;
  color: var(--ink-soft);
}

/* 关键词 */
.tl2-keys{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px dashed rgba(74,66,56,.16);
}
.tl2-key{
  font-size: 12px; padding: 4px 11px 3px;
  border-radius: 999px;
  background: rgba(232,213,196,.55);
  color: #8C6A5A;
  white-space: nowrap;
}

/* 底部：圆点 + 提示 */
.tl2-foot{
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-top: 26px; padding-left: 56px;
}
.tl2-dots{ display: flex; gap: 8px; }
.tl2-dot{
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(74,66,56,.2);
  transition: background .25s, transform .25s;
}
.tl2-dot.is-on{ background: var(--blush); transform: scale(1.35); }
.tl2-hint{
  margin: 0; font-size: 13px; color: var(--ink-faint);
}
.tl2-hint::after{
  content:""; display: inline-block;
  width: 0; height: 14px; margin-left: 8px;
  border-left: 1px dashed var(--ink-faint);
  vertical-align: -3px;
  animation: hintSlide 1.8s ease-in-out infinite;
}
@keyframes hintSlide{
  0%,100%{ transform: translateY(0); opacity: .5; }
  50%{ transform: translateY(5px); opacity: 1; }
}

/* ---------------- 项目：拍立得相册墙 ---------------- */
.pol-wall{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px 36px;
  padding: 12px 6px 6px;
}

/* 相纸本体：上窄下宽的拍立得 */
.pol-card{
  position: relative;
  display: block; width: 100%;
  padding: 14px 14px 0;
  background: #FFFCF7;
  border: 1px solid rgba(74,66,56,.08);
  border-radius: 4px;
  box-shadow: var(--shadow-m);
  text-align: left; cursor: pointer;
  font: inherit; color: inherit;
  transform: rotate(var(--rot, 0deg));
  transition: transform .42s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease;
}
.pol-card:nth-child(1){ --rot: -2deg; }
.pol-card:nth-child(2){ --rot: 1.6deg; margin-top: 32px; }
.pol-card:nth-child(3){ --rot: -1.2deg; margin-top: 14px; }
.pol-card:nth-child(4){ --rot: 1.8deg; }
.pol-card:nth-child(5){ --rot: -1.6deg; margin-top: 28px; }
.pol-card:hover{
  transform: rotate(0deg) translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-l);
  z-index: 5;
}

/* 顶部胶带 */
.pol-tape{
  position: absolute; top: -12px; left: 50%;
  width: 86px; height: 25px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(232,213,196,.8);
  border-left: 1px dashed rgba(255,255,255,.75);
  border-right: 1px dashed rgba(255,255,255,.75);
  box-shadow: 0 1px 3px rgba(74,66,56,.12);
}
.pol-card:nth-child(even) .pol-tape{ transform: translateX(-50%) rotate(2.5deg); width: 74px; }

/* 照片区（未放图时显示未显影相纸） */
.pol-shot{
  position: relative; display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #E9E0D3;
}
.pol-shot img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pol-fallback{
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 16px;
  font-size: 12.5px; line-height: 1.7;
  color: rgba(255,252,247,.86);
  background:
    radial-gradient(circle at 50% 32%, rgba(255,252,247,.42), transparent 62%),
    linear-gradient(160deg, #DED5C6 0%, #C7BAA7 55%, #A89A87 100%);
}
.pol-fallback b{
  font-family: var(--font-hand);
  font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em;
  color: rgba(255,252,247,.95);
}

/* 底部宽边：手写说明区 */
.pol-meta{ display: block; padding: 18px 6px 4px; }
.pol-no{
  font-family: var(--font-hand);
  font-size: 11px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blush);
}
.pol-title{
  display: block; margin: 6px 0 6px;
  font-family: var(--font-script); font-weight: 900;
  font-size: 21px; line-height: 1.4;
}
.pol-sub{
  display: block;
  font-family: var(--font-hand);
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-faint);
}
.pol-desc{
  display: block; margin-top: 12px;
  font-size: 13.5px; line-height: 1.8; color: var(--ink-soft);
}
.pol-open{
  display: inline-flex; align-items: center; gap: 5px;
  margin: 14px 6px 18px;
  font-size: 13px; color: var(--ink);
  border-bottom: 1.5px solid var(--apricot); padding-bottom: 2px;
}
.pol-card:hover .pol-open{ border-color: var(--blush); }

/* ---------------- 技能 ---------------- */
.skill-wrap{
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px;
}
.skill-card{ border-radius: 20px 10px 22px 8px; }
.skill-card--tilt{ --rot: 1.3deg; transform: rotate(var(--rot)); }
.skill-h{ font-size: 20px; margin-bottom: 18px; }
.skill-h--mt{ margin-top: 26px; }
.skill-bars li{
  display: grid; grid-template-columns: 120px 1fr 30px;
  align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: 14px; color: var(--ink-soft);
}
.s-bar{
  height: 10px; border-radius: 999px;
  background: rgba(74,66,56,.08);
  overflow: hidden;
}
.s-bar i{
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--sage), #BFC9B6);
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(.2,.8,.3,1);
}
.s-bar i.is-filled{ width: var(--v); }
.s-num{ font-family: var(--font-hand); font-size: 13px; font-weight: 700; color: var(--ink-faint); text-align: right; }
.skill-cloud{ display: flex; flex-wrap: wrap; gap: 10px; }
.skill-cloud li{
  padding: 8px 16px; border-radius: 14px;
  background: rgba(232,213,196,.55);
  font-size: 14px;
  transform: rotate(var(--r, 0deg));
}
.skill-cloud li:nth-child(odd){ --r: -1.5deg; }
.skill-cloud li:nth-child(3n){ --r: 1.6deg; background: rgba(212,165,165,.2); }
.skill-tools{ display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tools li{
  font-size: 13px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper);
}

/* ---------------- 爱好 ---------------- */
.hobby-grid{
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px;
}
.hobby-card{
  position: relative; margin: 0;
  background: var(--paper);
  padding: 14px 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-s);
  --rot: -1deg;
  transform: rotate(var(--rot));
  transition: transform .35s, box-shadow .35s;
}
.hobby-card--tilt{ --rot: 1.6deg; }
.hobby-card:hover{ transform: rotate(0) translateY(-8px); box-shadow: var(--shadow-m); }
.hobby-pic{
  position: relative;
  aspect-ratio: 1/1; border-radius: 8px; overflow: hidden;
  display: grid; place-items: center;
  font-size: 42px;
}
.hobby-pic img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hobby-pic:empty::after{
  content: '照片待补';
  font-family: var(--font-hand);
  font-size: 22px;
  letter-spacing: .5px;
  color: rgba(74,66,56,.42);
}
.hobby-pic--film{
  background: linear-gradient(140deg, #D9D2C5, #B9B0A1);
  box-shadow: inset 0 0 0 6px rgba(255,252,247,.6);
}
.hobby-pic--journal{
  background: linear-gradient(140deg, #E7DCC9, #D4A5A5);
  box-shadow: inset 0 0 0 6px rgba(255,252,247,.55);
}
.hobby-pic--walk{
  background: linear-gradient(140deg, #B9C4B2, #8E9C88);
  box-shadow: inset 0 0 0 6px rgba(255,252,247,.55);
}
.hobby-pic--coffee{
  background: linear-gradient(140deg, #D9C3AE, #B79A80);
  box-shadow: inset 0 0 0 6px rgba(255,252,247,.55);
}
.hobby-card figcaption{ padding: 12px 6px 0; text-align: center; }
.hobby-card figcaption strong{ display: block; font-size: 16px; }
.hobby-card figcaption span{ font-size: 13px; color: var(--ink-soft); }

/* ---------------- FAQ ---------------- */
/* 与其它模块之间的前距保持一致：上下两个 section 的 padding 之和 */
.faq-head{ margin-top: 168px; scroll-margin-top: 84px; }
.faq-list{ display: grid; gap: 16px; }
.faq-item{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  padding: 16px 22px;
  transition: box-shadow .3s, transform .3s;
}
.faq-item:hover{ transform: translateY(-2px); box-shadow: var(--shadow-m); }
.faq-item summary{
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-q{
  flex: none;
  font-family: var(--font-script); font-weight: 900;
  font-size: 20px; line-height: 1;
  color: var(--cream); background: #C96F5E;
  padding: 7px 9px; border-radius: 8px;
  transform: rotate(-2deg);
}
.faq-qtext{
  flex: 1;
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink);
}
.faq-toggle{
  flex: none; position: relative;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: rgba(232,213,196,.5);
}
.faq-toggle::before, .faq-toggle::after{
  content: ""; position: absolute; background: var(--ink-soft);
  border-radius: 2px;
}
.faq-toggle::before{ left: 4px; right: 4px; top: 8.5px; height: 1.6px; }
.faq-toggle::after{ top: 4px; bottom: 4px; left: 8.5px; width: 1.6px; transition: opacity .25s, transform .25s; }
.faq-item[open] .faq-toggle::after{ opacity: 0; transform: scaleY(.2); }
.faq-a{
  margin-top: 14px; padding: 14px 16px;
  border-radius: 10px;
  background: rgba(245,239,230,.75);
  border: 1px dashed var(--line);
  animation: faqIn .32s ease both;
}
.faq-a p{ font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); margin: 0 0 8px; }
.faq-a p:last-child{ margin-bottom: 0; }
@keyframes faqIn{ from{ opacity: 0; transform: translateY(-4px);} to{ opacity: 1; transform: none;} }
@media (max-width: 640px){
  .faq-item{ padding: 14px 16px; }
  .faq-item summary{ align-items: flex-start; gap: 10px; }
  .faq-qtext{ font-size: 15px; }
}

/* ---------------- 联系 & 页脚 ---------------- */
.section--contact{ padding-bottom: 60px; }
.contact-card{
  text-align: center; padding: 52px 30px 46px;
  border-radius: 24px 12px 24px 12px;
}
.contact-script{
  font-family: var(--font-hand);
  font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .32em;
  color: var(--sage); margin: 0 0 10px;
}
.contact-card h2{ font-size: clamp(22px, 3vw, 32px); margin-bottom: 14px; }
.contact-card h2 .hl{
  background: linear-gradient(transparent 62%, rgba(232,213,196,.9) 62%);
  padding: 0 3px;
}
.contact-sub{ color: var(--ink-soft); font-size: 14.5px; margin: 0 0 26px; line-height: 1.9; }

.footer{
  max-width: var(--maxw); margin: 0 auto;
  padding: 30px 24px 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--ink-faint);
  border-top: 1px dashed var(--line);
}
.to-top{
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 7px 16px; font-size: 13px;
  color: var(--ink-soft); cursor: pointer;
}
.to-top:hover{ background: var(--apricot); }

/* ---------------- 项目详情弹层 ---------------- */
.sheet-overlay{ position: fixed; inset: 0; z-index: 100; }
.sheet-overlay[hidden]{ display: none; }
.sheet-backdrop{
  position: absolute; inset: 0;
  background: rgba(74,66,56,.42);
  backdrop-filter: blur(2px);
  animation: fade .3s ease;
}
.sheet{
  position: absolute; left: 50%; top: 50%;
  width: min(760px, 92vw); max-height: 86vh; overflow: auto;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border-radius: 22px 10px 22px 10px;
  box-shadow: var(--shadow-l);
  padding: 40px 34px 34px;
  animation: flipIn .45s cubic-bezier(.2,.9,.3,1);
  transform-origin: top center;
}
@keyframes flipIn{
  from{ transform: translate(-50%, -46%) rotateX(-16deg) scale(.96); opacity: 0; }
  to  { transform: translate(-50%, -50%) rotateX(0) scale(1); opacity: 1; }
}
@keyframes fade{ from{ opacity: 0 } to{ opacity: 1 } }
.sheet-close{
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream);
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.sheet-close:hover{ background: var(--apricot); }
.sheet-kicker{
  font-family: var(--font-hand); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--blush);
}
.sheet h2{ font-size: 26px; margin: 4px 0 6px; }
.sheet-meta{ font-size: 13.5px; color: var(--ink-faint); margin: 0 0 20px; }
.sheet-shot{
  width: 100%; border-radius: 10px; overflow: hidden; margin-bottom: 20px;
  background: var(--cream-deep);
}
.sheet-section{ margin-bottom: 18px; }
.sheet-section h4{
  font-size: 15px; margin: 0 0 8px; color: var(--ink);
  display: inline-block; border-bottom: 2px solid var(--apricot); padding-bottom: 2px;
}
.sheet-section p, .sheet-section li{ font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.sheet-section li{ position: relative; padding-left: 18px; margin-bottom: 6px; }
.sheet-section li::before{
  content:""; position: absolute; left: 2px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.sheet-keys{ display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-keys span{
  font-size: 12px; padding: 4px 11px 3px;
  border-radius: 999px;
  background: rgba(232,213,196,.55);
  color: #8C6A5A;
}
.sheet-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.sheet-note{
  font-size: 12.5px; color: var(--ink-faint); margin-top: 14px;
  border-left: 3px solid var(--apricot); padding-left: 10px;
}
body.sheet-open{ overflow: hidden; }

/* ---------------- 可拖动贴纸 ---------------- */
.draggable-stickers{ position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.dsticker{
  position: absolute; left: 0; top: 0;
  transform: translate(var(--x), var(--y));
  font-size: 30px; color: var(--blush);
  pointer-events: auto; cursor: grab;
  user-select: none;
  transition: filter .2s;
  filter: drop-shadow(0 2px 3px rgba(74,66,56,.18));
  touch-action: none;
}
.dsticker:active{ cursor: grabbing; }
.dsticker.is-drag{ filter: drop-shadow(0 6px 10px rgba(74,66,56,.28)); }

/* ---------------- 入场动画 ---------------- */
.reveal{
  opacity: 0;
  transform: translateY(26px) rotate(-4deg);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1);
  transition-delay: calc(var(--d, 0) * 110ms);
}
/* 入场结束后由 JS 移除 .reveal，把 transform 交还给元素本身（保证 hover 生效） */
.reveal.is-in{ opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  .reveal{ opacity: 1; transform: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px){
  .pol-wall{ grid-template-columns: repeat(2, 1fr); gap: 46px 28px; }
  .hero-inner{ gap: 40px; }
  .ring-deco{ width: 240px; height: 240px; right: 0; top: -10px; }
  .collage-tags{ right: 0; gap: 8px; }
  .ctag{ font-size: 12.5px; padding: 6px 10px 5px; }
  .skill-wrap{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav{ padding: 14px 18px; }
  .nav-toggle{ display: block; }
  .nav-cta{ gap: 8px; }
  .btn--nav{ padding: 8px 14px; font-size: 13px; }
  .nav-links{
    position: absolute; top: 64px; right: 18px;
    flex-direction: column; gap: 2px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-m);
    min-width: 148px;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
    transition: .24s ease;
  }
  .nav-links.is-open{ opacity: 1; visibility: visible; transform: none; }
  .nav-link{ padding: 9px 14px; }

  .hero-inner{ grid-template-columns: 1fr; gap: 48px; padding: 44px 18px 70px; }
  .hero-photo{ order: -1; min-height: 0; justify-content: center; }
  .photo-frame{ width: min(340px, 78vw); }
  .ring-deco{ width: 220px; height: 220px; right: -46px; top: -24px; }
  .film-strip{ display: none; }
  .widget-sticker{ left: 14px; top: 18px; }
  .widget-exp{ left: -4px; bottom: 16px; padding: 12px 14px 10px; max-width: 210px; }
  .widget-exp strong{ font-size: 16px; }
  .collage-tags{ top: auto; right: 2px; bottom: -6px; flex-direction: row; gap: 8px; }
  .ctag{ font-size: 12px; padding: 6px 10px 5px; }
  .photo-empty{ inset: 10px; }

  .section{ padding: 62px 18px; }
  .faq-head{ margin-top: 124px; }
  /* 手机端卡片几乎满宽，胶带贴纸回收到卡内，避免溢出 */
  .tape--top-left{ left: -4px; }
  .tape--top-right{ right: -4px; }
  .tape--bottom-right{ right: -4px; bottom: -12px; }
  .pol-wall{ grid-template-columns: 1fr; gap: 40px; }
  .pol-card:nth-child(n){ margin-top: 0; }
  .pol-card{ padding: 12px 12px 0; }
  .edu-wrap{ grid-template-columns: 1fr; gap: 26px; }
  .edu-body h3{ font-size: 23px; }

  /* 实习时间轴：手机上保持横向滑动，卡片接近满宽 */
  .tl2-viewport{ padding-left: 34px; }
  .tl2-rail{ left: 10px; }
  .tl2-track{ gap: 26px; }
  .tl2-card{ padding: 22px 18px 18px; }
  .tl2-node{ top: 30px; left: -31px; width: 16px; height: 16px; }
  .tl2-foot{ padding-left: 34px; }
  .tl2-company{ font-size: 26px; }
  .tl2-block p{ font-size: 13.5px; line-height: 1.8; }
  .tl2-block h4{ font-size: 16px; }

  .skill-bars li{ grid-template-columns: 96px 1fr 26px; }
  .footer{ justify-content: center; text-align: center; }
  .dsticker{ font-size: 24px; }
  .sheet{ padding: 36px 20px 26px; }
}
