:root {
  --ink: #0b181a;
  --ink-2: #112a2a;
  --pine: #1f5349;
  --gold: #d5a648;
  --gold-light: #f5d689;
  --ivory: #efe8d6;
  --paper: #f6f1e7;
  --steel: #718b88;
  --red: #93362a;
  --line: rgba(239, 232, 214, 0.16);
  --shadow: rgba(0, 0, 0, 0.32);
  color-scheme: dark;
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, rgba(213, 166, 72, 0.08) 0 1px, transparent 1px 92px),
    linear-gradient(90deg, rgba(113, 139, 136, 0.08) 0 1px, transparent 1px 74px),
    linear-gradient(135deg, transparent 0 18%, rgba(31, 83, 73, 0.2) 18% 28%, transparent 28% 100%),
    linear-gradient(180deg, var(--ink) 0%, #102120 52%, #0d1718 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 24, 26, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
  font-weight: 700;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 214, 137, 0.36);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(239, 232, 214, 0.78);
  text-align: center;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--gold-light);
  background: rgba(213, 166, 72, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(239, 232, 214, 0.06);
  color: var(--ivory);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.section-band {
  position: relative;
  overflow: hidden;
}

.section-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(245, 214, 137, 0.09), transparent 38%),
    repeating-linear-gradient(100deg, transparent 0 44px, rgba(239, 232, 214, 0.05) 45px 46px);
  pointer-events: none;
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 72px 32px 48px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 192px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 15vw, 11.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(239, 232, 214, 0.82);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(245, 214, 137, 0.5);
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: #1a170f;
  background: var(--gold-light);
}

.button.ghost {
  color: var(--gold-light);
  background: rgba(245, 214, 137, 0.08);
}

.hero-art {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 15, 16, 0.48);
  box-shadow: 0 24px 80px var(--shadow);
}

.hero-art img {
  border-radius: 6px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(245, 214, 137, 0.24);
  background: rgba(245, 214, 137, 0.24);
}

.signal-grid span {
  min-width: 0;
  padding: 10px 6px;
  background: rgba(11, 24, 26, 0.9);
  color: rgba(239, 232, 214, 0.76);
  font-size: 0.86rem;
  text-align: center;
}

.quick-facts {
  padding: 0 32px 48px;
}

.quick-facts dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.quick-facts div {
  min-width: 0;
  padding: 22px;
  background: rgba(17, 42, 42, 0.78);
}

.quick-facts dt {
  color: var(--steel);
  font-size: 0.82rem;
}

.quick-facts dd {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 32px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: stretch;
}

.story-panel,
.quote-panel,
.person-card,
.tab-panel,
.schedule-card,
.seo-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 42, 42, 0.7);
}

.story-panel {
  padding: 32px;
  color: rgba(239, 232, 214, 0.83);
  font-size: 1.08rem;
}

.story-panel p {
  margin: 0;
}

.story-panel p + p {
  margin-top: 18px;
}

.quote-panel {
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  padding: 28px;
  background:
    linear-gradient(155deg, rgba(147, 54, 42, 0.34), transparent 55%),
    rgba(213, 166, 72, 0.12);
}

.quote-panel p {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.person-card {
  min-height: 242px;
  padding: 24px;
}

.person-index {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.person-card h3 {
  margin: 32px 0 12px;
  font-size: 1.6rem;
}

.person-card p {
  margin: 0;
  color: rgba(239, 232, 214, 0.76);
}

.case-tabs {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.tab-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.tab-button {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(17, 42, 42, 0.72);
  color: rgba(239, 232, 214, 0.78);
  text-align: left;
  cursor: pointer;
}

.tab-button[aria-selected="true"] {
  border-color: rgba(245, 214, 137, 0.62);
  background: rgba(213, 166, 72, 0.16);
  color: var(--gold-light);
}

.tab-panel {
  min-height: 240px;
  padding: 32px;
}

.tab-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.14;
}

.tab-panel p {
  max-width: 680px;
  margin: 0;
  color: rgba(239, 232, 214, 0.78);
  font-size: 1.08rem;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 16px;
}

.schedule-card,
.seo-copy {
  padding: 28px;
}

.schedule-date {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
}

.schedule-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.25;
}

.schedule-card p,
.seo-copy p {
  margin: 12px 0 0;
  color: rgba(239, 232, 214, 0.76);
}

.seo-copy h3 {
  margin: 0;
  font-size: 1.55rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px;
  border-top: 1px solid var(--line);
  color: rgba(239, 232, 214, 0.72);
  background: rgba(7, 15, 16, 0.72);
}

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

.site-footer a {
  color: var(--gold-light);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    display: none;
    width: min(280px, calc(100vw - 36px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(11, 24, 26, 0.96);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding: 54px 18px 32px;
  }

  .hero-grid,
  .story-layout,
  .case-tabs,
  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 32px;
  }

  .quick-facts {
    padding: 0 18px 28px;
  }

  .quick-facts dl,
  .cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 58px 18px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 18px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 42px;
    height: 42px;
  }

  .quick-facts dl,
  .cast-grid,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .hero-art {
    padding: 10px;
  }

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

  .story-panel,
  .quote-panel,
  .person-card,
  .tab-panel,
  .schedule-card,
  .seo-copy {
    padding: 22px;
  }

  .quote-panel {
    min-height: 210px;
  }

  .quote-panel p {
    font-size: 1.24rem;
  }
}
