/* roulang page: index */
:root {
  --green: #1F4D3A;
  --ink: #1C1F1A;
  --linen: #F4F1EA;
  --mist: #E7EFE6;
  --card: #FFFCF7;
  --line: #D9D3C7;
  --clay: #C46A3A;
  --muted: #5E655C;
  --ivory: #F4F1EA;
  --radius: 6px;
  --btn-radius: 4px;
  --shadow: 0 8px 22px rgba(28, 31, 26, .05);
  --space: 76px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Sarasa Mono SC", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin: 0 0 .6em;
  color: var(--ink);
}
p { margin: 0 0 .8em; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 241, 234, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 18px;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--green);
}
.nav-panel { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  color: var(--ink); border-radius: var(--btn-radius);
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { background: var(--mist); }
.nav-links a.active { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); }
.loc { position: relative; }
.loc-btn, .nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px;
  background: transparent; border: 1px solid var(--ink); border-radius: var(--btn-radius);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.loc-btn:hover, .nav-toggle:hover { background: var(--card); transform: translateY(-2px); }
.loc-btn svg, .guard-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.loc-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 180px; margin: 0; padding: 8px; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); z-index: 50;
}
.loc-menu.show { display: block; }
.loc-menu button {
  width: 100%; text-align: left; background: transparent; border: 0;
  border-radius: var(--btn-radius); padding: 8px 10px;
}
.loc-menu button:hover, .loc-menu button:focus-visible { background: var(--mist); }
.nav-toggle { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 1px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.board { padding: 18px 0 72px; background: var(--linen); }
.series-wrap { border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.series-bar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 14px; }
.series-bar a {
  flex: 0 0 auto; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--card); font-size: 14px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.series-bar a:hover { border-color: var(--clay); background: var(--ivory); transform: translateY(-2px); }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 42px; align-items: end; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.kicker i { width: 56px; height: 1px; background: var(--line); display: block; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); letter-spacing: -0.045em; line-height: 1.08; margin-bottom: 18px; }
.lead { color: var(--muted); max-width: 68ch; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-main, .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: var(--btn-radius);
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}
.btn-main { background: var(--green); color: var(--ivory); border: 1px solid var(--green); }
.btn-main:hover, .btn-main:focus-visible { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-2px); }
.btn-main:active, .btn-line:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover, .btn-line:focus-visible { background: var(--card); transform: translateY(-2px); }
.scoreboard {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--green); color: var(--ivory);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.score { padding: 26px 22px 22px; border-right: 1px solid rgba(244,241,234,.55); border-bottom: 1px solid rgba(244,241,234,.55); }
.score:nth-child(2n) { border-right: 0; }
.score:nth-last-child(-n+2) { border-bottom: 0; }
.score strong {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.04em; line-height: 1;
}
.score em { font-style: normal; font-size: .42em; letter-spacing: 0; opacity: .8; }
.score span { display: block; margin-top: 10px; color: rgba(244,241,234,.82); font-size: 14px; }

.block { padding: var(--space) 0; }
.block-linen { background: var(--linen); }
.block-mist { background: var(--mist); }
.block-head { margin-bottom: 28px; max-width: 760px; }
.block h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); }

.scene-grid { display: grid; grid-template-columns: 1.35fr 1fr .82fr; gap: 14px; }
.scene-bar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px 18px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .28s ease, border-color .28s ease;
}
.scene-bar:hover { transform: translateY(-2px); border-color: var(--clay); }
.scene-bar:nth-child(2) { background: var(--green); color: var(--ivory); border-color: var(--green); }
.scene-bar:nth-child(2) .text-link { color: var(--ivory); }
.scene-idx { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--clay); }
.scene-bar:nth-child(2) .scene-idx { color: #F0C7B4; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.bento article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px;
  transition: transform .28s ease, border-color .28s ease;
}
.bento article:hover { transform: translateY(-2px); border-color: var(--clay); }
.bento-lg { grid-column: span 6; min-height: 220px; }
.bento-sm { grid-column: span 3; }
.bento-lg:first-child { background: var(--green); color: var(--ivory); border-color: var(--green); }
.badge-x {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist); color: var(--green); font-size: 12px; margin-bottom: 12px;
}
.bento-lg:first-child .badge-x { background: transparent; color: var(--ivory); border-color: rgba(244,241,234,.45); }

