.project-view{overflow:hidden}.project-stage{position:fixed;inset:0;overflow:hidden;background:var(--paper)}.project-stage.experiment-stage{min-height:0}.project-stage iframe{display:block;border:0;width:100%;height:100%}.project-stage .experiment-phrase{font-size:clamp(60px,12vw,210px);max-width:90vw}.project-stage .trail-card{width:min(var(--trail-size,130px),24vw)}.project-stage .trail-card-still{width:min(var(--trail-size,130px),20vw)}.project-stage .trail-phrase{max-width:75vw}.project-header{padding:25px 32px;background:none}.project-header>*{filter:drop-shadow(0 1px 6px #f5f2eb55)}.project-back{font-size:12px;text-decoration:none;display:flex;align-items:center;gap:12px;justify-self:start;min-height:40px}.project-bottom{position:fixed;inset:auto 30px 26px;z-index:35;display:flex;justify-content:space-between;align-items:end;gap:20px;pointer-events:none}.project-bottom>*{pointer-events:auto}.project-caption{padding:0 4px 14px;pointer-events:none}.project-caption h1{font-size:14px;font-weight:500;letter-spacing:-.025em;margin:0 0 5px}.project-caption p{font-size:11px;margin:0;opacity:.65;max-width:330px}.project-action-group,.project-controls-toggle{display:flex;align-items:center;background:#f8f6efed;backdrop-filter:blur(16px);box-shadow:0 4px 30px #2631240e;border:1px solid #363b2c1b;border-radius:12px;padding:5px;gap:2px;color:#363b2c}.project-action-group>*{min-height:40px;padding:0 14px;font-size:11px;border-radius:8px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.project-action-group>button:hover{background:#363b2c0a}.project-action-group .project-primary{background:#363b2c;color:#f5f2eb}.project-action-group .project-primary:hover{background:#50573f}.project-action-group [aria-pressed=true]{background:#e3e8d5}.project-controls-toggle{gap:12px;padding:0 18px;min-height:52px;font-size:12px}.project-controls-toggle[aria-expanded=true]{background:#e4e8d8}.project-controls-toggle svg{width:17px}.project-panel{position:fixed;right:30px;bottom:90px;z-index:40;width:300px;max-height:calc(100dvh - 180px);overflow:auto;padding:22px;border:1px solid var(--line);border-radius:16px;background:#f8f6eff5;backdrop-filter:blur(20px);box-shadow:0 20px 70px #25302215}.project-panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.project-panel-heading h2{font:25px var(--serif);font-weight:400;margin:0}.project-panel-heading button{font-size:24px;line-height:1;padding:4px}.project-panel form{display:grid;gap:20px}.project-control{display:grid;gap:10px;font-size:11px}.project-control-top{display:flex;justify-content:space-between;gap:10px}.project-control output{font-size:10px;color:var(--muted)}.project-control input[type=range]{width:100%;accent-color:#687642}.project-control input[type=text],.project-control select{width:100%;border:1px solid var(--line);padding:10px;border-radius:6px;background:#fff8;font-size:12px}.project-control input[type=color]{padding:0;width:100%;height:33px;background:none;border:1px solid var(--line);border-radius:5px;cursor:pointer}.project-control input[type=checkbox]{accent-color:#687642;justify-self:start;width:18px;height:18px}.project-control-actions{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.project-control-actions button{padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:11px;flex:1}.project-panel>.quiet{font-size:10px;margin-bottom:0}.project-dialog{width:min(500px,calc(100vw - 32px));border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);padding:52px 35px 35px;max-height:85dvh;overflow:auto}.project-dialog::backdrop{background:#28312640;backdrop-filter:blur(5px)}.project-dialog .dialog-close{top:10px;right:14px}.project-dialog h2{font:43px/1 var(--serif);letter-spacing:-.03em;margin:12px 0 23px;font-weight:400}.project-dialog p{font-size:13px;line-height:1.75;white-space:pre-wrap}.project-dialog a{font-size:12px}.project-dialog .eyebrow{font-size:9px}.project-dialog textarea{width:100%;min-height:200px;resize:vertical;background:#fff7;border:1px solid var(--line);border-radius:8px;padding:14px;font-size:12px;line-height:1.65}.project-dialog .file-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.project-loading,.project-error{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);text-align:center;font-size:13px;max-width:500px;width:calc(100% - 40px)}.project-error h1{font:50px/1.05 var(--serif);font-weight:400}.project-error p{line-height:1.7}.project-error a{display:inline-block;margin-top:15px}.project-view.is-detail{overflow:auto}.project-view.is-detail .project-stage{position:relative;overflow:visible;padding-top:80px}.project-view.is-detail .project-header{background:var(--paper)}.project-view.is-standalone .project-header,.project-view.is-standalone .project-chrome,.project-view.is-standalone .skip-link{display:none}.project-view .toast{bottom:100px}.project-view .elastic-phrase{padding-inline:5vw;max-width:100vw}.project-view .elastic-word{white-space:normal}.project-view .elastic-word>span{overflow-wrap:anywhere}@media(max-width:650px){.project-header{padding:16px;grid-template-columns:45px 1fr 45px}.project-back span{display:none}.project-bottom{inset:auto 14px calc(14px + env(safe-area-inset-bottom));gap:10px;align-items:end}.project-caption{padding-bottom:11px}.project-caption p{max-width:230px;font-size:10px}.project-action-group{gap:0}.project-action-group>*{padding:0 10px;font-size:10px;min-height:39px}.project-controls-toggle{width:46px;min-height:51px;padding:0;justify-content:center;flex-shrink:0}.project-controls-toggle span{display:none}.project-panel{right:14px;bottom:calc(78px + env(safe-area-inset-bottom));width:min(300px,calc(100vw - 28px));max-height:calc(100dvh - 160px)}.project-stage .experiment-phrase{font-size:clamp(45px,13vw,85px)}.project-dialog{padding:50px 24px 25px}.project-dialog h2{font-size:36px}.project-view .toast{bottom:145px}}
/* Keep the shared navigation readable over every uploaded colour palette. */
.project-header{background:linear-gradient(180deg,#f5f2ebf5 0%,#f5f2ebd9 62%,transparent 100%)}
.project-caption{display:table;max-width:100%;padding:9px 12px;margin-bottom:8px;color:#363b2c}
@media(max-width:650px){.project-caption{padding:8px 10px;margin-bottom:7px}}
