/* 图片 Hover 使用独立 scale 属性，与 GSAP 入场及卡片上浮的 transform 分离。 */
body.home.ff-site .home-products .product-world__media-link { display: block; overflow: hidden; }
body.home.ff-site :is(.image-story__media, .visual-band__item,
  .transition-band__figure, .split-panel__media) { overflow: hidden; }
body.home.ff-site .home-products .product-world__media-link img,
body.home.ff-site .image-story__media img,
body.home.ff-site .visual-band__item img,
body.home.ff-site .transition-band__figure img,
body.home.ff-site .split-panel__media img {
  scale: 1;
  transition: scale 400ms cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
  body.home.ff-site .home-products .product-world:hover img { scale: 1.04; }
  body.home.ff-site .image-story__media:hover img,
  body.home.ff-site .visual-band__item:hover img,
  body.home.ff-site .transition-band__figure:hover img,
  body.home.ff-site .split-panel__media:hover img { scale: 1.03; }
}
body.home.ff-site .home-products .product-world:focus-within img { scale: 1.04; }

body.home.ff-site :is(.home-products .product-world__surface,
  .home-verification .verification-grid > a, .home-audiences .audience-grid > article,
  .home-concepts .concept-grid > a, .home-market .mini-link-grid > a,
  .home-manufacturing .capability-links > a, .home-insights .mini-link-grid > a,
  .home-collection .scent-direction-strip > a) {
  transition: border-color 320ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 320ms cubic-bezier(.22, 1, .36, 1),
    background-color 320ms cubic-bezier(.22, 1, .36, 1);
}
body.home.ff-site :is(.image-story__media, .visual-band__item,
  .transition-band__figure, .split-panel__media) {
  transition: box-shadow 320ms cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
  body.home.ff-site :is(.home-products .product-world__surface,
    .home-verification .verification-grid > a, .home-audiences .audience-grid > article,
    .home-concepts .concept-grid > a, .home-market .mini-link-grid > a,
    .home-manufacturing .capability-links > a, .home-insights .mini-link-grid > a,
    .home-collection .scent-direction-strip > a):hover {
    border-color: #85a7ba;
    box-shadow: 0 15px 30px rgba(16, 47, 66, .16), inset 0 0 0 1px rgba(97, 146, 169, .12);
  }
  body.home.ff-site :is(.image-story__media, .visual-band__item,
    .transition-band__figure, .split-panel__media):hover {
    box-shadow: 0 14px 28px rgba(16, 47, 66, .15);
  }
}
body.home.ff-site :is(.home-products .product-world__surface,
  .home-verification .verification-grid > a, .home-audiences .audience-grid > article,
  .home-concepts .concept-grid > a, .home-market .mini-link-grid > a,
  .home-manufacturing .capability-links > a, .home-insights .mini-link-grid > a,
  .home-collection .scent-direction-strip > a):focus-within {
  border-color: #85a7ba;
  box-shadow: 0 15px 30px rgba(16, 47, 66, .16), inset 0 0 0 1px rgba(97, 146, 169, .12);
}

@media (prefers-reduced-motion: reduce) {
  body.home.ff-site .home-products .product-world__media-link img,
  body.home.ff-site .image-story__media img,
  body.home.ff-site .visual-band__item img,
  body.home.ff-site .transition-band__figure img,
  body.home.ff-site .split-panel__media img { transition: none; }
  body.home.ff-site .home-products .product-world:hover img,
  body.home.ff-site .home-products .product-world:focus-within img,
  body.home.ff-site .image-story__media:hover img,
  body.home.ff-site .visual-band__item:hover img,
  body.home.ff-site .transition-band__figure:hover img,
  body.home.ff-site .split-panel__media:hover img { scale: 1; }
  body.home.ff-site :is(.home-products .product-world__surface,
    .home-verification .verification-grid > a, .home-audiences .audience-grid > article,
    .home-concepts .concept-grid > a, .home-market .mini-link-grid > a,
    .home-manufacturing .capability-links > a, .home-insights .mini-link-grid > a,
    .home-collection .scent-direction-strip > a, .image-story__media,
    .visual-band__item, .transition-band__figure, .split-panel__media) { transition: none; }
  body.home.ff-site :is(.home-products .product-world__surface,
    .home-verification .verification-grid > a, .home-audiences .audience-grid > article,
    .home-concepts .concept-grid > a, .home-market .mini-link-grid > a,
    .home-manufacturing .capability-links > a, .home-insights .mini-link-grid > a,
    .home-collection .scent-direction-strip > a):is(:hover, :focus-within) {
    transform: none !important;
  }
}

