/* See it work page: video library, interactive tour, and same-frame comparisons. */
.see-it-work-page .page-header { padding-bottom: 42px; }
.see-it-work-page .film-section { padding-top: 48px; }

.tour-section { padding: 72px 0; border-top: 1px solid rgba(42, 42, 60, 0.55); }
.tour-head { margin-bottom: 28px; }
.tour-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; margin: 14px 0 14px; }
.tour-head p { color: var(--dim); line-height: 1.65; }
.tour-shell { overflow: hidden; background: #0b0b12; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48); }
.tour-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: #12121b; }
.tour-progress { font-family: var(--font-mono); color: var(--faint); font-size: 0.76rem; letter-spacing: 0.06em; white-space: nowrap; }
.tour-steps { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.tour-step { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--dim); font: 600 0.82rem var(--font-body); cursor: pointer; }
.tour-step:hover { border-color: #676785; color: #fff; }
.tour-step:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.tour-step.active { color: #fff; border-color: transparent; background: var(--grad); }
.tour-stage { position: relative; background: #08080f; aspect-ratio: 1600 / 838; }
.tour-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tour-hotspot {
  position: absolute; left: var(--hot-x); top: var(--hot-y); transform: translate(-50%, -50%);
  width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 7px rgba(124, 92, 255, 0.48), 0 0 30px rgba(234, 77, 255, 0.9);
  animation: tour-pulse 1.7s ease-in-out infinite;
}
.tour-hotspot::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #7c5cff; }
.tour-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes tour-pulse { 50% { box-shadow: 0 0 0 12px rgba(124, 92, 255, 0.16), 0 0 34px rgba(234, 77, 255, 0.72); } }
@media (prefers-reduced-motion: reduce) { .tour-hotspot { animation: none; } }
.tour-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 24px; background: #12121b; }
.tour-kicker { display: block; color: var(--violet); font-family: var(--font-mono); font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tour-copy h3 { margin: 7px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 3vw, 1.75rem); letter-spacing: -0.01em; }
.tour-copy p { max-width: 72ch; color: var(--dim); line-height: 1.65; }
.tour-nav { display: flex; gap: 9px; }
.tour-nav .btn { min-width: 92px; text-align: center; }
.tour-nav .btn[disabled] { opacity: 0.42; cursor: default; }

.siw-close { padding: 72px 0 88px; border-top: 1px solid rgba(42, 42, 60, 0.55); text-align: center; }
.siw-trust { margin: 0 auto; max-width: 760px; color: var(--dim); line-height: 1.65; }
.siw-trust strong { color: #fff; }
.siw-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.siw-next { margin-top: 26px; color: var(--dim); }
.siw-next a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .tour-section { padding: 52px 0; }
  .tour-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .tour-steps { width: 100%; }
  .tour-copy { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .tour-nav { justify-content: space-between; }
  .tour-nav .btn { flex: 1; }
  .tour-hotspot { width: 20px; height: 20px; }
  .tour-hotspot::after { inset: 6px; }
}

/* Moonlit garden setting (html.garden-theme): translucent surfaces over the scene. */
.garden-theme .see-it-work-page .page-header .lede { color: #c2bed2; }
.garden-theme .tour-section, .garden-theme .siw-close { border-top: 0; position: relative; }
.garden-theme .tour-section::before, .garden-theme .siw-close::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, #c0b0e629, transparent); }
.garden-theme .tour-shell { background: #0b0c16f2; border-color: #b0a0db29; box-shadow: 0 28px 90px #0007, 0 0 70px #7c5cff10; }
.garden-theme .tour-toolbar, .garden-theme .tour-copy { background: #12131fee; border-color: #b0a0db29; }
.garden-theme .tour-step { border-color: #b3a1dd38; }
.garden-theme .tour-copy p, .garden-theme .tour-head p, .garden-theme .siw-trust, .garden-theme .siw-next { color: #b9b5c9; }
