/* Unified process diagrams; owner's unmodified factory photo is the backdrop. */
body.storefront-page[data-view="home"] .home-offer--company {
    background-image: linear-gradient(90deg, rgba(8, 27, 21, .95), rgba(8, 27, 21, .87) 43%, rgba(8, 27, 21, .53)), url("../images/company-factory-owner-20261103.webp");
    background-size: cover;
    background-position: center;
    padding-block: clamp(40px, 5vw, 72px);
}
body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__inner {
    display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px);
}
body.storefront-page[data-view="home"] .home-offer--company::before { display: none; }
body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__title-line--accent::after { display: none; }
body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__intro { max-width: 500px; margin-top: 24px; }
body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__actions { margin-top: 30px; }
.company-story { position: relative; min-width: 0; width: 100%; scroll-margin-top: 130px; }
.company-story__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.company-story [hidden] { display: none !important; }
.company-story__stage { position: relative; }
.company-story__panel { height: 450px; overflow: hidden; border-radius: 18px 52px 18px 18px; background: var(--bg-card); }
.company-story__caption { position: relative; z-index: 1; height: 160px; padding: 22px; background: var(--bg-card); color: var(--text-main); }
.company-story__caption h3 { margin: 0 0 10px; color: var(--text-main); font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.company-story__caption p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.company-story__caption small { display: block; margin-top: 8px; color: var(--text-muted); font-size: 10px; line-height: 1.4; }
.company-story__motion { position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(10, 28, 22, .82); color: #fffefa; font: 18px/1 sans-serif; cursor: pointer; }
.company-story__visual { height: 290px; background: #f1f2e9; }
.company-story__visual svg { display: block; width: 100%; height: 100%; }
.company-story__visual .story-ground { stroke: #c6cec2; stroke-width: 2; stroke-linecap: round; }
.company-story__visual .story-drawing { stroke: #1c4433; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.company-story__visual .story-fill { fill: #dfe7d9; }
.company-story__visual .story-paper { fill: #fffefa; }
.company-story__visual .story-dark { fill: #a4bba5; }
.company-story__visual .story-accent { fill: #ffd600; }
.company-story__visual .story-measure { stroke-width: 1.5; }
.company-story__visual .story-route { stroke: #a4bba5; stroke-width: 2; }
.company-story__mold { animation: company-mold 4.5s ease-in-out infinite paused; }
.company-story__pellets { animation: company-pellets 4.5s ease-in-out infinite paused; }
.company-story__caliper { animation: company-caliper 4.5s ease-in-out infinite paused; }
.company-story__selection { animation: company-selection 4.5s ease-in-out infinite paused; }
.company-story__dispatch { animation: company-dispatch 4.5s ease-in-out infinite paused; }
.company-story__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.company-story__steps button { min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.78); text-align: left; font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.company-story__steps button[aria-selected="true"] { border-bottom: 2px solid var(--primary); color: var(--primary); }
.company-story :is(a, button):focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.company-story.is-enhanced .company-story__panel.is-active { animation: company-scene-enter 650ms ease both; }
.company-story.is-enhanced .company-story__panel.is-active .company-story__caption > * { animation: company-copy-enter 650ms ease both; }
.company-story.is-enhanced .company-story__panel.is-active .company-story__caption p { animation-delay: 100ms; }
.company-story.is-running :is(.company-story__mold, .company-story__pellets, .company-story__caliper, .company-story__selection, .company-story__dispatch) { animation-play-state: running; }
@keyframes company-scene-enter { from { opacity: .3; } to { opacity: 1; } }
@keyframes company-copy-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes company-mold { 0%, 15%, 85%, 100% { transform: translateX(0); } 35%, 65% { transform: translateX(-28px); } }
@keyframes company-pellets { 0%, 35% { transform: translateY(0); opacity: 1; } 65%, 100% { transform: translateY(24px); opacity: 0; } }
@keyframes company-caliper { 0%, 20%, 80%, 100% { transform: translateX(0); } 40%, 60% { transform: translateX(-12px); } }
@keyframes company-selection { 0%, 25%, 75%, 100% { opacity: .35; } 40%, 60% { opacity: 1; } }
@keyframes company-dispatch { 0%, 15% { transform: translateX(0); opacity: 0; } 30%, 65% { opacity: 1; } 85%, 100% { transform: translateX(36px); opacity: 0; } }
@media (max-width: 1050px) {
    body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .company-story { max-width: 600px; justify-self: center; }
}
@media (max-width: 720px) {
    body.storefront-page[data-view="home"] .home-offer--company { padding-block: 30px; }
    body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__intro { margin-top: 18px; }
    body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__actions { margin-top: 22px; }
    .company-story__panel { height: 430px; border-radius: 14px; }
    body.storefront-page[data-view="home"] .home-offer--company { background-image: linear-gradient(rgba(8, 27, 21, .87), rgba(8, 27, 21, .9)), url("../images/company-factory-owner-20261103.webp"); }
    .company-story__visual { height: 250px; }
    .company-story__caption { height: 180px; padding: 20px; }
    .company-story__caption h3 { font-size: 21px; }
    .company-story__steps { gap: 12px; margin-top: 12px; }
    .company-story__steps button { font-size: 11px; }
}
@media (max-width: 360px) and (max-height: 650px) {
    body.storefront-page[data-view="home"] .home-offer--company .home-clarity-hero__actions { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .company-story:not(.is-full-motion) *, .company-story:not(.is-full-motion) *::before, .company-story:not(.is-full-motion) *::after { animation: none !important; transition: none !important; }
}
.company-story.is-reduced *, .company-story.is-reduced *::before, .company-story.is-reduced *::after { animation: none !important; transition: none !important; }
