@charset "UTF-8";
/* ==========================================================================
   XICHAORUIPIN TEXTILE — base stylesheet
   Jacquard fabric manufacturer, Changxing, Huzhou, Zhejiang, China
   Palette derived from the company logo mark (#908840)
   No framework, no build step. Mobile-first.
   ========================================================================== */

/* ---------- 1. Fonts ---------- */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* brand */
  --gold: #908840;
  --gold-2: #a79e52;
  --gold-dark: #6e6830;
  --gold-soft: #f2efe2;
  --gold-line: #ddd8c4;

  /* neutrals */
  --ink: #1c1c19;
  --ink-2: #3d3d37;
  --muted: #6b6b62;
  --paper: #ffffff;
  --paper-2: #faf8f2;
  --paper-3: #f4f1e8;
  --line: #e4e0d4;
  --deep: #1f211b;
  --deep-2: #2a2d24;

  /* type */
  --font: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;

  /* layout */
  --wrap: 1500px;
  --wrap-narrow: 860px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 68px;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(28, 28, 25, 0.06);
  --shadow: 0 4px 18px rgba(28, 28, 25, 0.08);
  --shadow-lg: 0 18px 48px rgba(28, 28, 25, 0.12);
}

/* ---------- 3. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* clip 不创建滚动容器（不影响 sticky 头部），彻底禁止横向滚动。
     滚动加载动画的 42px 位移中间态、以及宽表格，都不再把页面顶宽。 */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 全站正文段落大一号（2026-11-17）：用 em 按各自上下文等比放大，
   裸 <p> 与 p.mt-2 / p.mt-3 等继承型段落 16px → 17.6px。
   eyebrow / small / lead / card-meta 等带类段落有自己的字号，不受影响。
   FOOTER 用 :where() 保持零特异性覆盖回原字号，footer 里 .small 仍生效。 */
p {
  font-size: 1.1em;
}

:where(.site-footer) p {
  font-size: 1em;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* prevent layout shift for lazy images */
img[loading='lazy'] {
  background: var(--paper-3);
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.6em;
  font-weight: 500;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.3rem);
}

h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
}

h4 {
  font-size: 1.02rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.45em;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

small {
  font-size: 0.86rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: 3.5rem 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.section--soft {
  background: var(--paper-2);
}

.section--warm {
  background: var(--paper-3);
}

.section--deep {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
}

.section--deep h2,
.section--deep h3,
.section--deep h4 {
  color: #fff;
}

.section--deep strong {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* applications 页「By garment」标题块铺满整行（2026-11-17）：
   标题与描述占满容器宽度，不再右侧留白。仅此一处，其他页保持 760px 阅读宽度。 */
.section-head--full {
  max-width: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section--deep .eyebrow {
  color: var(--gold-2);
}

.lead {
  font-size: 1.06rem;
  color: var(--ink-2);
}

.section--deep .lead {
  color: rgba(255, 255, 255, 0.72);
}

/* auto grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

/* grid item 默认 min-width:auto，会被内部 min-width:480px 的宽表格撑开。
   置 0 后表格改在 .table-wrap 内部横向滚动，手机端不再顶宽整页。 */
.split > * { min-width: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.82em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--gold);
  color: #fff;
}

.btn--primary:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn--outline {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn--outline:hover {
  background: var(--gold);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 0.5rem 20px 1.6rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.nav-list a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.98rem;
  color: var(--ink);
}

.nav-list a:hover,
.nav-list a[aria-current='page'] {
  color: var(--gold-dark);
}

.nav-group-label {
  position: relative;
}

.nav-group-label > a {
  padding-right: 2rem;
}

.nav-group-label > a::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-group-label[data-open='true'] > a::after {
  transform: rotate(-135deg);
  margin-top: -1px;
}

.nav-sub {
  display: none;
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid var(--gold-line);
}

.nav-group-label[data-open='true'] .nav-sub {
  display: block;
}

.nav-sub li {
  border: 0;
}

.nav-sub a {
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.header-cta {
  display: none;
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74vh;
  padding: 3rem 0;
  color: #fff;
  background: var(--deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.86) saturate(1.02);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 17, 13, 0.88) 0%,
    rgba(15, 17, 13, 0.72) 42%,
    rgba(15, 17, 13, 0.38) 72%,
    rgba(15, 17, 13, 0.18) 100%
  );
}

/* hero slider (home) */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-dots button:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-dots button.is-active {
  width: 42px;
  background: var(--gold-2);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 100px;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-badges li {
  margin: 0;
  padding-left: 1.15rem;
  position: relative;
}

.hero-badges li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
}

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  padding: 2.2rem 0 2.4rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 0.7rem;
}

.page-hero .lead {
  max-width: none;   /* 2026-11-17：内页标题区描述铺满整行（客户要求，与 section-head--full 同一批调整） */
}

/* ---------- 8b. Page hero logo watermark ----------
   使用客户提供的成品水印图 logo-x.png（1818×1422）：
   图案本身已带斜切角度与极低不透明度，所以这里不再叠加旋转，
   也不再叠 opacity，直接原样呈现。对齐 --wrap(1500px) 居中容器右边缘，
   略向右溢出让花形不完整显示。 */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  /* 视口比 1500px 宽时，把右边缘收回到居中容器的右边缘 */
  right: max(0px, calc((100% - var(--wrap)) / 2));
  margin-right: -110px;      /* 补偿图片右侧透明留白，并让花形右缘被裁掉一角 */
  top: 50%;
  height: 132%;              /* 在上一版 110% 基础上再放大 20% → 图案净高约 = 区块 122% */
  aspect-ratio: 1818 / 1422; /* 按原图比例，避免拉伸变形 */
  transform: translateY(-50%);
  background: url('../img/logo-x.png') center / contain no-repeat;
  opacity: 1;                /* 成品图自带淡度，再叠加会看不见 */
  pointer-events: none;
}

@media (max-width: 767px) {
  .page-hero::before {
    right: -34%;
    margin-right: 0;
    height: 91%;             /* 76% × 1.2，与桌面同步放大 */
    opacity: 0.75;           /* 手机文字占满宽，再压淡一点 */
  }
}

/* breadcrumb */
.breadcrumb {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--gold-line);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--gold-dark);
}

