:root {
  --ink: #16110e;
  --paper: #efe4cf;
  --paper-2: #d8ccb4;
  --lantern: #d4652f;
  --lantern-dim: #a34b22;
  --moss: #2f4a3c;
  --line: #3a3228;
  --mute: #8a7d6e;
  --device: #101412;
  --ok: #3dba7a;
  --warn: #c9892d;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Iowan Old Style", "Songti SC", "Noto Serif SC", Georgia, serif;
  background: var(--ink);
  color: var(--paper);
}
a { color: inherit; }
button, input, .sans { font-family: "Avenir Next", "PingFang SC", "Hiragino Sans", sans-serif; }
.top {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 28px; border-bottom: 1px solid #2a241c;
  position: sticky; top: 0; background: rgba(22,17,14,.92); z-index: 5;
  backdrop-filter: blur(10px);
  min-height: 56px;
}
.brand { letter-spacing: .28em; font-size: 13px; text-transform: uppercase; text-decoration: none; }
.brand b { color: var(--lantern); font-weight: 600; }
nav.main { display: flex; gap: 18px; font-size: 14px; color: var(--paper-2); margin-left: auto; }
nav a { text-decoration: none; opacity: .7; }
nav a.on, nav a:hover { opacity: 1; color: #fff; }
.who { font-size: 12px; color: var(--mute); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 48px; }
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch;
  padding: 8px 0 36px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; font-weight: 500; margin: 0 0 14px; }
.hero p { color: #cfc3ae; font-size: 16px; line-height: 1.65; max-width: 36em; margin: 0; }
.kicker { font-family: "Avenir Next", "PingFang SC", sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--lantern); margin-bottom: 10px; }
.hero-shot { position: relative; min-height: 280px; overflow: hidden; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  appearance: none; border: 1px solid var(--lantern); background: var(--lantern);
  color: #fff; padding: 10px 16px; border-radius: 2px; cursor: pointer; font-size: 14px;
  text-decoration: none; display: inline-block;
  transition: transform 140ms var(--ease-out), opacity 140ms var(--ease-out);
}
.btn.ghost { background: transparent; color: var(--paper); border-color: #5a4e40; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:active { transform: scale(0.97); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--paper); color: var(--ink); overflow: hidden;
  text-decoration: none; display: block;
  transition: transform 180ms var(--ease-out);
}
.card img { width: 100%; height: 280px; object-fit: cover; object-position: top; display: block; }
.card .meta { padding: 14px 16px 18px; }
.card h3 { margin: 0 0 4px; font-size: 22px; font-weight: 550; }
.card .role { font-family: "Avenir Next", "PingFang SC", sans-serif; font-size: 11px; letter-spacing: .14em; color: var(--lantern-dim); text-transform: uppercase; }
.card p { margin: 8px 0 0; font-size: 14px; color: #4a4036; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); }
}
.section { margin: 8px 0 16px; font-size: 13px; color: var(--mute); }
.panel {
  background: #1c1814; border: 1px solid var(--line); padding: 18px; margin: 16px 0;
}
.panel h2 { margin: 0 0 8px; font-size: 22px; font-weight: 500; }
.muted { color: var(--mute); font-size: 14px; line-height: 1.6; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--paper-2); }
input[type=email], input[type=password], input[type=text] {
  background: #0f0d0b; border: 1px solid #3a3228; color: var(--paper);
  padding: 9px 12px; min-width: 220px; font-size: 14px;
}
input:focus { outline: 1px solid var(--lantern); }
.device {
  background: var(--device); border: 1px solid #2a3a32; padding: 16px;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
}
.kv { display: flex; justify-content: space-between; font-size: 13px; margin: 6px 0; color: #c5d0c8; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #555; margin-right: 8px; }
.dot.on { background: var(--ok); }
.beat {
  border-left: 3px solid #3a3228; padding: 10px 12px; margin: 8px 0; color: #ddd2c0;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.beat.on { border-color: var(--lantern); background: #241c16; color: #fff; }
.log { font-family: ui-monospace, monospace; font-size: 11px; color: #7d8a82; white-space: pre-wrap; max-height: 140px; overflow: auto; }
.warn { color: #e0b36a; font-size: 13px; }
.ok { color: var(--ok); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.steps { display: grid; gap: 0; margin: 12px 0 36px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid #2a241c; }
.step:last-child { border-bottom: 1px solid #2a241c; }
.n { font-family: "Avenir Next", sans-serif; color: var(--lantern); font-size: 20px; }
.scene-row {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid #2a241c; text-decoration: none;
}
.scene-row img { width: 88px; height: 88px; object-fit: cover; object-position: top; }
.meters { display: grid; gap: 8px; margin: 12px 0; }
.meter { display: grid; grid-template-columns: 48px 1fr 36px; gap: 8px; align-items: center; font-size: 12px; color: #9aa79f; font-family: "Avenir Next", "PingFang SC", sans-serif; }
.meter .bar { height: 6px; background: #1c2822; }
.meter .bar > i { display: block; height: 100%; width: 0%; background: var(--lantern); transition: width 120ms linear; }
.plans { display: grid; gap: 12px; }
.plan {
  border: 1px solid var(--line); padding: 18px; background: #1c1814;
}
.plan.plus { border-color: var(--lantern); }
.plan h3 { margin: 0 0 6px; font-size: 24px; }
.plan .price { font-size: 28px; margin: 8px 0; }
.plan ul { margin: 8px 0 16px; padding-left: 18px; color: #cfc3ae; font-size: 14px; line-height: 1.6; }
.gate {
  position: fixed; inset: 0; background: rgba(10,8,6,.92); z-index: 20;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.gate-box { max-width: 420px; background: #1c1814; border: 1px solid var(--line); padding: 28px; }
.foot {
  text-align: center; color: var(--mute); font-size: 12px; padding: 8px 16px 28px;
}
.portrait { width: 100%; max-height: 520px; object-fit: cover; object-position: top; }
audio { width: 100%; margin-top: 12px; }
@media (max-width: 840px) {
  .hero, .grid, .split { grid-template-columns: 1fr; }
  .card img { height: 320px; }
  .top { padding: 12px 14px; flex-wrap: wrap; }
  nav.main {
    order: 3; width: 100%; margin-left: 0; padding-top: 8px;
    justify-content: space-between; gap: 0; font-size: 13px;
    flex-wrap: nowrap;
  }
  .who { margin-left: auto; max-width: 42vw; }
  .scene-row { grid-template-columns: 72px 1fr; }
  .scene-row .btn { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .beat, .meter .bar > i { transition: none; }
}
