:root{--wine:#401726;--wine-deep:#211019;--cream:#f6e8d6;--muted:#dac6bc;--surface:#532437;--line:#ead9c62e;--sans:'Helvetica Neue',Arial,sans-serif;--serif:Georgia,'Times New Roman',serif;color-scheme:dark}
body{background:var(--wine-deep);font-family:var(--sans)}
.shell{max-width:1456px;padding-inline:clamp(20px,5vw,86px)}
.site-header{background:rgba(35,15,25,.92);border-color:#f8dfc11e}
.header-inner{min-height:74px}.brand{font-family:var(--serif);font-weight:500;letter-spacing:-.055em}
.desktop-nav,.mobile-nav{font-size:14px}.desktop-nav>a:not(.button){position:relative}.desktop-nav>a:not(.button):after{content:'';position:absolute;inset:auto 0 -4px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .28s}.desktop-nav>a:hover:after,.desktop-nav>a:focus-visible:after{transform:scaleX(1)}
.button,.paper-cta,.quiet{transition:transform .25s,background .25s,color .25s}.button:hover,.quiet:hover,.paper-cta:hover{transform:translateY(-2px)}
.opening,.editorial-hero{position:relative;background:radial-gradient(ellipse at 74% 40%,#834955 0%,#602b40 22%,#361727 49%,#211019 83%);isolation:isolate;overflow:hidden}
.stage-grid{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:center;min-height:clamp(560px,73vh,765px);gap:1%}
.opening-copy{padding-block:52px;position:relative;z-index:1}
.opening-copy h1,.project-cover h1{font:500 clamp(65px,7vw,119px)/.93 var(--sans);letter-spacing:-.078em;color:var(--cream)}
.opening-copy em,.project-cover em{font:italic 400 1em/.98 var(--serif);letter-spacing:-.075em;color:#e3c3a7}
.opening-copy>p:not(.kicker){font:400 clamp(16px,1.23vw,20px)/1.52 var(--sans);max-width:41ch;color:var(--muted);margin:24px 0}
.opening-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 23rem;
  gap: 12px;
}
.opening-actions .button {
  min-width: 0;
  padding-inline: clamp(8px, 1.4vw, 22px);
}
.quiet{display:inline-flex;align-items:center;min-height:44px;font:500 14px/1.35 var(--sans);text-decoration:underline;text-underline-offset:5px}
.exhibit{min-width:0;display:grid;justify-items:center;align-content:center;position:relative;padding-block:20px}
.object-stage{position:relative;isolation:isolate;width:100%;height:clamp(330px,32vw,500px)}
.object-stage:before{content:'';position:absolute;z-index:-1;bottom:2%;left:18%;right:12%;height:9%;background:#17081277;filter:blur(19px);border-radius:100%}
.object-stage canvas,.studio-poster{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}
.object-stage canvas{cursor:grab;touch-action:pan-y}.object-stage canvas:active{cursor:grabbing}.object-stage[data-renderer=live] .studio-poster,.object-stage[data-renderer=poster] canvas,.object-stage[data-renderer=poster] .rotate{visibility:hidden}
.rotate{position:absolute;right:3%;bottom:8%;width:44px;height:44px;background:#321923a8;color:var(--cream);border:1px solid #fff0d242;border-radius:100%;font-size:23px}
.model-select{z-index:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:8px;gap:2px;padding:4px;border:1px solid #f5dfc445;border-radius:30px;background:#31121fbd}
.model-select button,.demo-switch button{appearance:none;min-height:40px;padding:9px 16px;border:0;border-radius:24px;background:transparent;color:var(--muted);font:500 14px/1.23 var(--sans)}
.model-select button:hover{color:#fff}.model-select button[aria-pressed=true]{color:#3d1c2b;background:#f3e3ce}
.lab{color-scheme:light;--cream:#401c2c;--muted:#684c53;color:#401c2c;background:linear-gradient(130deg,#f9f1e4,#eee0cf);padding:clamp(50px,6vw,90px) 0}
.lab-heading{display:flex;align-items:end;justify-content:space-between;gap:28px}.lab-heading>p{max-width:34ch;line-height:1.55}.studio-label{font:500 12px/1.4 ui-monospace,Menlo,monospace;text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px}
.lab h2,.solutions-overview h2,.how h2,.contact-ribbon h2{font:500 clamp(41px,5vw,77px)/1 var(--sans);letter-spacing:-.068em}
.solutions-overview h2 em,.how h2 em,.contact-ribbon h2 em{font:italic 400 1em/1 var(--serif);letter-spacing:-.065em}
.demo-switch{display:flex;gap:4px;flex-wrap:wrap;margin:27px 0 0;padding:12px 0;border-block:1px solid #56273538}
.demo-switch button{color:#684c53;min-height:44px}.demo-switch button[aria-pressed=true]{background:#4a2231;color:#fff4e3}
.demo-studio{display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:6%;padding:28px 0 8px;max-width:1050px;margin:auto}
.demo-route{list-style:none;padding:0;position:relative}.demo-route li{position:relative;display:flex;gap:14px;align-items:center;min-height:53px;color:#80646c;font-size:17px}
.demo-route li:not(:last-child):before{content:'';position:absolute;left:15px;top:calc(50% + 15px);height:calc(100% - 30px);width:1px;background:#bea295}.demo-route .pin{display:grid;place-items:center;width:31px;height:31px;border:1px solid #ad8e90;border-radius:100%;font-size:13px}.demo-route .is-current{color:#471e32;font-weight:600}.demo-route .is-current .pin{background:#56293a;color:#fff0d9}.demo-route .is-done .pin{color:#542435;background:#ddc6ba}
.simulation-note{font-size:13px;line-height:1.45;color:#735861;margin-top:16px;max-width:31ch}
.demo-paper{border:1px solid #d5c1ad;box-shadow:0 12px 33px #4d203012,3px 4px 0 #dcc7b4;background:#fff9ef;padding:clamp(20px,3vw,40px);border-radius:12px;min-height:300px;min-width:0}
.paper-head{color:#765b60;font:500 12px/1.4 ui-monospace,Menlo,monospace;letter-spacing:.045em;border-bottom:1px solid #ded0c0;padding-bottom:13px;margin-bottom:17px}
.demo-paper h3{font:400 clamp(26px,3vw,38px)/1.06 var(--serif);letter-spacing:-.05em;margin-bottom:16px}.demo-paper p,.demo-paper blockquote{font-size:15px;line-height:1.5}.demo-paper blockquote{margin:0 0 12px;overflow-wrap:anywhere}
.demo-label{display:block;color:#624751;font-size:13px;margin-bottom:5px}
.demo-paper :is(textarea,select,input){background:#fcf5e8;color:#471e31;border:1px solid #bca397;border-radius:6px;max-width:100%;width:100%;font-size:16px;line-height:1.4;padding:10px 12px}.demo-paper textarea{resize:vertical}.lab :focus-visible{outline:2px solid #88435b;outline-offset:3px}
.paper-actions{display:flex;gap:10px;margin-top:15px;align-items:center;flex-wrap:wrap}.paper-cta,.paper-back{border:0;min-height:44px;font-size:14px}.paper-cta{padding:10px 17px;border-radius:25px;background:#4b2032;color:#fff0dc}.paper-back{background:transparent;color:#5a3540;text-decoration:underline}
.record-rows{display:grid;grid-template-columns:minmax(80px,.65fr) minmax(0,1.35fr)}.record-rows>*{padding:8px 0;border-bottom:1px solid #dccbbd;font-size:14px;overflow-wrap:anywhere}.record-rows dt{color:#765c62;padding-right:10px}.draft-status{color:#765c62;font-style:italic}
.solutions-overview,.how,.contact-ribbon{padding-block:clamp(55px,7vw,105px)}
.solutions-table{margin-top:32px}.solution{display:grid;grid-template-columns:1fr .85fr auto;align-items:center;gap:24px;border-top:1px solid var(--line);padding:24px 0;transition:padding .25s,background .25s}.solution:last-child{border-bottom:1px solid var(--line)}
.solution:hover,.solution:focus-visible{background:#69314336;padding-inline:14px}.solution>span{font:400 clamp(23px,3vw,42px)/1.12 var(--serif);letter-spacing:-.045em}.solution p{color:var(--muted);font-size:15px;max-width:42ch}.solution i{font:400 27px var(--sans);color:#e1bda4}
.how,.editorial-hero+.section{background:#381b29}.how-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%}.how .quiet{margin-top:16px}
.how details,.reading{border-top:1px solid var(--line)}.how summary,.reading summary{cursor:pointer;min-height:49px;list-style:none;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:15px 0;font:500 20px/1.3 var(--sans)}.how summary:after,.reading summary:after{content:'+';color:#d9b8a4}.how details[open] summary:after,.reading[open] summary:after{content:'−'}.how details p,.reading>div{color:var(--muted);padding-bottom:22px;line-height:1.65}
.contact-ribbon{background:radial-gradient(ellipse at 85% 30%,#783449,#512334 55%,#3b1a29)}.contact-ribbon>.shell{display:flex;align-items:center;justify-content:space-between;gap:25px}
.site-footer{background:#1d1018}.footer-contact .social-link{display:inline-flex;min-height:44px;align-items:center;gap:7px;align-self:start;font-size:14px}.social-link b{display:grid;place-items:center;width:19px;height:19px;border-radius:3px;background:var(--cream);color:#421c2c;font:bold 15px/1 Arial}
.editorial-hero .stage-grid{min-height:490px}.editorial-hero h1{font-size:clamp(43px,5.3vw,84px)}.editorial-hero .kicker{margin-bottom:20px}
.information-layout{padding-block:45px}.reading summary{font-family:var(--serif);font-size:clamp(22px,2.1vw,32px)}.reading p+p{margin-top:12px}.reading ul{padding-left:22px}.reading li{margin-top:8px}
.project-cover{padding-block:clamp(45px,6vw,90px) 30px}.project-cover h1{font-size:clamp(53px,6.6vw,95px)}.project-cover p{max-width:55ch;margin-top:20px;color:var(--muted)}.page-project{background:radial-gradient(ellipse at 92% 10%,#57283b,transparent 46%),#2b1420}.project-section{padding-top:20px}.page-information .information-hero{background:linear-gradient(110deg,#301522,#512437)}
@media(min-width:1000px){.demo-map{padding-left:5%}}
@media(max-width:820px){.stage-grid{grid-template-columns:1fr 1fr;min-height:460px}.opening-copy h1{font-size:clamp(56px,8vw,72px)}.editorial-hero h1{font-size:clamp(42px,6vw,58px)}.model-select button{padding-inline:10px;font-size:13px}.object-stage{height:320px}.opening-copy{padding-block:35px}}
@media(max-width:660px){.stage-grid{grid-template-columns:1fr;gap:0;min-height:0}.opening-copy{padding:37px 0 0}.opening-copy h1{font-size:clamp(55px,11vw,74px)}.opening-copy>p:not(.kicker){margin:15px 0}.opening-actions{gap:12px}.opening-actions .button{min-height:44px}.exhibit{padding:4px 0 25px}.object-stage{height:clamp(228px,60vw,325px)}.model-select{margin:0}.model-select button{min-height:44px}.lab-heading{display:block}.lab-heading>p{margin-top:12px}.demo-studio{grid-template-columns:1fr;gap:12px;padding-top:10px}.demo-route{display:flex;justify-content:space-between}.demo-route li{font-size:13px;min-height:36px;gap:5px}.demo-route .pin{width:23px;height:23px}.demo-route li:not(:last-child):before{display:none}.simulation-note{max-width:none;margin:4px 0}.demo-switch{margin-top:15px;gap:0}.demo-switch button{padding:7px 10px;font-size:13px}.demo-paper{min-height:0}.solution{grid-template-columns:1fr auto;gap:6px}.solution p{grid-row:2}.solution i{grid-column:2;grid-row:1/3}.how-grid{grid-template-columns:1fr;gap:20px}.contact-ribbon>.shell{align-items:flex-start;flex-direction:column}.editorial-hero .stage-grid{min-height:0}.header-inner{min-height:62px}.editorial-hero h1{font-size:45px}.editorial-hero .object-stage{height:220px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}::view-transition-group(*){animation-duration:.01ms!important}}
@media(min-width:661px) and (prefers-reduced-motion:no-preference){.opening-copy{animation:kv-arrive .72s both cubic-bezier(.18,.67,.23,1)}.opening .exhibit{animation:kv-arrive .95s both cubic-bezier(.18,.67,.23,1)}@keyframes kv-arrive{from{transform:translateY(15px);opacity:.2}to{transform:none;opacity:1}}}
@media(prefers-reduced-motion:no-preference){.demo-route .is-current .pin{animation:kv-pulse .48s ease-out}@keyframes kv-pulse{from{box-shadow:0 0 0 0 #88496180}to{box-shadow:0 0 0 9px #88496100}}}
/* Native page scrolling drives the opening shot. The real demo stays in document flow. */
.entry-cue{display:none}
html.entry-film .opening{height:calc(var(--shot-height) + var(--shot-travel));overflow:visible;background:#281421}
html.entry-film .entry-pin{position:sticky;top:var(--shot-header);height:var(--shot-height);overflow:hidden;background:radial-gradient(ellipse at 68% 53%,#844957,#512235 43%,#281421 82%)}
html.entry-film .opening .stage-grid{height:100%;min-height:0;position:relative;display:flex}
html.entry-film .opening-copy{width:44%;z-index:3;opacity:var(--intro-alpha,1);transform:translateY(var(--intro-y,0px));animation:none}
html.entry-film .opening .exhibit{position:absolute;inset:0;display:block;padding:0;animation:none}
html.entry-film .opening .object-stage{height:100%;width:100%}
html.entry-film .opening .object-stage:before{display:none}
html.entry-film .opening .model-select{position:absolute;bottom:7%;right:5%;opacity:var(--intro-alpha,1)}
html.entry-film .opening .rotate{right:4%;bottom:22%;opacity:var(--intro-alpha,1)}
html.entry-film .entry-cue{display:flex;align-items:center;gap:12px;position:absolute;bottom:8%;left:max(5%,calc((100vw - 1456px)/2 + 5%));opacity:var(--intro-alpha,1);font:500 12px/1.3 var(--sans);color:#e2c6bb;pointer-events:none}
.entry-cue i{display:block;width:1px;height:29px;background:linear-gradient(transparent,#efd5b8)}
html.entry-film .entry-anchor{position:relative;z-index:2;margin-top:calc(-1 * var(--shot-height));overflow:visible;pointer-events:none}
html.entry-film .entry-anchor>.lab{transform-origin:0 0;backface-visibility:hidden;min-height:var(--shot-height);pointer-events:auto;background:#f4e9da}
html.entry-film .entry-anchor>.lab[inert]{pointer-events:none;will-change:transform;opacity:var(--screen-alpha,0);clip-path:inset(0 0 max(0px,calc(100% - var(--shot-height))) 0)}
html.entry-film .entry-anchor{scroll-margin:0}
@media(max-width:660px){
html.entry-film .opening .stage-grid{align-items:flex-start}
html.entry-film .opening-copy{width:100%;padding-top:clamp(16px,4svh,32px)}
html.entry-film .opening-copy h1{font-size:clamp(42px,min(11vw,7.7svh),64px)}
html.entry-film .opening-copy>p{margin:10px 0;font-size:15px;line-height:1.35}
html.entry-film .opening .model-select{bottom:2%;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;flex-wrap:nowrap}
html.entry-film .opening .rotate{bottom:12%;right:3%}
html.entry-film .entry-cue{display:none}
}
/* The demo changes height as its panels slide. Keep the scroll-driven camera at the visitor’s position. */
html.entry-film{scroll-padding-top:var(--shot-header);overflow-anchor:none}
html.entry-film:has(.lab:focus-within){scroll-behavior:auto}
html.entry-film .opening .stage-grid{max-width:none;padding-inline:max(5%,calc((100vw - 1456px)/2 + 5%))}
@media(max-width:660px) and (max-height:680px){
  html.entry-film .opening-copy{padding-top:12px}
  html.entry-film .opening-copy h1{font-size:clamp(34px,7vw,44px)}
  html.entry-film .opening-copy>p{font-size:14px;max-width:42ch}
}
@media(max-width:660px) and (min-height:680px){
  html.entry-film .entry-cue{display:flex;bottom:12%;left:5%}
  html.entry-film .entry-cue i{height:18px}
}
/* The public demo opens into one workspace with three native tools. */
:root{--wine-deep:#32101b;--wine:#461724}
.site-header,.mobile-nav,.site-footer{background:var(--wine)}
.opening,.editorial-hero,html.entry-film .entry-pin{background:radial-gradient(ellipse at 71% 38%,#6b3545 0%,#542435 32%,#461724 66%,#39131f 100%)}
html.entry-film .opening{background:#461724}
.how,.editorial-hero+.section{background:#542435}
.entry-anchor>.lab,html.entry-film .entry-anchor>.lab{padding:0;background:#461724 url('./silk.svg') center/cover no-repeat;color:#622b40}
.entry-anchor>.lab>.shell{max-width:none;padding:0 0 clamp(36px,6vh,85px)}
.desk-bar{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(15px,3vw,54px);color:#623047;background:#f1ddc4;border-bottom:1px solid #d5b39a}
.desk-bar h2{display:flex;align-items:center;gap:12px;font:500 17px/1.1 var(--sans);letter-spacing:-.03em}
.desk-mark{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;background:#461724;color:#fff0d6;font:italic 20px/1 Georgia}
.desk-bar>span{font:500 12px/1.3 var(--sans)}
.lab [data-workbench]{width:min(1040px,91%);margin:clamp(23px,6vh,75px) auto 0}
.lab .demo-studio{padding:0;gap:0;display:grid;grid-template-columns:clamp(157px,20%,235px) minmax(0,1fr);align-items:stretch;overflow:hidden;border:1px solid #f6ddbcac;border-radius:16px;background:#fcf2e3;box-shadow:0 24px 70px #60223965,0 3px 12px #692c3f40}
.demo-studio .demo-map{display:flex;flex-direction:column;padding:24px 12px 15px;background:linear-gradient(130deg,#efdbc2,#e3c4ac);border-right:1px solid #cfae98}
.rail-name,.pane-heading{font:600 12px/1.35 var(--sans);letter-spacing:.02em}
.rail-name{padding:4px 10px 12px;color:#764456}
.lab .demo-switch{display:grid;gap:4px;align-items:start;border:0;margin:0;padding:0}
.lab .demo-switch button{display:flex;align-items:center;gap:10px;justify-content:flex-start;background:transparent;color:#683247;border:0;border-radius:9px;min-height:44px;padding:8px 11px;text-align:left;font-size:14px}
.lab .demo-switch button[aria-pressed=true]{background:#461724;color:#fff2de}
.lab .demo-switch button:hover:not([aria-pressed=true]){background:#fff0d88c}
.lab svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.lab .simulation-note{margin-top:auto;padding:21px 10px 0;color:#764958;font-size:11.5px}
.lab .demo-paper{padding:0;background:#fdf4e6;border:none;border-radius:0;box-shadow:none;min-height:410px;display:flex;flex-direction:column}
.pane-heading{display:flex;align-items:center;gap:9px;background:#f6e8d5;padding:13px 22px;border-bottom:1px solid #dcc8b5;color:#754157}
.lab .demo-route{display:flex;align-items:center;gap:0;margin:13px clamp(15px,3vw,34px) 0}
.lab .demo-route li{min-height:28px;display:flex;align-items:center;gap:6px;color:#856374;font-size:12px}
.lab .demo-route li:not(:last-child):before{display:none}
.lab .demo-route li:not(:last-child):after{content:'';margin:0 8px;width:clamp(8px,2.4vw,36px);height:1px;background:#b88c90}
.lab .demo-route .pin{width:21px;height:21px;border-color:#bc9894;font-size:11px}
.lab .demo-route .is-current{color:#752f4a}.lab .demo-route .is-current .pin{background:#461724}
.document-body{flex:1;padding:19px clamp(16px,3vw,34px) 15px}
.document-body h3{font:400 clamp(27px,3vw,41px)/1.07 var(--serif);letter-spacing:-.055em;color:#652b43;margin:0 0 16px}
.message-from{display:flex;align-items:center;gap:8px;font-size:12px;color:#79485a;margin-bottom:13px}
.message-from .initial{display:grid;place-items:center;width:25px;height:25px;border:1px solid #c5a291;border-radius:50%;background:#f1d8bf;font:italic 16px Georgia}
.lab .demo-paper :is(textarea,select,input){background:#fff9ed;color:#63293e;border:1px solid #cbaea0}
.lab .draft-editor{line-height:1.6;resize:vertical;min-height:110px}
.lab .paper-actions{margin:0;padding:13px clamp(16px,3vw,34px);border-top:1px solid #dfcbb7;background:#f9eddb}
.lab .paper-cta{background:#461724;color:#fff1dc}
.lab .received-text{margin:6px 0 15px;border-left:3px solid #a36374;background:#f3e3d1;padding:11px 15px;color:#613449}
.lab .record-rows{padding:0;margin:0}
.planner-spread{display:grid;grid-template-columns:minmax(135px,.85fr) minmax(135px,1fr);gap:22px;align-items:center}
.month-name,.original-date{display:block;color:#76384e;font:500 16px/1.32 var(--sans);margin-bottom:6px}
.month-name::first-letter{text-transform:uppercase}
.month-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:2px;max-width:215px}
.month-grid span{font-size:12px;line-height:1.65;color:#703c50}
.month-grid .weekday{color:#886474;font-size:10px}.month-grid .selected-date{border-radius:8px;background:#461724;color:#fff1da}
.planner-input>strong{margin-bottom:13px}.planner-spread .record-rows{display:block}.planner-spread .record-rows dt{border:0;padding:5px 0 0}
.demo-paper[data-app=writing] .document-body{background:repeating-linear-gradient(0deg,#f8ead680 0 1px,transparent 1px 26px),#fdf4e6}
@media(max-width:660px){
.lab [data-workbench]{width:94%;margin-top:14px}
.lab .demo-studio{display:flex;flex-direction:column;border-radius:12px}
.demo-studio .demo-map{border-right:0;border-bottom:1px solid #d3b89e;padding:5px 6px}
.lab .demo-switch{display:flex;gap:3px}.lab .demo-switch button{flex:1;justify-content:center;gap:4px;padding:6px 3px;font-size:12px}
.lab .demo-switch svg{width:15px;height:15px}.lab .rail-name{display:none}
.lab .simulation-note{margin:0;padding:3px 5px 1px;font-size:11px}
.lab .demo-paper{min-height:347px}.pane-heading{padding:9px 16px}
.planner-spread{gap:10px;grid-template-columns:1fr 1fr}.lab input[type=date]{padding:6px 3px}
.document-body{padding-top:12px}.desk-bar{height:44px}.desk-bar h2{font-size:15px}
}

.desk-viewport{position:relative;min-width:0;overflow:hidden;isolation:isolate;background:#f6e8d5}
.desk-viewport>.demo-paper{position:relative}
.desk-viewport>.departing{position:absolute;inset:0 0 auto;pointer-events:none}
.lab .demo-switch{position:relative;isolation:isolate;grid-auto-rows:1fr}
.lab .demo-switch::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:0 0 auto;height:calc((100% - 8px)/3);border-radius:9px;background:#461724;transform:translateY(calc(var(--application,0) * (100% + 4px)));transition:transform .48s cubic-bezier(.22,.74,.18,1)}
.lab .demo-switch button[aria-pressed=true]{background:transparent}
@media(max-width:660px){
 .lab .demo-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .lab .demo-switch::before{inset:0 auto 0 0;height:auto;width:calc((100% - 6px)/3);transform:translateX(calc(var(--application,0) * (100% + 3px)))}
}

.lab .draft-notice{margin:8px 0;color:#6b3244}
@media(max-width:400px){.lab .demo-route li{font-size:11px;gap:3px}.lab .demo-route li:not(:last-child):after{width:7px;margin:0 3px}}

/* The same sheet is received, scheduled and opened as a draft. */
.enquiry-file{box-sizing:border-box;min-width:0;padding:13px 15px 14px;border:1px solid #d5b9a2;border-inline-start:3px solid #64293d;border-radius:9px;background:#fff7e9;color:#461724;box-shadow:0 3px 9px #4617240c}
.file-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:10px;font:500 12px/1.35 var(--sans)}
.file-head strong{font-weight:600}.file-head svg{width:15px;height:15px}.file-date{margin-inline-start:auto;color:#76485a;font-variant-numeric:tabular-nums}
.enquiry-file .demo-label{display:block}.planner-input .enquiry-file{margin-top:12px}
.lab .enquiry-file .received-text,.file-excerpt{margin:0;padding:0;border:0;background:transparent;color:#5b3241;font:400 14px/1.45 var(--sans);white-space:pre-line;overflow-wrap:anywhere}
.lab .file-in-flight{position:absolute;inset:0 auto auto 0;z-index:3;overflow:hidden;transform-origin:50% 50%;pointer-events:none;box-shadow:0 12px 25px #46172424}
.demo-paper[data-app=writing] .enquiry-file{background:linear-gradient(130deg,#fff8eb,#fbefde)}
@media(max-width:660px){
 .planner-spread:has(.enquiry-file){grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}
 .enquiry-file{padding:10px}.file-head{gap:4px}.file-date{margin-inline-start:0}
}

.file-in-flight{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-content:start}
.file-in-flight .file-excerpt,.flight-draft{grid-column:1;grid-row:2;min-height:0}
.flight-draft p{margin:0;padding:10px 12px;border:1px solid #cbaea0;border-radius:6px;white-space:pre-line;background:#fff9ed;font:400 16px/1.5 var(--sans)}

.desk-bar .tour-control{flex:none;min-height:36px;padding:4px 14px;border:1px solid #ac8777;border-radius:20px;background:#f9ecda;color:#461724;font:600 13px/1.3 var(--sans);cursor:pointer}
.desk-bar .tour-control:hover{background:#fff5e5}

.lab .paper-actions:has(.project-invitation){padding:0;border-top:0}
.lab .paper-actions:has(.project-invitation)>.paper-cta{margin:8px 16px}
.project-invitation{flex:1 0 100%;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px clamp(16px,3vw,34px);background:linear-gradient(108deg,#461724 30%,#602738);color:#f0e2cc;text-decoration:none}
.project-invitation-title{font:400 clamp(23px,2.4vw,36px)/1.12 var(--serif);letter-spacing:-.04em}
.project-invitation-arrow{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #e6ccb38c;border-radius:50%;font:400 20px/1 var(--sans)}
.lab .project-invitation:focus-visible{outline:2px solid #f0e2cc;outline-offset:-5px}
@media(prefers-reduced-motion:no-preference){
 .project-invitation{animation:project-invitation-arrives .62s cubic-bezier(.2,.72,.24,1) 1.2s backwards}
 .project-invitation:focus{animation:none}
 .project-invitation-arrow{transition:transform .24s}
 .project-invitation:hover .project-invitation-arrow{transform:translate(2px,-2px)}
 .demo-paper:not([inert]) .project-invitation-title,.project-cover h1{view-transition-name:kivreo-project-title}
 ::view-transition-group(kivreo-project-title){animation-duration:.46s;animation-timing-function:cubic-bezier(.22,.74,.18,1)}
 @keyframes project-invitation-arrives{from{clip-path:inset(0 0 100%);opacity:0}to{clip-path:inset(0);opacity:1}}
}

.lab [data-workbench]{position:relative}
.lab .desk-underlay{position:absolute;inset:0 0 auto;width:100%;pointer-events:none}
.desk-project-window{position:relative;overflow:hidden;border:1px solid #d5b9a2;border-radius:16px;background:#fcf2e3;box-shadow:0 24px 70px #46172455}
.desk-project-frame{display:block;width:100%;height:clamp(280px,calc(100svh - 220px),740px);border:0;background:#fcf2e3;color-scheme:light}
.desk-form-document{scroll-padding:0;scroll-behavior:auto;color-scheme:light}
.desk-form-document .page-project{--wine:#461724;--cream:#461724;--muted:#73505a;--line:#d6beac;background:#fcf2e3;color:#461724}
.desk-form-document :is(.site-header,.site-footer,.skip-link,.direct-contact-callout,.project-cover p,.aside-note,.project-aside>a,.project-steps small,.step-kicker){display:none}
.desk-form-document .shell{max-width:900px;margin-inline:auto;padding-inline:clamp(15px,4vw,36px)}
.desk-form-document .project-cover{padding-block:18px 10px}
.desk-form-document .project-cover h1{font:400 clamp(24px,4vw,37px)/1.1 var(--serif);color:#461724;letter-spacing:-.045em}
.desk-form-document .project-cover h1 em{color:inherit;font-size:inherit}
.desk-form-document .project-section{padding:0}
.desk-form-document .project-layout{display:block;padding-bottom:20px}
.desk-form-document .project-aside{position:static}
.desk-form-document .project-steps{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.desk-form-document .project-steps li{margin:0;flex:0 1 auto}
.desk-form-document .project-steps button{min-height:44px;display:flex;flex-direction:row;align-items:center;gap:5px;width:auto}
.desk-form-document .step-badge{border-color:#b79383;color:#643344}
.desk-form-document [aria-current=step] .step-badge{color:#fcf2e3;background:#461724}
.desk-form-document .brief-card{margin-top:8px;padding:clamp(14px,3vw,26px);background:#fff8eb;color:#461724;border-color:#d6beac;border-radius:10px}
.desk-form-document .brief-progress{margin-bottom:14px}
.desk-form-document #project-form{position:relative;isolation:isolate;overflow:clip;overflow-clip-margin:4px}
.desk-form-document .brief-step{position:relative;background:#fff8eb}
.desk-form-document .brief-step.desk-step-exit[hidden]{display:block!important;position:absolute;inset:0 0 auto;z-index:-1;pointer-events:none}
.desk-form-document .step-heading{font-size:clamp(22px,3vw,32px)}
.desk-form-document .step-intro{margin:7px 0 15px}
.desk-form-document .need-options{gap:7px;margin-bottom:14px}
.desk-form-document .need-card{min-height:70px;padding:10px 12px;border-color:#c5a799;background:#f8ecd9;gap:2px}
.desk-form-document .need-card>span[aria-hidden]{display:none}
.desk-form-document .need-option>input:checked+.need-card,.desk-form-document .form-actions .button{background:#461724;color:#fff4e3}
.desk-form-document .need-option>input:checked+.need-card small{color:#f5e1ce}
.desk-form-document .field{margin-bottom:14px}
.desk-form-document .field :is(input,textarea,select){min-height:44px;margin-top:4px;background:#fffaf0;color:#461724;border-color:#c5a799;color-scheme:light}
.desk-form-document .field textarea{min-height:85px}
.desk-form-document .field :is(input,textarea)::placeholder{color:#81656d}
.desk-form-document .field select option{background:#fff8eb;color:#461724}
.desk-form-document .form-actions{padding-top:16px}
.desk-form-document .button-ghost{color:#461724;border-color:#b89182}
.desk-form-document :focus-visible{outline-color:#884961}
@media(max-width:660px){
 .desk-project-frame{height:clamp(260px,calc(100svh - 141px),760px)}
 .desk-form-document .project-steps{gap:8px}
 .desk-form-document .project-steps .step-badge{width:21px;height:21px}
 .desk-form-document .project-steps strong{font-size:11px}
}

.desk-receipt {
  position:relative; isolation:isolate; display:grid; place-items:center;
  min-height:100svh; box-sizing:border-box; overflow:hidden; padding:24px;
  background:radial-gradient(ellipse at 86% 16%,#683143,transparent 58%),#461724;
  color:#f5e6d3; text-align:center;
}
.desk-receipt::before,.desk-receipt::after {
  content:""; position:absolute; z-index:-1; pointer-events:none; border:1px solid #f0e2cc24;
  width:90%; aspect-ratio:1; border-radius:50%; right:-52%; top:-64%;
}
.desk-receipt::after {width:112%;right:-63%;top:-82%}
.receipt-content {width:min(100%,550px);padding:12px 0}
.receipt-stamp {width:58px;height:58px;display:block;margin:0 auto 22px;stroke:currentColor}
.receipt-stamp circle {stroke-width:1;opacity:.5}
.receipt-stamp path {stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.desk-form-document .desk-receipt h1 {font:400 clamp(32px,6.3vw,60px)/1.03 var(--serif);letter-spacing:-.045em;color:inherit;margin:0;text-wrap:balance;outline:none}
.desk-receipt p {max-width:45ch;margin:16px auto 0;color:#efdfd2;line-height:1.55;text-wrap:pretty}
.desk-receipt small {display:block;margin-top:24px;font-size:12px;color:#dfc4be}
@media (prefers-reduced-motion:no-preference) {
  .desk-receipt {animation:kivreo-receipt-surface .48s ease-out both}
  .receipt-content {animation:kivreo-receipt-arrive .6s cubic-bezier(.2,.8,.2,1) both}
  .receipt-stamp path {stroke-dasharray:1;animation:kivreo-receipt-tick .42s .17s ease-out both}
}
@keyframes kivreo-receipt-surface {from{opacity:0}to{opacity:1}}
@keyframes kivreo-receipt-arrive {from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes kivreo-receipt-tick {from{stroke-dashoffset:1}to{stroke-dashoffset:0}}

/* Both rows share a grid so the legal links align with the directory above. */
.signature-footer {
  --footer-grid: minmax(0, 1.28fr) minmax(0, 1fr) minmax(0, 1fr);
  --footer-gap: clamp(24px, 5vw, 82px);
  color: #faecdb;
  background: radial-gradient(ellipse at 2% 2%, #582539, #421825 57%, #38141f);
  border-top: 1px solid #9a6e70;
  padding-block: clamp(38px, 5vw, 72px) 14px;
}
.signature-grid, .signature-colophon {
  display: grid;
  grid-template-columns: var(--footer-grid);
  column-gap: var(--footer-gap);
  align-items: start;
}
.signature-wordmark {
  display: inline-flex;
  align-items: center;
  gap: .16em;
  color: #fff0dc;
  font: normal clamp(46px, 4.8vw, 72px)/.95 var(--serif);
  letter-spacing: -.062em;
}
.signature-wordmark svg { width: .55em; height: .63em; flex: none; }
.signature-identity p {
  margin: 14px 0 0;
  color: #e4c9bd;
  font: normal 15px/1.5 var(--sans);
}
.signature-directory {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.signature-directory h2 {
  margin: 0 0 10px;
  color: #e6c6b6;
  font: 500 14px/1.5 var(--sans);
  letter-spacing: .025em;
}
.signature-directory a, .signature-colophon a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.signature-directory a { font: 450 clamp(16px, 1.35vw, 19px)/1.4 var(--sans); }
.signature-social b {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: #e7cbbb;
  color: #451925;
  font: bold 12px/1 Arial, sans-serif;
  letter-spacing: -.06em;
}
.signature-external { font-size: .87em; color: #dec1b2; }
.signature-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.signature-footer a:focus-visible { outline: 2px solid #ffe4c7; outline-offset: 3px; border-radius: 3px; }
.signature-colophon {
  align-items: center;
  margin-top: clamp(28px, 4vw, 54px);
  border-top: 1px solid #916b71;
  padding-top: 9px;
  color: #ead4c7;
  font: normal 14px/1.45 var(--sans);
}
.signature-colophon a { justify-self: start; }
@media (max-width: 740px) {
  .signature-footer { --footer-grid: minmax(0, .94fr) minmax(0, 1.06fr); --footer-gap: clamp(16px, 5vw, 34px); }
  .signature-identity { grid-column: 1 / -1; margin-bottom: 28px; }
  .signature-directory h2 { margin-bottom: 4px; }
  .signature-colophon > span { grid-column: 1 / -1; padding-block: 9px 0; }
}
@media (max-width: 370px) {
  .signature-grid { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .signature-identity { margin-bottom: 0; }
}

.lab .demo-studio {grid-template-columns:minmax(0,1fr)}
.demo-studio .demo-map {background:#f3e2cd;padding:16px clamp(14px,3vw,34px) 12px;border:0;border-bottom:1px solid #d5b9a2}
.demo-premise {margin:0 0 10px;color:#63394a;font:400 clamp(14px,1.3vw,17px)/1.45 var(--sans)}
.lab .demo-switch {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;max-width:660px}
.lab .demo-switch button {justify-content:center;text-align:center}
.lab .demo-switch::before {inset:0 auto 0 0;height:auto;width:calc((100% - 8px)/3);transform:translateX(calc(var(--application,0) * (100% + 4px)))}
.example-edit {margin-top:7px}
.example-edit summary {cursor:pointer;color:#754358;text-decoration:underline;text-underline-offset:3px;font-size:13px;width:fit-content;padding:12px 0}
.example-edit[open] label {display:block}
.planner-input .original-date {margin:0}
.desk-bar {height:auto;min-height:52px;padding-block:6px;gap:12px}
@media (max-width:660px){
  .desk-bar {min-height:48px}
  .desk-bar h2 {gap:8px;line-height:1.2}
  .desk-mark {flex:none}
  .demo-studio .demo-map {padding:10px}
  .demo-premise {font-size:14px}
}

.case-actions {display:flex;align-items:flex-start;gap:4px 20px;flex-wrap:wrap}
.service-example {max-width:100%;min-width:0}
.service-example summary {width:fit-content;list-style:none;cursor:pointer}
.service-example summary::-webkit-details-marker {display:none}
.service-example[open] {width:100%}
.case-chevron {display:inline-block;font:500 17px/1 var(--sans)}
.service-example[open] .case-chevron {transform:rotate(180deg)}
.case-contact,.case-tour {display:inline-flex;align-items:center;min-height:44px;gap:7px;text-underline-offset:4px;font:500 14px/1.35 var(--sans)}
.case-contact {color:#f6e8d6;text-decoration:underline;text-decoration-color:#c49a93}
.case-sheet {margin:14px 0 4px;padding:clamp(18px,2.4vw,30px);max-width:57ch;border-radius:14px;background:#f8ecd9;color:#481b2b}
.case-sheet article[hidden] {display:none}
.case-sheet .case-caption {margin:0 0 9px;color:#774653;font:600 12px/1.3 var(--sans)}
.case-sheet h2 {margin:0 0 12px;color:#491b2a;font:400 clamp(24px,2.5vw,36px)/1.07 var(--serif);letter-spacing:-.04em}
.case-sheet p {margin:0;line-height:1.55;font-size:15px}
.case-result {border-left:2px solid #985a68;padding:0 0 0 14px;margin:16px 0 0}
.case-result h3 {font:600 14px/1.4 var(--sans);margin:0 0 4px}
.case-sheet .case-review {margin-top:12px;font-size:13px}
.case-tour {color:#60293c;margin-top:8px;text-decoration:underline}
.case-sheet :focus-visible {outline-color:#60293c}
@media (prefers-reduced-motion:no-preference){
 .service-example[open] .case-sheet {animation:kivreo-case-in .28s ease-out}
 @keyframes kivreo-case-in {from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
}

/* The real project link sits outside the simulated message, calendar and draft. */
.demo-studio > .project-invitation {min-height:54px}
.demo-studio:not([data-app=writing]) > .project-invitation {animation:none;background:#542536}
.demo-studio:not([data-app=writing]) > .project-invitation .project-invitation-title {font:500 15px/1.35 var(--sans);letter-spacing:normal}
.demo-studio:not([data-app=writing]) > .project-invitation em {font-style:normal}
.demo-studio > .project-invitation .project-invitation-title {view-transition-name:kivreo-project-title}
.lab .paper-actions:empty {display:none}

.order-figures {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.order-figures div {display:flex;flex-direction:column-reverse;justify-content:end;gap:4px;padding:10px;border-left:1px solid #d5b9a2}
.order-figures dt {color:#64414a;font:500 clamp(11px,1.4vw,14px)/1.3 var(--sans);overflow-wrap:anywhere}
.order-figures dd {margin:0;color:#63293e;font:400 clamp(27px,4vw,48px)/1 var(--serif)}
.order-action,.review-context,.review-status {color:#64414a;font:400 14px/1.45 var(--sans)}
.review-context {margin:0 0 12px}
.lab .paper-cta:disabled {background:#dac3b3;color:#4b2834;cursor:default}

.brief-example{background:#fcf4e7;color:#441927;border:1px solid #d5b9a2;border-radius:20px;overflow:hidden;box-shadow:0 12px 45px #35132233}
.brief-content{padding:clamp(18px,3vw,40px)}
.brief-content h3{margin:0 0 .65em;color:#511d31;font:400 clamp(27px,3.8vw,52px)/1.08 var(--serif);letter-spacing:-.04em}
.brief-pair{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:12px}
.brief-message,.brief-record{min-width:0;padding:clamp(12px,2vw,24px);border-radius:12px}
.brief-message{background:#f3e5d4}
.brief-record{background:#fffbf3;border:1px solid #d9c4af}
.brief-pair h4{font:650 15px/1.3 var(--sans);margin:0 0 .65em;color:#672b41}
.brief-message blockquote{margin:0;font:400 clamp(18px,2vw,25px)/1.35 var(--serif)}
.brief-arrow{align-self:center;font:400 25px/1 var(--sans);color:#773951}
.brief-record dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font:400 clamp(13px,1.4vw,16px)/1.4 var(--sans)}
.brief-record dt{color:#785761}.brief-record dd{margin:0;font-weight:600}
.brief-note{margin:1em 0 0;font:450 15px/1.45 var(--sans);color:#663748}
.brief-example>.project-invitation{animation:none}
@media(max-width:650px){
 .brief-pair{grid-template-columns:1fr;gap:5px}
 .brief-arrow{justify-self:center;transform:rotate(90deg);font-size:16px}
 .brief-example{border-radius:14px}.brief-content{padding:16px}
 .brief-example>.project-invitation{min-height:48px}
}
