/* One stable stage keeps the art, decisions and next action within one screen. */
.experience-grid{align-items:start}
.experience-steps{min-height:calc(100svh - var(--header-height) - 40px);display:flex;flex-direction:column;justify-content:center;padding:0}
.experience-steps .step{flex:1;align-items:center;padding:20px 0}
.table-demo{--demo-space:calc(100svh - var(--header-height));height:calc(var(--demo-space) - 40px);min-height:0;max-height:780px;padding:20px 24px 16px;display:flex;flex-direction:column;gap:0;scroll-margin-top:0}
.demo-top{flex:none;height:30px;min-height:0;line-height:1}
.demo-count{line-height:1}
.demo-scene{position:relative;flex:1;min-height:0;container-type:size;margin:12px 0}
.demo-scene .table-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(100cqw,136cqh);height:auto;max-width:none;aspect-ratio:600/440;margin:0}
.demo-scene .table-svg{height:100%;position:absolute;inset:0}
.demo-bottom{flex:none;flex-direction:row;align-items:center;height:72px;min-height:0;margin:0;gap:18px}
.demo-next-button:hover{transform:none}
.demo-bottom p{font-size:clamp(21px,2.2vw,27px);max-width:55%;line-height:1.1}
.demo-next-button{width:auto;min-width:145px;padding:16px;flex:none}
.demo-help-row{flex:none;margin-top:8px;min-height:18px}
.gallery-controls{flex:none;margin:0 0 10px;padding-bottom:10px}

