/* ============================================================
   Case Study Page — HealthPet
   视觉体系与主站保持一致：白底、#141414 正文、#8b714b 品牌金、
   Georgia 衬线标题、1px 描边方形卡片、999px 胶囊按钮
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.94);
  --text: #141414;
  --muted: #6a6a6a;
  --line: rgba(20, 20, 20, 0.14);
  --line-strong: rgba(20, 20, 20, 0.32);
  --gold: #8b714b;
  --gold-light: rgba(139, 113, 75, 0.08);
  --radius: 8px;
  --header-height: 86px;
  --content-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) * 0.8 + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- 顶部导航 ---------- */

.case-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(100vw - 40px, var(--content-width));
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: calc(var(--header-height) * 0.8);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.case-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.06);
  border-bottom-color: var(--line);
}

.case-header .brand-title {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

/* 章节导航 */
.case-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  margin: 0 auto;
  padding: 0 16px;
}

.case-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.case-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.case-nav a:hover,
.case-nav a.is-active {
  color: var(--text);
}

.case-nav a:hover::after,
.case-nav a.is-active::after {
  transform: scaleX(1);
}

.back-link {
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  opacity: 0.82;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-link:hover {
  opacity: 1;
  transform: translateX(-3px);
}

.copy-email {
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.copy-email:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.copy-email.is-copied {
  opacity: 0.6;
}

/* ---------- Hero（参考 heymia 极简风格） ---------- */

.case-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: calc(var(--header-height) + clamp(72px, 12vw, 150px)) 20px clamp(48px, 6vw, 80px);
  overflow: hidden;
}

.case-hero--light {
  background: var(--bg);
  color: var(--text);
}

.case-hero-inner {
  width: min(100% - 0px, var(--content-width));
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.case-hero-inner--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.case-hero-text {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.case-hero-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.case-hero-title {
  display: flex;
  align-items: center;
}

.case-hero-logo {
  width: auto;
  max-width: min(440px, 58vw);
  max-height: clamp(64px, 11vw, 100px);
  object-fit: contain;
  margin: 0;
}

.case-hero-sub {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
  line-height: 1.65;
}

/* ---------- 项目信息 Project Scope ---------- */

.case-scope {
  padding: clamp(20px, 4vw, 40px) 0 0;
}

.scope-card {
  position: relative;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.scope-label {
  position: absolute;
  top: -1px;
  left: 26px;
  transform: translateY(-50%);
  padding: 4px 10px;
  background: var(--bg);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  margin: 0;
}

.scope-grid div {
  display: grid;
  gap: 6px;
}

.scope-grid dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scope-grid dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- 通用排版 ---------- */

.case-body {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
}

.case-section {
  padding: clamp(64px, 8vw, 108px) 0 0;
}

.case-section-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.case-no {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  filter: grayscale(1);
}

.case-section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  line-height: 1.08;
}

.case-section-note {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.case-sub {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: clamp(44px, 5vw, 64px) 0 18px;
}

.case-sub-index {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-sub h3 {
  font-size: clamp(1.18rem, 1.9vw, 1.52rem);
  line-height: 1.2;
}

.case-lead {
  margin: 0 0 22px;
  max-width: 860px;
  color: var(--text);
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
  line-height: 1.78;
}

.case-lead .muted,
.case-copy .muted {
  color: var(--muted);
}

.case-list {
  margin: 0 0 22px;
  padding: 0 0 0 1.25em;
  max-width: 860px;
  color: var(--text);
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.78;
}

.case-list li {
  margin-bottom: 12px;
  padding-left: 0.4em;
}

.case-list li::marker {
  color: var(--gold);
}

/* ---------- 研究方法列表 ---------- */

.method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.method-list li {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 780;
}

/* ---------- 卡片网格 ---------- */

.case-grid {
  display: grid;
  gap: 14px;
}

.case-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.case-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.05);
  transform: translateY(-6px);
}

.case-card .card-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.case-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

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

/* 数字统计卡 */
.stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
}

.stat-number small {
  font-size: 0.5em;
  font-style: normal;
}

.stat-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* 金色结论条 */
.gold-callout {
  margin: 26px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(139, 113, 75, 0.07);
}

.gold-callout strong {
  color: var(--gold);
}

.gold-callout p {
  margin: 4px 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- 商业模式条形 ---------- */

.biz-list {
  display: grid;
  gap: 12px;
}

.biz-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.biz-row h3 {
  font-size: 1rem;
  font-weight: 780;
}

.biz-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  overflow: hidden;
}

.biz-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b09a6f, var(--gold));
}

.biz-share {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 780;
  text-align: right;
  white-space: nowrap;
}

/* ---------- 图片展示 ---------- */

.case-figure {
  margin: 22px 0 0;
}

.case-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.case-figure img:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.06);
}

.case-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ---------- Hero 右侧主视觉 ---------- */

