/* roulang page: index */
:root {
  --grass: #1F4D3A;
  --clay: #C46A4A;
  --clay-hover: #A65336;
  --ivory: #F4EFE4;
  --sand: #E7E0D2;
  --ink: #1A1A1A;
  --text: #242424;
  --muted: #5E584E;
  --line: #C4B08A;
  --card: #FBF8F2;
  --shadow: 0 8px 24px rgba(26, 26, 26, .06);
  --radius: 2px;
  --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .serif { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
h1 { font-size: 48px; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 34px; line-height: 1.3; margin: 0; }
h3 { font-size: 22px; line-height: 1.4; margin: 0 0 8px; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--grass);
  color: var(--ivory);
  border-bottom: 1px solid rgba(244, 239, 228, .18);
}
.nav-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory);
  color: var(--ink);
  padding: 7px 12px 7px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  flex: 0 1 auto;
}
.logo:hover { text-decoration: none; color: var(--grass); }
.logo-text { font-family: "Noto Serif SC", serif; font-weight: 700; font-size: 18px; line-height: 1.2; white-space: nowrap; }
.logo-rule { width: 1px; height: 22px; background: var(--ink); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ivory);
  font-size: 16px;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.nav-links a:hover { text-decoration: underline; border-bottom-color: transparent; }
.nav-links a.is-active { border-bottom-color: var(--ivory); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  background: var(--clay);
  color: var(--ivory);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .2s ease, transform .2s ease;
  text-decoration: none;
}
.clay-btn:hover { background: var(--clay-hover); color: var(--ivory); text-decoration: none; transform: translateY(-1px); }
.clay-btn:active { transform: translateY(0); background: #8E452C; }
.clay-btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--grass);
  outline-offset: 2px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 239, 228, .45);
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 1px; margin: 4px 10px; background: var(--ivory); }
.off-canvas { background: var(--ivory); color: var(--text); }
.off-canvas-content { background: var(--ivory); min-height: 100vh; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 8px; }
.drawer-name { font-family: "Noto Serif SC", serif; font-weight: 700; color: var(--ink); }
.close-drawer {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--grass);
  cursor: pointer;
  font-size: 16px;
}
.drawer-nav { display: flex; flex-direction: column; padding: 8px 12px 24px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.drawer-nav a:hover { color: var(--grass); text-decoration: underline; }
.band { padding: var(--space) 0; }
.band-sand { background: var(--sand); }
.band-dark { background: var(--ink); color: var(--ivory); }
.band-dark h2, .band-dark h3, .band-dark p, .band-dark li, .band-dark span { color: var(--ivory); }
.band-tight { padding: 28px 0; }
.kicker {
  display: inline-block;
  color: var(--grass);
  font-size: 13px;
  letter-spacing: .16em;
  margin-bottom: 10px;
}
.band-dark .kicker { color: #E7D7B6; }
.sub { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.lead { font-size: 17px; max-width: 640px; }
.court-line { height: 1px; background: var(--grass); margin: 16px 0 26px; position: relative; }
.court-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 42px;
  height: 7px;
  border-top: 1px solid var(--grass);
  border-bottom: 1px solid var(--grass);
}
.band-dark .court-line, .band-dark .court-line::after { background: transparent; border-color: var(--ivory); background-image: none; }
.band-dark .court-line { background: rgba(244, 239, 228, .45); }
.set-no { font-family: "Noto Serif SC", serif; color: var(--grass); font-size: 13px; letter-spacing: .12em; }
.hero { padding: 78px 0 86px; background:
  linear-gradient(180deg, rgba(31, 77, 58, .05), rgba(31, 77, 58, 0) 90px),
  var(--ivory);
}
.hero-copy { padding-right: 12px; }
.region-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.region-tag {
  border: 1px solid var(--grass);
  color: var(--grass);
  padding: 4px 10px;
  font-size: 14px;
  border-radius: var(--radius);
  background: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--grass);
  color: var(--grass);
  background: transparent;
  border-radius: var(--radius);
  text-decoration: none;
}
.ghost-btn:hover { text-decoration: underline; color: var(--grass); }
.board {
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 8px;
  border-top: 1px solid var(--line);
  position: relative;
}
.board::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 58px;
  height: 1px;
  background: rgba(244, 239, 228, .25);
}
.board-kicker { font-family: "Noto Serif SC", serif; letter-spacing: .18em; font-size: 14px; margin: 0 0 28px; color: var(--ivory); }
.board-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 239, 228, .16);
}
.board-row span { color: #E4DCCB; font-size: 15px; }
.board-row strong { font-family: "Noto Serif SC", serif; font-size: 36px; line-height: 1; font-weight: 700; color: var(--ivory); }
.matrix-main, .stack-card, .wide-card, .card, .case-card, .news-item, .pin-card, .quote-card, .scene, .cat-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 2px solid var(--grass);
}
.matrix-main, .stack-card, .wide-card, .scene, .cat-panel { padding: 26px 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.stack-card { flex: 1; }
.wide-card { margin-top: 16px; }
.muted { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 8px 18px; border-left: 1px solid rgba(244, 239, 228, .2); }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-item strong { display: block; font-family: "Noto Serif SC", serif; font-size: 46px; line-height: 1.1; color: var(--ivory); }
.stat-item span { display: block; margin-top: 6px; color: #E4DCCB; font-size: 15px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 1px;
  background: var(--grass);
}
.step { position: relative; padding-top: 8px; }
.step em {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--grass);
  color: var(--grass);
  font-family: "Noto Serif SC", serif;
  font-style: normal;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 20px; }
