/*
  [CONTRACT]: Each image chapter resolves independent image/panel contrast and optional local desktop/mobile type-size overrides; mobile keeps its calibrated reading veil.
  [INPUT]: About Us story markup and theme viewport
  [OUTPUT]: Full-bleed About Us deck with stationary scene media, scene-local typography overrides, delayed sliding story panels, and mobile reading flow
  [POS]: About Us story visual layer; keeps the Header fixed with a 42% opening overlay while the controller hands opaque contrast state to header.css
  [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
*/
.fominte-about-story {
  --about-black: #080b0c;
  --about-white: #f5f3ee;
  --about-muted: rgb(245 243 238 / 70%);
  --about-line: rgb(245 243 238 / 22%);
  --about-copper: #d79b78;
  --about-height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--about-black);
  color: var(--about-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}

.fominte-about-story * {
  box-sizing: border-box;
}

/* About Us owns a full-bleed story deck, so its global Header stays fixed above it. */
body:has([data-fominte-about-story]) {
  background: var(--about-black, #080b0c);
}

body:has([data-fominte-about-story]) theme-sticky-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  width: 100%;
  animation: none;
}

body:has([data-fominte-about-story]) .header-section {
  background-color: rgb(9 12 13 / 42%) !important;
}

body:has([data-fominte-about-story]) .footer {
  --color-background: 8, 11, 12;
  --color-text: 245, 243, 238;

  color: var(--about-white, #f5f3ee);
  background: var(--about-black, #080b0c);
}

body:has([data-fominte-about-story]) .footer a,
body:has([data-fominte-about-story]) .footer__custom-text,
body:has([data-fominte-about-story]) .footer__custom-text-title,
body:has([data-fominte-about-story]) .footer__navigation-title,
body:has([data-fominte-about-story]) .footer__navigation-item a {
  color: var(--about-white, #f5f3ee) !important;
}

body:has([data-fominte-about-story]) .footer__image img {
  filter: brightness(0) invert(1);
}

.fominte-about-story__viewport {
  position: relative;
  height: var(--about-height);
  overflow: hidden;
}

.fominte-about-story__track {
  height: var(--about-height);
  transition: transform 1s cubic-bezier(.2, .75, .2, 1);
  will-change: transform;
}

.fominte-about-story__scene {
  position: relative;
  height: var(--about-height);
  min-height: var(--about-height);
  overflow: hidden;
  isolation: isolate;
  background: var(--about-black);
}

.fominte-about-story__media,
.fominte-about-story__shade {
  position: absolute;
  inset: 0;
}

.fominte-about-story__media {
  z-index: 0;
}

.fominte-about-story__media img,
.fominte-about-story__media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fominte-about-story__media--mobile {
  display: none;
}

.fominte-about-story__shade {
  z-index: 1;
  background: rgb(5 8 9 / var(--fominte-about-scene-overlay, 0%));
}

.fominte-about-story__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  width: min(46vw, 760px);
  align-items: center;
  padding: 112px clamp(30px, 5.5vw, 90px) 90px;
  border-left: 1px solid var(--about-line);
  background: rgb(9 12 13 / var(--fominte-about-panel-overlay, 86%));
  opacity: 0;
  transform: translateX(105%);
  transition: transform 1s cubic-bezier(.2, .75, .2, 1), opacity 450ms ease;
  will-change: transform, opacity;
}

.fominte-about-story__panel-content {
  width: 100%;
  max-width: 560px;
  opacity: 0;
  transform: translateX(42px);
  transition: transform 700ms cubic-bezier(.2, .75, .2, 1) 100ms, opacity 450ms ease 100ms;
}

.fominte-about-story__scene.is-copy-open .fominte-about-story__panel {
  opacity: 1;
  transform: translateX(0);
}

.fominte-about-story__scene.is-copy-open .fominte-about-story__panel-content {
  opacity: 1;
  transform: translateX(0);
}

.fominte-about-story__scene--closing .fominte-about-story__panel {
  width: 100%;
  justify-content: center;
  padding-right: 24px;
  padding-left: 24px;
  border: 0;
  background: rgb(5 8 9 / var(--fominte-about-panel-overlay, 68%));
  text-align: center;
  transform: none;
}

.fominte-about-story__scene--closing .fominte-about-story__panel-content {
  max-width: 820px;
  transform: none;
}

#about-intro .fominte-about-story__panel {
  right: auto;
  left: 0;
  width: min(58vw, 920px);
  align-items: flex-end;
  padding-bottom: 18vh;
  border-right: 1px solid rgb(245 243 238 / 22%);
  border-left: 0;
  background: rgb(5 8 9 / var(--fominte-about-panel-overlay, 46%));
  transform: none;
}

#about-intro .fominte-about-story__panel-content {
  max-width: 660px;
  transform: none;
}

