/* roulang page: index */
:root {
  --ink: #1C1915;
  --ink-2: #000000;
  --cinnabar: #A33B32;
  --cinnabar-deep: #7E2C26;
  --plum: #5E3A49;
  --paper: #F3EEE6;
  --paper-2: #E7E1D6;
  --sheet: #F7F3EC;
  --text: #221F1B;
  --muted: #6E675E;
  --line: #D9D1C5;
  --white: #fff;
  --radius: 2px;
  --shadow: 0 8px 24px rgba(28, 25, 21, .06);
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
  --pad: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.prose { max-width: 34em; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cinnabar);
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cinnabar);
}
.section { padding: var(--pad) 0; }
.section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.lead { color: var(--muted); max-width: 34em; margin-bottom: 36px; }
.bg-paper { background: var(--paper); }
.bg-alt { background: var(--paper-2); }
.bg-sheet { background: var(--sheet); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.3;
  max-width: 46vw;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
  transition: color .18s;
}
.nav-links a:hover { color: var(--cinnabar); }
.nav-links a.active { box-shadow: inset 0 -1px 0 var(--ink); }
.nav-links a.active::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cinnabar);
  display: inline-block;
  margin-right: 8px;
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  letter-spacing: 0.12em;
  color: var(--ink);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 1px solid var(--plum);
  outline-offset: 3px;
}

.hero { padding: 72px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .72fr);
  gap: 56px;
  align-items: end;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 18px; }
.pain {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--plum);
  margin-bottom: 18px;
  max-width: 18em;
}
.hero .intro { color: var(--text); margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}
.btn span { border-bottom: 1px solid transparent; transition: transform .18s, border-color .18s; }
.btn:hover span { transform: translateY(1px); border-bottom-color: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-solid:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: var(--cinnabar); border-color: var(--cinnabar); }
.btn-line:hover { color: var(--cinnabar-deep); border-color: var(--cinnabar-deep); }
.hero-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  align-items: end;
  max-width: 460px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.hero-entry label, .field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-entry select, .field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
}
.hero-entry select:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--ink);
}
.text-link {
  color: var(--cinnabar);
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color .18s, color .18s;
}
.text-link:hover { color: var(--cinnabar-deep); border-bottom-color: currentColor; }
.tier-rail {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tier-rail a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: center;
  padding: 18px 18px;
  border-bottom: 1px solid var(--line);
  transition: background .18s, color .18s;
}
.tier-rail a:last-child { border-bottom: 0; }
.tier-rail a:hover { background: var(--paper); color: var(--cinnabar); }
.tier-rail strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.tier-rail span { display: block; color: var(--muted); font-size: 13px; }
.tier-rail b { font-weight: 600; color: var(--text); }

.matrix {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  padding: 28px 26px 24px;
  transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-2px); border-color: #c9bfb0; }
