@charset "utf-8";
/* ==========================================================================
   XW — 叙物 / XUWU
   礼品 · 工艺品 · 礼赠定制
   视觉语言：纸本器物图录 / 宋体大标题 / 细线装帧 / 黛蓝与铜金
   与 LB 的技术档案体系完全无关，这是一套独立的版式与构件
   ========================================================================== */

@font-face {
  font-family: "XW Cormorant";
  src: url("../fonts/xw/xw-cormorant-400-700.woff2") format("woff2-variations"),
       url("../fonts/xw/xw-cormorant-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f3eb;
  --paper-2: #f0eade;
  --paper-3: #e8dfcf;
  --card: #fffdf8;
  --ink: #23211d;
  --ink-2: #4c473f;
  --ink-3: #756e63;
  --indigo: #28415a;
  --indigo-2: #3c5c78;
  --gold: #a9834e;
  --gold-2: #c2a16c;
  --clay: #8d6b53;
  --line: #d8cfbd;
  --line-2: #e8e1d4;
  --white: #fffdf8;

  --fd: "XW Cormorant", "Songti SC", "STSong", "SimSun", serif;
  --fsong: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --fs: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --fm: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --pad: clamp(20px, 4.2vw, 76px);
  --wrap: 1600px;
  --head-h: 92px;
  --ease: cubic-bezier(.76, 0, .18, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fs);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; border: 0; vertical-align: middle; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, dl, dd, dt, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--indigo); color: var(--white); }

/* ---------- layout ---------- */
.xw-wrap {
  width: calc(100% - var(--pad) * 2);
  max-width: var(--wrap);
  margin-inline: auto;
  position: relative;
}
.xw-wrap--wide { max-width: 1780px; }
.xw-sec { padding-block: clamp(64px, 7vw, 122px); position: relative; }
.xw-sec--tight { padding-block: clamp(44px, 4.5vw, 74px); }
.xw-sec--paper2 { background: var(--paper-2); }
.xw-sec--card { background: var(--card); }
.xw-sec--ink { background: var(--indigo); color: var(--white); }
.xw-center { text-align: center; }

