:root {
  color-scheme: light;
  --header-height: 78px;
  --paper: #f8f6ef;
  --ink: #153d33;
  --muted: #5c6c62;
  --gold: #ccb381;
  --line: #d6d6c9;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", "STIX Two Text", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Sans 3", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #ac6639; outline-offset: 4px; }
.wrap { width: min(89.5%, 1240px); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 10; padding: .7rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); box-shadow: inset 0 -1px var(--line); }
.home-page .site-header {
  color: #fff9ed;
  background: linear-gradient(to bottom, rgba(12,32,24,.91), rgba(12,32,24,.75) 56%, rgba(12,32,24,.28));
  box-shadow: none;
}
.home-page .site-header.is-scrolled { background: #193a30; box-shadow: 0 1px 0 rgba(224,211,175,.25); }
.home-page .site-header nav a:hover, .home-page .site-header nav a:focus-visible { color: #ffe3b0; border-color: #d5bd94; }
.home-page main { margin-top: calc(0px - var(--header-height)); }
.home-page .hero-inner { padding-top: calc(var(--header-height) + 38px); }
.nav-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-grid; align-content: center; min-height: 44px; white-space: nowrap; }
.brand-name { font: 700 28px/1.15 var(--serif); letter-spacing: .08em; margin-right: -.08em; }
.site-header nav { display: flex; gap: clamp(20px, 3vw, 46px); align-items: center; }
.site-header nav a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-color: #8c6c48; color: #754325; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff9e8; background: #183329; }
.desk-photo, .home-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk-photo { z-index: -2; container-type: size; overflow: hidden; }
.desk-art {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100cqw, 260.36cqh);
  aspect-ratio: 2023 / 777;
  transform: translate(-50%, -50%);
  container-type: inline-size;
}
.desk-art img { width: 100%; height: 100%; }
.volume-title {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--tilt));
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  font: 600 2.2cqw/1 "Kaiti SC", "STKaiti", "KaiTi", var(--serif);
  letter-spacing: .12em;
  color: #302719;
  mix-blend-mode: multiply;
}
.home-hero::after { z-index: -1; content: ""; background: linear-gradient(90deg,rgba(10,32,26,.77), rgba(11,36,29,.47) 32%, rgba(18,39,30,.02) 67%); }
.hero-inner { min-height: clamp(480px, 40vw, 630px); display: flex; flex-flow: column; align-items: flex-start; justify-content: center; padding-block: 60px; }
.home-hero h1 { font-size: clamp(62px, 5.8vw, 94px); line-height: 1.1; font-weight: 600; letter-spacing: .055em; }
.home-hero h1 span { color: #f2deb2; }
.hero-inner p { max-width: 25em; margin-top: 23px; color: #f4efdf; font-size: 16px; line-height: 1.9; text-wrap: pretty; }
.text-action span { font-size: 1.25em; transition: transform .18s ease; }
.text-action:hover span { transform: translateX(3px); }
/* Compact, horizontally browsable product catalogue. */
.catalogue { padding-block: clamp(36px, 3.9vw, 66px); }
.catalogue-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.catalogue h2 { font-size: clamp(25px, 2.4vw, 38px); font-weight: 600; letter-spacing: .06em; }
.rail-controls:not([hidden]) { display: flex; gap: 4px; }
.rail-controls button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font: 20px Georgia, serif; cursor: pointer; }
.rail-controls button:disabled { opacity: .32; }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px)/3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; position: relative; }
.product-rail > div { position: relative; min-width: 0; scroll-snap-align: start; }
.catalogue-card { cursor: pointer; text-align: left; padding: 0; border: 0; background: none; color: var(--ink); width: 100%; display: block; }
.catalogue-card:focus-visible { outline-offset: -3px; }
.card-picture { display: block; width: 100%; overflow: hidden; aspect-ratio: 2.64; position: relative; background: #c8d2c3; }
.card-picture img { width: 100%; height: 100%; object-fit: cover; transition: scale .3s ease-out; }
.catalogue-card:hover .card-picture img { scale: 1.035; }
.card-name { display: flex; align-items: baseline; justify-content: space-between; font: 600 clamp(20px, 1.8vw, 26px)/1.4 var(--serif); letter-spacing: .05em; padding-block: 10px; border-bottom: 1px solid var(--line); }
.card-name span { font: 18px Georgia, serif; color: #637f6f; }
.bazi-art { background: linear-gradient(125deg,#96b4a3 4%,#e0e5d4 62%,#c5d7bc); }
.bazi-art img { position: absolute; width: 69%; height: auto; top: 0; left: 16%; border: 3px solid #dfdfce; border-radius: 14px; box-shadow: 6px 12px 16px #294c3755; transform: translateY(-26%) rotate(-6deg); }
.card-notice {
  position: absolute;
  right: 0;
  bottom: 13px;
  color: var(--muted);
  font: 500 14px/1.4 var(--sans);
  letter-spacing: .075em;
  pointer-events: none;
}
.section-label { color: #755635; display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 550; letter-spacing: .11em; }
.section-label::before { content: ""; width: 30px; height: 1px; background: #a88960; }
.company-copy h2, .about-heading h1 { font-size: clamp(44px, 4.3vw, 68px); font-weight: 600; letter-spacing: .04em; line-height: 1.18; margin-top: 16px; }
.company-copy p:not(.section-label), .about-body p { color: #4c5f52; font-size: 16px; line-height: 1.95; margin-top: 13px; text-wrap: pretty; }
.text-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.9em; font-size: 15px; min-height: 44px; margin-top: 19px; border-bottom: 1px solid #67816e; }
.hero-inner .hero-subtitle { font: 500 clamp(23px,2.2vw,35px)/1.45 var(--serif); letter-spacing: .095em; color: #eddcb4; margin-top: 16px; }
.hero-inner .hero-summary { max-width: 26em; margin-top: 18px; }
.about-main { max-width: 940px; margin-block: 58px 70px; }
.about-main figure { margin: 29px 0 34px; }
.about-main figure img { width: 100%; height: clamp(180px,25vw,300px); object-fit: cover; }
.about-body { max-width: 42em; margin: 0 auto; }
.about-body h2 { font-size: clamp(22px,2vw,29px); margin-top: 27px; }
.company-block { border-top: 1px solid var(--line); }
.company-inner { padding-block: clamp(44px, 5.5vw, 88px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 6vw, 100px); align-items: center; }
.company-photo { width: 100%; max-height: 350px; object-fit: cover; }
.company-copy h2 { font-size: clamp(35px, 3.4vw, 52px); }
.company-copy p:not(.section-label) { max-width: 33em; }
.site-footer { color: #f8f5e9; background: #193d32; }
.footer-inner { padding-block: 42px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-inner h2 { font: 600 30px/1.4 var(--serif); }
.footer-inner p { color: #d0dbce; font-size: 13px; margin-top: 9px; }
.footer-inner address { font-style: normal; }
.footer-inner address a { border-bottom: 1px solid #819383; font: 400 clamp(18px, 2vw, 27px)/1.6 Georgia, serif; overflow-wrap: anywhere; }
.footer-inner address a span { font-size: 16px; }
.footnote { display: grid; justify-items: center; gap: 5px; text-align: center; padding-block: 18px 24px; border-top: 1px solid #597263; font-size: 12px; color: #d2d9cf; }
@media (max-width: 650px) {
  :root { --header-height: 65px; }
  .wrap { width: calc(100% - 40px); }
  .nav-inner { gap: 10px; }
  .brand-name { font-size: 22px; }
  .site-header nav { gap: clamp(10px, 3vw, 19px); }
  .site-header nav a { font-size: 12px; }
  .home-hero h1 { font-size: clamp(49px, 11.5vw, 63px); }
  .hero-inner p { margin-top: 14px; max-width: 24em; font-size: 14px; line-height: 1.8; }
  .product-rail { grid-auto-columns: 76%; gap: 13px; padding-bottom: 6px; }
  .catalogue-head { margin-bottom: 11px; }
  .card-picture { aspect-ratio: 2.13; }
  .company-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .company-copy p:not(.section-label) { font-size: 15px; margin-top: 10px; }
  .text-action { margin-top: 10px; }
  .about-main { margin-block: 34px 44px; }
  .hero-inner .hero-summary { margin-top: 11px; }
  .company-copy { grid-row: 1; }
  .company-photo { max-height: 205px; }
  .footer-inner { display: grid; padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .product-rail { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.footnote a { display: inline-block; padding: 5px; text-decoration: underline; text-underline-offset: 3px; }
.footnote a:hover { color: #fff6dc; }

@media (min-width: 901px) and (max-width: 1100px) {
  .hero-inner { min-height: 410px; }
  .hero-inner .hero-summary { max-width: 38vw; }
}
@media (max-width: 900px) {
  .home-hero { padding-top: var(--header-height); background: #122d23; }
  .home-hero::after { content: none; }
  .desk-photo { position: relative; display: block; z-index: 0; height: clamp(205px, 56vw, 355px); }
  .desk-art { width: max(174cqw, 260.36cqh); transform: translate(-69.6%, -50%); }
  .desk-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom,rgba(18,45,35,.4), transparent 16%, transparent 82%, #122d23); }
  .home-page .hero-inner { min-height: 0; padding-block: 14px 34px; }
  .hero-inner .hero-summary { max-width: 35em; }
}
