/* A photographic transition: heat, recognition, then the actual iCabin. */
#solution { min-height: 0; overflow: visible; background: var(--b-ink); }
.solution-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--b-white); }
#solution.is-story { height: 260svh; }
.is-story .solution-stage { position: sticky; top: 0; }
.solution-picture { position: absolute; inset: -16px; overflow: hidden; }
.solution-camera { position: absolute; inset: 0; transform-origin: 50% 50%; transform: scale(1.04); }
#solution .solution-camera img,
#solution .solution-camera video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 81% 47%; }
#solution .solution-worker { opacity: 0; pointer-events: none; }
#solution.is-story.has-worker-video .solution-worker { opacity: 1; }
.is-story .solution-camera { transform-origin: 0 0; will-change: transform; }
.solution-grade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(32,37,36,.74), rgba(32,37,36,.12) 62%, transparent); }
.solution-copy { position: relative; z-index: 2; width: var(--col); height: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
#solution.is-story .solution-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .42s cubic-bezier(.83,0,.17,1), transform .42s cubic-bezier(.83,0,.17,1); }
#solution.is-story.is-intro-visible .solution-copy > * { opacity: 1; transform: translateY(0); }
#solution.is-story.is-intro-visible .solution-copy > :nth-child(2) { transition-delay: .22s; }
#solution.is-story.is-intro-visible .solution-copy > :nth-child(3) { transition-delay: .65s; }
#solution.is-story.is-intro-visible .solution-copy > :nth-child(4) { transition-delay: .98s; }
.solution-copy .label { color: var(--b-white); }
.solution-copy .h2-xl { font-size: clamp(32px,4.2vw,64px); }
.solution-copy .body-30 { max-width: 28em; font-size: clamp(16px,1.7vw,25px); line-height: 1.9; }
.solution-copy a { margin-top: 32px; color: var(--b-white); text-underline-offset: 8px; font-size: 14px; padding: 12px 0; }
.solution-note { position: absolute; z-index: 2; right: 4vw; bottom: 24px; margin: 0; font-size: 10px; color: var(--b-white); opacity: .65; }
.solution-white { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: var(--b-white); opacity: 0; }
.solution-stage #booth.story-booth { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; z-index: 3; }
.solution-stage #booth.story-booth > .bg { inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
.solution-stage #booth .over { min-height: 100%; height: 100%; }
.solution-stage #booth.story-booth .over > * { opacity: 0; transform: translateY(14px); transition: opacity .42s cubic-bezier(.83,0,.17,1), transform .42s cubic-bezier(.83,0,.17,1); }
.solution-stage #booth.story-booth.is-copy-visible .over > * { opacity: 1; transform: translateY(0); }
.solution-stage #booth.story-booth.is-copy-visible .over > :nth-child(2) { transition-delay: .04s; }
.solution-stage #booth.story-booth.is-copy-visible .over > :nth-child(3) { transition-delay: .08s; }
.solution-stage #booth .rv { opacity: 1; transform: none; animation: none; }
.cabin-cool { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; opacity: 0; }
.cabin-cool::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 24%, rgba(231,243,244,.08) 48%, rgba(231,243,244,.58) 100%); }
.cabin-cool span { position: absolute; left: -25%; bottom: -6%; width: 150%; height: 32%; background: url('img/cabin-cool-mist-20261019.svg') center / 100% 100% no-repeat; }
.cabin-cool span:nth-child(2) { bottom: -9%; opacity: .7; }
.cabin-cool span:nth-child(3) { bottom: 0; opacity: .45; height: 25%; }
.cabin-cool span:nth-child(n+4) { width: 95%; height: 85%; background-image: url('img/cabin-cold-cloud-20261019.svg'); opacity: .95; }
.cabin-cool span:nth-child(4) { top: -32%; left: -30%; bottom: auto; }
.cabin-cool span:nth-child(5) { top: -32%; right: -30%; left: auto; bottom: auto; }
.cabin-cool span:nth-child(6) { bottom: -30%; left: -30%; }
.cabin-cool span:nth-child(7) { bottom: -30%; right: -30%; left: auto; }
.cabin-frost { position: absolute; inset: 0; opacity: .32; }
.cabin-frost i { position: absolute; top: 0; left: 0; width: clamp(80px,17vw,200px); height: 28%; background: url('img/cabin-frost-edge-20261019.svg') top left / 100% 100% no-repeat; }
.cabin-frost i:nth-child(2) { left: auto; right: 0; transform: scaleX(-1); }
.cabin-frost i:nth-child(3) { top: auto; bottom: 0; transform: scaleY(-1); }
.cabin-frost i:nth-child(4) { top: auto; bottom: 0; left: auto; right: 0; transform: scale(-1); }
.static .cabin-cool { display: none; }
@media(max-width: 700px) {
  .solution-stage { min-height: 620px; }
  #solution .solution-camera img { object-position: 81% 47%; }
  .solution-grade { background: linear-gradient(180deg, transparent 28%, rgba(32,37,36,.2) 44%, rgba(32,37,36,.88) 78%); }
  .solution-copy { justify-content: flex-end; padding: 0 0 80px; }
  .solution-copy .h2-xl { font-size: clamp(28px,7.2vw,40px); }
  .solution-copy .body-30 { font-size: 16px; margin-top: 24px; }
  .solution-copy a { margin-top: 20px; }
}
@media(prefers-reduced-motion: reduce), print {
  .cabin-cool { display: none; }
  #solution.is-story { height: auto; }
  .is-story .solution-stage { position: relative; }
  .solution-camera { transform: none !important; filter: none !important; }
  #solution .solution-worker { opacity: 0 !important; }
}
.static #solution { height: auto; }
.static .solution-stage { position: relative; }

/* Mobile: one media surface and an opacity transition; no procedural VFX. */
#solution.is-lite .cabin-cool, #solution.is-lite .solution-mirage-canvas { display:none; }
#solution.is-lite .solution-picture, #solution.is-lite #booth > .bg { filter:none !important; }
