/* roulang page: index */
:root {
  --vine: #6E4B73;
  --persimmon: #D97B5C;
  --moss: #6E8F7A;
  --linen: #F4EFE8;
  --card: #FBF8F4;
  --line: #E4D9CC;
  --night: #2A2428;
  --ink: #2B2422;
  --muted: #6E645C;
  --shadow: 0 14px 34px rgba(42, 36, 40, .08);
  --shadow-hover: 0 16px 36px rgba(42, 36, 40, .14);
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-shot: 20px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bs-primary: #6E4B73;
  --bs-body-bg: #F4EFE8;
  --bs-body-color: #2B2422;
  --bs-link-color: #6E4B73;
  --bs-link-hover-color: #D97B5C;
  --bs-border-color: #E4D9CC;
  --bs-border-radius: 18px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vine); }
p { margin: 0 0 12px; }
h1, h2, h3 { font-weight: 700; color: var(--ink); }
::selection { background: var(--vine); color: var(--linen); }
:focus-visible {
  outline: 2px solid var(--vine);
  outline-offset: 3px;
}
.shell.container { max-width: 1160px; padding-left: 24px; padding-right: 24px; }
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: rgba(244, 239, 232, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(42, 36, 40, .06);
}
.logo {
  display: flex;
  flex-direction: column;
  color: var(--vine);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .04em;
}
.logo span:first-child { border-bottom: 2px solid var(--vine); padding-bottom: 2px; margin-bottom: 2px; }
.nav-toggle {
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle:hover { border-color: var(--vine); }
.nav-toggle[aria-expanded="true"] span { background: var(--vine); }
.btn-brand, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-brand { background: var(--vine); color: var(--linen); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--persimmon); color: var(--ink); transform: translateY(-2px); }
.btn-brand:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { background: var(--line); color: var(--ink); }
.site-header .btn-brand { min-height: 42px; padding: 0 16px; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(42, 36, 40, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(860px, 92vw);
  background: var(--night);
  color: var(--linen);
  transform: translateX(104%);
  transition: transform .34s ease;
  padding: 28px 48px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(42, 36, 40, .18);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; justify-content: flex-end; }
.drawer-close {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--linen);
  cursor: pointer;
}
.drawer-close:hover { background: var(--persimmon); color: var(--ink); }
.drawer-nav { display: flex; flex-direction: column; justify-content: center; gap: 8px; flex: 1; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--linen);
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.25;
  padding: 6px 0;
}
.drawer-nav a:hover { color: var(--persimmon); }
.drawer-nav a[aria-current="page"]::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--persimmon);
  border-radius: 2px;
}
.drawer a:focus-visible { outline-color: var(--linen); box-shadow: 0 0 0 2px var(--vine); }
.drawer-cta { align-self: flex-start; }
main { padding-top: var(--header-h); }
section { scroll-margin-top: 88px; }
.sec {
  padding: 92px 0;
  position: relative;
}
.sec-paper { background: var(--card); }
.sec-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.28;
  margin: 0 0 12px;
}
.sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 14px;
  background: var(--vine);
}
.sec-lead {
  max-width: 68ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.sec-head.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 8px;
}
.sec-head.split .sec-lead { margin-bottom: 22px; }
.kicker {
  display: inline-flex;
  align-items: center;
  color: var(--moss);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.hero { padding: 42px 0 28px; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -80px;
  top: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(110, 75, 115, .16), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(217, 123, 92, .1), transparent 58%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 36px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.2;
  letter-spacing: .02em;
}
.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: var(--vine);
}
.lede { margin: 18px 0 12px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.hero-copy p.body-copy { max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.shot {
  position: relative;
  border-radius: var(--radius-shot);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot { height: 540px; }
.shot .bar {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(244, 239, 232, .95);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.5;
}
.value-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0 36px; }
.point-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.point { padding: 8px 26px 28px 0; }
.point + .point { border-left: 1px solid var(--line); padding-left: 26px; }
.point h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; }
.point p { margin: 0; color: var(--muted); }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}
.panel:hover { box-shadow: var(--shadow-hover); }
.panel h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 28px; }
.panel p { color: var(--muted); margin: 0; }
.panel .split-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.stack .panel h3 { font-size: 22px; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.7;
  border: 1px solid transparent;
}
.tag-hot { color: var(--persimmon); border-color: var(--persimmon); }
.tag-calm { color: var(--moss); border-color: var(--moss); }
.deep-row {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.deep-row.is-flip { grid-template-columns: 4fr 8fr; }
.deep-row.is-flip .deep-visual { order: -1; }
.deep-copy h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; }
.deep-copy p { margin: 0; color: var(--muted); }
.deep-visual { min-height: 180px; height: 210px; }
.scene-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 18px; }
.scene-a { grid-column: 1 / span 2; grid-row: 1; }
.scene-b { grid-column: 3; grid-row: 1; }
.scene-c { grid-column: 1; grid-row: 2; }
.scene-d { grid-column: 2 / span 2; grid-row: 2; }
.scene-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.scene-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 26px; }
.scene-card p { margin: 0; color: var(--muted); }
.scene-a { display: grid; grid-template-columns: 1.4fr .7fr; gap: 18px; align-items: center; }
.swatch {
  min-height: 150px;
  border-radius: var(--radius-shot);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 24% 30%, rgba(217, 123, 92, .5), transparent 46%),
    radial-gradient(circle at 78% 72%, rgba(110, 143, 122, .45), transparent 42%),
    var(--night);
}
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.path article { border-top: 1px solid var(--line); padding-top: 14px; }
.path .n {
  display: block;
  font-family: ui-monospace, "Noto Sans SC", monospace;
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  font-size: 14px;
  margin-bottom: 8px;
}
.path h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; }
.path p { margin: 0; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; margin-top: 22px; color: var(--vine); border-bottom: 1px solid var(--vine); padding-bottom: 2px; font-weight: 700; }
.text-link:hover { color: var(--persimmon); border-color: var(--persimmon); }
.demo-stage { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; align-items: stretch; }
.demo-side { display: grid; gap: 16px; }
.demo-main { min-height: 460px; height: 100%; }
.demo-side .shot { min-height: 214px; }
figure { margin: 0; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }
.hotspots { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hotspots li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--night);
  color: var(--linen);
  border-radius: var(--radius-card);
  padding: 18px 22px;
}
.hotspots .num {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  font-size: 28px;
}
.hotspots strong { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--linen); }
.hotspots p { margin: 4px 0 0; color: #E4D9CC; }
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 16px;
}
.case .before, .case .after { padding: 28px; }
.case .before { background: #EFE7DC; }
.case em { display: block; font-style: normal; font-family: var(--serif); margin-bottom: 8px; }
.case .before em { color: var(--muted); }
.case .after em { color: var(--vine); }
.case p { margin: 0; }
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--night);
  color: var(--linen);
  border-radius: var(--radius-card);
  padding: 18px 8px;
}
.stat-bar div { text-align: center; padding: 10px 12px; }
.stat-bar div + div { box-shadow: inset 1px 0 0 rgba(228, 217, 204, .22); }
.stat-bar strong {
  display: block;
  font-family: ui-monospace, "Noto Sans SC", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--linen);
}
.stat-bar span { display: block; margin-top: 4px; }
.stat-bar em { display: block; margin-top: 4px; font-style: normal; color: var(--persimmon); font-size: 13px; }
.fine { margin-top: 12px; color: var(--muted); font-size: 14px; }
.rail { display: flex; flex-direction: column; gap: 14px; }
.rail-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: box-shadow .2s ease;
}
.rail-item:hover { box-shadow: var(--shadow-hover); }
.rail-item.is-rec { border-color: var(--vine); box-shadow: inset 0 0 0 1px var(--vine); }
.rail-name { font-family: var(--serif); font-size: 24px; display: flex; align-items: center; gap: 10px; }
.rail-benefits { display: flex; flex-wrap: wrap; gap: 0 18px; color: var(--muted); }
.rail-benefits span { position: relative; }
.rail-benefits span + span { padding-left: 18px; }
.rail-benefits span + span::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 1px; height: 1em;
  background: var(--line);
}
.price {
  font-family: ui-monospace, "Noto Sans SC", monospace;
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}
.price small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); text-align: right; }
.cmp { border-top: 1px solid var(--line); }
.cmp-row { display: grid; grid-template-columns: 148px repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.cmp-row > div { padding: 16px 12px; }
.cmp-head { font-family: var(--serif); background: transparent; }
.cmp-row > div:nth-child(3) { background: rgba(110, 75, 115, .08); }
.cmp-name { font-weight: 700; }
.cmp-actions { margin-top: 22px; }
.quote-list { display: flex; flex-direction: column; gap: 18px; }
.quote { width: min(100%, 760px); padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
.quote:nth-child(2) { width: min(100%, 560px); margin-left: 7%; }
.quote:nth-child(3) { width: min(100%, 680px); }
.quote:nth-child(4) { width: min(100%, 500px); margin-left: 11%; }
.quote p { margin: 0 0 10px; font-family: var(--serif); font-size: 20px; line-height: 1.75; }
.who { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 10px; }
.mood { display: inline-flex; flex-direction: column; gap: 4px; }
.mood i { display: block; width: 36px; height: 3px; background: var(--moss); border-radius: 99px; }
.voice-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 36px; align-items: start; }
.voice { position: relative; padding-top: 28px; }
.voice .mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: .8;
  color: rgba(110, 75, 115, .18);
  position: absolute;
  top: -18px; left: -6px;
  pointer-events: none;
}
.voice p { position: relative; margin: 0 0 14px; font-family: var(--serif); font-size: 22px; line-height: 1.75; }
.voice-grid .voice:last-child { margin-top: 72px; }
.news-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .2s ease;
}
.news-item:hover { transform: translateX(4px); }
.thumb { height: 132px; border-radius: var(--radius-shot); border: 1px solid var(--line); overflow: hidden; background: var(--night); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item time { color: var(--moss); font-variant-numeric: tabular-nums; font-size: 13px; }
.news-item h3 { margin: 2px 0 6px; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.news-item h3 a:hover { color: var(--vine); }
.news-item p { margin: 0; color: var(--muted); }
.more-wrap { margin-top: 22px; }
.cta-band { background: var(--night); color: var(--linen); padding: 72px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band .sec-title { color: var(--linen); }
.cta-band .sec-title::after { background: var(--persimmon); }
.cta-band p { margin: 0; color: #E4D9CC; max-width: 46ch; }
#open-note { margin-top: 12px; color: var(--linen); }
.site-footer { background: var(--night); color: #E4D9CC; padding: 48px 0 32px; }
.footer-logo { margin-bottom: 10px; }
.foot-line { margin: 0 0 18px; max-width: 28em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-bottom: 22px; }
.foot-nav a { color: var(--linen); font-family: var(--serif); font-size: 18px; }
.foot-nav a:hover { color: var(--persimmon); }
.foot-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--persimmon); }
.copy { margin: 0; font-size: 14px; color: #cfc3b8; }
input[type="text"], input[type="search"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
  color: var(--ink);
  width: 100%;
}
input:focus { outline: 2px solid var(--vine); border-bottom-color: var(--vine); }
@media (min-width: 1200px) {
  .hero-figure { margin-right: calc((100vw - 1160px) / -2); }
  .hero-shot { border-top-right-radius: 0; border-bottom-right-radius: 0; }
}
@media (max-width: 1024px) {
  .hero-shot { height: 440px; }
  .scene-a { grid-template-columns: 1fr; }
  .sec { padding: 76px 0; }
}
@media (max-width: 991px) {
  .hero-layout, .sec-head.split, .deep-row, .deep-row.is-flip, .voice-grid { grid-template-columns: 1fr; }
  .deep-visual { order: -1; height: 200px; }
  .hero-figure { margin-right: 0; }
  .hero-shot { height: 360px; border-radius: var(--radius-shot); }
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene-a, .scene-b, .scene-c, .scene-d { grid-column: auto; grid-row: auto; }
  .scene-a, .scene-d { grid-column: 1 / -1; }
  .demo-stage { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .voice-grid .voice:last-child { margin-top: 12px; }
}
@media (max-width: 768px) {
  .point-row, .case, .stat-bar, .rail-item { grid-template-columns: 1fr; }
  .point + .point { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 18px; margin-top: 8px; }
  .stat-bar div + div { box-shadow: inset 0 1px 0 rgba(228, 217, 204, .22); }
  .price small { text-align: left; }
  .cmp-row {
    display: flex;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    margin-bottom: 10px;
    background: var(--card);
  }
  .cmp { border-top: 0; }
  .cmp-row > div { min-width: 120px; }
  .quote, .quote:nth-child(2), .quote:nth-child(3), .quote:nth-child(4) { width: 100%; margin-left: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .drawer-panel { width: 100%; padding: 22px 22px 32px; }
}
@media (max-width: 575px) {
  .shell.container { padding-left: 16px; padding-right: 16px; }
  .site-header { padding: 0 12px; }
  .hero h1 { font-size: 36px; }
  .sec-title { font-size: 32px; }
  .logo { font-size: 13px; }
  .scene-grid, .path { grid-template-columns: 1fr; }
  .scene-a, .scene-d { grid-column: auto; }
  .path article { border-top: 0; border-left: 1px solid var(--line); padding: 4px 0 16px 14px; }
  .demo-stage { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .demo-side { display: contents; }
  .demo-stage .shot { min-width: 78vw; height: 280px; scroll-snap-align: start; }
  .news-item { grid-template-columns: 84px 1fr; gap: 12px; }
  .thumb { height: 108px; }
  .panel { padding: 22px; }
  .hotspots li { grid-template-columns: 52px 1fr; padding: 14px; }
}
@media (max-width: 520px) {
  .hero-actions .btn-brand, .hero-actions .btn-line { width: 100%; }
  .news-item h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --vine: #6E4B73;
  --persimmon: #D97B5C;
  --moss: #6E8F7A;
  --linen: #F4EFE8;
  --card: #FBF8F4;
  --line: #E4D9CC;
  --night: #2A2428;
  --ink: #2B2422;
  --muted: #6E645C;
  --shadow: 0 14px 34px rgba(42, 36, 40, .08);
  --shadow-hover: 0 16px 36px rgba(42, 36, 40, .14);
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-shot: 20px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bs-primary: #6E4B73;
  --bs-body-bg: #F4EFE8;
  --bs-body-color: #2B2422;
  --bs-link-color: #6E4B73;
  --bs-link-hover-color: #D97B5C;
  --bs-border-color: #E4D9CC;
  --bs-border-radius: 18px;
  --bs-focus-ring-color: rgba(110, 75, 115, .35);
  --header-h: 72px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vine); }
h1, h2, h3, p { margin-top: 0; }
::selection { background: var(--vine); color: var(--linen); }
:focus-visible {
  outline: 2px solid var(--vine);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.shell.container { max-width: 1160px; padding-left: 24px; padding-right: 24px; }
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: rgba(244, 239, 232, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(42, 36, 40, .06);
}
.logo {
  display: flex;
  flex-direction: column;
  color: var(--vine);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .04em;
}
.logo span:first-child { border-bottom: 2px solid var(--vine); padding-bottom: 2px; margin-bottom: 2px; }
.nav-toggle {
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle:hover { border-color: var(--vine); }
.nav-toggle[aria-expanded="true"] span { background: var(--vine); }
.btn-brand, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-brand { background: var(--vine); color: var(--linen); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--persimmon); color: var(--ink); transform: translateY(-2px); }
.btn-brand:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { background: var(--line); color: var(--ink); }
.site-header .btn-brand { min-height: 42px; padding: 0 16px; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(42, 36, 40, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(860px, 92vw);
  background: var(--night);
  color: var(--linen);
  transform: translateX(104%);
  transition: transform .34s ease;
  padding: 28px 48px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(42, 36, 40, .18);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; justify-content: flex-end; }
.drawer-close {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--linen);
  cursor: pointer;
}
.drawer-close:hover { background: var(--persimmon); color: var(--ink); }
.drawer-nav { display: flex; flex-direction: column; justify-content: center; gap: 8px; flex: 1; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--linen);
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.25;
  padding: 6px 0;
}
.drawer-nav a:hover { color: var(--persimmon); }
.drawer-nav a[aria-current="page"]::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--persimmon);
  border-radius: 2px;
}
.drawer a:focus-visible { outline-color: var(--linen); box-shadow: 0 0 0 2px var(--vine); }
.drawer-cta { align-self: flex-start; }
main { padding-top: var(--header-h); }
section { scroll-margin-top: 88px; }
.block { padding: 58px 0; position: relative; }
.block.alt { background: rgba(251, 248, 244, .72); }
.sec-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.28;
  margin: 0 0 12px;
}
.sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 14px;
  background: var(--vine);
}
.sec-lead {
  max-width: 68ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
#mast {
  padding: 28px 0 18px;
  background: var(--linen);
  overflow: hidden;
}
#mast::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -80px;
  background:
    radial-gradient(circle at 40% 40%, rgba(110, 75, 115, .16), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(217, 123, 92, .1), transparent 58%);
  pointer-events: none;
}
.mast-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: end;
}
.crumb { margin: 0 0 10px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.crumb a:hover { color: var(--persimmon); }
#mast h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: .02em;
}
#mast h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  background: var(--vine);
}
.scope { margin: 0; color: var(--muted); line-height: 1.75; }
.scope + .scope { margin-top: 4px; }
#filters {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding: 14px 0 16px;
  background: rgba(244, 239, 232, .96);
  border-bottom: 1px solid var(--line);
}
#filters .sec-title { font-size: 28px; margin-bottom: 6px; }
#filters .sec-title::after { margin-top: 8px; }
#filters .sec-lead { margin-bottom: 14px; }
.filter-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr auto;
  gap: 18px;
  align-items: end;
}
.line-field { position: relative; min-width: 0; }
.line-field label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}
.line-field select {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 8px 28px 8px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  box-shadow: none;
}
.line-field::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--vine);
  border-bottom: 1.5px solid var(--vine);
  transform: rotate(45deg);
  pointer-events: none;
}
.line-field select.is-active {
  color: var(--vine);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding-left: 12px;
  background: var(--card);
}
.line-field select:focus { outline: none; }
.line-field select:focus-visible {
  outline: 2px solid var(--vine);
  outline-offset: 3px;
}
#entry-list { display: flex; flex-direction: column; gap: 0; }
.entry {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 0 0 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.entry.is-wide { width: min(760px, 68%); margin-right: auto; }
.entry.is-narrow { width: min(420px, 38%); margin-left: auto; }
.entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(140px, .8fr);
  gap: 20px;
  align-items: stretch;
}
.entry.is-narrow .entry-grid { display: block; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--persimmon);
  background: transparent;
  font-size: 13px;
  letter-spacing: .04em;
}
.fresh { color: var(--moss); }
.entry h3, .essay strong, .step h3, .timeline h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.4;
}
.entry h3 { margin: 0 0 8px; font-size: 26px; }
.entry h3 a:hover { color: var(--persimmon); }
.entry p { margin: 0 0 14px; }
.more {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--vine);
  font-weight: 700;
  border-bottom: 1px solid var(--vine);
}
.more:hover { color: var(--persimmon); border-bottom-color: var(--persimmon); }
.swatch {
  margin: 0;
  border-radius: var(--radius-shot);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--night);
  min-height: 180px;
}
.swatch svg { width: 100%; height: 100%; min-height: 180px; }
#group-note {
  margin: 8px 0 22px;
  padding: 28px 4px 8px;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#group-note .sec-lead { margin-bottom: 0; }
