/* 整屏叙事与摄影编排：参考 Redefine / Photo Folio 的布局原则，保留本站原创草地。 */
:root { --gallery-gap: 22px; }
.site-header { padding: 18px 0; }
.site-header.scrolled { padding: 13px 0; background: #f4f8eff5; box-shadow: 0 1px 0 #647c631c; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header nav { gap: 24px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header nav a { position: relative; min-height: 40px; display: inline-flex; align-items: center; padding: 6px 2px; border-radius: 0; font-size: 13px; letter-spacing: 2px; }
.site-header nav a::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-header nav a:hover, .site-header nav a[aria-current] { background: none; color: var(--ink); }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.wordmark { font-size: 20px; letter-spacing: 3px; }
.hero { min-height: 100svh; }
.section-heading { gap: 18px; }
.section-index { font-size: 48px; -webkit-text-stroke-width: .7px; }
.section-heading h2 { font-size: 27px; letter-spacing: 3px; }
.section-heading .en { font-size: 17px; }

/* 整屏作品：封面与介绍直接落在草地上，减少厚重卡片。 */
.scene-field { min-height: calc(100svh - 84px); display: flex; align-items: center; padding-block: 64px; }
.scene-field .project { max-width: 990px; margin-inline: auto; padding: 0; gap: 46px; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.scene-field .project:hover { transform: none; box-shadow: none; }
.scene-field .project-art { min-height: 0; aspect-ratio: 4 / 3; border-radius: 4px; }
.scene-field .project-copy { padding: 12px 0; }
.project-copy h3 { font-size: 25px; letter-spacing: 1px; }
.project-copy .chip { padding: 3px 0; background: none; border: 0; border-radius: 0; font-size: 10px; letter-spacing: 3px; }
.project-copy .text-link { margin-top: 22px; padding: 7px 0; border-radius: 0; background: none; border-bottom: 1px solid #8fa98b70; color: var(--ink); }
.project:hover .text-link { background: none; }

/* 笔记也使用简洁的图片与标题，与相册形成同一套视觉语言。 */
.home-notes { gap: 20px; }
.home-notes .note-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home-notes .note-card:hover { transform: translateY(-2px); box-shadow: none; }
.home-notes .note-cover { border-radius: 3px; background: #f4f6ed; border: 1px solid #78927515; }
.home-notes .note-title { padding: 0; margin-top: 9px; color: var(--ink-soft); }
.note-card { box-shadow: none; border-radius: 8px; }
.note-cover { border-radius: 4px; }

/* 相册：取消纸胶带、相纸边框和倾斜，保留照片本身的完整比例。 */
.photo-slot { padding: 0; border-radius: 0; background: none; box-shadow: none; rotate: 0deg; animation: none; }
.photo-slot::before { display: none; }
.photo-slot:nth-child(n), .photo-grid .photo-slot:nth-child(n), .album-masonry .photo-slot:nth-child(n) { rotate: 0deg; margin-top: 0; }
.photo-slot:hover { rotate: 0deg; transform: none; box-shadow: none; }
.photo-button { border-radius: 2px; }
.photo-button img { transition: opacity .2s; }
.photo-button:hover img { opacity: .94; }
.photo-grid { max-width: 900px; gap: var(--gallery-gap); }
.photo-grid .photo-button { background: #f1f4e9; }
.photo-slot figcaption { padding: 10px 0 0; font-family: var(--sans); font-size: 13px; letter-spacing: 1px; }
.photo-slot figcaption span:last-child { display: none; }
.album-controls { display: inline-flex; gap: 28px; padding: 0; margin-bottom: 30px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.album-controls::before { display: none; }
.album-tab { padding: 8px 0; border-radius: 0; border-bottom: 1px solid transparent; font-size: 14px; letter-spacing: 2px; color: var(--muted); }
.album-tab.active { border-bottom-color: var(--ink); color: var(--ink); }
.album-more { border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 10px 0; background: none; box-shadow: none; gap: 24px; font-size: 15px; }
.album-more:hover { transform: none; background: none; box-shadow: none; }
.album-more .arrow { background: none; color: var(--ink); width: auto; height: auto; }
.project-photo-column { gap: var(--gallery-gap); }
.project-photo-columns { column-gap: var(--gallery-gap); }
.project-photo-columns .photo-slot { margin: 0; padding: 0; }

/* 摄影相册：桌面左侧索引、右侧照片；手机变为顶部分类。 */
.album-gallery main { width: min(1240px, calc(100% - 96px)); margin: 122px auto 100px; display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 50px; }
.album-gallery .page-hero { position: sticky; top: 118px; padding: 0; background: none; overflow: visible; }
.album-gallery .page-hero > [aria-hidden] { display: none; }
.album-gallery .page-hero .wrap { width: auto; margin: 0; }
.album-gallery .back-link { padding: 4px 0; border-radius: 0; margin-bottom: 28px; background: none; font-size: 12px; letter-spacing: 1px; }
.album-gallery .page-hero .en { font-size: 15px; line-height: 1.5; }
.album-gallery .page-hero h1 { font-size: 26px; letter-spacing: 3px; margin-top: 10px; }
.album-gallery .page-sub { font-size: 13px; letter-spacing: 1px; line-height: 1.9; margin-top: 16px; }
.album-gallery .album-controls { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 26px 0 0; }
.album-gallery .album-page { width: auto; margin: 0; padding: 0; min-width: 0; }
.album-gallery .album-page-head { margin-bottom: 24px; padding-bottom: 15px; gap: 12px; }
.album-gallery .album-page-head h2 { font-size: 20px; letter-spacing: 2px; }
.album-gallery .album-page-head .en { font-size: 16px; }
.album-gallery .album-count { font-size: 12px; letter-spacing: 0; }
.album-gallery .album-masonry { --photo-columns: 3; }

@media (max-width: 1000px) {
  .album-gallery main { grid-template-columns: 150px minmax(0, 1fr); gap: 30px; width: calc(100% - 56px); }
  .album-gallery .album-masonry { --photo-columns: 2; }
}
@media (max-width: 700px) {
  :root { --gallery-gap: 14px; }
  .site-header { padding-block: 13px; }
  .site-header.scrolled { padding-block: 10px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { min-height: 40px; font-size: 12px; letter-spacing: 1px; }
  .wordmark { font-size: 18px; }
  .section-heading { gap: 14px; }
  .section-index { font-size: 42px; }
  .section-heading h2 { font-size: 25px; }
  .scene-field { padding-block: 42px; }
  .scene-field .project { grid-template-columns: 1fr; gap: 20px; }
  .scene-field .project-art { width: 100%; aspect-ratio: 1.7; min-height: 0; }
  .scene-field .project-copy { padding: 0; }
  .scene-field .section-heading { margin-bottom: 26px; }
  .project-copy h3 { margin-top: 6px; font-size: 24px; }
  .project-description { margin-top: 10px; font-size: 14px; line-height: 1.85; }
  .project-copy .text-link { margin-top: 12px; }
  .home-notes { gap: 16px 14px; }
  .home-notes .note-card { padding: 0; }
  .home-notes .note-title { font-size: 12px; }
  .home-notes .note-cover { border-radius: 2px; }
  .photo-slot { padding: 0; }
  .photo-grid { gap: 20px 14px; }
  .album-controls { gap: 25px; margin-bottom: 24px; }
  .album-gallery main { display: block; width: calc(100% - 40px); margin-top: 98px; margin-bottom: 64px; }
  .album-gallery .page-hero { position: relative; top: auto; }
  .album-gallery .back-link { margin-bottom: 16px; }
  .album-gallery .page-hero h1 { font-size: 27px; margin-top: 4px; }
  .album-gallery .page-sub { margin-top: 10px; }
  .album-gallery .album-controls { flex-direction: row; gap: 28px; margin-top: 16px; margin-bottom: 28px; }
  .album-gallery .album-page-head { margin-bottom: 20px; gap: 10px; }
  .album-gallery .album-page-head h2 { font-size: 18px; }
  .album-gallery .album-page-head .en { font-size: 14px; }
  .album-gallery .album-masonry { --photo-columns: 2; }
}
.album-masonry { --photo-card-padding: 0; --photo-caption-height: 34; }