.scene-grid { display: grid; grid-template-columns: 1.35fr .9fr .85fr; gap: 16px; align-items: start; }
.scene-tall { min-height: 340px; }
.scene-mid { min-height: 250px; margin-top: 42px; }
.scene-short { min-height: 300px; margin-top: 16px; }
.scene .set-no { display: block; margin-bottom: 12px; }
.masonry { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 16px; }
.case-card { padding: 22px 20px 18px; transition: transform .2s ease, box-shadow .2s ease; }
.case-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 26, 26, .1); }
.span-2 { grid-column: span 2; min-height: 230px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--grass);
  color: var(--grass);
  font-size: 13px;
  border-radius: var(--radius);
  background: transparent;
}
.text-link { color: var(--grass); font-weight: 500; text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }
.cmp { width: 100%; border-collapse: collapse; background: var(--card); box-shadow: var(--shadow); }
.cmp th, .cmp td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.cmp th { font-family: "Noto Serif SC", serif; color: var(--grass); font-size: 18px; width: 22%; }
.cmp td strong { display: block; font-family: "Noto Serif SC", serif; margin-bottom: 4px; color: var(--ink); }
.news-item, .pin-card { padding: 18px 18px 16px; margin-bottom: 16px; }
.pin-card { background: var(--ink); border-left-color: var(--clay); color: var(--ivory); min-height: 100%; }
.pin-card h3, .pin-card p, .pin-card .set-no { color: var(--ivory); }
.pin-card .text-link { color: #F2D2C6; }
.more-row { margin-top: 6px; }
.timeline { position: relative; margin-top: 8px; padding-left: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: var(--grass);
}
.tl-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tl-item { position: relative; padding-top: 46px; }
.tl-item i {
  position: absolute;
  top: 16px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--grass);
}
.partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-row span {
  padding: 16px 22px;
  font-family: "Noto Serif SC", serif;
  color: var(--ink);
  border-right: 1px solid var(--line);
}
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.quote-card { padding: 26px 24px; }
.quote-card.shift { margin-top: 48px; }
.quote-card q { font-family: "Noto Serif SC", serif; font-size: 22px; line-height: 1.6; display: block; quotes: "「" "」"; }
.quote-card q::before { content: open-quote; }
.quote-card q::after { content: close-quote; }
.quote-card cite { display: block; margin-top: 14px; color: var(--muted); font-style: normal; font-size: 15px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border: 0; border-bottom: 1px solid var(--line); background: var(--card); }
.accordion-title {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text) !important;
  padding: 18px 40px 18px 18px;
  border: 0;
  border-left: 2px solid var(--grass);
  background: var(--card);
}
.accordion-title:hover, .accordion-title:focus { background: var(--sand); color: var(--grass) !important; }
.accordion-title::before { color: var(--grass) !important; }
.accordion-content { background: var(--card); border: 0; color: var(--text); padding: 0 18px 18px 20px; }
.cat-panel { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.assure-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.assure-list li { border-left: 1px solid rgba(244, 239, 228, .28); padding-left: 16px; font-size: 16px; }
.assure-list li:first-child { border-left: 0; padding-left: 0; }
label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; }
.field { margin-bottom: 14px; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: var(--ivory);
  color: var(--text);
  border: 1px solid var(--grass);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 12px;
  box-shadow: none;
  margin: 0;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { background: #fff; border-color: var(--ink); }
.form-panel { background: var(--card); border-left: 2px solid var(--clay); box-shadow: var(--shadow); padding: 24px; border-radius: var(--radius); }
.form-note { color: var(--muted); font-size: 15px; margin-top: 10px; }
.site-footer { background: var(--ink); color: var(--ivory); padding: 64px 0 0; }
.site-footer h2 { font-size: 22px; color: var(--ivory); }
.site-footer a { color: var(--ivory); }
.site-footer a:hover { text-decoration: underline; }
.foot-brand { font-family: "Noto Serif SC", serif; font-size: 22px; display: inline-flex; align-items: center; gap: 10px; }
.foot-brand i { width: 1px; height: 20px; background: var(--ink); box-shadow: 0 0 0 4px var(--ivory); display: inline-block; }
.foot-col { margin-bottom: 22px; }
.foot-col ul { list-style: none; margin: 12px 0 0; padding: 0; }
.foot-col li { margin: 6px 0; }
.foot-bottom {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #E4DCCB;
  font-size: 14px;
}
.back-top { color: var(--ivory); }
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .scene-grid, .masonry, .tl-row { grid-template-columns: 1fr 1fr; }
  .scene-mid, .scene-short { margin-top: 0; }
  .span-2 { grid-column: span 2; }
  .stat-item strong { font-size: 38px; }
  .band { padding: 64px 0; }
}
@media (max-width: 768px) {
  .stat-grid, .steps, .quote-grid, .assure-list, .scene-grid, .masonry, .tl-row { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .stat-item, .assure-list li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(244, 239, 228, .2); padding-top: 14px; }
  .stat-item:first-child, .assure-list li:first-child { border-top: 0; }
  .steps::before { left: 21px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { padding-left: 64px; padding-top: 0; }
  .step em { position: absolute; left: 0; top: 0; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-item { padding: 0 0 18px 28px; }
  .tl-item i { top: 6px; }
  .quote-card.shift { margin-top: 0; }
  .cat-panel { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 0 52px; }
  .band { padding: 52px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .wrap { width: calc(100% - 32px); }
  .band { padding: 48px 0; }
  .logo-text { font-size: 15px; }
  .board-row strong { font-size: 30px; }
  .partner-row span { border-right: 0; border-bottom: 1px solid var(--line); width: 100%; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .clay-btn { padding: 0 12px; font-size: 15px; }
  .hero-actions, .nav-bar { gap: 8px; }
  .matrix-main, .stack-card, .wide-card, .scene, .cat-panel, .form-panel { padding: 18px 16px; }
}

/* roulang page: category1 */
:root {
  --grass: #1F4D3A;
  --clay: #C46A4A;
  --clay-hover: #A65336;
  --ivory: #F4EFE4;
  --sand: #E7E0D2;
  --ink: #1A1A1A;
  --text: #242424;
  --muted: #5E584E;
  --line: #C4B08A;
  --card: #FBF8F2;
  --shadow: 0 8px 24px rgba(26, 26, 26, .06);
  --radius: 2px;
  --space: 88px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 10px; }
h1, h2, h3, h4 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}
.wrap {
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--grass);
  color: var(--ivory);
  border-bottom: 1px solid rgba(244, 239, 228, .18);
}
.nav-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory);
  color: var(--ink);
  padding: 7px 12px 7px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  flex: 0 1 auto;
}
.logo:hover { text-decoration: none; color: var(--grass); }
.logo-text {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}
.logo-rule { width: 1px; height: 22px; background: var(--ink); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ivory);
  font-size: 16px;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.nav-links a:hover { text-decoration: underline; border-bottom-color: transparent; }
.nav-links a.is-active { border-bottom-color: var(--ivory); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  background: var(--clay);
  color: var(--ivory);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .2s ease, transform .2s ease;
  text-decoration: none;
}
.clay-btn:hover { background: var(--clay-hover); color: var(--ivory); text-decoration: none; transform: translateY(-1px); }
.clay-btn:active { transform: translateY(0); background: #8E452C; }
.clay-btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--grass);
  outline-offset: 2px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 239, 228, .45);
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 1px; margin: 4px 10px; background: var(--ivory); }
.menu-toggle:hover { border-color: var(--ivory); }
.off-canvas { background: var(--ivory); }
.off-canvas-wrapper { min-height: 100vh; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 8px; }
.drawer-name { font-family: "Noto Serif SC", serif; font-weight: 700; color: var(--ink); }
.close-drawer {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--grass);
  cursor: pointer;
  font-size: 16px;
}
.drawer-nav { display: flex; flex-direction: column; padding: 8px 12px 24px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.drawer-nav a:hover { color: var(--grass); text-decoration: underline; }
.lead { font-size: 17px; max-width: 720px; color: var(--text); }
.muted { color: var(--muted); }
.block { padding: var(--space) 0; }
.block-sand { background: var(--sand); }
.block-ivory { background: var(--ivory); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.sec-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--grass);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  font-weight: 500;
}
.block h2 {
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grass);
  display: inline-block;
}
.cat-head {
  padding: 56px 0 36px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.cat-head h1 {
  margin: 0 0 14px;
  font-size: 48px;
  line-height: 1.25;
  max-width: 16em;
}
.cat-head .lead { margin: 0; color: var(--muted); }
.filter-bar { padding: 22px 0; background: var(--sand); border-bottom: 1px solid var(--line); }
.filter-row { align-items: center; }
.filter-label {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}
.button-group.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  border: 0;
  background: transparent;
  align-items: center;
}
.button-group.filter-group::before,
.button-group.filter-group::after { display: none; }
.filter-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--text);
  min-height: 44px;
  padding: 0 2px;
  margin: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
}
.filter-btn:hover { color: var(--grass); text-decoration: underline; background: transparent; }
.filter-btn.is-active {
  color: var(--grass);
  border-bottom-color: var(--grass);
  text-decoration: none;
  font-weight: 500;
}
.filter-count {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--grass);
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  letter-spacing: .04em;
}
.list-block { background: var(--ivory); }
.row-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 2px solid var(--grass);
  padding: 20px 22px;
  margin: 0 0 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.row-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 26, 26, .1); }
