/* The homepage statement replaces product photos, selection links and CTAs.
   One shared treatment for Chinese, English and Japanese; no new media or JS. */
#top.product-range-hero.company-story-hero {
  --story-line: rgba(121, 102, 91, .20);
  --story-trace: rgba(192, 107, 70, .20);
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: auto;
  overflow: hidden;
  padding-top: clamp(48px, 5vw, 76px);
  padding-bottom: clamp(64px, 6vw, 92px);
  background:
    radial-gradient(ellipse at 50% 16%, rgba(254, 68, 0, .055), transparent 53%),
    linear-gradient(180deg, #faf9f8 0%, #f8f6f3 70%, #f6f3ef 100%);
}
/* Quiet horizon arcs give depth without adding another illustration or card. */
#top.company-story-hero::before,
#top.company-story-hero::after {
  content: '';
  position: absolute;
  inset: auto;
  left: 50%;
  top: auto;
  width: min(1840px, 150%);
  height: 440px;
  border: 1px solid var(--story-trace);
  border-radius: 50%;
  background: none;
  filter: none;
  box-shadow: none;
  transform: translateX(-50%);
  animation: none;
  opacity: .65;
  pointer-events: none;
  z-index: 0;
}
#top.company-story-hero::before { bottom: -407px; }
#top.company-story-hero::after { bottom: -425px; opacity: .4; }
#top.company-story-hero .hero-copy { z-index: 1; }
#top.company-story-hero .hero-manifesto {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: 35px clamp(24px, 4vw, 56px) 37px;
  text-align: center;
}
#top.company-story-hero .manifesto-copy {
  margin: 0;
  color: var(--portfolio-muted);
  font-family: 'Geist', var(--font-cjk), sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.95;
  text-wrap: pretty;
}
#top.company-story-hero:lang(ja) .manifesto-copy { font-family: 'Geist', var(--font-jp), sans-serif; }
#top.company-story-hero .manifesto-copy strong { color: var(--portfolio-text); font-weight: 600; }
#top.company-story-hero .manifesto-copy em { color: var(--brand-text); font-style: normal; font-weight: 500; }
.manifesto-rail {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--story-line) 14%, var(--story-line) 86%, transparent);
  pointer-events: none;
}
.manifesto-rail::before {
  content: '';
  position: absolute;
  left: calc(50% - 22px);
  width: 44px;
  height: 1px;
  background: var(--brand-orange);
  opacity: .7;
}
.manifesto-rail::after {
  content: '';
  position: absolute;
  left: 0;
  width: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
  opacity: 0;
  animation: manifesto-scan 2.4s cubic-bezier(.2, .7, .3, 1) .2s 1;
}
.manifesto-rail-bottom { inset: auto 0 0; }
.manifesto-rail-bottom::before { width: 6px; left: calc(50% - 3px); }
.manifesto-rail-bottom::after { animation-direction: reverse; }
.manifesto-corner { position: absolute; top: 50%; width: 8px; height: 30px; margin-top: -15px; border-block: 1px solid var(--story-line); pointer-events: none; }
.manifesto-corner-left { left: 0; border-left: 1px solid var(--story-line); }
.manifesto-corner-right { right: 0; border-right: 1px solid var(--story-line); }
@keyframes manifesto-scan {
  0% { transform: translateX(-100%); opacity: 0; }
  18% { opacity: .85; }
  80% { opacity: .5; }
  100% { transform: translateX(835%); opacity: 0; }
}
:root[data-theme="dark"] #top.company-story-hero {
  --story-line: rgba(214, 207, 197, .22);
  --story-trace: rgba(255, 150, 111, .21);
  background:
    radial-gradient(ellipse at 50% 16%, rgba(254, 68, 0, .08), transparent 53%),
    linear-gradient(180deg, #080b10, #0a0f16);
}
@media (max-width: 700px) {
  #top.product-range-hero.company-story-hero { padding-top: 42px; padding-bottom: 64px; }
  #top.company-story-hero .hero-manifesto { margin-top: 34px; padding: 27px 20px 29px; }
  #top.company-story-hero .manifesto-copy { font-size: 17px; line-height: 1.9; text-align: left; }
  #top.company-story-hero::before, #top.company-story-hero::after { width: 170%; }
}
@media (max-width: 380px) {
  #top.company-story-hero .hero-manifesto { padding-inline: 15px; }
  #top.company-story-hero .manifesto-copy { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .manifesto-rail::after { animation: none; }
}
