@font-face{
  font-family: "Noto Sans SC";
  src: url("../assets/fonts/NotoSansSC-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   Experimental Short Film
================================ */
.page-project-film{
  --film-ink: #f2eee6;
  --film-muted: #8c8780;
  --film-line: rgba(242, 238, 230, 0.18);
  background: #080808;
}

.page-project-film .film-hero::after{
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.05) 48%, rgba(0,0,0,.72));
}

.page-project-film .film-hero__copy{
  position: absolute;
  z-index: 2;
  left: 3vw;
  right: 3vw;
  bottom: clamp(34px, 6vw, 92px);
  color: #fff;
}

.film-hero__copy p,
.film-hero__copy span{
  margin: 0;
  font-family: "Microsoft YaHei","PingFang SC",sans-serif;
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.film-hero__copy h1{
  margin: 12px 0 8px;
  font-family: "Microsoft YaHei","PingFang SC",sans-serif;
  font-size: clamp(62px, 12vw, 210px);
  line-height: .86;
  letter-spacing: -.06em;
}

.page-project-film .project-detail h2 em,
.film-chapter__header h3 em{
  color: var(--film-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.film-screening{
  padding: clamp(76px, 10vw, 160px) 3vw clamp(90px, 12vw, 190px);
  border-top: 1px solid var(--film-line);
}

.film-screening__header{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(30px, 5vw, 72px);
}

.film-screening__header .film-kicker{
  margin-bottom: 18px;
}

.film-screening__header h3{
  margin: 0;
  color: var(--film-ink);
  font-family: "Noto Serif SC",serif;
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 88px);
  line-height: 1.08;
}

.film-screening__header > p{
  margin: 0;
  color: var(--film-muted);
  text-align: right;
  font: 13px/1.7 "Microsoft YaHei","PingFang SC",sans-serif;
}

.film-screening__player{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.film-screening__player iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-screening__youtube{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: rgba(242,238,230,.76);
  border-bottom: 1px solid var(--film-line);
  text-decoration: none;
  font: 14px/1.5 "Microsoft YaHei","PingFang SC",sans-serif;
  transition: color .2s ease, border-color .2s ease;
}

.film-screening__youtube:hover,
.film-screening__youtube:focus-visible{
  color: var(--film-ink);
  border-bottom-color: rgba(242,238,230,.7);
}

.film-statement,
.film-reading{
  padding: clamp(76px, 11vw, 180px) 3vw;
  border-top: 1px solid var(--film-line);
  border-bottom: 1px solid var(--film-line);
}

.film-kicker{
  margin: 0 0 clamp(34px, 6vw, 90px);
  color: var(--film-muted);
  font-family: "Microsoft YaHei","PingFang SC",sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
}

.film-statement__grid,
.film-reading__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(40px, 8vw, 150px);
}

.film-statement h3,
.film-reading h3,
.film-storyboard h3{
  margin: 0;
  color: var(--film-ink);
  font-family: "Noto Serif SC",serif;
  font-weight: 500;
  font-size: clamp(36px, 5.7vw, 96px);
  line-height: 1.18;
  letter-spacing: -.03em;
}

.film-prose{
  max-width: 760px;
  color: rgba(242,238,230,.78);
  font-family: "Noto Serif SC",serif;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 2;
}

.film-prose p{ margin: 0 0 1.5em; }

.film-chapter{
  padding: clamp(90px, 13vw, 210px) 3vw;
  border-bottom: 1px solid var(--film-line);
}

.film-chapter__header{
  display: grid;
  grid-template-columns: minmax(90px,.32fr) minmax(280px,1fr) minmax(300px,.85fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
  margin-bottom: clamp(60px, 9vw, 150px);
}

.film-chapter__header > span{
  color: var(--film-muted);
  font: 12px/1.5 "Microsoft YaHei","PingFang SC",sans-serif;
  letter-spacing: .1em;
}

.film-chapter__header h3{
  margin: 0;
  color: var(--film-ink);
  font-family: "Microsoft YaHei","PingFang SC",sans-serif;
  font-size: clamp(45px, 8vw, 142px);
  line-height: .94;
  letter-spacing: -.05em;
}

.film-chapter__header p{
  margin: 0;
  color: rgba(242,238,230,.68);
  font-family: "Noto Serif SC",serif;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.95;
}

.film-frame{ margin: 0; }
.film-frame img{ width: 100%; height: auto; display: block; }
.film-frame figcaption{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 34px;
  color: var(--film-muted);
  font: 13px/1.6 "Microsoft YaHei","PingFang SC",sans-serif;
}

.film-frame--wide{ width: min(100%, 1560px); margin: 0 auto clamp(50px,8vw,120px); }
.film-frame-pair{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: clamp(50px,8vw,120px); }
.film-focus-sequence{ display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: clamp(60px,9vw,140px); }
.film-frame--tactile{ width: min(76vw,1160px); margin: 0 auto clamp(70px,10vw,160px); }
.film-frame--tactile figcaption{ font-family: "Noto Serif SC",serif; font-size: clamp(15px,1.4vw,22px); }
.film-frame-pair--ending{ align-items: center; }

.film-interlude{
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px,4vw,72px);
  padding: 60px 3vw;
  color: rgba(242,238,230,.72);
  font: clamp(13px,1.2vw,18px)/1.5 "Microsoft YaHei","PingFang SC",sans-serif;
  letter-spacing: .08em;
  text-align: center;
}
.film-interlude span{ color: #4c4945; }

.film-storyboard{
  padding: clamp(90px,13vw,210px) 3vw;
  border-bottom: 1px solid var(--film-line);
}

.film-storyboard > header{
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(30px,6vw,100px);
  margin-bottom: clamp(56px,8vw,130px);
}
.film-storyboard > header .film-kicker{ grid-column: 1/-1; margin-bottom: 0; }
.film-storyboard > header p:last-child{
  margin: 0;
  color: rgba(242,238,230,.64);
  font-family: "Noto Serif SC",serif;
  font-size: clamp(15px,1.25vw,20px);
  line-height: 1.9;
}

.film-storyboard__image{
  display: block;
  color: var(--film-ink);
  text-decoration: none;
  background: #0b0b0b;
}
.film-storyboard__image img{ width: 100%; max-height: 82vh; object-fit: cover; object-position: top; display: block; border: 1px solid var(--film-line); }
.film-storyboard__image span{ display: inline-block; padding: 18px 0 6px; border-bottom: 1px solid currentColor; font: 13px/1.5 "Microsoft YaHei","PingFang SC",sans-serif; }

.film-shot-index{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  margin-top: clamp(70px,9vw,140px);
  background: var(--film-line);
  border: 1px solid var(--film-line);
}
.film-shot-index article{ padding: clamp(28px,4vw,64px); background: #080808; }
.film-shot-index span{ color: var(--film-muted); font: 12px/1.4 "Microsoft YaHei","PingFang SC",sans-serif; }
.film-shot-index h4{ margin: 16px 0 22px; color: var(--film-ink); font: 500 clamp(25px,3vw,48px)/1.1 "Noto Serif SC",serif; }
.film-shot-index p{ margin: 0; color: rgba(242,238,230,.62); font: 15px/1.9 "Noto Serif SC",serif; }

.film-colophon{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  padding: clamp(64px,9vw,140px) 3vw;
  color: var(--film-muted);
  font: 13px/1.8 "Microsoft YaHei","PingFang SC",sans-serif;
}
.film-colophon p{ margin: 0; }
.film-colophon strong{ display: block; color: var(--film-ink); font-weight: 500; }

@media (max-width: 900px){
  .film-screening{
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .film-screening__header{
    align-items: start;
    flex-direction: column;
  }
  .film-screening__header > p{ text-align: left; }
  .film-statement,
  .film-reading,
  .film-chapter,
  .film-storyboard{ padding-left: var(--gutter); padding-right: var(--gutter); }
  .film-statement__grid,
  .film-reading__grid,
  .film-chapter__header,
  .film-storyboard > header{ grid-template-columns: 1fr; }
  .film-chapter__header > span{ margin-bottom: 14px; }
  .film-frame-pair,
  .film-focus-sequence,
  .film-shot-index,
  .film-colophon{ grid-template-columns: 1fr; }
  .film-frame--tactile{ width: 100%; }
  .film-interlude{ min-height: 34vh; flex-direction: column; }
  .film-interlude span{ transform: rotate(90deg); }
  .film-storyboard > header .film-kicker{ grid-column: 1; }
  .film-storyboard__image img{ max-height: 70vh; }
  .film-colophon{ padding-left: var(--gutter); padding-right: var(--gutter); }
}

@font-face {
  font-family: "Noto Sans SC Display";
  src: url("../assets/fonts/NotoSansSC-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --hero-text-opacity: 1;
  --hero-image-opacity: 1;
  --story-image-scale: 0;  /* 先留着，不再主要使用 */

  /* 三张“我的故事”图的透明度与缩放 */
  --story-image1-opacity: 1;
  --story-image2-opacity: 0;
  --story-image3-opacity: 0;

  --story-image1-scale: 1;
  --story-image2-scale: 1;
  --story-image3-scale: 1;
}

/* 基础样式 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
/* 确保全局背景是黑色，但内容允许看到底下的图 */
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Serif SC", "PingFang SC",
    "Microsoft Yahei", system-ui, sans-serif;
}
.page-content {
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    system-ui, -webkit-pictograph, "PingFang SC", "Microsoft Yahei",
    "Helvetica Neue", Arial, sans-serif;
}

/* ===== 顶部导航栏 ===== */

.site-header {
  position: relative;   /* ✅ 不再固定，在文档流里正常滚动 */
  z-index: 20;           /* 仍然压在英雄图片上面 */
  background: transparent;
}

.site-header__inner {
  width: 100%;
  padding: 25px 3vw; /* ✅ 与 works-section 完全同源 */
  display: flex;
  align-items: center;
}

/* 左上 Logo 默认稍微淡一点 */
.site-logo img {
  height: 30px;
  width: auto;
  opacity: 0.70;               /* 默认轻微变淡 */
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* hover 变亮 + 轻微上浮（可选但很高级） */
.site-logo:hover img {
  opacity: 1;                  /* 变亮 */
}

/* 右侧图标组 */
.header-icons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px; /* 图标之间的间隔 */
}

/* 图标按钮样式 */
.icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;

  display: flex;
  align-items: center;
}

.icon-btn img {
  height: 17px;   /* 你可以改成 22/24/28 根据你的PNG大小 */
  width: auto;
  opacity: 0.70;  /* 稍微淡一点，符合极简风格 */
  transition: opacity 0.2s ease;
}

/* 单独调大语言图标 */
.icon-lang img {
  height: 30px;   /* 想多大调多大，比如 36px, 40px */
}

/* Hover 交互 */
.icon-btn:hover img {
  opacity: 1;
}

.site-nav a {
  color: #f5f5f5;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* main 需要给顶部导航留位置，否则会被盖住 */
main {
  position: relative;
  z-index: 2;           /* 比背景图高 */
  min-height: 100vh;
}

/* ===== 英雄区 ===== */

.hero {
  position: relative;
  height: 100vh;        /* 和视口同高：整屏英雄区 */
  overflow: visible;
  background: transparent;   /* ⚠️ 一定要透明，否则会挡住图片 */
}

/* 背景图片：铺满整屏 */
.hero-image {
  position: fixed;          /* ✅ 固定在视口，不随内容滚动 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;            /* 始终铺满一屏 */
  object-fit: cover;
  display: block;

  opacity: var(--hero-image-opacity); /* ✅ 由 JS 控制透明度 */
  pointer-events: none;               /* 不挡点击 */
  z-index: 0;                /* 比 header/main 低，比 body 高 */

  filter: grayscale(100%);            /* 你原来有的话可以保留 */
}

/* 左下角大字 */
.hero-title {
  position: absolute;
  left: clamp(24px, 7vw, 96px);
  bottom: 28vh;   /* 往上移：越大越靠上 */
  z-index: 1; /* 文字在图片上面 */

  font-size: clamp(36px, 8vw, 100px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
  white-space: nowrap;

  color: rgba(255, 252, 245);
  pointer-events: none;
  transition: color 0.15s ease-out;

  font-family: "Noto Serif SC", serif; 
  font-weight: 900;   /* 变粗 */
    /* 下面是新加的辉光效果 🔽 */
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),   /* 贴着字的小柔光 */
    0 0 14px rgba(255, 247, 238, 0.55), /* 稍远一点的暖光晕 */
    0 0 32px rgba(255, 245, 236, 0.35); /* 很淡的远光，配合右边立方体 */
}

/* 空白缓冲区（与英雄图片一样高） */
.spacer {
  height: 70vh;      /* 与英雄图一样高 */
  background: #000;   /* 保持纯黑，让淡出过渡自然 */
}

/* ===== 后续内容区域 ===== */

.page-content {
  padding: 56px 24px 60px;
  max-width: 960px;
  margin: 0 auto;
  background: #050505;
}

.page-content h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.page-content p {
  line-height: 1.6;
  margin-bottom: 12px;
  color: #d0d0d0;
}

/* ===== About 自我介绍区 ===== */

.about {
  background: #000;
  color: #FFFCF5;
  padding: 0px 6vw 96px;
  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC", "Noto Sans SC", sans-serif;
}

.about-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
}

/* 左侧大字标题 */
.about-left {
  flex: 0 0 35%;
  margin-left: -2vw;
  margin-top: 0;
}

.about-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 83px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 300;
  /* 灰色可以根据你 logo 调整 */
  color: #FFFCF5;
  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC", "Noto Sans SC", sans-serif;
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
}

/* 右侧正文 */
.about-right {
  flex: 0 0 50%;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  color: #FFFCF5;
  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC", "Noto Sans SC", sans-serif;
}

.about-right p {
  margin: 0 0 28px;
}

.about-tagline {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 18px;
  text-indent: 0;
}

/* ✅ 西文（英文 / 意大利语）取消首行缩进 */
html[lang="en"] .about-tagline,
html[lang="en"] .about-right p,
html[lang="it"] .about-tagline,
html[lang="it"] .about-right p {
  text-indent: 0;
}

/* 英文 & 意大利语：左侧标题整体下移 */
html[lang="en"] .about-left,
html[lang="it"] .about-left {
  margin-top: 5vw;   /* ✅ 推荐从 3~5vw 微调 */
}

/* 外框整体 */
.about-button-split {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;

  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC",
    "Noto Sans SC", sans-serif;

  font-size: 16px;
  color: #FFFCF5;

  border: 1px solid #FFFCF5;
  border-radius: 0;
  margin-top: 32px;

  transition: none;
}

/* 左侧文本 */
.about-button-split .btn-text {
  padding: 12px 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFCF5;
}

/* 右侧方块（不旋转） */
.about-button-split .btn-arrow {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-left: 1px solid #FFFCF5;
  background: transparent;
  color: #FFFCF5;
  box-shadow:
    0 0 6px rgba(255, 250, 240, 0.80),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 28px rgba(255, 245, 236, 0.35);
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 12px rgba(255, 247, 238, 0.55);
}

/* 真正旋转的是这个小箭头 span */
.about-button-split .arrow-icon {
  display: inline-block;
  font-size: 18px;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* hover 状态 */

.about-button-split:hover {
  border-color: rgba(255, 255, 255, 0.4); /* 外框不变色，可有可无 */
}

/* 左侧不变 */
.about-button-split:hover .btn-text {
  background: transparent;
  color: #ffffff;
}

/* 右侧：背景变白，箭头变黑 */
.about-button-split:hover .btn-arrow {
  background: #ffffff;
  color: #000000;
}

/* 只有箭头旋转 -45° */
.about-button-split:hover .arrow-icon {
  color: #000000;
  transform: rotate(-45deg);
}

.services-section * {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
               "Noto Sans SC", Arial, sans-serif !important;
}

/* ===== 我的故事 区 ===== */
.my-story-section {
  background: #000;
  color: #FFFCF5;
  padding: 280px 0 0;  /* 上 280px，让标题进入视窗；下方 0 px */
  min-height: 460vh;       /* 给三张图留足滚动距离，可再微调 */
  position: relative;
  overflow: visible;
}

/* 标题：固定在视窗中线（可以继续配合你之前的模糊逻辑） */
.my-story-title {
  margin: 0;
  font-size: clamp(120px, 8vw, 240px);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: center;

  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  z-index: 0;

  transition: filter 0.35s ease-out;

  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC",
               "Noto Sans SC", sans-serif;
}

/* 保留你之前的模糊效果 */
.my-story-title.is-blurred {
  filter: blur(4px);
}

/* 图片容器：整块贴住视窗，始终全屏 */
.my-story-image-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 2;      /* 这一行我们等下讲 */
  margin-top: 45vh;  /* ⭐ 新增：控制图片“晚一点”才出现 */
}

/* 图片本体：只负责铺满 */
.my-story-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* 每一张“故事画面”的容器：负责透明度/缩放，让文字同步出现 */
.my-story-frame{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;

  opacity: 0;
  transform: scale(1);
  transition:
    opacity 0.25s linear,
    transform 0.25s linear;
}

/* 右下角时间说明（与“我的故事”同气质） */
.my-story-caption{
  position: absolute;
  right: 42px;
  bottom: 34px;

  color: #FFFCF5;
  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC", "Noto Sans SC", sans-serif;

  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: right;

  opacity: 0.9;
  pointer-events: none;

  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
}

/* 三张图分别由 CSS 变量控制 */
.my-story-frame--1{
  opacity: var(--story-image1-opacity);
  transform: scale(var(--story-image1-scale));
}

.my-story-frame--2{
  opacity: var(--story-image2-opacity);
  transform: scale(var(--story-image2-scale));
}

.my-story-frame--3{
  opacity: var(--story-image3-opacity);
  transform: scale(var(--story-image3-scale));
}

.services-section {
  width: 100%;
  padding: 90px 3vw 60px;
  box-sizing: border-box;
  background: #000;
}

.services-header{
  margin-bottom: clamp(44px, 5vw, 74px);
}

/* ===== 标题部分（保持左对齐） ===== */
/* 让“一人内容制造机”跟 about 左侧标题一样 */
.services-header h1 {
  margin: 0 0 10px 0;
  font-size: clamp(40px, 7vw, 83px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 300;
  color: #FFFCF5;
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
}

/* 让“我崇尚‘现代文艺复兴人’…”跟 about 右侧正文一样 */
.services-header p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #FFFCF5;
  margin-bottom: 90px;
  max-width: 650px; /* 可以略微大一点，按你感觉改 */
}

/* ===== 两列卡片布局（更像你参考图） ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 10px;

  max-width: 2100px;   /* 🔥 原来 1800px */
  margin: 0 auto;
}

/* ===== 卡片样式（更紧凑、参考图风格） ===== */
.service-card {
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 36px;
  min-height: auto;
  color: inherit;
  text-decoration: none;

  transition: 
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.service-card h2 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 500;
}

.service-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #cfcfcf;
}

/* Hover 轻微浮起 */
.service-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
}

