/* ============================================================
   丽雯老师 · 个人主页
   风格：暖色纸感（暖纸白 + 单主色柿子橘 + 暖灰中性色）
   移动优先，纯系统字体，零外部请求
   ============================================================ */

:root {
  /* 主色：全站只有一个彩色 */
  --accent: #E4572E;        /* 柿子橘：箭头、底色氛围、选中态 */
  --accent-strong: #C2410C; /* 主色加深：小号文字、印章描边 */
  --accent-deeper: #A6360A; /* 再深一档：按钮悬停 */
  --accent-tint: rgba(228, 87, 46, 0.08);

  /* 中性色：暖纸白 + 暖灰 */
  --paper: #FAF7F2;      /* 页面底色 */
  --paper-soft: #F2EEE7; /* 略深的暖灰，票根 / 分区 */
  --card: #FFFFFF;       /* 卡片 */
  --card-hi: #FFFFFF;    /* 高亮卡片 */
  --ink: #1C1917;        /* 主文字（暖黑） */
  --ink-body: #44403C;   /* 正文 */
  --ink-soft: #57534E;   /* 次要文字 */
  --ink-faint: #78716C;  /* 辅助小字 */

  /* 别名：兼容既有规则 */
  --seal: var(--accent);
  --seal-dark: var(--accent-strong);
  --kraft-deep: var(--paper-soft);

  /* 线条与阴影（全部用中性暖黑，不再用棕色） */
  --line: rgba(28, 25, 23, 0.1);
  --line-strong: rgba(28, 25, 23, 0.18);
  --dash: rgba(28, 25, 23, 0.14);
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 2px 4px rgba(28, 25, 23, 0.05), 0 12px 28px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, 0.07), 0 18px 36px rgba(28, 25, 23, 0.12);

  /* 字体：全部系统内置，不请求任何外链 */
  --font-display: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "SimSun", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-num: Georgia, "Times New Roman", "Songti SC", serif;

  /* 动效 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(228, 87, 46, 0.07), transparent 46%),
    radial-gradient(circle at 105% 8%, rgba(28, 25, 23, 0.06), transparent 40%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* 纸纤维颗粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.045;
  background-image: 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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

::selection {
  background: rgba(228, 87, 46, 0.16);
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 32px);
}

/* ---------------- 顶栏 ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 4px clamp(18px, 5vw, 32px);
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 25, 23, 0.28);
}

/* ---------------- 首屏 ---------------- */

.hero {
  padding: clamp(30px, 7vw, 68px) 0 clamp(44px, 8vw, 76px);
  overflow: clip;
}

.hero__inner {
  display: grid;
  gap: clamp(30px, 6vw, 44px);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 4px 11px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 25, 23, 0.16);
  border-radius: 999px;
}

.hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 9.2vw, 62px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.line {
  display: block;
}

/* 逐字落笔：只有 JS 生效时才隐藏，脚本失败不影响阅读 */
.ch {
  display: inline-block;
  will-change: transform, opacity;
}

.typing .ch {
  opacity: 0;
  transform: translateY(10px) rotate(var(--rot, 0deg));
}

.typing.in .ch {
  opacity: 1;
  transform: none;
  transition:
    opacity 400ms var(--ease),
    transform 520ms var(--ease);
  transition-delay: calc(var(--i) * 85ms);
}

.hero__sub {
  margin: 18px 0 0;
  max-width: 30em;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 200ms var(--ease),
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.btn--primary {
  background: var(--accent-strong);
  color: #FFFFFF;
  box-shadow: 0 2px 0 rgba(28, 25, 23, 0.18);
}

.btn--primary:hover {
  background: var(--accent-deeper);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  background: var(--card-hi);
  transform: translateY(-1px);
}

/* 首屏贴纸的入场：用 CSS 动画，不依赖脚本和滚动 */
.hero__stack > * {
  animation: rise 640ms var(--ease) backwards;
}

.photo {
  animation-delay: 480ms;
}

.paper-card {
  animation-delay: 580ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px) rotate(var(--rot, 0deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
}

/* 首屏贴纸堆 */
.hero__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.photo {
  --rot: 4deg;
  position: relative;
  z-index: 2;
  width: 112px;
  margin: 0 6px 0 0;
  padding: 6px 6px 0;
  background: var(--card-hi);
  border: 1px solid rgba(28, 25, 23, 0.1);
  box-shadow:
    0 2px 3px rgba(28, 25, 23, 0.08),
    0 10px 20px rgba(28, 25, 23, 0.12);
  transform: rotate(var(--rot));
}

.photo__frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #EDEAE3;
  border: 1px dashed rgba(28, 25, 23, 0.5);
}

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

.photo__ph {
  display: none;
  padding: 0 6px;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-faint);
}

.photo.is-missing .photo__ph {
  display: block;
}

.photo__cap {
  margin: 0;
  padding: 5px 0 7px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--ink-faint);
}