.row-card[hidden] { display: none !important; }
.row-no {
  font-family: "Noto Serif SC", serif;
  font-size: 32px;
  line-height: 1;
  color: var(--grass);
}
.row-card h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.4; }
.row-card h3 a { color: var(--ink); }
.row-card h3 a:hover { color: var(--grass); }
.row-summary {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--grass);
  color: var(--grass);
  font-size: 13px;
  border-radius: var(--radius);
  background: transparent;
}
.text-link { color: var(--grass); font-weight: 500; text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }
.read-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 4px;
}
.metric-band {
  background: var(--ink);
  color: var(--ivory);
  padding: 78px 0;
}
.metric-band h2 { color: var(--ivory); border-bottom-color: var(--line); }
.metric-band .sec-kicker { color: #E4DCCB; }
.metric-note { color: #E4DCCB; max-width: 680px; margin: 8px 0 28px; }
.stat-item {
  padding: 8px 8px 8px 18px;
  border-left: 1px solid rgba(244, 239, 228, .2);
}
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-item strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 46px;
  line-height: 1.1;
  color: var(--ivory);
  font-weight: 700;
}
.stat-item span { display: block; margin-top: 6px; color: #E4DCCB; font-size: 15px; }
.stat-item em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: rgba(244, 239, 228, .72);
  font-size: 14px;
  line-height: 1.7;
}
.pick-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 2px solid var(--grass);
  padding: 22px 18px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pick-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 26, 26, .1); }
