/* 重置与基础，参考你的主站风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg:#f5f5f5;
  --text:#333;
  --muted:#aeaeae;
  --line:#e0e0e0;
  --link:#0b57d0;
  --max:1280px;
}

body {
    font-family: 'inter', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    cursor: none; /* 隐藏默认鼠标指针 */
    overflow-x: hidden;
    overflow-y: auto; /* 只在需要时显示垂直滚动条 */
}

/* 自定义鼠标指针 */
.cursor{
  position: fixed;
  width: 20px; height: 20px;
  background-color: #000; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform .1s ease;
  mix-blend-mode: normal; opacity: 1;
  top: 0; left: 0;
}
.cursor.hover-image{
  transform: scale(3);
  background-color: transparent;
  border: 2px solid #000;
}
.cursor.hover-image::after{
  content: 'VIEW';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 700; color: #000; white-space: nowrap;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    font-size: 14px;
}

.logo {
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.6;
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-center a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-center a:hover {
    opacity: 0.6;
}

.nav-right {
    font-size: 12px;
    color: #aeaeae;
}

/* 主要内容 */
.main-content {
    padding-top: 80px;
}

/* 介绍部分 */
.intro {
    padding: 120px 40px 60px;
    text-align: left;
    max-width: 100%;
}
.text {
    font-size: 14px;
    color: #aeaeae;
    margin-bottom: 10px;
}

.title {
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.3;
    max-width: 800px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #333;
}

.intro-roles {
    display: flex;                  /* 左右排布 */
    justify-content: space-between; /* 两端对齐 */
    align-items: center;            /* 垂直居中 */
    padding-top: 8px;
    margin-bottom: 16px;
    border-top: 1px solid #e0e0e0;
  }

  .首屏视觉 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
/* 主体 1:9 布局容器 */
.case-wrap{
    max-width: none;                     /* 页面宽度全宽 */
    margin: 0;
    display: grid;
    grid-template-columns: 280px 1fr;   /* ← 目录 280，内容占剩余空间 */
    gap: 0;                              /* 无间隙 */
    padding-top: 0;                      /* 顶部无额外padding */
    min-height: calc(100vh - 80px);      /* 确保高度占满 */
  }
  

/* 左侧目录菜单 */
.case-menu{
    grid-column: 1;
    padding: 20px 40px 40px 40px;          /* 顶部140px给导航留空间 */
    position: sticky; 
    top: 0;                                 /* 从顶部开始 */
    height: calc(100vh - 80px);             /* 减去导航栏高度 */
    overflow-y: auto;                       /* 只在需要时显示垂直滚动条 */
    background-color: var(--bg);            /* 确保背景色 */
  }
.case-menu .menu-title{
  display: block; 
  font-weight: 600; 
  color: var(--muted); 
  margin-bottom: 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.case-menu a{
  display: block; 
  color: #666; 
  text-decoration: none; 
  font-size: 12px;
  font-weight: 400;
  padding: 4px 0;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.case-menu a:hover{
  color: #333;
}
.case-menu .menu-note{
  color: var(--muted); 
  font-size: 11px; 
  margin-top: 40px; 
  padding-top: 20px;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}

/* 右侧内容区 */
.case-content{
    grid-column: 2;
    justify-self: stretch;     /* 占满剩余空间 */
    padding: 20px 0px 96px 40px;    /* 最小化顶部padding，左右40px内边距 */
    max-width: none;               /* 移除最大宽度限制 */
    width: 100%;                   /* 占满可用宽度 */
  }
/* 首屏 */
.hero{ 
  padding: 0 0 0px 0; 
  border-bottom: 1px solid var(--line); 
  margin-bottom: 80px;
  margin-top: 0;                    /* 移除顶部margin */
}

/* 文字内容容器 - 只对文字部分应用宽度限制 */
.text-content {
  width: 100%;
  padding-right: 40px;
  max-width: 600px;
  margin-bottom: 40px;
  margin-left: auto;             /* 让文字内容向右对齐 */
}

.text-content a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-content a:hover {
  color: #666;
}

/* Retrospective 样式 */
.retrospective-points {
  margin-top: 40px;
}

.retrospective-item {
  margin-bottom: 40px;
}

.retrospective-item:last-child {
  margin-bottom: 0;
}

.retrospective-title {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: 300; 
  margin-bottom: 30px;
}

.retrospective-title::before {
  content: attr(data-number);
  display: inline-block;
  background-color: #e5e5e5;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  margin-right: 12px;
  text-align: center;
  line-height: 24px;
  flex-shrink: 0;
}

/* 章节标题样式 */
.section-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  margin-top: 0;                    /* 移除顶部margin */
}

/* 项目描述段落 */
.case-description {
  font-size: 16px;
  line-height: 1.6;
  color: #999;
  font-weight: 300; 
  margin-bottom: 20px;
}

/* 角色描述段落 */
.case-description-black {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: 300; 
  margin-bottom: 30px;
}

/* Problem 部分样式 */
.problem-main {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.problem-divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 20px 0;
}

.problem-explanation {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* 项目详情容器 */
.project-details {
  margin-top: 30px;
}

/* 详情行 */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: none;
}

/* 详情标签 */
.detail-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 0 0 auto;
  font-family: 'Inter', sans-serif;  /* 使用Inter字体 */
}

/* 详情值 */
.detail-value {
  font-size: 14px;
  color: #555;
  text-align: right;                 /* 右对齐 */
  flex: 0 0 auto;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;  /* 使用Inter字体 */
  max-width: 50%;                    /* 限制最大宽度 */
}
.case-title{
  font-size: 24px;
  line-height: 1.2; 
  font-weight: 300; 
  margin-bottom: 30px;
  color: #333;
}
.case-lead{ 
  font-size: 16px; 
  color: #666; 
  line-height: 1.6; 
  margin-bottom: 30px;
  max-width: 100%;                /* 在父容器限制下，占满可用宽度 */
}
.hero-figure img{ 
  width: 100%; 
  height: auto; 
  border-radius: 12px; 
  margin-bottom: 120px;
  padding-right: 0;                     /* 移除右侧padding */
  margin-right: 0;                      /* 移除右侧margin */
}

/* 元信息 */
.case-meta{
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 16px; 
  margin: 30px 0 40px 0;
}
.meta-cell{ 
  border: 1px solid var(--line); 
  border-radius: 8px; 
  padding: 16px; 
  background: #fff; 
}
.meta-cell h5{ 
  margin: 0 0 8px; 
  font-size: 12px; 
  color: var(--muted); 
  letter-spacing: 1px; 
  text-transform: uppercase;
  font-weight: 500;
}
.meta-cell p{ 
  margin: 0; 
  font-size: 14px; 
  color: #333;
  font-weight: 400;
}

/* 通用段落与栅格 */
.section{ 
  padding: 40px 0; 
  border-bottom: 1px solid var(--line); 
}
.section:last-child{ 
  border-bottom: 0; 
}
.section h2{ 
  margin: 0 0 24px; 
  font-size: 24px; 
  font-weight: 600;
  color: #333;
}
.section h3{ 
  margin: 24px 0 16px; 
  font-size: 14px; 
  font-weight: 500;
  color: #999;
}
.section p{
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
  max-width: 100%;                /* 在父容器限制下，段落占满可用宽度 */
}
.list{ 
  margin-left: 20px; 
  margin-bottom: 20px;
}
.list li{ 
  margin: 8px 0; 
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.grid-2{ 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 24px; 
  margin-bottom: 20px;
}
.grid-3{ 
  display: grid; 
  grid-template-columns: repeat(3,1fr); 
  gap: 20px; 
  margin-bottom: 20px;
}
.mt-12{ margin-top: 20px; }

figure{ 
  margin: 0 0 20px 0; 
  padding-right: 0;                     /* 移除右侧padding */
}
figcaption{ 
  margin-top: 12px; 
  font-size: 13px; 
  color: #999; 
  line-height: 1.4;
}
img{ 
  display: block; 
  width: 100%; 
  height: auto;
  padding-right: 0;                     /* 移除右侧padding */
  margin-right: 0;                      /* 移除右侧margin */
}

/* 提示块 */
.note{ background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }

/* 手风琴样式 */
.accordion {
  margin-top: 30px;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header .case-title {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 300;
  color: #333;
}

.accordion-header:hover {
  background-color: #f8f9fa;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 6px;
}

.accordion-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  flex: 1;
}

.accordion-icon {
  font-size: 18px;
  font-weight: 300;
  color: #666;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(0deg);
}

.accordion-item:not(.active) .accordion-icon {
  transform: rotate(0deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: none;  /* 移除过渡动画，实现即时切换 */
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-text {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 20px 0;
  padding-left: 20px;
}

/* Brief 部分样式 */
.brief-section {
  background-color: #eeeeee;
  padding: 40px;
  margin-left: -200px;
  margin-bottom: 80px;
  margin-top: 80px;
}

.brief-title {
  font-size: 14px;
  font-weight: 300;
  color: #999;
  margin: 0 0 40px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #d0d0d0;
}

.brief-quote {
  position: relative;
  padding-left: 100px;
}

.quote-mark {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 60px;
  font-weight: 300;
  color: #666;
  line-height: 1;
  font-family: serif;
}

.brief-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin: 40px,120px;
  font-weight: 300;
}

.quote-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.quote-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.quote-text {
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  max-width: 500px;
  color: #333;
  margin: 0;
  font-weight: 300; 
  width: 100%;
}

/* 底部信息 */
.footer{
  display: flex; justify-content: space-between; align-items: center;
  padding: 80px 40px 40px; margin-top: 40px;
  border-top: 1px solid var(--line); font-size: 12px; background: transparent;
}
.footer-center{ text-align: center; line-height: 1.4; }
.footer-right{ display: flex; gap: 30px; }
.footer-right a{ text-decoration: none; color: #aeaeae; transition: color .3s ease; }
.footer-right a:hover{ color: #333; }

.footer-left a {
  text-decoration: none;
  color: #aeaeae;
  transition: color 0.3s ease;
}

.footer-left a:hover {
  color: #333;
}

/* 图片 hover 提示，配合自定义光标 */
figure a{ display:block; position:relative; }
.image-hover-text{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  font-size:24px; font-weight:700; color:#fff; background:rgba(0,0,0,.7);
  padding:12px 24px; border-radius:30px; opacity:0; transition:opacity .3s ease; pointer-events:none;
}
figure:hover .image-hover-text{ opacity:1; }

/* 选择与滚动条 */
::selection{ background:#000; color:#fff; }

/* 隐藏滚动条 */
::-webkit-scrollbar {
    display: none;
}

/* 对于 Firefox */
html {
    scrollbar-width: none;
}

/* 对于 IE 和 Edge */
body {
    -ms-overflow-style: none;
}

/* 图片放大查看模态框 */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  overflow: hidden;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10001;
  pointer-events: none;
  display: block;
}

.close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 200;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover,
.close:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  max-width: 80%;
}

/* 图片点击效果 */
img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

img:hover {
  transform: scale(1.02);
}

/* 响应式 */
@media (max-width: 1200px){
  .case-wrap{ 
    grid-template-columns: 1fr; 
    gap: 0;
  }
  .case-menu{
    display: none;                     /* 隐藏菜单 */
  }
  .case-content{ 
    padding: 40px 40px 96px 40px;    /* 小屏幕下添加左右40px padding */
    max-width: none;
    margin-left: 0;
    width: 100%;
  }
  .case-meta{ 
    grid-template-columns: 1fr; 
  }
  .grid-2, .grid-3{ 
    grid-template-columns: 1fr; 
  }
  .header{ 
    padding: 15px 20px; 
  }
}

@media (max-width: 768px){
  .nav-center{ gap: 20px; }
  .nav-center a{ font-size: 12px; }
}