.spec-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.spec-wall div {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 8px; box-shadow: var(--shadow);
}
.spec-wall dt { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.spec-wall dd { margin: 0 0 12px; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 22px;
}
.compare .is-after { background: var(--green); color: var(--ivory); border-color: var(--green); }
.compare .is-after li { color: rgba(244,241,234,.9); }
.fact-list { list-style: none; margin: 8px 0 0; padding: 0; }
.fact-list li { position: relative; padding-left: 16px; margin: 10px 0; }
.fact-list li::before {
  content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--clay);
}

.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; padding-top: 18px; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line); transform: scaleX(1);
}
.tl-item { position: relative; padding-top: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--clay);
}
.tl-date { font-family: var(--mono); font-size: 12px; color: var(--clay); display: block; margin-bottom: 6px; }
.tl-item h3 { font-size: 1rem; }
.tl-item p { color: var(--muted); font-size: 14px; }

.channel-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.channel-card img, .news-item img, .topic-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); background: var(--green);
}
.text-link {
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size .3s ease; padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1px; color: var(--green); }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
  transition: transform .28s ease, border-color .28s ease;
}
.news-item:hover { transform: translateY(-2px); border-color: var(--clay); }
.news-item.is-flip { grid-template-columns: 1fr 240px; }
.news-item.is-flip img { order: 2; }
.news-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--clay); }

.topic-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.topic-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .28s ease, border-color .28s ease;
}
.topic-card:hover { transform: translateY(-2px); border-color: var(--clay); }
.topic-card div { padding: 16px 16px 18px; }
.topic-card img { border-radius: 0; }

.guard-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.guard-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--green);
  border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow);
}
.guard-ico {
  flex: 0 0 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
}
.guard-item h3 { font-size: 1.05rem; }

.quick-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.quick-list article { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.quick-list h3 { font-size: 1.05rem; margin: 0; }
.quick-list p { margin: 0; color: var(--muted); }

.path-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: none; }
.path-steps article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 12px; box-shadow: var(--shadow);
}
.path-no {
  font-family: var(--mono); font-size: 1.8rem; color: var(--green); letter-spacing: -0.04em; display: block; line-height: 1;
  margin-bottom: 10px;
}

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote-grid blockquote {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 18px 16px;
}
.quote-grid blockquote p { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }
.quote-grid footer { color: var(--muted); font-size: 14px; }

.faq-wrap .accordion-item {
  background: var(--card); border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  overflow: hidden; margin-bottom: 10px; box-shadow: var(--shadow);
}
.faq-wrap .accordion-button {
  font-family: var(--serif); font-size: 1.05rem; color: var(--ink); background: var(--card);
  box-shadow: none; padding: 16px 18px;
}
.faq-wrap .accordion-button:not(.collapsed) { color: var(--green); background: var(--mist); }
.faq-wrap .accordion-button:focus { box-shadow: none; }
.faq-wrap .accordion-body { color: var(--muted); padding: 4px 18px 16px; }

.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.book-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.form-grid { display: grid; gap: 14px; }
label { display: block; margin-bottom: 6px; font-size: 14px; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--btn-radius);
  padding: 12px 12px; outline: none; transition: border-color .2s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--clay); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 6px; accent-color: var(--green); }
