/* roulang page: index */
:root {
  --bg: #161210;
  --elev: #221C18;
  --text: #F4EFE8;
  --muted: #A8988C;
  --amber: #C6A36A;
  --rose: #9C5A55;
  --line: rgba(244,239,232,0.14);
  --shadow: 0 10px 30px rgba(0,0,0,0.22);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; }
button {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  line-height: inherit;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--amber); }
::selection { background: var(--rose); color: var(--text); }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.grid-x { display: flex; flex-flow: row wrap; }
.grid-margin-x { margin-left: -0.7rem; margin-right: -0.7rem; }
.grid-margin-x > .cell { padding-left: 0.7rem; padding-right: 0.7rem; }
.grid-x > .cell { flex: 0 0 100%; max-width: 100%; min-width: 0; }
h1, h2, h3, .brand, .faq-q, .section-title {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}
h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0; }
.kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--amber);
  font-family: var(--sans);
  font-weight: 500;
}
.section-lead { max-width: 68ch; color: var(--muted); margin-top: 16px; }
.block { padding: var(--space) 0; position: relative; }
.block-alt { background: var(--elev); }
.block + .block { box-shadow: inset 0 1px 0 var(--line); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22,18,16,0.96);
  border-bottom: 1px solid var(--line);
}
.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 14px 0 10px;
}
.brand {
  flex: 1 1 240px;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0;
  color: var(--text);
}
.brand:hover { color: var(--amber); }
.brand-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.age-mark, .age-note {
  border: 1px solid var(--rose);
  color: #E7C6C2;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  line-height: 1.4;
}
.search-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
}
.search-toggle:hover { border-color: var(--amber); color: var(--amber); }
.search-toggle:active { transform: translateY(1px); }
.search-panel { padding: 4px 0 12px; }
.search-line { display: flex; gap: 8px; align-items: stretch; }
input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 12px;
  box-shadow: none;
  margin: 0;
}
input[type="search"]:focus { border-color: var(--amber); background: var(--bg); }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { display: none; }
.chip-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 12px;
  white-space: nowrap;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 8px 0 6px;
  font-size: 14px;
  line-height: 1.4;
}
.chip:hover { color: var(--text); background: #2a241f; }
.chip.is-active { color: var(--text); border-bottom-color: var(--amber); background: transparent; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 0;
  border: 1px solid var(--amber);
  color: var(--amber);
  background: transparent;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--amber);
  transition: width 0.25s ease;
}
.btn:hover { color: var(--text); }
.btn:hover::after { width: calc(100% + 12px); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--amber); color: #161210; }
.btn-solid:hover { color: #161210; background: #d4b481; }
.btn-solid::after { background: #161210; }
.hero { padding-top: 72px; padding-bottom: 72px; }
.hero-copy { margin-top: 22px; max-width: 64ch; font-size: 17px; line-height: 1.85; color: var(--text); }
.hero-sub { margin-top: 18px; color: var(--amber); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.age-note { display: inline-block; margin-top: 18px; letter-spacing: 0.08em; }
.still {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #3a322c;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.still img { width: 100%; height: 100%; object-fit: cover; }
.still::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  z-index: 2;
  background: repeating-linear-gradient(#161210 0 8px, transparent 8px 18px);
  opacity: 0.85;
}
.still::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(22,18,16,0.62);
  pointer-events: none;
}
.coord, .still-cap {
  position: absolute;
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.coord-tl { top: 14px; left: 28px; }
.coord-br { right: 14px; bottom: 14px; }
.still-cap { left: 28px; bottom: 40px; letter-spacing: 0.08em; color: var(--amber); }
.path {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}
.path::-webkit-scrollbar { display: none; }
.path-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  white-space: nowrap;
  font-size: 14px;
}
.path-node b { color: var(--amber); font-weight: 500; letter-spacing: 0.12em; font-size: 12px; }
.path-node i { width: 36px; height: 1px; background: var(--amber); display: block; }
.pain { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.pain-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--rose);
  border-radius: 2px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pain-item:hover { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); }
.pain-item strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 560; margin-bottom: 6px; }
.pain-item span { color: var(--muted); }
.pain-item:nth-child(1) { width: 100%; }
.pain-item:nth-child(2) { width: 92%; margin-left: 8%; }
.pain-item:nth-child(3) { width: 84%; }
.pain-item:nth-child(4) { width: 76%; margin-left: 12%; }
.zone {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 22px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.block-alt .zone { background: #1b1613; }
.zone:hover { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); }
.zone-stack { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.zone-stack .zone { flex: 1; }
.zone p { color: var(--muted); margin-top: 10px; }
.zone .btn { margin-top: 18px; }
.zone-wide { margin-top: 14px; }
.steps { margin-top: 28px; position: relative; }
.step {
  padding: 8px 8px 8px 0;
  min-height: 160px;
}
.step-no { color: var(--amber); font-size: 12px; letter-spacing: 0.18em; display: block; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
.steps .grid-x { position: relative; }
.steps .grid-x::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: var(--line);
}
.scene-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.scene {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 2px;
  scroll-margin-top: 140px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.block-alt .scene { background: #1b1613; }
.scene:hover { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); color: var(--text); }
.scene b { font-family: var(--serif); font-weight: 560; font-size: 20px; }
.scene span { color: var(--muted); }
.badge {
  display: inline-block;
  color: var(--amber);
  border: 1px solid var(--line);
  padding: 2px 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.metric-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric { padding: 22px 12px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric em { display: block; font-style: normal; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.metric span { color: var(--muted); font-size: 14px; }
.metric-note { margin-top: 12px; color: var(--rose); font-size: 13px; letter-spacing: 0.08em; }
.quotes {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.quote:hover { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); }
.quote i { display: block; color: var(--amber); font-style: normal; font-size: 12px; letter-spacing: 0.14em; margin-bottom: 12px; }
.quote p { font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.people { margin-top: 28px; }
.people-col {
  border-top: 1px solid var(--amber);
  padding-top: 16px;
}
.people-col h3 { margin-bottom: 12px; }
.people-col li { color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); list-style: none; }
.people ul { margin: 0; padding: 0; }
.news-list, .topic-list { margin-top: 28px; }
.thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: #3a322c;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.news-item, .topic {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
  box-shadow: var(--shadow);
  height: 100%;
  scroll-margin-top: 140px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.block:not(.block-alt) .news-item,
.block:not(.block-alt) .topic { background: var(--elev); }
.news-item:hover, .topic:hover, .is-hit { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); }
.news-item h3, .topic h3 { font-size: 22px; margin: 8px 0; }
.news-item p, .topic p { color: var(--muted); }
.meta-line { color: var(--amber); font-size: 12px; letter-spacing: 0.12em; }
.more { display: inline-block; margin-top: 12px; color: var(--amber); }
.stat-row { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 16px;
  background: #1b1613;
}
.stat b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 560; }
.stat span { color: var(--muted); font-size: 14px; }
.check-rail { margin: 28px 0 0; }
.check-rail div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.check-rail dt { color: var(--amber); font-family: var(--serif); font-size: 22px; }
.check-rail dd { margin: 0; color: var(--muted); }
.faq { margin-top: 12px; border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(18px, 2vw, 22px);
}
.faq-q::after { content: "+"; color: var(--amber); font-family: var(--sans); font-size: 24px; line-height: 1; }
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-a { color: var(--muted); padding: 0 0 16px; max-width: 70ch; }
.rhythm { margin-top: 28px; border-left: 1px solid var(--line); margin-left: 6px; }
.rhythm-item { position: relative; padding: 0 0 28px 24px; }
.rhythm-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--amber);
}
.rhythm-item h3 { margin-bottom: 6px; }
.rhythm-item p { color: var(--muted); }
.closing {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.term-row { margin-top: 22px; }
.search-msg { margin-top: 14px; color: var(--rose); }
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #120f0d; }
.foot-brand { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.site-footer p, .site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--amber); }
.foot-list { margin: 12px 0 0; padding: 0; list-style: none; }
.foot-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.copy-line {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
section, .news-item, .topic { scroll-margin-top: 140px; }
@media (prefers-reduced-motion: no-preference) {
  .still img { animation: unfog 0.6s ease both; }
  .still::after { animation: fog 0.6s ease both; }
}
@keyframes unfog {
  from { filter: blur(14px); opacity: 0.4; }
  to { filter: blur(0); opacity: 1; }
}
@keyframes fog {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (min-width: 640px) {
  .grid-x > .medium-6 { flex: 0 0 50%; max-width: 50%; }
  .grid-x > .medium-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .grid-x > .medium-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 1024px) {
  .grid-x > .large-7 { flex: 0 0 58.333%; max-width: 58.333%; }
  .grid-x > .large-5 { flex: 0 0 41.666%; max-width: 41.666%; }
  .grid-x > .large-8 { flex: 0 0 66.666%; max-width: 66.666%; }
  .grid-x > .large-6 { flex: 0 0 50%; max-width: 50%; }
  .grid-x > .large-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .grid-x > .large-3 { flex: 0 0 25%; max-width: 25%; }
  .hero .still { margin-top: 8px; }
}
@media (max-width: 1023px) {
  :root { --space: 64px; }
  .steps .grid-x::before { display: none; }
  .pain-item:nth-child(n) { width: 100%; margin-left: 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .scene { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 639px) {
  :root { --space: 40px; }
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 40px; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .check-rail div { grid-template-columns: 1fr; gap: 6px; }
  .closing { align-items: flex-start; }
  .brand { flex-basis: 100%; }
  .search-line { flex-direction: column; }
  .quote { flex-basis: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .still::after { display: none; }
  .card:hover, .zone:hover, .news-item:hover, .topic:hover, .quote:hover, .pain-item:hover, .scene:hover, .btn:active, .search-toggle:active {
    transform: none;
  }
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

/* roulang page: category1 */
:root {
 --bg: #161210;
 --elev: #221C18;
 --text: #F4EFE8;
 --muted: #A8988C;
 --amber: #C6A36A;
 --rose: #9C5A55;
 --line: rgba(244,239,232,0.14);
 --shadow: 0 10px 30px rgba(0,0,0,0.22);
 --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
 --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
 --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; }
button {
 background: transparent;
 color: inherit;
 border: 0;
 padding: 0;
 border-radius: 0;
 cursor: pointer;
 line-height: inherit;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--amber); }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.grid-x { display: flex; flex-flow: row wrap; }
.grid-margin-x { margin-left: -0.7rem; margin-right: -0.7rem; }
.grid-margin-x > .cell { padding-left: 0.7rem; padding-right: 0.7rem; }
.grid-x > .cell { flex: 0 0 100%; max-width: 100%; min-width: 0; }
h1, h2, h3, .brand, .faq-q, .section-title {
 font-family: var(--serif);
 font-weight: 560;
 letter-spacing: -0.03em;
 line-height: 1.2;
 margin: 0;
}
h1 {
 font-weight: 560;
 font-size: clamp(40px, 6vw, 76px);
 line-height: 1.12;
 letter-spacing: -0.03em;
}
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
h3 { font-size: 22px; }
p { margin: 0; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: rgba(22,18,16,0.96);
 border-bottom: 1px solid var(--line);
}
.brand-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px 20px;
 flex-wrap: wrap;
 padding: 14px 0 10px;
}
.brand {
 flex: 1 1 240px;
 font-size: clamp(16px, 2vw, 22px);
 letter-spacing: 0;
 color: var(--text);
}
.brand:hover { color: var(--amber); }
.brand-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.age-mark {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 42px;
 height: 28px;
 padding: 0 8px;
 border: 1px solid var(--rose);
 color: var(--rose);
 font-size: 12px;
 letter-spacing: 0.08em;
}
.search-toggle {
 width: 36px;
 height: 36px;
 display: grid;
 place-items: center;
 border: 1px solid var(--line);
 color: var(--text);
}
.search-toggle:hover { border-color: var(--amber); color: var(--amber); }
.search-toggle:active { transform: translateY(1px); }
.search-toggle:focus-visible, .btn:focus-visible, .chip:focus-visible, .fchip:focus-visible, .faq-q:focus-visible, a:focus-visible, input:focus-visible {
 outline: 1px solid var(--amber);
 outline-offset: 2px;
}
.search-panel { padding: 4px 0 12px; }
.search-line { display: flex; gap: 8px; align-items: stretch; }
input[type="search"] {
 flex: 1;
 min-width: 0;
 height: 44px;
 background: var(--bg);
 color: var(--text);
 border: 1px solid var(--line);
 border-radius: 0;
 padding: 0 12px;
 box-shadow: none;
 margin: 0;
}
input[type="search"]:focus { border-color: var(--amber); background: var(--bg); outline: none; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { display: none; }
.chip-row {
 display: flex;
 gap: 22px;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 scrollbar-width: none;
 -webkit-overflow-scrolling: touch;
 padding: 2px 0 12px;
 white-space: nowrap;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
 flex: 0 0 auto;
 scroll-snap-align: start;
 color: var(--muted);
 background: transparent;
 border: 0;
 border-bottom: 1px solid transparent;
 border-radius: 0;
 padding: 8px 0 6px;
 font-size: 14px;
 line-height: 1.4;
}
.chip:hover { color: var(--text); background: #2a241f; }
.chip.is-active { color: var(--text); border-bottom-color: var(--amber); background: transparent; }
.btn {
 position: relative;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: 0;
 border: 1px solid var(--amber);
 color: var(--amber);
 background: transparent;
 letter-spacing: 0.04em;
 transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: -1px;
 height: 1px;
 width: 0;
 background: var(--amber);
 transition: width 0.25s ease;
}
.btn:hover { color: var(--text); }
.btn:hover::after { width: calc(100% + 12px); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--amber); color: #161210; }
.btn-solid:hover { color: #161210; background: #d4b481; }
.btn-solid::after { background: #161210; }
.block { padding: var(--space) 0; }
.block-alt { background: #1c1714; }
.block + .block { border-top: 1px solid var(--line); }
.coord {
 margin: 0 0 14px;
 color: var(--amber);
 font-size: 12px;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 font-family: var(--sans);
}
.kicker {
 margin: 0 0 12px;
 color: var(--amber);
 font-size: 12px;
 letter-spacing: 0.18em;
}
.section-lead { max-width: 68ch; color: var(--muted); margin-top: 14px; }
.head-rule {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 display: flex;
 flex-wrap: wrap;
 gap: 8px 0;
 align-items: center;
}
.fchip {
 border: 0;
 border-bottom: 1px solid transparent;
 border-radius: 0;
 background: transparent;
 color: var(--muted);
 padding: 8px 2px;
 margin: 0 18px 0 0;
 font-size: 14px;
}
.fchip:hover { color: var(--text); background: #2a241f; }
.fchip.is-on { color: var(--text); border-bottom-color: var(--amber); background: transparent; }
.fchip:active { transform: translateY(1px); }
.film-board {
 margin-top: 28px;
 column-count: 2;
 column-gap: 18px;
}
.film-card {
 break-inside: avoid;
 margin: 0 0 18px;
 background: var(--elev);
 border: 1px solid var(--line);
 border-radius: 2px;
 padding: 16px;
 box-shadow: var(--shadow);
 transition: transform 0.2s ease, border-color 0.2s ease;
}
.block-alt .film-card { background: var(--bg); }
.film-card:hover { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); }
.film-card h3 { margin: 8px 0 10px; }
.film-line { color: var(--muted); }
.film-meta { margin: 14px 0 0; }
.film-meta div {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding: 7px 0;
 border-top: 1px solid var(--line);
}
.film-meta dt { color: var(--muted); }
.film-meta dd { margin: 0; text-align: right; }
.frame {
 margin: 0 0 12px;
 background: #2a241f;
 border: 1px solid var(--line);
 border-radius: 2px;
 overflow: hidden;
}
.frame.ratio-16 { aspect-ratio: 16 / 9; }
.frame.ratio-45 { aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.badge {
 display: inline-block;
 color: var(--amber);
 border: 1px solid var(--line);
 padding: 2px 8px;
 font-size: 12px;
 letter-spacing: 0.12em;
 background: transparent;
}
.more-wrap { margin-top: 8px; }
.empty-note { margin-top: 18px; color: var(--muted); }
.guide-copy {
 max-width: 72ch;
 font-size: 18px;
 line-height: 1.9;
 border-left: 2px solid var(--amber);
 padding-left: 18px;
}
.dim-grid { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.dim-row {
 display: grid;
 grid-template-columns: 88px 1fr;
 gap: 12px 18px;
 align-items: start;
 padding-bottom: 18px;
 border-bottom: 1px solid var(--line);
}
.dim-name { color: var(--text); padding-top: 8px; font-family: var(--serif); font-size: 20px; }
.dim-chips { display: flex; flex-wrap: wrap; }
.edit-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.edit-card {
 display: grid;
 grid-template-columns: 180px 1fr auto;
 gap: 18px;
 align-items: center;
 background: var(--elev);
 border: 1px solid var(--line);
 border-radius: 2px;
 padding: 18px;
 box-shadow: var(--shadow);
 color: var(--text);
 transition: transform 0.2s ease, border-color 0.2s ease;
}
.edit-card:hover { transform: translateY(-2px); border-color: rgba(198,163,106,0.7); color: var(--text); }
.edit-card p { color: var(--muted); margin-top: 8px; }
.edit-card .go { color: var(--amber); white-space: nowrap; }
.text-list { list-style: none; margin: 28px 0 0; padding: 0; }
.text-list li { border-bottom: 1px solid var(--line); }
.text-list a {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 padding: 16px 0;
 color: var(--text);
}
.text-list a:hover { color: var(--amber); }
.text-list span { color: var(--muted); flex: 0 0 auto; }
.note-rail { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.note-rail li {
 display: grid;
 grid-template-columns: 120px 1fr;
 gap: 16px;
 align-items: center;
 background: var(--elev);
 border: 1px solid var(--line);
 border-left: 2px solid var(--rose);
 border-radius: 2px;
 padding: 16px 18px;
 box-shadow: var(--shadow);
}
.note-rail strong { font-family: var(--serif); font-weight: 560; font-size: 20px; }
.note-rail span { color: var(--muted); }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-q {
 width: 100%;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 text-align: left;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
 font-size: 20px;
}
.faq-q i { width: 14px; height: 14px; position: relative; flex: 0 0 14px; }
.faq-q i::before, .faq-q i::after {
 content: "";
 position: absolute;
 left: 0;
 top: 6px;
 width: 14px;
 height: 1px;
 background: var(--amber);
}
.faq-q i::after { transform: rotate(90deg); transition: transform 0.2s ease; }
.faq-q.is-open i::after { transform: rotate(0deg); }
.faq-a { color: var(--muted); padding: 0 0 14px; }
.cta-band {
 display: flex;
 justify-content: space-between;
 gap: 24px;
 align-items: flex-end;
 flex-wrap: wrap;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer {
 border-top: 1px solid var(--line);
 padding: 64px 0 28px;
 background: #120e0c;
}
.foot-brand { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.site-footer p { color: var(--muted); }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin: 6px 0; }
.foot-list a { color: var(--text); }
.foot-list a:hover { color: var(--amber); }
.copy-line {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: 13px;
}
@media (min-width: 640px) and (max-width: 1023px) {
 :root { --space: 72px; }
 .edit-card { grid-template-columns: 1fr; }
 .note-rail li { grid-template-columns: 96px 1fr; }
}
@media (min-width: 1024px) {
 :root { --space: 96px; }
 .medium-6 { flex: 0 0 50%; max-width: 50%; }
 .large-4 { flex: 0 0 33.333%; max-width: 33.333%; }
}
@media (max-width: 639px) {
 :root { --space: 40px; }
 .container { width: min(1180px, calc(100% - 28px)); }
 .brand-row { align-items: flex-start; }
 .film-board { column-count: 1; }
 .dim-row, .note-rail li, .edit-card { grid-template-columns: 1fr; }
 .edit-card .go { justify-self: start; }
 .text-list a { flex-direction: column; gap: 4px; }
 .cta-band { align-items: flex-start; }
 h1 { font-size: clamp(40px, 12vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after {
 transition: none !important;
 animation: none !important;
 }
}
