/* Scene montage: shared styles (see scene-montage.js). Panels change scene with a short, soft cut. */
.sm-scenes { position: absolute; inset: 0; overflow: hidden; background: #0b0b0c; }
.sm-scenes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .45s ease, transform 3.2s ease-out; }
.sm-scenes img.is-on { opacity: 1; transform: scale(1); }
.sm-pause { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.35); color: #fff; font: 600 13px/1 inherit; cursor: pointer; }
.sm-pause svg { width: 12px; height: 12px; fill: currentColor; }
.sm-pause:hover { background: rgba(255,255,255,.12); }
.sm-pause:focus-visible { outline: 2px solid #FF8C42; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sm-scenes img { transition: none; transform: none; } }

/* Industries grid: each card is a window onto its industry, with scenes changing behind real text */
.im-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.im-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.im-card { position: relative; min-height: 440px; border-radius: 22px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.1); }
.im-card .sm-scenes { z-index: -2; }
.im-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.78) 52%, rgba(0,0,0,.94) 100%); }
.im-body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 440px; padding: 26px; color: #fff; }
.im-body h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
.im-body p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.86); }
.im-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.im-tags span { padding: 5px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(0,0,0,.25); font-size: 12px; color: rgba(255,255,255,.9); }
.im-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.im-link { font-size: 15px; font-weight: 600; color: #FF9F45; text-decoration: none; }
.im-link span { display: inline-block; transition: transform .2s ease; }
.im-link:hover span, .im-link:focus-visible span { transform: translateX(4px); }
.im-link:focus-visible { outline: 2px solid #FF9F45; outline-offset: 3px; border-radius: 4px; }
.im-link--quiet { color: rgba(255,255,255,.85); }
@media (max-width: 1024px) { .im-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .im-grid { grid-template-columns: 1fr; } .im-card, .im-body { min-height: 400px; } .im-body h3 { font-size: 23px; } }
.im-toolbar { display: flex; justify-content: flex-end; margin: -24px 0 14px; }

/* Full-background hero scenes (like the Tech hero video): scenes behind the whole hero, text on a dark fade */
.sm-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sm-hero-bg .sm-scenes { position: absolute; inset: 0; }
.sm-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.8) 42%, rgba(5,5,5,.45) 100%); }
.sm-hero-bg--center::after { background: radial-gradient(ellipse at center, rgba(5,5,5,.74) 0%, rgba(5,5,5,.92) 100%); }
@media (max-width: 768px) { .sm-hero-bg::after, .sm-hero-bg--center::after { background: rgba(5,5,5,.82); } }
