:root {
  --ink: #17110d;
  --ink-2: #221912;
  --paper: #f0e4ca;
  --paper-dim: #cbbca0;
  --gold: #caa15a;
  --gold-bright: #e9cb8c;
  --cinnabar: #8e2018;
  --cinnabar-bright: #b52d20;
  --line: rgba(226, 198, 138, 0.18);
  --serif: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(142, 32, 24, 0.28), transparent 50%),
    radial-gradient(ellipse at 80% 10%, rgba(202, 161, 90, 0.12), transparent 45%),
    linear-gradient(180deg, #1a120c 0%, #120d09 50%, #0e0a07 100%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; max-width: 1120px; margin: 0 auto;
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(23, 17, 13, 0.72);
  border-bottom: 1px solid transparent;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand strong { display: block; font-size: 0.92rem; letter-spacing: 0.04em; }
.brand small { color: var(--paper-dim); font-size: 0.72rem; }
.seal {
  width: 2.2rem; height: 2.2rem; border-radius: 0.4rem;
  background: var(--cinnabar); color: var(--gold-bright);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(233, 203, 140, 0.35);
}
.top-nav { display: flex; gap: 1.1rem; align-items: center; font-size: 0.88rem; }
.top-nav a { color: var(--paper-dim); transition: color .15s; }
.top-nav a:hover { color: var(--gold-bright); }
.cta-link {
  padding: 0.4rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(202, 161, 90, 0.45);
  color: var(--gold-bright) !important;
  background: rgba(142, 32, 24, 0.25);
}

main { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.hero { padding: 3.2rem 0 2.5rem; max-width: 720px; }
.eyebrow {
  margin: 0 0 1rem; color: var(--gold);
  letter-spacing: 0.14em; font-size: 0.78rem; text-transform: uppercase;
}
.hero h1 {
  margin: 0; font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.6rem); font-weight: 700;
  letter-spacing: 0.18em; line-height: 1.05;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #a8783a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin: 0.85rem 0 0; font-family: var(--serif);
  font-size: 1.25rem; color: var(--paper); letter-spacing: 0.08em;
}
.hero-lead {
  margin: 1.35rem 0 0; color: var(--paper-dim); font-size: 1.02rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 0.85rem 1.35rem; border-radius: 0.65rem;
  border: 1px solid var(--line); transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn span { font-weight: 600; letter-spacing: 0.06em; }
.btn small { color: rgba(240, 228, 202, 0.65); font-size: 0.72rem; margin-top: 0.15rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--cinnabar-bright), var(--cinnabar));
  border-color: rgba(233, 203, 140, 0.35);
  box-shadow: 0 10px 28px rgba(142, 32, 24, 0.35);
}
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--paper-dim); }
.btn-ghost:hover { border-color: rgba(202, 161, 90, 0.45); color: var(--paper); }

.stats {
  list-style: none; padding: 0; margin: 2.4rem 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem;
}
.stats li {
  padding: 0.9rem 0.85rem; border-radius: 0.65rem;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}
.stats b { display: block; font-size: 1.2rem; color: var(--gold-bright); letter-spacing: 0.02em; }
.stats span { font-size: 0.75rem; color: var(--paper-dim); }

.section-head { margin: 3.5rem 0 1.4rem; }
.section-head h2 {
  margin: 0; font-family: var(--serif); font-size: 1.75rem;
  letter-spacing: 0.12em; font-weight: 700;
}
.section-head p { margin: 0.55rem 0 0; color: var(--paper-dim); max-width: 40rem; }

.pair {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 860px) {
  .pair { grid-template-columns: 1fr 1fr; }
}
.pair figure { margin: 0; }
.frame {
  border-radius: 0.75rem; overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0705;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  aspect-ratio: 16 / 9;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption {
  margin-top: 0.65rem; display: flex; align-items: center; gap: 0.55rem;
  color: var(--paper-dim); font-size: 0.88rem;
}
.tag {
  display: inline-block; padding: 0.12rem 0.5rem; border-radius: 999px;
  font-size: 0.7rem; letter-spacing: 0.08em;
  background: rgba(202, 161, 90, 0.15); color: var(--gold);
  border: 1px solid rgba(202, 161, 90, 0.3);
}
.tag-ours {
  background: rgba(142, 32, 24, 0.28); color: #f0b4a8;
  border-color: rgba(181, 45, 32, 0.45);
}

.frames-row {
  margin-top: 1.1rem; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 0.65rem;
}
.frames-row img {
  width: 100%; border-radius: 0.5rem;
  border: 1px solid var(--line); object-fit: cover; aspect-ratio: 16/10;
  opacity: 0.9;
}

.note {
  margin: 1.25rem 0 0; color: var(--paper-dim); font-size: 0.92rem;
  padding: 0.95rem 1.1rem; border-left: 3px solid var(--cinnabar);
  background: rgba(255,255,255,0.025); border-radius: 0 0.5rem 0.5rem 0;
}
.center { text-align: center; margin-top: 1.75rem; }
.center .btn { display: inline-flex; }

.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cards article {
  padding: 1.2rem 1.15rem; border-radius: 0.75rem;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}
.cards h3 {
  margin: 0 0 0.75rem; font-family: var(--serif);
  letter-spacing: 0.1em; font-size: 1.05rem; color: var(--gold-bright);
}
.cards blockquote {
  margin: 0; padding: 0; border: 0;
  color: var(--paper); font-size: 0.9rem; line-height: 1.7;
}
.cards ul { margin: 0; padding-left: 1.1rem; color: var(--paper-dim); }
.cards li { margin: 0.3rem 0; }
.muted { margin: 0.75rem 0 0; color: rgba(203, 188, 160, 0.75); font-size: 0.8rem; }

.foot {
  max-width: 1120px; margin: 0 auto; padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
  color: var(--paper-dim); font-size: 0.85rem;
}
.foot strong { color: var(--paper); display: block; margin-bottom: 0.25rem; }
.foot p { margin: 0; }
.foot-meta { display: flex; flex-direction: column; gap: 0.25rem; text-align: right; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .top-nav a:not(.cta-link) { display: none; }
  .foot-meta { text-align: left; }
  .hero { padding-top: 2rem; }
}
