:root {
  --gold: #d5b15f;
  --gold-soft: rgba(213, 177, 95, 0.16);
  --ink: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.58);
  --faint: rgba(247, 243, 234, 0.34);
  --line: rgba(247, 243, 234, 0.1);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-hover: rgba(255, 255, 255, 0.075);
  --bg: #080908;
  --bg-2: #10120f;
}

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

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(8, 9, 8, 0.45), var(--bg) 520px),
    url("../../panos/thumb/pano-01_thumb.jpg") center top / 100% auto no-repeat,
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  background: rgba(8, 9, 8, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.site-meta {
  display: grid;
  gap: 3px;
  color: var(--faint);
  font-size: 12px;
  text-align: right;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 52px;
}

.project-hero {
  max-width: 820px;
  padding: 36px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 0 13px;
  border: 1px solid rgba(213, 177, 95, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.project-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
}

.project-desc {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.project-stats div {
  min-width: 132px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 9, 8, 0.48);
}

.project-stats strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.project-stats span {
  display: block;
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 1px;
}

.scene-section {
  padding-top: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.section-head p {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.scene-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.scene-card:hover {
  transform: translateY(-3px);
  border-color: rgba(213, 177, 95, 0.32);
  background: var(--panel-hover);
}

.scene-card figure {
  position: relative;
  aspect-ratio: 2 / 1;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.scene-card:hover img {
  transform: scale(1.3);
  filter: saturate(1.08);
}

.scene-index,
.play-mark {
  position: absolute;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.scene-index {
  top: 12px;
  left: 12px;
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
}

.play-mark {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
}

.scene-info {
  padding: 16px 18px 18px;
}

.scene-info div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.scene-info h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 500;
}

.scene-info time {
  flex: none;
  color: var(--faint);
  font-size: 11px;
}

.scene-info p {
  min-height: 42px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--faint);
  text-align: center;
}

.site-footer {
  padding: 38px 20px 46px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
}

.site-footer p {
  margin: 7px 0;
}

@media (max-width: 700px) {
  body {
    background-size: auto 360px;
  }

  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .site-meta {
    max-width: 130px;
    font-size: 11px;
  }

  .page-shell {
    width: min(100% - 28px, 1180px);
    padding: 42px 0 38px;
  }

  .project-hero {
    padding: 24px 0 34px;
  }

  .project-desc {
    font-size: 14px;
  }

  .project-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-stats div {
    min-width: 0;
    padding: 12px 10px;
  }

  .project-stats strong {
    font-size: 22px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 7px;
  }
}
