/* Homepage typography, photography and spacing. */
.page-home {
  --home-paper: #fff;
  --home-surface: #f5f8f6;
  --home-ink: #142d24;
  --home-accent: #006d4b;
  --home-line: #dce6e0;
  --home-space: clamp(3.4rem, 5.4vw, 5.25rem);
  background: var(--home-paper);
}

.page-home .site-header {
  border-bottom: 1px solid var(--home-line);
  box-shadow: none;
}
.page-home .site-header .header-bar .header-tool { font-weight: 560; }

.page-home #main > .hero { background: #0b3028; }
.page-home #main .hero-scrim {
  background:
    linear-gradient(90deg, #08251df0 0%, #0b3028bf 36%, #0b30284f 66%, #091f1710 100%),
    linear-gradient(0deg, #0a281f38, transparent 45%);
}
.page-home #main .hero-title {
  max-width: 12.8em;
  font-size: clamp(2.9rem, 4.85vw, 4.65rem);
  line-height: 1.09 !important;
  letter-spacing: -.028em;
}
.page-home:lang(zh-CN) #main .hero-title {
  font-size: clamp(2.48rem, 4.49vw, 4.42rem);
  letter-spacing: -.022em;
}
.page-home:lang(zh-CN) #main .hero-title:has(wbr) {
  max-width: 11.1em;
  word-break: keep-all;
}
.page-home:lang(de) #main .hero-title {
  font-size: clamp(2.64rem, 4.35vw, 4.25rem);
  hyphens: auto;
}
.page-home #main .hero-slogan { text-shadow: 0 1px 5px #05170f30; }
.page-home #main .hero-actions { gap: 10px 14px; margin-top: clamp(22px, 2.65vw, 36px); }
.page-home #main .hero-action {
  min-height: 46px !important;
  height: auto !important;
  padding-block: 10px !important;
  border-width: 1px;
  color: #123b2e;
  transition-property: color, border-color, background-color;
}
.page-home #main .hero-action:hover { transform: none; }
.page-home #main .hero-action--secondary {
  border-color: #ffffffbd;
  background: #0a2a2055;
  color: #fff;
  backdrop-filter: none;
}
.page-home #main .hero-action--secondary:hover { background: #0a2a20bd; color: #fff; }
.page-home #main .hero-action:focus-visible { outline-color: #fff; }
.page-home #main .hero-points { gap: 8px 23px; margin-top: 22px; }
.page-home #main .hero-points li { color: #e2ede6; font-size: .81rem; }
.page-home #main .hero-points li::before { background: #9ad2b7; }
.page-home #main .hero-video-toggle {
  border-color: #ffffff9c;
  background: #0c3429e8;
  box-shadow: none;
}
.page-home #main .hero-video-toggle:hover { background: #17483a; }

.page-home #main > :is(.catalog-home-series, .home-industry-showcase, .section-news) {
  padding-block: var(--home-space);
}
.page-home #main .section-heading-row { margin-block-end: clamp(18px, 2.1vw, 30px); }
.page-home #main .section-heading-row h2 {
  margin-block: 0;
  color: var(--home-ink);
  font-size: clamp(1.67rem, 3vw, 2.65rem);
  letter-spacing: -.025em;
}
.page-home #main .section-heading-link { color: var(--home-accent); font-weight: 610; }
.page-home #main .section-heading-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.page-home #main .catalog-home-series .catalog-series-grid {
  gap: clamp(14px, 1.8vw, 27px);
  margin-top: 0;
}
.page-home #main :is(.catalog-series-card, .zg-news-card, .brand-experience__logos li) {
  border-color: var(--home-line);
  border-radius: 8px;
}
.page-home #main :is(.catalog-series-card, .zg-news-card):hover {
  border-color: #8db8a4;
  box-shadow: none;
}
.page-home #main .catalog-series-card__copy { padding: clamp(16px, 1.7vw, 25px); }
.page-home #main .catalog-series-card__copy h3 {
  margin-block: 6px 8px;
  color: var(--home-ink);
  font-size: clamp(1.22rem, 1.65vw, 1.5rem);
}
.page-home #main .catalog-series-card__copy p {
  margin-block-end: clamp(12px, 1.1vw, 16px);
  color: #445b50;
  font-size: .94rem;
}
.page-home #main .catalog-series-card__copy > span {
  color: var(--home-accent);
  font-size: .87rem;
  font-weight: 620;
}