.case-hero-figure {
  margin: 0;
}

.case-hero-figure img {
  max-height: min(64vh, 520px);
  object-fit: contain;
  margin-inline: auto;
}

.case-hero-figure figcaption {
  margin-top: 12px;
  text-align: center;
}

.case-figure img {
  max-height: min(64vh, 520px);
  object-fit: contain;
  margin-inline: auto;
}

/* ---------- 图文左右分栏 ---------- */

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin: 28px 0 0;
}

.case-split--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.case-split--top {
  align-items: start;
}

.case-split > .case-figure,
.case-split > .context-gallery,
.case-split > .case-split-text {
  margin: 0;
}

.case-split .case-figure img {
  max-height: min(62vh, 480px);
}

.case-split-text {
  display: grid;
  gap: 16px;
  align-content: start;
}

.case-split-text > *:last-child {
  margin-bottom: 0;
}

/* ---------- 图片预留位（文件缺失时的占位样式） ---------- */

.case-figure.is-placeholder {
  margin: 22px 0 0;
}

.proto-gallery .case-figure.is-placeholder,
.case-hero-visual .case-figure.is-placeholder {
  margin: 0;
}

.case-figure.is-placeholder img {
  display: none;
}

.figure-placeholder {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: clamp(28px, 4vw, 44px) 20px;
  border: 1.5px dashed rgba(139, 113, 75, 0.45);
  border-radius: var(--radius);
  background: var(--gold-light);
  color: var(--gold);
  text-align: center;
}

.figure-placeholder > span {
  font-size: 1.9rem;
  line-height: 1;
}

.figure-placeholder strong {
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.figure-placeholder p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.figure-placeholder code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(139, 113, 75, 0.45);
}

/* ---------- 手机界面展示 ---------- */

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.screen-gallery figure {
  margin: 0;
}

.screen-gallery img,
.figure-transparent img {
  width: 100%;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
  transform: translateZ(0);
}

.screen-gallery img:hover,
.figure-transparent img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 56px rgba(20, 20, 20, 0.12);
}

.screen-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

@media (max-width: 1020px) {
  .screen-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .screen-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 500px) {
  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 高保真原型：精选四屏 + Figma 入口 ---------- */

.proto-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  align-items: stretch;
}

.proto-feature {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.proto-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.1);
}

.proto-feature img {
  width: 100%;
  cursor: zoom-in;
}

.proto-feature figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
}

.proto-feature .proto-no {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.proto-feature .proto-name {
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.4;
}

.proto-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: var(--gold-light);
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.proto-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(139, 113, 75, 0.2);
}

.proto-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.05rem;
}

.proto-cta-card strong {
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.proto-cta-sub {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.proto-more {
  margin-top: 8px;
}

.proto-more[hidden] {
  display: none;
}

.proto-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 22px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.proto-toggle:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 1020px) {
  .proto-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .proto-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 500px) {
  .proto-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 竞品卡片 logo ---------- */

.case-card-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  object-fit: contain;
  border-radius: 10px;
}

/* ---------- 市场趋势图 ---------- */

/* ---------- 问题背景截图小图 ---------- */

.context-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.context-gallery figure {
  margin: 0;
}

.context-gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .context-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.proto-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proto-gallery--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .proto-gallery--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- SUS 大数字 ---------- */

.result-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 14px;
  align-items: stretch;
}

.sus-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: clamp(28px, 4vw, 48px) 24px;
  border: 1px solid var(--line);
  background: #141414;
  color: #ffffff;
  text-align: center;
}

.sus-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: #d8c49a;
}

.sus-label {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.sus-note {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---------- 底部导航 ---------- */

.case-end {
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(40px, 6vw, 64px) 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.case-end .eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-end h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.case-end h2 a {
  border-bottom: 2px solid var(--gold);
  transition: opacity 160ms ease;
}

.case-end h2 a:hover {
  opacity: 0.72;
}

.case-end-contact {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
  text-align: right;
}

.case-end-contact a {
  border-bottom: 1px solid var(--line-strong);
}

.case-footer {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- 灯箱 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(20, 20, 20, 0.9);
  cursor: zoom-out;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
}

/* ---------- 进场动画 ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .case-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-section-head {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .case-grid.cols-2,
  .case-grid.cols-3,
  .proto-gallery,
  .result-strip,
  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .case-no {
    font-size: 1.6rem;
  }

  .biz-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .biz-share {
    text-align: left;
  }

  .case-end {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-end-contact {
    text-align: left;
  }

  .case-header .copy-email {
    display: none;
  }

  .case-nav {
    display: none;
  }

  .case-hero-inner--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .case-hero-figure img {
    max-height: min(58vh, 420px);
  }

  .case-split,
  .case-split--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .case-split .case-figure img {
    max-height: min(58vh, 420px);
  }
}
