/* ==========================================================================
   SANLIAN — site stylesheet
   Seven pages, four languages, one design system.
   ========================================================================== */

/* ---------- tokens ---------- */

:root {
  --paper: #f4f2ec;
  --paper-2: #ebe6d9;
  --card: #fffdf7;
  --ink: #12171b;
  --ink-soft: #3b4348;
  --muted: #62686c;
  --accent: #a8501f;
  --line: rgba(18, 23, 27, 0.16);
  --line-2: rgba(18, 23, 27, 0.09);

  --font-display: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", sans-serif;

  --head-h: 68px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

/* ---------- reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- drifting notes ---------- */

.notes {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main,
.site-foot {
  position: relative;
  z-index: 1;
}

/* ---------- layout ---------- */

.wrap {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 13px;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 12px;
}

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  text-wrap: balance;
}

.page-head .display {
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 52ch;
}

.narrow {
  max-width: 46ch;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.kicker a:hover {
  color: var(--ink);
  border-color: var(--line);
}

.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 12.5px;
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover {
  background: var(--accent);
}

.btn-line {
  border-color: rgba(18, 23, 27, 0.26);
  color: var(--ink);
}
.btn-line:hover {
  border-color: var(--ink);
  background: rgba(18, 23, 27, 0.04);
}

.btn-paper {
  background: var(--paper);
  color: var(--ink);
}
.btn-paper:hover {
  background: var(--accent);
  color: #fff;
}

.arrow {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.28s var(--ease);
}

a:hover .arrow,
.btn:hover .arrow {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.text-link svg {
  width: 15px;
  height: 15px;
}
.text-link:hover {
  color: var(--accent);
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-2);
}

.site-head.is-stuck {
  box-shadow: 0 14px 30px -28px rgba(18, 23, 27, 0.6);
}

.head-inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  min-height: 44px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.22em;
  line-height: 1.1;
  display: block;
}

.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="page"] {
  color: var(--ink);
}

.head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lang {
  position: relative;
}

.lang summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.lang .chev {
  width: 11px;
  height: 11px;
  transition: transform 0.2s;
}
.lang[open] .chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 158px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px;
  box-shadow: 0 18px 40px -22px rgba(18, 23, 27, 0.5);
  z-index: 60;
}

