/* ================= DEMO-J: blended zoom-through scene chain (one canvas) ================= */
/* Static fallback first (no JS or prefers-reduced-motion): scenes are stacked stills with their lines */
.chain{position:relative;background:#070907;padding-top:var(--header-h)}
.chain-stage{position:relative}
.scene{position:relative;overflow:hidden;background:#0b0e0b}
.chain-canvas{display:none}
.scene-poster{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.chain-copy{width:min(100% - 40px,var(--wrap));margin:0 auto;padding:26px 0 44px}
.chain-line{margin:6px 0 0;font-family:var(--head);font-weight:800;font-style:italic;text-transform:uppercase;line-height:.92;font-size:clamp(2.2rem,5.4vw,5rem);color:#fff;text-wrap:balance}
.chain-copy .btn{margin-top:22px}
.chain-copy--1 h1{font-size:clamp(2.7rem,6.4vw,6rem)}
.chain-hint{display:none}

@media (prefers-reduced-motion:no-preference){
  .c-on .chain{padding:0;height:var(--chain-h,1000vh)}
  .c-on .chain-stage{position:sticky;top:0;height:var(--stage-h,100vh);overflow:hidden;background:#070907;contain:layout paint}
  .c-on .scene{display:none}
  .c-on .chain-canvas{display:block;position:absolute;left:0;top:0;width:100%;height:100%;z-index:1}
  /* legibility scrim + bottom fade that hands the stage off into the page */
  .c-on .chain-stage::after{content:"";position:absolute;inset:0;z-index:9;pointer-events:none;
    background:linear-gradient(90deg,rgba(7,9,7,.72) 0%,rgba(7,9,7,.38) 34%,rgba(7,9,7,0) 62%),linear-gradient(0deg,#0a0c0a 0%,rgba(10,12,10,0) 22%),linear-gradient(180deg,rgba(7,9,7,.55) 0%,rgba(7,9,7,0) 18%)}
  .c-on .chain-copy{position:absolute;z-index:10;left:0;right:0;bottom:clamp(64px,13vh,140px);width:min(100% - 48px,var(--wrap));margin:0 auto;padding:0;opacity:0;pointer-events:none;will-change:transform,opacity;transform-origin:20% 60%}
  .c-on .chain-copy.is-live{pointer-events:auto}
  .c-on .chain-copy--1{bottom:auto;top:calc(var(--header-h) + clamp(24px,7vh,80px));opacity:1}
  .c-on .chain-copy .chain-line,.c-on .chain-copy h1{text-shadow:0 6px 40px rgba(0,0,0,.55)}
  .c-on .chain-copy--1 .lede{max-width:560px;color:#e3e4dc}
  .c-on .chain-hint{display:flex;flex-direction:column;align-items:center;gap:10px;position:absolute;z-index:10;left:50%;bottom:22px;transform:translateX(-50%);font-family:var(--head);font-weight:700;letter-spacing:.3em;text-transform:uppercase;font-size:.78rem;color:rgba(255,255,255,.8);will-change:opacity}
  .c-on .chain-hint::after{content:"";width:2px;height:34px;background:linear-gradient(180deg,var(--green),transparent);animation:hint 1.8s ease-in-out infinite;transform-origin:50% 0}
  @keyframes hint{0%{transform:scaleY(0);opacity:0}40%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1) translateY(14px);opacity:0}}
}
@media (max-width:768px){
  .c-on .chain-stage::after{background:linear-gradient(0deg,#0a0c0a 0%,rgba(8,10,8,.82) 30%,rgba(8,10,8,.25) 58%,rgba(8,10,8,0) 72%),linear-gradient(180deg,rgba(7,9,7,.6) 0%,rgba(7,9,7,0) 16%)}
  .c-on .chain-copy{width:min(100% - 40px,var(--wrap));bottom:calc(84px + env(safe-area-inset-bottom))}
  .c-on .chain-copy--1{top:auto;bottom:calc(70px + env(safe-area-inset-bottom))}
  .chain-copy--1 h1{font-size:clamp(2.5rem,11vw,3.6rem);margin-bottom:12px}
  .chain-copy--1 .hero-chips{display:none}
  .chain-copy--1 .hero-ctas{margin:18px 0 12px}
  .chain-copy--1 .lede{font-size:1.02rem}
  .chain-line{font-size:clamp(2.2rem,10.5vw,3.4rem)}
}

/* Snow: text-led layout, a focused single column with the three services as cards */
.snow-solo{max-width:980px}
.snow-solo .lede{max-width:680px}
.snow-solo .snow-grid{grid-template-columns:repeat(3,1fr)}
@media (max-width:760px){.snow-solo .snow-grid{grid-template-columns:1fr}}

/* Gallery: two real photos, no empty slots */
.gallery--duo{grid-template-columns:7fr 5fr;grid-auto-rows:auto}
.gallery--duo .g-item:nth-child(n){grid-column:auto;grid-row:auto;height:clamp(240px,32vw,440px)}
@media (max-width:700px){.gallery--duo{grid-template-columns:1fr}.gallery--duo .g-item:nth-child(n){height:auto;aspect-ratio:16/10}}
.chain-copy--1 h1 .line{display:block}
.chain-copy--1 h1{line-height:.9;margin-bottom:20px}
.chain-copy--1 .lede{font-size:clamp(1.05rem,1.5vw,1.25rem);color:#dcdcd4;max-width:560px}
.chain-copy--1 .hero-ctas{display:flex;flex-wrap:wrap;gap:14px;margin:26px 0 18px}
