.tour-scroll {
  --tour-paper: #f4f0e8;
  --tour-muted: rgba(244, 240, 232, .78);
  --tour-gold: #d1ad73;
  --scene-1-opacity: 1;
  --scene-2-opacity: 0;
  --scene-3-opacity: 0;
  --scene-4-opacity: 0;
  --scene-1-scale: 1.03;
  --scene-2-scale: 1.03;
  --scene-3-scale: 1.03;
  --scene-4-scale: 1.03;
  --chapter-1-opacity: 1;
  --chapter-2-opacity: 0;
  --chapter-3-opacity: 0;
  --chapter-4-opacity: 0;
  --chapter-5-opacity: 0;
  --chapter-6-opacity: 0;
  --progress: 0%;
  position: relative;
  height: calc(100svh + 4800px);
  overflow: clip;
  color: var(--tour-paper);
  background: #101110;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.tour-stage {
  position: sticky;
  top: 82px;
  height: calc(100svh - 82px);
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: #222321;
}

.scene-stack { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: #292a27; }
.scene-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; will-change: transform, opacity; }
.scene-overview { opacity: var(--scene-1-opacity); transform: scale(var(--scene-1-scale)); transform-origin: 67% 68%; }
.scene-living { opacity: var(--scene-2-opacity); transform: scale(var(--scene-2-scale)); transform-origin: 55% 58%; }
.scene-kitchen { opacity: var(--scene-3-opacity); transform: scale(var(--scene-3-scale)); transform-origin: 68% 48%; }
.scene-kitchen-detail { opacity: var(--scene-4-opacity); transform: scale(var(--scene-4-scale)); transform-origin: 64% 52%; }
.scene-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(12, 13, 12, .70) 0%, rgba(12, 13, 12, .48) 30%, rgba(12, 13, 12, .10) 72%, rgba(12, 13, 12, .08) 100%), linear-gradient(0deg, rgba(10, 11, 10, .48), transparent 42%); pointer-events: none; }

.tour-header { position: absolute; z-index: 8; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px clamp(24px, 5vw, 84px); border-bottom: 1px solid rgba(244, 240, 232, .16); color: var(--tour-paper); }
.tour-caption { color: var(--tour-muted); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.chapter-count { display: flex; align-items: center; gap: 9px; color: rgba(244, 240, 232, .62); font-size: 11px; letter-spacing: .14em; }
.chapter-current { color: var(--tour-paper); font-weight: 600; }
.chapter-divider { color: var(--tour-gold); }

.chapter { position: absolute; z-index: 4; inset: 0; opacity: 0; pointer-events: none; will-change: opacity; }
.chapter-overview { opacity: var(--chapter-1-opacity); }
.chapter-living-arrival { opacity: var(--chapter-2-opacity); }
.chapter-living-detail { opacity: var(--chapter-3-opacity); }
.chapter-kitchen-transition { opacity: var(--chapter-4-opacity); }
.chapter-kitchen-arrival { opacity: var(--chapter-5-opacity); }
.chapter-kitchen-detail { opacity: var(--chapter-6-opacity); }
.chapter-copy { position: absolute; top: 28%; left: clamp(28px, 9vw, 150px); width: min(510px, 43vw); color: var(--tour-paper); text-shadow: 0 2px 28px rgba(0, 0, 0, .34); }
.chapter-overview .chapter-copy { top: 26%; }
.eyebrow { margin: 0; color: var(--tour-gold); font-size: 10px; font-weight: 650; letter-spacing: .21em; line-height: 1.5; }
.chapter h1, .chapter h2 { margin: 18px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.5vw, 94px); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.chapter h2 { font-size: clamp(46px, 5.4vw, 78px); }
.chapter-description { max-width: 440px; margin: 0; color: var(--tour-muted); font-size: 14px; line-height: 1.75; }
.chapter-label { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; color: var(--tour-paper); font-size: 9px; font-weight: 600; letter-spacing: .2em; }
.chapter-label > span:first-child { color: var(--tour-gold); }
.label-line { width: 34px; height: 1px; background: rgba(244, 240, 232, .55); }
.scroll-cue { display: inline-flex; align-items: center; gap: 15px; margin-top: 34px; color: var(--tour-paper); font-size: 10px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; pointer-events: auto; }
.scroll-cue-line { display: inline-block; width: 48px; height: 1px; background: var(--tour-gold); }
.scroll-cue > span:last-child { color: var(--tour-gold); font-size: 16px; }
.image-caption { position: absolute; right: clamp(28px, 5vw, 84px); bottom: clamp(80px, 12vh, 130px); color: rgba(244, 240, 232, .75); font-size: 9px; letter-spacing: .18em; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.route-progress { position: absolute; z-index: 9; top: 50%; right: clamp(22px, 4vw, 64px); width: 1px; height: 120px; overflow: hidden; background: rgba(244, 240, 232, .36); transform: translateY(-50%); }
.progress-fill { position: absolute; top: 0; left: 0; width: 100%; height: var(--progress); background: var(--tour-gold); transform-origin: top; }
.stage-footer { position: absolute; z-index: 8; right: clamp(24px, 5vw, 84px); bottom: 25px; left: clamp(24px, 5vw, 84px); display: flex; justify-content: space-between; color: rgba(244, 240, 232, .68); font-size: 8px; letter-spacing: .17em; }
.tour-contact-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 13px 18px; border: 1px solid rgba(209, 173, 115, .65); border-radius: 999px; color: var(--tour-paper); background: rgba(16, 17, 16, .35); font: 600 10px "Segoe UI", Arial, sans-serif; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; cursor: pointer; pointer-events: auto; transition: color .24s ease, background .24s ease, border-color .24s ease; }
.tour-contact-link:hover { color: #141514; background: var(--tour-gold); border-color: var(--tour-gold); }
.tour-contact-link span { transition: transform .24s ease; }
.tour-contact-link:hover span { transform: translate(2px, -2px); }

@media (max-width: 760px) {
  .tour-stage { top: 72px; height: calc(100svh - 72px); min-height: min(560px, calc(100svh - 72px)); }
  .tour-header { padding: 18px 22px; }
  .tour-caption { max-width: 62%; font-size: 7px; letter-spacing: .13em; }
  .scene-shade { background: linear-gradient(90deg, rgba(12, 13, 12, .70), rgba(12, 13, 12, .24)), linear-gradient(0deg, rgba(10, 11, 10, .54), transparent 58%); }
  .chapter-copy, .chapter-overview .chapter-copy { top: 25%; left: 26px; width: min(470px, calc(100vw - 58px)); }
  .chapter h1, .chapter h2 { font-size: clamp(40px, 10.6vw, 68px); }
  .chapter-description { max-width: 400px; font-size: 13px; }
  .chapter-label { margin-bottom: 22px; }
  .scroll-cue { margin-top: 26px; }
  .image-caption { right: 26px; bottom: 64px; left: 26px; font-size: 8px; }
  .route-progress { right: 17px; height: 90px; }
  .stage-footer { right: 22px; bottom: 18px; left: 22px; font-size: 7px; }
  .stage-footer span:first-child { display: none; }
  .tour-contact-link { margin-top: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-photo { will-change: auto; }
}