/* Home Hero: full-width still-image carousel, only the homepage uses these overrides. */
.ff-site .home-hero--full-bleed .home-hero__stage {
  min-height: 680px;
  background: #142f42;
}
.ff-site .home-hero--full-bleed .home-hero__stage::after {
  content: none;
}
.ff-site .home-hero--full-bleed .home-hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 28, 44, .91) 0%, rgba(12, 36, 53, .83) 29%, rgba(11, 34, 51, .48) 62%, rgba(11, 34, 51, .14) 100%);
  pointer-events: none;
}
.ff-site .home-hero--full-bleed .home-hero__grid {
  z-index: 2;
  min-height: 680px;
  padding-block: 70px 90px;
  pointer-events: none;
}
.ff-site .home-hero--full-bleed .home-hero__content {
  width: min(58%, 680px);
  pointer-events: auto;
}
.ff-site .home-hero--full-bleed :is(h1, .home-hero__summary, .home-hero__supporting) { color: #fff; }
.ff-site .home-hero--full-bleed h1 { max-width: 19ch; font-size: clamp(2.45rem, 3.8vw, 3.85rem); line-height: 1.11; }
.ff-site .home-hero--full-bleed h1 span { color: #e0eaf0; }
.ff-site .home-hero--full-bleed .ff-eyebrow { color: #c5e2ef; border-left-color: #b5d8ea; }
.ff-site .home-hero--full-bleed .home-hero__summary { max-width: 64ch; color: #edf4f8; }
.ff-site .home-hero--full-bleed .home-hero__supporting { max-width: 67ch; color: #d7e4ec; }
.ff-site .home-hero--full-bleed .hero-actions .button--primary { background: #d3ebf8; border-color: #d3ebf8; color: #17374a; }
.ff-site .home-hero--full-bleed .hero-actions .button--secondary { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.09); }
.ff-site .home-hero--full-bleed .home-hero__media.home-hero__carousel {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #142f42;
}
.ff-site .home-hero--full-bleed .home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 950ms ease-in-out;
}
.ff-site .home-hero--full-bleed .home-hero__slide.is-active { opacity: 1; }
.ff-site .home-hero--full-bleed .home-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ff-site .home-hero--full-bleed .home-hero__carousel-controls {
  position: absolute;
  z-index: 4;
  right: max(28px, calc((100vw - 1240px) / 2));
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.ff-site .home-hero--full-bleed .home-hero__carousel-dot {
  appearance: none;
  display: block;
  width: 30px;
  height: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background-color 180ms ease;
}
.ff-site .home-hero--full-bleed .home-hero__carousel-dot:is(.is-active,:hover,:focus-visible) { background: #fff; }
.ff-site .home-hero--full-bleed .home-hero__carousel-dot:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 959px) {
  .ff-site .home-hero--full-bleed .home-hero__grid { min-height: 620px; padding-block: 56px 85px; }
  .ff-site .home-hero--full-bleed .home-hero__content { width: min(88%, 680px); }
  .ff-site .home-hero--full-bleed .home-hero__stage::before { background: linear-gradient(90deg,rgba(9,28,44,.93),rgba(9,28,44,.72) 66%,rgba(9,28,44,.4)); }
}
@media (max-width: 767px) {
  .ff-site .home-hero--full-bleed .home-hero__stage { min-height: 0; }
  .ff-site .home-hero--full-bleed .home-hero__grid { min-height: 690px; padding-block: 56px 90px; align-items: center; }
  .ff-site .home-hero--full-bleed .home-hero__content { width: 100%; }
  .ff-site .home-hero--full-bleed h1 { font-size: clamp(2rem, 7.3vw, 3rem); }
  .ff-site .home-hero--full-bleed .home-hero__media.home-hero__carousel { width: 100%; height: 100%; }
  .ff-site .home-hero--full-bleed .home-hero__stage::before { background: linear-gradient(180deg, rgba(9,28,44,.80),rgba(9,28,44,.87) 62%,rgba(9,28,44,.70)); }
  .ff-site .home-hero--full-bleed .home-hero__carousel-controls { right: 24px; bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .ff-site .home-hero--full-bleed .home-hero__slide { transition: none; }
}

/* Manufacturing figures below the Home Hero: four columns, white background. */
.ff-site .home-hero--full-bleed .home-hero__features.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 60px max(24px, calc((100vw - 1240px) / 2));
  background: #fff;
  border-top: 0;
}
.ff-site .home-hero--full-bleed .home-hero__stat {
  min-width: 0;
  padding: 4px 24px;
}
.ff-site .home-hero--full-bleed .home-hero__stat:first-child { padding-left: 0; }
.ff-site .home-hero--full-bleed .home-hero__stat:last-child { padding-right: 0; }
.ff-site .home-hero--full-bleed .home-hero__stat + .home-hero__stat {
  border-left: 1px solid #d5dfe5;
}
.ff-site .home-hero--full-bleed .home-hero__stat-value {
  color: #112c40;
  font-size: clamp(2rem, 3.1vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ff-site .home-hero--full-bleed .home-hero__stat-value sup {
  position: relative;
  top: -.17em;
  margin-left: 2px;
  color: #2b93c0;
  font-size: .48em;
  font-weight: 800;
  vertical-align: super;
}
.ff-site .home-hero--full-bleed .home-hero__stat p {
  margin: 12px 0 0;
  color: #667b8c;
  font-size: .875rem;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .ff-site .home-hero--full-bleed .home-hero__features.home-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 30px 22px;
    row-gap: 28px;
  }
  .ff-site .home-hero--full-bleed .home-hero__stat {
    padding: 2px 15px;
  }
  .ff-site .home-hero--full-bleed .home-hero__stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .ff-site .home-hero--full-bleed .home-hero__stat:nth-child(even) {
    padding-right: 0;
    border-left: 1px solid #d5dfe5;
  }
  .ff-site .home-hero--full-bleed .home-hero__stat-value {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
  .ff-site .home-hero--full-bleed .home-hero__stat p { font-size: .8rem; }
}


/* Home: five-step process drawing; existing static layout stays as fallback. */
.ff-site .home-process .process-steps.home-process-timeline-animated > li {
  position: relative;
  border-top-color: transparent;
}
.ff-site .home-process .process-steps.home-process-timeline-animated > li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #d5dfe5;
  transform: scaleX(var(--home-process-stroke, 1));
  transform-origin: left center;
  pointer-events: none;
}
.ff-site .home-process .process-steps.home-process-timeline-animated > li::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ff-accent-ink);
  transform: scale(var(--home-process-node, 1));
  transform-origin: center;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .ff-site .home-process .process-steps.home-process-timeline-animated > li::before,
  .ff-site .home-process .process-steps.home-process-timeline-animated > li::after {
    transform: none !important;
  }
}

/* Home verification: two evidence-led primary cards and four supporting links. */
body.home.ff-site #trust-verification .section-heading {
  max-width: none;
  margin-inline: 0;
  text-align: left;
  gap: 8px;
}
body.home.ff-site #trust-verification .section-heading p {
  max-width: 105ch;
  margin-top: 0;
}
body.home.ff-site #trust-verification .verification-grid--featured > a {
  min-width: 0;
  gap: 12px;
  box-shadow: var(--ff-shadow);
}
body.home.ff-site #trust-verification .verification-card--featured { grid-column: span 2; }
body.home.ff-site #trust-verification .verification-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--ff-radius-control);
  background: var(--ff-warm);
}
body.home.ff-site #trust-verification .verification-card--document .verification-card__image { object-fit: contain; padding: 0; }
body.home.ff-site #trust-verification .verification-card--featured strong { font-size: var(--ff-h3); }
body.home.ff-site #trust-verification .verification-grid--featured > a > span { display: flex; align-items: center; gap: 8px; }
body.home.ff-site #trust-verification .verification-grid--featured > a > span svg { width: 20px; height: 20px; }
@media (max-width: 1199px) {
  body.home.ff-site #trust-verification .verification-card--featured { grid-column: span 1; }
}
@media (max-width: 767px) {
  body.home.ff-site #trust-verification .verification-grid--featured { grid-template-columns: minmax(0, 1fr); }
}