.breadcrumb [aria-current='page'] {
  color: var(--ink-2);
}

/* ---------- 9. Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  margin: 0;
  padding: 1.8rem 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row li {
  margin: 0;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-dark);
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.section--deep .stat-row {
  border-color: rgba(255, 255, 255, 0.14);
}

.section--deep .stat-num {
  color: var(--gold-2);
}

.section--deep .stat-label {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 10. Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease,
    border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.card-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.card-body h3 a {
  color: var(--ink);
}

.card-body h3 a:hover {
  color: var(--gold-dark);
}

.card-meta {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold-dark);
}

.card-body p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
}

.card-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

/* plain text card */
.tile {
  padding: 1.4rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.tile h3 {
  font-size: 1.04rem;
  margin-bottom: 0.5rem;
}

.tile p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
}

.tile-num {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.section--deep .tile {
  background: var(--deep-2);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--deep .tile p {
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- 11. Spec table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.spec-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 480px;
}

.spec-table caption,
.data-table caption {
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
  text-align: left;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.spec-table th,
.spec-table td,
.data-table th,
.data-table td {
  padding: 0.72rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table th[scope='row'] {
  width: 34%;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-2);
  white-space: nowrap;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table thead th {
  background: var(--paper-2);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* spec chips under hero */
.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-chips li {
  margin: 0;
  padding: 0.4em 0.85em;
  border: 1px solid var(--gold-line);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--ink-2);
  background: #fff;
}

.spec-chips--light li {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- 12. Feature list ---------- */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.6rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.section--deep .check-list li::before {
  border-color: var(--gold-2);
}

/* numbered process */
.process {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  position: relative;
  counter-increment: step;
  margin: 0 0 1.6rem;
  padding-left: 3rem;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.1em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.process li:last-child {
  margin-bottom: 0;
}

.process h3 {
  font-size: 1.04rem;
  margin-bottom: 0.35rem;
}

.process p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- 13. FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 0 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 14. CTA band ---------- */
.cta-band {
  padding: 3rem 0;
  background: var(--gold);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.cta-band .btn-row {
  margin-top: 1.4rem;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--gold-dark);
}

.cta-band .btn--primary:hover {
  background: var(--paper-3);
  color: var(--gold-dark);
}

/* ---------- 15. Media figure ---------- */
.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-3);
}

.media-frame img {
  width: 100%;
  object-fit: cover;
}

/* application strip */
.app-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-strip li {
  margin: 0;
  padding: 1rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-align: center;
  background: #fff;
  color: var(--ink-2);
}

/* ---------- 16. Info / notice ---------- */
.notice {
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.notice h3 {
  font-size: 0.96rem;
  margin-bottom: 0.4rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* contact detail list */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list dt,
.contact-label {
  flex: 0 0 96px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15em;
}

.contact-value {
  flex: 1;
  color: var(--ink);
}

.contact-value a {
  color: var(--ink);
}

.contact-value a:hover {
  color: var(--gold-dark);
}

address {
  font-style: normal;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  padding: 4.4rem 0 1.6rem;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;              /* 原 0.9rem，整体大一号 */
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

/* same two-line treatment as the header brand */
.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: var(--gold-2);
}

.site-footer address {
  line-height: 1.75;
}

/* footer 里的辅助文字比全局 .small 大一号 */
.site-footer .small {
  font-size: 0.95rem;
}

/* 联系方式列（最右一列）：两个小标题分组 —— Office location / Send a message */
.footer-contact h2:not(:first-child) {
  margin-top: 1.6rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}

/* ---------- 18. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3.2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.2rem; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* prose block for legal / article pages */
.prose h2 {
  margin-top: 2.2rem;
  font-size: 1.4rem;
}

.prose h3 {
  margin-top: 1.6rem;
}

.prose ul {
  font-size: 0.96rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

/* ==========================================================================
   Responsive (mobile-first: min-width breakpoints)
   ========================================================================== */
@media (min-width: 560px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .app-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 780px) {
  :root { --header-h: 76px; }

  .container { padding: 0 28px; }

  .section { padding: 5rem 0; }
  .section--tight { padding: 3.4rem 0; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .split--wide-right {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .stat-row {
    grid-template-columns: repeat(4, 1fr);
    padding: 2.2rem 0;
  }

  .hero { min-height: 78vh; padding: 4.5rem 0; }

  .page-hero { padding: 3rem 0 3.2rem; }

  /* 品牌+简介 | 产品(文字长,加宽) | 公司 | 联系方式(最右) */
  .footer-grid { grid-template-columns: 1.4fr 1.35fr 0.9fr 1.3fr; }

  /* 产品列内容整体右移 15px，与相邻列标题对齐更协调 */
  .footer-col-products { padding-left: 30px; }  /* 15px 再右移一档 */

  .app-strip { grid-template-columns: repeat(5, 1fr); }

  .brand img { width: 44px; height: 44px; }
}

@media (min-width: 1000px) {
  :root { --header-h: 96px; }

  .container { padding: 0 32px; }

  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }

  .nav-list > li {
    border: 0;
    position: relative;
  }

  .nav-list > li > a {
    position: relative;
    padding: 0.55rem 0.62rem;
    font-size: 0.96rem;
    font-weight: 400;
    white-space: nowrap;
    color: var(--ink-2);
    border-radius: var(--radius);
  }

  .nav-list > li > a:hover {
    background: var(--paper-2);
    color: var(--gold-dark);
  }

  .nav-list > li > a[aria-current='page'] {
    color: var(--gold-dark);
    font-weight: 500;
  }

  .nav-list > li.nav-group-label > a {
    padding-right: 1.7rem;
  }

  .nav-list > li.nav-group-label > a::after {
    right: 0.6rem;
    margin-top: -3px;
    width: 6px;
    height: 6px;
  }

  /* desktop dropdown */
  .nav-sub {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 20;
    min-width: 268px;
    margin: 0;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }

  .nav-group-label:hover .nav-sub,
  .nav-group-label:focus-within .nav-sub,
  .nav-group-label[data-open='true'] .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-sub a {
    display: block;
    padding: 0.5rem 0.7rem;
    font-size: 0.94rem;
    border-radius: 3px;
    color: var(--ink-2);
  }

  .nav-sub a:hover {
    background: var(--paper-2);
    color: var(--gold-dark);
  }

  .nav-group-label > a::after {
    border-color: var(--muted);
  }

  .header-cta {
    display: inline-flex;
    flex-shrink: 0;
  }

  /* PC：在原有 82vh 基础上精确减少 100px（1440×900 下 738px → 638px）。
     平板/手机断点保持原值不变。 */
  .hero { min-height: calc(82vh - 100px); }
  .hero-inner { max-width: 760px; }
}

/* 中等桌面宽度：导航收紧一档，避免菜单项溢出到屏幕外 */
@media (min-width: 1000px) and (max-width: 1279px) {
  .header-cta { display: none; }

  .nav-list > li > a {
    padding: 0.5rem 0.45rem;
    font-size: 0.87rem;
  }

  .nav-list > li.nav-group-label > a {
    padding-right: 1.45rem;
  }

  .nav-list > li.nav-group-label > a::after {
    right: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-inner { max-width: 820px; }
}

/* ==========================================================================
   18. Compact navigation (FAQ / Manufacturing folded under About Us)
   ========================================================================== */
.nav-list > li.nav-group-label--compact > .nav-sub { display: none !important; }
.nav-list > li.nav-group-label--compact > a { padding-right: 0.62rem; }
.nav-list > li.nav-group-label--compact > a::after { display: none; }

@media (min-width: 1000px) and (max-width: 1399px) {
  .nav-list > li[data-compact-hide] { display: none; }

  .nav-list > li.nav-group-label--compact > .nav-sub {
    display: block !important;
    left: auto;
    right: 0;
  }
  .nav-list > li.nav-group-label--compact > a { padding-right: 1.45rem; }
  .nav-list > li.nav-group-label--compact > a::after {
    display: block;
    right: 0.5rem;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    border-color: var(--muted);
  }
}

/* ==========================================================================
   19. CTA band — text left, buttons right
   ========================================================================== */
@media (min-width: 900px) {
  .cta-band > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'heading buttons'
      'text    buttons';
    column-gap: 3rem;
    align-items: center;
  }

  .cta-band h2 { grid-area: heading; align-self: end; }
  .cta-band > .container > p { grid-area: text; align-self: start; }
  .cta-band .btn-row {
    grid-area: buttons;
    flex-direction: column;
    align-items: stretch;
    min-width: 250px;
    margin-top: 0;
  }
  .cta-band .btn-row .btn { justify-content: center; text-align: center; }
}

/* ==========================================================================
   20. Fixed-background parallax band (template-style, pure CSS)
   ========================================================================== */
.parallax-band {
  position: relative;
  padding: 6.5rem 0;
  color: #fff;
  text-align: center;
  background-color: var(--deep);
  background-image:
    linear-gradient(rgba(18, 20, 15, 0.74), rgba(18, 20, 15, 0.74)),
    url('../img/factory-aerial-view-changxing.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax-band h2 { color: #fff; }

.parallax-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  margin: 0 auto 1.6rem;
}

.parallax-band .eyebrow { color: var(--gold-2); }

.parallax-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

/* iOS / small screens do not support fixed backgrounds reliably */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .parallax-band { background-attachment: scroll; }
}

/* ==========================================================================
   21. Factory video — play button on the parallax band + lightbox
   ========================================================================== */
/* selector weight must beat .parallax-band p, otherwise the margin is reset */
.parallax-band p.parallax-band__foot {
  max-width: 820px;
  margin: 1.9rem auto 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.parallax-band__foot a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-play {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.6rem 0.65rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.3s ease, box-shadow 0.3s ease;
}

.video-play:hover,
.video-play:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.video-play__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-left: 3px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  animation: playPulse 2.4s ease-out infinite;
}

@keyframes playPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.video-play__text {
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.video-play__text small {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.video-modal[hidden] { display: none; }

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 8, 0.9);
  cursor: pointer;
}

.video-modal__panel {
  position: relative;
  width: min(100%, 1000px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: #10120e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  animation: modalIn 0.28s ease both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.video-modal video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: var(--gold);
  transform: rotate(90deg);
}

.video-modal__caption {
  margin: 0;
  padding: 0.8rem 1.1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.video-modal__caption a { color: var(--gold-2); }

@media (max-width: 600px) {
  .video-modal { padding: 12px; }
  .video-play { gap: 0.7rem; padding-right: 1rem; }
  .video-play__icon { width: 46px; height: 46px; }
  .video-play__text { font-size: 0.92rem; }
  .video-play__text small { font-size: 0.72rem; }
}

/* ==========================================================================
   22. Certificate / credential block
   ========================================================================== */
.credential {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.credential figure { margin: 0; }

.credential img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.credential figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.credential .cert-meta {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.credential .cert-meta li { padding: 0.25rem 0; }

@media (max-width: 780px) {
  .credential { grid-template-columns: 1fr; gap: 1.6rem; }
  .credential img { max-width: 340px; margin: 0 auto; }
}

/* ==========================================================================
   23. Scroll reveal — template-style fadeInUp / fadeInRight (no library)
   JS adds .reveal on load and removes it again after the transition, so the
   element returns to its original styles (hover transforms stay untouched).
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--right { transform: translate3d(42px, 0, 0); }

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* ==========================================================================
   24. Floating WhatsApp button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-3px);
  background: #20bd5b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.wa-float svg { flex: 0 0 28px; }

/* 小屏缩小悬浮按钮，减少对正文的遮挡 */
@media (max-width: 559px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    opacity: 0.94;
  }
  .wa-float svg { flex-basis: 23px; width: 23px; height: 23px; }
}

.wa-float__label {
  position: absolute;
  right: 70px;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float__label { display: none; }
}

@media print {
  .wa-float,
  .parallax-band { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   24. Product-sheet images (from 产品资料(2).doc)
   ========================================================================== */
.doc-detail { align-items: center; }
.doc-detail .figure img { box-shadow: var(--shadow); }
.doc-detail h3 { font-size: 1.05rem; }
.doc-detail .spec-chips { margin-top: 0.5rem; }

.doc-swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.doc-swatch {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--ink-2);
}

.doc-swatch img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.doc-swatch:hover img,
.doc-swatch:focus-visible img {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.doc-swatch span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  font-weight: 500;
}

@media (min-width: 560px) {
  .doc-swatches { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 780px) {
  .doc-swatches { grid-template-columns: repeat(5, 1fr); }
}

/* ==========================================================================
   25. Layout fixes (2026-11-15)
   - Inside the mill: equal-height 2x2 photo grid (was: ragged rows)
   - Six stages: top-align columns so no empty block sits left of the photos
   - Company introduction: four readable blocks for the full supplied text
   ========================================================================== */

/* about-us — "What the site actually looks like" */
.mill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.mill-grid .figure { margin: 0; }
.mill-grid .figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* the yarn-store photo is portrait; keep the cone stack in frame */
.mill-grid .figure:first-child img { object-position: center 38%; }
.mill-grid .figure figcaption { margin-top: 0.65rem; }

@media (min-width: 768px) {
  .mill-grid { grid-template-columns: repeat(2, 1fr); }
}

/* manufacturing — "Six stages from yarn to container" */
.split--top { align-items: start; }
.process-media { display: grid; gap: 1rem; }
.process-media .figure { margin: 0; }
.process-media .figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  object-fit: cover;
}
.process-media .figure figcaption { margin-top: 0.55rem; }

/* about-us — full company introduction, split into four blocks */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.intro-block {
  padding: 1.6rem 1.75rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.intro-block__num {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.intro-block h3 {
  font-size: 1.12rem;
  margin-bottom: 0.75rem;
}
.intro-block p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 26. Mobile navigation safety net ----------
   兜底，不改变正常表现：即使脚本只更新了 aria-expanded（或被浏览器扩展
   拦掉一半），下拉面板也不会变成「只有一个空框、里面没有菜单」。
   文字颜色显式写死，避免系统深色模式 / 强制颜色把链接弄成白底白字。 */
@media (max-width: 999px) {
  .site-header:has(.nav-toggle[aria-expanded='true']) .site-nav { display: block; }

  .site-nav .nav-list > li > a {
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
  .site-nav .nav-list > li > a:hover,
  .site-nav .nav-list > li > a[aria-current='page'] {
    color: var(--gold-dark);
    -webkit-text-fill-color: var(--gold-dark);
  }
  .site-nav .nav-sub a {
    color: var(--ink-2);
    -webkit-text-fill-color: var(--ink-2);
  }
}

/* ---------- Enquiry form (contact page, FormSubmit) ---------- */
.form-banner {
  border: 1px solid var(--gold-line);
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
}
.form-banner strong { display: block; margin-bottom: .25rem; color: var(--ink); }
.form-banner p { margin: 0; font-size: .95rem; color: var(--ink-2); }

.enquiry-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  max-width: 980px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.6rem;
}
.form-field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.form-field .req { color: var(--gold-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-field ::placeholder { color: var(--muted); opacity: .8; }

/* compact variant: sits in the contact page's right-hand column */
.enquiry-form--compact { max-width: none; padding: 1.6rem; }
.form-grid--stack { grid-template-columns: 1fr; gap: 1rem; }

/* honeypot field — invisible to humans, traps bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note { margin: 0; font-size: .95rem; color: var(--muted); }
.form-note a { color: var(--ink-2); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .enquiry-form { padding: 1.3rem 1.1rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .hero-bg { display: none; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}
