/* ========== 岛作 · 响应式 PC 站 ========== */
:root {
  --brand: #c41e3a;
  --brand-dark: #8b2942;
  --brand-light: #e85a6b;
  --bg: #faf9f7;
  --bg-alt: #fff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e8e6e3;
  --serif: "Noto Serif SC", "Source Han Serif CN", serif;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 80px;
  --container: min(1200px, 92vw);
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--brand-dark);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo img {
    width: 56px;
    height: 56px;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.nav-list.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-alt);
  padding: 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .nav-list {
    display: flex;
    flex-direction: row;
    gap: 32px;
    position: static;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
  }
}

.nav-list a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
}
@media (min-width: 768px) {
  .nav-list a {
    padding: 0;
  }
}
.nav-list a:hover {
  color: var(--brand);
}
.nav-list a.is-active {
  color: var(--brand);
  font-weight: 600;
}
@media (min-width: 768px) {
  .nav-list a.is-active {
    position: relative;
  }
  .nav-list a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--brand);
  }
}

/* ---------- Hero 焦点图 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 24px 60px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0px);
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero-slide.is-active .hero-bg {
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.1);
  }
}
/* 遮罩：保证前景文字清晰可读 */
.hero-slide .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* 第1张：雨林共生 - 热带雨林/自然 */
.hero-slide-1 .hero-bg {
  background-image: url('assets/hero/banner1.jpg');
}
.hero-slide-1 .hero-bg::after {
  background: radial-gradient(ellipse at center, rgba(250,249,247,0.5) 0%, rgba(250,249,247,0.65) 40%, rgba(196,30,58,0.1) 100%);
}
/* 第2张：非遗民艺 - 传统手作/匠人 */
.hero-slide-2 .hero-bg {
  background-image: url('assets/hero/banner2.jpg');
}
.hero-slide-2 .hero-bg::after {
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(250,249,247,0.65) 40%, rgba(139,41,66,0.12) 100%);
}
/* 第3张：岛作商城 - 文化精品/工艺展示 */
.hero-slide-3 .hero-bg {
  background-image: url('assets/hero/banner3.jpg');
}
.hero-slide-3 .hero-bg::after {
  background: radial-gradient(ellipse at center, rgba(250,249,247,0.5) 0%, rgba(250,249,247,0.65) 40%, rgba(196,30,58,0.12) 100%);
}