/* Homepage project routes: reuse audience cards and the site grid tokens. */
body.home.ff-site #who-we-help .audience-grid > article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--ff-shadow);
}
body.home.ff-site #who-we-help .audience-grid > article > svg { width: 32px; height: 32px; color: var(--ff-accent-ink); }
body.home.ff-site #who-we-help .audience-grid > article > p { margin: 0; }
body.home.ff-site #who-we-help .audience-grid > article > a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
body.home.ff-site #who-we-help .audience-grid > article > a svg { width: 16px; height: 16px; }
@media (min-width: 1200px) {
  body.home.ff-site #who-we-help .audience-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  body.home.ff-site #who-we-help .audience-grid > article { grid-column: auto; }
}
body.home.ff-site #trust-verification .verification-evidence { margin-top: var(--ff-space-followup); }

/* Center each manufacturing figure; fit the desktop hero and figures into the first viewport. */
body.home.ff-site .home-hero--stats-only .home-hero__stat {
  text-align: center;
  padding-inline: 16px;
}
@media (min-width: 1200px) {
  body.home.ff-site {
    --home-header-height: 152px;
    --home-stats-height: 140px;
    --home-admin-height: 0px;
  }
  body.home.ff-site.admin-bar { --home-admin-height: 32px; }
  body.home.ff-site #hero .home-hero__stage { min-height: 0; }
  body.home.ff-site #hero .home-hero__grid {
    min-height: calc(100svh - var(--home-header-height) - var(--home-stats-height) - var(--home-admin-height) - 2px);
    padding-block: clamp(24px, 3.5vh, 48px);
  }
  body.home.ff-site .home-hero--stats-only .home-hero__stats {
    min-height: var(--home-stats-height);
    padding-block: 16px;
  }
}
@media (min-width: 1920px) {
  body.home.ff-site { --home-header-height: 161px; }
}
@media (min-width: 1200px) and (max-height: 960px) {
  body.home.ff-site #hero .home-hero__grid { padding-block: 18px; }
  body.home.ff-site #hero h1 { font-size: clamp(2.1rem, 5.2vh, 3.25rem); }
  body.home.ff-site #hero .home-hero__summary { margin-top: 16px; }
  body.home.ff-site #hero .home-hero__supporting { margin-top: 12px; }
  body.home.ff-site #hero .hero-actions { margin-top: 18px; }
}

