.home-page {
  --company-ink: #341b11;
  --company-muted: #593e30;
  --company-red: #9c3416;
  --company-line: #be8666;
  --company-paper: #f9ebd8;
}

.home-company {
  --company-depth: clamp(520px, 56.28vw, 941px);
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--home-join-rise));
  padding-top: var(--home-join-rise);
  scroll-margin-top: calc(var(--site-header-height) + 12px);
  clip-path: inset(0 round 50% 50% 0 0 / var(--home-join-rise) var(--home-join-rise) 0 0);
  background: var(--company-paper) url('/images/company-paper-scene.webp') center top / 100% calc(var(--company-depth) + var(--home-join-rise)) no-repeat;
  color: var(--company-ink);
  font-family: "Microsoft YaHei";
  line-break: strict;
}

.home-company [hidden] { display: none; }

.home-company-point { position: absolute; pointer-events: none; }
.point-brand { left: 65.5%; top: 25.9%; }
.point-production { left: 58.8%; top: 40.7%; }
.point-history { left: 90%; top: 77%; }

.home-company-spread {
  display: grid;
  grid-template-columns: minmax(0, 2.055fr) minmax(0, 1fr);
  align-items: start;
  width: min(100%, 1672px);
  min-height: var(--company-depth);
  margin-inline: auto;
}

.home-company-art {
  --company-dot-hit: 56px;
  position: relative;
  height: var(--company-depth);
  min-width: 0;
  isolation: isolate;
}

.home-company-logo {
  position: absolute;
  z-index: 2;
  top: 2.8%;
  left: 5.8%;
  display: block;
  width: clamp(56px, 7.15vw, 123px);
  height: auto;
}

.home-company-display {
  position: absolute;
  z-index: 2;
  top: 32.9%;
  left: 4.4%;
}

