:root {
  --paper: #f4f4f1;
  --surface: #ecece8;
  --ink: #20201e;
  --muted: #686d65;
  --line: rgba(32, 32, 30, 0.18);
  --accent: #5a6e56;
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  transition: background-color 240ms ease, color 240ms ease;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 150px 1fr 300px;
  align-items: center;
  height: 72px;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 244, 241, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
h1,
h2 {
  font-family: "Times New Roman", "Noto Serif SC", serif;
  font-weight: 400;
}

.brand {
  font-size: 30px;
  line-height: 1;
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  font-size: 11px;
  line-height: 1;
}

.header-actions {
  justify-content: flex-end;
  gap: 30px;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  z-index: 28;
  top: 64px;
  left: 0;
  right: 0;
  display: none;
  padding: 26px 24px 34px;
  background: rgba(28, 30, 27, 0.96);
  color: var(--paper);
}

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

.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(244, 244, 241, 0.18);
  font-family: "Times New Roman", "Noto Serif SC", serif;
  font-size: 18px;
}

.style-panel {
  position: fixed;
  z-index: 31;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(76px, 1fr));
  gap: 6px;
  width: min(360px, calc(100vw - 48px));
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(244, 244, 241, 0.9);
  backdrop-filter: blur(18px);
}

.style-panel p {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
}

.style-panel button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: 12px;
  cursor: pointer;
}

.style-panel button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, 42vw) 1fr;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 244, 241, 0.98) 0%, rgba(244, 244, 241, 0.92) 36%, rgba(244, 244, 241, 0.05) 62%);
}

.hero-media {
  grid-column: 2;
  grid-row: 1;
  min-height: 100svh;
}

.hero-media img {
  object-position: center center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 110px 7vw 72px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(52px, 7vw, 110px);
  line-height: 0.96;
}

.hero-copy p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  line-height: 1;
}

.slide-status {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18vh;
  color: var(--muted);
  font-size: 11px;
}

.slide-status span {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.trade-proof,
.inquiry-card,
.capability-rail,
.product-meta {
  display: none;
}

.collection,
.about,
.story,
.journal {
  padding: 84px 56px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(320px, 1fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2,
.about h2,
.journal h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.product-card img {
  aspect-ratio: 3 / 4.2;
  height: auto;
  background: var(--surface);
}

.product-card div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.product-card h3,
.product-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.85fr);
  gap: clamp(34px, 6vw, 110px);
  align-items: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy {
  max-width: 680px;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.about-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 0.95fr;
  gap: 16px;
}

.story figure {
  margin: 0;
  min-width: 0;
}

.story img {
  aspect-ratio: 4 / 5;
  height: auto;
}

.story figure:nth-child(2) img {
  aspect-ratio: 4 / 3;
}

.story figcaption {
  padding-top: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.journal {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 48px;
  align-items: end;
  min-height: 360px;
  background: var(--ink);
  color: var(--paper);
}

.journal .eyebrow,
.journal p {
  color: rgba(244, 244, 241, 0.7);
}

.journal p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

/* 风格二：大片视觉 */
.style-editorial {
  --paper: #f0eee9;
  --surface: #dedbd3;
  --ink: #191917;
  --muted: #55584f;
}

.style-editorial .site-header {
  background: rgba(240, 238, 233, 0.78);
}

.style-editorial .hero {
  display: block;
  min-height: 100svh;
}

.style-editorial .hero::after {
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.18) 0%, rgba(20, 20, 18, 0.06) 44%, rgba(20, 20, 18, 0.72) 100%);
}

.style-editorial .hero-media {
  position: absolute;
  inset: 0;
}

.style-editorial .hero-media img {
  object-position: center top;
}

.style-editorial .hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 56px 64px;
  color: var(--paper);
}

.style-editorial .hero-copy .eyebrow,
.style-editorial .hero-copy p:not(.eyebrow),
.style-editorial .slide-status {
  color: rgba(244, 244, 241, 0.78);
}

.style-editorial .hero-copy p:not(.eyebrow) {
  max-width: 520px;
}

.style-editorial .about {
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
}

.style-editorial .about-copy {
  order: 2;
}

.style-editorial .about-media {
  order: 1;
  aspect-ratio: 3 / 4;
}

/* 风格三：商品陈列 */
.style-catalog {
  --paper: #f7f7f3;
  --surface: #e8e8e2;
  --ink: #20201e;
  --muted: #5f655c;
}

.style-catalog .hero {
  min-height: 620px;
  grid-template-columns: 1fr minmax(340px, 480px);
}

.style-catalog .hero::after {
  display: none;
}

.style-catalog .hero-media {
  grid-column: 2;
  margin-top: 72px;
  min-height: 548px;
  border-left: 1px solid var(--line);
}

.style-catalog .hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.style-catalog .collection {
  padding-top: 54px;
}

.style-catalog .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.style-catalog .product-card {
  background: var(--paper);
}

.style-catalog .product-card div {
  min-height: 74px;
  padding: 14px;
}