/* 成绩单纸片 */
.paper-card {
  --rot: -1.6deg;
  position: relative;
  z-index: 1;
  width: calc(100% - 30px);
  align-self: flex-start;
  margin-top: -16px;
  padding: 18px 18px 18px;
  background: var(--card);
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 4px;
  box-shadow:
    0 2px 2px rgba(28, 25, 23, 0.06),
    0 12px 26px rgba(28, 25, 23, 0.1);
  transform: rotate(var(--rot));
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease);
}

.paper-card:hover {
  transform: rotate(-0.5deg) translateY(-3px);
  box-shadow:
    0 4px 6px rgba(28, 25, 23, 0.08),
    0 18px 34px rgba(28, 25, 23, 0.14);
}

.score__label {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

.score__main {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 4.4vw, 19px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.score__arrow {
  color: var(--seal);
  padding: 0 2px;
}

.score__meta {
  margin: 5px 0 0;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

/* 牛皮胶带 */
.tape {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 76px;
  height: 18px;
  margin-left: -38px;
  background-color: rgba(206, 201, 191, 0.92);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.5) 0 1px,
    transparent 1px 5px
  );
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.12);
  transform: rotate(-3deg);
  clip-path: polygon(1% 0, 99% 3%, 100% 96%, 2% 100%);
}

.tape--wide {
  width: 104px;
  margin-left: -52px;
  transform: rotate(-1.5deg);
}

/* ---------------- 数字条 ---------------- */

.stats {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 6px clamp(18px, 5vw, 32px) 18px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.stats::-webkit-scrollbar {
  display: none;
}

.stub {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 160px;
  min-height: 108px;
  padding: 15px 16px;
  scroll-snap-align: start;
  background: var(--kraft-deep);
  border: 1px solid rgba(28, 25, 23, 0.2);
  border-radius: 3px;
}

/* 票根两侧的打孔 */
.stub::before,
.stub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(28, 25, 23, 0.16);
}

.stub::before {
  left: -7px;
}

.stub::after {
  right: -7px;
}

.stub__num {
  font-family: var(--font-num);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stub__unit {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.stub__cap {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.stub__num--todo .todo {
  font-size: 12px;
}

/* ---------------- 区块通用 ---------------- */

.section {
  padding: clamp(56px, 12vw, 100px) 0 0;
}

.section__eyebrow {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 5.9vw, 34px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

/* ---------------- 案例 ---------------- */

.case {
  --rot: -0.6deg;
  position: relative;
  margin-top: clamp(22px, 5vw, 34px);
  padding: 28px 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow:
    0 2px 3px rgba(28, 25, 23, 0.05),
    0 14px 30px rgba(28, 25, 23, 0.08);
  transform: rotate(var(--rot));
  transition: transform 320ms var(--ease);
}

.case:hover {
  transform: rotate(-0.2deg);
}

.case__row {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--dash);
}

.case__row:last-of-type {
  border-bottom: 0;
  padding-bottom: 4px;
}

.case__row--last {
  border-bottom: 0 !important;
  padding-bottom: 4px;
}

.case__key {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
}

.case__body {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-body);
}

/* 印章 */
.seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 20px 0 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--accent-strong);
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  opacity: 0;
  transform: scale(1) rotate(-9deg);
  transition: opacity 200ms ease-out;
}

.seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(228, 87, 46, 0.45);
  border-radius: 50%;
}

.seal.in {
  opacity: 0.9;
  animation: stamp 720ms var(--ease) both;
}

@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(1.5) rotate(-14deg);
  }
  55% {
    opacity: 0.95;
  }
  to {
    opacity: 0.9;
    transform: scale(1) rotate(-9deg);
  }
}

/* ---------------- 三块卡片 ---------------- */

.cards {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 5vw, 34px);
}

.card {
  --rot: -0.5deg;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05);
  transform: rotate(var(--rot));
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.card:nth-child(2) {
  --rot: 0.6deg;
}

.card:nth-child(3) {
  --rot: 0.9deg;
}

.card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow:
    0 3px 5px rgba(28, 25, 23, 0.07),
    0 16px 30px rgba(28, 25, 23, 0.1);
}

.card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-body);
}

.card__todo {
  margin: 12px 0 0;
}

/* ---------------- 关于我 ---------------- */

.note {
  --rot: -0.5deg;
  position: relative;
  margin-top: clamp(22px, 5vw, 34px);
  padding: 30px 22px 24px;
  background: var(--card);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 3px;
  box-shadow:
    0 2px 3px rgba(28, 25, 23, 0.05),
    0 14px 30px rgba(28, 25, 23, 0.08);
  transform: rotate(var(--rot));
  transition: transform 320ms var(--ease);
}

.note:hover {
  transform: rotate(-0.1deg);
}

.note p {
  margin: 0 0 15px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-body);
}

.note p:last-child {
  margin-bottom: 0;
}