/* 卡片整体统一字体（黑体） */
.service-card,
.service-card * {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
               "Noto Sans SC", Arial, sans-serif !important;
}

/* 卡片标题风格 */
.service-card h2 {
  font-size: 26px;
  font-weight: 300;          /* 稍比段落重一点，清晰但不突兀 */
  color: #FFFCF5;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* 卡片正文风格（和 about-right 统一） */
.service-card p {
  font-size: 16px;
  font-weight: 300;          /* 和你的 about-right 完全一致 */
  line-height: 1.6;
  color: #9c9c9c;            /* 比标题略浅一点，层级更好 */
  max-width: 100%;   /* 🔥 原来 90% */
}

/* ===== 账号推广区：底部渐变背景图 ===== */
.account-section {
  background: #000000;          /* 和整体页面保持一致的纯黑背景 */
  padding: 0px 0 0px;       /* 和上方内容、底部留出一点呼吸感 */
}

.account-inner {
  max-width: 1450px;            /* 区块整体宽度，避免贴满屏幕 */
  margin: 0 auto;
  padding: 0 0.5vw;               /* 和页面边缘留一点间距 */
}

/* 包住图片的容器，用来做圆角和遮罩 */
.account-image-mask {
  position: relative;
  overflow: hidden;             /* 让遮罩和圆角一起裁剪图片 */
  border-radius: 0px;          /* 图片不再是生硬的直角，可按喜好调 */
}

/* 实际图片 */
.account-image {
  display: block;
  width: 100%;
  height: auto;
}

/* 顶部黑色渐变遮罩：让图片上方自然融进页面黑色背景 */
.account-image-mask::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* 上方黑 → 中间半透明 → 下方透明 */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 18%,
    rgba(0, 0, 0, 0.3) 40%,
    transparent 70%
  );
}