.hero-slide .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 90vw;
  opacity: 0;
  transform: translateY(40px);
}
.hero-slide.is-active .hero-content {
  animation: heroContentFadeIn 1.2s ease-out 0.3s forwards;
}
@keyframes heroContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-slide-2 .hero-title {
  font-size: clamp(1.5rem, 5.5vw, 3rem);
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 24px;
  border: 1px solid rgba(196, 30, 58, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.hero-dot:hover {
  background: rgba(196, 30, 58, 0.4);
  transform: scale(1.15);
}
.hero-dot.is-active {
  background: var(--brand);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(196, 30, 58, 0.6);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.25em;
  letter-spacing: 0.02em;
  text-shadow: 
    0 2px 8px rgba(255, 255, 255, 0.9),
    0 4px 16px rgba(196, 30, 58, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(30px);
}
.hero-slide.is-active .hero-title {
  animation: heroTitleIn 1s ease-out 0.5s forwards;
}
@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-weight: 600;
  color: var(--brand-dark);
  margin: 0 0 0.5rem;
  letter-spacing: 0.05em;
  text-shadow: 
    0 2px 6px rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(139, 41, 66, 0.25);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.5rem;
  border-radius: 24px;
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
}
.hero-slide.is-active .hero-subtitle {
  animation: heroSubtitleIn 1s ease-out 0.7s forwards;
}
@keyframes heroSubtitleIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text);
  margin: 1rem auto 2rem;
  max-width: 420px;
  text-shadow: 
    0 2px 8px rgba(255, 255, 255, 0.95),
    0 4px 16px rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(196, 30, 58, 0.15);
  font-weight: 500;
  opacity: 0;
  transform: translateX(30px);
}
.hero-slide.is-active .hero-tagline {
  animation: heroTaglineIn 1s ease-out 0.9s forwards;
}
@keyframes heroTaglineIn {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 
    0 4px 16px rgba(196, 30, 58, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
}
.hero-slide.is-active .btn-primary {
  animation: heroBtnIn 1s ease-out 1.1s forwards;
}
@keyframes heroBtnIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 
    0 6px 24px rgba(196, 30, 58, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.5rem;
  text-align: center;
}
.section-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Story ---------- */
.story {
  background: var(--bg-alt);
}
.story-wrapper {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .story-wrapper {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}
.story-content {
  max-width: 680px;
}
@media (min-width: 960px) {
  .story-content {
    max-width: none;
  }
}
.story-content p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-indent: 2em;
}
.story-lead {
  font-size: 1.1rem;
  color: var(--text) !important;
}
.story-content strong {
  color: var(--text);
}
.story-ending {
  margin-top: 2rem !important;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brand) !important;
}
.story-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.story-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 64px rgba(0,0,0,0.16);
}
.story-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
}
@media (max-width: 959px) {
  .story-image {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------- About ---------- */
.about {
  background: var(--bg);
}
.about-blocks {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .about-blocks {
    gap: 3rem;
  }
}
.about-block {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-block h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 1rem;
}
.about-block p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-block p:last-of-type {
  margin-bottom: 0;
}
.about-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.about-list li {
  margin-bottom: 0.5rem;
}

/* ---------- Mall ---------- */
.mall {
  background: var(--bg-alt);
}

/* 商城图片展示 */
.mall-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.mall-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mall-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.mall-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .mall-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .mall-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 599px) {
  .mall-images {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.mall-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.mall-card:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
}
.mall-card-icon {
  width: 96px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent, var(--brand));
  border-radius: var(--radius);
  margin: 0 auto 1rem;
}
.mall-card h3 {
  display: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.mall-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.mall-entries {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .mall-entries {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mall-entry-card {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.mall-entry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.mall-entry-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 8px 32px rgba(196, 30, 58, 0.12);
  transform: translateY(-4px);
}
.mall-entry-card:hover::before {
  transform: scaleX(1);
}
.mall-entry-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  filter: grayscale(0.2);
  transition: transform var(--transition);
}
.mall-entry-card:hover .mall-entry-icon {
  transform: scale(1.1);
  filter: grayscale(0);
}
.mall-entry-content {
  flex: 1;
  margin-bottom: 1.5rem;
}
.mall-entry-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}
.mall-entry-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.mall-entry-qr {
  margin-top: auto;
}
.mall-entry-qr img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: #fff;
  transition: border-color var(--transition);
}
.mall-entry-card:hover .mall-entry-qr img {
  border-color: var(--brand-light);
}
.mall-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.25);
  transition: all var(--transition);
  margin-top: auto;
}
.mall-entry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.35);
  color: #fff;
}
@media (max-width: 767px) {
  .mall-entry-card {
    padding: 1.5rem;
  }
  .mall-entry-icon {
    font-size: 2.5rem;
  }
  .mall-entry-qr img {
    width: 140px;
    height: 140px;
  }
}
.mall-footer {
  text-align: center;
  max-width: 640px;
  margin: 2rem auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Tribe ---------- */
.tribe {
  background: var(--bg);
}
.tribe-features {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .tribe-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .tribe-features {
    grid-template-columns: repeat(5, 1fr);
  }
}
.tribe-feature {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow);
}
.tribe-feature h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.tribe-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.tribe-footer {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- People 缩略图 + 分批滚动 ---------- */
.people {
  background: var(--bg-alt);
}
.people-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.people-track-wrap {
  flex: 1;
  overflow: hidden;
}
.people-track {
  display: grid;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
  grid-auto-flow: column;
}
.people-track::-webkit-scrollbar {
  height: 6px;
}
.people-track::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 3px;
}
.people-track::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 3px;
}
.people-card {
  scroll-snap-align: start;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* 手机屏幕：一行显示1个 */
@media (max-width: 599px) {
  .people-track {
    grid-template-rows: 1fr;
    grid-auto-columns: calc(100% - 2px);
    gap: 1rem;
  }
}
/* 小屏幕（平板）：2列2行，一屏显示4个 */
@media (min-width: 600px) and (max-width: 1199px) {
  .people-track {
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: calc((100% - 1.25rem) / 2);
    gap: 1.25rem;
  }
  /* 每4个卡片为一组 */
  .people-card:nth-child(4n+1) {
    scroll-snap-align: start;
  }
  .people-card:not(:nth-child(4n+1)) {
    scroll-snap-align: none;
  }
}
/* PC端：3列2行，一屏显示6个 */
@media (min-width: 1200px) {
  .people-track {
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: calc((100% - 3rem) / 3);
    gap: 1.5rem;
  }
  /* 每6个卡片为一组 */
  .people-card:nth-child(6n+1) {
    scroll-snap-align: start;
  }
  .people-card:not(:nth-child(6n+1)) {
    scroll-snap-align: none;
  }
}
.people-card:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
}
.people-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.people-card-link:hover {
  color: inherit;
}
.people-card-more {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--brand);
  font-weight: 500;
}
.people-card-link:hover .people-card-more {
  text-decoration: underline;
}
.people-card-thumb {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
.people-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.people-card-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1rem 1rem 0.25rem;
  color: var(--text);
}
.people-card-desc {
  margin: 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 599px) {
  .people-card {
    width: 220px;
  }
  .people-card-thumb {
    font-size: 2.5rem;
  }
  .people-nav {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}
.people-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--bg-alt);
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.people-nav:hover {
  background: var(--brand);
  color: #fff;
}
.people-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.people-nav:disabled:hover {
  background: var(--bg-alt);
  color: var(--brand);
}