.style-catalog .story {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.style-catalog .story figure {
  background: var(--paper);
}

.style-catalog .story figcaption {
  padding: 14px;
}

/* 风格四：暗色工作室 */
.style-studio {
  --paper: #181a17;
  --surface: #242721;
  --ink: #f3f1eb;
  --muted: #a9ada2;
  --line: rgba(243, 241, 235, 0.18);
  color: var(--ink);
}

.style-studio .site-header,
.style-studio .style-panel {
  background: rgba(24, 26, 23, 0.86);
}

.style-studio .style-panel button.is-active {
  background: var(--ink);
  color: #181a17;
}

.style-studio .hero {
  grid-template-columns: minmax(320px, 38vw) 1fr;
}

.style-studio .hero::after {
  background: linear-gradient(90deg, rgba(24, 26, 23, 0.98) 0%, rgba(24, 26, 23, 0.82) 34%, rgba(24, 26, 23, 0.16) 68%);
}

.style-studio .hero-copy p:not(.eyebrow),
.style-studio .eyebrow,
.style-studio .section-heading p:last-child,
.style-studio .about-copy p:not(.eyebrow),
.style-studio .story figcaption,
.style-studio .slide-status {
  color: var(--muted);
}

.style-studio .collection,
.style-studio .story {
  background: #181a17;
}

.style-studio .journal {
  background: #0f100e;
}

/* 外贸官网：企业能力型首页 */
.style-editorial .hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: stretch;
  min-height: 760px;
  padding: 108px 56px 56px;
  overflow: hidden;
}

.style-editorial .hero::after {
  display: none;
}

.style-editorial .hero-media {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: auto;
  border: 1px solid var(--line);
}

.style-editorial .hero-media img {
  object-position: center top;
}

.style-editorial .hero-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  grid-column: 1;
  align-self: center;
  max-width: 620px;
  margin: 0;
  padding: 0;
  color: var(--ink);
}

.style-editorial .hero-copy .eyebrow,
.style-editorial .hero-copy p:not(.eyebrow),
.style-editorial .slide-status {
  color: var(--muted);
}

.style-editorial h1 {
  font-size: clamp(48px, 5.6vw, 92px);
}

.style-editorial .trade-proof {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: end;
  background: var(--line);
  border: 1px solid var(--line);
}

.style-editorial .trade-proof div {
  min-height: 118px;
  padding: 20px;
  background: var(--paper);
}

.trade-proof strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Times New Roman", "Noto Serif SC", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.trade-proof span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.style-editorial .inquiry-card {
  position: absolute;
  right: 82px;
  bottom: 82px;
  z-index: 3;
  display: block;
  width: 340px;
  padding: 24px;
  border: 1px solid rgba(244, 244, 241, 0.38);
  background: rgba(244, 244, 241, 0.9);
  backdrop-filter: blur(16px);
}

.inquiry-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.inquiry-card h2 {
  margin-bottom: 24px;
  font-size: 28px;
  line-height: 1.1;
}

.inquiry-card a {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.inquiry-card a::after {
  content: "+";
}

.style-editorial .collection {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr);
  gap: 44px;
}

.style-editorial .section-heading {
  display: block;
  margin: 0;
  padding-right: 20px;
}

.style-editorial .section-heading p:last-child {
  margin-top: 24px;
}

.style-editorial .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.style-editorial .about {
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 1.18fr);
}

.style-editorial .story {
  grid-template-columns: 1fr 1fr 1fr;
}

/* 产品目录：采购筛选型首页 */
.style-catalog .hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(300px, 390px) 1fr;
  gap: 0;
  padding-top: 72px;
  border-bottom: 0;
}

.style-catalog .hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  padding: 56px 34px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.style-catalog .hero-media {
  grid-column: 2;
  grid-row: 1;
  min-height: 568px;
  margin: 0;
  border-left: 0;
}

.style-catalog .hero-media img {
  object-position: center center;
}

.style-catalog .slide-status {
  margin-top: 72px;
}

.style-catalog .inquiry-card {
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: block;
  margin: 0 34px 56px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.style-catalog .inquiry-card h2 {
  font-size: 24px;
}

.style-catalog .collection {
  display: grid;
  grid-template-columns: minmax(260px, 330px) 1fr;
  gap: 28px;
  padding-top: 56px;
}

.style-catalog .section-heading {
  position: sticky;
  top: 96px;
  display: block;
  align-self: start;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.style-catalog .section-heading p:last-child {
  margin-top: 22px;
}

.style-catalog .product-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  border: 0;
  background: transparent;
}

.style-catalog .product-card {
  display: grid;
  grid-template-columns: 156px 1fr minmax(190px, 0.42fr);
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--paper);
}

.style-catalog .product-card img {
  aspect-ratio: 1;
  height: 100%;
}