/* 中心内容块：头像 + 按钮 */
.account-center-block {
  position: absolute;
  left: 50%;
  top: 60%;                         /* 整块的位置：略低于几何中心 */
  transform: translate(-50%, -50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;                        /* 头像和按钮之间的距离 */
}

/* 圆形头像 */
.account-avatar {
  width: 210px;                     /* 头像大小，可改 120~180px */
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ===============================
   在这里找到我 —— 发光描边按钮
   和「更多关于我」右箭头保持一致
================================= */
.account-cta-button {
  text-decoration: none;   /* ✅ 关键：去掉下划线 */
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em; /* 建议保留轻微字距，让按钮更稳重 */
  color: #ffffff;

  padding: 12px 44px;
  background-color: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
  cursor: pointer;

  /* ▼ 在这里加入辉光，与「一人内容制造机」完全一致 */
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
  
  box-shadow: 0 0 0 rgba(255,255,255,0);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

/* Hover */
.account-cta-button:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;

  box-shadow:
    0 0 8px rgba(255,250,240,0.80),
    0 0 16px rgba(255,247,238,0.55),
    0 0 32px rgba(255,245,236,0.35);

  transition: background-color 0.25s ease, color 0.25s ease;
}

/* 按钮下方的短句（等线体、轻盈、无辉光） */
.account-quote {
  margin: 0;
  margin-top: -40px;      /* 让它离按钮稍微近一点，可根据你的截图微调 */
  
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.5em;  /* 汉字大字距，高级、稀疏、极简 */
  line-height: 1.8;
  
  color: #1A1A1A;         /* 深灰色，符合你底部背景的氛围 */
  text-align: center;

  font-family: 
    "DengXian", 
    "Microsoft YaHei", 
    "PingFang SC", 
    "Noto Sans SC", 
    sans-serif;
}

/* 图标区域容器 */
.account-socials {
  margin-top: -40px;
  display: flex;
  justify-content: center;
  gap: 39px;            /* 图标之间的距离 */
  flex-wrap: wrap;      /* 小屏幕自动换行 */ 

  transform: translateX(-3px); /* ← 向左移动 20px */
}

/* 单个项目 */
.social-item {
  display: flex;
  align-items: center;
  gap: 10px;            /* 图标与文字之间距离 */
  text-decoration: none;
  color: #1A1A1A;       /* 深灰，与短句一致 */
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.05em;

  font-family: 
    "DengXian",
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    sans-serif;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 图标大小 */
.social-item img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

/* hover 效果：轻微变亮与上浮 */
.social-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-item:hover img {
  opacity: 1;
}

/* 整个底部区块 */
.footer-icon-section {
  background: #000000;
  padding: 28px 0 18px;   /* 上下留白，保持呼吸感 */
  text-align: center;
}

/* 图标按钮容器 */
.footer-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  transition: 
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

/* 图标本身 */
.footer-icon-btn img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
  transition: opacity 0.25s ease, filter 0.35s ease;
  transform: none;        /* 删掉 translateY(-90px) */
}

/* hover 时：只有图标发光 */
.footer-icon-btn:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6))
          drop-shadow(0 0 14px rgba(255,255,255,0.35));
}

/* 悬停：发光、变亮、轻微浮起 */
.footer-icon-btn:hover {
  border-color: #ffffff;
  box-shadow: none;   /* ❌ 外框不发光 */
}

.footer-icon-btn:hover img {
  opacity: 1;
}

/* ===== Hero 区 · 底部文字导航（正文语言风格） ===== */

.hero-nav {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 36px;
}

.hero-nav a {
  /* ✅ 与“现代文艺复兴人…”正文完全一致 */
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #FFFCF5;

  font-family: 
    "Microsoft YaHei",
    "PingFang SC",
    "Heiti SC",
    "Noto Sans SC",
    sans-serif;

  text-decoration: none;

  /* 导航需要一点“秩序感”，但不破坏正文气质 */
  letter-spacing: 0.12em;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

  display: inline-block;
  width: auto;
}

/* hover：极其克制 */
.hero-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ===== 底部无限滚动文本（最终版） ===== */
.marquee-section{
  background:#000;
  overflow:hidden;
  height: 260px;          /* 容器高度小于文字高度 => 自动裁切 */
  padding: 0;             /* 不要再用大 padding 顶出空白 */
  margin-top: 50px;   /* ✅ 拉开与上方导航的距离（核心） */
}

/* ✅ 英文 & 意大利语：底部大字更贴近页面底部 */
html[lang="zh-CN"] .marquee-section,
html[lang="en"] .marquee-section,
html[lang="it"] .marquee-section{
  height: 230px;
}

html[lang="en"] .marquee-track,
html[lang="it"] .marquee-track{
  transform: translateY(80px);
}

.marquee-track{
  display:flex;
  width:max-content;
  animation: marquee-left 52s linear infinite;
  transform: translateY(60px);  /* ✅ 只把文字往下推，形成“底部遮挡” */
}

.marquee-track span {
  font-family: "Noto Sans SC Display", sans-serif;
  font-weight: 500;
  font-size: 210px;
  color: #faf5ea;
  letter-spacing: 0.10em;

  /* ⚠️ 把之前所有 text-shadow 都删掉 */
}

@keyframes marquee-left{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* ===== 目录页：自上而下滑出的纯黑整屏 ===== */
.menu-overlay{
  position: fixed;
  inset: 0;
  z-index: 999;                 /* 确保盖住所有内容 */
  background: #000;

  transform: translateY(-100%);
  transition: transform 0.55s ease;
  will-change: transform;

  /* 目录页滑出时禁止点到下面的内容 */
  pointer-events: none;
}

/* 打开状态：滑到视口内 */
.menu-overlay.is-open{
  transform: translateY(0);
  pointer-events: auto;
}

/* 可选：右上角关闭按钮（先给一个最简单的） */
.menu-overlay__close{
  width: 36px;   /* 原来 56px */
  height: 36px;  /* 原来 56px */
  position: absolute;
  top: 22px;
  right: 26px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.menu-overlay__close:hover{
  opacity: 1;
}

.menu-panel{
  position: absolute;
  top: 7vh;
  left: clamp(20px, 3vw, 48px); 
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vh, 36px);
  width: min(56vw, 900px);  /* ✅ 关键：一整条横向 hover 区域 */
}

.menu-overlay .menu-panel .menu-link{
  display: block;
  width: 100%;
  padding: 0;
  color: #faf5ea;
  text-decoration: none;

  font-family: "Microsoft YaHei", "PingFang SC", "Heiti SC", "Noto Sans SC", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(44px, 6.0vw, 110px);
  line-height: 0.95;

  transition: color 0.30s ease;
}

/* 当前页面：强状态辉光（非 hover） */
.menu-overlay .menu-panel .menu-link.is-active{
  color: #FFFCF5;

  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 36px rgba(255, 245, 236, 0.35),
    0 0 72px rgba(255, 243, 234, 0.15);

  /* 可选：略微更稳重 */
  letter-spacing: 0.03em;
}

/* hover：只有非当前页才变灰 */
.menu-overlay .menu-panel .menu-link:hover:not(.is-active){
  color: #4d4d4d;
}

/* 右上角 X */
.menu-overlay__close{
  position: absolute;
  top: 29px; /* 可选：稍微贴近角落 */
  right: 45px;
  font-size: 44px;
  color: #faf5ea;
  opacity: 0.9;

  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.9;

    opacity: 0.7;                  /* 平时有点透明 */
  transition: opacity 0.2s ease;  /* 平滑变化 */
}

.menu-overlay__close:hover,
.menu-overlay__close:active{
  opacity: 1;                    /* 触摸/悬停变不透明 */
}

.menu-overlay__close:hover{ opacity: 1; }

.menu-overlay__close-icon{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* 底部外链栏（固定在底部） */
.menu-bottom{
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 28px;

  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ 四等分 */
  align-items: center;

  padding: 0;

  border: 1px solid #faf5ea;
}

.menu-bottom > .menu-bottom__item{
  position: relative;
}

/* 除了最后一个，其余右侧画分隔线 */
.menu-bottom > .menu-bottom__item:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
  background: #faf5ea;
}

/* 底部外链栏：变矮 */
.menu-bottom__item{
  position: relative;
  height: 100%;              /* ✅ 铺满这一等分 */
  
  color: #faf5ea;
  font-family: "Noto Sans SC Display", "PingFang SC", "Microsoft Yahei", sans-serif;

  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-decoration: none;
  opacity: 0.9;

  /* 过渡 */
  transition: background-color 0.25s ease, color 0.25s ease;

  padding: 12px 0;   /* ✅ 灰色背景的高度来源 */
}

.menu-bottom__item:hover{
  background-color: #1b1b1b;
  color: #faf5ea;
}

.menu-bottom__sep{ display:none; }

.menu-bottom .ext{
  font-size: 16px;
  transform: translateY(-1px);
}

.menu-arrow{
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: inline-block;

  transform: rotate(0deg);              /* 初始角度 */
  transition: transform 0.25s ease;     /* 关键：旋转过渡 */
}

.menu-bottom__item:hover .menu-arrow{
  transform: rotate(45deg);
}

/* ===== 语言切换下拉 ===== */
.lang-switch{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 9999;

  margin: 0;
  padding: 0;
  list-style: none;

  min-width: 50px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #faf5ea;
  box-shadow: 0 0 18px rgba(250,245,234,0.08);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;

  right: -12px;   /* ← 向右推，数值你可以在 -8 ~ -20px 微调 */
}

.lang-switch.is-open .lang-menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-item{
  width: 100%;
  padding: 12px 14px;  /* ✅ 把“呼吸感”给 item 本身 */
  background: transparent;
  border: none;

  color: #faf5ea;
  font-family: 
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    "Heiti SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;

  cursor: pointer;

  line-height: 0.7;
}

.lang-item:hover{
  background: rgba(77,77,77,0.65);
}

.lang-item.is-active{
  background: rgba(77,77,77,0.85);
}

/* 菜单打开时锁定页面滚动（比直接写 body.style.overflow 更稳） */
body.is-locked {
  overflow: hidden;
}


/* 响应式：小屏幕上下布局 */
@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    gap: 32px;
  }

  .about-left,
  .about-right {
    flex: 1 1 auto;
  }

  .about {
    padding: 72px 6vw 96px;
  }
}

/* ===============================
   Responsive Patch (Paste to END)
================================ */

/* 让页面在所有设备都有“统一边距”可控 */
:root{
  --gutter: clamp(16px, 4vw, 64px);
  --about-inertia-y: 0px;
}

/* ---------- <= 1024px (平板横屏) ---------- */
@media (max-width: 1024px){
  /* About：字体稍收一点 */
  .about-right{ font-size: 20px; }
  .about-inner{ gap: 40px; }

  /* Services：整体留白小一点 */
  .services-section{ padding: 72px var(--gutter) 48px; }
  .services-header{ margin-bottom: clamp(36px, 6vw, 56px); }

  /* 我的故事：标题稍小，滚动距离略短 */
  .my-story-section{ min-height: 420vh; }
  .my-story-title{ font-size: clamp(88px, 9vw, 170px); }
}

/* ---------- <= 900px (你已有断点，这里补细节) ---------- */
@media (max-width: 900px){
  .about-left{ margin-left: 0; }
  .about-right{ font-size: 18px; }
  .about-tagline{ font-size: 18px; }
}

