/* 主站首页各区块。共用颜色、导航和页脚见 theme.css。 */
:where(.pm-home) main :where(h1, h2, h3, h4, p, ul) { margin: 0; }
.pm-home main ul { list-style: none; padding: 0; }
.pm-home main img { display: block; }

/* 全景 Banner 使用独立的横竖幅摄影构图，文字继续由 HTML 排版。 */
.home-hero {
  /* 页头边框在内容行之外，手机还需为底部导航栏预留高度。 */
  --hero-viewport-offset: calc(var(--header-row-height) + 1px + var(--bottom-bar-height));
  --hero-controls-bottom: clamp(1rem, 3.5vh, 2.75rem);
  position: relative;
  background: #0a141e;
}
.home-hero > .owl-carousel { display: block; }
.home-hero > .owl-carousel:not(.owl-loaded) > div:not(:first-child) { display: none; }
.home-hero .owl-stage, .home-hero .owl-item, .home-hero .owl-item > div { display: flex; }
.home-hero .owl-item { flex-shrink: 0; }
.home-hero .owl-stage::after { display: none; }
.home-hero .owl-item > div, .home-hero__slide { width: 100%; }
.home-hero__slide {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--hero-viewport-offset));
  min-height: calc(100dvh - var(--hero-viewport-offset));
  overflow: hidden;
  isolation: isolate;
  color: white;
  background: linear-gradient(130deg, #101f2b, #09131c 68%);
}
.home-hero__slide:is(:hover, :focus) { color: white; text-decoration: none; }
.home-hero__slide:focus-visible { outline-offset: -4px; }
.home-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #050e17a8, transparent 23%);
  pointer-events: none;
}
.home-hero__inner { position: relative; z-index: 1; pointer-events: none; }
.home-hero__copy { width: min(60%, 46rem); padding: 3.5rem 0 clamp(6rem, 11vh, 8rem); }
.home-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #475c70;
  font: 650 .8rem/1.4 Barlow, Bahnschrift, Arial, sans-serif;
  letter-spacing: .16em;
}
.home-eyebrow::before { content: ""; width: 1.9rem; height: 3px; flex: none; background: var(--orange); }
.home-hero__heading {
  color: #fff;
  font-size: clamp(3.5rem, 6.35vw, 6.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.home-hero__heading > span { display: block; }
.home-hero__heading:not(.home-hero__motto) > span:last-child {
  margin-top: .2em;
  color: #e3eaf0;
  font-size: .71em;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .005em;
}
.home-hero__heading .home-eyebrow {
  display: flex;
  gap: 1rem;
  margin-bottom: clamp(1.3rem, 2.4vw, 2.4rem);
  color: #ffad6a;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  letter-spacing: .21em;
}
.home-hero .home-eyebrow::before { width: 3rem; height: 2px; }
.home-hero__values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  width: fit-content;
  margin-top: clamp(1.2rem, 2.1vw, 2rem);
  color: #edf2f6;
  font-size: clamp(.95rem, 1.12vw, 1.1rem);
}
.home-hero__values li { display: inline-flex; align-items: center; gap: .45em; line-height: 1.35; }
.home-hero__values li::before { content: ""; width: .24em; height: .24em; background: var(--action); }
.home-hero__action {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: clamp(1.25rem, 2.6vw, 2.4rem);
  min-height: 46px;
  padding: .7rem 1.15rem;
  border-radius: .25rem;
  color: var(--navy);
  background: var(--action);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background .2s;
}
.home-hero__slide:is(:hover, :focus-visible) .home-hero__action { background: #ffc397; }
.home-hero__action::after, .home-more::after { transition: transform .2s; }
.home-hero__slide:is(:hover, :focus-visible) .home-hero__action::after,
.home-more:is(:hover, :focus-visible)::after { transform: translateX(3px); }
.home-hero__motto { font-size: clamp(2.95rem, 4.75vw, 5.15rem); line-height: 1.2; }
.home-hero__motto::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1.8rem;
  background: var(--orange);
}
.home-hero__motto > span { display: inline; }
.home-hero__motto > span + span { margin-left: .2em; }
.home-hero__intro { margin-top: 1.65rem; font-size: clamp(1rem, 1.28vw, 1.35rem); color: #edf2f6; line-height: 1.7; text-wrap: balance; }
.home-hero__english {
  max-width: 36rem;
  margin-top: 1.1rem;
  color: #c3d0d9;
  font: 500 .82rem/1.65 Barlow, Bahnschrift, Arial, sans-serif;
  letter-spacing: .12em;
  text-wrap: balance;
}
.home-hero__photo {
  position: absolute;
  display: block;
  inset: 0 0 0 auto;
  width: min(92%, 1672px);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #0002 17%, #0006 36%, #000b 51%, black 67%);
}
.home-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 52%;
}
.home-hero__slide--milling .home-hero__photo img { object-position: 73% 57%; }
.pm-home .home-hero .owl-carousel .owl-dots {
  display: flex;
  inset: auto auto var(--hero-controls-bottom) var(--edge);
  width: auto;
  padding: 0;
  gap: .95rem;
  transform: none;
  z-index: 2;
}
.pm-home .home-hero .owl-dots button.owl-dot,
.pm-home .home-hero .owl-dots button.owl-dot:is(:hover, .active) {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
}
.pm-home .home-hero .owl-dots button:focus-visible { outline: 2px solid white; outline-offset: 1px; }
.pm-home .home-hero .owl-dot::before { content: ""; width: 100%; height: 2px; background: #b3bec69c; }
.pm-home .home-hero .owl-dot.active::before { background: var(--action); }
.pm-home .home-hero .owl-dot span { display: none; }
.home-hero__next {
  position: absolute;
  right: var(--edge);
  bottom: var(--hero-controls-bottom);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c8d5df85;
  border-radius: 50%;
  color: white;
  background: #10202e80;
}
.home-hero__next::after { transform: rotate(90deg); }
.home-hero__next:is(:hover, :focus-visible) { color: var(--action); border-color: var(--action); }

.home-advantages { padding: clamp(30px, 3vw, 52px) 0; border-bottom: 1px solid var(--line); }
.home-advantages__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-advantages__list li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding-inline: clamp(17px, 2.15vw, 36px);
}
.home-advantages__list li:first-child { padding-left: 0; }
.home-advantages__list li:last-child { padding-right: 0; }
.home-advantages__list li + li { border-left: 1px solid var(--line); }
.home-advantages__list img { width: 100%; height: auto; }
.home-advantages h3 { margin-bottom: .5rem; font-weight: 700; font-size: clamp(1.125rem, 1.4vw, 1.4rem); line-height: 1.4; }
.home-advantages p { font-size: 1rem; color: var(--muted); line-height: 1.75; }

.home-section { padding: clamp(54px, 5.5vw, 92px) 0; }
.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(24px, 2.35vw, 42px);
}
.home-section__head h2 {
  margin: .55rem 0 0;
  color: inherit;
  font-weight: 700;
  font-size: clamp(1.9rem, 2.75vw, 3rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.home-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .55rem .9rem;
  min-height: 44px;
  border: 1px solid #abbac4;
  border-radius: .25rem;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.home-more:is(:hover, :focus-visible) { color: white; background: var(--steel); text-decoration: none; }

.home-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  min-height: clamp(26rem, 34vw, 32rem);
  color: #f5f8fa;
  background: linear-gradient(135deg, #1c374b, #111f2c 76%);
  border-radius: var(--corner);
  overflow: hidden;
  box-shadow: 0 1rem 2.75rem #1025371a;
}
.home-about__copy {
  align-self: center;
  padding: clamp(1.6rem, 3.55vw, 3.6rem);
}
.home-about .home-section__head { display: block; margin-bottom: 1.35rem; }
.home-about .home-section__head h2 { font-size: clamp(2.1rem, 3.4vw, 3.3rem); }
.home-about .home-section__head::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  background: var(--orange);
}
.home-about__copy p { color: #e1eaf0; font-size: clamp(1rem, 1.12vw, 1.1rem); line-height: 1.85; }
.home-about__copy p + p {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid #bed1df40;
}
.home-about__link {
  min-height: 2.875rem;
  margin-top: 1.5rem;
  padding-inline: 1rem .9rem;
  gap: .85rem;
  color: var(--ink);
  background: #ffa564;
  border-color: transparent;
}
.home-about__link:is(:hover, :focus-visible) { color: var(--ink); background: #ffc194; }
.home-about__photo {
  position: relative;
  overflow: hidden;
  background: #263b49;
}
.home-about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

/* 六类材料保留各自的产品照片，整张图卡可进入对应分类。 */
.home-products { background: var(--mist); }
.home-products__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-products__list li {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(12rem, 16vw, 15.5rem);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--corner);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.home-products__list li:is(:hover, :focus-within) { border-color: #9aaeba; box-shadow: 0 .55rem 1.25rem #122d4214; }
.home-products__list .cpwzw { display: flex; flex-direction: column; width: 74%; padding: clamp(1.2rem, 1.8vw, 2rem); }
.home-products__list h3 { color: var(--ink); font-size: clamp(1.2rem, 1.65vw, 1.65rem); font-weight: 700; line-height: 1.4; }
.home-products__list p { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.home-products__list a, .home-news .text a, .home-application__caption a {
  width: fit-content;
  color: #23465f;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-decoration-color: #b68258;
  text-underline-offset: .35em;
}
.home-products__list a { display: inline-flex; align-items: center; gap: .55rem; margin-top: auto; padding-top: 1.25rem; text-decoration: none; }
.home-products__list a::before { content: ""; order: 1; width: .9rem; height: .9rem; background: var(--accent-ink); clip-path: var(--arrow); }
.home-products__list a::after, .home-application__caption a::after, .home-news .news-left a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.home-products__list .img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  z-index: -1;
  mask-image: linear-gradient(100deg, transparent 0%, #0004 18%, #000 52%);
}
.home-products__list .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 62%;
  transition: transform .35s;
}
.home-products__list li:is(:hover, :focus-within) .img img { transform: scale(1.045); }

/* 两组行业图集沿用原有切换、悬停和触屏手势。 */
.home-applications { color: white; background: #172b3c; }
.home-applications .home-eyebrow, .home-distribution .home-eyebrow { color: #cad7e1; }
.home-applications__slider { margin-bottom: 0; }
.home-applications__slider .slick-list { margin: 0; }
.home-applications__slider .home-applications__list {
  display: flex !important;
  gap: .65rem;
  padding: 0;
  margin: 0;
  vertical-align: top;
}
.home-applications__list > li {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: clamp(19rem, 25vw, 24rem);
  background: #203849;
  border-radius: var(--corner);
  overflow: hidden;
  transition: width .35s ease;
}
.home-application__photo, .home-application__photo::after {
  position: absolute;
  inset: 0;
}
.home-application__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-application__photo::after {
  content: "";
  background: linear-gradient(0deg, #06111bf5, #071522b3 31%, #0c1b2710 74%);
}
.home-application__caption {
  z-index: 1;
  padding: clamp(1rem, 1.55vw, 1.65rem);
  color: white;
}
.home-application__caption h3 { font-weight: 650; font-size: clamp(1.25rem, 1.65vw, 1.75rem); line-height: 1.4; }
.home-application__caption p { margin: .45rem 0 .8rem; font-size: 1rem; line-height: 1.55; color: #f0f3f6; text-wrap: balance; }
.home-application__caption a { color: white; text-decoration-color: #efa05f; }
.home-applications__list li:focus-within { outline: 2px solid var(--orange); outline-offset: -2px; }
.home-applications__slider .slick-dots {
  position: static;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: .3rem;
  margin: .75rem 0 -1rem;
}
.home-applications__slider .slick-dots li,
.home-applications__slider .slick-dots li:is(:hover, .slick-active) {
  position: relative;
  width: 2.4rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.home-applications__slider .slick-dots li::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 3px;
  background: #8293a1;
}
.home-applications__slider .slick-dots li.slick-active::before { background: var(--orange); }
.home-applications__slider .slick-dots li button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  font-size: 0;
  border: 0;
  background: transparent;
}
.home-applications__slider .slick-dots button::before { display: none; }

/* 动态新闻继续使用 CMS 识别的 news-right / news / date 节点。 */
.home-news__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(28px, 4vw, 76px);
}
.home-news .news-left li { position: relative; border-radius: var(--corner); overflow: hidden; background: var(--mist); }
.home-news .news-left .img { aspect-ratio: 793 / 574; background: #0d3b69; }
.home-news .news-left img { width: 100%; height: 100%; object-fit: contain; }
.home-news .news-left .text { padding: clamp(1.2rem, 2vw, 2rem); }
.home-news h3 { font-size: clamp(1.12rem, 1.4vw, 1.4rem); line-height: 1.45; font-weight: 650; }
.home-news p { margin-top: .55rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.home-news .text a { display: inline-block; margin-top: 1rem; }
.home-news .news-right { align-self: stretch; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.home-news .news { flex: 1; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.home-news .news > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  width: 100%;
  column-gap: 1rem;
  padding: clamp(18px, 1.65vw, 29px) 0;
  color: var(--ink);
}
.home-news .news > a:is(:hover, :focus-visible) h3 { color: #96501f; }
.home-news .news > a > p { grid-column: 1 / -1; grid-row: 2; }
.home-news .date { grid-column: 2; grid-row: 1; }
.home-news .date h4 {
  color: #586d7c;
  font: 500 .85rem/1.6 Barlow, Bahnschrift, Arial, sans-serif;
  letter-spacing: .025em;
  font-variant-numeric: tabular-nums;
}
.home-distribution {
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 6vw, 100px) 0;
  color: white;
  background: #13273a;
}
.home-distribution::before {
  content: "";
  position: absolute;
  inset: 0 42% 0 0;
  z-index: -1;
  background: url("/static/pm-alloy/site-assets/8580f901/21/12/93459842250de2ad5691f2faecd71efe83d9de67.jpg") no-repeat 36% center / auto 112%;
  mix-blend-mode: luminosity;
  opacity: .7;
  mask-image: linear-gradient(90deg, black 65%, transparent);
}
.home-distribution .home-width { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
.home-distribution .home-section__head { margin: 0; }
.home-distribution__markets { display: grid; gap: 1.5rem; }
.home-distribution__markets > div { padding-left: 1.2rem; border-left: 2px solid #b77746; }
.home-distribution__markets h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.5; color: #fff; }
.home-distribution__markets p { margin-top: .3rem; font-size: 1rem; line-height: 1.8; color: #d8e2ea; }

@media (max-width: 991px) {
  .home-hero__copy { width: 62%; padding-block: 3rem 5.25rem; }
  .home-hero__heading { font-size: clamp(3rem, 6.6vw, 4rem); }
  .home-hero__motto { font-size: clamp(2.65rem, 4.8vw, 3.3rem); }
  .home-hero__values { font-size: .98rem; }
  .home-hero__values { gap: .45rem .8rem; }
  .home-hero__photo img { object-position: 48% 52%; }
  .home-hero__slide--milling .home-hero__photo img { object-position: 64% 57%; }
  .home-about { scroll-margin-top: calc(var(--header-row-height) + 1px); }
  .home-about__layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .home-about__photo { aspect-ratio: 8 / 5; }
  .home-advantages__list li { display: block; }
  .home-advantages__list .img { width: 2.65rem; margin-bottom: .65rem; }
  .home-products__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-applications__slider .home-applications__list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-applications__list > li { width: auto !important; min-height: 13.5rem; }
  .home-news__layout { grid-template-columns: 1fr 1.15fr; gap: 1.5rem; }
  .home-news .news > a { display: flex; flex-direction: column; }
  .home-news .date { margin-top: .4rem; }
}
@media (max-width: 680px) and (orientation: portrait) {
  .home-hero__slide { align-items: start; }
  .home-hero__slide::after {
    background: linear-gradient(160deg, #08131fa6, #08131f70 26%, transparent 58%),
                linear-gradient(0deg, #06111ac2, transparent 22%);
  }
  .home-hero__inner { align-self: start; }
  .home-hero__copy { width: 100%; padding: clamp(2.6rem, 7svh, 4.3rem) 0 4rem; }
  .home-hero__heading { font-size: clamp(2.75rem, 11.8vw, 4rem); }
  .home-hero__heading:not(.home-hero__motto) > span:last-child { font-size: .73em; }
  .home-hero__heading .home-eyebrow { gap: .65rem; font-size: 1rem; margin-bottom: 1.1rem; }
  .home-hero .home-eyebrow::before, .home-hero__motto::before { width: 2.2rem; }
  .home-hero__values { margin-top: 1.1rem; gap: .4rem .65rem; font-size: clamp(.82rem, 3.35vw, .95rem); }
  .home-hero__action { margin-top: 1.2rem; min-height: 44px; font-size: .94rem; }
  .home-hero__motto { font-size: clamp(1.9rem, 8.1vw, 3rem); }
  .home-hero__motto::before { margin-bottom: .9rem; }
  .home-hero__intro { font-size: 1rem; margin-top: .85rem; }
  .home-hero__english { margin-top: .55rem; max-width: 27rem; font-size: .77rem; }
  .home-hero__photo { width: 100%; mask-image: none; }
  .home-hero__photo img, .home-hero__slide--milling .home-hero__photo img { object-position: 50% 20%; }
  .home-hero { --hero-controls-bottom: .85rem; }
}
@media (max-width: 991px) and (max-height: 520px) and (orientation: landscape) {
  .home-hero__copy { width: 64%; padding-block: 1rem; }
  .home-hero__heading { font-size: clamp(2.2rem, 5.6vw, 3.2rem); }
  .home-hero__heading .home-eyebrow { margin-bottom: .6rem; font-size: .9rem; }
  .home-hero__values { margin-top: .9rem; font-size: .875rem; }
  .home-hero__action { margin-top: .75rem; min-height: 44px; padding-block: .4rem; font-size: .9rem; }
  .home-hero__motto { font-size: clamp(1.95rem, 4.4vw, 2.75rem); }
  .home-hero__motto::before { margin-bottom: .7rem; }
  .home-hero__intro { margin-top: .6rem; font-size: .9rem; line-height: 1.5; }
  .home-hero__english { margin-top: .45rem; font-size: .72rem; }
  .pm-home .home-hero .owl-carousel .owl-dots { inset: auto var(--edge) .3rem auto; }
  .home-hero__next { display: none; }
}
@media (max-width: 680px) {
  .home-advantages { padding: .35rem 0; }
  .home-advantages__list { grid-template-columns: 1fr; }
  .home-advantages__list li, .home-advantages__list li:first-child, .home-advantages__list li:last-child {
    display: grid;
    grid-template-columns: 2.55rem 1fr;
    gap: .85rem;
    padding: 1.15rem 0;
  }
  .home-advantages__list li + li { border: 0; border-top: 1px solid var(--line); }
  .home-advantages__list .img { width: 100%; margin: .1rem 0 0; }
  .home-advantages h3 { margin-bottom: .25rem; }
  .home-section { padding: 2.8rem 0; }
  .home-section__head { gap: .8rem; margin-bottom: 1.25rem; }
  .home-products__list { grid-template-columns: 1fr; gap: .65rem; }
  .home-products__list li { min-height: 10.35rem; }
  .home-products__list .cpwzw { width: 79%; }
  .home-products__list .img { width: 58%; }
  .home-applications__slider .home-applications__list { gap: .5rem; }
  .home-applications__list > li { min-height: clamp(13rem, 49vw, 17rem); }
  .home-application__caption { padding: .8rem; }
  .home-application__caption p { font-size: .93rem; margin: .3rem 0 .55rem; }
  .home-news__layout, .home-distribution .home-width { grid-template-columns: 1fr; gap: 1.65rem; }
  .home-distribution { padding: 3rem 0; }
  .home-distribution::before { inset: 0; opacity: .35; background-position: 32% center; mask-image: none; }
}