.fominte-about-story__eyebrow {
  display: block;
  color: var(--about-copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: uppercase;
}

.fominte-about-story h1,
.fominte-about-story h2,
.fominte-about-story p {
  margin: 0;
}

.fominte-about-story h1,
.fominte-about-story h2 {
  margin-top: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--fominte-about-title-size-desktop, 70px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: normal;
  text-transform: none;
  word-break: normal;
}

.fominte-about-story h1 {
  font-size: var(--fominte-about-title-size-desktop, 84px);
}

.fominte-about-story__panel p {
  max-width: 560px;
  margin-top: 24px;
  color: rgb(245 243 238 / 77%);
  font-size: var(--fominte-about-lead-size-desktop, 16px);
  line-height: 1.45;
}

.fominte-about-story__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid var(--about-copper);
  background: var(--about-copper);
  color: var(--about-white);
  font-size: var(--fominte-about-cta-size-desktop, 11px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
}

.fominte-about-story__button:hover {
  border-color: #a95f3a;
  background: #a95f3a;
  color: var(--about-white);
}

.fominte-about-story__meta {
  position: absolute;
  right: clamp(28px, 5vw, 80px);
  bottom: 42px;
  left: clamp(28px, 5vw, 80px);
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--about-line);
  color: var(--about-muted);
}

.fominte-about-story__meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fominte-about-story__meta li,
.fominte-about-story__meta > span {
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.45;
}

.fominte-about-story__meta li::before {
  margin-right: 8px;
  color: var(--about-copper);
  content: "/";
}

.fominte-about-story__progress {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 4;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.fominte-about-story__progress a {
  display: block;
  width: 22px;
  height: 2px;
  background: rgb(245 243 238 / 35%);
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.fominte-about-story__progress a.is-active {
  width: 34px;
  background: var(--about-white);
  transform: translateX(-12px);
}

.fominte-about-story__hint {
  position: absolute;
  right: 28px;
  bottom: 12px;
  left: 28px;
  color: rgb(245 243 238 / 48%);
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 400ms ease;
}

.fominte-about-story__hint.is-hidden {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fominte-about-story__track,
  .fominte-about-story__panel,
  .fominte-about-story__panel-content,
  .fominte-about-story__media,
  .fominte-about-story__progress a,
  .fominte-about-story__hint {
    transition: none;
  }
}

@media (max-width: 900px) {
  .fominte-about-story {
    overflow: visible;
  }

  .fominte-about-story__viewport {
    height: auto;
    overflow: visible;
  }

  .fominte-about-story__track {
    height: auto;
    transform: none !important;
  }

  .fominte-about-story__scene {
    min-height: 760px;
  }

  .fominte-about-story__media--desktop {
    display: none;
  }

  .fominte-about-story__media--mobile {
    display: block;
  }

  .fominte-about-story__panel,
  .fominte-about-story__scene--closing .fominte-about-story__panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    width: 100%;
    min-height: 760px;
    align-items: flex-end;
    padding: 120px 28px 150px;
    border: 0;
    background: rgb(5 8 9 / 46%);
    opacity: 1;
    text-align: left;
    transform: none;
  }

  .fominte-about-story__panel-content,
  .fominte-about-story__scene--closing .fominte-about-story__panel-content {
    width: min(100%, 700px);
    opacity: 1;
    transform: none;
  }

  /* 首章桌面宽度不能穿透到移动阅读流。 */
  #about-intro .fominte-about-story__panel {
    width: 100%;
    padding: 120px 28px 150px;
    border-right: 0;
  }

  .fominte-about-story__meta {
    right: 28px;
    bottom: 40px;
    left: 28px;
    display: grid;
    gap: 8px;
  }

  .fominte-about-story__progress,
  .fominte-about-story__hint {
    display: none;
  }

  .fominte-about-story h1 {
    font-size: var(--fominte-about-title-size-mobile, 54px);
  }

  .fominte-about-story h2 {
    font-size: var(--fominte-about-title-size-mobile, 48px);
  }

  .fominte-about-story__panel p {
    font-size: var(--fominte-about-lead-size-mobile, 15px);
  }

  .fominte-about-story__button {
    font-size: var(--fominte-about-cta-size-mobile, 11px);
  }
}

@media (max-width: 560px) {
  .fominte-about-story__scene,
  .fominte-about-story__panel,
  .fominte-about-story__scene--closing .fominte-about-story__panel {
    min-height: 720px;
  }

  .fominte-about-story__panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  #about-intro .fominte-about-story__panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .fominte-about-story__meta {
    right: 20px;
    left: 20px;
  }

}

/* Keep About Us and OEM on one restrained story typography system. */
.fominte-about-story :is(h1, h2, p, ul) {
  letter-spacing: 0;
}

.fominte-about-story__scene--closing h2 {
  font-size: var(--fominte-about-title-size-desktop, 74px);
}

@media (min-width: 901px) and (max-width: 1040px) {
  .fominte-about-story h1 {
    font-size: var(--fominte-about-title-size-desktop, 68px);
  }

  .fominte-about-story h2,
  .fominte-about-story__scene--closing h2 {
    font-size: var(--fominte-about-title-size-desktop, 58px);
  }
}

@media (max-width: 900px) {
  .fominte-about-story__scene--closing h2 {
    font-size: var(--fominte-about-title-size-mobile, 50px);
  }
}

@media (max-width: 640px) {
  .fominte-about-story h1,
  .fominte-about-story h2 {
    font-size: var(--fominte-about-title-size-mobile, 42px);
  }

  .fominte-about-story__scene--closing h2 {
    font-size: var(--fominte-about-title-size-mobile, 44px);
  }
}
