/* ==========================================================================
   Sabrina Wu 莎繽娜｜莎文主藝 Sabrinarticle Official Website
   Editorial Gallery × Immersive Stage Design System
   ========================================================================== */

:root {
  --bg: #f5f2ed;
  --bg-soft: #ece7df;
  --bg-card: #fcfbf9;
  --ink: #231f1e;
  --ink-soft: #544d49;
  --ink-muted: #78706a;
  --plum: #8a3d58;
  --plum-dark: #6c2d44;
  --plum-tint: rgba(138, 61, 88, 0.08);
  --gold: #c59b5f;
  --gold-soft: rgba(197, 155, 95, 0.28);
  --line: rgba(35, 31, 30, 0.11);
  --stage-bg: #151219;
  --stage-card: #1e1924;
  --stage-ink: #f5f1ec;
  --stage-muted: #b5abb8;
  --stage-line: rgba(245, 241, 236, 0.12);

  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --editorial: "Cormorant Garamond", Georgia, serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 48px rgba(35, 28, 26, 0.08);
  --shadow-card: 0 10px 30px rgba(35, 28, 26, 0.06);
  --max-w: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 242, 237, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(245, 242, 237, 0.96);
  box-shadow: 0 8px 28px rgba(35, 28, 26, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark .zh {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.brand-mark .en {
  font-family: var(--editorial);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
}

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

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.5rem 1.1rem !important;
  border: 1px solid var(--plum);
  border-radius: 999px;
  color: var(--plum) !important;
  font-weight: 500;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--plum);
  color: #fff;
  box-shadow: 0 10px 24px rgba(138, 61, 88, 0.24);
}

.btn-primary:hover {
  background: var(--plum-dark);
  transform: translateY(-2px);
}

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

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

.btn-gold-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--stage-ink);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: #151219;
}

/* ---------- Section Common ---------- */
section {
  padding: 5.5rem 0;
  scroll-margin-top: 72px;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--editorial);
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0 0 0.85rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- HERO: Dingxi MRT Exhibition Spotlight ---------- */
.hero {
  padding: 7.5rem 0 4.5rem;
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(197, 155, 95, 0.14), transparent 46%),
    radial-gradient(circle at 10% 80%, rgba(138, 61, 88, 0.09), transparent 42%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: var(--plum-tint);
  border: 1px solid rgba(138, 61, 88, 0.22);
  color: var(--plum);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 0 rgba(138, 61, 88, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(138, 61, 88, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(138, 61, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 61, 88, 0); }
}

.hero-en {
  font-family: var(--editorial);
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.55rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.18;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--plum);
  margin: 0 0 1.4rem;
}

.hero-quote {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--ink);
  border-left: 2.5px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.1rem;
  margin: 0 0 1.35rem;
}

.hero-desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0 0 1.8rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-meta-item .k {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.hero-meta-item .v {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-visual {
  position: relative;
}

.poster-frame {
  position: relative;
  padding: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.poster-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold-soft);
  border-radius: 22px;
  pointer-events: none;
}

.poster-frame img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}

.poster-float {
  position: absolute;
  left: -1.4rem;
  bottom: 1.8rem;
  background: rgba(252, 251, 249, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-card);
}

.poster-float .tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--plum);
  font-weight: 600;
  display: block;
}

.poster-float .info {
  font-family: var(--serif);
  font-size: 0.94rem;
  color: var(--ink);
}

/* ---------- Manifesto & Stats ---------- */
.manifesto-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0;
}