/* ---------- Partners ---------- */
.partners {
  background: var(--bg);
}
.partners-tabs {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .partners-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}
.partners-category {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--brand);
  transition: transform var(--transition), box-shadow var(--transition);
}
.partners-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.partners-category h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.partners-category h4::before {
  content: '';
  width: 4px;
  height: 1.5rem;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: 2px;
}
.partners-category-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  background: var(--bg);
  padding: 1rem;
  border-radius: 4px;
}
.partners-category p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.partners-list li {
  margin-bottom: 0.5rem;
}
.partners-list a {
  font-size: 0.95rem;
  color: var(--text);
  display: inline-block;
  padding: 0.25rem 0;
}
.partners-list a:hover {
  color: var(--brand);
}
.partners-list a::after {
  content: ' 查看详情 ›';
  font-size: 0.85em;
  color: var(--brand);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

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

.contact-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.contact-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 8px 32px rgba(196, 30, 58, 0.12);
  transform: translateY(-4px);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
  filter: grayscale(0.2);
  transition: transform var(--transition);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.contact-link {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brand);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all var(--transition);
}

.contact-link:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-slogan {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-right {
    justify-content: flex-end;
  }
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.copyright a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.copyright a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ---------- 详情页通用 ---------- */
.detail-page {
  padding: calc(var(--header-h) + 48px) 0 80px;
  min-height: 60vh;
}
.detail-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}
.detail-card-thumb {
  width: 100%;
  aspect-ratio: 2;
  /* max-height: 280px; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 600;
}
.detail-card-thumb.detail-partner {
  aspect-ratio: 10;
  font-size: 1.5rem;
  letter-spacing: 0em;
}
.detail-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 1.5rem 2rem 0.5rem;
  color: var(--text);
  text-align: center;
}
.detail-body {
  padding: 0 2rem 2rem;
}
.detail-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-indent: 2em;
}
.detail-body p:last-child {
  margin-bottom: 0;
}
.detail-images {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.detail-images img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  margin: 0 auto;
}
.detail-back {
  margin-top: 2rem;
  text-align: center;
}
.detail-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}
.detail-empty a {
  color: var(--brand);
}

/* 相关链接区域 */
.detail-related {
  margin: 2rem 2rem 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.03) 0%, rgba(196, 30, 58, 0.08) 100%);
  border-radius: 12px;
  border: 2px solid rgba(196, 30, 58, 0.15);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}