.page-home #main .home-industry-intro {
  max-width: 61ch;
  margin: 8px 0 0;
  color: #445b50;
  font-size: clamp(.96rem, 1.28vw, 1.1rem);
  line-height: 1.65;
}
.page-home #main .home-industry-stage {
  min-height: 0;
  margin-top: 0;
  border-radius: 12px;
  background: var(--home-line);
}
.page-home #main .home-industry-panels {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: clamp(350px, 32vw, 460px);
  gap: 3px;
  padding: 0;
}
.page-home #main .home-industry-panel {
  border: 0;
  background-image: linear-gradient(0deg, #0a2019f5, #0a2019ae 29%, transparent 66%), var(--industry-image);
  text-decoration: none;
}
.page-home #main .home-industry-caption {
  position: absolute;
  inset: auto clamp(11px, 1.5vw, 22px) clamp(15px, 1.8vw, 26px);
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.page-home #main .home-industry-panel strong {
  position: static;
  color: #fff;
  font-size: clamp(.99rem, 1.42vw, 1.28rem);
  letter-spacing: -.015em;
}
.page-home #main .home-industry-caption > span {
  color: #edf5ef;
  font-size: clamp(.82rem, 1.08vw, .95rem);
  line-height: 1.4;
}
.page-home #main .home-industry-panel:focus-visible { outline-offset: -5px; }

.page-home #main > .section-news { background: var(--home-surface); }
.page-home #main .zg-news-card .zg-flip-inner,
.page-home #main .zg-news-card .zg-reveal-panel { background: var(--home-paper); }
.page-home #main .zg-news-card .zg-reveal-panel { padding: clamp(17px, 1.85vw, 27px); }
.page-home #main .zg-news-card .zg-flip-tag {
  margin-block-end: 10px;
  color: var(--home-accent);
  font-size: .75rem;
  letter-spacing: .025em;
}
.page-home #main .zg-news-card .zg-flip-title {
  color: var(--home-ink);
  font-size: clamp(1.03rem, 1.49vw, 1.31rem);
  letter-spacing: -.012em;
}
.page-home #main .zg-news-card .zg-flip-summary { color: #43594f; }
.page-home #main .zg-news-card .zg-flip-foot { gap: 10px; }

.page-home #main .brand-experience { background: var(--home-surface); border-color: var(--home-line); }
.page-home #main .brand-experience__logos { background: var(--home-paper); border-color: var(--home-line); }
.page-home .site-footer { background: #0d2f26; }
.page-home .site-footer .footer-col-title { letter-spacing: .015em; }
.page-home .site-footer .footer-grid { gap: clamp(14px, 2.6vw, 40px); }
.page-home .site-footer .footer-grid a:hover { text-decoration: underline; text-underline-offset: .22em; }
.page-home .whatsapp-float { box-shadow: 0 5px 18px #0b30282b; }

@media (min-width: 701px) {
  .page-home #main .home-industry-panel:focus-visible { flex-grow: 1.5; }
  .page-home .whatsapp-float {
    right: 9px;
    gap: 6px;
    padding-inline: 8px;
    font-size: .75rem;
  }
  .page-home .whatsapp-float svg { width: 18px; height: 18px; }
}

@media (max-width: 700px) {
  .page-home #main .home-industry-showcase .section-heading-row { gap: 12px 20px; }
  .page-home #main .home-industry-panels {
    width: max-content;
    min-height: 0;
    height: clamp(275px, 74vw, 385px);
  }
  .page-home #main .home-industry-panel strong { font-size: 1.15rem; }
}

@media (max-width: 620px) {
  .page-home #main .hero-video { object-position: 60% center; }
  .page-home #main .hero-scrim {
    background:
      linear-gradient(0deg, #0a2b22f5 0%, #0b3028cd 38%, #0b30286e 71%, #061d1520 100%),
      linear-gradient(90deg, #091f164a, transparent 84%);
  }
  .page-home #main .hero-title { font-size: clamp(2rem, 8.6vw, 3.15rem); }
  .page-home:lang(zh-CN) #main .hero-title { font-size: clamp(1.69rem, 7.78vw, 3rem); }
  .page-home:lang(de) #main .hero-title { font-size: clamp(1.93rem, 7.9vw, 2.8rem); }
  .page-home #main .hero-actions { margin-top: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home #main :is(.hero-action, .home-industry-panel) { transition: none; }
}