.manifesto-quote {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

.manifesto-quote p {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
  line-height: 2.05;
  color: var(--ink);
  margin: 0;
}

.manifesto-quote .accent {
  color: var(--plum);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.stat-card {
  text-align: center;
}

.stat-num {
  font-family: var(--editorial);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--plum);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3.5rem;
  align-items: start;
}

.about-portrait {
  position: relative;
}

.about-portrait img.main-photo {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.about-caption {
  margin-top: 0.9rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
}

.artist-role {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--plum);
  margin: 0 0 1.25rem;
  letter-spacing: 0.06em;
}

.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.signature-wrap {
  margin: 1.6rem 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.signature-img {
  height: 68px;
  width: auto;
  mix-blend-mode: multiply;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 3.2rem 0;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.pillar-num {
  font-family: var(--editorial);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.pillar-card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  margin: 0 0 0.6rem;
  letter-spacing: 0.05em;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Timeline & Partners */
.timeline-partners {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.sub-heading {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin: 0 0 1.35rem;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.3rem;
  border-left: 1.5px solid var(--gold-soft);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.64rem;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--plum);
  border: 2px solid var(--bg);
}

.timeline-year {
  font-family: var(--editorial);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: 0.08em;
}

.timeline-title {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0.1rem 0 0.15rem;
}

.timeline-detail {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin: 0;
}

.partners-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.partner-chip {
  padding: 0.48rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Online Art Gallery ---------- */
.gallery-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 18%, var(--bg) 100%);
  border-top: 1px solid var(--line);
}

.series-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.series-tab {
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.series-tab.active {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
  box-shadow: 0 10px 26px rgba(138, 61, 88, 0.22);
}

.chapter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chapter-pill {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.chapter-pill:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.chapter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chapter-note {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 0.94rem;
  color: var(--ink-soft);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 61, 88, 0.45);
  box-shadow: 0 18px 36px rgba(35, 28, 26, 0.12);
}

.art-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #eae6df;
  aspect-ratio: 3 / 4;
}

.art-card.is-square .art-thumb-wrap {
  aspect-ratio: 1 / 1;
}

.art-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.art-card:hover .art-thumb-wrap img {
  transform: scale(1.045);
}

.art-num-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(252, 251, 249, 0.9);
  color: var(--plum);
  font-family: var(--editorial);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.art-info {
  padding: 1rem 1.1rem 1.15rem;
}

.art-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.art-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

/* ---------- Dark Stage: Exhibitions & Films ---------- */
.stage-section {
  background: var(--stage-bg);
  color: var(--stage-ink);
  position: relative;
}

.stage-section .eyebrow {
  color: var(--gold);
}

.stage-section .section-lead {
  color: var(--stage-muted);
}

.exhibition-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}

.exhibition-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.4rem;
  align-items: center;
  background: var(--stage-card);
  border: 1px solid var(--stage-line);
  border-radius: 18px;
  padding: 2rem;
}

.ex-badge {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid rgba(197, 155, 95, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.ex-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 0 0 0.4rem;
  letter-spacing: 0.06em;
}

.ex-date {
  font-size: 0.88rem;
  color: var(--gold);
  margin: 0 0 1rem;
}

.ex-desc {
  color: var(--stage-muted);
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
}

.ex-credits {
  font-size: 0.8rem;
  color: rgba(245, 241, 236, 0.62);
  border-top: 1px solid var(--stage-line);
  padding-top: 0.9rem;
  margin: 1.1rem 0 0;
  line-height: 1.7;
}

.ex-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.ex-link-btn {
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 236, 0.28);
  font-size: 0.82rem;
  color: var(--stage-ink);
  transition: all 0.2s ease;
}

.ex-link-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ex-photos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.ex-photos-row img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--stage-line);
}

/* YouTube Lite Embed */
.yt-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b090e;
  border: 1px solid var(--stage-line);
  cursor: pointer;
}

.yt-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.yt-lite:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.yt-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(138, 61, 88, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.yt-lite:hover .yt-play-btn {
  transform: scale(1.09);
  background: var(--gold);
}

.yt-play-btn::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.yt-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(10, 8, 13, 0.88));
  font-size: 0.84rem;
  color: #fff;
}

.yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Films Grid */
.films-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.film-card {
  background: var(--stage-card);
  border: 1px solid var(--stage-line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.film-tag {
  font-family: var(--editorial);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0.95rem 0 0.25rem;
}

.film-card h4 {
  font-family: var(--serif);
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
}

.film-card p {
  font-size: 0.88rem;
  color: var(--stage-muted);
  margin: 0;
}

/* ---------- Journal & Podcasts ---------- */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.podcast-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--plum);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pod-ep {
  font-family: var(--editorial);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--plum);
  font-weight: 700;
}

.pod-show {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0.2rem 0 0.65rem;
}

.podcast-card h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin: 0 0 0.9rem;
  line-height: 1.45;
}

.podcast-card ul {
  margin: 0 0 1.4rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.journal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-card:hover {
  transform: translateY(-3px);
  border-color: var(--plum);
}

.j-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--plum);
  margin-bottom: 0.55rem;
}

.journal-card h4 {
  font-family: var(--serif);
  font-size: 1.08rem;
  margin: 0 0 0.6rem;
  line-height: 1.45;
}

.journal-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.read-more {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: 0.06em;
}

/* ---------- Services & Contact ---------- */
.services-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.45rem;
  box-shadow: var(--shadow-card);
}

.service-idx {
  font-family: var(--editorial);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0 0 0.65rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

.dance-demos-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 3.2rem;
}

.dance-demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 1.2rem;
}

.demo-card h4 {
  font-family: var(--serif);
  font-size: 0.98rem;
  margin: 0.7rem 0 0.15rem;
}

.demo-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Contact Card */
.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-soft);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-banner-note {
  display: none;
  background: var(--plum-tint);
  border: 1px solid rgba(138, 61, 88, 0.25);
  color: var(--plum);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.contact-banner-note.show {
  display: block;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.35rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-row .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.contact-row .val {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-row a.val:hover {
  color: var(--plum);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.social-tile {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.social-tile:hover {
  border-color: var(--plum);
  transform: translateY(-2px);
}

.social-tile .s-label {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.social-tile .s-handle {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--plum);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 242, 237, 0.8);
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245, 242, 237, 0.12);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: #fff;
}

.footer-sub {
  font-size: 0.84rem;
  color: rgba(245, 242, 237, 0.58);
  margin-top: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(245, 242, 237, 0.55);
}

/* ---------- Museum Lightbox Modal ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(18, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lb-dialog {
  width: min(100%, 1080px);
  max-height: 92vh;
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lb-media {
  background: #ece8e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  min-height: 420px;
}

.lb-media img {
  max-height: 74vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.lb-view-switch {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lb-view-btn {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.lb-view-btn.active {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

.lb-body {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  max-height: 92vh;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
}

.lb-chapter {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--plum);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.lb-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 0 0 0.8rem;
  line-height: 1.3;
}

.lb-specs {
  font-size: 0.86rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

.lb-quote {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.9;
  margin: 0 0 1.4rem;
}

.lb-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.lb-nav button {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.85rem;
}

.lb-nav button:hover {
  border-color: var(--plum);
  color: var(--plum);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .exhibition-card,
  .contact-panel,
  .timeline-partners {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lb-dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .lb-media img {
    max-height: 46vh;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(245, 242, 237, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1.4rem 1.5rem 1.8rem;
    gap: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .poster-float {
    position: static;
    margin-top: 0.9rem;
  }

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

  .pillars-grid,
  .films-grid,
  .podcast-grid,
  .journal-grid,
  .dance-demos-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.95rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 1.5rem;
  }
}


/* ==========================================================================
   Multi-Page Museum Architecture Extensions
   ========================================================================== */

/* Top Announcement Ribbon (Now On View: Dingxi MRT) */
.announcement-bar {
  background: var(--plum);
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 105;
}

.ann-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.9rem;
  padding: 0.58rem 0;
  text-align: center;
}

.ann-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd996;
  box-shadow: 0 0 0 0 rgba(255, 217, 150, 0.7);
  animation: pulseGold 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(255, 217, 150, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 217, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 217, 150, 0); }
}