/* ---------- typography ---------- */
.xw-serif { font-family: var(--fd); font-weight: 600; }
.xw-display {
  font-family: var(--fsong);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .015em;
  text-wrap: balance;
}
.xw-h1 { font-size: clamp(34px, 4vw, 68px); }
.xw-h2 { font-size: clamp(28px, 3vw, 50px); }
.xw-h3 { font-size: clamp(20px, 1.7vw, 28px); line-height: 1.42; }
.xw-h4 { font-size: 18px; line-height: 1.5; }
.xw-latin {
  font-family: var(--fd);
  font-weight: 500;
  letter-spacing: .12em;
  font-style: italic;
}
.xw-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.xw-kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; flex: none; }
.xw-kicker--dark { color: var(--gold-2); }
.xw-num {
  font-family: var(--fd);
  font-size: clamp(38px, 4.2vw, 68px);
  line-height: .9;
  font-weight: 500;
  color: var(--gold);
}
.xw-lead { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.xw-text { font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.xw-note { font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }
.xw-sec--ink .xw-note, .xw-sec--ink .xw-text { color: rgba(255, 253, 248, .72); }
.xw-en { font-family: var(--fm); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- 装帧构件 ---------- */
.xw-frame { position: relative; }
.xw-frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(169, 131, 78, .5);
  pointer-events: none;
  z-index: 2;
}
.xw-double { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xw-seal {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  flex: none;
}
.xw-vert {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--fsong);
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--ink-3);
}

/* ---------- buttons ---------- */
.xw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 26px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.3;
  transition: background .32s ease, color .32s ease, border-color .32s ease, transform .32s ease;
}
.xw-btn:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.xw-btn svg { width: 17px; height: 17px; }
.xw-btn--solid { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.xw-btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.xw-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.xw-btn--gold:hover { background: var(--ink); border-color: var(--ink); }
.xw-btn--light { border-color: rgba(255, 253, 248, .55); color: var(--white); }
.xw-btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.xw-btn--sm { min-height: 38px; padding: 7px 17px; font-size: 12px; }
.xw-btn--block { width: 100%; }
.xw-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fsong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  transition: gap .3s ease, color .3s ease;
}
.xw-link:hover { gap: 18px; color: var(--gold); }
.xw-link svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.xw-head {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(247, 243, 235, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.xw-head.is-stuck { box-shadow: 0 8px 26px rgba(35, 33, 29, .07); }
.xw-head__in {
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 62px);
}
.xw-logo { flex: none; }
.xw-logo a { display: block; }
.xw-logo img {
  height: 52px;
  width: auto;
  aspect-ratio: 1114 / 424;
  object-fit: cover;
  object-position: left center;
  margin-top: -11px;
}
.xw-nav { flex: 1; min-width: 0; }
.xw-nav > ul { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.1vw, 38px); }
.xw-nav > ul > li { position: relative; }
.xw-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 32px 0;
  font-family: var(--fsong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.xw-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.xw-nav > ul > li > a:hover::after,
.xw-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.xw-nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 190px;
  padding: 15px 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(35, 33, 29, .1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.xw-nav > ul > li:hover .xw-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.xw-nav__sub a { display: block; padding: 8px 22px; font-size: 13px; color: var(--ink-2); transition: color .2s, padding .2s; }
.xw-nav__sub a:hover { color: var(--gold); padding-left: 28px; }
.xw-head__act { display: flex; align-items: center; gap: 15px; flex: none; }
.xw-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .25s, border-color .25s, color .25s;
}
.xw-icon-btn svg { width: 17px; height: 17px; }
.xw-icon-btn:hover { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.xw-head__tel { font-family: var(--fd); font-size: 21px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.xw-head__tel:hover { color: var(--gold); }
.xw-head__quote { border-color: var(--indigo); color: var(--indigo); }
.xw-head__quote:hover { background: var(--indigo); color: var(--white); }
.xw-burger { display: none; border: 0; width: 34px; height: 34px; }

/* drawer */
.xw-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(35, 33, 29, .5);
  opacity: 0;
  transition: opacity .4s ease;
}
.xw-scrim.is-open { opacity: 1; }
.xw-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  width: min(430px, 88vw);
  background: var(--paper);
  transform: translateX(-102%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
  box-shadow: 22px 0 60px rgba(35, 33, 29, .16);
}
.xw-drawer.is-open { transform: translateX(0); }
.xw-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.xw-drawer__close { font-size: 22px; font-family: var(--fd); color: var(--ink-3); }
.xw-drawer__nav { padding: 24px 26px 12px; }
.xw-drawer__row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.xw-drawer__row > a { flex: 1; padding: 16px 0; font-family: var(--fsong); font-size: 21px; font-weight: 700; letter-spacing: .08em; }
.xw-drawer__row > a.is-active { color: var(--gold); }
.xw-drawer__plus { width: 32px; height: 32px; font-size: 18px; color: var(--gold); }
.xw-drawer__nav li > ul { display: none; padding: 2px 0 12px 16px; }
.xw-drawer__nav li.is-open > ul { display: block; }
.xw-drawer__nav li > ul a { display: block; padding: 7px 0; font-size: 13px; color: var(--ink-3); }
.xw-drawer__foot { padding: 14px 26px 36px; }
.xw-drawer__foot dl { display: grid; gap: 14px; margin-bottom: 18px; }
.xw-drawer__foot dt { font-size: 11px; color: var(--ink-3); letter-spacing: .16em; }
.xw-drawer__foot dd { font-family: var(--fd); font-size: 19px; }

/* search overlay */
.xw-search {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(247, 243, 235, .98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.xw-search.is-open { opacity: 1; visibility: visible; }
.xw-search__close { position: absolute; top: 32px; right: var(--pad); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.xw-search__box { width: min(840px, calc(100% - 40px)); text-align: center; }
.xw-search__box .xw-kicker { justify-content: center; }
.xw-search__box h2 { font-family: var(--fsong); font-size: clamp(28px, 3.5vw, 50px); font-weight: 700; margin-bottom: 30px; }
.xw-search__box form { display: flex; border-bottom: 1px solid var(--ink); }
.xw-search__box input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 4px;
  font-family: var(--fsong);
  font-size: clamp(17px, 2vw, 26px);
  outline: 0;
}
.xw-search__box input[type="submit"] { width: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211d' stroke-width='1.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21'/%3E%3C/svg%3E") center / 22px no-repeat; cursor: pointer; }
.xw-search__hint { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 26px; font-size: 12px; color: var(--ink-3); }
.xw-search__hint a:hover { color: var(--gold); }

/* ---------- section heading ---------- */
.xw-shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.xw-shead > div { max-width: 780px; }
.xw-shead__note { max-width: 430px; padding-bottom: 6px; border-left: 1px solid var(--line); padding-left: 22px; }
.xw-shead .xw-h2 { margin-top: 4px; }
.xw-shead--center { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.xw-shead--center .xw-kicker { justify-content: center; }

/* ---------- common media ---------- */
.xw-media { position: relative; overflow: hidden; background: var(--paper-3); }
.xw-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s ease; }
a:hover .xw-media img { transform: scale(1.045); }
.xw-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(35, 33, 29, .04);
  pointer-events: none;
}
.xw-ph {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--paper-3) 12px 13px);
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: .12em;
}

/* ---------- breadcrumb ---------- */
.xw-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; }
.xw-crumb a:hover { color: var(--gold); }
.xw-crumb i { font-style: normal; color: var(--line); }

/* ---------- inner banner ---------- */
.xw-banner {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(52px, 5vw, 84px) 0 clamp(44px, 4.4vw, 72px);
  position: relative;
  overflow: hidden;
}
.xw-banner__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.xw-banner h1 { margin-top: 8px; }
.xw-banner__side { max-width: 430px; padding-bottom: 6px; }
.xw-banner__side > p { margin-top: 18px; }
.xw-banner__watermark {
  position: absolute;
  right: -1vw;
  top: -2.2vw;
  font-family: var(--fd);
  font-size: clamp(180px, 24vw, 410px);
  line-height: .72;
  font-weight: 600;
  color: rgba(40, 65, 90, .045);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.xw-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.xw-facts > div { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.xw-facts dt { font-size: 11px; letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; min-width: 62px; }
.xw-facts dd { font-family: var(--fd); font-size: 20px; font-weight: 600; }

/* ---------- search strip ---------- */
.xw-strip { border-bottom: 1px solid var(--line); background: var(--card); }
.xw-strip__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 15px; }
.xw-hotwords { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.xw-hotwords__label { font-family: var(--fsong); font-size: 13px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.xw-hotwords a { font-size: 12px; color: var(--ink-3); }
.xw-hotwords a:hover { color: var(--indigo); }
.xw-strip form { display: flex; align-items: center; border-bottom: 1px solid var(--line); min-width: 290px; }
.xw-strip input[type="text"] { border: 0; background: transparent; outline: 0; padding: 7px 2px; width: 100%; font-size: 12.5px; }
.xw-strip input[type="submit"] { width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211d' stroke-width='1.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21'/%3E%3C/svg%3E") center / 18px no-repeat; cursor: pointer; }

/* ---------- main / columns ---------- */
.xw-main { padding-block: clamp(48px, 5vw, 86px); }
.xw-cols { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(40px, 5vw, 90px); align-items: start; }
.xw-side { position: sticky; top: calc(var(--head-h) + 24px); }
.xw-side__hd { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.xw-side__hd b { font-family: var(--fsong); font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.xw-side__hd span { font-family: var(--fd); font-size: 16px; font-style: italic; color: var(--gold); }
.xw-side__btn { display: none; }
.xw-tree { padding-top: 14px; }
.xw-tree > li > a, .xw-tree li li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; transition: color .2s, padding .2s; }
.xw-tree > li > a::after, .xw-tree li li a::after { content: ""; width: 5px; height: 5px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); opacity: 0; transition: opacity .2s; }
.xw-tree li li a { padding-left: 16px; font-size: 12.5px; color: var(--ink-3); }
.xw-tree a:hover, .xw-tree a.is-active { color: var(--gold); padding-left: 6px; }
.xw-tree a:hover::after, .xw-tree a.is-active::after { opacity: 1; }
.xw-tree__toggle { width: 20px; height: 20px; flex: none; position: relative; margin-left: 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); vertical-align: -4px; transition: border-color .25s, background .25s, transform .25s; }
.xw-tree__toggle::before, .xw-tree__toggle::after { content: ""; position: absolute; background: var(--gold); left: 5px; right: 5px; top: 9px; height: 1px; transition: transform .25s, background .25s; }
.xw-tree__toggle::after { transform: rotate(90deg); }
.xw-tree li.is-open > .xw-tree__row .xw-tree__toggle { background: var(--gold); border-color: var(--gold); }
.xw-tree li.is-open > .xw-tree__row .xw-tree__toggle::before,
.xw-tree li.is-open > .xw-tree__row .xw-tree__toggle::after { background: var(--white); }
.xw-tree li.is-open > .xw-tree__row .xw-tree__toggle::after { transform: rotate(0); }
.xw-tree__toggle:hover { border-color: var(--gold); transform: scale(1.08); }
.xw-tree__toggle:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.xw-tree li > ul { display: none; }
.xw-tree li.is-open > ul { display: block; }
.xw-side__box { margin-top: 28px; padding: 22px; background: var(--card); border: 1px solid var(--line); }
.xw-side__box--ink { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.xw-side__box h3 { font-family: var(--fsong); font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.xw-side__box p { font-size: 12.5px; color: var(--ink-3); line-height: 1.85; }
.xw-side__box--ink p { color: rgba(255, 253, 248, .7); }
.xw-side__box--ink .xw-btn--block { display: flex; margin-top: 18px; border-color: var(--gold-2); color: var(--white); }
.xw-side__box--ink .xw-btn--sm { min-height: 42px; font-size: 13px; letter-spacing: .12em; }
.xw-side__box--ink .xw-btn:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.xw-side__tel { display: block; font-family: var(--fd); font-size: 25px; font-weight: 600; margin: 8px 0 10px; }
.xw-side__links { margin-top: 14px; }
.xw-side__links li { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.xw-side__links a:hover { color: var(--gold); }
.xw-side__all { margin-top: 16px; }
.xw-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.xw-toolbar b { font-family: var(--fsong); font-size: 15px; font-weight: 700; }
.xw-toolbar i { font-style: normal; font-family: var(--fd); font-size: 20px; color: var(--gold); }

/* ---------- pagination ---------- */
#pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 52px; }
#pages a, #pages span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); transition: all .25s; }
#pages a:hover, #pages .this, #pages .current, #pages .pnnum1 { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
#pages .pnnum1 { cursor: default; }
#pages a:not([href]):not(.pnnum1) { color: var(--ink-3); border-color: var(--line-2); cursor: default; }
#pages a:not([href]):not(.pnnum1):hover { background: transparent; border-color: var(--line-2); color: var(--ink-3); }
#pages a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- article body ---------- */
.xw-body { font-size: 15px; line-height: 2.05; color: var(--ink-2); overflow-wrap: break-word; }
.xw-body > * + * { margin-top: 20px; }
.xw-body h2, .xw-body h3, .xw-body h4 { font-family: var(--fsong); font-weight: 700; color: var(--ink); line-height: 1.45; }
.xw-body h2 { font-size: clamp(23px, 2vw, 32px); margin-top: 44px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.xw-body h3 { font-size: 20px; margin-top: 34px; }
.xw-body h4 { font-size: 17px; margin-top: 26px; }
.xw-body img { height: auto; max-width: 100%; margin: 22px auto; }
.xw-body ul, .xw-body ol { padding-left: 20px; }
.xw-body ul li { list-style: disc; }
.xw-body ol li { list-style: decimal; }
.xw-body li { margin: 7px 0; }
.xw-body strong { color: var(--ink); }
.xw-body blockquote { margin: 26px 0; padding: 18px 24px; border-left: 2px solid var(--gold); background: var(--paper-2); font-family: var(--fsong); font-size: 17px; }
.xw-body table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.xw-body th, .xw-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.xw-body th { background: var(--paper-2); }

/* ---------- forms ---------- */
.xw-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; }
.xw-field { display: block; }
.xw-field > span { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 7px; }
.xw-field > span i { font-style: normal; color: var(--gold); margin-left: 3px; }
.xw-field input, .xw-field textarea, .xw-field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 10px 2px;
  font-size: 14px;
  outline: 0;
  transition: border-color .25s;
}
.xw-field input:focus, .xw-field textarea:focus, .xw-field select:focus { border-color: var(--indigo); }
.xw-field textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
.xw-field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23756e63' stroke-width='1.5'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") right center / 17px no-repeat; }
.xw-form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.xw-form__foot input[type="submit"] { min-height: 48px; padding: 11px 34px; border: 1px solid var(--indigo); background: var(--indigo); color: var(--white); font-size: 13px; letter-spacing: .14em; cursor: pointer; transition: background .25s; }
.xw-form__foot input[type="submit"]:hover { background: var(--ink); border-color: var(--ink); }
.xw-form__foot input[type="reset"] { min-height: 48px; padding: 11px 22px; border: 1px solid var(--line); background: transparent; font-size: 13px; cursor: pointer; }
.xw-form__note { font-size: 12px; color: var(--ink-3); }

/* ---------- accordion ---------- */
.xw-acc__item { border-bottom: 1px solid var(--line); }
.xw-acc__btn { width: 100%; display: flex; align-items: center; gap: 20px; text-align: left; padding: 22px 0; }
.xw-acc__no { font-family: var(--fd); font-size: 22px; font-style: italic; color: var(--gold); min-width: 48px; }
.xw-acc__title { flex: 1; font-family: var(--fsong); font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.xw-acc__sign { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; position: relative; flex: none; transition: background .3s, border-color .3s; }
.xw-acc__sign::before, .xw-acc__sign::after { content: ""; position: absolute; background: var(--ink); left: 7px; right: 7px; top: 12px; height: 1px; transition: transform .3s; }
.xw-acc__sign::after { transform: rotate(90deg); }
.xw-acc__item.is-open .xw-acc__sign { background: var(--indigo); border-color: var(--indigo); }
.xw-acc__item.is-open .xw-acc__sign::before, .xw-acc__item.is-open .xw-acc__sign::after { background: var(--white); }
.xw-acc__item.is-open .xw-acc__sign::after { transform: rotate(0); }
.xw-acc__panel { height: 0; overflow: hidden; transition: height .4s var(--ease); }
.xw-acc__panel > p { padding: 0 46px 24px 68px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }

/* ---------- gallery ---------- */
.xw-gallery__stage { position: relative; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(10px, 1.1vw, 16px); }
.xw-gallery__stage img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: contain; background: var(--paper-2); }
.xw-gallery__tag { position: absolute; left: 0; top: 0; padding: 7px 14px; background: var(--indigo); color: var(--white); font-size: 10.5px; letter-spacing: .16em; z-index: 2; }
.xw-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.xw-gallery__thumbs button { width: 86px; height: 74px; padding: 4px; border: 1px solid var(--line); background: var(--card); transition: border-color .25s; }
.xw-gallery__thumbs button.is-active, .xw-gallery__thumbs button:hover { border-color: var(--gold); }
.xw-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- prev / next ---------- */
.xw-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.xw-pn a, .xw-pn > span { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.xw-pn a:last-child, .xw-pn > span:last-child { text-align: right; }
.xw-pn i { font-style: normal; font-size: 10.5px; letter-spacing: .18em; color: var(--gold); }
.xw-pn a:hover span { color: var(--gold); }

/* ---------- reveal ---------- */
.xw-rv { opacity: 0; transform: translateY(22px); transition: opacity .75s ease var(--d, 0s), transform .75s var(--ease) var(--d, 0s); }
.xw-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .xw-rv { opacity: 1; transform: none; transition: none; } }

/* ---------- footer ---------- */
.xw-foot { background: var(--ink); color: rgba(255, 253, 248, .76); }
.xw-foot__top { padding: clamp(54px, 5.5vw, 90px) 0 clamp(40px, 4vw, 64px); display: grid; grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 72px); }
.xw-foot__brand .xw-logo { display: inline-block; background: var(--paper); padding: 6px 10px 4px; }
.xw-foot__brand .xw-logo img { height: 56px; margin-top: -12px; }
.xw-foot__brand p { margin-top: 18px; max-width: 34ch; font-size: 13px; line-height: 2; color: rgba(255, 253, 248, .62); }
.xw-foot__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.xw-foot__tags span { padding: 5px 11px; border: 1px solid rgba(255, 253, 248, .22); font-size: 10.5px; letter-spacing: .08em; }
.xw-foot h3 { font-family: var(--fsong); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: .08em; }
.xw-foot__links li { margin-bottom: 10px; font-size: 12.5px; }
.xw-foot__links a:hover { color: var(--gold-2); }
.xw-foot__contact dl { display: grid; gap: 14px; }
.xw-foot__contact dt { font-size: 10.5px; letter-spacing: .18em; color: var(--gold-2); text-transform: uppercase; }
.xw-foot__contact dd { font-size: 13px; }
.xw-foot__contact .xw-foot__tel { font-family: var(--fd); font-size: 25px; font-weight: 600; color: var(--white); }
.xw-foot__bar { border-top: 1px solid rgba(255, 253, 248, .14); }
.xw-foot__bar-in { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 11.5px; color: rgba(255, 253, 248, .5); }
.xw-foot__bar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.xw-foot__bar a:hover { color: var(--gold-2); }
.xw-foot__top-btn { font-family: var(--fd); font-size: 18px; font-style: italic; }

/* ---------- mobile bar ---------- */
.xw-mbar { display: none; }

/* ---------- 1280 ---------- */
@media (max-width: 1280px) {
  :root { --head-h: 80px; }
  .xw-nav > ul > li > a { padding: 27px 0; font-size: 14px; }
  .xw-nav > ul > li > a::after { bottom: 19px; }
  .xw-head__tel { font-size: 18px; }
  .xw-logo img { height: 46px; margin-top: -9px; }
  .xw-cols { grid-template-columns: 200px minmax(0, 1fr); gap: 42px; }
  .xw-foot__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 1024 ---------- */
@media (max-width: 1024px) {
  .xw-nav, .xw-head__tel, .xw-head__quote { display: none; }
  .xw-burger { display: grid; }
  .xw-head__in { justify-content: space-between; }
  .xw-shead { align-items: flex-start; flex-direction: column; gap: 22px; }
  .xw-shead__note { max-width: 640px; }
  .xw-cols { grid-template-columns: 1fr; gap: 30px; }
  .xw-side { position: static; }
  .xw-side__btn { display: block; margin-left: 14px; font-size: 12px; color: var(--ink-3); }
  .xw-side.is-open .xw-side__body { display: block; }
  .xw-side__body { display: none; }
  .xw-side.is-open .xw-side__body { display: block; }
  .xw-side > .xw-side__hd { display: flex; }
  .xw-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xw-banner__in { align-items: flex-start; flex-direction: column; gap: 30px; }
  .xw-banner__side { max-width: 100%; width: 100%; }
  .xw-banner__watermark { font-size: 180px; top: 10px; }
}

/* ---------- 767 ---------- */
@media (max-width: 767px) {
  :root { --head-h: 66px; --pad: 20px; }
  body { font-size: 14px; }
  .xw-logo img { height: 40px; margin-top: -8px; }
  .xw-head__act { gap: 9px; }
  .xw-icon-btn { width: 34px; height: 34px; }
  .xw-kicker { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 12px; }
  .xw-kicker::before { width: 20px; }
  .xw-h1 { font-size: 31px; }
  .xw-h2 { font-size: 26px; }
  .xw-sec { padding-block: 52px; }
  .xw-shead { margin-bottom: 30px; }
  .xw-shead__note { padding-left: 14px; }
  .xw-facts { grid-template-columns: 1fr; }
  .xw-facts > div { padding: 6px 0; }
  .xw-form__grid { grid-template-columns: 1fr; gap: 14px; }
  .xw-strip__in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .xw-strip form { width: 100%; }
  .xw-acc__btn { gap: 10px; padding: 18px 0; }
  .xw-acc__no { min-width: 34px; font-size: 17px; }
  .xw-acc__title { font-size: 15px; }
  .xw-acc__panel > p { padding: 0 0 18px 44px; }
  .xw-gallery__thumbs button { width: 68px; height: 60px; }
  .xw-pn { grid-template-columns: 1fr; }
  .xw-pn a:last-child, .xw-pn > span:last-child { text-align: left; }
  .xw-foot__top { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .xw-foot__brand { grid-column: 1 / -1; }
  .xw-foot__bar-in { justify-content: flex-start; }
  .xw-mbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(35, 33, 29, .97);
    color: var(--white);
  }
  .xw-mbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 11px; font-size: 10.5px; letter-spacing: .06em; }
  .xw-mbar svg { width: 19px; height: 19px; }
  .xw-mbar a.is-key { color: var(--gold-2); }
  body { padding-bottom: 58px; }
}

@media (max-width: 420px) {
  .xw-foot__top { grid-template-columns: 1fr; }
  .xw-foot__brand { grid-column: auto; }
  .xw-search__hint { gap: 10px; }
}