.style-catalog .product-card div {
  display: block;
  min-height: auto;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.style-catalog .product-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.style-catalog .product-card p {
  color: var(--muted);
}

.style-catalog .product-meta {
  display: flex;
  align-items: center;
  padding: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.style-catalog .about {
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.style-catalog .story {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.style-catalog .story figure {
  background: var(--paper);
}

.style-catalog .story figcaption {
  padding: 14px;
}

/* 供应链展示：深色制造能力型首页 */
.style-studio .hero {
  display: block;
  min-height: 100svh;
  overflow: hidden;
}

.style-studio .hero::after {
  background: linear-gradient(90deg, rgba(15, 16, 14, 0.94) 0%, rgba(15, 16, 14, 0.7) 38%, rgba(15, 16, 14, 0.18) 72%);
}

.style-studio .hero-media {
  position: absolute;
  inset: 0;
  min-height: 100svh;
}

.style-studio .hero-media img {
  object-position: center center;
}

.style-studio .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 148px 56px 220px;
}

.style-studio .hero-copy p:not(.eyebrow) {
  max-width: 520px;
}

.style-studio .trade-proof {
  position: absolute;
  z-index: 3;
  top: 132px;
  right: 56px;
  display: grid;
  width: 360px;
  border: 1px solid var(--line);
  background: rgba(24, 26, 23, 0.72);
  backdrop-filter: blur(18px);
}

.style-studio .trade-proof div {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.style-studio .trade-proof div:last-child {
  border-bottom: 0;
}

.style-studio .capability-rail {
  position: absolute;
  z-index: 3;
  left: 56px;
  right: 56px;
  bottom: 56px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(24, 26, 23, 0.76);
  backdrop-filter: blur(18px);
}

.style-studio .capability-rail span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}

.style-studio .capability-rail span:last-child {
  border-right: 0;
}

.style-studio .collection {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) 1fr;
  gap: 38px;
}

.style-studio .section-heading {
  display: block;
  margin: 0;
}

.style-studio .product-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 10px;
}

.style-studio .product-card {
  border: 1px solid var(--line);
  background: var(--surface);
}

.style-studio .product-card img {
  filter: saturate(0.72) contrast(1.05);
}

.style-studio .product-card div {
  padding: 14px;
}

.style-studio .about {
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
  background: #11120f;
}

.style-studio .about-media {
  aspect-ratio: 16 / 10;
}

.style-studio .story {
  grid-template-columns: 0.8fr 1.3fr 0.9fr;
  align-items: end;
}

.style-studio .story figure:nth-child(1) {
  margin-top: 120px;
}

.style-studio .story figure:nth-child(2) {
  margin-bottom: 72px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 120px 1fr 220px;
    padding: 0 28px;
  }

  .header-actions {
    gap: 18px;
  }

  .product-grid,
  .style-catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 40px 1fr auto;
    height: 64px;
    padding: 0 22px;
  }

  .menu-button {
    display: block;
  }

  .brand {
    justify-self: center;
    font-size: 28px;
  }

  .site-nav {
    display: none;
  }

  .header-actions a:not(:last-child) {
    display: none;
  }

  .header-actions {
    gap: 0;
    font-size: 10px;
  }

  .style-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .hero,
  .style-catalog .hero,
  .style-studio .hero,
  .style-editorial .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero::after,
  .style-studio .hero::after {
    background: linear-gradient(180deg, rgba(244, 244, 241, 0.8) 0%, rgba(244, 244, 241, 0.2) 42%, rgba(28, 30, 27, 0.66) 100%);
  }

  .style-studio .hero::after {
    background: linear-gradient(180deg, rgba(24, 26, 23, 0.4) 0%, rgba(24, 26, 23, 0.12) 44%, rgba(24, 26, 23, 0.86) 100%);
  }

  .hero-media,
  .style-catalog .hero-media,
  .style-editorial .hero-media {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    min-height: 760px;
    margin-top: 0;
    border-left: 0;
  }

  .hero-copy,
  .style-catalog .hero-copy,
  .style-editorial .hero-copy,
  .style-studio .hero-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding: 96px 24px 42px;
    color: var(--paper);
  }

  .hero-copy .eyebrow,
  .hero-copy p:not(.eyebrow),
  .slide-status {
    color: rgba(244, 244, 241, 0.78);
  }

  .style-editorial .trade-proof,
  .style-editorial .inquiry-card,
  .style-catalog .inquiry-card,
  .style-studio .trade-proof,
  .style-studio .capability-rail {
    display: none;
  }

  .collection,
  .about,
  .story,
  .journal {
    padding: 58px 22px;
  }

  .section-heading,
  .about,
  .journal,
  .style-editorial .collection,
  .style-catalog .collection,
  .style-studio .collection,
  .style-editorial .about,
  .style-catalog .about,
  .style-studio .about {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .style-catalog .product-grid,
  .style-editorial .product-grid,
  .style-studio .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-catalog .product-card {
    display: block;
  }

  .style-catalog .product-card img {
    aspect-ratio: 3 / 4.2;
  }

  .style-catalog .product-card div,
  .style-catalog .product-meta {
    border-left: 0;
  }

  .style-catalog .section-heading {
    position: static;
  }

  .story,
  .style-catalog .story {
    grid-template-columns: 1fr;
  }

  .story img,
  .story figure:nth-child(2) img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 52px;
  }

  .product-card div {
    display: block;
  }

  .product-card h3 {
    margin-bottom: 4px;
  }

  .about-copy p:not(.eyebrow),
  .journal p {
    font-size: 14px;
    line-height: 1.8;
  }
}
