/*
  翁彥斌 · 工业设计作品集 v2
  设计风格：Editorial Material（编辑材质风）
  核心特征：暖白底、大地色强调、大留白、大图叙事、材质真实感
*/

/* ───────── 设计令牌 ───────── */
:root {
  /* 背景层 */
  --bg-primary: #f7f5f2;
  --bg-secondary: #ffffff;
  --bg-dark: #1a1a1b;
  --bg-warm: #ede9e4;

  /* 文本 */
  --ink: #1a1a1b;
  --ink-muted: #6b6b6e;
  --ink-subtle: #9b9b9d;
  --ink-light: #f7f5f2;

  /* 强调色 */
  --accent: #b87333;
  --accent-hover: #d0853e;
  --accent-soft: #f0e2d3;

  /* 线条 */
  --hairline: #e0dcd6;
  --hairline-dark: #3a3a3c;

  /* 字体 */
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-serif: 'Noto Serif SC', 'Songti SC', Georgia, serif;

  /* 字号 */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 30px;
  --text-3xl: 42px;
  --text-4xl: 58px;
  --text-5xl: 76px;

  /* 间距 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 28px;

  /* 阴影 */
  --shadow-soft: 0 4px 24px rgba(26, 26, 27, 0.06);
  --shadow-medium: 0 12px 48px rgba(26, 26, 27, 0.12);

  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
}

/* ───────── 全局重置 ───────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

/* 选中文本色 */
::selection {
  background-color: var(--accent-soft);
  color: var(--ink);
}

/* ───────── 容器 ───────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* ───────── 导航 ───────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: calc(20px + env(safe-area-inset-top)) 0 20px;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
  mix-blend-mode: difference;
}

.nav.scrolled {
  background-color: rgba(247, 245, 242, 0.96);
  box-shadow: var(--shadow-soft);
  padding: calc(14px + env(safe-area-inset-top)) 0 14px;
  mix-blend-mode: normal;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink-light);
}

.nav.scrolled .nav-logo {
  color: var(--ink);
}

.nav-links {
  display: none;
  gap: var(--space-6);
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink-light);
  opacity: 0.85;
}

.nav.scrolled .nav-link {
  color: var(--ink);
}

.nav-link:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-link.active {
  opacity: 1;
  border-bottom: 1.5px solid currentColor;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--ink-light);
  transition: background var(--transition-base);
}

.nav.scrolled .nav-toggle span {
  background-color: var(--ink);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink-light);
}

/* 移动菜单打开时：强制汉堡按钮为浅色并关闭混合模式，避免被深色菜单吞掉 */
.nav.menu-open {
  mix-blend-mode: normal;
}
.nav.menu-open .nav-toggle span {
  background-color: var(--ink-light);
}

/* ───────── 排版系统 ───────── */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-serif { font-family: var(--font-serif); }

.uppercase { text-transform: uppercase; letter-spacing: 1.5px; }
.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.label-muted {
  color: var(--ink-subtle);
}

/* ───────── 标题层级 ───────── */
.heading-hero {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.heading-1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

.heading-2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, var(--text-3xl));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.heading-3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}

.heading-4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.body-large {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  line-height: 1.8;
}

.body {
  font-size: var(--text-base);
  color: var(--ink-muted);
}

.caption {
  font-size: var(--text-xs);
  color: var(--ink-subtle);
  letter-spacing: 0.5px;
  margin-top: var(--space-3);
}

/* ───────── 按钮 ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1.5px solid var(--hairline);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ───────── 布局工具 ───────── */
.section {
  padding: var(--space-10) 0;
}

.section-sm {
  padding: var(--space-9) 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--ink-light);
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-white {
  background-color: var(--bg-secondary);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gap-large {
  gap: var(--space-7);
}

.gap-xl {
  gap: var(--space-8);
}

.stack {
  display: flex;
  flex-direction: column;
}

.stack-sm > * + * { margin-top: var(--space-3); }
.stack-md > * + * { margin-top: var(--space-5); }
.stack-lg > * + * { margin-top: var(--space-7); }
.stack-xl > * + * { margin-top: var(--space-9); }

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ───────── 首页 Hero ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-9);
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--ink-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,27,0.1) 0%, rgba(26,26,27,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: var(--text-sm);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(40px, 7vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: var(--space-5);
}

.hero-desc {
  max-width: 560px;
  font-size: var(--text-lg);
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: var(--space-7);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-size: var(--text-sm);
  opacity: 0.7;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ───────── 项目卡片 ───────── */
.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.project-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-warm);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.project-card:hover .project-card-image img {
  transform: scale(1.03);
}

.project-card-body {
  padding: var(--space-6);
}

.project-card-index {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.project-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--ink-subtle);
}

