.cex-scene { width:min(100%,450px); margin-inline:auto; color:var(--ink,#172036); font:400 14px/1.55 'Onest',sans-serif; text-align:left; }
.cex-scene *, .cex-scene *::before, .cex-scene *::after { box-sizing:border-box; }
.cex-scene h3, .cex-scene h4, .cex-scene p, .cex-scene dl, .cex-scene dd { margin:0; }
.cex-scene button { font:600 13px/1.4 'Onest',sans-serif; min-height:44px; cursor:pointer; touch-action:manipulation; }
.cex-scene button:focus-visible { outline:3px solid var(--orange,#e95a24); outline-offset:3px; }
.cex-scene svg { display:block; }
.cex-header { margin-bottom:25px; }
.cex-header p { color:#626b7a; font-size:12px; margin-bottom:7px; }
.cex-header h3 { font:500 clamp(20px,4.6vw,25px)/1.4 'Unbounded',sans-serif; letter-spacing:-.045em; overflow-wrap:anywhere; }
.cex-icon { flex:0 0 auto; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cex-content h4 { font:500 19px/1.45 'Unbounded',sans-serif; letter-spacing:-.04em; }
.cex-content > p { margin-top:12px; font-size:13px; max-width:35ch; }
.cex-person-note { display:flex; gap:12px; align-items:center; margin-top:24px; font-size:13px; font-weight:600; }
.cex-person-note small { color:#626b7a; font-size:11px; font-weight:400; }
.cex-avatar { display:grid; place-items:center; width:48px; height:48px; flex-shrink:0; background:var(--light,#f5f6f8); border:1px solid var(--line,#eceef1); border-radius:50%; color:var(--blue,#2146a8); font-size:16px; }
.cex-objects { width:100%; max-height:150px; margin-top:14px; }
.cex-content .cex-work-note { font-size:11px; color:#626b7a; margin-top:6px; }
.cex-contact { display:grid; gap:14px; margin-top:18px !important; }
.cex-contact dt { font-size:11px; color:#626b7a; }
.cex-contact dd { margin-top:3px; font-size:13px; overflow-wrap:anywhere; }
.cex-save,.cex-secondary,.cex-inline-save { display:flex; align-items:center; justify-content:center; gap:10px; border-radius:9px; padding:13px 15px; width:100%; }
.cex-save { margin-top:23px; color:#fff; background:var(--blue,#2146a8); border:1px solid var(--blue,#2146a8); }
.cex-secondary { color:var(--ink,#172036); background:#fff; border:1px solid var(--line,#eceef1); }
.cex-inline-save { margin-top:15px; color:var(--blue,#2146a8); background:var(--light,#f5f6f8); border:1px solid var(--line,#eceef1); }
.cex-example { font-size:11px; color:#626b7a; margin-top:12px !important; max-width:38ch; }
.cex-feedback { font-size:12px; color:var(--blue,#2146a8); }
.cex-feedback:not(:empty) { margin-top:12px; }
.cex-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
/* The envelope has a folding flap, a rising letter and a front pocket. */
.cex-envelope { padding:65px 8px 0; position:relative; }
.cex-letter-slot { display:grid; grid-template-rows:0fr; position:relative; z-index:2; opacity:0; visibility:hidden; transition:grid-template-rows .65s cubic-bezier(.2,.7,.2,1),opacity .2s,visibility 0s .65s; }
.cex-letter-clip { min-height:0; overflow:hidden; }
.cex-letter { padding:23px 23px 50px; margin-inline:10px; background:#fff; border:1px solid var(--line,#eceef1); border-radius:6px 6px 0 0; transform:translateY(110px); transition:transform .65s .12s cubic-bezier(.2,.7,.2,1); }
.cex-letter .cex-letter-greeting { font:500 20px/1.4 'Unbounded',sans-serif; margin-bottom:16px; }
.cex-letter > p { font-size:13px; }
.cex-letter-contact { display:grid; gap:4px; font-size:12px; margin-block:20px; overflow-wrap:anywhere; }
.cex-letter-contact strong { font-weight:600; font-size:14px; }
.cex-letter-note { color:#626b7a; font-size:11px !important; }
.cex-envelope-pocket { position:relative; min-height:165px; background:var(--light,#f5f6f8); border:1px solid #dce0e7; border-radius:0 0 9px 9px; perspective:900px; z-index:3; }
.cex-envelope-flap { position:absolute; top:-1px; left:-1px; right:-1px; height:99px; background:#e6eaf1; clip-path:polygon(0 0,100% 0,50% 100%); transform-origin:50% 0; transition:transform .5s cubic-bezier(.2,.7,.2,1); z-index:4; }
.cex-envelope-folds { position:absolute; inset:0; border-radius:0 0 8px 8px; overflow:hidden; }
.cex-envelope-folds::before,.cex-envelope-folds::after { content:''; position:absolute; inset:0; background:#fff; clip-path:polygon(0 0,56% 53%,0 100%); }
.cex-envelope-folds::after { clip-path:polygon(100% 0,44% 53%,100% 100%); }
.cex-envelope-address { position:relative; z-index:5; padding:91px 22px 20px; font-size:11px; pointer-events:none; }
.cex-envelope-address strong { display:block; font-size:13px; font-weight:600; }
.cex-envelope-stamp { position:absolute; right:18px; bottom:18px; color:var(--blue,#2146a8); opacity:.55; }
.cex-envelope-stamp .cex-icon { width:26px; height:26px; }
.cex-open .cex-letter-slot { grid-template-rows:1fr; opacity:1; visibility:visible; z-index:4; margin-bottom:-32px; transition-delay:.15s,.15s,0s; }
.cex-open .cex-letter { transform:translateY(0); }
.cex-open .cex-envelope-flap { transform:rotateX(180deg); }
.cex-envelope-toggle { margin-top:20px; }
/* The three folded strips can stay open together. */
.cex-accordion { perspective:1000px; }
.cex-fold { border:1px solid var(--line,#eceef1); background:#fff; border-radius:8px; margin-top:8px; }
.cex-fold-heading > button { display:flex; align-items:center; justify-content:space-between; width:100%; padding:16px 19px; min-height:60px; border:0; border-radius:8px; color:var(--ink,#172036); background:var(--light,#f5f6f8); text-align:left; }
.cex-expanded .cex-fold-heading > button { color:var(--blue,#2146a8); background:#fff; }
.cex-fold-label { display:flex; align-items:center; gap:12px; }
.cex-plus { position:relative; width:16px; height:16px; flex-shrink:0; }
.cex-plus::before,.cex-plus::after { content:''; position:absolute; width:12px; height:2px; background:currentColor; left:2px; top:7px; }
.cex-plus::after { transform:rotate(90deg); transition:transform .3s; }
.cex-expanded .cex-plus::after { transform:rotate(0); }
.cex-fold-panel { display:grid; grid-template-rows:0fr; visibility:hidden; transition:grid-template-rows .45s ease,visibility 0s .45s; }
.cex-fold-clip { min-height:0; overflow:hidden; }
.cex-fold-body { padding:2px 20px 20px; transform-origin:50% 0; transform:rotateX(-16deg); opacity:0; transition:transform .45s ease,opacity .3s; }
.cex-expanded .cex-fold-panel { grid-template-rows:1fr; visibility:visible; transition-delay:0s; }
.cex-expanded .cex-fold-body { transform:rotateX(0); opacity:1; }
.cex-next-section { display:flex; justify-content:space-between; align-items:center; gap:10px; width:100%; padding:10px 0; margin-top:16px; color:var(--blue,#2146a8); border:0; border-top:1px solid var(--line,#eceef1); background:transparent; text-align:left; }
/* Satellites move on a circle. Their labels counter-rotate to stay upright. */
.cex-orbit { --cex-radius:110px; width:100%; height:292px; position:relative; }
.cex-orbit-track { width:calc(var(--cex-radius) * 2); height:calc(var(--cex-radius) * 2); border:1px solid #dfe4ee; border-radius:50%; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
.cex-orbit-core { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:134px; height:134px; border-radius:50%; background:#fff; border:1px solid var(--line,#eceef1); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:11px; font-size:12px; }
.cex-orbit-core .cex-icon { width:32px; height:32px; color:var(--blue,#2146a8); }
.cex-satellite { position:absolute; left:50%; top:50%; width:85px; height:61px; margin:-30px 0 0 -42px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; border:1px solid #dfe4ee; border-radius:12px; background:#fff; color:var(--ink,#172036); transform:rotate(var(--cex-angle)) translateX(var(--cex-radius)) rotate(calc(-1 * var(--cex-angle))); transition:transform .68s cubic-bezier(.2,.7,.2,1),background .2s,color .2s; font-size:10px !important; }
.cex-satellite[aria-pressed=true] { background:var(--blue,#2146a8); color:#fff; border-color:var(--blue,#2146a8); }
.cex-satellite .cex-icon { width:19px; height:19px; }
.cex-orbit-content { background:#fff; border:1px solid var(--line,#eceef1); border-radius:12px; padding:23px; min-height:222px; }
/* A stack keeps all sheets in place; only the front sheet is accessible. */
.cex-stack { display:grid; perspective:1200px; padding:7px 13px 25px; }
.cex-stack-card { grid-area:1/1; min-width:0; min-height:328px; background:#fff; border:1px solid #e1e5ec; padding:25px; border-radius:12px; transform-origin:50% 100%; transition:transform .5s cubic-bezier(.2,.7,.2,1),background .35s; box-shadow:0 3px 8px #17203608; }
.cex-stack-card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:11px; color:#626b7a; margin-bottom:22px; }
.cex-stack-card-top .cex-icon { color:var(--blue,#2146a8); }
.cex-stack-card[data-position='0'] { transform:translate(0,0) rotate(0); z-index:3; }
.cex-stack-card[data-position='1'] { transform:translate(6px,12px) rotate(2deg); background:var(--light,#f5f6f8); z-index:2; }
.cex-stack-card[data-position='2'] { transform:translate(-6px,20px) rotate(-2deg); background:#edf0f5; z-index:1; }
.cex-stack-card:not([data-position='0']) > * { visibility:hidden; }
.cex-stack-controls { display:flex; align-items:center; justify-content:space-between; padding:8px 8px 0; gap:10px; }
.cex-arrow { display:grid; place-items:center; width:44px; height:44px; color:var(--ink,#172036); background:#fff; border:1px solid var(--line,#eceef1); border-radius:50%; }
.cex-stack-choices { display:flex; gap:0; }
.cex-stack-choices > button { display:grid; place-items:center; width:44px; height:44px; border:0; background:transparent; border-radius:8px; }
.cex-stack-choices > button > span { width:7px; height:7px; background:#cbd0d8; border-radius:50%; transition:width .2s,background .2s; }
.cex-stack-choices > button[aria-pressed=true] > span { width:22px; border-radius:5px; background:var(--blue,#2146a8); }
.cex-stack-caption { text-align:center; font-size:11px; color:#626b7a; margin-top:4px !important; }
@media (hover:hover) { .cex-save:hover { filter:brightness(1.08); } .cex-secondary:hover,.cex-arrow:hover { border-color:var(--blue,#2146a8); } }
@media (max-width:390px) { .cex-orbit { --cex-radius:88px; height:255px; } .cex-orbit-core { width:105px; height:105px; font-size:11px; } .cex-satellite { width:78px; margin-left:-39px; } .cex-stack-card { padding:20px; } .cex-content h4 { font-size:17px; } .cex-envelope-address { padding-left:15px; } .cex-envelope-stamp { right:12px; } }
.cex-scene[data-cex-motion=calm] .cex-letter,.cex-scene[data-cex-motion=calm] .cex-fold-body { transform:none; transition:opacity .2s; }
.cex-scene[data-cex-motion=calm] .cex-envelope-flap { transition:none; }
.cex-scene[data-cex-motion=calm] .cex-satellite,.cex-scene[data-cex-motion=calm] .cex-stack-card { transition-duration:.25s; }
body[data-motion=off] .cex-scene *,body[data-motion=off] .cex-scene *::before,body[data-motion=off] .cex-scene *::after,.cex-scene[data-cex-motion=off] *,.cex-scene[data-cex-motion=off] *::before,.cex-scene[data-cex-motion=off] *::after { animation:none!important; transition:none!important; }
@media (prefers-reduced-motion:reduce) { .cex-scene *,.cex-scene *::before,.cex-scene *::after { animation:none!important; transition:none!important; } }
.cex-user-page h3,.cex-user-page h4,.cex-user-page p,.cex-user-page a,.cex-user-page strong { overflow-wrap:anywhere; }
.cex-user-text,.cex-user-item p { white-space:pre-wrap; }
.cex-user-photo { display:block; width:100%; max-width:100%; height:180px; object-fit:contain; margin-top:18px; border-radius:8px; background:var(--light,#f5f6f8); }
.cex-user-photo-initials { display:grid; place-items:center; color:var(--blue,#2146a8); font:500 40px 'Unbounded',sans-serif; }
.cex-user-page .cex-contact a { color:inherit; display:inline-flex; align-items:center; min-height:44px; max-width:100%; text-underline-offset:3px; }
.cex-user-links { display:grid; gap:8px; margin-top:16px; }
.cex-user-links a,.cex-item-link { display:flex; align-items:center; min-height:44px; padding:10px 12px; color:var(--blue,#2146a8); border:1px solid var(--line,#eceef1); border-radius:8px; text-decoration:none; font-size:13px; }
.cex-user-page a:focus-visible { outline:3px solid var(--orange,#e95a24); outline-offset:3px; }
.cex-user-item { min-width:0; margin-top:18px; padding-top:16px; border-top:1px solid var(--line,#eceef1); }
.cex-user-item h4 { margin-top:10px; font:600 16px/1.5 'Onest',sans-serif; }
.cex-user-item p { margin-top:8px; font-size:13px; }
.cex-item-image { display:block; width:100%; max-height:220px; object-fit:contain; border-radius:8px; }
.cex-item-link { margin-top:10px; }
.cex-item-price { font-weight:600; }
.cex-user-page .cex-envelope-address { padding-right:53px; }
.cex-user-page .cex-stack { position:relative; }
.cex-user-page .cex-stack-card:not([data-position='0']) { position:absolute; inset:7px 13px 25px; }
