@import url("tokens.css");

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 13px; }
.skip-link:focus { left: 0; }
.accent { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--h-header);
  background: rgba(250, 238, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 34px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.brand-mark { width: 30px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { position: relative; padding: 9px 0; color: #2b2724; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--accent-strong); font-weight: 700; }
.search { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search input {
  width: 236px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; color: var(--ink); font-size: 13px;
}
.search input::placeholder { color: var(--ink-3); }
.search-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: transparent;
}
.search-btn:hover { background: #fff; color: var(--accent); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; align-items: center; justify-content: center; }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: var(--h-hero);
  background: linear-gradient(104deg, #faece2 0%, #f9e2d4 52%, #f7d8c6 100%);
}
.hero-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto; min-height: var(--h-hero);
  padding: 48px var(--gutter) 40px;
  display: flex; align-items: center; gap: 20px;
}
.hero-copy { position: relative; z-index: 2; width: 620px; flex: 0 0 620px; }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; color: #6a5d55; font-weight: 700; }
.eyebrow .slash { margin: 0 4px; color: var(--ink-3); }
.eyebrow .cn { color: var(--accent-strong); letter-spacing: 0.06em; }
.hero h1 { margin-top: 16px; font-size: var(--fs-hero); line-height: 1.15; font-weight: 700; letter-spacing: 0.005em; }
.hero h1 .line { display: block; }
.hero-lede { margin-top: 18px; max-width: 540px; font-size: 16px; line-height: 1.85; color: #4f453f; }
.hero-actions { margin-top: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 26px; border: 0; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 22px rgba(233, 87, 60, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #3c3430; }
.btn-ghost svg { color: var(--accent); }
.hero-facts { margin-top: 22px; display: flex; align-items: center; gap: 26px; font-size: 13px; color: #5a504a; flex-wrap: wrap; }
.fact { display: inline-flex; align-items: center; gap: 7px; }
.fact svg { color: var(--accent); flex: none; }
.hero-visual { position: relative; flex: 1 1 auto; min-width: 0; height: 100%; min-height: 360px; align-self: stretch; }
.blob {
  position: absolute; right: 6%; top: 4%; width: 360px; height: 360px;
  background: #f6c2a9; border-radius: 50%; opacity: 0.85;
}
.poster {
  position: absolute; background: #fff; padding: 7px;
  box-shadow: var(--shadow-poster); border-radius: 3px;
}
.poster img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.poster-a { width: 272px; height: 344px; left: 8%; top: 18px; transform: rotate(-7deg); z-index: 3; }
.poster-b { width: 208px; height: 282px; right: 9%; top: 8px; transform: rotate(7deg); z-index: 4; }
.poster-c { width: 168px; height: 212px; left: 31%; bottom: 0; transform: rotate(-3deg); z-index: 5; }

/* ── section chrome ───────────────────────────────────── */
.section-title { font-size: var(--fs-h2); line-height: 1.25; font-weight: 700; letter-spacing: 0.01em; }
.section-title .kicker { display: inline; font-size: 11px; letter-spacing: 0.22em; color: var(--accent-strong); margin-bottom: 8px; font-weight: 700; }
.section-title .kicker-slash { color: var(--ink-3); font-weight: 400; margin: 0 3px; }
.title-rule { position: relative; padding-bottom: 14px; }
.title-rule::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--accent); }
.section-sub { font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent-strong); }

/* ── categories ──────────────────────────────────────── */
.categories { min-height: var(--h-cat); padding: 18px 0 20px; }
.categories .wrap { display: flex; flex-direction: column; gap: 12px; }
.cat-head { display: flex; align-items: flex-end; gap: 26px; }
.cat-head .section-sub { max-width: 420px; padding-bottom: 4px; }
.cat-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 110px; padding: 14px 14px 12px;
  background: var(--bg-card); border: 1px solid rgba(28, 27, 26, 0.07);
  border-radius: var(--r-card); box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover { transform: translateY(-3px); border-color: rgba(233, 87, 60, 0.35); }
.cat-icon { color: var(--accent-strong); height: 26px; }
.cat-index { position: absolute; right: 12px; top: 12px; font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; }
.cat-name { margin-top: 10px; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.cat-desc { margin-top: 6px; font-size: 11.5px; line-height: 1.6; color: var(--ink-2); }

/* ── quick reference + picks ─────────────────────────── */
.quick { min-height: var(--h-quick); background: var(--bg-alt); padding: 12px 0 10px; }
.quick-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 34px; }
.quick-left .section-sub { margin-top: 5px; max-width: 340px; font-size: 12.5px; line-height: 1.65; }
.size-tables { display: flex; gap: 16px; margin-top: 12px; }
.size-table { width: 100%; flex: 1; border-collapse: collapse; font-size: 12px; line-height: 1.35; }
.size-table--b { flex: 0 0 44%; }
.size-table thead th:first-child::before { content: "规格"; }
.size-table thead th:last-child::before { content: "尺寸"; }
.size-table th { font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 700; text-align: left; padding: 2px 0 4px; border-bottom: 1px solid var(--line-strong); }
.size-table td { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.size-table td:nth-child(2) { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 11.5px; text-align: right; padding-right: 8px; }
.size-table--b td:nth-child(2) { padding-right: 0; }
.size-note { margin-top: 7px; display: flex; align-items: flex-start; gap: 8px; padding: 4px 8px; border: 1px solid rgba(233, 87, 60, 0.25); border-radius: 6px; font-size: 10.5px; line-height: 1.5; color: var(--ink-2); background: rgba(255, 255, 255, 0.55); }
.size-note svg { flex: none; color: var(--accent); margin-top: 2px; }
.quick-right { min-width: 0; }
.quick-head { display: flex; align-items: flex-end; gap: 18px; }
.quick-head .section-sub { padding-bottom: 3px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.pick { display: flex; flex-direction: column; }
.pick-thumb { height: 88px; border-radius: var(--r-image); overflow: hidden; background: #ead9cd; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.pick:hover img { transform: scale(1.04); }
.pick-title { margin-top: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.pick-meta { margin-top: 4px; font-size: 10.5px; line-height: 1.5; color: var(--accent-strong); font-weight: 600; }

/* ── latest ──────────────────────────────────────────── */
.latest { min-height: var(--h-latest); padding: 18px 0 16px; }
.latest-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; align-items: start; }
.latest-more { display: none; }
.latest-head .section-sub { margin-top: 10px; }
.latest-head .more-link { margin-top: 16px; }
.latest-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.article-card { display: flex; flex-direction: column; min-width: 0; }
.card-thumb { height: 112px; border-radius: var(--r-image); overflow: hidden; background: #ead9cd; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.article-card:hover img { transform: scale(1.04); }
.card-cat { margin-top: 9px; font-size: 11px; font-weight: 700; color: var(--accent-strong); letter-spacing: 0.04em; }
.card-title { margin-top: 3px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.card-date { margin-top: 6px; font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 10.5px; color: var(--ink-3); }
.card-empty { grid-column: 1 / -1; padding: 24px 0; color: var(--ink-2); font-size: 13px; }

/* ── checklist ───────────────────────────────────────── */
.prepress { min-height: var(--h-check); background: var(--bg-peach); padding: 17px 0 15px; }
.prepress-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px 50px; }
.prepress-more { display: none; }
.prepress-head .section-sub { margin-top: 8px; max-width: 250px; }
.prepress-head .more-link { margin-top: 12px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; align-content: start; }
.check-item { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.tick { width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(233, 87, 60, 0.12); display: grid; place-items: center; color: var(--accent-strong); }
.check-item h3 { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.check-item p { margin-top: 1px; font-size: 11px; line-height: 1.5; color: var(--ink-2); }

/* ── styles ──────────────────────────────────────────── */
.styles { min-height: var(--h-style); padding: 16px 0 14px; }
.styles .wrap { display: flex; flex-direction: column; gap: 10px; }
.style-head { display: flex; align-items: flex-end; gap: 24px; }
.style-head .section-sub { padding-bottom: 4px; }
.style-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.style-item { display: flex; flex-direction: column; gap: 7px; }
.style-thumb { height: 54px; border-radius: var(--r-image); overflow: hidden; background: #ead9cd; }
.style-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.style-item:hover img { transform: scale(1.05); }
.style-name { font-size: 12px; font-weight: 700; line-height: 1.3; }
.style-desc { font-size: 9.5px; line-height: 1.4; color: var(--ink-2); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { min-height: var(--h-faq); padding: 18px 0 18px; background: var(--bg-alt); }
.faq-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 50px; }
.faq-head .section-sub { margin-top: 8px; max-width: 240px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 2px; background: none; border: 0; text-align: left;
  font-size: 13.5px; font-weight: 700;
}
.faq-q .qmark { color: var(--accent-strong); margin-right: 10px; font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 11px; }
.faq-q svg { flex: none; transition: transform 0.2s ease; color: var(--ink-3); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent); }
.faq-a { display: none; padding: 0 2px 13px 30px; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.faq-item.open .faq-a { display: block; }

/* ── footer ──────────────────────────────────────────── */
.site-footer { min-height: var(--h-footer); background: var(--footer-bg); color: var(--footer-ink); padding: 34px 0 20px; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 30px 36px; }
.footer-top > * { flex: 1 1 190px; min-width: 170px; }
.footer-brand-col { flex: 1.3 1 260px; }
.footer-col, .footer-about { display: flex; flex-direction: column; gap: 7px; }
.footer-col h2, .footer-about h2 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; color: #a49c96; margin-bottom: 5px; }
.footer-col a, .footer-about a { font-size: 12px; line-height: 1.7; color: #ded6d0; width: fit-content; }
.footer-col a:hover, .footer-about a:hover { color: #fff; }
.footer-icp { font-size: 11.5px; line-height: 1.7; color: #a49c96; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #fff; white-space: nowrap; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-note { font-size: 11.5px; line-height: 1.7; color: #b8b0aa; max-width: 300px; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: #ded6d0; max-width: 520px; justify-content: flex-end; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: #a49c96; flex-wrap: wrap; }

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 1199px) {
  .hero-copy { width: 540px; flex-basis: 540px; }
  .poster-a { width: 236px; height: 300px; }
  .poster-b { width: 180px; height: 244px; }
  .poster-c { width: 160px; height: 206px; }
  .nav { gap: 18px; }
  .search input { width: 190px; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-inner { grid-template-columns: 420px minmax(0, 1fr); gap: 28px; }
  .latest-inner { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
  .style-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .site-header { height: auto; }
  .header-inner { height: auto; flex-wrap: wrap; gap: 4px 18px; padding-top: 10px; padding-bottom: 8px; }
  .nav {
    position: static; display: flex; flex: 1 1 100%;
    flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 18px;
    background: none; border: 0; padding: 0;
  }
  .nav a { width: auto; padding: 4px 0; border-bottom: 0; }
  .nav a::after { display: none; }
  .nav-toggle { display: none !important; }
  .search { margin-left: auto; }
  .search input { width: 200px; }
  .hero { min-height: 0; }
  .hero-inner { flex-direction: column; align-items: stretch; padding-top: 30px; padding-bottom: 30px; gap: 26px; }
  .hero-copy { width: 100%; flex-basis: auto; }
  .hero-visual { min-height: 300px; height: 300px; }
  .blob { right: 12%; width: 260px; height: 260px; }
  .poster-a { left: 6%; width: 210px; height: 266px; }
  .poster-b { right: 10%; width: 166px; height: 226px; }
  .poster-c { right: 32%; width: 142px; height: 184px; bottom: 0; }
  .categories { min-height: 0; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick { min-height: 0; }
  .quick-inner { grid-template-columns: 1fr; gap: 26px; }
  .latest { min-height: 0; }
  .latest-inner { grid-template-columns: 1fr; gap: 16px; }
  .latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prepress, .styles, .faq, .site-footer { min-height: 0; }
  .prepress-inner, .faq-inner { grid-template-columns: 1fr; gap: 18px; }
  .style-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; }
  .footer-top > * { flex: 1 1 auto; width: 100%; min-width: 0; }
}

@media (max-width: 767px) {
  .brand { font-size: 21px; }
  .brand-mark { width: 25px; height: 29px; }
  .search input { width: 150px; }
  .hero h1 { font-size: 36px; }
  .hero-lede { font-size: 14.5px; }
  .hero-facts { gap: 14px; font-size: 12px; }
  .hero-visual { height: 260px; min-height: 260px; }
  .poster-a { width: 176px; height: 224px; top: 10px; }
  .poster-b { width: 140px; height: 190px; }
  .poster-c { width: 120px; height: 156px; right: 34%; }
  .categories .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-inner { padding-top: 4px; }
  .picks { grid-template-columns: 1fr 1fr; }
  .latest-grid { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .style-strip { grid-template-columns: 1fr 1fr; }
  .faq-q { font-size: 13px; }
  .footer-top { flex-direction: column; gap: 14px; }
  .footer-note { max-width: none; }
}

@media (max-width: 599px) {
  .site-header { height: auto; }
  .header-inner { padding: 10px var(--gutter) 8px; }
  .search input { width: 128px; height: 36px; font-size: 12px; }
  .search-btn, .nav-toggle { width: 36px; height: 36px; }
  .hero h1 { font-size: 30px; }
  .hero-actions { gap: 14px; }
  .btn { height: 42px; padding: 0 20px; font-size: 14px; }
  .poster-c { display: none; }
  .poster-a { left: 2%; width: 156px; height: 198px; }
  .poster-b { right: 2%; width: 128px; height: 174px; }
  .cat-grid { gap: 10px; }
  .cat-card { min-height: 104px; padding: 13px 12px; }
  .cat-name { font-size: 14px; }
  .picks { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr 1fr; }
  .style-strip { grid-template-columns: 1fr 1fr; }
}