@media (prefers-reduced-motion: no-preference) {
  .lang[open] .lang-menu {
    animation: menuIn 0.18s var(--ease) both;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lang-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 11px;
  font-size: 13px;
  border-radius: 2px;
  color: var(--ink-soft);
}
.lang-menu a:hover {
  background: var(--paper);
  color: var(--ink);
}
.lang-menu a[aria-current="true"] {
  color: var(--accent);
  font-weight: 600;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
body.nav-open .burger span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
body.nav-open .burger span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- hero (home) ---------- */

.hero {
  padding-top: clamp(28px, 5vh, 54px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: center;
}

.hero-copy .display {
  margin: 18px 0 20px;
  font-size: clamp(2.3rem, 4.4vw, 3.95rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-figure {
  min-width: 0;
}

.hero-figure picture {
  display: block;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 2px;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-figure img {
    animation: settle 1.6s var(--ease) both;
  }
}

@keyframes settle {
  from {
    transform: scale(1.06);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

figcaption {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(26px, 4vh, 46px);
}

.figures li {
  padding: 20px 20px 6px 0;
  border-right: 1px solid var(--line-2);
}
.figures li:last-child {
  border-right: 0;
}
.figures li + li {
  padding-left: 22px;
}

.fig-v {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.fig-l {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- index list ---------- */

.index {
  padding-block: clamp(52px, 8.5vh, 104px);
}

.sec-head {
  max-width: 760px;
}

.sec-head .h2 {
  margin: 14px 0 16px;
}

.sec-head.row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
}

.idx {
  margin-top: clamp(26px, 4vh, 42px);
  border-top: 1px solid var(--line);
}

.idx-row a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  gap: 18px;
  align-items: center;
  padding: 24px 10px 24px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.24s var(--ease), padding-left 0.28s var(--ease);
}

.idx-row a:hover {
  background: var(--card);
  padding-left: 20px;
}

.idx-row a:hover .idx-num,
.idx-row a:hover .idx-title {
  color: var(--accent);
}

.idx-num,
.idx-title {
  transition: color 0.24s var(--ease);
}

.idx-num {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.idx-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.idx-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  max-width: 74ch;
}

.idx-go {
  justify-self: end;
  color: var(--muted);
  transition: color 0.2s, transform 0.28s var(--ease);
}
.idx-row a:hover .idx-go {
  color: var(--accent);
  transform: translateX(5px);
}
.idx-go .arrow {
  width: 20px;
  height: 20px;
}

/* ---------- range strip ---------- */

.range {
  background: var(--paper-2);
  padding-block: clamp(46px, 7.5vh, 88px);
}

.rc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  margin-top: clamp(24px, 3.4vh, 38px);
}

.rc-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--card);
  overflow: hidden;
}

.rc-media picture {
  position: absolute;
  inset: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.rc a:hover .rc-media img {
  transform: scale(1.045);
}

.rc-name {
  display: block;
  margin-top: 11px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.rc-spec {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rc a:hover .rc-name {
  color: var(--accent);
}

/* ---------- cta band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(46px, 7.5vh, 84px);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 24ch;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(244, 242, 236, 0.72);
  font-size: 14.5px;
  max-width: 54ch;
}

.cta-band .btn svg {
  width: 19px;
  height: 19px;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line-2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 0.9fr;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(34px, 5vh, 52px) clamp(22px, 3vh, 32px);
}

.foot-brand address {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 30ch;
}

.foot-col h2 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 13px;
}

.foot-col ul {
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--line-2);
  padding-block: 16px 24px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- inner page head ---------- */

.page-head {
  padding-top: clamp(30px, 5vh, 52px);
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.page-head .display {
  margin: 16px 0 18px;
}

.facts {
  border-top: 2px solid var(--ink);
  padding-top: 13px;
}

.facts h2 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}

.fact dt {
  color: var(--muted);
}

.fact dd {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.fact-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.wide-fig {
  margin-top: clamp(24px, 4vh, 42px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(24px, 4vh, 42px);
}

.gallery li {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--card);
  overflow: hidden;
}

.gallery picture {
  position: absolute;
  inset: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wide-fig picture {
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--paper-2);
}

.wide-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-fig--fit {
  max-width: 880px;
  margin-inline: auto;
}

.wide-fig--fit picture {
  aspect-ratio: auto;
}

.wide-fig--fit img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- mail band ---------- */

.mail-band {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 20px;
  margin-top: clamp(30px, 4.5vh, 46px);
  padding: 24px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.24s var(--ease), padding-left 0.24s var(--ease);
}

.mail-band:hover {
  background: var(--card);
  padding-left: 16px;
}

.mail-k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mail-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.mail-band .arrow {
  color: var(--muted);
}

.mail-band:hover .arrow {
  color: var(--accent);
}

/* ---------- article blocks ---------- */

.blocks {
  display: grid;
  gap: clamp(34px, 5.5vh, 62px);
  margin-top: clamp(34px, 5vh, 56px);
  padding-top: clamp(30px, 4.5vh, 48px);
  border-top: 1px solid var(--line);
}

.block .h2 {
  margin-bottom: 14px;
}

.block-body {
  display: grid;
  gap: 26px;
}

.block.has-fig .block-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.prose {
  max-width: 68ch;
}

.prose p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.68;
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 13px;
}

.detail-list {
  margin-top: 18px;
  border-top: 1px solid var(--line-2);
}

.detail-list li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--ink-soft);
}

.li-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.sec-fig {
  max-width: 520px;
}

.sec-fig picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.sec-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- spec table ---------- */

.table-wrap {
  margin-top: clamp(6px, 1vh, 12px);
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.spec th,
table.spec td {
  text-align: left;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}

table.spec thead th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

table.spec tbody th {
  font-weight: 500;
  width: 26%;
  color: var(--ink);
}

table.spec td {
  color: var(--ink-soft);
}

table.spec td.num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-right: 0;
}

/* ---------- 404 ---------- */

.nf {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(60px, 12vh, 120px);
}

.nf .display {
  margin: 18px 0 18px;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.nf-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.nf-langs a:hover {
  color: var(--accent);
}

/* ---------- pager ---------- */

.pager {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(38px, 6vh, 66px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pager-k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pager-t {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.pager:hover .pager-t {
  color: var(--accent);
}

/* ---------- CJK adjustments ---------- */

html[lang="zh-Hans"] {
  --font-body: "Inter", var(--font-cjk);
  --font-display: "Archivo", var(--font-cjk);
}

html[lang="zh-Hans"] .display,
html[lang="zh-Hans"] .h2,
html[lang="zh-Hans"] .idx-title,
html[lang="zh-Hans"] .pager-t,
html[lang="zh-Hans"] .cta-band h2 {
  letter-spacing: 0.01em;
  line-height: 1.18;
}

html[lang="zh-Hans"] .display {
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  line-height: 1.2;
}

html[lang="zh-Hans"] .page-head .display {
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
}

html[lang="zh-Hans"] .kicker,
html[lang="zh-Hans"] .fig-l,
html[lang="zh-Hans"] .nav a {
  letter-spacing: 0.08em;
}

html[lang="zh-Hans"] .prose p,
html[lang="zh-Hans"] .lead {
  line-height: 1.78;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-figure {
    animation: rise 0.75s var(--ease) both;
  }
  .hero-copy > *:nth-child(2) {
    animation-delay: 0.05s;
  }
  .hero-copy > *:nth-child(3) {
    animation-delay: 0.11s;
  }
  .hero-copy > *:nth-child(4) {
    animation-delay: 0.17s;
  }
  .hero-figure {
    animation-delay: 0.1s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .nav {
    gap: 14px;
  }
  .nav a {
    font-size: 10.5px;
    letter-spacing: 0.07em;
  }
}

@media (max-width: 1080px) {
  .burger {
    display: flex;
  }

  .head-right {
    margin-left: auto;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--head-h);
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -32px rgba(18, 23, 27, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
      visibility 0.24s;
  }

  .nav a {
    width: 100%;
    padding: 16px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-2);
    font-size: 12.5px;
  }

  .nav a::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--accent);
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .page-head-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 28px;
    align-items: start;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure picture {
    aspect-ratio: 16 / 9;
  }

  .page-head-grid {
    gap: 26px;
  }

  .facts {
    max-width: 520px;
  }

  .sec-head.row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .block.has-fig .block-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .rc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 40px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-sub {
    display: none;
  }

  .figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figures li {
    padding: 16px 14px 4px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .figures li + li {
    padding-left: 14px;
  }
  .figures li:nth-child(2n) {
    border-right: 0;
  }

  .idx-row a {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    gap: 12px;
    padding: 20px 4px;
  }

  .idx-row a:hover {
    padding-left: 10px;
  }

  .detail-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    padding: 10px 0;
  }

  .li-k {
    padding-top: 0;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* the spec table reflows into stacked rows instead of scrolling sideways */
  table.spec {
    min-width: 0;
  }

  table.spec thead {
    display: none;
  }

  table.spec,
  table.spec tbody,
  table.spec tr,
  table.spec th,
  table.spec td {
    display: block;
  }

  table.spec tr {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-2);
  }

  table.spec tbody th {
    width: auto;
    padding: 0 0 3px;
    font-size: 15px;
    font-weight: 600;
  }

  table.spec td {
    padding: 0;
    border: 0;
    font-size: 13.5px;
  }

  table.spec td.num {
    margin-top: 5px;
    text-align: left;
    font-weight: 600;
    color: var(--ink);
  }

  table.spec td.num::before {
    content: attr(data-label) " · ";
    font-weight: 400;
    color: var(--muted);
  }

  .pager {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .foot-base {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .head-right > .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .rc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
