/* =========================================================
   留声机乐团 · 网站样式表
   现代简约风 + 克制的黄铜金点缀
   说明：普通用户无需改动此文件也能正常使用网站。
        若要换颜色，只需修改下面 :root 里的变量即可。
   ========================================================= */

:root {
  /* 配色 */
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --ink: #16181d;
  --muted: #6a6f7a;
  --accent: #b08d57;        /* 黄铜金 */
  --accent-soft: #f0e9dd;
  --line: #e7e4de;
  --card: #ffffff;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;

  /* 尺寸 */
  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 24, 29, 0.06);
  --shadow-soft: 0 4px 16px rgba(22, 24, 29, 0.05);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.2em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 20px !important;
  color: var(--ink) !important;
}

.nav-cta:hover {
  background: var(--ink);
  color: #fff !important;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

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

.btn-primary:hover {
  background: #9c7b48;
  transform: translateY(-1px);
}

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

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

/* ---------- 区块通用 ---------- */
.section {
  padding: 92px 0;
}

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
}

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

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: #11131a;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 19, 26, 0.45), rgba(17, 19, 26, 0.82));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 130px;
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- 首页亮点卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-card .num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.feature-card h3 {
  font-size: 21px;
  margin: 12px 0 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- 首页双栏（关于预览） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body .eyebrow {
  color: var(--accent);
}

.split-body h2 {
  font-size: 32px;
}

.split-body p {
  color: var(--muted);
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat .figure {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
}

.stat .label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- 关于页：时间线 ---------- */
.timeline {
  border-left: 2px solid var(--line);
  margin-left: 8px;
  padding-left: 0;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
}

.timeline-item .year {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent);
  font-size: 17px;
}

.timeline-item h4 {
  margin: 6px 0 6px;
  font-size: 19px;
}

.timeline-item p {
  color: var(--muted);
  margin: 0;
}

/* ---------- 成员页 ---------- */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.member-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.member-photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 22px 24px 28px;
}

.member-info .role {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.member-info h3 {
  font-size: 21px;
  margin: 8px 0 10px;
}

.member-info p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* 重点成员（音乐总监等）— 全宽卡片 */
.member-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
}
.member-card.featured .member-photo {
  aspect-ratio: auto;
  min-height: 380px;
}
.member-card.featured .member-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}
.member-card.featured .member-bio {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.member-card.featured .member-bio p {
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--ink);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .member-card.featured {
    grid-template-columns: 1fr;
  }
  .member-card.featured .member-photo {
    min-height: 260px;
  }
  .member-card.featured .member-info {
    padding: 24px 20px;
  }
}

/* 卡片作为链接 */
.member-card {
  color: var(--ink);
  text-decoration: none;
}
.member-card .member-info h3 { color: var(--ink); }
.member-card .member-info .role { color: var(--accent); }

/* 成员详情页 */
.member-detail {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 24px;
}
.md-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.md-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.md-info .role {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}
.md-info h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  margin: 10px 0 22px;
}
.md-info .member-bio { max-width: 760px; }
.md-info .member-bio p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink);
  opacity: 0.88;
  margin-bottom: 16px;
}
.back-link {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .member-detail { grid-template-columns: 1fr; gap: 28px; }
  .md-photo { max-width: 340px; }
  .md-info h2 { font-size: 28px; }
}

/* ---------- 曲目页 ---------- */
.rep-group + .rep-group {
  margin-top: 48px;
}

.rep-group h3 {
  font-size: 22px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 18px;
}

.rep-list {
  display: grid;
  gap: 14px;
}

.rep-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.rep-item .title {
  font-family: var(--font-serif);
  font-size: 17px;
}

.rep-item .composer {
  color: var(--muted);
  font-size: 14px;
}

.rep-item .tag {
  flex: none;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ---------- 演出动态页 ---------- */
.event-list {
  display: grid;
  gap: 22px;
}

.event-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 30px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  transition: box-shadow 0.25s ease;
}

.event-card:hover {
  box-shadow: var(--shadow-soft);
}

.event-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.event-date .d {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
}

.event-date .m {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.event-body h3 {
  font-size: 21px;
  margin: 0 0 6px;
}

.event-body .meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.event-status {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.event-status.upcoming {
  background: var(--accent-soft);
  color: #8a6a36;
}

.event-status.past {
  background: var(--bg-soft);
  color: var(--muted);
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.contact-info .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #8a6a36;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.contact-info .item h4 {
  margin: 0 0 2px;
  font-size: 16px;
}

.contact-info .item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #11131a;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 40;
  border: none;
  font-size: 18px;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-inner {
    padding: 100px 0 90px;
  }

  .feature-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .event-card {
    grid-template-columns: 80px 1fr;
    gap: 18px;
  }

  .event-date {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .event-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
