/* A quiet entrance, followed by a spotlight walkthrough of the real explorer. */
@font-face { font-family: 'TO Jura'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('assets/fonts/jura-variable.ttf') format('truetype'); }
#tour > .tour-nav, #tour > .story-scroll { display: none; }
#tour .landing-entry { min-height: 100svh; padding: clamp(100px, 19svh, 220px) 24px 80px; display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(ellipse at 50% 5%, #d4ac7610, transparent 60%), #080908; }
.landing-kicker { font: 400 9px/1.6 'TO Inter', sans-serif; letter-spacing: .22em; color: #a9977d; }
#tour .landing-entry { position: relative; isolation: isolate; overflow: hidden; }
.landing-universe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
#tour .landing-entry h1, #tour .landing-entry p, #tour .landing-entry .landing-start { transition: opacity .55s ease, translate .75s ease, background .2s; }
#tour .landing-entry h1 { text-shadow: 0 3px 38px #080908, 0 0 75px #080908; }
#tour .landing-entry p { text-shadow: 0 2px 16px #080908, 0 0 35px #080908; }
#tour .landing-entry.is-departing h1, #tour .landing-entry.is-departing p, #tour .landing-entry.is-departing .landing-start { opacity: 0; translate: 0 -14px; }
.landing-start[aria-disabled="true"] { pointer-events: none; }
#tour .landing-entry h1 { margin: 32px 0 24px; color: var(--accent); font: 550 clamp(26.88px, 4.368vw, 62.72px)/1.05 'TO Jura', Jura, sans-serif; letter-spacing: .16em; word-spacing: .5em; text-indent: .16em; }
#tour .landing-entry p { max-width: 530px; margin: 0; color: #aaa69c; font: 300 clamp(17px, 1.65vw, 22px)/1.65 'TO Inter', sans-serif; text-wrap: balance; }
#tour .landing-entry .landing-summary { margin-top: 12px; }
#tour .landing-entry .landing-method { max-width: 420px; margin-top: 20px; color: #8e887b; font: 300 12px/1.6 'TO Inter', sans-serif; }
.landing-start { display: inline-flex; align-items: center; gap: 36px; margin-top: 44px; padding: 17px 24px; background: #d4ac76; color: #17150f; border: 1px solid #d4ac76; border-radius: 999px; font: 500 13px 'TO Inter', sans-serif; text-decoration: none; transition: background .2s, transform .2s; }
.landing-start:hover { background: #e5bf88; transform: translateY(-2px); }
#tour .landing-start { color: #17150f !important; justify-content: center; min-width: 220px; text-align: center; letter-spacing: .08em; }
.landing-start:focus-visible, #walkthrough-layer button:focus-visible, #walkthrough-layer a:focus-visible { outline: 2px solid #eacb9f; outline-offset: 5px; }
#walkthrough-layer[hidden] { display: none; }
#walkthrough-layer { position: fixed; inset: 0; z-index: 300; opacity: 0; pointer-events: none; transition: opacity 1.25s cubic-bezier(.42, 0, .58, 1); color: var(--accent); font-family: 'TO Inter', sans-serif; }
#walkthrough-layer.is-visible { opacity: 1; pointer-events: auto; }
.walkthrough-mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; }
.walkthrough-mask path { fill: #000; fill-opacity: .35; fill-rule: evenodd; }
.walkthrough-top { position: absolute; top: 26px; left: 32px; right: 32px; display: flex; justify-content: space-between; align-items: center; }
.walkthrough-home { font: 500 11px 'TO Inter', sans-serif; letter-spacing: .18em; color: var(--accent); text-decoration: none; }
.walkthrough-skip { padding: 10px 16px; border: 1px solid #e4cda044; border-radius: 999px; background: #0d0e0dc9; color: #d6c7b3; cursor: pointer; font: 400 12px 'TO Inter', sans-serif; }
.walkthrough-context { position: absolute; top: 36%; left: clamp(32px, 7vw, 110px); width: min(430px, 37vw); padding: 26px; border-radius: 16px; background: #080908df; backdrop-filter: blur(12px); }
.walkthrough-context span { color: #c7a77a; font: 400 9px/1.6 'TO Inter', sans-serif; letter-spacing: .17em; }
.walkthrough-context h2 { margin: 20px 0 18px; font: 300 clamp(30px, 3.3vw, 52px)/1.08 'TO Inter', sans-serif; letter-spacing: -.04em; }
.walkthrough-context p { margin: 0; max-width: 340px; color: #bbb5a9; font: 300 16px/1.65 'TO Inter', sans-serif; }
/* Portal the existing help box above the overlay; restore it on completion. */
#walkthrough-layer > .map-key.walkthrough-card { position: absolute !important; top: 88px !important; right: 28px !important; bottom: 28px !important; left: auto !important; width: clamp(340px, 33vw, 470px) !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; margin: 0 !important; transform: none !important; overflow: hidden !important; border: 1px solid #d4ac764d !important; border-radius: 20px !important; background: #12130ff5 !important; box-shadow: 0 24px 90px #0006 !important; backdrop-filter: blur(18px); opacity: 1 !important; visibility: visible !important; }
.walkthrough-card > .map-key-head, .walkthrough-card > .map-key-content { display: none !important; }
#walkthrough-layer > .map-key.walkthrough-card { max-width: none !important; }
.walkthrough-panel { height: 100%; min-height: 0; padding: clamp(18px, 2.3vw, 30px); display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.walkthrough-panel[hidden] { display: none; }
.walkthrough-panel header { flex: none; }
.walkthrough-eyebrow { color: #c4a67a; font: 400 9px/1.4 'TO Inter', sans-serif; letter-spacing: .16em; }
.walkthrough-panel h2 { margin: 12px 0 0; color: var(--accent); font: 300 clamp(24px, 2.2vw, 34px)/1.1 'TO Inter', sans-serif; letter-spacing: -.035em; }
.walkthrough-images { position: relative; flex: 1 1 280px; min-height: 100px; max-height: 340px; margin: 0; overflow: hidden; border: 1px solid #d4ac7624; border-radius: 12px; background: #070807; }
.walkthrough-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .55s ease; }
.walkthrough-images img.is-current { opacity: 1; }
.walkthrough-signal { display: flex; align-items: center; justify-content: center; gap: 18px; flex: none; }
.walkthrough-signal .console-dial { --dial-size: 54px; display: grid; place-items: center; position: relative; width: var(--dial-size); height: var(--dial-size); flex: none; margin: 0; transform: none; background: conic-gradient(#d4ac76 var(--dial-fill, 0deg), #4a4034 0); box-shadow: 0 0 0 2px #171613, 0 0 0 3px #b69b7866; }
.walkthrough-signal .console-dial::before { inset: 4px; }
.walkthrough-signal .console-dial::after { inset: -5px; border-width: 1px; }
.walkthrough-signal .console-dial b { font: 500 13px 'TO Inter', sans-serif; }
.walkthrough-signal .console-dial i { left: 50%; top: 5px; width: 2px; height: 8px; background: #e6c695; box-shadow: none; transform: translateX(-50%) rotate(var(--dial-angle, 0deg)); transform-origin: 50% calc(var(--dial-size) / 2 - 5px); transition: transform .55s ease; }
.walkthrough-signal-copy { display: flex; flex-direction: column; gap: 5px; }
.walkthrough-signal-copy strong { color: #e4c89f; font: 400 13px 'TO Inter', sans-serif; }
.walkthrough-signal-copy small { color: #a9a293; font: 300 10px/1.5 'TO Inter', sans-serif; }
.walkthrough-steps { display: flex; align-items: center; justify-content: space-between; position: relative; gap: 10px; padding: 0 4px; flex: none; }
.walkthrough-steps::before { content: ''; position: absolute; left: 20px; right: 20px; top: 50%; height: 1px; background: #d4ac7633; }
.walkthrough-steps button { z-index: 1; border-radius: 50%; border: 1px solid #8e7858; width: 28px; height: 28px; background: #202019; color: #c9b18e; cursor: pointer; font: 400 11px 'TO Inter', sans-serif; transition: background .3s, color .3s; }
.walkthrough-steps button[aria-current] { background: #d4ac76; color: #17150f; border-color: #e6c695; }
.walkthrough-caption { flex: none; min-height: 78px; }
.walkthrough-caption h3 { margin: 0 0 7px; color: #e4d7c3; font: 400 14px/1.4 'TO Inter', sans-serif; }
.walkthrough-caption p { margin: 0; color: #b0aa9e; font: 300 13px/1.6 'TO Inter', sans-serif; }
.walkthrough-panel footer { flex: none; margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid #d4ac7624; }
.walkthrough-panel footer span { margin-right: auto; color: #9c9384; font: 400 10px 'TO Inter', sans-serif; }
.walkthrough-panel footer button { cursor: pointer; padding: 10px 14px; border: 1px solid #d4ac7640; border-radius: 999px; background: none; color: #d5c6b1; font: 400 11px 'TO Inter', sans-serif; }
.walkthrough-panel footer button:last-child { background: #d4ac76; color: #17150f; border-color: #d4ac76; }
.walkthrough-panel footer button:disabled { opacity: .3; cursor: default; }
@media (max-width: 800px) {
  .walkthrough-top { top: 16px; left: 18px; right: 18px; }
  .walkthrough-home { font-size: 9px; }
  .walkthrough-skip { font-size: 10px; }
  .walkthrough-context { display: none; }
  #walkthrough-layer > .map-key.walkthrough-card { top: 70px !important; bottom: 16px !important; left: 16px !important; right: 16px !important; width: auto !important; }
  .walkthrough-panel { padding: 20px; gap: 14px; }
  .walkthrough-panel h2 { font-size: 27px; }
  .walkthrough-images { max-height: 32svh; }
  .walkthrough-caption { min-height: 86px; }
}
@media (max-height: 700px) {
  .walkthrough-panel { gap: 10px; padding: 16px; overflow-y: auto; }
  .walkthrough-images { flex-basis: 180px; min-height: 100px; }
  .walkthrough-signal .console-dial { --dial-size: 42px; }
  .walkthrough-caption { min-height: 70px; }
  .walkthrough-panel h2 { font-size: 24px; margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #walkthrough-layer, #walkthrough-layer *, .landing-start { animation: none !important; transition: none !important; }
}

/* Column-aligned walkthrough: original educational stage, resized as a whole. */
#walkthrough-layer > .map-key.walkthrough-card {
  left: var(--walkthrough-x, calc(100% - 29vw)) !important;
  top: var(--walkthrough-y, 0px) !important;
  width: var(--walkthrough-width, 29vw) !important;
  height: var(--walkthrough-height, 100svh) !important;
  right: auto !important; bottom: auto !important;
  border-radius: 25px !important; box-shadow: none !important;
  background: #0e0f0df5 !important;
}
#walkthrough-layer .walkthrough-panel { padding: 22px; gap: 18px; overflow: hidden; }
.walkthrough-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.walkthrough-panel .walkthrough-eyebrow { font-size: 8px; letter-spacing: .1em; }
.walkthrough-panel .walkthrough-skip { padding: 8px 10px; font-size: 10px; flex: none; }
.walkthrough-visual { position: relative; flex: 1 1 420px; min-height: 180px; width: 100%; overflow: hidden; }
.walkthrough-visual > .story-stage { --tour-blue: #89d5ed; --tour-gold: #d4ac76; --tour-ink: var(--accent); position: absolute !important; inset: auto !important; left: 50% !important; top: 50% !important; width: 560px !important; height: 560px !important; min-height: 0 !important; transform: translate(-50%, -50%) scale(var(--walkthrough-scale, .6)) !important; transform-origin: center; background: none !important; overflow: hidden; }
.walkthrough-visual .story-stage::before, .walkthrough-visual .story-stage::after,
.walkthrough-visual .story-glass, .walkthrough-visual .story-controls, .walkthrough-visual .story-progress,
.walkthrough-visual .story-handoff, .walkthrough-visual .hero-atlas, .walkthrough-visual .welcome-intro,
.walkthrough-visual .scene-input, .walkthrough-visual .scene-output { display: none !important; }
.walkthrough-visual .studio-scene { position: absolute !important; inset: 0 !important; height: 560px !important; min-height: 0 !important; width: 560px !important; margin: 0 !important; padding: 0 !important; background: none; border: 0; box-shadow: none; backdrop-filter: none; overflow: visible; }
.walkthrough-visual .studio-scene::before { display: none; }
.walkthrough-visual .story-stage[data-focus="journey"] .journey-gallery { position: absolute; left: 100px; right: auto; top: 0; bottom: auto; width: 360px; height: 360px; transform: none; transition: none; }
.walkthrough-visual .story-stage[data-focus="journey"] .journey-gallery figure { inset: 0; padding: 0; grid-template-rows: 360px; transform: none; transition: opacity .62s ease; }
.walkthrough-visual .journey-gallery img { width: 360px !important; height: 360px !important; max-height: none; }
.walkthrough-visual .journey-gallery figcaption { display: none; }
.walkthrough-visual .story-stage[data-focus="journey"] .feature-console { left: 20px; top: 398px; width: 180px; height: 142px; padding: 12px; gap: 12px; transform: none; display: flex; flex-direction: column; }
.walkthrough-visual .feature-console > span, .walkthrough-visual .feature-console small { font: 9px Jura, sans-serif; letter-spacing: .12em; color: #d4bd98; }
.walkthrough-visual .feature-console .console-dial { width: 64px; height: 64px; margin: 0; flex: none; }
.walkthrough-visual .feature-console .console-dial i { height: 28px; }
.walkthrough-visual .feature-console .console-dial b { font-size: 16px; }
.walkthrough-visual .story-stage[data-focus="journey"] .journey-track { left: 245px; right: auto; top: 460px; bottom: auto; width: 290px; height: 36px; padding: 0; margin: 0; transition: none; }
.walkthrough-visual .journey-track span { flex: none; }
.walkthrough-visual .story-stage:is([data-focus="space"], [data-focus="path"]) .landscape-lesson { position: absolute; inset: 0; width: 560px; height: 560px; min-height: 0; margin: 0; transform: none; padding: 20px; grid-template-columns: 1fr; }
.walkthrough-visual .story-stage:is([data-focus="space"], [data-focus="path"]) .flight-dial-panel { position: absolute; top: 20px; left: 46px; width: 216px; height: 216px; aspect-ratio: 1; gap: 14px; }
.walkthrough-visual .story-stage:is([data-focus="space"], [data-focus="path"]) .lesson-preview { position: absolute; top: 20px; right: 46px; width: 216px; height: auto; margin: 0; }
.walkthrough-visual .story-stage:is([data-focus="space"], [data-focus="path"]) .lesson-preview img { width: 216px; height: 216px; }
.walkthrough-visual .flight-dial-panel .console-dial { width: 103px; height: 103px; }
.walkthrough-visual .flight-dial-panel .console-dial i { height: 39px; }
.walkthrough-visual .flight-dial-panel .console-dial b { font-size: 25px; }
.walkthrough-visual .flight-dial-panel > span { font-size: 10px; }
.walkthrough-visual .story-stage:is([data-focus="space"], [data-focus="path"]) .lesson-map { transform: translateY(66px); }
.walkthrough-visual .lesson-caption { position: absolute; bottom: 12px; left: 16px; right: 16px; transform: none !important; font-size: 10px; }
/* Keep the original fluted brass knob, needle, lighting, and animation. */
.walkthrough-visual .console-dial { background: linear-gradient(135deg,#c0ae88,#514837 48%,#ad9670); box-shadow: 0 0 0 2px #100f0d,0 0 0 4px #8d806b,0 3px 0 5px #29261f,0 10px 0 2px #0a0b09,4px 17px 20px #000b,inset 0 1px 2px #fff4ce80; }
.walkthrough-visual .console-dial::before { inset: 6px; border: 1px solid #968d76; background: radial-gradient(circle,#33372e 0%,#33372e 39%,#141710 42%,transparent 45%),repeating-conic-gradient(from 2deg,#0c0e0b 0deg 6deg,#787562 7deg 10deg,#292c23 11deg 15deg); box-shadow: inset 0 0 0 2px #13160f,0 4px 2px #000b; transform: rotate(calc(var(--dial-angle,0deg) - 90deg)); transition: transform 1.25s cubic-bezier(.25,.1,.25,1); }
.walkthrough-visual .console-dial::after { inset: 6px; border: 0; opacity: 1; background: linear-gradient(140deg,#fff0bf30,transparent 42%,#0008); box-shadow: inset 2px 3px 3px #fff3ca50,inset -3px -5px 5px #000b; }
.walkthrough-visual .console-dial i { z-index: 2; width: 5px; background: linear-gradient(to bottom,#fff4d5 0%,#dcc48f 38%,transparent 39%); filter: drop-shadow(1px 2px 1px #000b); box-shadow: none; border-radius: 2px; transition: transform 1.25s cubic-bezier(.25,.1,.25,1); }
.walkthrough-visual .console-dial b { z-index: 3; color: #e4d9bb; text-shadow: 0 2px 2px #000; font-family: Jura,sans-serif; font-weight: 600; }
#walkthrough-layer .walkthrough-caption { flex: 0 0 270px; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8c7653 transparent; }
#walkthrough-layer .walkthrough-caption h2 { margin: 0 0 14px; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.14; }
#walkthrough-layer .walkthrough-caption p { font-size: 13px; line-height: 1.65; }
#walkthrough-layer .walkthrough-panel footer { padding-top: 12px; margin-top: 0; }
@media (max-height: 760px) {
  #walkthrough-layer .walkthrough-panel { padding: 16px; gap: 12px; }
  #walkthrough-layer .walkthrough-caption { flex-basis: 270px; }
}
@media (max-width: 800px) {
  #walkthrough-layer .walkthrough-panel { padding: 18px; gap: 14px; }
  #walkthrough-layer .walkthrough-caption { flex-basis: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .walkthrough-visual .console-dial::before, .walkthrough-visual .console-dial i { transition: none; }
}

/* Full-screen presentation: no card or spotlight cutout. */
#walkthrough-layer .walkthrough-mask path { fill-opacity: .875; }
#walkthrough-layer > .walkthrough-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(900px, calc(100vw - 144px)); height: calc(100svh - 120px); padding: 0; gap: 16px; background: none; border: 0; border-radius: 0; box-shadow: none; text-align: center; }
#walkthrough-layer > .walkthrough-panel header { justify-content: center; }
#walkthrough-layer .walkthrough-eyebrow { font-size: 10px; letter-spacing: .16em; }
#walkthrough-layer .walkthrough-visual { min-height: 160px; }
#walkthrough-layer .walkthrough-caption { flex: 0 0 180px; width: min(680px, 100%); align-self: center; translate: 0 -8px; }
#walkthrough-layer .walkthrough-caption h2 { font-size: clamp(26px, 2.5vw, 38px); margin-bottom: 42px; text-wrap: balance; }
#walkthrough-layer .walkthrough-caption p { font-size: 16px; line-height: 1.65; text-wrap: pretty; }
#walkthrough-layer .walkthrough-panel footer { justify-content: center; border: 0; padding-top: 0; }
#walkthrough-layer .walkthrough-panel footer > span { margin-right: 16px; }
#walkthrough-layer > .walkthrough-skip { position: absolute; right: 28px; top: 24px; padding: 11px 17px; font-size: 12px; }
.walkthrough-progress { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.walkthrough-progress button { width: 38px; height: 16px; padding: 6px 3px; border: 0; display: flex; align-items: center; justify-content: flex-end; background: none; cursor: pointer; }
.walkthrough-progress button span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #e1d8c038; transition: width .35s ease, background .35s ease; }
.walkthrough-progress button.is-past span { background: #d4ac7680; }
.walkthrough-progress button[aria-current] span { width: 30px; background: #e4c18f; }
.walkthrough-progress button:hover span { background: #e4c18f; }
.walkthrough-knob-anchor[hidden] { display: none !important; }
#walkthrough-layer .walkthrough-knob-anchor { position: absolute; width: 64px; height: 64px; min-height: 0; overflow: visible; transform: translate(-50%, -50%) scale(var(--knob-scale, 1)); pointer-events: none; }
#walkthrough-layer .walkthrough-knob-anchor .feature-console { position: absolute; inset: 0; width: 64px; height: 64px; padding: 0; margin: 0; display: grid; place-items: center; opacity: 1; visibility: visible; transform: none; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.walkthrough-knob-anchor .feature-console > span, .walkthrough-knob-anchor .feature-console small { display: none; }
.walkthrough-knob-anchor::after { content: 'FEATURE STRENGTH'; position: absolute; bottom: calc(100% + 22px); left: 50%; transform: translateX(-50%); color: #d4bd98; font: 8px Jura, sans-serif; letter-spacing: .1em; white-space: nowrap; }
.walkthrough-knob-anchor::before { content: ''; position: absolute; inset: -90%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, #f2ca8380 0%, #e1ae5e50 25%, #d4ac7626 48%, transparent 72%); filter: blur(7px); animation: walkthrough-knob-glow 3s ease-in-out infinite alternate; pointer-events: none; }
@keyframes walkthrough-knob-glow { from { opacity: .65; transform: scale(.94); } to { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .walkthrough-knob-anchor::before { animation: none; opacity: .85; } }
@media (min-width: 981px) {
  .walkthrough-visual .story-stage[data-focus="journey"] .journey-track { left: 100px; width: 360px; top: 420px; }
}
@media (max-width: 800px) {
  #walkthrough-layer > .walkthrough-panel { width: calc(100vw - 72px); height: calc(100svh - 110px); top: calc(50% + 15px); gap: 12px; }
  #walkthrough-layer .walkthrough-caption { flex-basis: 270px; }
  #walkthrough-layer .walkthrough-caption h2 { font-size: 25px; }
  #walkthrough-layer .walkthrough-caption p { font-size: 13px; }
  #walkthrough-layer .walkthrough-eyebrow { font-size: 8px; }
  #walkthrough-layer > .walkthrough-skip { top: 16px; right: 18px; padding: 9px 13px; font-size: 10px; }
  .walkthrough-progress { right: 6px; gap: 2px; }
  .walkthrough-progress button { width: 26px; }
  .walkthrough-progress button span { width: 10px; }
  .walkthrough-progress button[aria-current] span { width: 20px; }
  #walkthrough-layer .walkthrough-panel footer { gap: 6px; }
  #walkthrough-layer .walkthrough-panel footer > span { margin-right: 4px; font-size: 9px; }
  #walkthrough-layer .walkthrough-panel footer button { padding: 9px 11px; font-size: 10px; }
}

/* Keep background help out of the lesson; reserve its rail for the copy. */
body.walkthrough-active .app-shell .map-key { visibility: hidden !important; }
body.walkthrough-active.walkthrough-finishing .app-shell .map-key { visibility: visible !important; }
#walkthrough-layer:is(.is-opening,.is-finishing) .walkthrough-panel > .walkthrough-visual { will-change: transform; }
#walkthrough-layer.is-finishing :is(.walkthrough-caption,.walkthrough-progress,.walkthrough-skip) { pointer-events: none; }
.walkthrough-black-column { display: none; }
@media (min-width: 981px) {
  .walkthrough-black-column { display: block; position: absolute; top: 0; bottom: 0; left: var(--walkthrough-rail-x); width: var(--walkthrough-rail-width); background: #000; pointer-events: none; }
  #walkthrough-layer > .walkthrough-panel { left: 0; top: 60px; transform: none; width: 100%; height: calc(100svh - 120px); }
  #walkthrough-layer .walkthrough-panel > header { position: absolute; top: 0; left: 40px; width: calc(var(--walkthrough-rail-x) - 80px); }
  #walkthrough-layer .walkthrough-panel > .walkthrough-visual { position: absolute; left: 40px; top: 38px; width: calc(var(--walkthrough-rail-x) - 80px); height: calc(100% - 100px); }
  #walkthrough-layer .walkthrough-caption { position: absolute; left: calc(var(--walkthrough-rail-x) + 28px); top: 50%; transform: translateY(-50%); width: calc(var(--walkthrough-rail-width) - 84px); max-height: calc(100% - 80px); text-align: left; }
  #walkthrough-layer .walkthrough-caption h2 { font-size: clamp(24px, 2.1vw, 32px); }
  #walkthrough-layer .walkthrough-caption p { font-size: 15px; }
  #walkthrough-layer .walkthrough-panel footer { position: absolute; bottom: 0; left: 0; width: var(--walkthrough-rail-x); }
}

/* One compact navigation group at the right; visuals share the title's axis. */
#walkthrough-layer .walkthrough-panel footer { display: none; }
.walkthrough-progress { align-items: center; gap: 14px; }
.walkthrough-progress-label { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #b3a794; font: 400 9px/1.2 'TO Inter', sans-serif; }
.walkthrough-progress-label > span:first-child { font-size: 7px; letter-spacing: .16em; }
.walkthrough-progress-steps { display: flex; flex-direction: column; gap: 4px; }
.walkthrough-progress-steps button { width: 44px; justify-content: center; }
.walkthrough-progress-controls { display: flex; flex-direction: column; gap: 8px; }
.walkthrough-progress-controls button { width: 42px; height: 22px; padding: 0; justify-content: center; border: 1px solid #b3a79459; border-radius: 999px; color: #b3a794; background: #b3a79408; opacity: 1; font: 400 16px/1 'TO Jura', sans-serif; transition: background .2s, border-color .2s, opacity .2s; }
.walkthrough-progress-controls button:hover { background: #b3a79414; border-color: #b3a79499; opacity: 1; }
.walkthrough-progress-controls button:disabled { opacity: .18; cursor: default; }
.walkthrough-progress-controls .walkthrough-previous { opacity: .38; }
.walkthrough-progress-controls .walkthrough-previous:disabled { opacity: .15; }
.walkthrough-progress-controls .walkthrough-previous:hover:not(:disabled) { opacity: .65; }
.walkthrough-progress-controls .walkthrough-next { border-color: #b3a79459; background: #b3a79408; box-shadow: none; }
.walkthrough-progress-controls .walkthrough-next:hover { border-color: #b3a79499; background: #b3a79414; }
#walkthrough-layer .walkthrough-progress-controls .walkthrough-next:focus { outline: none; box-shadow: none; }
#walkthrough-layer .walkthrough-progress-controls .walkthrough-next:focus-visible { text-decoration: none; border-color: #b3a79499; background: #b3a79414; }
.walkthrough-progress-label > span:first-child { max-width: 58px; text-align: center; line-height: 1.5; }
.walkthrough-visual .flight-language > rect { fill-opacity: .07; }
.flight-language-mesh polygon { fill: #8ed8ff; stroke: #d8efff; stroke-opacity: .35; stroke-width: .8; stroke-dasharray: 1.5 3.5; stroke-linejoin: round; }
.flight-language-mesh circle { fill: #b2def0; fill-opacity: .6; }
@media (min-width: 981px) {
  #walkthrough-layer .walkthrough-panel > header { left: 50%; width: 600px; transform: translateX(-50%); }
  #walkthrough-layer .walkthrough-panel > .walkthrough-visual { left: 50%; top: 20px; width: min(680px, calc((var(--walkthrough-rail-x) - 50vw - 20px) * 2)); height: calc(100% - 40px); transform: translateX(-50%); }
  .walkthrough-visual .story-stage[data-focus="journey"] .journey-gallery { top: 52px; }
  .walkthrough-visual .story-stage[data-focus="journey"] .journey-track { top: 472px; }
}
@media (max-width: 800px) {
  .walkthrough-progress { right: 4px; gap: 10px; }
  .walkthrough-progress-label { font-size: 8px; }
  .walkthrough-progress-label > span:first-child { font-size: 6px; }
  .walkthrough-progress-steps { gap: 2px; }
  .walkthrough-progress-steps button { width: 32px; }
  .walkthrough-progress-controls button { width: 32px; height: 22px; font-size: 15px; }
}

#walkthrough-layer > .walkthrough-panel { overflow: visible; }
#walkthrough-layer .walkthrough-panel > header { position: absolute; top: var(--walkthrough-heading-y, 0px); left: var(--walkthrough-heading-x, 50%); width: min(600px, 100%); transform: translateX(-50%); }
@media (max-width: 800px) {
  #walkthrough-layer .walkthrough-eyebrow { font-size: 9px; line-height: 1.4; }
}

/* Larger saved images, keeping the full image/marker group on its center. */
.walkthrough-visual .story-stage[data-focus="journey"] .journey-gallery { left: 60px; top: 12px; width: 440px; height: 440px; }
.walkthrough-visual .story-stage[data-focus="journey"] .journey-gallery figure { grid-template-rows: 440px; }
.walkthrough-visual .journey-gallery img { width: 440px !important; height: 440px !important; }
.walkthrough-visual .story-stage[data-focus="journey"] .journey-track { left: 60px; top: 512px; width: 440px; }
@media (min-width: 981px) {
  #walkthrough-layer .walkthrough-caption { width: calc(var(--walkthrough-rail-width) - 132px); }
}
@media (max-width: 800px) {
  #walkthrough-layer > .walkthrough-panel { width: calc(100vw - 96px); }
  .walkthrough-progress-label > span:first-child { max-width: 32px; }
}

.walkthrough-enter { display: none; }
#walkthrough-layer .walkthrough-panel[data-final="true"] .walkthrough-enter { display: inline-flex; margin-top: 20px; padding: 6px 0; color: #d4bd98; font: 500 14px 'TO Inter', sans-serif; text-decoration: none; }

/* A live landing canvas dissolves into the explorer's own scene. */
.landing-transition { position: fixed; inset: 0; z-index: 250; isolation: isolate; pointer-events: none; background: #080908; will-change: opacity; contain: strict; }
.landing-transition .landing-universe { z-index: 0; }

/* Same open-centered brass rim as the explorer's Next feature control. */
#tour .landing-start, #walkthrough-layer > .walkthrough-skip { position: relative; isolation: isolate; border: 0; border-radius: 10px; background: #08090855; color: #e4d9bb !important; font: 600 12px/1.2 'TO Jura', Jura, sans-serif; letter-spacing: .1em; text-shadow: 0 1px 2px #000; box-shadow: 0 0 0 1px #100f0d, 0 0 0 2px #8d806b66, 0 3px 0 #151610, 2px 6px 8px #0009; }
#tour .landing-start { padding: 20px 30px; }
#walkthrough-layer > .walkthrough-skip { position: absolute; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; min-width: 54px; height: 28px; border-radius: 7px; font-size: 10px; text-align: center; }
#tour .landing-start::before, #walkthrough-layer > .walkthrough-skip::before { content: ''; position: absolute; inset: 0; padding: 4px; border: 0; border-radius: inherit; background: linear-gradient(135deg,#c0ae88,#514837 48%,#ad9670); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none; }
#tour .landing-start:hover, #walkthrough-layer > .walkthrough-skip:hover { background: #d4ac760b; }
#tour .landing-start:hover::before, #walkthrough-layer > .walkthrough-skip:hover::before { background: linear-gradient(135deg,#ddcba1,#736345 48%,#c3a77b); }
#walkthrough-layer > .walkthrough-skip::before { padding: 2.5px; }
#walkthrough-layer > .walkthrough-skip { color: #b9ae97 !important; box-shadow: 0 0 0 1px #100f0d, 0 0 0 2px #8d806b33, 0 2px 0 #151610, 1px 3px 6px #0006; }
#walkthrough-layer > .walkthrough-skip::before { background: linear-gradient(135deg,#91856d,#403b30 48%,#80705a); }
#walkthrough-layer > .walkthrough-skip:hover::before { background: linear-gradient(135deg,#ac9b7c,#514837 48%,#998568); }
@media (max-width: 800px) {
  #walkthrough-layer > .walkthrough-skip { padding: 7px 10px; min-width: 48px; height: 26px; font-size: 9px; }
}