/* ---------- <= 768px (手机/平板竖屏关键断点) ---------- */
@media (max-width: 768px){
  /* 只影响按钮：让它在 about-right 内居中 */
  .about-right{
    display: flex;
    flex-direction: column;
  }
  .about-button-split{
    align-self: center;
  }

  /* Header 内边距 */
  .site-header__inner{ padding-inline: var(--gutter); }
  .page-content{ padding-inline: var(--gutter); }

  /* Hero 标题 */
  .hero-title{
    font-size: clamp(56px, 17vw, 88px);
    line-height: 1.15;
    white-space: normal;
    max-width: 4em;
    bottom: 31vh;
    left: clamp(20px, 6vw, 48px);
  }

  /* Hero 底部导航 */
  .hero-nav{
    gap: 18px;
    flex-wrap: wrap;
    padding-inline: var(--gutter);
  }

  /* Services：两列 => 一列 */
  .services-section{ padding-top: 64px; padding-bottom: 42px; }
  .services-header{ margin-bottom: 34px; }
  .services-grid{ grid-template-columns: 1fr; }
  .service-card{ padding: 26px; min-height: 0; }

  /* 账号区：移动端尺寸 */
  .account-avatar{ width: 140px; height: 140px; }
  .account-cta-button{
    font-size: 18px;
    padding: 10px 26px;
  }
  .account-quote{
    font-size: 14px;
    letter-spacing: 0.22em;
    line-height: 1.9;
    margin-top: -10px;
    padding-inline: 10px;
  }
  .account-socials{
    gap: 18px;
    margin-top: -10px;
    transform: none;
  }
  .social-item{ font-size: 14px; }
  .social-item img{ width: 20px; height: 20px; }

  /* 目录页：列表区域占满一点，底部四等分 => 2x2 */
  .menu-panel{
    left: var(--gutter);
    width: calc(100vw - (var(--gutter) * 2));
  }
  .menu-bottom{
    left: var(--gutter);
    right: var(--gutter);
    grid-template-columns: repeat(2, 1fr);
  }
  /* 2列时竖分隔线不再适用：关掉 */
  .menu-bottom > .menu-bottom__item::after{ display:none; }

  /* 跑马灯：整体变矮，字号变小 */
  .marquee-section{
    height: 100px;
    margin-top: 24px;
  }
  .marquee-track{ transform: translateY(42px); }
  .marquee-track span{ font-size: 120px; }
}

/* ---------- <= 480px (小屏手机) ---------- */
@media (max-width: 480px){
  /* Hero 标题再收一点，避免三行太挤 */
  .hero-title{
    font-size: clamp(56px, 17vw, 88px);
    line-height: 1.15;
    max-width: 9.5em; /* 保持你之前允许换行的逻辑 */
  }

  /* Services 卡片：文字更舒展 */
  .service-card h2{ font-size: 22px; }
  .service-card p{ font-size: 15px; max-width: 100%; }

  /* 我的故事再短一点，适配很矮的屏幕 */
  .my-story-section{ min-height: 300vh; }

  /* 账号区按钮更适合拇指点击 */
  .account-cta-button{
    width: 100%;
    text-align: center;
  }

  /* 跑马灯再小一点 */
  .marquee-section{ height: 140px; }
  .marquee-track span{ font-size: 96px; }
}

