/* A slow, quiet arrival on the first screen. */
.home-page .hero-copy {
  animation: home-copy-arrive 780ms cubic-bezier(.2,.7,.2,1) both;
}
.home-page .hero-stage .hero-product {
  transform-origin: center;
  animation: home-image-arrive 1500ms 80ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes home-copy-arrive {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-image-arrive {
  from { opacity: .8; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}
.home-page .architecture-image img,
.home-page .detail-large img,
.home-page .factory-teaser-image img {
  transform: scale(1.035);
  transition: transform 1300ms cubic-bezier(.2,.7,.2,1);
}
.home-page .architecture-image.reveal.visible img,
.home-page .detail-large.reveal.visible img,
.home-page .factory-teaser-image.reveal.visible img {
  transform: scale(1);
}

.space-story { padding-top: clamp(82px, 10vw, 142px); padding-bottom: clamp(88px, 10vw, 144px); }
.space-story-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}
.space-story-head > div:first-child { max-width: 600px; }
.space-story-head .eyebrow { margin-bottom: 16px; }
.space-story-head h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(46px, 5.4vw, 76px);
}
.space-story-copy { max-width: 410px; padding-bottom: 4px; }
.space-story-copy p { font-size: 1.0625rem; line-height: 1.7; margin: 0 0 16px; }
.space-story-copy .text-link { color: #0671e3; }
.space-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-rows: repeat(2, minmax(240px, 24vw));
  gap: 18px;
}
.space-photo {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #efefed;
  isolation: isolate;
}
.space-photo:first-child { grid-row: 1 / 3; min-height: 498px; }
.space-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1250ms cubic-bezier(.2,.7,.2,1), opacity 750ms ease;
  transform: scale(1.045);
}
.space-photo:first-child img { object-position: center 43%; }
.space-photo:nth-child(2) img { object-position: 50% 52%; }
.space-photo:nth-child(3) img { object-position: center; }
.space-photo.visible img { transform: scale(1); }
.space-photo.visible:hover img { transform: scale(1.025); }
.space-photo:nth-child(2) { transition-delay: 100ms; }
.space-photo:nth-child(3) { transition-delay: 180ms; }
.space-photo::after {
  position: absolute;
  z-index: 0;
  inset: 32% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent 22%, rgb(0 0 0 / 45%) 100%);
  pointer-events: none;
}
.space-photo-label {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 20%);
}
.space-photo-label .space-number { font-size: .78rem; letter-spacing: .14em; opacity: .84; }
.space-photo-label strong { font-size: clamp(1.125rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -.02em; }
.zh-page .space-story-head h2 { letter-spacing: -.035em; line-height: 1.2; }
.zh-page .space-photo-label strong { letter-spacing: .01em; }
@media (max-width: 800px) {
  .space-story { padding-top: 76px; padding-bottom: 86px; }
  .space-story-head { display: block; margin-bottom: 28px; }
  .space-story-head h2 { max-width: 520px; font-size: clamp(38px, 10vw, 56px); }
  .space-story-copy { max-width: 560px; padding-top: 18px; }
  .space-story-copy p { font-size: 1rem; line-height: 1.7; }
  .space-gallery { grid-template-columns: 1fr; grid-template-rows: minmax(320px, 105vw) 230px 230px; gap: 12px; }
  .space-photo:first-child { grid-row: auto; min-height: 320px; }
  .space-photo { border-radius: 18px; }
  .space-photo:first-child img { object-position: center 44%; }
  .space-photo-label { right: 21px; bottom: 19px; left: 21px; gap: 10px; }
  .space-photo-label strong { font-size: 1.15rem; }
}
@media (max-width: 380px) {
  .space-gallery { grid-template-rows: 112vw 210px 210px; }
  .space-photo:first-child { min-height: 300px; }
  .space-story-head h2 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-copy,
  .home-page .hero-stage .hero-product { animation: none; }
  .home-page .architecture-image img,
  .home-page .detail-large img,
  .home-page .factory-teaser-image img,
  .space-photo img { transform: none; transition: none; }
}

/* Product photography carousel in the first viewport. */
.hero-carousel-group { width: min(1320px, calc(100% - 96px)); margin: 44px auto 0; }
.hero-carousel { position: relative; display: block; isolation: isolate; }
.home-page .hero-carousel-group .hero-stage.hero-carousel { width: 100%; height: auto; min-height: 0; max-height: none; margin: 0; aspect-ratio: 3 / 2; }
.carousel-track { display: flex; min-width: 0; scrollbar-width: none; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
.carousel-track::-webkit-scrollbar { display: none; }
.hero-carousel-track { width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; }
.hero-carousel-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; overflow: hidden; scroll-snap-align: center; background: #c9c6c1; }
.hero-carousel-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-carousel-slide::after { position: absolute; z-index: 0; inset: 48% 0 0; content: ""; background: linear-gradient(180deg, transparent, rgb(0 0 0 / 34%)); pointer-events: none; }
.hero-carousel-slide .hero-caption { z-index: 1; right: 28px; left: 28px; }
.hero-carousel-slide.is-active .hero-product { animation: home-image-arrive 950ms cubic-bezier(.2,.7,.2,1) both; }
.hero-carousel-pagination { position: absolute; z-index: 3; bottom: 15px; left: 50%; transform: translateX(-50%); }
.hero-carousel .hero-caption { letter-spacing: .1em; }

/* A horizontal, labeled sequence of room settings. */
.space-carousel { min-width: 0; }
.space-carousel-viewport { position: relative; }
.space-gallery { display: flex; grid-template-columns: none; grid-template-rows: none; gap: 18px; width: 100%; height: min(52vw, 630px); min-height: 430px; padding-bottom: 4px; overflow-x: auto; overflow-y: hidden; scroll-padding-inline: 1px; }
.space-photo { flex: 0 0 min(72%, 920px); width: min(72%, 920px); min-height: 0; height: 100%; margin: 0; aspect-ratio: auto; scroll-snap-align: start; }
.space-photo:first-child { grid-row: auto; min-height: 0; }
.space-photo img { min-height: 0; }
.space-photo-label { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 12px; }
.space-photo-label > span:last-child { display: grid; gap: 5px; }
.space-photo-label .space-photo-subtitle { font-size: .9375rem; line-height: 1.4; opacity: .9; }
.space-carousel-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; }
.space-carousel-footer > p { margin: 0; color: #77777d; font-size: .875rem; line-height: 1.5; }
.space-carousel-pagination { position: absolute; z-index: 3; bottom: 15px; left: 50%; transform: translateX(-50%); }

/* Scroll-led product narrative, with the product image held in view. */
.product-story { padding-top: clamp(88px, 10vw, 146px); padding-bottom: clamp(96px, 11vw, 154px); }
.product-story-heading { max-width: 760px; margin-bottom: 52px; }
.product-story-heading .eyebrow { margin-bottom: 16px; }
.product-story-heading h2 { max-width: 740px; margin-bottom: 18px; font-size: clamp(44px, 5vw, 72px); }
.product-story-heading p { max-width: 560px; margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.product-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; gap: clamp(36px, 7vw, 100px); }
.product-story-visual { position: sticky; top: calc(var(--header) + 26px); min-width: 0; margin: 0; }
.product-story-image { position: relative; height: min(60vh, 570px); min-height: 360px; overflow: hidden; border-radius: 25px; background: #e8e7e4; isolation: isolate; }
.story-current-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms ease, transform 750ms cubic-bezier(.2,.7,.2,1); }
.product-story-image-tint { position: absolute; inset: 52% 0 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / 28%)); pointer-events: none; }
.product-story-visual figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 4px 0; }
.product-story-visual figcaption .eyebrow { margin: 0; color: #7c7c82; }
.product-story-visual figcaption strong { font-size: 1rem; font-weight: 500; text-align: right; }
.product-story-copy { min-width: 0; }
.product-story-step { display: flex; min-height: 430px; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); opacity: .78; transition: opacity 320ms ease; }
.product-story-step.is-active { opacity: 1; }
.product-story-step .detail-number { margin-bottom: 24px; }
.product-story-step .eyebrow { margin-bottom: 13px; color: #78787f; }
.product-story-step h3 { max-width: 520px; margin-bottom: 18px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.product-story-step p { max-width: 510px; margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.zh-page .product-story-heading h2,
.zh-page .product-story-step h3 { letter-spacing: -.02em; line-height: 1.24; }
.zh-page .product-story-step { min-height: 470px; }

/* The business terms a purchasing team needs before making contact. */
.partner-essentials { padding-top: clamp(82px, 10vw, 142px); padding-bottom: clamp(88px, 10vw, 146px); border-top: 1px solid var(--line); }
.partner-essentials-heading { max-width: 720px; margin-bottom: 48px; }
.partner-essentials-heading .eyebrow { margin-bottom: 15px; }
.partner-essentials-heading h2 { margin-bottom: 16px; font-size: clamp(42px, 5vw, 68px); }
.partner-essentials-heading p { max-width: 600px; margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.partner-essentials-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-essentials-grid article { min-width: 0; padding: 30px 32px 34px 0; }
.partner-essentials-grid article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.partner-essentials-grid .detail-number { margin-bottom: 27px; }
.partner-essentials-grid h3 { margin-bottom: 13px; font-size: 1.4375rem; }
.partner-essentials-grid p { max-width: 380px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.partner-highlight { display: block; margin: 0 0 13px; font-size: 2rem; font-weight: 500; letter-spacing: -.04em; }
.partner-essentials-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

@media (max-width: 1100px) {
  .hero-carousel-group { width: calc(100% - 64px); }
}
@media (max-width: 800px) {
  .hero-carousel-group { width: calc(100% - 48px); }
  .home-page .hero-carousel-group .hero-stage.hero-carousel { aspect-ratio: 3 / 2; }
  .hero-carousel-slide .hero-caption { right: 18px; left: 18px; }
  .space-gallery { height: 370px; min-height: 0; gap: 12px; }
  .space-photo { flex-basis: 82%; width: 82%; border-radius: 18px; }
  .space-carousel-footer { align-items: flex-start; }
  .space-carousel-footer > p { max-width: 48%; font-size: .8125rem; }
  .product-story { padding-top: 84px; padding-bottom: 95px; }
  .product-story-heading { margin-bottom: 34px; }
  .product-story-heading h2 { font-size: clamp(38px, 9vw, 56px); }
  .product-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-story-visual { top: calc(var(--header) + 12px); z-index: 4; }
  .product-story-image { height: min(33vh, 270px); min-height: 215px; border-radius: 18px; }
  .product-story-visual figcaption { padding-top: 10px; }
  .product-story-step { min-height: 360px; padding: 36px 0; }
  .zh-page .product-story-step { min-height: 420px; }
  .product-story-step h3 { font-size: clamp(30px, 7.5vw, 40px); }
  .partner-essentials { padding-top: 78px; padding-bottom: 85px; }
  .partner-essentials-heading { margin-bottom: 32px; }
  .partner-essentials-heading h2 { font-size: clamp(38px, 9vw, 56px); }
  .partner-essentials-grid { grid-template-columns: 1fr; }
  .partner-essentials-grid article { padding: 25px 0; }
  .partner-essentials-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .partner-essentials-grid .detail-number { margin-bottom: 17px; }
}
@media (max-width: 540px) {
  .hero-carousel-group { width: calc(100% - 32px); }
  .home-page .hero-carousel-group .hero-stage.hero-carousel { aspect-ratio: 3 / 2; }
  .space-story-head h2 { max-width: 460px; font-size: clamp(36px, 9.2vw, 46px); }
  .space-story-copy { padding-top: 14px; }
  .space-gallery { height: 340px; }
  .space-photo { flex-basis: 86%; width: 86%; }
  .space-photo-label { right: 18px; bottom: 17px; left: 18px; }
  .space-photo-label strong { font-size: 1.125rem; }
  .space-photo-label .space-photo-subtitle { font-size: .875rem; }
  .space-carousel-footer { display: grid; gap: 10px; }
  .space-carousel-footer > p { max-width: none; }

  .product-story-heading h2 { font-size: 2.5rem; }
  .product-story-heading p { font-size: 1.0625rem; }
  .product-story-image { height: 235px; min-height: 0; }
  .product-story-visual figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .product-story-visual figcaption strong { text-align: left; }
  .product-story-step { min-height: 350px; }
  .zh-page .product-story-step { min-height: 400px; }
  .partner-essentials-heading h2 { font-size: 2.5rem; }
  .partner-essentials-grid h3 { font-size: 1.375rem; }
  .partner-essentials-actions { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide.is-active .hero-product,
  .story-current-image,
  .play-mark { animation: none; transform: none; transition: none; }
  .carousel-track { scroll-behavior: auto; }
}

/* Full-width original factory banners crossfade without cropping their artwork. */
.home-hero--factory .hero-factory-media {
  height: auto;
  aspect-ratio: 1910 / 747;
  margin-block: 44px 38px;
  overflow: visible;
}
.home-hero--factory .hero-fade-track {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #f4f4f4;
}
.home-hero--factory .hero-fade-slide {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1100ms ease-in-out, visibility 1100ms;
}
.home-hero--factory .hero-fade-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}
.home-hero--factory .hero-fade-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.home-hero--factory .hero-fade-pagination {
  position: absolute;
  z-index: 2;
  bottom: -32px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.home-hero--factory .hero-fade-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8b8bd;
  cursor: pointer;
  transition: background-color 250ms ease, transform 250ms ease;
}
.home-hero--factory .hero-fade-dot[aria-current="true"] {
  background: #1d1d1f;
  transform: scale(1.2);
}
.home-hero--factory .hero-fade-dot:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero--factory .hero-fade-slide,
  .home-hero--factory .hero-fade-dot { transition: none; }
}
@media (max-width: 1024px) {
  .home-hero--factory .hero-factory-media { width: calc(100% - 64px); }
}
@media (max-width: 760px) {
  .home-hero--factory .hero-factory-media { width: calc(100% - 48px); }
}
@media (max-width: 540px) {
  .home-hero--factory .hero-factory-media { width: calc(100% - 32px); margin-top: 35px; margin-bottom: 30px; }
}
.hero-carousel-slide>img[src="/assets/b01-hero.webp"]{object-position:50% 36%}
@media(max-width:540px){.hero-carousel-slide .hero-caption{bottom:47px;padding:8px 0;background:none}.hero-carousel-pagination{bottom:13px}}