/* Painting mode becomes a compact, live strip of the six canvases. */
.table-demo[data-demo-step="1"] .demo-scene{flex:1;min-height:40px;max-height:115px;margin:8px 0}
.table-demo[data-demo-step="1"] .table-stage{width:100%;height:100%;aspect-ratio:auto}
.table-demo[data-demo-step="1"] .table-svg{opacity:0}
.table-demo[data-demo-step="1"] .mini-canvas{top:53%!important;width:37px;height:48px;transform:translate(-50%,-50%) rotate(var(--tilt))!important}
.table-demo[data-demo-step="1"] .guest{top:86%!important;width:26px;height:26px;border-width:1px;transform:translate(-50%,-50%) scale(.8);box-shadow:0 3px 0 #1e244710}
.table-demo[data-demo-step="1"] .guest:before{width:6px;height:6px;top:3px;border-width:1px}
.table-demo[data-demo-step="1"] .guest:after{width:13px;height:6px;bottom:4px;border-width:1px}
.table-demo[data-demo-step="1"] .guest-reaction{top:-75px;transform:translateX(-50%)}
.table-demo[data-demo-step="1"] .reaction-face{font-size:18px;min-width:28px;height:27px}
.table-demo[data-demo-step="1"] :is(.guest,.mini-canvas):nth-child(1){left:9%!important}
.table-demo[data-demo-step="1"] :is(.guest,.mini-canvas):nth-child(2){left:25.4%!important}
.table-demo[data-demo-step="1"] :is(.guest,.mini-canvas):nth-child(3){left:41.8%!important}
.table-demo[data-demo-step="1"] :is(.guest,.mini-canvas):nth-child(4){left:58.2%!important}
.table-demo[data-demo-step="1"] :is(.guest,.mini-canvas):nth-child(5){left:74.6%!important}
.table-demo[data-demo-step="1"] :is(.guest,.mini-canvas):nth-child(6){left:91%!important}
.demo-modes{position:static;flex:none;padding:10px 0 0;margin:6px 0 10px}
.demo-modes legend{font-size:24px;line-height:1.1}
.mode-buttons{gap:10px}
.mode-buttons button{min-height:clamp(70px,calc(var(--demo-space) * .155),116px);padding:36px 14px 12px;gap:5px}
.mode-card-art{width:49px;height:32px;top:5px;right:10px}
.mode-buttons button .mode-index{top:12px;left:14px}
.mode-card-title{font-size:clamp(23px,2.5vw,30px)}
.mode-buttons button small{font-size:7px;letter-spacing:.2px}
.theme-ideas{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.theme-ideas button{min-height:clamp(53px,calc(var(--demo-space) * .1),82px);padding:10px 27px 10px 12px;gap:3px}
.theme-card-title{font-size:clamp(21px,2.2vw,26px);line-height:1.04}
.theme-card-index{font-size:6px}
.theme-card-arrow{right:10px;bottom:11px}
.demo-modes #mode-description{min-height:28px;font-size:11px;line-height:1.45;margin-top:9px}
.table-demo[data-demo-step="1"] .demo-bottom{margin-top:auto}
.mode-callout{top:68px;bottom:auto;left:50%;right:auto;width:min(350px,85%);transform:translateX(-50%) rotate(2deg);animation:viewportCallout .6s var(--ease) both}
@keyframes viewportCallout{from{opacity:0;transform:translate(-50%,15px) rotate(5deg) scale(.96)}to{opacity:1;transform:translateX(-50%) rotate(2deg)}}
@media(max-width:1100px){.experience-steps .step{padding:16px 0}.demo-bottom p{font-size:23px}.table-demo{padding:18px 20px 14px}.demo-next-button{min-width:130px;font-size:11px;gap:15px}.mode-card-title{font-size:27px}.theme-card-title{font-size:23px}}
@media(max-width:800px){.experience-steps{min-height:0;display:grid;grid-template-columns:1fr 1fr}.experience-steps .step{align-items:flex-start}.table-demo{padding:20px 22px 16px}.demo-scene{margin:20px 0}.demo-bottom p{font-size:25px}.mode-card-title{font-size:30px}.theme-card-title{font-size:25px}.mode-buttons button{padding-top:35px}.mode-callout h3{font-size:43px}}
@media(max-width:480px){.table-demo{padding:16px 16px 12px}.demo-top{min-height:27px;font-size:8px}.demo-scene{margin:18px 0}.demo-bottom{min-height:57px;gap:12px;flex-direction:row}.demo-bottom p{font-size:22px;max-width:53%}.demo-next-button{min-width:122px;padding:14px 12px;font-size:11px;gap:10px}.demo-help-row .demo-hint{font-size:7px}.mode-buttons button{padding-left:12px;padding-right:10px}.mode-card-title{font-size:27px}.theme-card-title{font-size:23px}.demo-modes legend{font-size:23px}.table-demo[data-demo-step="1"] .mini-canvas{width:30px;height:40px;padding:3px}.table-demo[data-demo-step="1"] .guest-reaction{top:-67px}.mode-callout{width:87%;padding:25px}.mode-callout h3{font-size:39px}.gallery-controls button{font-size:9px}}
@media(max-height:700px){.table-demo{padding-top:12px;padding-bottom:10px}.demo-top{min-height:23px;font-size:7px}.demo-count{font-size:23px}.demo-scene{margin:5px 0}.table-demo[data-demo-step="1"] .demo-scene{max-height:65px;margin:3px 0}.table-demo[data-demo-step="1"] .guest-reaction{top:-62px}.table-demo[data-demo-step="1"] .mini-canvas{width:27px;height:34px}.table-demo[data-demo-step="1"] .guest{top:90%!important;transform:translate(-50%,-50%) scale(.65)}.mode-buttons button{min-height:70px;padding:27px 11px 8px}.mode-card-title{font-size:24px}.mode-card-art{width:37px;height:27px}.mode-buttons button small{display:none}.mode-buttons button .mode-index{top:10px;left:11px}.demo-modes{padding-top:6px;margin-top:5px;margin-bottom:6px}.demo-modes legend{font-size:21px}.theme-ideas{gap:6px;margin-top:7px}.theme-ideas button{min-height:54px;padding:7px 22px 7px 9px}.theme-card-index{display:none}.theme-card-title{font-size:21px}.demo-modes #mode-description{font-size:10px;line-height:1.35;margin-top:6px;min-height:27px}.demo-bottom{min-height:48px}.demo-bottom p{font-size:21px}.demo-next-button{padding:12px;min-width:118px;font-size:10px}.demo-help-row{margin-top:2px;min-height:14px}.demo-help-row .demo-hint{display:none}.demo-help-row{justify-content:flex-end}.mode-callout{top:43px;padding:22px}.mode-callout h3{font-size:35px;margin:12px 0}.mode-callout p{font-size:10px}}
/* Very short landscape windows retain readable controls and normal page scrolling. */
@media(max-height:520px){.table-demo{height:470px}.experience-steps{min-height:470px}}
/* Fixed footer geometry also accommodates longer German captions. */
@media(max-width:480px){.demo-bottom{height:88px;min-height:0}.demo-bottom p{font-size:21px;line-height:1.08}.demo-top{height:27px;min-height:0}}
@media(max-height:700px){.demo-top{height:23px;min-height:0}.demo-bottom{min-height:0}.table-demo[data-demo-step="1"] .demo-scene{display:none}.table-demo[data-demo-step="1"] .demo-modes{margin-top:auto}.table-demo[data-demo-step="1"] .demo-bottom{margin-top:auto}}
@media(max-width:360px){.demo-bottom p{font-size:19px}.theme-card-title{font-size:21px}}
@media(max-height:650px){.mode-card-title{font-size:22px}.mode-buttons button{padding-top:22px;padding-bottom:6px}.theme-ideas button{padding-top:6px;padding-bottom:6px}.demo-bottom{height:82px}}
/* A small signpost replaces the oversized second invitation. */
.mode-callout{top:64px;width:250px;max-width:85%;padding:13px 30px 13px 17px;box-shadow:3px 4px 0 #1e244714;transform:translateX(-50%) rotate(1deg)}
.mode-callout .eyebrow,.mode-callout p{display:none}
.mode-callout h3{font-family:'Instrument Serif';font-size:29px;line-height:1.05;letter-spacing:-.02em;margin:0 0 8px}
.mode-callout .text-link{font-size:10px;margin:0;gap:20px;padding:0 0 3px}
.mode-callout-close{width:24px;height:24px;top:5px;right:5px;font-size:19px}
.mode-callout:after{bottom:-10px;border-left-width:11px;border-right-width:2px;border-top-width:11px}
@media(max-height:700px){.mode-callout{top:31px;width:230px;padding:10px 28px 10px 15px}.mode-callout h3{font-size:26px;margin-bottom:6px}.mode-callout .text-link{font-size:9px}}
/* A transient cursor bubble points at the options without covering or blocking them. */
.demo-modes{position:relative}
.mode-callout{display:flex;align-items:center;gap:8px;position:absolute;top:-39px;right:0;bottom:auto;left:auto;width:max-content;max-width:100%;padding:7px 12px;border:1px solid #1e244726;border-radius:17px 17px 3px 17px;background:var(--lime);box-shadow:0 2px 0 #1e24470c;transform:none;pointer-events:none;animation:clickHintIn .4s var(--ease) both;z-index:8}
.mode-callout #mode-callout-title{font-family:'DM Sans';font-size:11px;line-height:16px;font-weight:500;letter-spacing:0;white-space:nowrap}
.mode-click-icon{width:18px;height:18px;flex:none;overflow:visible}
.mode-callout:after{right:16px;bottom:-7px;border-left:7px solid transparent;border-right:0;border-top:8px solid var(--lime)}
@keyframes clickHintIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:360px){.mode-callout{top:-37px;padding:6px 10px;gap:6px}.mode-callout #mode-callout-title{font-size:10px}}
/* Tactile gallery actions are buttons, with no link-style underlining. */
.gallery-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px;padding:0;border:0}
.gallery-controls button{justify-content:center;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #1e244740;border-radius:3px;background:var(--paper);font-size:11px;line-height:1.3;text-align:left;box-shadow:0 2px 0 #1e244712;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.gallery-controls #gallery-applause{background:#e6dff0}
.gallery-controls button:is(:hover,:focus-visible){background:var(--lime);border-color:var(--ink);text-decoration:none;transform:translateY(-2px)}
.gallery-controls button:active{transform:translateY(1px);box-shadow:none}
.gallery-controls button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:480px){.gallery-controls{gap:8px}.gallery-controls button{padding:9px 8px;font-size:10px;gap:7px}.gallery-controls button>span:first-child{font-size:18px}}
.form-privacy a{display:inline-block;text-underline-offset:3px;text-decoration:underline}
/* The seat-switch round shows a clockwise route around a stationary table. */
.seat-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .35s;z-index:1}
.table-stage[data-stage="2"] .seat-route{opacity:1}
.seat-route-line{stroke-dasharray:5 8}
.seat-switching .seat-route-line{animation:seatDirection 2s linear infinite}
@keyframes seatDirection{to{stroke-dashoffset:-52}}
.seat-switching .guest{transition:none!important}
.seat-switching .paint-stroke.two{stroke-dashoffset:180!important}
.table-stage[data-stage="2"] .demo-toast{display:none}
.seat-switch-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:none;align-items:center;gap:7px;width:max-content;max-width:46%;padding:10px 13px;background:#f8f5ed;border:1px solid #1e244725;border-radius:3px;z-index:3;font-size:10px;line-height:1.4;box-shadow:0 3px 0 #1e24470d}
.seat-switch-label>span:first-child{font-size:25px;line-height:1;flex:none}
.table-stage[data-stage="2"] .seat-switch-label{display:flex}
.seat-controls{flex:none;display:flex;justify-content:flex-end;margin:0 0 12px}
.seat-controls button{display:flex;align-items:center;gap:9px;padding:10px 14px;min-height:42px;border:1px solid #1e244740;border-radius:3px;background:var(--paper);font-size:11px;line-height:1.3;box-shadow:0 2px 0 #1e244712;transition:background .2s}
.seat-controls button>span:first-child{font-size:21px;line-height:1}
.seat-controls button:hover{background:var(--lime)}
@media(max-width:480px){.seat-switch-label{font-size:8px;padding:8px;gap:5px;max-width:48%}.seat-switch-label>span:first-child{font-size:19px}.seat-controls button{font-size:10px;min-height:40px;padding:8px 12px}}
.table-stage[data-stage="2"] .mini-canvas{transition:none}
/* A brief cursor hint points at the existing action without covering the scene. */
.demo-next-action{position:relative;flex:none;max-width:100%}
.demo-invite{position:absolute;right:0;bottom:calc(100% + 13px);z-index:8;display:flex;align-items:center;gap:9px;width:max-content;max-width:min(240px,calc(100vw - 70px));padding:10px 14px 10px 11px;background:#e5def1;color:var(--ink);border:1px solid #1e244724;border-radius:16px 16px 4px 16px;box-shadow:0 3px 0 #1e244708;pointer-events:none;animation:demoHintArrives .4s var(--ease) both}
.demo-invite:after{content:'';position:absolute;right:27px;bottom:-7px;width:12px;height:12px;background:#e5def1;border-right:1px solid #1e244724;border-bottom:1px solid #1e244724;transform:rotate(45deg)}
.demo-invite #demo-invite-title{font-size:12px;line-height:1.35;font-weight:500;white-space:nowrap}
.demo-invite-cursor{width:25px;height:28px;flex:none;transform-origin:70% 85%;animation:demoCursorTap 1.1s .35s ease-in-out 2}
.demo-invite.is-leaving{animation:demoHintLeaves .22s ease both}
@keyframes demoHintArrives{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes demoHintLeaves{to{opacity:0;transform:translateY(4px)}}
@keyframes demoCursorTap{0%,55%,100%{transform:translateY(0) rotate(0)}70%{transform:translateY(2px) rotate(-7deg)}84%{transform:translateY(-1px) rotate(2deg)}}
@media(max-width:480px){.demo-invite{padding:9px 11px 9px 9px;gap:7px;bottom:calc(100% + 10px)}.demo-invite #demo-invite-title{font-size:11px}.demo-invite-cursor{width:22px;height:25px}}
html[data-motion=off] .demo-invite,html[data-motion=off] .demo-invite-cursor{animation:none}
@media(prefers-reduced-motion:reduce){.demo-invite,.demo-invite-cursor{animation:none}}