@media (min-width: 769px){
  .services-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===============================
   Contact Page — remove all borders
================================ */

/* 外卡片：无边框 */
.contact-card,
.contact-strip,
.contact-tile{
  border: none !important;
}

/* 内卡片（输入框）：无边框 */
.contact-input,
.contact-textarea{
  border: none !important;
}

/* 大标题：与其它区块标题同辉光气质 */
.contact-title{
  margin-top: 22px;   /* ← 新增：让标题整体下移 */
  margin-bottom: 0;
  text-align: center;
  font-size: clamp(96px, 10vw, 210px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;

  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;

  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
}

.contact-stack{
  width: min(600px, calc(100% - (var(--gutter, 24px) * 2)));
  margin: 110px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 外卡片（深色层） */
.contact-card,
.contact-strip,
.contact-tile{
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.10);
}

/* 表单卡片 */
.contact-card{
  padding: 26px 18px 26px; /* 原来 18px 18px 16px：上更大、下变 0 */
}

.contact-card__label{
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.70;
  margin-bottom: 14px;
  text-align: center;
}

.contact-form{
  display: grid;
  gap: 16px;
}

.contact-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;    /* ← 和 .contact-form 的 gap 完全一致 */
}

/* 内卡片（浅色层 / 输入区） */
.contact-input,
.contact-textarea{
  width: 100%;
  background: #313131;
  border: 1px solid rgba(255,255,255,0.10);
  color: #FFFCF5;
  padding: 14px 14px;
  outline: none;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
}

/* ✅ 只让“你的需求”更高 */
.contact-textarea{
  min-height: 140px;   
  resize: vertical;
}

/* ✅ 给输入框一个正常高度（可选，但推荐，避免太扁） */
.contact-input{
  min-height: 56px;
}

.contact-input::placeholder,
.contact-textarea::placeholder{
  color: rgba(255,255,255,0.30);
}

/* 发送按钮：复用 account-cta-button 的外观，但尺寸更贴合表单 */
.contact-send{
  width: 100%;

  /* 字体与“联系我”同体系（黑体） */
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;

  font-size: 16px;        /* 原来 14px → 稍微放大 */
  font-weight: 600;       /* 明显更粗，但不浮夸 */
  letter-spacing: 0.14em; /* 与整体 UI 呼应 */

  padding: 18px 14px;     /* 保持与内卡片同高 */
}

/* 邮箱条 */
.contact-strip{
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-strip__label{
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.70;
}

.contact-strip__value{
  color: #FFFCF5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.contact-strip__value:hover{ opacity: 1; }

/* 社媒 2x2 */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-tile{
  height: 180px;                /* ← 卡片整体更高（你之前也想要） */
  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: center;      /* 先居中整体 */
  padding-top: 12px;            /* ← 整体略向下 */
  gap: 14px;

  text-decoration: none;
  color: #FFFCF5;
}

/* Contact 社媒 icon：不压缩比例 */
.contact-tile img{
  width: 28px;      /* ← icon 变大（你可以试 32 / 36 / 40） */
  height: auto;     /* ✅ 关键：取消正方形压缩 */
  opacity: 0.9;
  display: block;
}

.contact-tile span{
  font-size: 12px;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.contact-tile:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

@media (max-width: 768px){
  .contact-page{ padding-top: 100px; }
  .contact-stack{ margin-top: 46px; }
  .contact-form__row{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Contact page small labels — use sans-serif like inputs */
.contact-card__label,
.contact-strip__label{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
}

/* 可选：如果 menu-link 默认是大写/加字距，你要保持一致就不动；
   如果你发现它把中文变形（比如强制 uppercase），再告诉我，我给你做中文兼容的仅-contact 覆盖。 */

/* ===============================
   FINAL: Match footer nav (.hero-nav a) EXACTLY
   Contact page only
================================ */

/* 邮箱：完全等同于 .hero-nav a */
.contact-page .contact-strip__value{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.6 !important;
  color: #FFFCF5 !important;
  opacity: 1 !important;

  text-decoration: none !important;
  text-transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block !important;
}

/* 社媒文字：完全等同于 .hero-nav a */
.contact-page .contact-tile span{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.6 !important;
  color: #FFFCF5 !important;
  opacity: 1 !important;

  text-decoration: none !important;
  text-transform: none !important;
}

.footer-icon-section{
  margin-top: 100px;
}

/* ===============================
   About Page — Hero
================================ */

.about-page{
  background:#000;
}

/* 首屏 */
.about-hero{
  padding: clamp(8px, 2vh, 24px) 0 0px;
}

/* ✅ About 首屏：三元素聚拢居中 */
.about-hero-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: grid;
  grid-template-columns: auto auto auto;  /* 关键：不再用 1fr 拉开 */
  align-items: center;
  justify-content: center;               /* 关键：整体居中 */
  gap: clamp(40px, 6vw, 110px);          /* 你想更紧凑就调小 */
}

/* 左右不再推到两边，保持自然居中队形 */
.about-hero-word.left,
.about-hero-word.right{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 中间照片：无圆角、完整显示、不裁剪 */
.about-photo img,
.about-hero-photo img{
  width: min(360px, 100%);
  height: auto;          /* ✅ 关键：不要固定高度 */
  border-radius: 0;      /* ✅ 去掉圆角 */
  object-fit: contain;   /* ✅ 关键：不裁剪，完整显示 */
  aspect-ratio: auto;    /* ✅ 如果你之前写了 1/1，这里等于取消 */
  background: transparent;
  box-shadow: none;
  justify-self: center;            /* 水平居中于页面 */
}


/* ===============================
   About Page — Text
================================ */

.about-text{
  padding: 40px 0 80px;
}

.about-text-inner{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 6vw;

  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
}

.about-text-inner p{
  margin-bottom: 20px;
}

/* 高亮文字 */
.about-text .hl{
  color: #FFFCF5;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 900px){
  .about-hero-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero-word.left,
  .about-hero-word.right{
    justify-content: center;
  }

  .about-hero-photo img{
    width: 240px;
    height: 240px;
  }
}

/* ===============================
   About Hero — Right Text
   Match .hero-title EXACTLY
================================ */

.about-hero-text{
  /* 🔥 字体体系：与首页 hero-title 完全一致 */
  font-family: "Noto Serif SC", serif;
  font-weight: 900;

  /* 字号：略小于首页“真实，与创造”，但同气质 */
  font-size: clamp(84px, 10vw, 172px); /* ✅ 约 2 倍 */
  line-height: 1.05;
  letter-spacing: 0.01em;

  color: rgba(255, 252, 245);

  /* 🔥 同款辉光（直接复制 hero-title） */
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.8),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);

  /* 对齐 */
  white-space: nowrap;
}

  /* ✅ 右侧：下移一点，让它更贴近照片底部 */
.about-hero-word.right{
  align-self: end;

  /* 垂直：贴近照片底部 */
  transform: translateY(-50px) translateX(48px); /* ← 新增 X 位移 */

  justify-content: flex-start;
}

/* 右侧对齐微调（桌面端） */
.about-hero-word.right{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 移动端居中 */
@media (max-width: 900px){
  .about-hero-text{
    font-size: clamp(40px, 10vw, 72px);
    text-align: center;
  }
}

/* 左侧图片辉光（接近右侧文字的感觉） */
.glow-img{
  filter:
    drop-shadow(0 0 3px rgba(255,250,240,.80))
    drop-shadow(0 0 10px rgba(255,247,238,.45))
    drop-shadow(0 0 22px rgba(255,245,236,.25));
}

/* ✅ 限制左侧 PNG 的尺寸，避免被 auto 列顶出视口 */
.about-hero-word.left img{
  width: clamp(195px, 23vw, 457px); /* ✅ 约为原来的 2/3 */
  height: auto;
  display: block;
}

/* 可选：右侧文字也更稳 */
.about-hero-word.right{
  justify-content: center !important;
}

/* ===== About hero: bottom-fixed vertical breathing ===== */
.motion-stage{
  /* 这个高度就是“基准舞台高度”（底部固定在这里） */
  height: 560px;
  display: flex;
  align-items: flex-end;   /* ✅ 关键：让 motion-box 底部固定 */
  justify-content: center;
  position: relative;
}

/* ===== About photo motion (no side crop, only bottom mask) ===== */

/* 让中间这一列“底部固定” */
.about-hero-photo.motion-stage{
  display: flex;
  align-items: flex-end;     /* ✅ 底部固定基准 */
  justify-content: center;
}

/* ===============================
   About Hero Motion — FINAL OVERRIDE
   (Paste at END of style.css)
================================ */

/* 中间这一列：底部固定基准 */
.about-page .about-hero-photo.motion-stage{
  display: flex;
  align-items: flex-end;     /* ✅ 底部固定 */
  justify-content: center;
}

/* 容器：宽度=图片宽度；高度<图片高；只裁底部（Y） */
.about-page .motion-box{     
  position: relative;
  display: inline-block;     /* ✅ shrink-wrap */
  width: fit-content;        /* ✅ 宽度=内容宽度 */
  max-width: 100%;

  overflow-y: hidden;        /* ✅ 只裁底部 */
  overflow-x: visible;       /* ✅ 不裁左右 */

  height: 420px;             /* 初始值（JS 会动态改） */
  filter: none;
  transform: translate3d(0, -30px, 0); /* 👈 数值你可以在 -16 ~ -48 微调 *//* 只上移中间照片整体 */
  backface-visibility: hidden;
}

/* 图片：回到文档流（不要 absolute），这样容器才能“跟着图片宽度走” */
.about-page .motion-img{
  display: block;
  width: clamp(290px, 25vw, 470px);
  height: auto;
  object-fit: contain;
  border-radius: 0;

  /* ✅ 关键：不要 absolute / 不要 left:50% translateX */
  position: relative;
  left: auto;
  top: auto;
  transform: translate3d(0, 0, 0);

  will-change: transform;
  backface-visibility: hidden;
}

/* ===============================
   About Page — Section 2 (Full-screen + Typography like Home About)
   (Paste at END of style.css)
================================ */

.about-page .about-hero{
  min-height: 100vh;
  display: flex;
  align-items: flex-start;   /* 🔥 关键 */
  padding-top: clamp(8px, 2vh, 24px);
}

.about-page .about-text{
  /* ✅ 第二个区块独占一屏，并与首屏拉开距离 */
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: clamp(64px, 10vh, 120px) 
           0 
           clamp(64px, 10vh, 120px);
}

.about-page .about-text-inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6vw;

  /* 🔥 参考首页“跨界的真实创作者…”的正文气质 */
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;

  color: rgba(255, 252, 245, 0.5);
}

.about-page .about-text-inner p{
  margin: 0 0 28px;
}

.about-page .about-text .hl{
  color: rgba(255, 252, 245);
  font-weight: 500;
}

/* 英文/意大利语：取消首行缩进（与首页逻辑一致） */
html[lang="en"] .about-page .about-text-inner p,
html[lang="it"] .about-page .about-text-inner p{
  text-indent: 0;
}

@media (max-width: 768px){
  .about-page .about-text-inner{
    font-size: 18px;
  }
  .about-page .about-text{
    padding: 92px 0 92px;
  }
}

/* 左侧发光 PNG（Dihan） */
.about-page .about-hero-word.left .glow-img{
  transform: translate3d(0, var(--about-inertia-y), 0);
  will-change: transform;
}

/* 右侧发光文字（邸涵） */
.about-page .about-hero-text{
  transform: translate3d(0, var(--about-inertia-y), 0);
  will-change: transform;
}

/* ===============================
   About — Split Story (NEW)
   左：sticky 全屏轮播 | 右：长文本
================================ */

.about-page .about-split-story{
  background:#000;
  color:rgba(255, 252, 245);

  /* ✅ 控制它与上一个 about-text 的距离：想更近就再减小 */
  padding: clamp(36px, 6vh, 72px) 0 clamp(72px, 12vh, 140px);
}

.about-page .about-split-story__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

/* 左栏：关键 sticky */
.about-page .about-split-story__media{
  position: sticky;
  top: 0;
  height: 100vh;

  display: flex;
  align-items: center;
}

.about-page .about-split-story__stage{
  position: relative;
  width: 100%;
  height: 100vh;        /* ✅ 与视口同高 */
  overflow: hidden;
  background: #000;
}

/* 四张图叠放 */
.about-page .about-split-story__stage{
  cursor: pointer;
}

.about-page .about-split-story__img{
  opacity: 0;
  transform: none;
  transition: none;       /* ✅ 关键：取消动画 */
}

.about-page .about-split-story__img.is-active{
  opacity: 1;
  transform: scale(1.00);
}

/* 右栏：沿用你 about-text 的气质 */
.about-page .about-split-story__text{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 252, 245);
}

.about-page .about-split-story__title{
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 252, 245, 0.85);
}

.about-page .about-split-story__text p{
  margin: 0 0 18px;
}

/* 移动端：上下堆叠，取消 sticky（更自然） */
@media (max-width: 900px){
  .about-page .about-split-story__inner{
    grid-template-columns: 1fr;
  }
  .about-page .about-split-story__media{
    position: relative;
    height: auto;
  }
  .about-page .about-split-story__stage{
    height: 56vh;
  }
  .about-page .about-split-story__text{
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce){
  .about-page .about-split-story__img{
    transition: none;
    transform: none;
  }
}

/* ===============================
   About Split Story — LEFT EDGE FIX
================================ */

/* 1️⃣ 整个区块不再给上下 padding（右栏仍然靠内容自然撑高） */
.about-page .about-split-story{
  padding-top: 0;
  padding-bottom: 0;
}

/* 2️⃣ 左栏 sticky 区：贴顶贴底 */
.about-page .about-split-story__media{
  align-items: stretch;   /* ❌ 不再居中 */
}

/* 3️⃣ 左侧画布：真正 100vh，无任何空隙 */
.about-page .about-split-story__stage{
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* === Fix: About Split Story images should fully fit the 100vh stage === */
.about-page .about-split-story__stage{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.about-page .about-split-story__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  /* ✅ 完整展示，不裁切 */
  object-fit: contain;
  object-position: center;

  opacity: 0;
  transition: none;
  transform: none;

  display: block;
}

.about-page .about-split-story__img.is-active{
  opacity: 1;
}

/* === About Split Story: WIDER (gutter = 1/3) === */
.about-page .about-split-story__inner{
  max-width: 1800px;      /* 原来 1400：更宽 */
  padding: 0 3vw;         /* 原来 6vw：变为 1/2 */
  gap: clamp(22px, 3vw, 64px);
}

.about-page .about-narrative-strong{
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  font-size: 15px;
  line-height: 1.42;
  letter-spacing: 0;

  font-weight: 700;   /* ← 现在真的会变厚 */
  color: #FFFCF5;
}

/* ===============================
   About Right Text — More Compact
   =============================== */

.about-page .about-split-story__text{
  line-height: 1.36;      /* 原 ~1.4–1.5 → 明显更紧 */
}

.about-page .about-split-story__text p{
  margin-bottom: 30px;    /* 原 ~18–22px → 更连贯 */
}

/* 最后一段不留多余空白 */
.about-page .about-split-story__text p:last-child{
  margin-bottom: 0;
}

/* ===============================
   About Split Story — YOUR GOAL OVERRIDE
   保持：左边缘/中间gap/右边缘的间距不变
   实现：左图更大且贴顶贴底；右栏变窄
================================ */

/* 1) 保持左右 gutter 不变：你现在是 3vw，这里不改
   2) 保持两列间 gap 不变：这里沿用你现在的 gap
   3) 只改列宽比例：左更宽、右更窄 */
.about-page .about-split-story__inner{
  /* ✅ 把左列从 44% 提到 56%（你可在 52%~62% 微调） */
  grid-template-columns: minmax(380px, 56%) minmax(320px, 44%);
}

/* 右侧文字栏：在自己的列里“靠右贴边”，同时限制最大阅读宽度 */
.about-page .about-split-story__text{
  justify-self: end;          /* ✅ 保持“右侧文本与右边缘”间距不变 */
  max-width: 620px;           /* ✅ 右栏变窄（你可在 560~720 调） */
  width: 100%;
}

/* 左栏：确保 sticky 区域就是整屏高度 */
.about-page .about-split-story__media{
  top: 0;
  height: 100vh;
}

/* 左侧舞台：整屏 */
.about-page .about-split-story__stage{
  height: 100vh;
}

/* 左侧图片：必须 cover 才能贴顶贴底 */
.about-page .about-split-story__img{
  object-fit: cover;          /* ✅ 关键：贴紧上下边缘 */
  object-position: center;    /* 你也可以试 center top */
}

/* 控制 About 第二区块 → 第三区块 的间距 */
.about-page .about-text{
  margin-bottom: clamp(100px, 20vh, 240px);
}

/* ===============================
   About — New Block: Gene
   (Paste at END of style.css)
================================ */

.about-page .about-gene{
  background:#000;
  padding: clamp(120px, 18vh, 240px) 0;
}

.about-page .about-gene__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(66px, 11vh, 126px);   /* ✅ 标题 ↔ 卡片 更大一点 */
}

.about-page .about-gene__kicker{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(255, 252, 245, 0.85);
}

.about-page .about-gene__stack{
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: clamp(78px, 12vh, 144px);
}

.about-page .about-gene__card{
  width: 100%;
  min-height: clamp(120px, 16vh, 170px);

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 252, 245, 0.34);
  background: transparent;

  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 530;
  letter-spacing: 0.06em;
  color: rgba(255, 252, 245, 0.95);
}

html[lang="en"] .about-page .about-gene__card,
html[lang="it"] .about-page .about-gene__card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
  padding: 22px 28px;
}

/* 移动端收紧 */
@media (max-width: 768px){
  .about-page .about-gene{
    padding: 110px 0;
  }
  .about-page .about-gene__kicker{
    font-size: 14px;
    letter-spacing: 0.18em;
  }
  .about-page .about-gene__stack{
    gap: 34px;
  }
  .about-page .about-gene__card{
    min-height: 110px;
    font-size: 44px;
    letter-spacing: 0.04em;
  }
}

/* ===============================
   About Gene — Kicker match "现代文艺复兴人"
================================ */

.about-page .about-gene__kicker{
  /* 字体体系：与 about-text / 现代文艺复兴人 完全一致 */
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;

  /* 字号 / 字重 / 行高 */
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;

  /* 颜色：与 about-text 正文一致 */
  color: #FFFCF5;

  /* 清除它原来作为“kicker”的性格 */
  letter-spacing: 0.01em;
  text-transform: none;
}

/* ===============================
   About — Timeline (Hover -> Preview)
================================ */
.about-page .about-timeline{
  background:#000;
  padding: clamp(120px, 18vh, 240px) 0;
}

.about-page .about-timeline__inner{
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 3vw; /* 和你 split-story 一致的窄 gutter */
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

/* 左侧：标题 + 预览图（sticky 更像参考） */
.about-page .about-timeline__left{
  top: 90px;
  align-self: start;
}

/* 预览容器：悬浮层，由 JS 计算位置 */
.about-page .about-timeline__preview{
  position: fixed;
  left: 0;              /* JS 会覆盖 */
  top: 0;               /* JS 会覆盖 */
  z-index: 60;

  width: 220px;
  aspect-ratio: 1 / 1;

  overflow: hidden;
  background: transparent;

  opacity: 0;

  /* 关键：top=行中线；translateY(-50%) 让图片中心对齐这条中线 */
  transform: translateY(-50%) translateX(8px);
  transition: opacity .18s ease, transform .18s ease;

  pointer-events: none;
}

.about-page .about-timeline__preview.is-visible{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.about-page .about-timeline__preview-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 右侧列表 */
.about-page .about-timeline__right{
  display: flex;
  flex-direction: column;
}

/* 每一行：三列对齐（role / main / year） */
.about-page .timeline-item{
  display: grid;
  grid-template-columns: 115px 1fr 70px;

  column-gap: 0px;  /* 原 18 → 缩小 role ↔ main */
  row-gap: 13px;

  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
/* 取消时间轴第一行的顶部横线 */
.about-page .timeline-item:first-child{
  border-top: none;
}

/* 让 main ↔ year 仍然保持舒服的距离 */
.about-page .timeline-item__main{
  padding-right: 8px; /* 你可在 6~16px 微调 */
}

.about-page .timeline-item:last-child{
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.about-page .timeline-item__role{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 14px;
  letter-spacing: 0.10em;
  color: rgba(255,252,245,0.9);
}

.about-page .timeline-item__main{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,252,245,0.9);
}

.about-page .timeline-item__year{
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-align: right;
  color: rgba(255,252,245,0.9);
}

/* Hover：右侧轻微强调（不抢戏） */
.about-page .timeline-item:hover .timeline-item__main{
  color: #FFFCF5;
}

@media (max-width: 900px){
  .about-page .about-timeline__inner{
    grid-template-columns: 1fr;
  }
  .about-page .about-timeline__left{
    position: relative;
    top: auto;
  }
  .about-page .about-timeline__preview{
    width: 180px;
    margin-top: 18px;
  }
  .about-page .timeline-item{
    grid-template-columns: 120px 1fr 60px;
  }
  .about-page .timeline-item__main{
    font-size: 18px;
  }
}

/* ===============================
   About Timeline — Narrow Right Column
================================ */

.about-page .about-timeline__right{
  justify-self: end;
  max-width: 500px;

  margin-right: 150px;
  transform: translateY(100px); /* 40 → 56，更接近标题视觉重心 */
}

/* 时间轴标题：向右平移，仍属于左栏 */
.about-page .about-timeline__title{
  transform: translateX(160px);  /* 建议 32–64px 微调 */
}

/* About - “我的信条”标题辉光 */
.about-page .about-gene__kicker{
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.80),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);
}

/* ===============================
   About Timeline — Match About Body Style
   (NO font-size change)
================================ */

.about-page .timeline-item__main{
  /* 字体体系：与 about 正文一致 */
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;

  /* 关键：恢复叙述性正文的“轻” */
  font-weight: 300;

  /* 字距收紧，避免 UI 感 */
  letter-spacing: 0.01em;

  /* 颜色回到正文语气（不是高亮） */
  color: rgba(255, 252, 245, 0.85);
}

/* hover 时才强调，保持克制 */
.about-page .timeline-item:hover .timeline-item__main{
  color: rgba(255, 252, 245, 0.85);
}

/* 时间轴：右栏与左侧预览图的安全间距 */
.about-page .about-timeline__right{
  padding-left: 15px; /* 推荐 48–96px 自行微调 */
}

/* ===============================
   Works Section (UPDATED)
   目标：
   1) 黑底不变
   2) 两张一行更稳（窗口窄一点也不容易“放不下”）
   3) 图片不压缩、不裁剪（完整显示）
================================ */

.works-section {
  background: #000;

  /* ✅ 关键：大屏仍接近 50px，小屏自动缩小 padding，确保两列能放下 */
  padding: clamp(18px, 4vw, 50px);
}

.works-inner {
  width: 100%;
}

/* 导语：宽度=第一张卡片宽度（两列时） */
.works-intro{
  margin: 0 0 14px 0;

  font-size: 80px;
  font-weight: 700;
  line-height: 1.80;
  letter-spacing: 0.045em;
  color: #FFFCF5;

  font-family: "PingFang SC","Microsoft YaHei","Heiti SC","Noto Sans SC",sans-serif;

  /* glow */
  text-shadow:
    0 0 4px rgba(255, 250, 240, 0.80),
    0 0 14px rgba(255, 247, 238, 0.55),
    0 0 32px rgba(255, 245, 236, 0.35);

  /* single line (your final effect) */
  max-width: none;
  white-space: nowrap;
  overflow: visible;
}

.works-intro--subsection{
  margin-top: clamp(58px, 9vw, 120px);
}

/* ✅ 更稳的两列 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;   /* 横向不变 */
  row-gap: 26px;      /* ✅ 竖向变大：控制“说明文字 → 下一行图片” */
}

.works-overview{
  padding-top: clamp(14px, 2.25vw, 32px);
}

.works-screen{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.works-overview .works-screen{
  min-height: auto;
}

.works-screen--featured{
  justify-content: flex-start;
  padding-top: clamp(9px, 2.25vh, 26px);
}

.works-screen--entries{
  padding: clamp(56px, 8vh, 96px) 0;
}

.works-overview .works-screen--entries{
  padding: clamp(23px, calc(2.25vw + 2.25vh), 58px) 0 clamp(18px, 2.5vw, 34px);
}

.works-overview .works-screen--entries + .works-screen--entries{
  padding-top: clamp(14px, 2vw, 26px);
  padding-bottom: clamp(14px, 2vw, 26px);
}

.featured-works-grid,
.works-entry-grid{
  display: grid;
  max-width: 2100px;
  margin: 0 auto;
}

.featured-works-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 18px;
}

.works-entry-grid{
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 18px;
}

/* ✅ Works 页：把左侧文字移到图片下方；只保留一行白色标题 */
.works-section .work-card{
  display: flex;
  flex-direction: column;  /* 图片在上，文字在下 */
  gap: 10px;               /* 图片与标题间距（你可改 6/8/12） */
  text-decoration: none;
}

.works-overview .works-entry-card{
  gap: 12px;
}

.works-section .featured-work-card img{
  aspect-ratio: 16 / 10;
  height: auto;
}

.works-section .works-entry-card img{
  aspect-ratio: 16 / 9;
  height: auto;
}

.works-section .works-entry-card .work-title{
  display: block;
  text-align: left;
  font-size: clamp(18px, 1.8vw, 28px);
  letter-spacing: 0.08em;
}

/* ✅ 关键：取消“压在图片上/贴左侧”的绝对定位 */
.works-section .work-meta{
  position: static !important;  /* 覆盖你之前可能写过的 absolute */
  inset: auto !important;       /* 防止 top/left/right/bottom 残留 */
  padding: 0 !important;
   margin: 0 0 26px 0 !important;  /* ✅ 只在底部留白 */
  display: block;
}

.works-overview .works-entry-card .work-meta{
  margin-bottom: 18px !important;
}

.works-overview .category-cover-card{
  position: relative;
  aspect-ratio: 16 / 9;
  gap: 0;
  overflow: hidden;
  background: #000;
}

.works-overview .category-cover-card::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: background 0.4s ease;
}

