*{box-sizing:border-box;margin:0}
html,body{height:100%}
body{position:relative;z-index:0;background:radial-gradient(ellipse at 50% 35%,#2a2f36,#121417 70%);color:#f2f2f2;font-family:"Lato","Segoe UI",system-ui,-apple-system,Helvetica,Arial,sans-serif;overflow-x:hidden}
main{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(1rem,3vw,2rem);padding:2rem 1rem;text-align:center}
.mark{width:clamp(72px,14vw,110px);height:auto}
.word{font-size:clamp(1.15rem,6vw,3.6rem);letter-spacing:.04em;font-weight:300;white-space:nowrap}
.word b{font-weight:800}
.cur{display:inline-block;width:.08em;height:1em;margin-left:.06em;background:#f2f2f2;vertical-align:-.12em;animation:blink 1.05s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.soon{color:#b4bcc5;font-size:clamp(.8rem,2.5vw,1rem);letter-spacing:.3em;text-transform:uppercase}
.soon a{color:#b4bcc5}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (prefers-reduced-motion:reduce){.cur{animation:none}}
/* r2: light start -> dark end */
body,.word,.soon,.soon a,.cur{transition:background-color .8s ease,color .8s ease}
body::before{content:"";position:fixed;inset:0;background:#fff;opacity:0;transition:opacity .8s ease;z-index:-1}
body.light::before{opacity:1}
body.light .word{color:#3f5866}
body.light .cur{background:#3f5866}
body.light .soon,body.light .soon a{color:#5f7587}
.gap{display:inline}
.markwrap{position:relative;display:inline-block;width:clamp(72px,14vw,110px);aspect-ratio:1}
.markwrap .mark{position:absolute;inset:0;width:100%;transition:opacity .8s ease}
body.light .m-dark{opacity:0}
body:not(.light) .m-light{opacity:0}
.cur{transition:background-color .8s ease}
@media (prefers-reduced-motion:reduce){body,body *,body::before{transition:none!important}}
body.notr,body.notr *,body.notr::before{transition:none!important}
/* r4: lead box */
.lead{width:min(100%,34rem);display:grid;gap:.6rem;text-align:left;margin-top:clamp(.5rem,3vw,1.5rem);transition:opacity .8s ease}
.lead label{font-size:.9rem;color:#d5dbe1}
.lead .opt{color:#b4bcc5}
.lead .row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.lead .row>div{display:grid;gap:.35rem;min-width:0}
.lead textarea,.lead input{width:100%;font:inherit;font-size:1rem;color:#f2f2f2;background:rgba(255,255,255,.06);border:1px solid #5b6570;border-radius:6px;padding:.65rem .75rem}
.lead textarea{resize:vertical;min-height:6rem}
.lead textarea:focus,.lead input:focus,.lead button:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.lead button{justify-self:start;font:inherit;font-weight:700;letter-spacing:.06em;background:#f2f2f2;color:#121417;border:0;border-radius:6px;padding:.7rem 1.6rem;cursor:pointer}
.lead button[disabled]{opacity:.6;cursor:progress}
.lead-msg{min-height:1.4em;font-size:.95rem;color:#b4bcc5}
.lead-msg.ok{color:#9fe0b4}.lead-msg.err{color:#ffb3a8}
.lead-back{color:#b4bcc5}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:480px){.lead .row{grid-template-columns:1fr}}
body.light .lead{opacity:0;visibility:hidden;transition:opacity .8s ease,visibility 0s .8s}
/* r6: tagline + chat */
.tag{color:#d5dbe1;font-size:clamp(.95rem,3.2vw,1.25rem);font-weight:300;letter-spacing:.02em;margin-top:calc(-1 * clamp(.4rem,1.5vw,1rem));transition:opacity .8s ease .15s}
body.light .tag{opacity:0;visibility:hidden;transition:none}
.chat{display:block}
.chat .prompt{font-size:clamp(1.05rem,3.6vw,1.3rem);color:#f2f2f2;margin-bottom:.6rem;min-height:1.4em}
.chat .entry{display:flex;gap:.5rem;align-items:stretch}
.chat .entry input{flex:1;min-width:0}
.chat .entry button{justify-self:auto;white-space:nowrap}
.chat .alt{margin-top:.6rem;display:flex;gap:.5rem;flex-wrap:wrap}
.chat .ghost{background:transparent;color:#d5dbe1;border:1px solid #5b6570;font-weight:400}
.chat .err{color:#ffb3a8;font-size:.9rem;min-height:1.3em;margin-top:.4rem}
.chat .bar{height:3px;background:rgba(255,255,255,.12);border-radius:2px;overflow:hidden;margin-top:.8rem}
.chat .bar i{display:block;height:100%;width:100%;background:#8fb3cc;transform-origin:left;transform:scaleX(1)}
.chat .bar i.run{transition:transform linear}
@media (max-width:420px){.chat .entry{flex-direction:column}.chat .entry button{align-self:flex-start}}
@media (prefers-reduced-motion:reduce){.chat .bar i.run{transition:none!important}}
/* r7: thread */
.chat{display:flex;flex-direction:column;gap:.5rem;width:min(100%,36rem)}
.chat .thread{max-height:50vh;min-height:8rem;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:.55rem;padding:.75rem;border:1px solid #3a424b;border-radius:10px;background:rgba(255,255,255,.03);scroll-behavior:smooth}
.chat .thread:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.msg{display:flex;max-width:85%}
.msg p,.msg-body{margin:0;padding:.55rem .8rem;border-radius:14px;line-height:1.4;font-size:.98rem;overflow-wrap:anywhere}.msg p{white-space:pre-wrap}.msg-body{min-width:0}.msg-body p{padding:0;border-radius:0;background:none!important}.msg-body>*+*{margin-top:.5rem}.msg-body ul,.msg-body ol{margin:.4rem 0 0;padding-left:1.25rem;white-space:normal}.msg-body li+li{margin-top:.2rem}.msg-body h3,.msg-body h4{margin:.6rem 0 0;font-size:1rem;font-weight:600;line-height:1.3}.msg-body>h3:first-of-type,.msg-body>.sr-only+h3,.msg-body>.sr-only+h4{margin-top:0}.msg-body strong{font-weight:650}
.msg.agent{align-self:flex-start}
.msg.agent .msg-body,.msg.agent.typing p{background:rgba(255,255,255,.07);color:#e8ecef;border-bottom-left-radius:4px}
.msg.visitor{align-self:flex-end}
.msg.visitor .msg-body{background:#3f5866;color:#fff;border-bottom-right-radius:4px}
.msg.typing p{display:flex;gap:.3rem;align-items:center;padding:.7rem .9rem}
.msg.typing i{width:.4rem;height:.4rem;border-radius:50%;background:#b4bcc5;animation:dot 1s infinite ease-in-out}
.msg.typing i:nth-child(2){animation-delay:.15s}.msg.typing i:nth-child(3){animation-delay:.3s}
@keyframes dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
.chat .chips{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end;min-height:0}
.chat .chip{font:inherit;font-size:.85rem;background:transparent;color:#d5dbe1;border:1px solid #5b6570;border-radius:999px;padding:.3rem .8rem;cursor:pointer}
.chat .chip:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.chat .bar{margin-top:0}
.chat .entry{flex-direction:row!important}
.chat .entry button{align-self:stretch!important}
.chat .entry input::placeholder{color:#8e98a2}
@media (max-width:600px){.chat .thread{max-height:58vh}}
@media (prefers-reduced-motion:reduce){.chat .thread{scroll-behavior:auto}.msg.typing i{animation:none}}
/* r8: arrow button */
.chat .entry button.arrow{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;align-self:center!important}
.chat .bar[hidden]{display:none}
/* r8: cumulative growth on interaction: SI icon only (Gabriel 2026-10-27) */
.markwrap{transform-origin:50% 100%;transform:scale(var(--wm,1));transition:transform .55s cubic-bezier(.34,1.56,.64,1)}
@media (prefers-reduced-motion:reduce){.markwrap{transition:none!important}}
/* r9: DOM order thread,bar,form,chips; visual order thread,chips,bar,form */
.chat .thread{order:0}.chat .chips{order:1}.chat .bar{order:2}.chat .entry{order:3}
.chat .entry input:disabled{opacity:.55}
.chat .thread{border-color:#5b6570}
.msg.agent a{color:#9fc6e0;text-decoration:underline;overflow-wrap:anywhere}
.msg.agent a:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}

.chat .sugg{position:relative;display:flex;align-items:center;gap:.45rem;margin:.6rem 0 .5rem}
.chat .sugg[hidden]{display:none}
.chat .sugg-one{font:inherit;font-size:.85rem;background:transparent;color:#b9c3cc;border:1px dashed #5b6570;border-radius:999px;padding:.3rem .8rem;cursor:pointer;text-align:left;max-width:100%;transition:opacity .25s ease}
.chat .sugg-one.fade{opacity:0}
.chat .sugg-more{flex:none;width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;color:#d5dbe1;border:1px solid #5b6570;cursor:pointer}
.chat .sugg-more[aria-expanded="true"] svg{transform:rotate(180deg)}
.chat .sugg-one:focus-visible,.chat .sugg-more:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.chat .sugg-list{position:absolute;left:0;bottom:calc(100% + .4rem);z-index:5;list-style:none;margin:0;padding:.5rem;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;background:#1b2128;border:1px solid #5b6570;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.45);max-width:min(92vw,420px)}
.chat .sugg-list[hidden]{display:none}
.chat .sugg-chip{text-align:left;background:#232a32}
@media (prefers-reduced-motion:reduce){.chat .sugg-one{transition:none}.chat .sugg-more svg{transform:none!important}}

/* r2: 44px tap targets */
.chat .sugg-one{min-height:44px;padding:.45rem 1rem;display:inline-flex;align-items:center;line-height:1.25}
.chat .sugg-more{width:44px;height:44px;min-width:44px}
.chat .sugg-more svg{width:18px;height:18px}
.chat .sugg-list{gap:.35rem}
.chat .sugg-chip{min-height:44px;padding:.45rem 1rem;display:inline-flex;align-items:center;line-height:1.25}

.shot-fig{margin:.6rem 0 0}.shot{display:block;width:100%;max-width:320px;padding:0;border:0;background:none;cursor:zoom-in;border-radius:8px;min-height:44px}
.shot img{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px;background:#0b0f12}.shot img.tall{max-height:360px;width:auto;max-width:100%}
.shot:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}.shot-fig figcaption{margin-top:.3rem;font-size:.85rem;color:#a9b3bc}
.lbox{padding:0;border:0;background:#000;color:#e8ecef;max-width:none;max-height:none;width:100dvw;height:100dvh;margin:0;inset:0}
.lbox[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;animation:lbfade .15s ease-out}.lbox::backdrop{background:rgba(0,0,0,.85)}
.lbox-img{max-width:100%;max-height:calc(100dvh - 7rem);width:auto;height:auto;object-fit:contain;touch-action:pinch-zoom}
.lbox-x{position:absolute;top:calc(.5rem + env(safe-area-inset-top));right:calc(.5rem + env(safe-area-inset-right));width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}
.lbox-x:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}.lbox-cap{margin:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));font-size:.9rem;text-align:center}
html.lbox-open{overflow:hidden}@keyframes lbfade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.lbox[open]{animation:none}}
@media (max-width:480px){.msg.agent{max-width:92%}}
@media (min-width:700px){.lbox{width:min(96vw,1400px);height:auto;max-height:96dvh;margin:auto;border-radius:10px}.lbox-img{max-height:calc(96dvh - 7rem)}}

/* r10: footer (comp) */
body{display:flex;flex-direction:column;height:auto;min-height:100%}
main{flex:1 0 auto;min-height:0}
.site-foot{flex:none;padding:clamp(1.5rem,4vw,2.5rem) 1rem calc(1.25rem + env(safe-area-inset-bottom));text-align:center;font-size:.8125rem;line-height:1.5;letter-spacing:.02em;color:#9aa3ad;transition:color .8s ease}
.site-foot p{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:.25rem;margin:0}
.site-foot p+p{margin-top:.15rem}
.site-foot .dot{opacity:.6;padding:0 .35rem}
.site-foot a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;min-height:44px;padding:0 .35rem;border-radius:4px}
.site-foot a:hover{text-decoration:underline;text-underline-offset:.2em}
.site-foot a:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.site-foot .item{display:inline-flex;align-items:center;padding:0 .35rem}
body.light .site-foot{color:#5f7587}
@media (max-width:480px){.site-foot p{flex-direction:column;row-gap:0}.site-foot .dot{display:none}}
@media (prefers-reduced-motion:reduce){.site-foot{transition:none}}

/* Portfolio trigger + panel (Unice spec, Oct 29) */
.pf-trigger{position:fixed;top:calc(.5rem + env(safe-area-inset-top));right:calc(.5rem + env(safe-area-inset-right));z-index:20;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:44px;min-height:44px;padding:0 .6rem;border-radius:6px;color:#9aa3ad;text-decoration:none;font-size:.875rem;letter-spacing:.04em;transition:color .2s ease}
.pf-trigger svg{width:20px;height:20px;flex:none}
.pf-trigger:hover,.pf-trigger:focus-visible{color:#fff}
.pf-trigger:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
body.light .pf-trigger{color:#5f7587}
body.light .pf-trigger:hover,body.light .pf-trigger:focus-visible{color:#3f5866}
.pf-label{display:none}
@media (min-width:600px){.pf-label{display:inline}}
/* Work panel r2 (Unice spec, Oct 29): >=1024 push (2-col grid reflow), <1024 overlay */
:root{--pf-bg:#23292f;--pf-header:#282f36;--pf-line:rgba(255,255,255,.08);--pf-edge:rgba(255,255,255,.10);--pf-shadow:-8px 0 24px rgba(0,0,0,.35);--pf-hover:#2a3138;--pf-text:#f2f4f6;--pf-outcome:#d7dce1;--pf-body:#c9d0d6;--pf-muted:#9aa3ad;--pf-link:#8fb3cc;--pf-ease:cubic-bezier(.32,.72,0,1);--pf-out:cubic-bezier(.4,0,1,1)}
html.pf-open .pf-trigger{visibility:hidden}
html.pf-lock,html.pf-lock body{overflow:hidden}
.pf-panel{background:var(--pf-bg);color:var(--pf-text);display:flex;flex-direction:column;overflow:hidden}
.pf-panel[hidden],.pf-view[hidden],.pf-scrim[hidden]{display:none}
.pf-view{display:flex;flex-direction:column;min-height:0;flex:1}
.pf-head{flex:none;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 calc(.5rem + env(safe-area-inset-right)) 0 24px;border-bottom:1px solid var(--pf-line);background:var(--pf-header);position:sticky;top:0;z-index:1}
.pf-chead{padding-left:8px}
.pf-title{margin:0;font-size:1.1rem;font-weight:400;letter-spacing:.06em;outline:none}
.pf-x,.pf-back{min-width:44px;min-height:44px;border:0;border-radius:6px;background:none;color:var(--pf-muted);cursor:pointer;font:inherit}
.pf-x{font-size:1.6rem;line-height:1}
.pf-back{font-size:.95rem;padding:0 .75rem;letter-spacing:.02em}
.pf-x:hover,.pf-x:focus-visible,.pf-back:hover,.pf-back:focus-visible{color:#fff}
.pf-x:focus-visible,.pf-back:focus-visible,.pf-card:focus-visible,.pf-zoom:focus-visible,.pf-case-in a:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.pf-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:24px 24px calc(24px + env(safe-area-inset-bottom))}
.pf-list{list-style:none;margin:0;padding:0}
.pf-item+.pf-item{margin-top:32px;padding-top:32px;border-top:1px solid var(--pf-line)}
.pf-card:hover,.pf-item:focus-within .pf-card{background:var(--pf-hover)}
.pf-card{display:block;color:inherit;text-decoration:none;border-radius:6px;min-height:44px}
.pf-img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;margin-bottom:.9rem}
.pf-eyebrow{margin:0 0 .3rem;font-size:.75rem;font-variant:small-caps;letter-spacing:.06em;color:var(--pf-muted)}
.pf-name{margin:0 0 .3rem;font-size:1.15rem;font-weight:600;line-height:1.3}
.pf-card:hover .pf-name{text-decoration:underline;text-underline-offset:.2em}
.pf-blurb{margin:0;font-size:.95rem;line-height:1.45;color:var(--pf-body)}
/* case study (dark typography) */
.pf-cbody{opacity:0}
.pf-cbody.pf-in{opacity:1}
.pf-case-in{max-width:760px;margin:0 auto;text-align:left;color:var(--pf-body);font-size:16px;line-height:1.6}
.pf-case-in .cs-band+.cs-band{margin-top:32px}
.pf-case-in p,.pf-case-in h1,.pf-case-in h2,.pf-case-in h3{margin:0;max-width:68ch}
.pf-case-in * + p{margin-top:16px}
.pf-case-in .cs-eyebrow{font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.08em;color:var(--pf-muted);margin:0 0 8px}
.pf-case-in .cs-h1{font-size:24px;line-height:30px;font-weight:600;color:var(--pf-text);outline:none}
.pf-case-in .cs-outcome{font-size:18px;line-height:28px;color:var(--pf-outcome);margin-top:8px}
.pf-case-in .cs-h,.pf-case-in h3{font-size:18px;line-height:26px;font-weight:600;color:var(--pf-text)}
.pf-case-in .cs-big{font-size:18px;line-height:26px;font-weight:600;color:var(--pf-text)}
.pf-case-in .cs-eyebrow+*{margin-top:0}
.pf-case-in .cs-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px 24px}
.pf-case-in .cs-k{font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.08em;color:var(--pf-muted)}
.pf-case-in .cs-v{margin-top:4px;color:var(--pf-text)}
.pf-case-in .cs-media,.pf-case-in .cs-gallery{margin-top:16px}
.pf-case-in .cs-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.pf-case-in figure{margin:0;display:flex;flex-direction:column;align-items:center}
.pf-case-in figcaption{font-size:13px;line-height:18px;color:var(--pf-muted);margin-top:8px;text-align:center}
.pf-zoom{display:block;margin:0 auto;padding:0;border:0;background:none;cursor:zoom-in;max-width:100%;border-radius:8px}
.pf-case-in img{display:block;width:auto;max-width:100%;height:auto;max-height:70vh;object-fit:contain;border-radius:8px;outline:1px solid rgba(255,255,255,.06)}
.pf-case-in .cs-more{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;color:var(--pf-link);text-decoration:none}
.pf-case-in .cs-more:hover{text-decoration:underline}
.pf-case-in .cs-next .cs-lede{font-size:13px;line-height:18px;color:var(--pf-muted);margin-top:4px}
.pf-case-in .cs-next{padding-top:32px;border-top:1px solid var(--pf-line)}
.pf-err{color:#ffb3a8}
@media (min-width:1280px){.pf-case-in .cs-h1{font-size:28px;line-height:34px}}
@media (min-width:1440px){.pf-body{padding:32px 32px calc(32px + env(safe-area-inset-bottom))}.pf-head{padding-left:32px}.pf-chead{padding-left:16px}}
/* push mode >=1024: non-modal aside in a 2nd grid column; chat reflows, min 400px */
@media (min-width:1024px){
 body{display:grid;grid-template-columns:minmax(432px,1fr) var(--panel-w,0px);grid-template-rows:1fr auto;min-height:100vh}
 html.pf-open{--panel-w:clamp(320px,26vw,400px)}
 html.pf-open.pf-case{--panel-w:min(60%,100% - 432px)}
 body>main{grid-column:1;grid-row:1;min-width:0;min-height:100vh;container-type:inline-size}
 main .word{font-size:clamp(1.15rem,6cqi,3.6rem);max-width:100%}
 body>.site-foot{grid-column:1;grid-row:2;min-width:0}
 .pf-panel{grid-column:2;grid-row:1/3;position:sticky;top:0;height:100vh;width:100%;min-width:0;border-left:1px solid var(--pf-edge);box-shadow:var(--pf-shadow)}
 html.pf-m-open body{transition:grid-template-columns .32s var(--pf-ease)}
 html.pf-m-case body{transition:grid-template-columns .4s var(--pf-ease)}
 html.pf-m-shut body{transition:grid-template-columns .24s var(--pf-out)}
 .pf-cbody.pf-in{transition:opacity .16s ease-out}
 .pf-panel .pf-view{min-width:300px}
}
/* overlay mode <1024 (unchanged behavior) */
@media (max-width:1023.98px){
 .pf-scrim{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:30}
 .pf-panel{position:fixed;inset:0 0 0 auto;z-index:31;height:100%;width:clamp(360px,32vw,440px);max-width:100%;border-left:1px solid var(--pf-edge);box-shadow:var(--pf-shadow);animation:pf-in .24s ease-out}
 .pf-caseview:not([hidden]){animation:pf-in .24s ease-out}
}
@media (max-width:480px){.pf-panel{width:100%;height:100dvh;inset:0;padding-left:env(safe-area-inset-left)}}
@keyframes pf-in{from{transform:translateX(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.pf-panel,.pf-caseview:not([hidden]){animation:none!important}.pf-trigger,body,.pf-cbody.pf-in{transition:none!important}}
/* Theme toggle + light theme (Unice spec, Oct 29). Light rules apply only after the intro lands (html.ti-done). */
.top-actions{position:fixed;top:calc(.5rem + env(safe-area-inset-top));right:calc(.5rem + env(safe-area-inset-right));z-index:20;display:flex;align-items:center;gap:8px}
.top-actions .pf-trigger{position:static}
.theme-toggle{position:relative;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:none;color:#9aa3ad;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s .2s}
.theme-toggle.on{opacity:1;visibility:visible;transition:opacity .2s ease}
.theme-toggle:hover,.theme-toggle:focus-visible{color:#f2f2f2}
.theme-toggle:focus-visible{outline:2px solid #8fb3cc;outline-offset:2px}
.theme-toggle svg{position:absolute;left:12px;top:12px;width:20px;height:20px;transition:opacity .15s ease,transform .15s ease}
.theme-toggle .ic-moon{opacity:0;transform:rotate(-30deg)}
html[data-theme=light] .theme-toggle .ic-moon{opacity:1;transform:none}
html[data-theme=light] .theme-toggle .ic-sun{opacity:0;transform:rotate(30deg)}
@media (max-width:480px){.top-actions{gap:4px}}
@media (min-width:1024px){html.pf-push.pf-open .top-actions{right:calc(var(--panel-w) + .5rem)}
 html.pf-m-open .top-actions{transition:right .32s var(--pf-ease)}html.pf-m-case .top-actions{transition:right .4s var(--pf-ease)}html.pf-m-shut .top-actions{transition:right .24s var(--pf-out)}}
.lbox::backdrop{background:rgba(10,12,14,.92)}
html.theme-anim body,html.theme-anim body *,html.theme-anim body::before{transition-property:background-color,color,border-color,opacity,visibility,transform!important;transition-duration:.3s!important;transition-timing-function:ease!important}
html.ti-done[data-theme=light] body{background:radial-gradient(ellipse at 50% 35%,#ffffff,#eef1f4 70%);color:#2f3a44}
html.ti-done[data-theme=light] .word{color:#3f5866}
html.ti-done[data-theme=light] .cur{background:#3f5866}
html.ti-done[data-theme=light] .m-light{opacity:1}
html.ti-done[data-theme=light] .m-dark{opacity:0}
html.ti-done[data-theme=light] .tag,html.ti-done[data-theme=light] .chat .prompt{color:#121417}
html.ti-done[data-theme=light] .soon,html.ti-done[data-theme=light] .lead label,html.ti-done[data-theme=light] .lead .opt,html.ti-done[data-theme=light] .lead-msg,html.ti-done[data-theme=light] .lead-back,html.ti-done[data-theme=light] .site-foot,html.ti-done[data-theme=light] .shot-fig figcaption,html.ti-done[data-theme=light] .pf-trigger,html.ti-done[data-theme=light] .theme-toggle{color:#56616c}
html.ti-done[data-theme=light] .lead label{color:#2f3a44}
html.ti-done[data-theme=light] .pf-trigger:hover,html.ti-done[data-theme=light] .pf-trigger:focus-visible,html.ti-done[data-theme=light] .theme-toggle:hover,html.ti-done[data-theme=light] .theme-toggle:focus-visible{color:#121417}
html.ti-done[data-theme=light] .lead-msg.ok{color:#1d6b3a}html.ti-done[data-theme=light] .lead-msg.err,html.ti-done[data-theme=light] .chat .err{color:#a3261b}
html.ti-done[data-theme=light] .chat .thread{background:rgba(255,255,255,.6);border-color:#d5dbe1}
html.ti-done[data-theme=light] .msg.agent .msg-body,html.ti-done[data-theme=light] .msg.agent.typing p{background:#e3e8ed;color:#1b2128}
html.ti-done[data-theme=light] .msg.visitor .msg-body{background:#3f5866;color:#fff}
html.ti-done[data-theme=light] .msg.typing i{background:#56616c}
html.ti-done[data-theme=light] .msg.agent a,html.ti-done[data-theme=light] .soon a{color:#3f5866;text-decoration:underline}
html.ti-done[data-theme=light] .lead textarea,html.ti-done[data-theme=light] .lead input{background:#fff;color:#121417;border-color:#7a8590}
html.ti-done[data-theme=light] .chat .entry input::placeholder{color:#56616c}
html.ti-done[data-theme=light] .chat .chip,html.ti-done[data-theme=light] .chat .ghost,html.ti-done[data-theme=light] .chat .sugg-one,html.ti-done[data-theme=light] .chat .sugg-more{background:transparent;border-color:#7a8590;color:#2f3a44}
html.ti-done[data-theme=light] .chat .chip:hover,html.ti-done[data-theme=light] .chat .ghost:hover,html.ti-done[data-theme=light] .chat .sugg-one:hover,html.ti-done[data-theme=light] .chat .sugg-more:hover,html.ti-done[data-theme=light] .chat .sugg-chip:hover{background:#e3e8ed}
html.ti-done[data-theme=light] .chat .sugg-list{background:#fff;border-color:#d5dbe1;box-shadow:0 6px 24px rgba(18,20,23,.12)}
html.ti-done[data-theme=light] .chat .sugg-chip{background:transparent;border-color:#7a8590;color:#2f3a44}
html.ti-done[data-theme=light] .chat .bar{background:rgba(18,20,23,.10)}html.ti-done[data-theme=light] .chat .bar i{background:#3f5866}
html.ti-done[data-theme=light] .lead button:not(.ghost):not(.chip):not(.sugg-one):not(.sugg-more):not(.sugg-chip){background:#121417;color:#fff}
html.ti-done[data-theme=light] .shot img{background:#e3e8ed}
html.ti-done[data-theme=light] :focus-visible{outline-color:#3f5866!important;outline-offset:2px}
html.ti-done[data-theme=light] .lbox :focus-visible{outline-color:#8fb3cc!important}
html.ti-done[data-theme=light]{--pf-bg:#fbfcfd;--pf-header:#ffffff;--pf-line:rgba(18,20,23,.08);--pf-edge:rgba(18,20,23,.10);--pf-shadow:-8px 0 24px rgba(18,20,23,.10);--pf-hover:#f1f4f7;--pf-text:#121417;--pf-outcome:#1b2128;--pf-body:#2f3a44;--pf-muted:#56616c;--pf-link:#3f5866}
html.ti-done[data-theme=light] .pf-case-in img{outline-color:rgba(18,20,23,.08)}
html.ti-done[data-theme=light] .pf-x,html.ti-done[data-theme=light] .pf-back{color:#56616c}
html.ti-done[data-theme=light] .pf-x:hover,html.ti-done[data-theme=light] .pf-back:hover,html.ti-done[data-theme=light] .pf-x:focus-visible,html.ti-done[data-theme=light] .pf-back:focus-visible{color:#121417}
html.ti-done[data-theme=light] .pf-case-in .cs-more{text-decoration:underline}
@media (prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle svg{transition:none!important}html.theme-anim body,html.theme-anim body *{transition:none!important}}
/* draft case studies: NatGeo + NC Lottery */
.pf-case-in img.px{image-rendering:pixelated}
.pf-case-in .cs-pair{align-items:end}
/* Composer: send arrow inside the field, right end (Gabriel Nov 3 9:02 AM). Button keeps its own colors/size; field is one pill. */
.chat .entry{position:relative;gap:0}
.chat .entry input{min-height:52px;border-radius:26px;padding-left:1.1rem;padding-right:58px}
.chat .entry button.arrow{position:absolute;right:4px;top:50%;transform:translateY(-50%);margin:0;z-index:1}

/* Tools nav: shares the live Work panel. Tools is a button; both items stay visible while the panel is open. */
.tl-trigger{
  gap:.35rem;
  border:0;background:none;cursor:pointer;
  appearance:none;-webkit-appearance:none;
  font:inherit;font-size:.875rem;letter-spacing:.04em;
}
html.pf-open .top-actions .pf-trigger{visibility:visible}
.top-actions .pf-trigger.is-active{color:#fff}
html.ti-done[data-theme=light] .top-actions .pf-trigger.is-active{color:#121417}
@media (max-width:1023.98px){
  html.pf-open .top-actions{
    z-index:32;
    right:calc(clamp(360px,32vw,440px) + .5rem);
  }
}
@media (max-width:480px){
  html.pf-open .top-actions{
    top:env(safe-area-inset-top);
    left:calc(.5rem + env(safe-area-inset-left));
    right:auto;
    height:56px;
    z-index:32;
  }
  html.pf-open .pf-title{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
  }
  html.pf-open .pf-x{margin-left:auto;}
}
.tl-section{margin:0;padding:0}
.tl-label{
  margin:0 0 16px;
  font-size:.75rem;font-weight:400;font-variant:small-caps;
  letter-spacing:.06em;color:var(--pf-muted);
}
.tl-rule{height:0;border:0;border-top:1px solid var(--pf-line);margin:32px 0}
.tl-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 .3rem}
.tl-card-head .pf-name{margin:0}
.tl-pill{
  display:inline-flex;align-items:center;justify-content:center;
  flex:none;height:22px;padding:0 8px;
  border:1px solid currentColor;border-radius:999px;
  font-size:11px;line-height:1;letter-spacing:.03em;
  color:var(--pf-muted);white-space:nowrap;
}
.pf-card.is-soon{cursor:default;color:var(--pf-muted)}
.pf-card.is-soon:hover,
.pf-item:focus-within .pf-card.is-soon{background:transparent}
.pf-card.is-soon .pf-img{opacity:.72}
.pf-card.is-soon .pf-name{color:var(--pf-muted)}
.pf-card.is-soon .pf-blurb{color:var(--pf-muted)}
.pf-card.is-soon:hover .pf-name,.pf-item:focus-within .pf-card.is-soon .pf-name{text-decoration:none}
.pf-toolsview .pf-img{border:1px solid rgba(255,255,255,.10)}
html.ti-done[data-theme=light] .pf-toolsview .pf-img{border-color:rgba(0,0,0,.10)}
