/* Loaded only on the homepage. Keep the catalog and other templates isolated. */
/* The restored hero shows original photography without an image overlay. */
.wuyuan-homepage {
  --home-accent: #81283b;
  --home-ink: #22201f;
  --home-muted: #6e6864;
  --home-surface: #f4f1ed;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.wuyuan-home { color: var(--home-ink); background: #fff; }
.wuyuan-home :is(h1, h2, h3, p) { margin: 0; }
.wuyuan-home :is(h1, h2, h3) { font-family: inherit; font-weight: 500; letter-spacing: 0; }
.wuyuan-home h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.45; text-wrap: balance; }
.wuyuan-home a { color: inherit; text-decoration: none; }
.wuyuan-home img { display: block; width: 100%; max-width: 100%; }
.wuyuan-home :is(a, button):focus-visible { outline: 2px solid var(--home-accent); outline-offset: 5px; }
.wuyuan-home .wy-eyebrow { margin-bottom: 18px; color: var(--home-accent); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; }
.wuyuan-home .wy-overline { margin-bottom: 8px; color: var(--home-muted); font-size: 11px; line-height: 1.6; letter-spacing: .16em; }
.wuyuan-home .wy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.wuyuan-home .wy-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 12px 25px; border: 1px solid var(--home-accent); background: var(--home-accent); color: #fff; font-size: 13px; line-height: 1.5; }
.wuyuan-home .wy-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: 13px; line-height: 1.5; }
.wuyuan-home .wy-copy { margin: 20px 0 26px; color: var(--home-muted); font-size: 15px; line-height: 1.95; white-space: pre-line; }
.wuyuan-home .wy-section { width: 90%; max-width: 1280px; margin: 0 auto; padding: 70px 0; }
.wuyuan-home .wy-contained { width: 90%; max-width: 1280px; margin-inline: auto; }
.wuyuan-home .wy-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.wuyuan-home .wy-heading > .wy-link { flex-shrink: 0; }
.wuyuan-home .wy-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wuyuan-home .wy-category { min-width: 0; }
.wuyuan-home .wy-category img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; background: var(--home-surface); }
.wuyuan-home .wy-category h3 { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 4px; font-size: 21px; line-height: 1.5; }
.wuyuan-home .wy-category p { color: var(--home-muted); font-size: 14px; line-height: 1.7; }
.wuyuan-home .wy-campaign { display: grid; grid-template-columns: 58% 42%; background: var(--home-surface); }
.wuyuan-home .wy-campaign-image { height: 420px; object-fit: cover; object-position: center 12%; }
.wuyuan-home .wy-campaign-copy { align-self: center; padding: 44px 12%; }
.wuyuan-home .wy-campaign h2 { line-height: 1.55; text-wrap: balance; }
.wuyuan-home .wy-product { min-width: 0; }
.wuyuan-home .wy-product-image { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--home-surface); }
.wuyuan-home .wy-product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wuyuan-home .wy-model { margin: 16px 0 6px; color: var(--home-muted); font-size: 11px; letter-spacing: .1em; overflow-wrap: anywhere; }
.wuyuan-home .wy-product h3 { font-size: 17px; line-height: 1.6; }
.wuyuan-home .wy-product-scene { margin: 6px 0 10px; color: var(--home-muted); font-size: 13px; line-height: 1.65; }
.wuyuan-home .wy-product-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--home-accent); font-size: 13px; }
.wuyuan-home .wy-fit { display: grid; grid-template-columns: 30% 1fr; min-height: 260px; margin-bottom: 70px; background: var(--home-surface); }
.wuyuan-home .wy-fit-image { height: 260px; object-fit: cover; object-position: center 14%; }
.wuyuan-home .wy-fit-copy { padding: 36px 9%; align-self: center; }
.wuyuan-home .wy-fit .wy-copy { margin: 12px 0 16px; }
.wuyuan-home .wy-fit .wy-actions { gap: 35px; }
.wuyuan-home .wy-partner { display: grid; grid-template-columns: 55% 45%; align-items: stretch; margin-bottom: 48px; background: var(--home-surface); border-radius: 0; }
.wuyuan-home .wy-partner-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px 8%; }
.wuyuan-home .wy-partner .wy-eyebrow { color: var(--home-muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.wuyuan-home .wy-partner h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.35; white-space: pre-line; }
.wuyuan-home .wy-partner .wy-copy { font-size: 18px; line-height: 1.7; }
.wuyuan-home .wy-partner .wy-actions { gap: 12px; }
.wuyuan-home .wy-partner .wy-button { gap: 10px; padding: 12px 20px; border-color: #8b1e2d; border-radius: 4px; background: #8b1e2d; font-size: 16px; font-weight: 700; }
.wuyuan-home .wy-partner .wy-button-outline { color: #8b1e2d; background: transparent; }
.wuyuan-home .wy-partner-media { position: relative; min-height: 380px; overflow: hidden; border-radius: 0; }
/* Slightly overscan the original asset to crop its baked-in rounded border. */
.wuyuan-home .wy-partner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: 0; transform: scale(1.04); }
.wuyuan-homepage .site-header { background: #fff; backdrop-filter: none; }
.wuyuan-homepage .main-nav { font-weight: 500; }
@media (hover: hover) {
  .wuyuan-home .wy-button:hover { background: #692033; border-color: #692033; }
  .wuyuan-home .wy-partner .wy-button:hover { color: #fff; background: #692033; border-color: #692033; }
  .wuyuan-home :is(.wy-link, .wy-category, .wy-product):hover { color: var(--home-accent); }
}
@media (max-width: 960px) {
  .wuyuan-home .wy-three { gap: 18px; }
  .wuyuan-home .wy-campaign-copy { padding: 32px 9%; }
  .wuyuan-home .wy-campaign-image { min-height: 400px; }
  .wuyuan-home .wy-partner-media { min-height: 340px; }
  .wuyuan-home .wy-fit-copy { padding: 30px 7%; }
}
@media (max-width: 720px) {
  .wuyuan-home .wy-section { padding-block: 48px; }
  .wuyuan-home .wy-fit, .wuyuan-home .wy-partner { margin-bottom: 48px; }
  .wuyuan-home .wy-heading { gap: 16px; }
  .wuyuan-home .wy-category h3 { font-size: 18px; }
  .wuyuan-home .wy-copy { font-size: 14px; }
  .wuyuan-home .wy-campaign { grid-template-columns: 1fr 1fr; }
  .wuyuan-home .wy-campaign-copy { padding-inline: 8%; }
  .wuyuan-home .wy-fit { grid-template-columns: 26% 1fr; }
  .wuyuan-home .wy-fit h2 { font-size: 24px; }
}
@media (max-width: 680px) {
  .wuyuan-home .wy-partner { grid-template-columns: 1fr; }
  .wuyuan-home .wy-partner-media { grid-row: 1; min-height: 280px; }
}
@media (max-width: 500px) {
  .wuyuan-home .wy-heading { align-items: center; }
  .wuyuan-home .wy-heading > div { min-width: 0; }
  .wuyuan-home .wy-heading h2 { font-size: 24px; }
  .wuyuan-home .wy-heading > .wy-link { max-width: 92px; gap: 8px; font-size: 12px; }
  .wuyuan-home .wy-overline { font-size: 11px; letter-spacing: .1em; }
  .wuyuan-home .wy-three { grid-template-columns: 1fr; gap: 28px; }
  .wuyuan-home :is(.wy-category, .wy-product) { display: grid; grid-template-columns: 44% minmax(0,1fr); gap: 18px; align-items: center; }
  .wuyuan-home .wy-category img { aspect-ratio: 4 / 5; }
  .wuyuan-home .wy-category h3 { margin-top: 0; font-size: 19px; }
  .wuyuan-home .wy-category p { font-size: 13px; }
  .wuyuan-home .wy-product .wy-model { margin-top: 0; }
  .wuyuan-home .wy-product h3 { font-size: 16px; }
  .wuyuan-home .wy-campaign { grid-template-columns: 1fr; }
  .wuyuan-home .wy-campaign-image { height: 330px; min-height: 0; object-position: center 10%; }
  .wuyuan-home .wy-campaign-copy { padding: 30px 8%; }
  .wuyuan-home .wy-fit { grid-template-columns: 1fr; }
  .wuyuan-home .wy-fit-image { height: 220px; min-height: 0; object-position: center 10%; }
  .wuyuan-home .wy-fit-copy { padding: 28px 8%; }
  .wuyuan-home .wy-fit .wy-actions { gap: 24px; }
}

.wuyuan-home .wy-hero { --hero-ink: #fff; --hero-muted: rgba(255, 255, 255, .82); --hero-eyebrow: #ffcfbd; --hero-next-section-reveal: 64px; position: relative; display: flex; align-items: flex-end; min-height: calc(100vh - var(--site-header-height, 160px) - var(--hero-next-section-reveal)); min-height: calc(100dvh - var(--site-header-height, 160px) - var(--hero-next-section-reveal)); background: #e8e0d5; color: var(--hero-ink); overflow: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.wuyuan-home .wy-hero-media, .wuyuan-home .wy-hero-slide { position: absolute; inset: 0; }
.wuyuan-home .wy-hero-media { touch-action: pan-y; }
.wuyuan-home .wy-hero-slide { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.wuyuan-home .wy-hero-slide.is-active { opacity: 1; visibility: visible; }
.wuyuan-home .wy-hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 58% 12%; }
/* Original hero typography and icon buttons, without restoring the image mask. */
.wuyuan-home .wy-hero-copy {
  --hero-copy-inset: calc((100% - var(--site-header-container-width)) / 2);
  position: relative;
  z-index: 1;
  width: 650px;
  margin-inline-start: var(--hero-copy-inset);
  padding-block: 80px 52px;
}
.wuyuan-home .wy-hero .wy-eyebrow { margin: 0 0 12px; color: var(--hero-eyebrow); font-size: 12px; font-weight: 900; line-height: normal; letter-spacing: 0; text-transform: uppercase; }
.wuyuan-home .wy-hero h1 { margin: 0 0 18px; color: var(--hero-ink); font-size: 58px; font-weight: 700; line-height: 1.02; letter-spacing: 0; text-wrap: wrap; }
.wuyuan-home .wy-hero-lead { margin: 0 0 18px; max-width: 650px; color: var(--hero-muted); font-size: 18px; line-height: 1.7; white-space: pre-line; }
.wuyuan-home .wy-hero .wy-actions { align-items: stretch; gap: 12px; }
.wuyuan-home .wy-hero :is(.primary-button, .secondary-button) { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 4px; font-size: 16px; font-weight: 850; line-height: normal; }
.wuyuan-home .wy-hero .primary-button { color: #fff; background: #8b1e2d; border: 1px solid #8b1e2d; }
.wuyuan-home .wy-hero .secondary-button { color: #231f20; background: #fff; border: 1px solid #d6c9c1; }
.wuyuan-home .wy-hero a:focus-visible { outline: 2px solid var(--hero-ink); outline-offset: 4px; }
@media (max-width: 1100px) {
  .wuyuan-home .wy-hero-copy { width: calc(min(690px, 70%) - var(--hero-copy-inset)); padding-block-start: 48px; }
  .wuyuan-home .wy-hero h1 { font-size: clamp(36px, 4.5vw, 50px); }
  .wuyuan-home .wy-hero-lead { font-size: 16px; }
}
@media (max-width: 680px) {
  .wuyuan-home .wy-hero[data-tone] {
    --hero-ink: #231f20;
    --hero-muted: #423b39;
    --hero-eyebrow: #8b1e2d;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background: #fff;
  }
  .wuyuan-home .wy-hero-media { position: relative; flex: none; height: clamp(164px, 57vw, 350px); }
  .wuyuan-home .wy-hero-image { object-position: 70% 7%; }
  .wuyuan-home .wy-hero-copy { flex-shrink: 0; width: 100%; margin-inline-start: 0; padding: 18px 6% 20px; }
  .wuyuan-home .wy-hero .wy-eyebrow { margin-bottom: 8px; }
  .wuyuan-home .wy-hero h1 { margin-bottom: 12px; font-size: clamp(29px, 8vw, 36px); line-height: 1.12; }
  .wuyuan-home .wy-hero-lead { margin-bottom: 12px; font-size: 16px; line-height: 1.5; }
  .wuyuan-home .wy-hero .wy-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wuyuan-home .wy-hero :is(.primary-button, .secondary-button) { padding: 6px 8px; font-size: 14px; text-align: center; }
}
@media (max-width: 680px) and (max-height: 620px) {
  .wuyuan-home .wy-hero-media { height: clamp(136px, 28svh, 192px); }
}
@media (max-width: 359px) and (max-height: 620px) {
  .wuyuan-home .wy-hero-media { height: clamp(120px, 23svh, 155px); }
}
@media (prefers-reduced-motion: reduce) {
  .wuyuan-home .wy-hero-slide { transition: none; }
}
