/* roulang page: index */
:root {
  --ink: #161114;
  --lift: #24181D;
  --paper: #F4EFE8;
  --paper-card: #FFFCF8;
  --plum: #7C3048;
  --plum-deep: #4E2433;
  --apricot: #E4CDB8;
  --copper: #C78448;
  --text: #2A2226;
  --muted: #6E5E64;
  --line: rgba(22,17,20,.12);
  --line-light: rgba(246,241,234,.16);
  --on-dark: #F6F1EA;
  --muted-dark: #D9C7BC;
  --radius: 14px;
  --pill: 999px;
  --shadow: 0 8px 24px rgba(22,17,20,.08);
  --pad: 72px;
  --width: 1120px;
  --header: 64px;
  --focus: 0 0 0 2px var(--copper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; text-decoration-color: var(--copper); }
p { margin: 0 0 .75em; }
h1, h2, h3 { font-family: inherit; line-height: 1.25; font-weight: 700; margin: 0 0 .45em; }
h1 { font-size: 40px; letter-spacing: -0.02em; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
::selection { background: #E4CDB8; color: #2A2226; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--plum); color: var(--apricot);
  padding: 8px 14px; border-radius: var(--pill); z-index: 80;
}
.skip:focus { top: 12px; }
.container { width: min(var(--width), calc(100% - 40px)); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.visually-hidden {
  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: 50; height: var(--header);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header); display: flex; align-items: center; gap: 18px;
}
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo-name { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--text); white-space: nowrap; }
.logo-sub { font-size: 11px; line-height: 1.2; color: var(--muted); letter-spacing: .08em; }
.nav-cluster { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  border-radius: var(--pill); color: var(--text); font-size: 14px; white-space: nowrap;
}
.nav-links a:hover { background: rgba(124,48,72,.08); text-decoration: none; }
.nav-links a:active { transform: translateY(1px); }
.nav-links a.is-active { background: rgba(124,48,72,.12); color: var(--plum-deep); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-search {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--paper-card); min-width: 44px;
}
.nav-search:focus-within { border-color: var(--copper); box-shadow: var(--focus); }
.search-ico { color: var(--copper); font-size: 13px; font-weight: 700; }
.nav-search input {
  width: 168px; border: 0; background: transparent; padding: 0; outline: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: var(--text); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--pill); border: 1px solid transparent; text-decoration: none; font-weight: 650;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--plum); color: var(--apricot); }