.note__meta {
  margin: 20px 0 0 !important;
  padding-top: 14px;
  font-size: 13px !important;
  line-height: 1.8;
  color: var(--ink-faint) !important;
  border-top: 1px dashed var(--dash);
}

/* ---------------- 待补充占位 ---------------- */

.todo {
  display: inline-block;
  margin: 0 2px;
  padding: 0 7px;
  font-family: var(--font-body);
  font-size: 0.82em;
  line-height: 1.85;
  letter-spacing: 0;
  color: #C2410C;
  background: rgba(228, 87, 46, 0.07);
  border: 1px dashed var(--seal);
  border-radius: 4px;
}

/* ---------------- 联系方式 ---------------- */

.section--contact {
  padding-bottom: clamp(20px, 4vw, 32px);
}

.contact__lead {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 26em;
}

.contact__grid {
  display: grid;
  gap: 26px;
}

.contact__list {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.contact__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact__item:hover {
  background: var(--card-hi);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.contact__item--primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #FFFFFF;
  box-shadow: 0 2px 0 rgba(28, 25, 23, 0.16);
}

.contact__item--primary:hover {
  background: var(--accent-deeper);
  border-color: var(--accent-deeper);
}

.contact__item--primary .contact__label,
.contact__item--primary .contact__hint {
  color: rgba(255, 255, 255, 0.88);
}

.contact__item--static {
  cursor: default;
}

.contact__item--static:hover {
  transform: none;
  background: var(--card);
  border-color: var(--line);
}

.contact__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.contact__value {
  font-size: 15px;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.contact__hint {
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* 复制成功的小印章 */
.copied {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
  background: rgba(250, 247, 242, 0.9);
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) rotate(-6deg) scale(1.3);
  transition:
    opacity 200ms ease-out,
    transform 320ms var(--ease);
}

.copied::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(228, 87, 46, 0.45);
  border-radius: 50%;
}

.copied.show {
  opacity: 0.95;
  transform: translate(-50%, 0) rotate(-9deg) scale(1);
}

/* ---------------- 页脚 ---------------- */

.footer {
  margin-top: clamp(50px, 10vw, 84px);
  padding: clamp(30px, 6vw, 44px) 0 clamp(40px, 8vw, 60px);
  border-top: 1px dashed var(--dash);
}

.footer__line {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.footer__meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

/* ---------------- 滚动渐显 ----------------
   用 --rot 统一旋转角，避免和贴纸角度打架
   ---------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px) rotate(var(--rot, 0deg));
  transition:
    opacity 520ms var(--ease),
    transform 620ms var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0) rotate(var(--rot, 0deg));
}

/* 已经在用 hover transform 的元素，让 hover 优先 */
.card[data-reveal].in:hover,
.paper-card[data-reveal].in:hover {
  transform: rotate(0deg) translateY(-3px);
}

.case[data-reveal].in:hover {
  transform: rotate(-0.2deg);
}

.note[data-reveal].in:hover {
  transform: rotate(-0.1deg);
}

/* ---------------- 中等屏幕 ---------------- */

@media (min-width: 600px) {
  .case__row {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .case {
    padding: 30px 26px 24px;
  }

  .note {
    padding: 34px 30px 28px;
  }
}

@media (min-width: 760px) {
  .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .stub {
    width: auto;
  }

  .hero__stack {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .seal {
    position: absolute;
    right: 26px;
    bottom: 24px;
    width: 92px;
    height: 92px;
    margin: 0;
    font-size: 14px;
  }

  .case {
    padding-right: 140px;
  }
}

/* ---------------- 桌面 ---------------- */

@media (min-width: 880px) {
  .hero__inner {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: clamp(40px, 5vw, 68px);
  }

  .hero__stack {
    align-items: center;
    padding-top: 0;
  }

  .photo {
    --rot: 3.5deg;
    position: absolute;
    top: -22px;
    right: 4px;
    width: 148px;
    margin: 0;
  }

  .paper-card {
    width: 100%;
    max-width: 380px;
    margin-top: 46px;
  }

  .note {
    max-width: 880px;
    padding: 40px 46px 34px 52px;
    background-image: linear-gradient(
      90deg,
      transparent 0 30px,
      rgba(228, 87, 46, 0.16) 30px 31px,
      transparent 31px
    );
  }

  .case {
    max-width: 920px;
  }

  .note p {
    font-size: 15.5px;
  }

  .contact__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 84px);
    align-items: start;
  }

  .contact__body {
    padding-top: 4px;
  }

  .contact__list {
    margin-top: 0;
  }
}

/* ---------------- 减少动态效果 ---------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: rotate(var(--rot, 0deg));
  }

  .hero__stack > * {
    animation: none;
    opacity: 1;
    transform: rotate(var(--rot, 0deg));
  }

  .typing .ch {
    opacity: 1;
    transform: none;
  }

  .seal {
    opacity: 0.9;
    transform: scale(1) rotate(-9deg);
  }
}