.pick-card h3 { margin: 8px 0; font-size: 20px; line-height: 1.45; }
.pick-card h3 a { color: var(--ink); }
.pick-card h3 a:hover { color: var(--grass); }
.pick-card p { color: var(--muted); font-size: 15px; flex: 1; }
.set-no {
  font-family: "Noto Serif SC", serif;
  color: var(--grass);
  font-size: 20px;
  line-height: 1;
}
.cell.pad-card { margin-bottom: 16px; }
.timeline { position: relative; margin-top: 12px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: var(--grass);
}
.time-node {
  position: relative;
  padding-top: 42px;
}
.time-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--grass);
  background: var(--ivory);
  border-radius: 50%;
}
.block-sand .time-node::before { background: var(--sand); }
.time-date {
  display: block;
  color: var(--grass);
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  margin-bottom: 6px;
}
.time-node h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.45; }
.time-node h3 a { color: var(--ink); }
.time-node h3 a:hover { color: var(--grass); }
.time-node p { margin: 0; color: var(--muted); font-size: 15px; }
.faq-wrap .accordion {
  background: transparent;
  border: 0;
  margin: 8px 0 0;
}
.faq-wrap .accordion-item {
  border: 0;
  background: transparent;
  margin-bottom: 12px;
}
.faq-wrap .accordion-title {
  position: relative;
  display: block;
  background: var(--card);
  color: var(--text);
  border: 0;
  border-left: 2px solid var(--grass);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  padding: 16px 48px 16px 18px;
  text-decoration: none;
}
.faq-wrap .accordion-title:hover,
.faq-wrap .accordion-title:focus {
  background: var(--card);
  color: var(--grass);
  text-decoration: none;
}
.faq-wrap .accordion-title::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 1px;
  margin-top: 0;
  background: var(--grass);
  border: 0;
}
.faq-wrap .accordion-title::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: var(--grass);
}
.faq-wrap .is-active > .accordion-title::after { display: none; }
.faq-wrap .accordion-content {
  background: var(--ivory);
  border: 0;
  border-left: 2px solid var(--grass);
  color: var(--text);
  padding: 4px 18px 16px;
}
.faq-wrap .accordion-content p { margin: 8px 0 0; color: var(--muted); }
.close-block { background: var(--ivory); border-top: 1px solid var(--line); }
.close-grid { align-items: center; }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--grass);
  color: var(--grass);
  background: transparent;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.ghost-btn:hover { text-decoration: underline; color: var(--grass); background: rgba(31, 77, 58, .04); }
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 56px 0 24px;
}
.site-footer h2 {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px;
  color: var(--ivory);
  letter-spacing: .08em;
  margin: 0 0 12px;
  font-weight: 500;
  border: 0;
  padding: 0;
  display: block;
}
.site-footer a { color: #E4DCCB; }
.site-footer a:hover { color: var(--ivory); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.foot-col { margin-bottom: 12px; }
.foot-brand {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ivory);
}
.foot-brand i {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--ivory);
  margin-left: 8px;
  vertical-align: -3px;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(244, 239, 228, .16);
  margin-top: 28px;
  padding-top: 16px;
  color: #E4DCCB;
  font-size: 14px;
}
.back-top { color: #E4DCCB; }
@media (max-width: 1024px) {
  :root { --space: 72px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .cat-head h1 { font-size: 40px; }
  .block h2 { font-size: 28px; }
  .timeline::before { display: none; }
  .time-node { padding-top: 0; padding-left: 22px; margin-bottom: 18px; }
  .time-node::before { top: 8px; }
  .stat-item strong { font-size: 40px; }
}
@media (max-width: 768px) {
  .wrap { width: calc(100% - 36px); }
  .row-card { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
  .read-link { grid-column: 2; justify-self: start; }
  .close-actions { justify-content: flex-start; }
  .stat-item { border-left: 0; border-top: 1px solid rgba(244, 239, 228, .2); padding: 16px 0; }
  .metric-band .cell:first-child .stat-item { border-top: 0; padding-top: 0; }
  .logo-text { font-size: 15px; }
}
@media (max-width: 639px) {
  :root { --space: 48px; }
  body { font-size: 15px; }
  .cat-head { padding: 40px 0 28px; }
  .cat-head h1 { font-size: 32px; }
  .filter-count { font-size: 18px; }
  .row-no { font-size: 26px; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .logo { padding: 6px 8px; }
  .logo-text { font-size: 13px; white-space: normal; max-width: 8.2em; }
  .logo-rule { align-self: stretch; height: auto; }
  .clay-btn { padding: 0 12px; }
  .block h2 { font-size: 24px; }
  .stat-item strong { font-size: 36px; }
}