#empty-note {
  margin: 8px 0 0;
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
  color: var(--muted);
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  border-left: 1px solid var(--line);
  max-width: 760px;
}
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.dot {
  position: absolute;
  left: -5px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px var(--linen);
}
.block.alt .dot { box-shadow: 0 0 0 4px #f7f3ee; }
.timeline h3 { margin: 0 0 4px; font-size: 22px; }
.timeline p { margin: 0; color: var(--muted); }
.essay-board {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr);
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.essay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 180px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.essay-wide { grid-row: 1 / span 2; min-height: 100%; background: var(--night); color: var(--linen); }
.essay-wide .tag { color: var(--persimmon); border-color: rgba(228, 217, 204, .4); }
.essay strong { font-size: 28px; }
.essay-wide strong { color: var(--linen); font-size: 34px; }
.essay p { margin: 0; color: var(--muted); }
.essay-wide p { color: #E4D9CC; }
.essay:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.essay-wide:hover { color: var(--linen); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 22px;
}
.step { padding: 18px 22px 0 0; border-top: 1px solid var(--line); }
.step + .step { padding-left: 22px; box-shadow: inset 1px 0 0 var(--line); }
.step em {
  display: block;
  margin-bottom: 8px;
  color: var(--moss);
  font-style: normal;
  font-family: var(--serif);
  letter-spacing: .08em;
}
.step h3 { margin: 0 0 8px; font-size: 24px; }
.step p { margin: 0; color: var(--muted); }
.pager-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.page-btn:hover:not(:disabled) { background: var(--line); transform: translateY(-2px); }
.page-btn[aria-current="page"] { background: var(--vine); color: var(--linen); border-color: var(--vine); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-step { padding: 0 16px; }
.keep {
  display: inline-flex;
  margin-top: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--vine);
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--vine);
  cursor: pointer;
}
.keep:hover { color: var(--persimmon); border-bottom-color: var(--persimmon); }
.site-footer { background: var(--night); color: var(--linen); padding: 48px 0 28px; }
.site-footer a { color: var(--linen); }
.footer-logo { color: var(--linen); }
.footer-logo span:first-child { border-bottom-color: var(--persimmon); }
.foot-line { margin: 16px 0 0; color: #E4D9CC; max-width: 36ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0; }
.foot-nav a { font-family: var(--serif); font-size: 18px; }
.foot-nav a:hover { color: var(--persimmon); }
.copy { margin: 0; color: #C8BEB4; font-size: 14px; }
@media (max-width: 991px) {
  .mast-grid { grid-template-columns: 1fr; gap: 12px; }
  .entry.is-wide, .entry.is-narrow { width: 100%; margin-left: 0; margin-right: 0; }
  .entry.is-narrow { width: 86%; margin-left: auto; }
  .entry-grid, .entry.is-wide .entry-grid { grid-template-columns: 1fr; }
  .essay-board { grid-template-columns: 1fr; }
  .essay-wide { grid-row: auto; }
  .essay-wide strong { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; box-shadow: none; margin-top: 8px; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .filter-row .btn-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .entry.is-narrow { width: 100%; }
  .block { padding: 42px 0; }
}
@media (max-width: 575px) {
  .shell.container { padding-left: 16px; padding-right: 16px; }
  .site-header { padding: 0 12px; gap: 8px; }
  .logo { font-size: 13px; }
  .site-header .btn-brand { padding: 0 10px; font-size: 14px; }
  .drawer-panel { width: 100%; padding: 22px 20px 32px; }
  .drawer-nav a { font-size: 34px; }
  #mast h1 { font-size: 34px; }
  .sec-title, #filters .sec-title { font-size: 34px; }
  .entry { padding: 20px; }
  .entry h3 { font-size: 22px; }
  .filter-row { grid-template-columns: 1fr; }
  .swatch, .swatch svg { min-height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { 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}