@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
  .home-company-display::before,
  .home-company-display::after {
    position: absolute;
    z-index: -1;
    inset: -24% -12% -20% calc(-1 * min(13%, 36px));
    transform: rotate(-7deg);
    pointer-events: none;
    content: "";
  }

  .home-company-display::before {
    background: linear-gradient(125deg, #8e3919b1 3%, #ac673c85 44%, #95401eab 73%, #ac673c61 100%);
    clip-path: shape(
      from 88.4% 15.4%,
      curve to 47% 4% with 79% 7% / 63% 2%,
      curve to 3% 41% with 29% 5% / 7% 21%,
      curve to 13% 79% with -0.4% 55% / 3% 70%,
      curve to 57% 96% with 22% 89% / 41% 98%,
      curve to 97% 67% with 77% 94% / 93% 82%,
      curve to 95% 23% with 102% 54% / 100% 33%,
      curve to 94% 22% with 95% 23% / 94% 22%,
      curve to 96% 63% with 97.7% 33% / 98.5% 49%,
      curve to 58% 92.2% with 91.5% 80.8% / 76% 91.2%,
      curve to 15.5% 75.6% with 39% 92.9% / 26% 87%,
      curve to 7% 40.5% with 8% 67% / 5% 53%,
      curve to 48% 7% with 12.4% 22% / 31% 8.5%,
      curve to 88.4% 15.4% with 64% 5.5% / 78% 9%,
      close
    );
  }

  .home-company-display::after {
    background: linear-gradient(90deg, transparent 9%, #9b4d2580 36%, #9b4d253a 75%, transparent 92%);
    clip-path: shape(
      from 12.5% 79%,
      curve to 55% 97.6% with 24% 94.3% / 42% 98.2%,
      curve to 88% 87% with 69% 96.8% / 80% 92.5%,
      curve to 55% 96.8% with 79% 92% / 67% 96%,
      curve to 12.5% 79% with 40% 97.5% / 24% 92.4%,
      close
    );
  }
}

.home-company-title {
  display: grid;
  font-size: clamp(1.95rem, 4.16vw, 4.58rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.home-company-title span { white-space: nowrap; }

.home-company-pouch {
  position: absolute;
  z-index: 1;
  top: 11%;
  left: 37.3%;
  width: min(43%, calc(var(--company-depth) * .56));
  aspect-ratio: 895 / 1279;
  transform: rotate(-10deg);
  filter: drop-shadow(14px 26px 14px #3e210e85);
}

.home-company-pouch > img {
  position: absolute;
  top: calc(-85 / 1279 * 100%);
  left: calc(-277 / 895 * 100%);
  width: calc(1440 / 895 * 100%);
  max-width: none;
  height: auto;
}

.home-company-tags { position: absolute; z-index: 3; inset: 0; pointer-events: none; }

.home-company-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 3px 4px;
  border: 0;
  background: transparent;
  color: var(--company-ink);
  font: inherit;
  line-height: 1.18;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.home-company-tag::before {
  --label-hit-left: 20px;
  --label-hit-clearance: 38px;
  --label-hit-gap: calc(var(--label-hit-left) - 4px);
  --label-hit-gap-top: max(0px, calc(var(--label-hit-midpoint) - var(--label-hit-clearance)));
  --label-hit-gap-bottom: min(100%, calc(var(--label-hit-midpoint) + var(--label-hit-clearance)));
  position: absolute;
  inset: var(--label-hit-top) var(--label-hit-right) var(--label-hit-bottom) calc(-1 * var(--label-hit-left));
  /* Leave the letter-side end of the decorative line outside the hit area. */
  clip-path: polygon(
    0 0, 100% 0, 100% 100%, 0 100%,
    0 var(--label-hit-gap-bottom), var(--label-hit-gap) var(--label-hit-gap-bottom),
    var(--label-hit-gap) var(--label-hit-gap-top), 0 var(--label-hit-gap-top)
  );
  content: "";
}

@media (min-width: 1280px) {
  .home-company-tag::before {
    --label-hit-left: 46px;
    --label-hit-clearance: 40px;
    right: calc(var(--label-hit-right) - 12px);
  }
}

.home-company-tag-label {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(1.15rem, 2.45vw, 2.2rem);
}

.home-company-tag-label::after {
  position: absolute;
  z-index: -1;
  inset: auto -.08em .04em .05em;
  height: .32em;
  opacity: 0;
  transform: scaleX(.72);
  transform-origin: left center;
  clip-path: polygon(0 49%, 9% 21%, 48% 0, 100% 15%, 94% 56%, 57% 82%, 17% 100%, 2% 90%);
  background: linear-gradient(90deg, #ce906d80, #ce906d20);
  content: "";
}

.home-company-tag:is(:focus-visible, [aria-selected="true"]) .home-company-tag-label { color: var(--company-red); }
.home-company-tag[aria-selected="true"] .home-company-tag-label::after { opacity: .82; transform: scaleX(1); }

.tag-brand { top: 18.3%; right: 6.9%; }
.tag-production { top: 39.2%; right: 2.4%; }
.tag-history { top: 63.1%; right: 2.2%; }

.home-company-leader {
  /* 线条形状用 polygon 而不是 CSS shape()：shape() 只有部分浏览器支持，
     荣耀/部分国产浏览器会把它当无效值丢掉，整块渐变矩形就会露出来（显示成粗条）。
     polygon 是四段直线：左端 --leader-start 到 86% 处 --leader-end 的斜段，
     再接一小段水平到文字边，最后回折 1px 封口，等效于一条斜细线。 */
  position: absolute;
  top: var(--leader-top);
  right: calc(100% + 6px);
  width: var(--leader-width);
  height: var(--leader-height);
  pointer-events: none;
}

.home-company-leader::before,
.home-company-leader::after {
  position: absolute;
  inset: 0;
  -webkit-clip-path: polygon(
    0 var(--leader-start),
    86% var(--leader-end),
    100% var(--leader-end),
    100% calc(var(--leader-end) + 1px),
    86% calc(var(--leader-end) + 1px),
    0 calc(var(--leader-start) + 1px)
  );
  clip-path: polygon(
    0 var(--leader-start),
    86% var(--leader-end),
    100% var(--leader-end),
    100% calc(var(--leader-end) + 1px),
    86% calc(var(--leader-end) + 1px),
    0 calc(var(--leader-start) + 1px)
  );
  background: linear-gradient(90deg, #fff3d9 0%, #c4936f 29%, #866048 78%, #94684b9c 100%);
  content: "";
}

.home-company-leader::after {
  opacity: 0;
  background: linear-gradient(90deg, #fff3dc 0%, #d8a66c 26%, var(--company-red) 72%, #a7512b 100%);
  mask: linear-gradient(#000 0 0) left center / 0% 100% no-repeat;
}

.home-company-tag[aria-selected="true"] .home-company-leader::after { opacity: 1; mask-size: 100% 100%; }

.home-company-dot {
  position: absolute;
  z-index: 1;
  left: 0;
  top: var(--leader-start);
  display: grid;
  width: var(--company-dot-hit);
  height: var(--company-dot-hit);
  place-items: center;
  transform: translate(-50%, -50%);
  clip-path: circle(50%);
  pointer-events: auto;
  cursor: pointer;
}

.home-company-dot::before {
  box-sizing: border-box;
  width: 9px;
  height: 9px;
  border: 2px solid #fff5df;
  border-radius: 50%;
  background: var(--company-red);
  box-shadow: 0 0 0 1px #63301660;
  content: "";
}

.home-company-tag[aria-selected="true"] .home-company-dot::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px #fff5df69;
}


.home-company-reading {
  min-width: 0;
  margin-block: clamp(70px, 8.6vw, 145px) 24px;
  padding-inline: clamp(18px, 2.15vw, 38px) clamp(22px, 2.4vw, 40px);
  font-size: clamp(.93rem, 1.07vw, 1.055rem);
  line-height: 1.55;
}

.home-company-reading > section { scroll-margin-top: calc(var(--site-header-height) + 19px); }

.home-company-reading :is(p, dd) {
  color: var(--company-muted);
  line-height: inherit;
  overflow-wrap: anywhere;
}

.home-company-reading :is(h4, dt):not(.display-title) { font-weight: 700; }

.home-company-reading .home-company-brand-intro > p:first-child {
  color: var(--company-ink);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
}

.home-company-brand-audiences {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 8px 14px;
  margin-top: 10px;
}

.home-company-brand-audiences > div { padding-top: 5px; border-top: 1px solid #be866677; }
.home-company-brand-audiences dd { font-size: .91em; }

.home-company-reading .home-company-brand-belief {
  margin-top: 7px;
  color: var(--company-red);
  font-size: .91em;
  font-weight: 700;
}

.home-company-reading figure img { display: block; width: 100%; height: auto; }

.home-company-reading figcaption {
  margin-top: 4px;
  color: var(--company-muted);
  font-size: .79rem;
  line-height: 1.3;
}

.home-company-brand-origin,
.home-company-brand-family {
  margin-top: clamp(13px, 1.35vw, 24px);
  padding-top: clamp(10px, 1.1vw, 17px);
  border-top: 1px solid #be866677;
}

.home-company-brand-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, 34%);
  align-items: start;
  gap: 10px 14px;
}

.home-company-brand-profile h3 {
  font-size: clamp(1.18rem, 1.85vw, 1.7rem);
  line-height: 1.17;
}

.home-company-reading .home-company-brand-founded {
  margin: 4px 0 7px;
  color: var(--company-red);
  font-size: .83em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.home-company-brand-profile p:last-child { font-size: .94em; }
.home-company-brand-photo {
  position: relative;
  isolation: isolate;
  align-self: start;
}

.home-company-brand-photo::before {
  position: absolute;
  z-index: -1;
  inset: 9% -9% -9% 12%;
  border-radius: 48% 23% 33% 17%;
  background: radial-gradient(ellipse at 55% 38%, #9c6c4d52, transparent 69%);
  transform: rotate(3deg);
  content: "";
}

.home-company-brand-photo .home-company-photo-trigger {
  position: relative;
  overflow: hidden;
  clip-path: shape(
    from 0 0,
    line to 92% 0,
    curve to 100% 13% with 97% 4% / 100% 9%,
    line to 100% 84%,
    curve to 87% 100% with 98% 96% / 94% 100%,
    curve to 43% 96% with 68% 101% / 53% 94%,
    curve to 0 100% with 19% 95% / 7% 99%,
    close
  );
  mask-image: linear-gradient(to bottom, #000 0 79%, #000d 90%, transparent 100%);
}

.home-company-brand-photo .home-company-photo-trigger::after {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--company-paper));
  pointer-events: none;
  content: "";
}

.home-company-brand-principles {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: .88em;
}

.home-company-brand-principles > div {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  gap: 5px;
}

.home-company-brand-principles dd > strong { color: var(--company-ink); }
.home-company-brand-values { display: flex; flex-wrap: wrap; column-gap: .45em; }

.home-company-brand-family h3 { margin-bottom: 5px; font-size: .87em; font-weight: 700; }

.home-company-brand-family dl {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 7px 10px;
  font-size: .91em;
}

.home-company-brand-family dd { font-size: .89em; }

.home-company-production-record {
  display: grid;
  gap: clamp(16px, 1.6vw, 25px);
  width: min(100%, 450px);
}

.home-company-factory-photo {
  --factory-caption-width: min(71%, 214px);
  --factory-caption-depth: clamp(32px, 3vw, 42px);
  position: relative;
}

.home-company-factory-photo .home-company-photo-trigger {
  clip-path: shape(
    from 0 0,
    line to calc(100% - 27px) 0,
    curve to 100% 22px with calc(100% - 9px) 0 / 100% 8px,
    line to 100% 100%,
    line to calc(var(--factory-caption-width) + 18px) 100%,
    curve to var(--factory-caption-width) calc(100% - var(--factory-caption-depth)) with calc(var(--factory-caption-width) + 7px) 100% / calc(var(--factory-caption-width) + 5px) calc(100% - var(--factory-caption-depth)),
    line to 0 calc(100% - var(--factory-caption-depth)),
    close
  );
}

.home-company-factory-photo .home-company-photo-trigger > img {
  aspect-ratio: 2.05;
  object-fit: cover;
  object-position: center 45%;
}

.home-company-factory-photo figcaption {
  position: absolute;
  inset: auto auto 0 0;
  display: grid;
  align-content: end;
  gap: 2px;
  width: var(--factory-caption-width);
  min-height: var(--factory-caption-depth);
  margin: 0;
  pointer-events: none;
}

.home-company-factory-photo figcaption strong { color: var(--company-ink); }
.home-company-factory-photo figcaption span { color: var(--company-muted); font-size: .87em; }

@media (max-width: 330px) {
  .home-company-factory-photo { --factory-caption-width: min(77%, 214px); }
  .home-company-factory-photo figcaption { font-size: .7rem; }
}

.home-company-production-services {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(12px, 2.05vw, 25px);
}

.home-company-production-services dt {
  margin-bottom: 3px;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.13;
}

.home-company-production-services > :first-child dt { color: var(--company-red); }
.home-company-production-services dd { font-size: .9em; }

@media (max-width: 420px) {
  .home-company-production-services { grid-template-columns: 1fr; }
}

.home-company-credentials {
  --inspection-number-size: clamp(.89rem, 1.42vw, 1.25rem);
  --inspection-heading-width: calc(var(--inspection-number-size) * 10.25 + 10px);
  --inspection-heading-depth: calc(var(--inspection-number-size) * 1.42);
  position: relative;
}

.home-company-credentials .home-company-photo-trigger {
  border-radius: 6px 18px 12px 6px;
  overflow: hidden;
  clip-path: shape(
    from 0 var(--inspection-heading-depth),
    line to calc(var(--inspection-heading-width) - 10px) var(--inspection-heading-depth),
    curve to calc(var(--inspection-heading-width) + 17px) 0 with calc(var(--inspection-heading-width) + 9px) var(--inspection-heading-depth) / calc(var(--inspection-heading-width) + 2px) 0,
    line to calc(100% - 19px) 0,
    curve to 100% 18px with calc(100% - 7px) 0 / 100% 7px,
    line to 100% calc(100% - 12px),
    curve to calc(100% - 12px) 100% with 100% calc(100% - 5px) / calc(100% - 5px) 100%,
    line to 0 100%,
    close
  );
}

.home-company-photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: url('/images/company-cursor-enlarge.svg') 14 14, pointer;
  touch-action: manipulation;
}

.home-company-photo-trigger > img { display: block; width: 100%; height: auto; cursor: inherit; }

.home-company-photo-viewer {
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-company-photo-viewer[open] {
  display: grid;
  place-items: center;
}

.home-company-photo-viewer[open],
.home-company-photo-viewer[open]::backdrop {
  cursor: url('/images/company-cursor-dismiss.svg') 14 14, pointer;
}

.home-company-photo-viewer::backdrop { background: #1e110ded; }

.home-company-photo-viewer > img {
  display: block;
  width: min(calc(100% - 16px), 1220px);
  height: auto;
  max-height: calc(100dvh - 16px);
  object-fit: contain;
  cursor: inherit;
}

html:has(.home-company-photo-viewer[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
  background-color: #1e110d;
}

.home-company-reading .home-company-license {
  position: absolute;
  z-index: 1;
  inset: 0 auto auto 0;
  font-size: var(--inspection-number-size);
  line-height: 1.15;
}

.home-company-license-number {
  color: var(--company-red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .home-company-reading .home-company-license {
    position: static;
    margin-bottom: 6px;
  }

  .home-company-credentials .home-company-photo-trigger { clip-path: none; }
}

.home-company-history { container: company-history / inline-size; overflow-anchor: none; }

.home-company-history-dates {
  --history-year-pocket: clamp(108px, 29cqi, 132px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  min-block-size: clamp(530px, 70svh, 650px);
  margin: 0;
  padding: 0;
  padding-inline-start: var(--history-year-pocket);
  list-style: none;
  touch-action: pan-y;
}

.home-company-history-dates::before {
  position: absolute;
  inset-block: 17px 28px;
  inset-inline-start: calc(var(--history-year-pocket) - 1px);
  width: 1px;
  background: var(--company-line);
  transform-origin: top;
  content: "";
}

.home-company-date {
  --year-focus-scale: 2.06;
  --year-slot: clamp(52px, 17cqi, 82px);
  --year-label-inset: 14px;
  --year-clearance: 8px;
  position: relative;
  display: grid;
  grid-template-columns: var(--year-slot) minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 4px 2px 4px var(--year-label-inset);
  border: 0;
  background: transparent;
  color: var(--company-muted);
  font: inherit;
  line-height: 1.15;
  text-align: start;
  cursor: pointer;
  user-select: none;
  overflow: visible;
  scroll-margin-block-start: calc(var(--site-header-height) + 10px);
}

.home-company-date::before {
  position: absolute;
  z-index: 1;
  inset: calc(50% - 3px) auto auto -3px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--company-line);
  pointer-events: none;
  content: "";
}

.home-company-date strong {
  justify-self: start;
  width: max-content;
  font-size: 1.16rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transform-origin: right center;
  white-space: nowrap;
}

.home-company-date > .display-title {
  font-family: "Shubang Hero", "Microsoft YaHei";
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.home-company-date > strong.display-title { font-size: 1.16rem; }
.home-company-date > span.display-title {
  --history-title-shift: clamp(12px, 1.2vw, 20px);
  font-size: clamp(1.08rem, 1.65cqi, 1.48rem);
  transform: translateX(calc(-1 * var(--history-title-shift)));
}

.home-company-date[aria-expanded="true"] {
  grid-template-columns: clamp(50px, 7cqi, 76px) minmax(0, 1fr);
  column-gap: 8px;
  min-height: 72px;
  color: var(--company-red);
}

.home-company-date[aria-expanded="true"]::before { transform: rotate(45deg) scale(1.42); background: var(--company-red); }
.home-company-date[aria-expanded="true"]::after {
  position: absolute;
  inset: 50% auto auto 3px;
  width: calc(var(--year-label-inset) - 6px);
  height: 1px;
  background: var(--company-red);
  pointer-events: none;
  content: "";
}

.home-company-date[aria-expanded="true"] strong {
  transform: translateX(calc(-1 * var(--year-clearance))) scale(var(--year-focus-scale));
}
.home-company-date[aria-expanded="true"] > span.display-title {
  color: var(--company-ink);
  font-size: clamp(1.85rem, 3.2cqi, 2.5rem);
  line-height: 1.08;
  transform: translateX(calc(-1 * var(--history-title-shift))) translateY(-1px);
  transform-origin: left center;
}
.home-company-date-short { display: none; }
.home-company-history-dates.is-dragging .home-company-date { cursor: grabbing; }

.home-company-year-story {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: pan-y;
}

.home-company-date[aria-expanded="true"] + .home-company-year-story {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-company-year-clip { min-height: 0; overflow: hidden; }

.home-company-year-copy {
  padding: 0 8px 10px 14px;
}

.home-company-history-photo { width: min(100%, 166px); margin-top: 9px; }
.home-company-history-photo.is-factory { width: 100%; margin-top: clamp(9px, 1.1vw, 15px); }

.home-company-history-photo.is-factory img {
  clip-path: shape(
    from 0 13px,
    curve to 40% 4px with 13% 4px / 24% 1px,
    curve to calc(100% - 16px) 0 with 61% 7px / 77% 0,
    curve to 100% 15px with calc(100% - 5px) 0 / 100% 6px,
    line to 100% calc(100% - 11px),
    curve to 0 calc(100% - 3px) with 75% 100% / 23% 100%,
    close
  );
  mask-image: linear-gradient(to right, #0005, #000 12px);
}

.home-company-history-photo.is-brand {
  position: relative;
  isolation: isolate;
  width: min(100%, 240px);
}

.home-company-history-photo.is-brand::before {
  display: none;
  pointer-events: none;
  content: "";
}

.home-company-history-photo.is-brand img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

[data-site-profile="site"] .home-company-history-lockup {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 17px);
  width: 100%;
  padding-block: 5px;
}

[data-site-profile="site"] .home-company-history-lockup > .home-company-photo-trigger:first-child {
  flex: 0 0 clamp(70px, 25%, 104px);
}

[data-site-profile="site"] .home-company-history-lockup > .home-company-photo-trigger:last-child {
  flex: 1 1 auto;
}

[data-site-profile="site"] .home-company-history-lockup > .home-company-photo-trigger img {
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .home-company-tag-label { transition: color .14s ease; }
  .home-company-tag-label::after { transition: opacity .12s ease, transform .17s cubic-bezier(.2,.68,.32,1); }
  .home-company-tag[aria-selected="true"] .home-company-tag-label::after { transition-delay: .045s; }
  .home-company-leader::after { transition: opacity .1s ease, mask-size .23s cubic-bezier(.23,.76,.3,1); }
  .home-company-dot::before { transition: transform .11s cubic-bezier(.2,.68,.32,1), box-shadow .11s ease; }

  .home-company-reading > section:not([hidden]) > * { animation: company-section-in .18s cubic-bezier(.18,.78,.3,1) both; }
  .home-company-reading > section:not([hidden]) > :nth-child(2) { animation-delay: .01s; }
  .home-company-reading > section:not([hidden]) > :nth-child(3) { animation-delay: .02s; }
  @keyframes company-section-in { from { opacity: .83; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }

  .home-company-history:not([hidden]) .home-company-history-dates::before {
    animation: company-history-thread .34s cubic-bezier(.2,.69,.27,1) both;
  }

  .home-company-date {
    transition: min-height .28s cubic-bezier(.22,.76,.32,1),
      grid-template-columns .28s cubic-bezier(.22,.76,.32,1),
      column-gap .28s cubic-bezier(.22,.76,.32,1), color .15s ease;
  }

  .home-company-date strong { transition: transform .28s cubic-bezier(.22,.76,.32,1); }
  .home-company-date[aria-expanded="true"] strong { animation: company-year-emerge .32s cubic-bezier(.21,.72,.28,1) both; }
  .home-company-date::before { transition: transform .22s ease, background-color .16s ease; }

  .home-company-year-story {
    transition: grid-template-rows .28s cubic-bezier(.22,.7,.29,1), opacity .12s ease-out, visibility 0s linear .28s;
  }

  .home-company-date[aria-expanded="true"] + .home-company-year-story {
    transition-delay: 0s;
  }

  .home-company-date[aria-expanded="true"] + .home-company-year-story .home-company-year-copy {
    animation: company-year-note .28s cubic-bezier(.22,.67,.32,1) both;
  }

  @keyframes company-history-thread { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  @keyframes company-year-emerge {
    from {
      transform: translateX(calc(-100% - var(--year-label-inset))) scale(.65);
      clip-path: inset(0);
    }
    to {
      transform: translateX(calc(-100% - var(--year-label-inset) - var(--year-clearance))) scale(var(--year-focus-scale));
      clip-path: inset(0);
    }
  }

  @keyframes company-year-note {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-company-date,
  .home-company-date strong,
  .home-company-date::before,
  .home-company-year-story { transition-property: none; }
}

@media (width >= 1280px) {
  .home-company-reading:has(> .home-company-history:not([hidden])) {
    --company-history-top: clamp(35px, 3.15vw, 68px);
    margin-block-start: var(--company-history-top);
  }

  .home-company-history-dates {
    min-block-size: calc(var(--company-depth) - var(--company-history-top) - clamp(80px, 6.2vw, 105px));
  }
}

@media (width < 1280px) {
  .home-company {
    --company-depth: clamp(400px, 108vw, 570px);
    background-size: max(100%, 1500px) 164%;
  }

  .home-company::after {
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: clamp(86px, 16vw, 155px);
    background: url('/images/company-paper-scene.webp') center bottom / 100% 100% no-repeat;
    mask-image: linear-gradient(transparent 18%, #000 65%);
    pointer-events: none;
    content: "";
  }

  .home-company-spread { grid-template-columns: minmax(0, 1fr); }
  .home-company-art { width: min(100%, 870px); margin-inline: auto; }
  .home-company-logo { top: 3%; left: 5%; width: clamp(45px, 14vw, 69px); }
  .home-company-display { top: 23%; left: 5%; }
  .home-company-display::before, .home-company-display::after { inset: -51% -6% -45%; transform: rotate(-4deg); }
  .home-company-title { display: flex; gap: .2em; font-size: clamp(1.26rem, 5.55vw, 2.81rem); }
  .home-company-pouch { top: 40%; left: 17%; width: min(46%, calc(var(--company-depth) * .36)); }
  .tag-brand { top: 42%; right: 6%; }
  .tag-production { top: 59%; right: 3%; }
  .tag-history { top: 76%; right: 6%; }
  .home-company-tag-label { font-size: clamp(1.05rem, 4.6vw, 1.45rem); }

  .home-company-reading {
    width: min(90%, 670px);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) 0 clamp(55px, 9vw, 103px);
    background: none;
    font-size: .96rem;
    line-height: 1.62;
  }

}

@media (601px <= width < 1280px) {
  .home-company-pouch { top: 32%; left: 24%; width: min(43%, calc(var(--company-depth) * .47)); }
}

@media (max-width: 330px) {
  .home-company-tag::before { --label-hit-left: 12px; }
  .home-company-tag-label { font-size: .98rem; }
  .home-company-pouch { left: 13%; }
  .home-company-title { font-size: 1.15rem; gap: .12em; }
  .home-company-brand-profile { gap: 9px; }
  .home-company-date strong { font-size: 1.02rem; }
}

@media (max-width: 300px) {
  .home-company-brand-profile { grid-template-columns: minmax(0, 1fr); }
  .home-company-brand-photo { width: min(100%, 155px); }
  .home-company-brand-family dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-company-brand-family dl > :last-child { grid-column: 1 / -1; }
}

@container company-history (max-width: 400px) {
  .home-company-date-full { display: none; }
  .home-company-date-short { display: inline; }
}

@container company-history (max-width: 310px) {
  .home-company-history-dates { --history-year-pocket: 94px; }
  .home-company-date {
    --year-focus-scale: 1.78;
    --year-slot: 48px;
    --year-label-inset: 11px;
    --year-clearance: 7px;
  }

  .home-company-year-copy { padding-inline-start: 11px; }
}

[data-site-profile="integration"] .home-company {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}
[data-site-profile="integration"] .home-company-date > .display-title {
  font-family: "Shubang Hero", "Microsoft YaHei", sans-serif;
}
[data-site-profile="integration"] .home-company-date > span.display-title { --history-title-shift: 0px; }
[data-site-profile="integration"] .home-company-history-photo.is-brand { width: min(100%, 240px); }