.ann-link {
  color: #ffe8bd;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 232, 189, 0.55);
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

.ann-link:hover {
  opacity: 0.82;
}

/* Sticky multi-page header sits below announcement bar naturally */
.site-header.multi-header {
  position: sticky;
  top: 0;
}

/* Hero tuned for sticky header (no extra fixed-nav offset needed) */
.hero.hero-museum {
  padding: 4.5rem 0 4.5rem;
}

.hero-art-frame {
  position: relative;
  padding: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.hero-art-frame::before {
  content: "";
  position: absolute;
  inset: -11px;
  border: 1px solid var(--gold-soft);
  border-radius: 22px;
  pointer-events: none;
}

.hero-art-frame img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Inner Page Header Banner */
.page-hero {
  padding: 4.2rem 0 3.2rem;
  background:
    radial-gradient(circle at 82% 22%, rgba(197, 155, 95, 0.14), transparent 45%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero.dark {
  background:
    radial-gradient(circle at 80% 18%, rgba(138, 61, 88, 0.24), transparent 48%),
    var(--stage-bg);
  color: var(--stage-ink);
  border-bottom-color: var(--stage-line);
}

.page-hero.dark .eyebrow {
  color: var(--gold);
}

.page-hero.dark .section-lead {
  color: var(--stage-muted);
}

/* Dingxi MRT Spotlight Card on Home */
.dingxi-spotlight {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 2.8rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--gold-soft);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.dingxi-poster-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.dingxi-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dingxi-facts .k {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.dingxi-facts .v {
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
}

/* Home Editorial Portal Cards */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--plum);
}

.portal-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0.45rem 0 0.65rem;
}

.portal-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

/* Footer Quick Nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
}

.footer-nav a {
  color: rgba(245, 242, 237, 0.75);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .dingxi-spotlight,
  .portals-grid {
    grid-template-columns: 1fr;
  }

  .dingxi-facts {
    grid-template-columns: 1fr;
  }

  .site-header.multi-header .nav-links {
    position: absolute;
    top: 72px;
  }
}


/* ==========================================================================
   Floating Museum Background Music Player Pill
   ========================================================================== */
.bgm-player {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 1.05rem 0.62rem 0.8rem;
  border-radius: 999px;
  background: rgba(252, 251, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(138, 61, 88, 0.28);
  box-shadow: 0 12px 32px rgba(35, 28, 26, 0.14);
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bgm-player:hover {
  transform: translateY(-2px);
  border-color: var(--plum);
  box-shadow: 0 16px 36px rgba(138, 61, 88, 0.22);
}

.bgm-player.is-playing {
  background: rgba(252, 251, 249, 0.96);
  border-color: var(--plum);
}

.bgm-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--plum-tint);
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.bgm-player.is-playing .bgm-icon-wrap {
  background: var(--plum);
  color: #fff;
}

.bgm-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.bgm-bars i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: currentColor;
  height: 4px;
  transition: height 0.2s ease;
}

.bgm-player.is-playing .bgm-bars i:nth-child(1) { animation: eqBar 0.9s ease-in-out infinite; }
.bgm-player.is-playing .bgm-bars i:nth-child(2) { animation: eqBar 0.72s ease-in-out 0.15s infinite; }
.bgm-player.is-playing .bgm-bars i:nth-child(3) { animation: eqBar 1.05s ease-in-out 0.3s infinite; }
.bgm-player.is-playing .bgm-bars i:nth-child(4) { animation: eqBar 0.8s ease-in-out 0.1s infinite; }

@keyframes eqBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.bgm-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.bgm-title {
  font-family: var(--serif);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.bgm-sub {
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .bgm-player {
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.52rem 0.9rem 0.52rem 0.65rem;
  }
  .bgm-sub {
    display: none;
  }
}
