:root {
  --paper: #f7f5f1;
  --paper-white: #fffefa;
  --ink: #181614;
  --ink-soft: #5f5a54;
  --line: #ded8cf;
  --line-soft: #ebe7e0;
  --vermilion: #b3201f;
  --vermilion-dark: #8f1716;
  --serif-cn: "Songti SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }

.site-shell { width: 100%; padding-bottom: var(--shell-gap); }
.site-header { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line-soft); }
.site-header__inner,
.site-footer__inner { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand-lockup__name { font-family: var(--serif-cn); font-size: 34px; line-height: 1; letter-spacing: .12em; white-space: nowrap; }
.brand-lockup__seal { display: grid; width: 32px; height: 32px; place-items: center; border: 2px solid var(--vermilion); color: var(--vermilion); font: 700 11px/1 var(--serif-cn); letter-spacing: .05em; border-radius: 3px; transform: rotate(-2deg); }
.site-nav { display: flex; align-items: stretch; gap: clamp(22px, 2.6vw, 42px); align-self: stretch; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { position: relative; display: inline-flex; align-items: center; color: #2d2925; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--vermilion); transition: left .2s ease, right .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--vermilion); }
.site-nav a.is-active::after, .site-nav a:hover::after { left: 0; right: 0; }
.site-content { width: 100%; }

.home-redesign { color: var(--ink); }
.home-hero { position: relative; min-height: 500px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; background: var(--paper-white); border-bottom: 1px solid var(--line-soft); }
.home-hero__copy { position: relative; z-index: 2; width: min(760px, calc(100% - 64px)); margin-left: max(32px, calc((100vw - 1320px) / 2)); padding: 76px 0 84px; }
.home-hero h1 { margin: 0; max-width: 760px; font-family: var(--serif-cn); font-size: clamp(54px, 5vw, 72px); font-weight: 700; line-height: 1.16; letter-spacing: .045em; }
.home-hero__copy > p { max-width: 650px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.9; letter-spacing: .03em; }
.hero-search { width: min(720px, 100%); height: 72px; margin-top: 38px; display: grid; grid-template-columns: 54px 1fr 132px; align-items: center; overflow: hidden; border: 1px solid #cfc8bd; background: #fff; box-shadow: 0 18px 42px rgba(53,42,30,.07); transition: border-color .2s ease, box-shadow .2s ease; }
.hero-search:focus-within { border-color: var(--vermilion); box-shadow: 0 18px 48px rgba(179,32,31,.11); }
.hero-search__icon { width: 22px; height: 22px; margin-left: 23px; color: #89837c; }
.hero-search input { min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; padding: 0 18px; }
.hero-search input::placeholder { color: #9b958e; }
.hero-search button { align-self: stretch; border: 0; background: var(--vermilion); color: white; font-family: var(--serif-cn); font-size: 19px; letter-spacing: .12em; cursor: pointer; transition: background .2s ease; }
.hero-search button:hover { background: var(--vermilion-dark); }
.home-hero__art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 55%; overflow: hidden; background-color: #f8f5ef; background-image: url("home-hero-ink-paper.webp"); background-repeat: no-repeat; background-position: center center; background-size: cover; }
.home-hero__art::before { content:""; position:absolute; z-index:1; inset:0 auto 0 0; width:30%; background:linear-gradient(90deg,#fffefa 0%,rgba(255,254,250,.82) 24%,rgba(255,254,250,0) 100%); pointer-events:none; }
.hero-seal { position:absolute; z-index:2; right:7%; top:46%; width:56px; height:56px; display:grid; place-items:center; border:2px solid var(--vermilion); color:var(--vermilion); font:700 14px/1.25 var(--serif-cn); writing-mode:vertical-rl; letter-spacing:.08em; transform:rotate(2deg); background:rgba(255,253,247,.72); }

.category-browser { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 54px 0 60px; }
.section-heading { display: flex; align-items: center; gap: 16px; }
.section-heading__ornament { color: var(--vermilion); font-size: 12px; transform: rotate(45deg); }
.section-heading h2 { margin: 0; font-family: var(--serif-cn); font-size: 35px; letter-spacing: .08em; }
.section-heading__line { width: 96px; height: 1px; background: #cbbfb0; }
.category-rail { margin-top: 30px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.36); }
.category-column { min-width: 0; padding: 28px 20px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.category-column:last-child { border-right: 0; }
.category-column__head { display:flex; align-items:flex-start; gap:12px; min-height:70px; color:var(--ink); text-decoration:none; }
.category-column__stamp { width:32px; height:32px; display:grid; place-items:center; flex:0 0 auto; border:1px solid var(--vermilion); color:var(--vermilion); border-radius:3px; font:700 17px/1 var(--serif-cn); }
.category-column__head strong { display:block; font-family:var(--serif-cn); font-size:21px; line-height:1.35; letter-spacing:.03em; }
.category-column__head small { display:block; margin-top:4px; color:#89827a; font-size:11px; line-height:1.45; }
.category-column__items { display:flex; flex-direction:column; gap:0; margin-top:15px; }
.category-column__items a { overflow:hidden; padding:11px 0; border-bottom:1px solid var(--line-soft); color:#55504a; font-size:14px; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; transition:color .2s ease,padding-left .2s ease; }
.category-column__items a:hover { color:var(--vermilion); padding-left:4px; }
.category-column__more { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:22px; color:var(--vermilion); font-size:14px; text-decoration:none; }
.category-column__arrow { width:19px; height:19px; transition:transform .2s ease; }
.category-column__more:hover .category-column__arrow { transform:translateX(4px); }

.site-footer { border-top: 1px solid var(--line); background: #f0ece5; }
.site-footer__inner { min-height: 178px; padding: 38px 0; display:flex; align-items:center; justify-content:space-between; gap:48px; }
.brand-lockup--footer .brand-lockup__name { font-size:29px; }
.brand-lockup--footer .brand-lockup__seal { width:28px; height:28px; font-size:10px; }
.site-footer__brand > p { margin:11px 0 0; color:#716a62; font-size:13px; }
.site-footer__legal { opacity:.72; }
.site-footer a { color:inherit; }
.site-footer__nav { max-width:620px; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:14px 30px; color:#5f5952; font-size:13px; }
.site-footer__nav a { text-decoration:none; transition:color .2s ease; }
.site-footer__nav a:hover { color:var(--vermilion); }

@media (max-width: 1180px) {
  .site-header__inner { align-items:flex-start; flex-direction:column; gap:18px; padding:20px 0 0; }
  .site-nav { width:100%; min-height:48px; }
  .home-hero { grid-template-columns:1fr; }
  .home-hero__copy { width:min(680px,calc(100% - 64px)); padding:64px 0 70px; }
  .home-hero__art { width:46%; opacity:.68; background-position:58% center; }
  .home-hero__copy > p,.hero-search { max-width:620px; }
  .category-rail { grid-template-columns:repeat(4,1fr); }
  .category-column { border-bottom:1px solid var(--line); }
  .category-column:nth-child(4n) { border-right:0; }
}

@media (max-width: 760px) {
  .site-header__inner,.site-footer__inner,.category-browser { width:calc(100% - 32px); }
  .brand-lockup__name { font-size:28px; }
  .brand-lockup__seal { width:28px;height:28px;font-size:10px; }
  .site-nav { gap:25px; }
  .site-nav a { min-height:44px; font-size:14px; }
  .home-hero { min-height:auto; }
  .home-hero__copy { width:calc(100% - 32px); margin-left:16px; padding:58px 0 62px; }
  .home-hero h1 { max-width:11em; font-size:42px; line-height:1.2; }
  .home-hero__copy > p { max-width:25em; margin-top:18px; font-size:16px; line-height:1.8; }
  .home-hero__art { width:54%; opacity:.34; background-position:58% center; }
  .hero-search { height:auto; min-height:62px; margin-top:30px; grid-template-columns:48px 1fr 86px; }
  .hero-search__icon { width:19px;height:19px;margin-left:18px; }
  .hero-search input { font-size:15px;padding:0 10px; }
  .hero-search button { min-height:62px;font-size:16px; }
  .category-browser { padding:40px 0 48px; }
  .section-heading h2 { font-size:30px; }
  .category-rail { grid-template-columns:repeat(2,1fr); margin-top:23px; }
  .category-column { padding:24px 16px 22px; }
  .category-column:nth-child(2n) { border-right:0; }
  .category-column:nth-child(4n) { border-right:0; }
  .site-footer__inner { align-items:flex-start; flex-direction:column; min-height:0; }
  .site-footer__nav { justify-content:flex-start; }
}

@media (max-width: 420px) {
  .home-hero h1 { font-size:36px; }
  .category-rail { grid-template-columns:1fr; }
  .category-column { border-right:0; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}