/* Homepage motion enhancement: preserve layout and use independent hover transforms. */
@media (prefers-reduced-motion: no-preference) {
  body.home.ff-site #hero .home-hero__slide img { scale: 1.035; }
  body.home.ff-site #hero .home-hero__slide.is-active img {
    animation: laiyue-home-hero-drift 6.45s ease-out both;
  }
  @keyframes laiyue-home-hero-drift {
    from { scale: 1; }
    to { scale: 1.035; }
  }
  body.home.ff-site #product-worlds .product-carousel.is-enhanced .product-world {
    transition: transform 800ms cubic-bezier(.22, 1, .36, 1), opacity 700ms ease, visibility 800ms;
  }
  body.home.ff-site #product-worlds .product-carousel.is-enhanced .product-world.is-neighbor {
    opacity: .65;
  }
  body.home.ff-site #who-we-help .audience-grid > article,
  body.home.ff-site #trust-verification .verification-grid > a {
    transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  }
  body.home.ff-site #who-we-help .audience-grid > article > svg,
  body.home.ff-site #who-we-help .audience-grid > article > a svg {
    transition: transform 280ms ease;
  }
  @media (hover: hover) and (pointer: fine) {
    body.home.ff-site #who-we-help .audience-grid > article:hover,
    body.home.ff-site #trust-verification .verification-grid > a:hover { transform: translateY(-4px); }
    body.home.ff-site #who-we-help .audience-grid > article:hover > svg { transform: scale(1.08); }
    body.home.ff-site #who-we-help .audience-grid > article:hover > a svg { transform: translateX(4px); }
    body.home.ff-site #product-worlds .product-world.is-active:hover img { scale: 1.06; }
    body.home.ff-site .visual-band__item:hover img,
    body.home.ff-site .split-panel__media:hover img { scale: 1.05; }
  }
}