/* ───────── 项目详情页 ───────── */
.project-hero {
  padding-top: 140px;
  padding-bottom: var(--space-9);
}

.project-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--hairline);
}

@media (min-width: 768px) {
  .project-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.meta-item dt {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: var(--space-2);
}

.meta-item dd {
  font-size: var(--text-base);
  color: var(--ink);
  font-weight: 500;
}

/* 过程阶段 */
.stage {
  padding: var(--space-10) 0;
}

.stage-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

@media (min-width: 1024px) {
  .stage-header {
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
  }
}

.stage-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.stage-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.stage-body {
  max-width: 720px;
}

.stage-body p + p {
  margin-top: var(--space-4);
}

/* 时间线连接 */
.process-timeline {
  position: relative;
  padding-left: 28px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-color: var(--hairline);
}

.process-step {
  position: relative;
  padding-bottom: var(--space-9);
}

.process-step::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--accent);
}

.process-step:last-child {
  padding-bottom: 0;
}

/* 图片排版 */
.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius-md);
  background-color: var(--bg-warm);
}

.figure-white img {
  background-color: var(--bg-secondary);
}

.figure-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--ink-subtle);
}

.figure-caption strong {
  color: var(--ink);
  font-weight: 600;
}

.image-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: var(--space-7) 0;
}

@media (min-width: 768px) {
  .image-row-2 {
    grid-template-columns: 1fr 1fr;
  }
  .image-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 引用块 */
.quote-block {
  padding: var(--space-8);
  background-color: var(--bg-warm);
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.quote-block p {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.quote-block cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--ink-muted);
}

/* 数据/统计 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: var(--space-5);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.5px;
}

/* 失败方案卡片 */
.failed-concept {
  padding: var(--space-6);
  background-color: var(--bg-secondary);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.failed-concept h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--ink-muted);
}

.failed-concept p {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* ───────── 关于页 ───────── */
.about-hero {
  padding-top: 140px;
  padding-bottom: var(--space-9);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.about-portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-warm);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-bar {
  margin-bottom: var(--space-5);
}

.skill-bar header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.skill-bar header span:first-child {
  font-weight: 600;
}

.skill-track {
  height: 6px;
  background-color: var(--hairline);
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: 999px;
}

.timeline-list {
  list-style: none;
  padding-left: 0;
}

.timeline-list li {
  position: relative;
  padding-left: 28px;
  padding-bottom: var(--space-6);
  border-left: 1px solid var(--hairline);
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent);
}

.timeline-list li:last-child {
  border-left: none;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.timeline-title {
  font-weight: 600;
  color: var(--ink);
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* ───────── 页脚 ───────── */
.footer {
  padding: var(--space-8) 0 calc(var(--space-8) + env(safe-area-inset-bottom));
  background-color: var(--bg-dark);
  color: var(--ink-light);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: var(--space-5);
  font-size: var(--text-sm);
  opacity: 0.7;
}

/* ───────── 通用辅助 ───────── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.mt-9 { margin-top: var(--space-9); }
.mt-10 { margin-top: var(--space-10); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.mb-8 { margin-bottom: var(--space-8); }

.text-center { text-align: center; }
.text-muted { color: var(--ink-muted); }
.text-subtle { color: var(--ink-subtle); }
.text-light { color: var(--ink-light); }

.max-w-3xl { max-width: 720px; }
.max-w-4xl { max-width: 900px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* 图片灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 27, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

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

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: var(--ink-light);
  cursor: pointer;
  opacity: 0.7;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ───────── 3D 模型查看器 ───────── */
.viewer-wrap {
  margin: var(--space-7) 0;
}

.model-viewer {
  position: relative;
  width: 100%;
  height: 540px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-warm) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: contain;
}

.model-viewer:active {
  cursor: grabbing;
}

.model-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.viewer-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 1px;
  color: var(--ink-subtle);
}

.viewer-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.5px;
}

.viewer-hint span:first-child {
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
  .stage { padding: 72px 0; }
  .project-hero, .about-hero {
    padding-top: 104px;
    padding-bottom: var(--space-8);
  }
  .model-viewer { height: 360px; }
}

@media (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .model-viewer { height: 300px; }
  .hero-title { letter-spacing: -1px; }
}

/* 打印友好 */
@media print {
  .nav, .footer, .btn {
    display: none !important;
  }
  .section {
    padding: 32px 0;
    page-break-inside: avoid;
  }
  .project-hero {
    padding-top: 32px;
  }
  body {
    background: #fff;
    color: #000;
  }
}