.detail-related:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.15);
  transform: translateY(-2px);
}
.detail-related-icon {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
  filter: grayscale(0.3);
  transition: transform var(--transition);
}
.detail-related:hover .detail-related-icon {
  transform: scale(1.1);
  filter: grayscale(0);
}
.detail-related-content {
  flex: 1;
}
.detail-related-label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.detail-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: color var(--transition);
}
.detail-related:hover .detail-related-link {
  color: var(--brand);
}
.detail-related-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}
.detail-related-arrow {
  font-size: 1.5rem;
  color: var(--brand);
  transition: transform var(--transition);
}
.detail-related:hover .detail-related-arrow {
  transform: translateX(4px);
}
@media (max-width: 599px) {
  .detail-related {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  .detail-related-link {
    flex-direction: column;
    gap: 0.5rem;
  }
  .detail-related-icon {
    font-size: 2.5rem;
  }
  .detail-related-name {
    font-size: 1.1rem;
  }
}

/* 相关人物列表 */
.detail-related-people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.detail-related-person {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-alt);
  border: 2px solid rgba(196, 30, 58, 0.2);
  border-radius: 24px;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}
.detail-related-person:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.25);
}
.detail-related-person-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}
.detail-related-person .detail-related-arrow {
  font-size: 1.25rem;
  color: var(--brand);
  transition: transform var(--transition), color var(--transition);
}
.detail-related-person:hover .detail-related-arrow {
  transform: translateX(3px);
  color: #fff;
}
@media (max-width: 599px) {
  .detail-related-people {
    flex-direction: column;
    align-items: stretch;
  }
  .detail-related-person {
    justify-content: space-between;
  }
}

/* 人物链接高亮样式 */
.people-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  padding: 0 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent 0%, transparent 65%, rgba(196, 30, 58, 0.2) 65%, rgba(196, 30, 58, 0.2) 100%);
  transition: all var(--transition);
  display: inline;
}
.people-link:hover {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 1px 4px rgba(196, 30, 58, 0.3);
}

/* 详情页侧边导航按钮 */
.detail-side-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(196, 30, 58, 0.2);
  border-radius: 50%;
  text-decoration: none;
  color: var(--brand);
  font-size: 2.5rem;
  line-height: 1;
  transition: all var(--transition);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.detail-side-nav-prev {
  left: 2rem;
}

.detail-side-nav-next {
  right: 2rem;
}

.detail-side-nav-arrow {
  display: block;
  font-weight: 300;
  user-select: none;
}

.detail-side-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
}

.detail-side-nav:active {
  transform: translateY(-50%) scale(1.05);
}

/* 平板和小屏幕 */
@media (max-width: 1024px) {
  .detail-side-nav {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .detail-side-nav-prev {
    left: 1rem;
  }
  
  .detail-side-nav-next {
    right: 1rem;
  }
}

/* 移动端 */
@media (max-width: 768px) {
  .detail-side-nav {
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
    top: auto;
    bottom: 2rem;
    transform: none;
  }
  
  .detail-side-nav-prev {
    left: 1rem;
  }
  
  .detail-side-nav-next {
    right: 1rem;
  }
  
  .detail-side-nav:hover {
    transform: scale(1.1);
  }
  
  .detail-side-nav:active {
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .detail-side-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    bottom: 1.5rem;
  }
  
  .detail-side-nav-prev {
    left: 0.75rem;
  }
  
  .detail-side-nav-next {
    right: 0.75rem;
  }
}