.btn-primary:hover { background: var(--plum-deep); color: var(--apricot); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--copper); color: var(--plum-deep); }
.section-dark .btn-ghost { color: var(--on-dark); border-color: var(--line-light); }
.section-dark .btn-ghost:hover { color: var(--apricot); border-color: var(--copper); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--copper); outline-offset: 2px;
}
.section { padding: var(--pad) 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-paper { background: var(--paper); color: var(--text); }
.section-slim { padding: 32px 0; }
.sec-head { max-width: 760px; margin-bottom: 28px; }
.sec-head h2::after {
  content: ""; display: block; width: 48px; height: 2px; margin-top: 12px; background: var(--copper); border-radius: 2px;
}
.lead { font-size: 16px; line-height: 1.75; margin: 0; color: var(--muted); }
.section-dark .lead { color: var(--muted-dark); }
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 36px; align-items: center; }
.sub { font-size: 18px; line-height: 1.5; color: var(--apricot); margin: 0 0 .75em; }
.hero .lead { color: var(--muted-dark); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.panel {
  background: var(--lift); border: 1px solid var(--line-light); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.panel-label { margin: 0 0 12px; font-size: 13px; color: var(--apricot); letter-spacing: .06em; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric {
  background: #1B1418; border: 1px solid var(--line-light); border-radius: 12px; padding: 14px 14px 12px;
  border-top: 2px solid var(--copper); min-height: 108px;
}
.metric-k { display: block; font-size: 13px; color: var(--muted-dark); }
.metric strong { display: block; margin-top: 6px; font-size: 32px; font-weight: 700; color: var(--on-dark); line-height: 1.1; }
.metric .unit { font-size: 13px; margin-left: 4px; color: var(--apricot); font-family: inherit; }
.delta { display: block; margin-top: 6px; font-size: 13px; color: var(--copper); }
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(148px, auto); gap: 16px; }
.bento-card, .wall-card, .rail-card, .scene, .news-feature, .news-item, .cat-entry, .form-card {
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper-card);
}
.bento-card {
  display: flex; flex-direction: column; min-height: 168px; overflow: hidden; color: var(--text); position: relative;
  transition: transform .2s ease;
}
.bento-card.big { grid-row: span 2; min-height: 360px; }
.bento-card:hover, .wall-card:hover, .rail-card:hover, .scene:hover, .news-item:hover, .news-feature:hover {
  transform: translateY(-2px); text-decoration: none;
}
.bento-card:hover h3, .wall-card:hover h3, .rail-card:hover h3, .news-item:hover h3, .news-feature:hover h3 {
  text-decoration: underline; text-decoration-color: var(--copper);
}
.swatch {
  min-height: 92px; display: flex; align-items: flex-end; padding: 14px; color: var(--on-dark); font-weight: 700;
}
.big .swatch { min-height: 210px; font-size: 28px; }
.swatch span { font-size: 18px; line-height: 1.25; }
.swatch-a { background: #7C3048; }
.swatch-b { background: #4E2433; }
.swatch-c { background: #24181D; }
.swatch-d { background: #8C4A32; }
.swatch-e { background: #5C3140; }
.card-body { padding: 14px 16px 16px; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 8px;
  font-size: 12px; line-height: 1; border: 1px solid transparent;
}
.badge-fill { background: var(--apricot); color: var(--text); }
.badge-line { background: transparent; color: var(--copper); border-color: rgba(199,132,72,.45); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 18px; height: 1px; background: var(--line-light);
}
.step {
  position: relative; background: var(--lift); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 18px 16px 16px;
}
.step-mark { width: 36px; height: 4px; border-radius: 2px; background: var(--copper); margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted-dark); font-size: 14px; }
.statbar {
  display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 12px; align-items: center;
}
.statbar-note { margin: 0; color: var(--muted); font-size: 14px; }
.stat { padding: 8px 0 8px 14px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; line-height: 1.1; font-weight: 700; }
.stat span { display: block; font-size: 13px; color: var(--muted); }
.stat em { font-style: normal; color: var(--copper); font-size: 13px; }
.timeline { display: flex; flex-direction: column; }
.t-item {
  display: grid; grid-template-columns: 132px 1fr; gap: 22px; padding: 22px 0;
  border-top: 1px solid var(--line-light);
}
.t-item:last-child { border-bottom: 1px solid var(--line-light); }
.t-time { color: var(--copper); font-size: 20px; padding-top: 4px; }
.t-item h3 { margin-bottom: 6px; }
.t-item p { margin: 0; color: var(--muted-dark); }
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.wall-card { display: flex; flex-direction: column; overflow: hidden; min-height: 210px; color: var(--text); transition: transform .2s ease; }
.wall-card.wide { grid-column: span 4; }
.wall-card.narrow { grid-column: span 2; }
.wall-card .swatch { min-height: 120px; }
.wall-card.wide .swatch { min-height: 168px; }
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: rgba(199,132,72,.45); border-radius: 99px; }
.rail-card {
  flex: 0 0 268px; scroll-snap-align: start; padding: 16px; color: var(--on-dark); background: var(--lift);
  border-color: var(--line-light); transition: transform .2s ease; min-height: 196px;
}
.rail-card p { margin: 8px 0 0; color: var(--muted-dark); font-size: 14px; }
.meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--apricot); }
.scenes { display: grid; grid-template-columns: 1.15fr .82fr 1.28fr; gap: 16px; align-items: stretch; }
.scene {
  padding: 18px; display: flex; flex-direction: column; min-height: 240px; transition: transform .2s ease;
}
.scene:nth-child(1) { min-height: 220px; background: #FFF8F2; }
.scene:nth-child(2) { min-height: 300px; background: #F7E7DC; }
.scene:nth-child(3) { min-height: 260px; background: var(--paper-card); }
.scene p { margin: 0; color: var(--muted); font-size: 14px; }
.scene .swatch { border-radius: 10px; margin-bottom: 14px; min-height: 72px; }
.news { display: grid; grid-template-columns: 1.35fr .8fr; gap: 18px; align-items: start; }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item, .news-feature {
  display: block; padding: 14px 16px; color: var(--on-dark); background: var(--lift); border-color: var(--line-light);
  transition: transform .2s ease;
}
.news-item p, .news-feature p { margin: 6px 0 0; color: var(--muted-dark); font-size: 14px; }
.news-feature { min-height: 100%; padding: 18px; }
.news-feature .swatch { border-radius: 10px; margin-bottom: 14px; min-height: 140px; }
.cat-entry {
  display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; padding: 28px;
}
.cat-entry p { margin: 0; color: var(--muted); }
.brands { display: flex; flex-wrap: wrap; gap: 12px; }
.brand {
  min-height: 64px; min-width: 140px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-light);
  background: var(--lift); display: flex; flex-direction: column; justify-content: center;
}
.brand b { font-size: 15px; font-weight: 700; }
.brand span { font-size: 13px; color: var(--muted-dark); }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; min-height: 56px; padding: 14px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16px;
}
.faq-q i {
  flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px;
  position: relative; font-style: normal;
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; background: var(--plum); left: 5px; right: 5px; top: 10px; height: 1.5px;
}
.faq-q i::after { left: 10px; right: 10px; top: 5px; bottom: 5px; width: 1.5px; height: auto; }
.faq-item.is-open .faq-q i::after { display: none; }
.faq-a { display: none; padding: 0 4px 16px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open { background: rgba(255,252,248,.55); box-shadow: inset 0 0 0 1px var(--line); }
.assure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.assure-row article { border-top: 2px solid var(--copper); padding-top: 10px; }
.assure-row h3 { font-size: 16px; }
.assure-row p { margin: 0; color: var(--muted-dark); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.form-card { padding: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--text);
  border-radius: 12px; padding: 12px 14px; min-height: 44px; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: var(--copper); box-shadow: var(--focus); }
.field.is-error input, .field.is-error textarea { border-color: var(--plum); }
.err { display: none; color: var(--plum); font-size: 13px; }
.field.is-error .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-success {
  display: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #F8EFE6;
}
.form-success.is-on { display: block; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--plum-deep); font-weight: 700; }
.search-empty { display: none; margin-top: 12px; color: var(--copper); font-size: 14px; }
.search-empty.is-on { display: block; }
.site-footer { background: #120E11; color: var(--on-dark); padding: 48px 0 20px; border-top: 1px solid var(--line-light); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; }
.site-footer a { color: var(--apricot); }
.site-footer p { color: var(--muted-dark); font-size: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 4px; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; }
.copyright {
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line-light);
  font-size: 13px; color: var(--muted-dark);
}
@media (max-width: 1099px) {
  .nav-search { width: 44px; padding: 0; justify-content: center; }
  .nav-search input { width: 0; }
  .nav-search:focus-within { width: auto; padding: 0 12px; }
  .nav-search:focus-within input { width: 150px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.big { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .statbar-note { grid-column: 1 / -1; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall-card.wide, .wall-card.narrow { grid-column: auto; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .scenes .scene:last-child { grid-column: 1 / -1; }
  .news, .contact-grid, .cat-entry, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 719px) {
  :root { --pad: 40px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .container { width: min(var(--width), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { order: 2; }
  .nav-cluster {
    display: none; position: fixed; inset: var(--header) 0 0 0; background: var(--paper);
    z-index: 45; padding: 16px 16px 32px; overflow: auto; flex-direction: column; align-items: stretch;
  }
  .site-header.nav-open .nav-cluster { display: flex; }
  .nav-links, .nav-tools { flex-direction: column; align-items: stretch; margin-left: 0; width: 100%; }
  .nav-links a, .nav-tools .btn, .nav-search { width: 100%; }
  .nav-search { width: 100%; padding: 0 14px; justify-content: flex-start; }
  .nav-search input { width: 100%; }
  .hero { padding: 36px 0 40px; }
  .hero-grid, .bento, .steps, .statbar, .scenes, .wall, .form-row, .assure-row { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .scenes .scene:last-child, .statbar-note, .bento-card.big { grid-column: auto; }
  .t-item { grid-template-columns: 1fr; gap: 6px; }
  .logo-name { font-size: 13px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .logo-sub { display: none; }
  .big .swatch { font-size: 22px; min-height: 140px; }
}
@media (max-width: 520px) {
  .hero-actions .btn, .cat-entry .btn { width: 100%; }
  .metric strong { font-size: 26px; }
  .stat b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --ink: #161114;
 --lift: #24181D;
 --paper: #F4EFE8;
 --paper-card: #FFFCF8;
 --plum: #7C3048;
 --plum-deep: #4E2433;
 --apricot: #E4CDB8;
 --copper: #C78448;
 --text: #2A2226;
 --muted: #6E5E64;
 --line: rgba(22,17,20,.12);
 --line-light: rgba(246,241,234,.16);
 --on-dark: #F6F1EA;
 --muted-dark: #D9C7BC;
 --radius: 14px;
 --pill: 999px;
 --shadow: 0 8px 24px rgba(22,17,20,.08);
 --pad: 72px;
 --width: 1120px;
 --header: 64px;
 --focus: 0 0 0 2px var(--copper);
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--ink);
 color: var(--text);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; text-decoration-color: var(--copper); }
p { margin: 0 0 .75em; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; }
h1 { font-size: 40px; margin: 0 0 10px; }
h2 { font-size: 28px; margin: 0 0 8px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.container { width: min(var(--width), calc(100% - 40px)); margin: 0 auto; }
.visually-hidden {
 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: 50; height: var(--header);
 background: var(--paper); border-bottom: 1px solid var(--line);
}
.nav { height: var(--header); display: flex; align-items: center; gap: 18px; }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo-name { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--text); white-space: nowrap; }
.logo-sub { font-size: 11px; line-height: 1.2; color: var(--muted); letter-spacing: .08em; }
.nav-cluster { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav-links a {
 display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
 border-radius: var(--pill); color: var(--text); font-size: 14px; white-space: nowrap;
}
.nav-links a:hover { background: rgba(124,48,72,.08); text-decoration: none; }
.nav-links a:active { transform: translateY(1px); }
.nav-links a.is-active { background: rgba(124,48,72,.12); color: var(--plum-deep); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-search {
 display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
 border: 1px solid var(--line); border-radius: var(--pill); background: var(--paper-card); min-width: 44px;
}
.nav-search:focus-within { border-color: var(--copper); box-shadow: var(--focus); }
.search-ico { color: var(--copper); font-size: 13px; font-weight: 700; }
.nav-search input {
 width: 168px; border: 0; background: transparent; padding: 0; outline: none;
 font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
 font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-toggle {
 display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
 background: transparent; color: var(--text); align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; }
.btn {
 display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
 border-radius: var(--pill); border: 1px solid transparent; text-decoration: none; font-weight: 650;
 transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--plum); color: var(--apricot); }
.btn-primary:hover { background: var(--plum-deep); color: var(--apricot); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--copper); color: var(--plum-deep); }
.section-dark .btn-ghost { color: var(--on-dark); border-color: var(--line-light); }
.section-dark .btn-ghost:hover { color: var(--apricot); border-color: var(--copper); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, select:focus-visible {
 outline: 2px solid var(--copper); outline-offset: 2px;
}
.section { padding: var(--pad) 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-paper { background: var(--paper); color: var(--text); }
.section-slim { padding: 36px 0; }
.lead { font-size: 16px; line-height: 1.75; margin: 0; color: var(--muted); max-width: 40em; }
.section-dark .lead { color: var(--muted-dark); }
.section-head { margin-bottom: 22px; max-width: 720px; }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.eyebrow {
 margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; color: var(--copper); font-weight: 700;
}
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.counts { display: flex; gap: 12px; }
.count {
 min-width: 128px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
 background: var(--paper-card); box-shadow: var(--shadow);
}
.count b {
 display: block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
 font-variant-numeric: tabular-nums; font-size: 28px; line-height: 1.2; color: var(--plum); font-weight: 700;
}
.count span { font-size: 13px; color: var(--muted); }
.filter-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.filter-bar label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted-dark); }
.filter-bar select {
 height: 44px; border-radius: var(--pill); border: 1px solid var(--line-light); background: var(--lift);
 color: var(--on-dark); padding: 0 14px; font-variant-numeric: tabular-nums;
 font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px;
}
.filter-bar select:focus { border-color: var(--copper); box-shadow: var(--focus); outline: none; }
.filter-note { margin: 14px 0 0; font-size: 13px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.hcard {
 display: flex; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius);
 overflow: hidden; box-shadow: var(--shadow); margin: 0 0 14px; color: var(--text);
 transition: transform .2s ease, box-shadow .2s ease;
}
.hcard:hover { transform: translateY(-2px); text-decoration: none; }
.hcard:active { transform: translateY(1px); }
.hcard:hover h3 { text-decoration: underline; text-decoration-color: var(--copper); }
.thumb {
 width: 28%; flex: 0 0 28%; min-height: 148px; display: flex; align-items: flex-end; padding: 14px;
 color: var(--apricot); font-weight: 700; font-size: 16px; line-height: 1.25;
}
.thumb-title { max-width: 8em; }
.swatch-a { background: #7C3048; }
.swatch-b { background: #4E2433; }
.swatch-c { background: #8A4E38; }
.swatch-d { background: #24181D; }
.swatch-e { background: #6E3044; }
.swatch-f { background: #5C3A32; }
.swatch-g { background: #3E2A30; }
.swatch-h { background: #7A5340; }
.hcard-body { padding: 16px 18px; min-width: 0; flex: 1; }
.hcard h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard p {
 margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7;
 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.badge-row, .meta-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.badge-row { margin-bottom: 8px; }
.meta-line { margin-top: 10px; font-size: 13px; color: var(--copper); font-variant-numeric: tabular-nums; }
.badge {
 display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 8px;
 font-size: 12px; line-height: 1; border: 1px solid transparent;
}
.badge-fill { background: var(--apricot); color: var(--ink); }
.badge-line { background: transparent; color: var(--copper); border-color: rgba(199,132,72,.45); }
.hcard.is-hidden { display: none; }
.more-row { display: flex; justify-content: flex-start; margin-top: 8px; }
.split-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(140px, auto); gap: 14px; }
.block {
 background: var(--lift); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px 20px 12px;
}
.block.tall { grid-row: span 2; }
.block p { color: var(--muted-dark); font-size: 15px; }
.block .badge-row { margin-bottom: 10px; }
.rel-list { display: flex; flex-direction: column; }
.rel-list a {
 display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: center;
 min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.rel-list a:hover { text-decoration: none; }
.rel-list a:hover strong { text-decoration: underline; text-decoration-color: var(--copper); }
.rel-no {
 font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
 font-variant-numeric: tabular-nums; color: var(--copper); font-size: 13px;
}
.rel-list strong { display: block; font-size: 18px; line-height: 1.25; font-weight: 700; }
.rel-list em { display: block; margin-top: 4px; font-style: normal; color: var(--muted); font-size: 13px; }
.time-list { list-style: none; margin: 0; padding: 6px 0 0; border-left: 1px solid var(--copper); }
.time-list li { position: relative; padding: 0 0 22px 22px; }
.time-list li::before {
 content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper);
 position: absolute; left: -5px; top: 8px;
}
.time-list time {
 display: block; font-size: 13px; color: var(--copper);
 font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
 font-variant-numeric: tabular-nums;
}
.time-list a { color: var(--on-dark); font-weight: 700; font-size: 18px; line-height: 1.25; }
.time-list p { margin: 4px 0 0; color: var(--muted-dark); font-size: 14px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-card); box-shadow: var(--shadow); }
.faq-item summary {
 list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
 min-height: 52px; padding: 12px 16px; font-weight: 700; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--copper); font-size: 22px; font-weight: 500; line-height: 1; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { border-color: rgba(199,132,72,.55); }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 15px; }
.back-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-footer { background: var(--ink); color: var(--on-dark); padding: 48px 0 28px; border-top: 1px solid var(--line-light); }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 28px; }
.site-footer .logo-name { color: var(--on-dark); }
.site-footer .logo-sub { color: var(--muted-dark); }
.site-footer h3 { font-size: 18px; margin: 0 0 10px; color: var(--on-dark); }
.site-footer p { color: var(--muted-dark); font-size: 14px; }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--on-dark); }
.copyright { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line-light); color: var(--muted-dark); font-size: 13px; }
@media (max-width: 1099px) {
 .nav-search input { position: absolute; width: 1px; height: 1px; opacity: 0; }
 .nav-search { width: 44px; padding: 0; justify-content: center; position: relative; }
 .nav-search:focus-within { width: auto; padding: 0 12px; }
 .nav-search:focus-within input { position: static; width: 120px; height: auto; opacity: 1; }
 .filter-bar { grid-template-columns: 1fr 1fr; }
 .split-grid { grid-template-columns: 1fr 1fr; }
 .block.tall { grid-row: auto; grid-column: 1 / -1; }
 .foot-grid { grid-template-columns: 1fr 1fr; }
 .logo-name { font-size: 13px; }
}
@media (max-width: 1024px) {
 .nav-links a { padding: 0 8px; }
 .rel-list a { grid-template-columns: 72px minmax(0, 1fr); }
 .rel-side { display: none; }
}
@media (max-width: 768px) {
 .counts { width: 100%; }
 .count { flex: 1; }
}
@media (max-width: 719px) {
 :root { --pad: 40px; }
 h1 { font-size: 32px; }
 h2, .section-head h2 { font-size: 24px; }
 .nav-toggle { display: flex; }
 .nav-cta { margin-left: 0; }
 .nav-cluster {
 display: none; position: fixed; inset: var(--header) 0 0 0; background: var(--paper);
 flex-direction: column; align-items: stretch; padding: 16px 20px 28px; overflow: auto; z-index: 40;
 }
 .nav-cluster.is-open { display: flex; }
 .nav-links, .nav-tools { flex-direction: column; align-items: stretch; width: 100%; margin: 0; }
 .nav-links a, .nav-tools .btn, .nav-search { width: 100%; }
 .nav-search { position: static; width: 100%; padding: 0 14px; justify-content: flex-start; }
 .nav-search input { position: static; width: 100%; height: auto; opacity: 1; }
 .cat-head, .filter-bar, .split-grid, .foot-grid { grid-template-columns: 1fr; }
 .block.tall { grid-column: auto; }
 .hcard { flex-direction: column; }
 .thumb { width: 100%; flex-basis: auto; min-height: 112px; }
 .logo-name { white-space: normal; max-width: 42vw; }
 .rel-list a { grid-template-columns: 64px minmax(0, 1fr); }
}
@media (max-width: 520px) {
 .container { width: min(var(--width), calc(100% - 28px)); }
 .counts { flex-direction: column; }
 .count b { font-size: 24px; }
 .hcard h3 { white-space: normal; }
}