.works-section .category-cover-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.works-overview .category-cover-card .work-meta{
  position: absolute !important;
  inset: auto 0 0 0 !important;
  z-index: 2;
  margin: 0 !important;
  padding: clamp(18px, 2.2vw, 32px) !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.works-overview .category-cover-card .work-hover-text{
  color: #FFFCF5;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Heiti SC",
    "Noto Sans SC",
    sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.works-overview .category-cover-card:hover img,
.works-overview .category-cover-card:focus-visible img{
  transform: scale(1.05);
}

.works-overview .category-cover-card:hover::before,
.works-overview .category-cover-card:focus-visible::before{
  background: rgba(0, 0, 0, 0.14);
}

.works-overview .category-cover-card:hover .work-hover-text,
.works-overview .category-cover-card:focus-visible .work-hover-text{
  opacity: 1;
  transform: translateY(0);
}

/* ✅ 图片：完整显示，不裁剪、不变形 */
.work-card img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: contain;       /* ✅ 不裁剪 */
  object-position: center;
  background: #000;
}

.works-grid .work-card img{
  aspect-ratio: 1265 / 712;
  height: auto;
  object-fit: cover;
}

/* 窄屏自动变 1 列，避免硬挤 */
@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
  .featured-works-grid,
  .works-entry-grid {
    grid-template-columns: 1fr;
  }
  .works-overview{
    padding-top: clamp(16px, 5vw, 28px);
  }
  .works-overview .works-screen--featured{
    padding-top: clamp(10px, 3vh, 24px);
  }
  .works-overview .works-screen--entries{
    padding: clamp(26px, calc(5vw + 3vh), 52px) 0 clamp(20px, 6vw, 32px);
  }
  .works-overview .works-screen--entries + .works-screen--entries{
    padding-top: clamp(18px, 6vw, 30px);
    padding-bottom: clamp(18px, 6vw, 30px);
  }
  .works-overview .works-entry-grid{
    row-gap: 22px;
  }
  .works-overview .works-entry-card .work-meta{
    margin-bottom: 22px !important;
  }
  .works-intro {
    max-width: 100%;
  }
}

/* ===============================
   Works — Text = Contact Youtube Font
   =============================== */

.works-section .work-title{
  /* 字体体系：与 Contact 页 Youtube 完全一致 */
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Heiti SC",
    "Noto Sans SC",
    sans-serif;

  font-size: 16px;        /* 与 Youtube 一致 */
  font-weight: 300;
  line-height: 1.6;

  letter-spacing: 0.10em;
  text-transform: none;

  color: #FFFCF5;
  opacity: 1;
}

/* ===============================
   About — TEMP remove width limit
   =============================== */

.about-page .about-hero-inner{
  max-width: none;     /* ✅ 取消宽度限制 */
}

/* ===============================
   About Hero Title — NEVER wrap (final override)
   =============================== */
