:root {
  --ink: #14110e;
  --ink-soft: #2a251f;
  --bone: #f3ece1;
  --paper: #faf6ef;
  --line: rgba(20, 17, 14, 0.14);
  --cinnabar: #c41e3a;
  --gold: #a57c4a;
  --theater: #090807;
  --theater-lift: #141210;
  --ivory: #efe6d6;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --display: "Cormorant Garamond", "Palatino Linotype", "Noto Serif SC", serif;
  --ui: "Outfit", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--bone);
  overflow-x: hidden;
  font-weight: 500;
  -webkit-font-smoothing: auto;
}

img, video { max-width: 100%; display: block; }
button, select, textarea, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.promo-bar {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.promo-bar a { color: #fff; margin-left: 10px; font-weight: 700; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand strong {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.brand span { display: block; font-family: var(--ui); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.mast nav { display: flex; gap: 8px; flex-wrap: wrap; }
.mast nav a {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid transparent;
}
.mast nav a:hover, .mast nav a.current, .mast nav .nav-btn:hover { border-color: var(--ink); }
.nav-btn {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 0;
}
.mast.on-dark {
  background: color-mix(in srgb, var(--theater) 88%, transparent);
  color: var(--bone);
  border-bottom-color: rgba(243,236,225,.12);
}
.mast.on-dark .brand span, .mast.on-dark .live-dot { color: rgba(243,236,225,.7); }
.mast.on-dark nav a:hover, .mast.on-dark nav a.current, .mast.on-dark .nav-btn:hover { border-color: var(--bone); }
.mast-cta {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cinnabar);
  color: #fff;
  border: 0;
}
.mast.on-dark .mast-cta { background: var(--bone); color: var(--ink); }
.intro-wrap { padding: 28px 0 0; }
.purpose { margin-bottom: 16px; }
.spec-live {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-soft);
  min-height: 38px;
  margin: 8px 0 14px;
}
.theater .spec-live { color: #efe6d6; }
.solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.tag-dark { border-color: rgba(243,236,225,.35); color: #f6f0e6; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
}
.contact-card small {
  font-family: var(--ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--cinnabar);
}
.contact-card h3 { font-family: var(--display); font-size: 28px; margin: 8px 0 10px; font-weight: 500; }
.contact-card p { color: var(--ink-soft); line-height: 1.7; font-size: 16px; font-weight: 500; }
.contact-card .solid { margin-top: 8px; width: auto; padding: 12px 20px; }
.wechat-card { text-align: center; }
.wechat-qr {
  width: min(280px, 100%);
  margin: 12px auto;
  border-radius: 12px;
  background: #fff;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.contact-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.contact-actions button:hover { border-color: var(--ink); }
.wechat-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(20,17,14,.25);
}
.wechat-box {
  position: relative;
  width: min(420px, 92vw);
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 36px 24px 22px;
  text-align: center;
}
.wechat-box #wechat-close {
  color: var(--ink);
  border-color: var(--line);
}
.wechat-box img { width: min(280px, 100%); margin: 12px auto; border-radius: 12px; background: #fff; }
.wechat-box h2 { font-family: var(--display); font-size: 32px; margin: 6px 0; font-weight: 500; }
.wechat-box .kicker { color: var(--cinnabar); }
.foot-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  height: calc(100svh - 108px);
  min-height: 640px;
}
.hero-still, .hero-motion { position: relative; overflow: hidden; min-height: 0; height: 100%; }
.hero-still { background: #d7cfc3; }
.hero-still img, .hero-motion video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-still img { object-position: 50% 18%; }
.hero-motion { background: var(--theater); color: var(--bone); }
.hero-motion video { opacity: 0.88; }
.hero-copy {
  position: absolute;
  inset: auto 28px 28px 28px;
  z-index: 2;
}
.hero-still .hero-copy { color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,.45); }
.kicker {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.hero h1, .hero h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.92;
  margin: 0;
}
.hero h1 { font-size: clamp(48px, 7vw, 92px); }
.hero h2 { font-size: clamp(40px, 5.6vw, 76px); }
.hero p { max-width: 38ch; font-size: 16px; font-weight: 500; line-height: 1.7; }
.veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9,8,7,.82) 100%);
}
.hero-still .veil {
  background: linear-gradient(180deg, transparent 48%, rgba(20,17,14,.78) 100%);
}

.purpose {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
}
.purpose b {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cinnabar);
}
.purpose strong { display: block; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.purpose p { margin: 0; color: var(--ink-soft); font-size: 15px; font-weight: 500; line-height: 1.65; }
.purpose.dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(243,236,225,.22);
  color: #f6f0e6;
}
.purpose.dark p { color: #efe6d6; }

.wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 72px 0 88px; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin-bottom: 36px;
  align-items: end;
}
.idx {
  font-family: var(--ui);
  font-size: 72px;
  line-height: 0.8;
  color: var(--cinnabar);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 8px;
  font-weight: 500;
}
.lede { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.75; color: var(--ink-soft); }

