/* An application viewer: navigation at the side, software in the foreground. */
.project-presentation-dialog{--presentation-accent:#edb58c;--presentation-muted:#b9b1aa;width:min(1240px,calc(100% - 48px));max-height:calc(100dvh - 40px);padding:40px;background:#1c1a19;overflow:hidden;border-radius:20px;border-color:#ffffff26}
.project-presentation-dialog [data-dialog-content]{max-height:calc(100dvh - 122px);overflow:auto;scrollbar-gutter:stable;padding-right:8px}
.project-presentation-dialog .dialog-close{z-index:4;right:14px;top:14px;background:#2d2926}
.project-presentation{display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:32px;align-items:start}
.presentation-heading{grid-column:1/-1;max-width:100%;padding:0 44px 26px 0;border-bottom:1px solid #ffffff1c;margin-bottom:28px}
.presentation-eyebrow{font-size:12px;line-height:1.5;color:var(--presentation-accent);margin:0 0 8px;letter-spacing:0;text-transform:none}
.presentation-heading h3{font-size:clamp(34px,4vw,52px);letter-spacing:-2px;line-height:1.12;font-weight:500;margin:0 0 12px}
.presentation-subtitle{font-size:18px;color:#f5f0eb;margin:0 0 12px;line-height:1.5}
.presentation-intro{font-size:14px;line-height:1.8;color:var(--presentation-muted);margin:0;max-width:75ch}
.project-presentation--cafepilot .presentation-heading{display:grid;grid-template-columns:1fr 1.2fr;gap:32px;align-items:end}
.cafe-principles{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;margin:12px 0 0;color:var(--presentation-accent);font-size:12px}
.cafe-principles li::before{content:'✓';margin-right:7px}
.presentation-chapters{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:6px;position:sticky;top:0;margin:0;padding:0 0 16px}
.presentation-chapters button{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:12px;border:1px solid transparent;border-radius:8px;font:inherit;font-size:13px;text-align:left;background:none;color:#b9b1aa;transition:background .2s,color .2s}
.presentation-chapters button span{font-size:11px;color:#a3988f}
.presentation-chapters button[aria-pressed="true"]{color:#f8e2d1;background:#edb58c14;border-color:#edb58c30}
.presentation-chapters button[aria-pressed="true"] span{color:var(--presentation-accent)}
.presentation-chapters button:hover{background:#ffffff08;color:white}
.presentation-slide{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-width:0;gap:24px}
.presentation-slide[hidden]{display:none}
.presentation-screen{width:100%;min-width:0;overflow:hidden;border:1px solid #ffffff26;border-radius:10px;background:#282521}
.presentation-window{display:flex;align-items:center;gap:5px;height:30px;padding:0 12px;background:#302b27;border-bottom:1px solid #ffffff10}
.presentation-window i{width:5px;height:5px;background:#9b8878;border-radius:50%}
.presentation-window span{font-size:10px;color:#c4b9af;margin-left:8px}
.presentation-image{display:grid;place-items:center;aspect-ratio:16/10;background:#eee;overflow:hidden;position:relative}
.presentation-image img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.presentation-story{display:block;padding:0 0 4px}
.presentation-step{font-size:11px;color:var(--presentation-accent);margin:0 0 8px}
.presentation-story h4{font-size:clamp(23px,2.3vw,30px);font-weight:500;letter-spacing:-.9px;line-height:1.25;margin:0 0 14px}
.presentation-story>p:not(.presentation-step),.cafe-story-copy>p{font-size:14px;line-height:1.8;color:var(--presentation-muted);max-width:74ch;margin:0 0 16px}
.presentation-story ul{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:0}
.presentation-story li{font-size:12px;line-height:1.5;color:#d8c4b4;padding:0}
.presentation-story li::before{content:'·';margin-right:8px;color:var(--presentation-accent)}
.presentation-controls{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding:20px 0 0;border-top:1px solid #ffffff1c}
.presentation-controls button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 14px;border:1px solid #ffffff24;border-radius:8px;background:#ffffff04;color:#f5e8dc;font:inherit;font-size:12px;transition:background .2s}
.presentation-controls button:hover:not(:disabled){background:#edb58c20;border-color:#edb58c60}
.presentation-controls button:disabled{opacity:.3;cursor:default}
.presentation-controls p{font-size:11px;color:var(--presentation-muted);text-align:center;margin:0}
.presentation-footer{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;border-top:1px solid #ffffff1c;margin-top:30px;padding-top:20px}
.presentation-footer>span{font-size:12px;color:var(--presentation-accent)}
.presentation-footer p,.presentation-footer small{font-size:11px;color:var(--presentation-muted);line-height:1.7;margin:0}
.presentation-footer small{width:100%;color:#9f958d}
.project-presentation button:focus-visible{outline:2px solid var(--presentation-accent);outline-offset:3px}
@media(max-width:900px){.project-presentation-dialog{padding:30px 24px}.project-presentation{grid-template-columns:120px minmax(0,1fr);gap:0 20px}.presentation-chapters button{font-size:12px;padding:10px 8px;gap:8px}.project-presentation--cafepilot .presentation-heading{grid-template-columns:1fr;gap:12px}}
@media(max-width:620px){.project-presentation-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:26px 18px;border-radius:14px}.project-presentation-dialog [data-dialog-content]{max-height:calc(100dvh - 72px);padding-right:0;scrollbar-gutter:auto}.project-presentation{display:block}.presentation-heading{padding-right:34px;margin-bottom:16px;padding-bottom:20px}.presentation-heading h3{font-size:36px}.presentation-subtitle{font-size:16px}.presentation-intro{font-size:13px}.presentation-chapters{display:flex;flex-direction:row;overflow:auto;position:sticky;top:0;z-index:2;background:#1c1a19;gap:6px;padding:8px 0 16px;margin-bottom:4px;scrollbar-width:thin}.presentation-chapters button{width:auto;flex-shrink:0;min-height:44px;padding:10px 12px;white-space:nowrap}.presentation-slide{gap:20px}.presentation-image{aspect-ratio:16/10}.presentation-story h4{font-size:25px}.presentation-story>p:not(.presentation-step),.cafe-story-copy>p{font-size:13px}.presentation-controls{gap:8px;flex-wrap:wrap;margin-top:18px}.presentation-controls p{order:3;width:100%;margin-top:8px}.presentation-footer{margin-top:24px}.cafe-principles{font-size:11px}.project-presentation-dialog .dialog-close{right:8px;top:8px;width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.project-presentation *{transition:none!important}}