.form-msg { display: none; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--mist); color: var(--green); }
.form-msg.err { background: #F8EBE4; color: #8A3E1E; border-color: #E4C2B2; }

.site-footer { background: var(--ink); color: rgba(244,241,234,.86); padding: 42px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid rgba(244,241,234,.18); }
.site-footer .brand { color: var(--ivory); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.site-footer a:hover { color: #fff; background-size: 100% 1px; }
.foot-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; font-size: 13px; color: rgba(244,241,234,.68); }
.age-line { color: #F0C7B4; }

@media (prefers-reduced-motion: no-preference) {
  .timeline::before { transform: scaleX(0); transform-origin: left center; animation: draw .7s ease forwards; }
}
@keyframes draw { to { transform: scaleX(1); } }
@keyframes drawY { to { transform: scaleY(1); } }

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--linen); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav-panel.open { display: flex; }
  .loc { order: -1; }
  .loc-menu { position: static; min-width: 0; margin-top: 8px; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a.active { box-shadow: inset 3px 0 0 var(--green); }
  .board-grid, .scene-grid, .compare, .channel-card, .book-grid, .topic-grid { grid-template-columns: 1fr; }
  .bento-lg, .bento-sm { grid-column: span 6; }
  .guard-row, .path-steps { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr 1fr; }
  .news-item, .news-item.is-flip { grid-template-columns: 180px 1fr; }
  .news-item.is-flip img { order: 0; }
}
@media (max-width: 767.98px) {
  :root { --space: 52px; }
  .container { width: min(1140px, calc(100% - 28px)); }
  .timeline { grid-template-columns: 1fr; padding-top: 0; }
  .timeline::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(1); }
  .tl-item { padding: 0 0 8px 22px; }
  .tl-item::before { top: 8px; }
  .quick-list article, .news-item, .news-item.is-flip { grid-template-columns: 1fr; }
  .quote-grid, .spec-wall { grid-template-columns: 1fr; }
  .score strong { font-size: 2.1rem; }
}
@media (max-width: 575.98px) {
  .bento-lg, .bento-sm, .guard-row, .path-steps { grid-template-columns: 1fr; }
  .bento-lg, .bento-sm { grid-column: span 12; }
  .cta-row .btn-main, .cta-row .btn-line { width: 100%; }
  h1 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .timeline::before { transform: none !important; }
}

/* roulang page: category1 */
:root {
  --green: #1F4D3A;
  --ink: #1C1F1A;
  --linen: #F4F1EA;
  --mist: #E7EFE6;
  --card: #FFFCF7;
  --line: #D9D3C7;
  --clay: #C46A3A;
  --muted: #5E655C;
  --ivory: #F4F1EA;
  --radius: 6px;
  --btn-radius: 4px;
  --shadow: 0 8px 22px rgba(28, 31, 26, .05);
  --space: 76px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Sarasa Mono SC", ui-monospace, monospace;
  --bs-body-color: #1C1F1A;
  --bs-body-bg: #F4F1EA;
  --bs-link-color: #1C1F1A;
  --bs-link-hover-color: #1C1F1A;
  --bs-border-color: #D9D3C7;
  --bs-primary: #1F4D3A;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: min(1140px, calc(100% - 40px)) !important; max-width: 1140px; margin: 0 auto; padding: 0; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 241, 234, .96);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 18px;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--green);
}
.nav-panel { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  color: var(--ink); border-radius: var(--btn-radius);
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { background: var(--mist); }
.nav-links a.active { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); }
.loc { position: relative; }
.loc-btn, .nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px;
  background: transparent; border: 1px solid var(--ink); border-radius: var(--btn-radius);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.loc-btn:hover, .nav-toggle:hover { background: var(--card); transform: translateY(-2px); }
.loc-btn:active, .nav-toggle:active { transform: translateY(0); }
.loc-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.loc-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 180px; margin: 0; padding: 8px; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); z-index: 50;
}
.loc-menu.show { display: block; }
.loc-menu button {
  width: 100%; text-align: left; background: transparent; border: 0;
  border-radius: var(--btn-radius); padding: 8px 10px;
}
.loc-menu button:hover, .loc-menu button:focus-visible { background: var(--mist); }
.nav-toggle { display: none; }
.nav-toggle span:first-child,
.nav-toggle span:first-child::before,
.nav-toggle span:first-child::after {
  display: block; width: 16px; height: 1px; background: var(--ink); position: relative; content: "";
}
.nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 0; }
.nav-toggle span:first-child::before { top: -5px; }
.nav-toggle span:first-child::after { top: 5px; }
.kicker {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 10px; color: var(--muted); font-size: 13px; letter-spacing: 0.04em;
}
.kicker::before {
  content: ""; width: 28px; height: 1px; background: var(--clay); animation: draw .4s ease 1;
}
@keyframes draw { from { width: 0; } to { width: 28px; } }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.28; font-weight: 700; margin: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.08rem; }
.lead { color: var(--muted); max-width: 62ch; margin: 14px 0 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.page-head { padding: var(--space) 0 36px; background: var(--linen); }
.head-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 36px; align-items: end; }
.crumb { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; color: var(--muted); font-size: 14px; }
.crumb a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size .25s ease; }
.crumb a:hover { background-size: 100% 1px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-main, .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: var(--btn-radius);
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}
.btn-main { background: var(--green); color: var(--ivory); border: 1px solid var(--green); }
.btn-main:hover, .btn-main:focus-visible { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-2px); }
.btn-main:active, .btn-line:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover, .btn-line:focus-visible { background: var(--card); transform: translateY(-2px); }
.filter-bar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px;
}
.filter-bar p { margin: 0; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); }
select, input[type="text"], input[type="email"], textarea {
  width: 100%; min-height: 44px; padding: 8px 12px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--btn-radius);
  transition: border-color .25s ease, background .25s ease;
}
textarea { min-height: 96px; resize: vertical; }
select:hover, input:hover, textarea:hover { border-color: var(--green); }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.section { padding: var(--space) 0; }
.section-mist { background: var(--mist); }
.section-linen { background: var(--linen); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 62ch; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dir-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.dir-card:hover { transform: translateY(-2px); border-color: var(--clay); box-shadow: 0 10px 24px rgba(28, 31, 26, .07); }
.dir-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); background: var(--green); }
.badge-x {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist); color: var(--green); font-size: 12px; width: fit-content;
}
.badge-c { background: transparent; color: var(--clay); border-color: var(--clay); }
.dir-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: auto; }
.card-meta time { color: var(--muted); font-size: 13px; }
.text-link {
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size .28s ease;
}
.text-link:hover { background-size: 100% 1px; }
.more-row { display: flex; justify-content: flex-start; margin-top: 18px; }
.empty-note { margin: 14px 0 0; color: var(--muted); }
.status-bar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden;
}
.status-bar article { padding: 18px 20px; border-right: 1px solid var(--line); }
.status-bar article:last-child { border-right: 0; }
.status-bar span { display: block; color: var(--muted); font-size: 13px; }
.status-bar strong { display: block; margin-top: 4px; font-family: var(--mono); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.04em; }
.spec-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .9fr; gap: 14px; }
.param {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 18px 16px; min-height: 100%;
}
.param dt { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; }
.param dd { margin: 0; color: var(--muted); }
.param .num { display: block; margin-bottom: 8px; color: var(--green); font-size: 1.35rem; }
.article-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.article-link {
  display: flex; flex-direction: column; gap: 8px; min-height: 100%;
  padding: 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--radius); transition: transform .28s ease, border-color .28s ease;
}
.article-link:hover { transform: translateY(-2px); border-left-color: var(--clay); }
.article-link span { color: var(--muted); font-size: 13px; }
.article-link strong { font-family: var(--serif); font-weight: 700; line-height: 1.45; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; padding-top: 18px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line); }
.tl-item { position: relative; padding-top: 16px; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: -18px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--clay);
}
.tl-item time { color: var(--clay); font-size: 13px; }
.tl-item p { margin: 6px 0 0; color: var(--muted); }
.qa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.qa-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.qa-list a { font-family: var(--serif); font-weight: 700; }
.qa-list p { margin: 8px 0 0; color: var(--muted); }
.book-band { background: var(--green); color: var(--ivory); padding: 42px 0; }
.book-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.book-band h2, .book-band .kicker { color: var(--ivory); }
.book-band .kicker::before { background: #E7B89A; }
.book-band .lead { color: rgba(244, 241, 234, .82); }
.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .wide { grid-column: 1 / -1; }
.book-form .field span { color: rgba(244, 241, 234, .78); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--clay); }
.form-err { min-height: 1.5em; margin: 0; color: #F6D7C8; font-size: 14px; }
.ok-box { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.ok-box strong { font-family: var(--serif); display: block; margin-bottom: 6px; }
.site-footer { background: var(--ink); color: var(--ivory); padding: 36px 0 28px; }
.site-footer .brand { color: var(--ivory); }
.foot-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.foot-links { display: flex; gap: 8px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer a { color: var(--ivory); }
.foot-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(244, 241, 234, .2);
  color: #C9C6BE; font-size: 14px;
}
.age-line { color: #C9C6BE; }
@media (max-width: 1024px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .article-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--linen); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 8px 20px 16px; gap: 8px;
  }
  .nav-panel.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { width: 100%; }
  .loc-btn { width: 100%; justify-content: flex-start; }
  .head-grid, .book-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --space: 48px; }
  .status-bar, .timeline, .qa-list, .book-form { grid-template-columns: 1fr; }
  .status-bar article { border-right: 0; border-bottom: 1px solid var(--line); }
  .status-bar article:last-child { border-bottom: 0; }
  .timeline { padding-top: 0; padding-left: 16px; }
  .timeline::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-item::before { left: -16px; top: 8px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 576px) {
  .container { width: min(1140px, calc(100% - 28px)) !important; }
  .catalog-grid, .spec-grid, .article-row { grid-template-columns: 1fr; }
  .foot-meta, .foot-grid { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