.stage {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.panel h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.hint { font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); margin: 0 0 16px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span, .label {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
select, textarea, input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 15px;
  font-weight: 500;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
select:focus, textarea:focus, input:focus { border-color: var(--ink); }
textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.modes { display: flex; gap: 6px; margin-bottom: 14px; }
.modes button, .chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 10px;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.modes button.active, .chip.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0 4px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
}
.readout output { font-size: 20px; font-family: var(--display); font-weight: 600; }

.ghost, .solid {
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  font-family: var(--ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}
.solid { background: var(--cinnabar); color: #fff; border: 0; }
.ghost { background: transparent; border: 1px solid var(--line); margin-top: 8px; }

.payload {
  margin-top: 14px;
  background: var(--ink);
  color: #efe6d6;
  border-radius: 12px;
  padding: 12px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: 180px;
  overflow: auto;
}
.payload[hidden] { display: none; }

.views { display: grid; gap: 6px; margin: 8px 0 12px; }
.views li {
  list-style: none;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.views { padding: 0; margin-left: 0; }
.views b { color: var(--cinnabar); font-family: var(--ui); font-weight: 700; }

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  grid-template-rows: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  min-height: 720px;
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #cfc6b8;
  cursor: pointer;
  min-height: 0;
}
.shot:first-child { grid-row: span 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s ease; }
.shot:first-child img { object-position: 50% 8%; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  color: #fff;
  text-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.shot figcaption small {
  font-family: var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.shot figcaption strong { display: block; font-size: 22px; font-family: var(--display); font-weight: 600; }
.shot .zoom {
  position: absolute; top: 12px; right: 12px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(9,8,7,.45);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity .2s ease;
}
.shot:hover .zoom, .shot.selected .zoom { opacity: 1; }
.shot.selected { outline: 2px solid var(--cinnabar); outline-offset: 3px; }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
}

.theater {
  background: var(--theater);
  color: var(--bone);
}
.theater .panel {
  background: var(--theater-lift);
  border-color: rgba(243,236,225,.12);
}
.theater select, .theater textarea, .theater input {
  background: #1b1815;
  color: var(--bone);
  border-color: rgba(243,236,225,.16);
}
.theater .hint, .theater .label, .theater .field span { color: #efe6d6; }
.theater .modes button, .theater .chip { border-color: rgba(243,236,225,.18); color: var(--bone); }
.theater .modes button.active, .theater .chip.active { background: var(--bone); color: var(--ink); }
.theater .ghost { border-color: rgba(243,236,225,.2); color: var(--bone); }
.theater .views li { background: #161310; border-color: rgba(243,236,225,.1); }

.player-wrap {
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(243,236,225,.12);
  display: flex;
  flex-direction: column;
}
.player-wrap video { width: 100%; max-height: 62vh; background: #000; margin: 0 auto; }
.player-wrap.portrait { align-items: center; }
.player-wrap.portrait .player-meta,
.player-wrap.portrait .playlist { width: 100%; }
.player-wrap.portrait video { max-height: 68vh; width: auto; max-width: 100%; }
.player-meta { padding: 16px 18px 8px; display: flex; justify-content: space-between; gap: 16px; }
.player-meta h3 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 500; }
.player-meta p { margin: 6px 0 0; color: #efe6d6; font-size: 15px; font-weight: 500; }

.playlist {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 0 18px 18px;
}
.ticket {
  border: 1px solid rgba(243,236,225,.14);
  background: #110f0d;
  color: inherit;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.ticket img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ticket.portrait img { aspect-ratio: 3/4; }
.ticket div { padding: 8px; }
.ticket small { font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #f0a3ad; }
.ticket strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; color: #f6f0e6; }
.ticket.active { border-color: var(--cinnabar); box-shadow: 0 0 0 1px var(--cinnabar) inset; }
.ticket.dim { opacity: 0.38; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
}
.spec-card h3 { font-family: var(--display); font-size: 32px; margin: 0 0 8px; font-weight: 600; }
.spec-card dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 12px; margin: 16px 0 0; font-size: 16px; }
.spec-card dt { font-family: var(--ui); letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.spec-card dd { margin: 0; font-weight: 500; color: var(--ink); }
.spec-card.spec-card-dark {
  background: #161310;
  color: #f6f0e6;
  border-color: #4a433a;
}
.spec-card.spec-card-dark h3 { color: #fff; }
.spec-card.spec-card-dark dt { color: #e2c089; }
.spec-card.spec-card-dark dd { color: #f6f0e6; }
.spec-card.spec-card-dark .purpose {
  background: rgba(255,255,255,.08);
  border-color: rgba(246,240,230,.22);
  color: #f6f0e6;
}
.spec-card.spec-card-dark .purpose p { color: #efe6d6; }
.spec-card.spec-card-dark .purpose b { color: #f0a3ad; }

.foot {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.foot code { font-family: ui-monospace, Consolas, monospace; color: var(--ink); }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(9,8,7,.88);
  display: grid; place-items: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 980px); max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute; top: 18px; right: 18px;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
  padding: 8px 12px; border-radius: 999px; font-family: var(--ui);
}

.match { font-family: var(--ui); font-size: 14px; font-weight: 600; color: #e2c089; min-height: 18px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-still, .hero-motion { height: 78vh; min-height: 520px; }
  .stage, .section-head, .specs, .gallery, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-rows: none; min-height: 0; }
  .shot:first-child { grid-row: auto; min-height: 420px; }
  .shot { min-height: 280px; }
  .playlist { grid-template-columns: repeat(2, 1fr); }
  .mast { flex-wrap: wrap; }
  .idx { font-size: 48px; }
  .mast-cta { width: 100%; text-align: center; }
}