.about-page .about-hero-text{
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* 仅用于测试：允许更长标题横向溢出，不会被父容器裁掉 */
.about-page .about-hero-inner,
.about-page .about-hero-word.right{
  overflow: visible !important;
}

/* ===============================
   Works Page — tighter footer gap
================================ */

.works-section + .footer-icon-section{
  margin-top: 50px;  /* 原来是 100px，这里略微收紧 */
}

/* ===============================
   Menu Overlay — Works Page Glow Fix
   =============================== */

/* works 页：目录打开时，左栏所有目录项都有“基础辉光气质” */
/* ===============================
   Works — Row 2 delayed reveal (scroll-trigger)
   规则：
   - 首次进入：第一行正常展示
   - 第二行：先隐藏，不随滚动立刻出现
   - 当第一行整体底部上移到「视窗中线以上」时，第二行才允许出现
   - 第二行从下方滑入：左卡片略早于右卡片（速度一致，轻微错峰）
================================ */

/* 初始：第二行隐藏（仍占位，避免布局跳跃） */
/* 初始：所有“被控制的卡片”隐藏（仍占位） */
.page-works .works-grid .work-card.is-reveal{
  opacity: 0;
  transform: translateY(90px);
  pointer-events: none;
  will-change: transform, opacity;
}

/* 过渡就绪开关：避免首帧乱动 */
.page-works.works-reveal-ready .works-grid .work-card.is-reveal{
  transition:
    transform 1560ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 1260ms ease;
}

/* 解锁后显示 */
.page-works.works-reveal-ready .works-grid .work-card.is-reveal.is-unlocked{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 同行错峰：左列先、右列后（列数会由 JS 自动标记） */
.page-works.works-reveal-ready .works-grid .work-card.is-reveal.is-col-0{ transition-delay: 0ms; }
.page-works.works-reveal-ready .works-grid .work-card.is-reveal.is-col-1{ transition-delay: 320ms; }

/* 减少动画偏好：直接显示 */
@media (prefers-reduced-motion: reduce){
  .page-works .works-grid .work-card.is-reveal{
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none !important;
  }
}

/* 减少动画偏好：直接显示 */
@media (prefers-reduced-motion: reduce){
  .page-works .works-grid .work-card.is-row2{
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none !important;
  }
}

/* ===============================
   Works — match Home Services gutter EXACTLY
   =============================== */

/* 1) 外层横向 padding：跟 .services-section 一致（桌面：3vw） */
.works-section{
  padding-left: 3vw;
  padding-right: 3vw;
}

/* 2) 网格最大宽度与居中：跟 .services-grid 一致（max-width + auto） */
.works-grid{
  max-width: 2100px;
  margin: 0 auto;
}

/* 3) 平板及以下：跟你的首页响应式一致（<=1024 开始用 --gutter） */
@media (max-width: 1024px){
  .works-section{
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .featured-works-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header__inner{
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

/* 4) 手机：你首页 <=768 也在用 --gutter，这里保持一致 */
@media (max-width: 768px){
  .works-section{
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

/* ===============================
   Project Page — Space 01
   目标：
   1) 导航栏固定在顶部并叠在图上
   2) 按钮纯白，hover 不再变透明
   3) 满宽英雄图 + 居中标题
================================ */

.page-project .site-header{
  position: fixed;      /* ✅ 导航栏保持原位（顶部） */
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 50;          /* ✅ 压在 hero 图上 */
}

/* 按钮纯白：不透明；hover 也不变化 */
.page-project .site-logo img,
.page-project .icon-btn img{
  opacity: 1 !important;
  transition: none !important;
}

.page-project .icon-btn:hover img,
.page-project .site-logo:hover img{
  opacity: 1 !important; /* ✅ hover 不再变透明 */
}

/* 英雄区：整幅满宽图，图上居中标题 */
.page-notes .site-logo img{
  opacity: 0.70 !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.page-notes .site-logo:hover img{
  opacity: 1 !important;
}

.page-notes .header-icons .icon-btn img{
  opacity: 0.70 !important;
  transition: opacity 0.2s ease !important;
}

.page-notes .header-icons .icon-btn:hover img,
.page-notes .header-icons .icon-btn:active img{
  opacity: 1 !important;
}

.page-project .project-hero{
  position: relative;
  width: 100%;
  height: 100vh;        /* 你要整屏就保留；想更矮可改成 80vh/70vh */
  overflow: hidden;
}

.page-project .project-hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-notes .project-hero__img{
  filter: grayscale(100%) sepia(10%) saturate(108%) brightness(1.03) contrast(0.96);
}

.page-notes .project-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      rgba(255, 232, 190, 0.08),
      rgba(255, 218, 168, 0.05)
    );
  mix-blend-mode: soft-light;
}

.page-project .project-hero__title{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;

  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;

  font-weight: 900;
  font-size: clamp(88px, 12vw, 220px);
  letter-spacing: 0.02em;
  color: rgb(255, 255, 255);

  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.page-notes .project-hero__title{
  z-index: 2;
  color: rgba(255, 252, 245, 0.96);
  text-shadow:
    0 0 3px rgba(255, 250, 240, 0.55),
    0 0 12px rgba(255, 238, 210, 0.32),
    0 0 26px rgba(255, 226, 188, 0.18);
}

.page-notes .project-hero__subtitle{
  display: none;
}

.page-project-space{
  background: #000;
  color: #FFFCF5;
}

.page-project-space .project-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08) 46%, rgba(0, 0, 0, 0.44));
}

.page-project-space .project-hero__title{
  z-index: 1;
  width: min(92vw, 1600px);
  font-size: clamp(48px, 9vw, 150px);
  line-height: 0.92;
  letter-spacing: 0;
  white-space: normal;
}

.project-detail{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(64px, 9vw, 140px) 3vw clamp(42px, 6vw, 90px);
  max-width: 1800px;
  margin: 0 auto;
}

.project-detail__back{
  display: inline-block;
  margin-bottom: clamp(28px, 4vw, 64px);
  color: rgba(255, 252, 245, 0.72);
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.project-detail__back:hover,
.project-detail__back:focus-visible{
  color: #FFFCF5;
}

.project-detail__eyebrow{
  margin: 0 0 12px;
  color: rgba(255, 252, 245, 0.62);
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
}

.project-detail h2{
  margin: 0;
  color: #FFFCF5;
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: clamp(38px, 7vw, 118px);
  line-height: 0.98;
  letter-spacing: 0;
}

.project-detail__summary{
  max-width: 820px;
  margin: clamp(22px, 3vw, 42px) 0 0;
  color: rgba(255, 252, 245, 0.78);
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.7;
}

.project-detail__meta{
  margin: clamp(72px, 10vw, 156px) 0 0;
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
}

.project-detail__meta div{
  padding: 18px 0;
  border-top: 1px solid rgba(255, 252, 245, 0.22);
}

.project-detail__meta div:last-child{
  border-bottom: 1px solid rgba(255, 252, 245, 0.22);
}

.project-detail__meta dt{
  margin: 0 0 8px;
  color: rgba(255, 252, 245, 0.52);
  font-size: 13px;
}

.project-detail__meta dd{
  margin: 0;
  color: rgba(255, 252, 245, 0.86);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
}

.project-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 3vw clamp(70px, 9vw, 140px);
}

.project-gallery__item{
  margin: 0;
  background: #111;
  overflow: hidden;
}

.page-project-cvdpc .project-gallery__item{
  background: #000;
}

.page-project-sinergie .project-gallery__item{
  background: #000;
}

.project-gallery__heading{
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 0 2px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0;
  color: #8a8680;
}

.project-gallery__subheading{
  grid-column: 1 / -1;
  margin: -2px 0 0;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 252, 245, 0.58);
}

.project-gallery--logos .project-gallery__item{
  background: #f8f7f3;
}

.project-gallery--logos .project-gallery__item--logo-selected img{
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
  padding: clamp(18px, 3vw, 46px);
}

.project-gallery--logos .project-gallery__item--logo-option img{
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: clamp(14px, 2vw, 32px);
}

.project-gallery--logos .project-gallery__item--wide.project-gallery__item--logo-option img{
  aspect-ratio: 16 / 9;
}

.project-gallery__item--wide{
  grid-column: span 2;
}

.project-gallery__item--full{
  grid-column: 1 / -1;
}

.project-gallery__item--scroll{
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-color: rgba(255, 252, 245, 0.42) rgba(255, 252, 245, 0.12);
  scrollbar-width: thin;
}

.project-gallery__item--scroll:active{
  cursor: grabbing;
}

.project-gallery__item--scroll::-webkit-scrollbar{
  height: 8px;
}

.project-gallery__item--scroll::-webkit-scrollbar-track{
  background: rgba(255, 252, 245, 0.12);
}

.project-gallery__item--scroll::-webkit-scrollbar-thumb{
  background: rgba(255, 252, 245, 0.42);
}

.project-gallery__pair{
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-gallery__item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.project-gallery__item--wide img{
  aspect-ratio: 16 / 10;
}

.project-gallery__item--full img{
  aspect-ratio: 16 / 9;
}

.project-gallery__item--panorama img{
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

.project-gallery__item--native-landscape img{
  aspect-ratio: 7 / 5;
  object-fit: contain;
}

.project-gallery__item--rendering-4x3 img{
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.project-gallery__item--fill img{
  object-fit: cover;
}

.project-gallery__item--square img{
  aspect-ratio: 1 / 1;
}

.project-gallery__item--contain img{
  object-fit: contain;
}

.project-gallery__item--material-align-right img{
  object-position: 11.35% center;
}

.project-gallery__item--letterbox{
  background: #000;
}

.project-gallery__item--letterbox img{
  object-fit: contain;
}

.project-gallery__item--scroll img{
  width: auto;
  min-width: 100%;
  max-width: none;
  height: clamp(320px, 42vw, 620px);
  aspect-ratio: auto;
  object-fit: contain;
}

.project-gallery__pair .project-gallery__item img{
  aspect-ratio: 16 / 10;
}

.project-gallery__video{
  background: #0c0c0c;
}

.project-video__embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0c0c;
}

.project-video__embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-video__caption{
  padding: 12px 14px 14px;
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
  font-size: 0.92rem;
  background: #0c0c0c;
}

.project-video__caption a{
  color: rgba(255, 252, 245, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 252, 245, 0.36);
  padding-bottom: 3px;
}

.project-video__caption a:hover,
.project-video__caption a:focus-visible{
  color: #FFFCF5;
  border-bottom-color: #FFFCF5;
}

.project-next{
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 72px);
  padding: 0 3vw clamp(70px, 9vw, 120px);
  font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
}

.project-next a{
  color: rgba(255, 252, 245, 0.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 252, 245, 0.34);
  padding-bottom: 5px;
}

.project-next a:hover,
.project-next a:focus-visible{
  color: #FFFCF5;
  border-bottom-color: #FFFCF5;
}

@media (max-width: 900px){
  .project-detail{
    grid-template-columns: 1fr;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .project-detail__meta{
    margin-top: 0;
  }

  .project-gallery{
    grid-template-columns: 1fr;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .project-gallery__item--wide{
    grid-column: span 1;
  }

  .project-gallery__item--full{
    grid-column: span 1;
  }

  .project-gallery__pair{
    grid-template-columns: 1fr;
  }

  .project-gallery__item img,
  .project-gallery__item--wide img,
  .project-gallery__item--full img{
    aspect-ratio: auto;
    height: auto;
  }

  .project-gallery__item--square img{
    aspect-ratio: 1 / 1;
  }

  .project-gallery__item--scroll img{
    width: auto;
    min-width: 100%;
    max-width: none;
    height: clamp(220px, 62vw, 380px);
  }

  .project-next{
    flex-direction: column;
    align-items: center;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

/* ===============================
   Mobile layout hardening
================================ */

@media (max-width: 900px){
  .about-hero-word.right{
    transform: none;
    justify-content: center !important;
  }

  .about-page .about-split-story__inner{
    grid-template-columns: 1fr;
    padding-inline: var(--gutter);
  }

  .about-page .about-split-story__media{
    position: relative;
    top: auto;
    height: auto;
  }

  .about-page .about-split-story__stage{
    height: 56vh;
    min-height: 340px;
  }

  .about-page .about-split-story__text{
    justify-self: stretch;
    max-width: 100%;
    transform: none;
  }

  .about-page .about-timeline__inner{
    grid-template-columns: 1fr;
    padding-inline: var(--gutter);
  }

  .about-page .about-timeline__title{
    transform: none;
  }

  .about-page .about-timeline__right{
    justify-self: stretch;
    max-width: 100%;
    margin-right: 0;
    transform: none;
    padding-left: 0;
  }
}

@media (max-width: 768px){
  html,
  body{
    overflow-x: hidden;
  }

  .header-icons{
    gap: 18px;
    flex-shrink: 0;
  }

  .site-logo img{
    height: 26px;
  }

  .icon-lang img{
    height: 26px;
  }

  .menu-panel{
    top: 9vh;
    gap: clamp(14px, 2.5vh, 24px);
  }

  .menu-overlay .menu-panel .menu-link{
    font-size: clamp(36px, 10vw, 58px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .menu-bottom__item{
    min-width: 0;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-title{
    overflow-wrap: anywhere;
  }

  .my-story-section{
    min-height: auto;
    padding: 180px 0 96px;
  }

  .my-story-image-wrapper{
    position: relative;
    top: auto;
    height: 100vh;
    height: 100svh;
    margin-top: 34vh;
    cursor: pointer;
  }

  .my-story-frame,
  .my-story-image{
    height: 100%;
  }

  .my-story-caption{
    left: var(--gutter);
    right: var(--gutter);
    bottom: 24px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .works-intro{
    font-size: clamp(38px, 12vw, 64px);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .works-section .work-title{
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .page-project .project-hero__title{
    max-width: calc(100vw - (var(--gutter) * 2));
    font-size: clamp(42px, 12vw, 76px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-notes .project-hero__title{
    top: 52%;
    max-width: calc(100vw - (var(--gutter) * 2));
    font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
    font-size: clamp(48px, 14vw, 72px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.02em;
    white-space: normal;
  }

  .page-notes .project-hero__subtitle{
    display: block;
    position: absolute;
    left: 50%;
    top: calc(52% + 58px);
    transform: translateX(-50%);
    width: calc(100vw - (var(--gutter) * 2));
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-family: "Microsoft YaHei","PingFang SC","Heiti SC","Noto Sans SC",sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.04em;
    text-align: center;
    pointer-events: none;
  }

  .about-page .timeline-item{
    grid-template-columns: 76px minmax(0, 1fr) 46px;
    gap: 12px;
  }

  .about-page .timeline-item__role,
  .about-page .timeline-item__main,
  .about-page .timeline-item__year{
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .about-page .timeline-item__main{
    font-size: 16px;
  }

  .contact-card,
  .contact-strip{
    min-width: 0;
  }

  .contact-input,
  .contact-textarea{
    min-width: 0;
  }
}

@media (max-width: 480px){
  .site-header__inner{
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .menu-overlay .menu-panel .menu-link{
    font-size: clamp(32px, 10.5vw, 44px);
  }

  .my-story-title{
    font-size: clamp(56px, 16vw, 88px);
  }

  .about-page .about-split-story__stage{
    height: 52vh;
    min-height: 300px;
  }

  .about-page .timeline-item{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-page .timeline-item__year{
    order: -1;
    text-align: left;
    opacity: 0.65;
  }

  .about-page .about-gene__card{
    font-size: clamp(32px, 10vw, 44px);
    padding: 18px 20px;
  }

  html[lang="en"] .about-page .about-gene__card,
  html[lang="it"] .about-page .about-gene__card{
    font-size: clamp(24px, 7.4vw, 34px);
    padding: 18px 20px;
  }

  .contact-title{
    font-size: clamp(42px, 14vw, 72px);
  }

  .contact-tile{
    height: 140px;
  }

  .contact-tile span{
    overflow-wrap: anywhere;
    text-align: center;
  }

  .marquee-track span{
    font-size: 80px;
  }
}

/* ===============================
   Mobile footer and account safety
================================ */

@media (max-width: 1024px){
  .account-section{
    padding: clamp(56px, 8vh, 96px) 0 0;
  }

  .account-inner{
    padding-inline: var(--gutter);
  }

  .account-image-mask{
    position: relative;
    overflow: visible;
    min-height: 680px;
    padding: 72px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .account-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .account-image-mask::before{
    z-index: 1;
  }

  .account-center-block{
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 2;
    width: min(100%, 720px);
    gap: 30px;
  }

  .account-quote,
  .account-socials{
    margin-top: 0;
  }

  .account-socials{
    row-gap: 16px;
    transform: none;
  }

  .account-section .account-cta-button,
  .account-section .social-item--xhs,
  .account-section .account-socials a[href*="xiaohongshu.com"]{
    display: none !important;
  }

  .footer-icon-section{
    margin-top: clamp(48px, 8vh, 80px);
    padding: 36px 0 34px;
  }

  .hero-nav{
    margin-top: 24px;
    margin-bottom: 34px;
    row-gap: 14px;
  }

  .marquee-section,
  html[lang="zh-CN"] .marquee-section,
  html[lang="en"] .marquee-section,
  html[lang="it"] .marquee-section{
    height: 210px;
    margin-top: 38px;
  }

  .marquee-track,
  html[lang="en"] .marquee-track,
  html[lang="it"] .marquee-track{
    transform: translateY(46px);
  }

  .marquee-track span{
    font-size: clamp(112px, 16vw, 160px);
  }
}

@media (max-width: 768px){
  .account-section{
    padding-top: 52px;
  }

  .account-image-mask{
    min-height: auto;
    padding: 72px var(--gutter) 82px;
  }

  .account-center-block{
    gap: 24px;
  }

  .account-avatar{
    width: 132px;
    height: 132px;
  }

  .account-quote{
    margin-top: 0;
    max-width: 24em;
  }

  .account-socials{
    margin-top: 0;
    gap: 16px 20px;
  }

  .footer-icon-section{
    margin-top: 44px;
    padding: 34px 0 36px;
  }

  .hero-nav{
    margin-top: 22px;
    margin-bottom: 34px;
  }

  .marquee-section,
  html[lang="zh-CN"] .marquee-section,
  html[lang="en"] .marquee-section,
  html[lang="it"] .marquee-section{
    height: 180px;
    margin-top: 34px;
  }

  .marquee-track,
  html[lang="en"] .marquee-track,
  html[lang="it"] .marquee-track{
    transform: translateY(42px);
  }

  .marquee-track span{
    font-size: 104px;
  }
}

@media (max-width: 480px){
  .account-section{
    padding-top: 44px;
  }

  .account-image-mask{
    padding: 64px 16px 76px;
  }

  .account-center-block{
    gap: 22px;
  }

  .account-avatar{
    width: 120px;
    height: 120px;
  }

  .account-cta-button{
    width: auto;
    max-width: 100%;
    padding: 10px 24px;
  }

  .account-quote{
    font-size: 13px;
    letter-spacing: 0.16em;
    line-height: 1.85;
    padding-inline: 0;
  }

  .account-socials{
    gap: 14px 18px;
  }

  .footer-icon-section{
    margin-top: 38px;
    padding: 32px 0 40px;
  }

  .hero-nav{
    margin-bottom: 32px;
  }

  .marquee-section,
  html[lang="zh-CN"] .marquee-section,
  html[lang="en"] .marquee-section,
  html[lang="it"] .marquee-section{
    height: 154px;
    margin-top: 30px;
  }

  .marquee-track,
  html[lang="en"] .marquee-track,
  html[lang="it"] .marquee-track{
    transform: translateY(34px);
  }

  .marquee-track span{
    font-size: 88px;
  }
}

@media (max-width: 480px){
  .hero-title{
    font-size: clamp(56px, 17vw, 88px);
    line-height: 1.15;
    max-width: 4em;
    bottom: 31vh;
    left: 6vw;
  }
}

/* ===============================
   Home story mobile compact layout
================================ */

@media (max-width: 768px){
  .my-story-section{
    padding: 80px 0 72px;
    min-height: auto;
  }

  .my-story-title,
  .my-story-title.is-blurred{
    position: relative;
    top: auto;
    transform: none;
    margin: 0 0 42px;
    font-size: clamp(48px, 13vw, 76px);
    filter: none !important;
  }

  .my-story-image-wrapper{
    position: relative;
    top: auto;
    height: 80vh;
    height: 80svh;
    margin-top: 0;
    cursor: pointer;
  }

  .my-story-frame,
  .my-story-image{
    height: 100%;
  }
}

@media (max-width: 480px){
  .my-story-section{
    padding-top: 64px;
    padding-bottom: 60px;
  }

  .my-story-title,
  .my-story-title.is-blurred{
    margin-bottom: 34px;
    font-size: clamp(46px, 14vw, 68px);
    filter: none !important;
  }

  .my-story-image-wrapper{
    height: 76vh;
    height: 76svh;
    margin-top: 0;
  }
}

@media (max-width: 768px){
  .spacer{
    height: 16vh;
  }
}

@media (max-width: 480px){
  .spacer{
    height: 14vh;
  }
}

/* ===============================
   Mobile marquee bottom flush
================================ */

@media (max-width: 768px){
  .marquee-section,
  html[lang="zh-CN"] .marquee-section,
  html[lang="en"] .marquee-section,
  html[lang="it"] .marquee-section{
    height: 95px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .marquee-track,
  html[lang="en"] .marquee-track,
  html[lang="it"] .marquee-track{
    transform: translateY(42px);
  }
}

@media (max-width: 480px){
  .marquee-section,
  html[lang="zh-CN"] .marquee-section,
  html[lang="en"] .marquee-section,
  html[lang="it"] .marquee-section{
    height: 95px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .marquee-track,
  html[lang="en"] .marquee-track,
  html[lang="it"] .marquee-track{
    transform: translateY(42px);
  }
}

/* ===============================
   Home mobile story spacing
================================ */

@media (max-width: 768px){
  .about{
    padding-bottom: 140px;
  }

  .about-button-split{
    margin-top: 48px;
  }

  .my-story-section{
    padding-top: 0px;
    min-height: auto;
  }

  .my-story-title,
  .my-story-title.is-blurred{
    position: relative;
    top: auto;
    transform: none;
    margin: 0 0 80px;
  }

  .my-story-image-wrapper{
    position: relative;
    top: auto;
    height: auto;
    min-height: 70vh;
    margin-top: 0;
  }
}

/* ===============================
   About hero mobile static layout
================================ */

@media (max-width: 1024px){
  .about-page .about-hero{
    min-height: auto;
    padding: 80px 0 48px;
    display: block;
  }

  .about-page .about-hero-inner{
    display: block;
    padding-inline: var(--gutter);
    text-align: center;
  }

  .about-page .about-hero-word.left,
  .about-page .about-hero-word.right{
    display: none !important;
  }

  .about-page .about-hero-photo.motion-stage{
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-page .motion-box{
    height: auto !important;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    transform: none !important;
  }

  .about-page .motion-img{
    width: min(82vw, 380px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 480px){
  .about-page .about-hero{
    padding: 64px 0 36px;
  }

  .about-page .motion-img{
    width: min(86vw, 340px);
  }
}