/* Manufacturing: three editorial process stages; reuse the site media and link-grid styles. */
body.home.ff-site #manufacturing-technology .manufacturing-head {
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
body.home.ff-site #manufacturing-technology .manufacturing-head .hero-actions {
  margin-top: var(--ds-space-6);
}
body.home.ff-site #manufacturing-technology .manufacturing-phases {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.home.ff-site #manufacturing-technology .manufacturing-phase {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--ff-line);
}
body.home.ff-site #manufacturing-technology .manufacturing-phase:last-child { border-bottom: 1px solid var(--ff-line); }
body.home.ff-site #manufacturing-technology .manufacturing-phase:nth-child(even) { grid-template-columns: 1.45fr 1fr; }
body.home.ff-site #manufacturing-technology .manufacturing-phase:nth-child(even) > figure { grid-column: 2; grid-row: 1; }
body.home.ff-site #manufacturing-technology .manufacturing-phase:nth-child(even) > .manufacturing-phase__body { grid-column: 1; grid-row: 1; }
body.home.ff-site #manufacturing-technology .manufacturing-phase > figure {
  aspect-ratio: 16 / 10;
  max-height: 330px;
}
body.home.ff-site #manufacturing-technology .manufacturing-phase__index {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: var(--ff-surface);
  color: var(--ff-ink);
  border-radius: var(--ff-radius-control);
  font-size: var(--ds-text-xs);
  font-weight: 600;
  letter-spacing: .1em;
}
body.home.ff-site #manufacturing-technology .manufacturing-phase__body { min-width: 0; }
body.home.ff-site #manufacturing-technology .manufacturing-phase__body > p { margin-top: 12px; max-width: 56ch; }
body.home.ff-site #manufacturing-technology .manufacturing-phase .capability-links { margin-top: 20px; gap: 0 24px; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  body.home.ff-site #manufacturing-technology .manufacturing-phase .capability-links > a { transition: color 250ms ease, border-color 250ms ease, padding-left 250ms ease; }
  body.home.ff-site #manufacturing-technology .manufacturing-phase .capability-links > a:hover { padding-left: 4px; box-shadow: none; }
}
@media (max-width: 900px) {
  body.home.ff-site #manufacturing-technology .manufacturing-head,
  body.home.ff-site #manufacturing-technology .manufacturing-phase,
  body.home.ff-site #manufacturing-technology .manufacturing-phase:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.home.ff-site #manufacturing-technology .manufacturing-phase:nth-child(even) > figure,
  body.home.ff-site #manufacturing-technology .manufacturing-phase:nth-child(even) > .manufacturing-phase__body { grid-column: auto; grid-row: auto; }
  body.home.ff-site #manufacturing-technology .manufacturing-phase .capability-links { grid-template-columns: minmax(0, 1fr); }
}
