/* The house remains the main subject; controls sit at the edges of the frame. */
.home-tour{position:relative;background:var(--ink);color:var(--light);--tour-accent:var(--accent)}
.home-tour.is-enhanced{height:500svh}
.tour-stage{position:relative;min-height:100svh;overflow:hidden}
.is-enhanced .tour-stage{position:sticky;top:0;height:100svh;min-height:600px}
.tour-visual{position:absolute;inset:0}
.tour-visual canvas,.tour-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tour-visual canvas{opacity:0;transition:opacity .15s}
.home-tour[data-ready=true] canvas{opacity:1}
/* taste-skill-ignore: neutral scrim over the photograph preserves text contrast. */
.tour-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0b100d75,transparent 19%,transparent 57%,#0b100dcf 85%,#0b100def)} /* taste-skill-ignore: neutral photo scrim for legible controls. */
.tour-top{position:absolute;z-index:3;top:26px;left:var(--gutter);right:var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:20px}
.tour-context{font-size:15px;line-height:1.5}
.tour-skip{display:flex;gap:20px;align-items:center;font-size:14px;min-height:44px;padding:8px 0}
.tour-skip span{font-size:20px}
.tour-skip:hover{opacity:.7}
.tour-copy{position:absolute;left:var(--gutter);right:var(--gutter);bottom:181px;z-index:2;pointer-events:none}
.tour-number{font-size:14px;line-height:1.4;color:#e1dacd}
.tour-copy h2{font-size:clamp(43px,4.4vw,68px);line-height:1.06;max-width:850px;margin-top:12px;letter-spacing:-.055em}
.tour-copy p{margin-top:16px;font-size:16px;line-height:1.5;max-width:540px}
.tour-controls{position:absolute;z-index:3;bottom:24px;left:var(--gutter);right:var(--gutter)}
.tour-control-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px;font-size:13px;line-height:1.4}
.tour-mode{background:#23302ae0;color:var(--light);padding:10px 14px;min-height:42px;font-size:13px;transition:background .2s}
.tour-mode:hover{background:#4a574c}
.tour-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:700px}
.tour-nav a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;font-size:14px;background:#27342be0;color:var(--light);transition:background .2s,color .2s}
.tour-nav a:hover{background:#526152}
.tour-nav a[aria-current=step]{background:var(--paper);color:var(--ink)}
.tour-legal{font-size:12px;line-height:1.4;margin-top:13px;color:#e1e4dc}
.tour-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff20;z-index:4}
.tour-progress span{display:block;width:100%;height:100%;background:var(--accent);transform-origin:left;transform:scaleX(0)}
.tour-status{position:absolute;top:83px;left:var(--gutter);font-size:13px;z-index:4;background:#17211bde;padding:7px 11px}
.tour-status:empty{display:none}
.tour-chapters{position:relative;z-index:0}
.tour-chapters article{padding:50px var(--gutter)}
.tour-chapters img{width:100%;margin:22px 0}
.is-enhanced .tour-chapters{position:absolute;inset:0;pointer-events:none}
.is-enhanced .tour-chapters article{position:absolute;left:0;width:1px;height:1px;overflow:hidden;padding:0;clip-path:inset(50%)}
.is-enhanced .tour-chapters article:nth-child(1){top:0}
.is-enhanced .tour-chapters article:nth-child(2){top:55%}
.is-enhanced .tour-chapters article:nth-child(3){top:75%}
body.in-home-tour .sound-dock{bottom:auto;top:85px;right:var(--gutter);background:#23302ae0}
.home-tour a:focus-visible,.home-tour button:focus-visible{outline-color:#e8d7b7}
.tour-entry:focus-visible{outline-color:#fff}
.home-tour:not(.is-enhanced) .tour-mode{display:none}

@media(max-width:650px){.home-tour.is-enhanced{height:460svh}
.is-enhanced .tour-stage{min-height:700px}
.tour-top{top:17px;gap:16px}
.tour-context{font-size:14px}
.tour-skip{font-size:13px;gap:12px}
.tour-visual{inset:76px 0 254px}
/* taste-skill-ignore: neutral scrim over the photograph preserves text contrast. */
.tour-shade{background:linear-gradient(180deg,#171b19 0%,#171b1900 15%,#171b1900 58%,#171b19 72%)} /* taste-skill-ignore: neutral photo scrim for legible controls. */
.tour-copy{bottom:191px}
.tour-number{font-size:13px}
.tour-copy h2{font-size:clamp(31px,8.4vw,40px);line-height:1.08;margin-top:9px;max-width:100%}
.tour-copy p{font-size:16px;margin-top:10px;line-height:1.45;max-width:340px}
.tour-controls{bottom:19px}
.tour-control-row{font-size:13px;margin-bottom:10px;gap:10px}
.tour-mode{font-size:13px;padding:10px 12px;min-height:42px}
.tour-nav{gap:6px}
.tour-nav a{font-size:13px;padding:10px;min-height:44px}
.tour-legal{font-size:13px;line-height:1.45;max-width:330px;margin-top:11px}
.tour-status{top:77px;font-size:12px;padding:5px 8px}
body.in-home-tour .sound-dock{top:76px;min-height:36px;font-size:12px;padding:8px 10px}
}

@media(max-height:650px) and (min-width:651px){.is-enhanced .tour-stage{min-height:390px}
.tour-top{top:12px}
.tour-copy{bottom:143px}
.tour-copy h2{font-size:38px;margin-top:8px}
.tour-copy p{font-size:16px;margin-top:10px}
.tour-number{font-size:13px}
.tour-controls{bottom:15px}
.tour-control-row{margin-bottom:8px}
.tour-mode{min-height:36px;padding:7px 12px;font-size:13px}
.tour-nav a{min-height:39px;font-size:13px;padding:8px 12px}
.tour-nav{max-width:650px}
.tour-legal{margin-top:8px;font-size:13px}
.tour-status{top:66px}
body.in-home-tour .sound-dock{top:63px;min-height:36px;font-size:12px;padding:8px 11px}
}

@media(max-height:450px) and (min-width:651px){.tour-copy{bottom:138px}
.tour-copy h2{font-size:33px;margin-top:5px}
.tour-copy p{font-size:16px;margin-top:8px}
.tour-top{top:8px}
.tour-context{font-size:13px}
.tour-skip{font-size:13px}
.tour-legal{font-size:13px}
.tour-control-row{font-size:12px}
.tour-controls{bottom:11px}
}

@media(prefers-reduced-motion:reduce){.tour-visual canvas,.tour-entry,.tour-nav a,.tour-mode{transition:none}
}
@media(max-width:650px) and (max-height:699px){
  .is-enhanced .tour-stage{min-height:0;height:100svh}
  .tour-top{top:10px}
  .tour-visual{inset:64px 0 240px}
  .tour-copy{bottom:182px}
  .tour-copy h2{font-size:clamp(27px,7.8vw,33px);margin-top:6px}
  .tour-copy p{margin-top:8px;line-height:1.35}
  .tour-controls{bottom:12px}
  .tour-control-row{margin-bottom:8px}
  .tour-legal{font-size:12px;margin-top:9px}
  body.in-home-tour .sound-dock{top:64px}
}