.card-lg { grid-row: span 3; background: var(--paper); display: flex; flex-direction: column; min-height: 100%; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--plum);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.card h3 { font-size: 30px; margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card ul li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.card-lg .meta-foot { margin-top: auto; padding-top: 28px; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 8px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.stat span { color: var(--muted); font-size: 14px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 1px;
  background: var(--line);
}
.step { position: relative; padding-top: 42px; }
.step i {
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--cinnabar);
}
.step em {
  display: block;
  font-style: normal;
  font-family: var(--serif);
  color: var(--cinnabar);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.wall {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.shot a { display: block; color: inherit; }
.frame {
  position: relative;
  background: #e4ddd2;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 180px;
  aspect-ratio: 16 / 9;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .18s;
}
.shot.tall .frame { aspect-ratio: 3 / 4; min-height: 420px; }
.shot:hover .frame { transform: translateY(-2px); }
.frame strong {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.frame em { font-style: normal; color: var(--plum); margin-top: 6px; }
.corner {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.f2 { background: #ddd4c8; }
.f3 { background: #e9e0d4; }
.f4 { background: #d9cfc3; }
.f5 { background: #e7dcd0; }
.f6 { background: #d4cbc0; }
.shot p { padding: 12px 2px 0; color: var(--muted); font-size: 14px; }

.topic {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: end;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 36px 0;
}
.topic h2 { margin-bottom: 12px; }
.topic p { color: var(--muted); max-width: 38em; }

.bars { display: flex; flex-direction: column; }
.bar {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.bar:last-child { border-bottom: 1px solid var(--line); }
.bar h3 { font-size: 28px; }
.bar p { color: var(--muted); max-width: 40em; }

.news {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 48px;
  align-items: start;
}
.news-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  transition: color .18s;
}
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row time { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; padding-top: 4px; }
.news-row h3 { font-size: 22px; margin-bottom: 6px; transition: color .18s; }
.news-row:hover h3 { color: var(--cinnabar); }
.news-row p { color: var(--muted); font-size: 14px; }

.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.pick {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  padding: 22px 20px 18px;
  transition: transform .18s;
}
.pick:hover { transform: translateY(-2px); }
.pick h3 { font-size: 22px; margin: 12px 0; }
.pick p { color: var(--muted); font-size: 14px; }

.marks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.mark {
  padding: 32px 12px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  letter-spacing: 0.14em;
  font-family: var(--serif);
  font-size: 18px;
}
.mark:last-child { border-right: 0; }
.mark small { display: block; margin-top: 8px; letter-spacing: 0; font-family: var(--sans); font-size: 12px; color: var(--muted); }

.scene {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.scene:first-of-type { border-top: 1px solid var(--line); }
.scene h3 { font-size: 26px; }
.scene p { color: var(--muted); max-width: 40em; }
.index { font-family: var(--serif); color: var(--cinnabar); font-size: 13px; letter-spacing: 0.14em; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--cinnabar); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); max-width: 40em; padding: 0 0 20px; }

.age {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--plum);
  font-size: 14px;
  background: var(--paper);
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact h2 { margin-bottom: 16px; }
.field { margin-bottom: 8px; }
.field textarea { min-height: 96px; resize: vertical; }
.form-note { min-height: 1.5em; color: var(--cinnabar); margin-top: 12px; }

.site-footer { background: var(--ink); color: #E7E1D6; padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(217, 209, 197, .25);
}
.site-footer strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}
.site-footer p, .site-footer a { color: #C9C0B4; font-size: 14px; }
.site-footer h3 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 14px;
}
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: var(--white); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  color: #A39A8E;
  font-size: 13px;
}

@media (max-width: 1080px) {
  :root { --pad: 80px; }
  .hero-grid, .matrix, .news, .contact, .topic, .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-lg { grid-row: auto; }
  .wall { grid-template-columns: 1fr 1fr; }
  .shot.tall .frame { aspect-ratio: 16 / 9; min-height: 220px; }
  .stats, .steps, .marks { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat { margin-bottom: 24px; }
  .steps::before { display: none; }
  .mark:nth-child(2) { border-right: 0; }
  .footer-grid { gap: 28px; }
}
@media (max-width: 720px) {
  :root { --pad: 56px; }
  .container, .header-inner { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; position: relative; z-index: 45; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 104px 32px 40px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    font-size: 26px;
    font-family: var(--serif);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .matrix, .news, .contact, .topic, .footer-grid, .wall, .stats, .steps, .marks, .scene, .bar, .hero-entry {
    grid-template-columns: 1fr;
  }
  .logo { font-size: 15px; max-width: 62vw; }
  .pain { font-size: 18px; }
  .card h3, .bar h3, .scene h3 { font-size: 24px; }
  .frame strong { font-size: 22px; }
  .mark { border-right: 0; }
  .legal { flex-direction: column; }
  .topic .btn { justify-self: start; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 34px; }
  .section h2 { font-size: 30px; }
  .actions, .btn { width: 100%; }
  .faq summary { font-size: 18px; }
  .stat b { font-size: 40px; }
}

/* roulang page: category1 */
:root {
 --ink: #1C1915;
 --ink-2: #000000;
 --cinnabar: #A33B32;
 --cinnabar-deep: #7E2C26;
 --plum: #5E3A49;
 --paper: #F3EEE6;
 --paper-2: #E7E1D6;
 --sheet: #F7F3EC;
 --text: #221F1B;
 --muted: #6E675E;
 --line: #D9D1C5;
 --white: #fff;
 --radius: 2px;
 --shadow: 0 8px 24px rgba(28, 25, 21, .06);
 --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
 --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 --max: 1120px;
 --pad: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, h1, h2, h3, h4 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 {
 font-family: var(--serif);
 font-weight: 500;
 letter-spacing: -0.04em;
 line-height: 1.25;
 color: var(--ink);
}
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--pad) 0; }
.section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.lead { color: var(--muted); max-width: 34em; margin-bottom: 36px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: var(--white);
 border-bottom: 1px solid var(--line);
}
.header-inner {
 width: min(var(--max), calc(100% - 48px));
 margin: 0 auto;
 min-height: 84px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 24px;
}
.logo {
 font-family: var(--serif);
 font-size: 18px;
 letter-spacing: -0.04em;
 color: var(--ink);
 line-height: 1.3;
 max-width: 46vw;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
 position: relative;
 font-size: 15px;
 color: var(--text);
 padding: 8px 0;
 transition: color .18s;
}
.nav-links a:hover { color: var(--cinnabar); }
.nav-links a.active { box-shadow: inset 0 -1px 0 var(--ink); }
.nav-links a.active::before {
 content: "";
 width: 4px;
 height: 4px;
 border-radius: 50%;
 background: var(--cinnabar);
 display: inline-block;
 margin-right: 8px;
 transform: translateY(-2px);
}
.nav-toggle {
 display: none;
 border: 0;
 background: transparent;
 padding: 8px 0;
 letter-spacing: 0.12em;
 color: var(--ink);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
 outline: 1px solid var(--plum);
 outline-offset: 3px;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 padding: 0 22px;
 border-radius: 999px;
 border: 1px solid transparent;
 transition: color .18s, background .18s, border-color .18s, transform .18s;
}
.btn span { border-bottom: 1px solid transparent; transition: transform .18s, border-color .18s; }
.btn:hover span { transform: translateY(1px); border-bottom-color: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-solid:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: var(--cinnabar); border-color: var(--cinnabar); }
.btn-line:hover { color: var(--cinnabar-deep); border-color: var(--cinnabar-deep); }
.text-link {
 color: var(--cinnabar);
 padding-bottom: 2px;
 border-bottom: 1px solid transparent;
 transition: border-color .18s, color .18s;
}
.text-link:hover { color: var(--cinnabar-deep); border-bottom-color: currentColor; }
.card {
 border: 1px solid var(--line);
 border-radius: var(--radius);
 background: var(--sheet);
 transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-2px); border-color: #c9bfb0; }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 10px;
 border-radius: 999px;
 border: 1px solid var(--line);
 color: var(--plum);
 font-size: 12px;
 letter-spacing: 0.08em;
 background: transparent;
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
 list-style: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
 padding: 18px 0;
 font-family: var(--serif);
 font-size: 22px;
 letter-spacing: -0.03em;
 color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
 content: "";
 width: 14px;
 height: 1px;
 background: var(--ink);
 flex: 0 0 auto;
}
.faq details p {
 color: var(--muted);
 max-width: 34em;
 padding: 0 0 18px;
}
.field label {
 display: block;
 font-size: 13px;
 color: var(--muted);
 margin-bottom: 6px;
}
.field input, .field select, .field textarea {
 width: 100%;
 background: transparent;
 border: 0;
 border-bottom: 1px solid var(--line);
 border-radius: 0;
 padding: 10px 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); outline: none; }
.cat-head { padding: 48px 0 18px; background: var(--paper); }
.crumb {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
 color: var(--muted);
 font-size: 13px;
 letter-spacing: 0.06em;
 margin-bottom: 22px;
}
.crumb a { border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.crumb a:hover { color: var(--cinnabar); border-bottom-color: currentColor; }
.cat-head h1 { font-size: clamp(36px, 5vw, 60px); max-width: 14em; margin-bottom: 16px; }
.head-row {
 display: flex;
 justify-content: space-between;
 gap: 28px;
 align-items: flex-end;
 border-top: 1px solid var(--line);
 padding-top: 16px;
}
.head-row p { max-width: 34em; color: var(--text); }
.count {
 font-family: var(--serif);
 font-size: 28px;
 letter-spacing: -0.04em;
 color: var(--ink);
 white-space: nowrap;
}
.count small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 4px; }
.filters {
 padding: 6px 0 22px;
 background: var(--sheet);
 border-bottom: 1px solid var(--line);
}
.filter-bar { display: grid; gap: 0; }
.filter-group {
 display: flex;
 flex-wrap: wrap;
 gap: 8px 18px;
 align-items: center;
 padding: 12px 0;
 border-top: 1px solid var(--line);
}
.filter-group b { min-width: 3em; font-weight: 500; font-size: 14px; color: var(--ink); }
.filter-group button {
 border: 0;
 background: transparent;
 padding: 4px 0;
 color: var(--muted);
 transition: color .18s;
}
.filter-group button:hover { color: var(--cinnabar); }
.filter-group button.on { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.filter-group button.on::before {
 content: "";
 width: 4px;
 height: 4px;
 border-radius: 50%;
 background: var(--cinnabar);
 display: inline-block;
 margin-right: 6px;
 transform: translateY(-2px);
}
.list-sec { background: var(--paper); }
.list-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.65fr) minmax(250px, .78fr);
 gap: 48px;
 align-items: start;
}
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.entry a { display: block; color: inherit; height: 100%; }
.entry.feature { grid-column: 1 / -1; }
.entry.feature a { display: grid; grid-template-columns: 1.35fr .9fr; min-height: 100%; }
.frame {
 position: relative;
 background:
  linear-gradient(180deg, rgba(28,25,21,.04), rgba(28,25,21,.12)),
  var(--paper-2);
 aspect-ratio: 3 / 4;
 border-bottom: 1px solid var(--line);
}
.entry.feature .frame {
 aspect-ratio: 16 / 9;
 border-bottom: 0;
 border-right: 1px solid var(--line);
 min-height: 220px;
}
.frame i {
 position: absolute;
 left: 14px;
 bottom: 12px;
 font-style: normal;
 font-size: 12px;
 letter-spacing: 0.14em;
 color: var(--plum);
}
.entry-body { padding: 18px 18px 20px; }
.entry-body .badge { margin-bottom: 12px; }
.entry h3 { font-size: 26px; margin-bottom: 8px; }
.entry p { color: var(--muted); font-size: 14px; }
.meta-line {
 display: flex;
 flex-wrap: wrap;
 gap: 8px 14px;
 margin-top: 14px;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: 12px;
 letter-spacing: 0.06em;
}
.entry.is-hidden { display: none; }
.list-more { margin-top: 22px; }
.empty {
 display: none;
 margin-top: 18px;
 color: var(--muted);
 border-top: 1px solid var(--line);
 padding-top: 16px;
}
.empty.show { display: block; }
.summary {
 position: sticky;
 top: 108px;
 border: 1px solid var(--line);
 background: var(--sheet);
 box-shadow: var(--shadow);
 padding: 28px 24px 22px;
}
.summary h2 { font-size: 32px; margin: 14px 0 12px; }
.summary > p { color: var(--muted); margin-bottom: 18px; }
.summary li {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding: 11px 0;
 border-top: 1px solid var(--line);
 font-size: 14px;
}
.summary li span { color: var(--muted); }
.scope { background: var(--paper-2); }
.scope-grid {
 display: grid;
 grid-template-columns: .82fr 1.18fr;
 gap: 48px;
 align-items: start;
}
.scope h2 { margin-bottom: 0; }
.scope-copy p { max-width: 34em; margin-bottom: 16px; }
.scope-copy p:last-child { margin-bottom: 0; }
.scope-copy a { color: var(--cinnabar); border-bottom: 1px solid transparent; transition: border-color .18s, color .18s; }
.scope-copy a:hover { color: var(--cinnabar-deep); border-bottom-color: currentColor; }
.scenes { background: var(--paper); }
.scene-list { display: grid; gap: 0; margin-top: 8px; }
.scene-row {
 display: grid;
 grid-template-columns: 88px 180px minmax(0, 1fr);
 gap: 18px;
 align-items: center;
 padding: 22px 0;
 border-top: 1px solid var(--line);
 transition: color .18s, transform .18s;
}
.scene-row:last-child { border-bottom: 1px solid var(--line); }
.scene-row:hover { color: var(--cinnabar); transform: translateY(-2px); }
.scene-row strong { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.04em; }
.scene-row em { font-style: normal; color: var(--muted); max-width: 34em; }
.scene-row:hover em { color: var(--cinnabar-deep); }
.rhythm { background: var(--sheet); }
.rhythm-head {
 display: grid;
 grid-template-columns: .8fr 1.2fr;
 gap: 32px;
 align-items: end;
 margin-bottom: 12px;
}
.timeline { margin-top: 8px; }
.timeline li {
 display: grid;
 grid-template-columns: 88px minmax(0, 1fr);
 gap: 18px;
 padding: 18px 0;
 border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { color: var(--muted); letter-spacing: 0.08em; font-size: 13px; padding-top: 4px; }
.timeline h3 { font-size: 22px; margin-bottom: 6px; }
.timeline p { color: var(--muted); max-width: 36em; font-size: 14px; }
.mini-faq { background: var(--paper); }
.faq-grid {
 display: grid;
 grid-template-columns: .72fr 1.28fr;
 gap: 48px;
 align-items: start;
}
.backbar {
 background: var(--paper-2);
 padding: 28px 0;
 border-top: 1px solid var(--line);
}
.back-row {
 display: flex;
 justify-content: space-between;
 gap: 18px;
 align-items: center;
}
.back-row a {
 font-family: var(--serif);
 font-size: 22px;
 letter-spacing: -0.03em;
 border-bottom: 1px solid transparent;
 transition: color .18s, border-color .18s, transform .18s;
}
.back-row a:hover { color: var(--cinnabar); border-bottom-color: currentColor; transform: translateY(-1px); }
.site-footer {
 background: var(--ink);
 color: #E7E1D6;
 padding: 72px 0 28px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr .8fr .8fr .8fr;
 gap: 36px;
}
.site-footer strong {
 display: block;
 font-family: var(--serif);
 font-size: 22px;
 letter-spacing: -0.04em;
 color: var(--white);
 margin-bottom: 12px;
 line-height: 1.35;
}
.site-footer h3 {
 font-size: 16px;
 margin-bottom: 12px;
 color: var(--white);
}
.site-footer p, .site-footer li { color: #C9C0B4; font-size: 14px; }
.site-footer li { padding: 6px 0; }
.site-footer a { transition: color .18s; }
.site-footer a:hover { color: var(--white); }
.legal {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 flex-wrap: wrap;
 margin-top: 36px;
 padding-top: 18px;
 border-top: 1px solid rgba(217, 209, 197, .25);
 font-size: 13px;
 color: #A89F93;
}
@media (max-width: 1080px) {
 :root { --pad: 72px; }
 .list-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
 .entries { grid-template-columns: 1fr; }
 .entry.feature { grid-column: auto; }
 .entry.feature a { grid-template-columns: 1fr; }
 .entry.feature .frame { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
 .scope-grid, .rhythm-head, .faq-grid { grid-template-columns: 1fr; gap: 18px; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .nav-links { gap: 16px; }
 .logo { font-size: 16px; }
}
@media (max-width: 980px) {
 .header-inner { gap: 12px; }
 .nav-links { gap: 12px; }
 .nav-links a { font-size: 14px; }
 .logo { font-size: 15px; max-width: 34vw; }
}
@media (max-width: 720px) {
 :root { --pad: 56px; }
 .container, .header-inner { width: min(var(--max), calc(100% - 32px)); }
 .nav-toggle { display: block; }
 .logo { max-width: calc(100% - 72px); }
 .nav-links {
 display: none;
 position: fixed;
 inset: 84px 0 0 0;
 background: var(--white);
 flex-direction: column;
 align-items: stretch;
 gap: 0;
 padding: 8px 24px 32px;
 overflow: auto;
 }
 .nav-links.open { display: flex; }
 .nav-links a {
 border-bottom: 1px solid var(--line);
 padding: 18px 0;
 font-size: 18px;
 }
 .head-row, .list-grid, .scene-row, .timeline li, .footer-grid, .back-row {
 grid-template-columns: 1fr;
 display: grid;
 }
 .head-row, .back-row { display: flex; flex-direction: column; align-items: flex-start; }
 .count { white-space: normal; }
 .summary { position: static; }
 .scene-row { gap: 8px; padding: 18px 0; }
 .scene-row strong { font-size: 24px; }
 .legal { flex-direction: column; }
 .cat-head h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 * { transition: none !important; }
}
