@font-face{font-family:Inter;src:url('assets/fonts/Inter.ttf') format('truetype');font-weight:100 900;font-display:swap}@font-face{font-family:'Instrument Serif';src:url('assets/fonts/InstrumentSerif-Italic.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}
:root{color-scheme:dark;--accent:#ff681e;--ink:#f5f1ef;--muted:#aeaaa7;--subtle:#87827f;--dark-fill:rgba(36,37,41,.78);--dark-border:rgba(255,255,255,.22);--dark-shadow:inset 0 1px 1px #ffffff3b,0 12px 32px -2px #00000042;--light-shadow:inset 0 1px 1px #ffffffa6,0 12px 32px -2px #0000002e;--font:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#141414}body{font-family:var(--font);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}button,a,textarea{-webkit-tap-highlight-color:transparent}button,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}textarea:focus-visible{outline:none}h1,h2,h3,p{margin:0}img{display:block}::selection{background:#ff681e55}#background-stage{position:fixed;inset:0;pointer-events:none}#app{position:relative;min-height:100svh}.boot{padding:20vh 10vw;font-size:28px}.boot span{display:block;font-size:14px;color:var(--muted);margin-top:16px}.skip-link{position:fixed;left:16px;top:12px;z-index:100;padding:12px;background:#242529;transform:translateY(-160%)}.skip-link:focus{transform:none}.icon{display:block;flex:none;width:20px;height:20px}.lucide{filter:brightness(0) invert(.88)}
.glass-dark{background:linear-gradient(180deg,#ffffff13,#ffffff05 50%,transparent),var(--dark-fill);border:1px solid var(--dark-border);box-shadow:var(--dark-shadow);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px)}.glass-light{background:linear-gradient(180deg,#ffffff29,#ffffff0a 50%,transparent),rgba(244,244,246,.7);border:1px solid #ffffffb8;box-shadow:var(--light-shadow);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px)}
.site-header{height:72px;padding:0 max(32px,calc((100vw - 1200px)/2));display:grid;grid-template-columns:1fr 222px 1fr;align-items:center;gap:30px;position:relative;z-index:20}.brand{display:inline-flex;align-items:center;gap:16px;font-size:18px;font-weight:500;white-space:nowrap;width:max-content}.brand img{width:28px;height:28px}.mode-switch{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px;border:1px solid rgba(255,255,255,.16);border-radius:99px;height:36px;background:rgba(20,22,26,.38);backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%);transition:opacity .2s,border-color .2s,background-color .2s}.mode-switch a{display:grid;place-items:center;width:104px;height:28px;font-size:12px;border-radius:99px;color:var(--muted)}.mode-switch .selected{border:1px solid var(--accent);color:var(--ink);background:#77716b36}.mode-switch a:first-child.selected{border-color:#8fa5d5;box-shadow:inset 0 0 0 1px rgba(143,165,213,.16),0 0 10px rgba(143,165,213,.12)}.mode-switch a:last-child.selected{border-color:#ff854b;box-shadow:inset 0 0 0 1px rgba(255,133,75,.16),0 0 10px rgba(255,133,75,.12)}.conversation-mode .mode-switch{opacity:.65}.conversation-mode .mode-switch:hover,.conversation-mode .mode-switch:focus-within{opacity:1}.primary-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:320px;width:100%;justify-self:end;font-size:12px;font-weight:500}.primary-nav a{padding:14px 0}.primary-nav a:hover{color:var(--accent)}.mobile-menu{display:none}
.home-main{min-height:calc(100svh - 72px);display:flex;flex-direction:column;align-items:center;padding:40px 0 44px;gap:72px}.hero{display:flex;flex-direction:column;align-items:center;gap:40px;width:min(1100px,calc(100% - 48px))}.identity{height:196px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center}.eyebrow{font-size:10px;line-height:14px;letter-spacing:1.1px;color:var(--muted);font-weight:500}.identity h1{font-weight:400;font-size:56px;line-height:64px;letter-spacing:-1.5px}.identity h1 span{display:block}.identity h1 em{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:66px;color:var(--accent);letter-spacing:-1.5px}.subtitle{font-size:16px;line-height:24px;color:var(--muted)}
.composer{width:100%;height:146px;display:flex;flex-direction:column;justify-content:space-between;padding:20px;border-radius:20px;position:relative;transition:border-color .2s}.home-composer{width:min(816px,100%);height:196px;color:#202124}.composer:focus-within{border-color:var(--accent)}.composer textarea{resize:none;border:0;background:transparent;outline:0;width:100%;height:60px;min-height:28px;max-height:110px;padding:0;line-height:28px;font-size:16px;scrollbar-width:thin}.home-composer textarea{font-size:18px;height:92px;color:#202124}.composer textarea::placeholder{color:#f5f5f7;opacity:1}.home-composer textarea::placeholder{color:#202124}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}.prompts{display:flex;gap:12px;align-items:center;min-width:0;overflow-x:auto;scrollbar-width:none}.prompts::-webkit-scrollbar{display:none}.pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 12px;min-height:36px;border:1px solid #ffffff29;border-radius:99px;white-space:nowrap;background:#ffffff14;font-size:12px;line-height:16px;flex-shrink:0}.home-composer .pill{background:#2021240f;border-color:#20212429;color:#202124}.pill:hover{background:#ffffff20}.home-composer .pill:hover{background:#2021241a}.send-button{position:relative;display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:var(--accent);box-shadow:0 3px 7px #ff471247;opacity:1!important}.send-button:after{content:'';position:absolute;inset:-3px}.send-button img{width:16px;height:16px}.send-button:disabled{background:#535359;box-shadow:none;opacity:.65!important}.send-button:hover:not(:disabled){background:#ff7938}.composer-meta{position:absolute;bottom:-21px;right:6px;font-size:10px;color:var(--muted)}
.work-wall{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding-bottom:16px;scroll-snap-type:x proximity}.work-wall::-webkit-scrollbar{display:none}.work-track{display:flex;align-items:stretch;gap:16px;width:max-content;padding-right:48px}.project-card{position:relative;display:flex;flex-direction:column;gap:12px;width:342px;padding:16px;border-radius:16px;overflow:hidden;scroll-snap-align:start;background:linear-gradient(180deg,#ffffff29,#ffffff0a 50%,transparent),rgba(244,244,246,.5);border:1px solid #6b514129;box-shadow:inset 0 1px 1px #ffffffa6;backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);color:#202124;transition:border-color .2s,background .2s}.project-card:hover{background-color:rgba(244,244,246,.65);border-color:#ffffffc0}.project-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;height:24px}.project-card h2{font-size:16px;font-weight:500;line-height:24px;white-space:nowrap}.project-category{font-size:10px;line-height:14px;padding:2px 10px;border-radius:99px;background:#2021240f;color:#56545a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.project-cover{height:172px;width:100%;border-radius:12px;overflow:hidden;background:#15151c;position:relative}.project-cover img{width:100%;height:100%;object-fit:cover}.project-cover[data-fit=contain] img{object-fit:contain}.project-cover[data-project=stella-x] img{transform:scale(1.85)}.leading-crop{width:48px;overflow:hidden;flex:none;pointer-events:none}.leading-crop .project-card{box-shadow:none}.work-wall:focus-visible{outline:1px solid var(--accent);outline-offset:-2px}
.conversation-mode{overflow:hidden}.conversation-page{height:calc(100dvh - 72px);padding:20px 48px 52px 24px;display:grid;grid-template-columns:264px minmax(0,1fr);gap:40px}.sidebar{border-radius:20px;padding:20px 16px 16px;display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;scrollbar-width:thin}.sidebar-label{font-size:11px;line-height:1.5;color:var(--muted)}.explore-nav{display:flex;flex-direction:column;gap:6px}.explore-item{display:flex;align-items:center;gap:10px;padding:10px 8px 10px 10px;border-radius:12px;text-align:left;min-height:58px;width:100%}.explore-item:hover{background:#ffffff08}.explore-item.active{background:#ff681e1f}.explore-item .icon{width:22px;height:22px}.explore-item strong{font-size:14px;font-weight:500;display:block;line-height:1.5}.explore-item small{font-size:10px;color:var(--muted);line-height:1.5;display:block;margin-top:2px}.sidebar hr{border:0;border-top:1px solid #ffffff1a;width:100%;margin:0}.suggestions{display:flex;flex-direction:column;gap:6px}.suggestions button{display:flex;gap:4px;align-items:center;text-align:left;width:100%;font-size:11px;line-height:1.5;padding:4px 0}.suggestions button:hover{color:var(--accent)}.sidebar-spacer{flex:1;min-height:20px}.ide-link{display:flex;gap:10px;align-items:flex-start;padding:12px 10px;border:1px solid #ffffff1f;border-radius:12px;background:#ffffff0a}.ide-link strong{font-size:12px;font-weight:400;line-height:1.5;display:block}.ide-link small{font-size:10px;line-height:1.5;color:var(--muted);display:block;margin-top:2px}
.chat-main{min-width:0;min-height:0;display:flex;flex-direction:column;gap:40px;position:relative}.messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent;padding:0 4px 12px 0}.turn{display:flex;flex-direction:column;gap:24px;margin-bottom:24px}.visitor-message{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px}.visitor-message .avatar{width:32px;height:32px;margin-top:6px}.visitor-bubble{border-radius:12px;padding:10px 12px;line-height:22px;font-size:14px;color:#f5f5f7;max-width:min(85%,850px);white-space:pre-wrap;overflow-wrap:anywhere}.agent-message{display:flex;align-items:flex-start;gap:20px}.agent-message>.avatar{width:40px;height:40px;flex:none}.agent-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:10px}.agent-identity{display:flex;align-items:center;gap:16px;font-size:12px;line-height:18px}.agent-identity strong{font-weight:500}.mock-label{color:var(--muted);font-size:12px;line-height:16px}.answer-text{font-size:14px;line-height:22px;white-space:pre-wrap;overflow-wrap:anywhere;color:#ebebef}.streaming:after{content:'▏';color:var(--accent);animation:blink 1s infinite}.answer-cards{display:flex;gap:16px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}.answer-card{width:276px;flex:none;display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:12px;scroll-snap-align:start}.answer-card h3{font-size:16px;font-weight:500;line-height:24px}.answer-card .project-category{align-self:flex-start;color:var(--muted);background:#77716b36;max-width:100%}.answer-card .project-cover{height:78px;border-radius:8px}.view-project{font-size:12px;line-height:16px;color:var(--accent)}.answer-card:hover{border-color:#ff681e88}.source-note{font-size:12px;line-height:16px;color:var(--muted)}.source-note a{border-bottom:1px dotted #ffffff30}.answer-actions{display:flex;align-items:center;gap:12px}.icon-button{padding:7px;display:grid;place-items:center;border-radius:8px;background:#ffffff0d;min-width:32px;min-height:32px}.icon-button:hover{background:#ffffff18}.icon-button .icon{width:18px;height:18px}.version-switch{display:flex;align-items:center;gap:4px;font-size:12px;color:#aeaeb7}.version-switch button{padding:7px 3px}.version-switch img{width:16px;height:16px}.followup-label{font-size:12px;line-height:18px;color:#aeaeb7}.followups{display:flex;gap:8px;flex-wrap:wrap}.followups .pill{font-size:12px;min-height:32px;padding:6px 12px;background:#ffffff0f}.status-line{display:flex;align-items:center;gap:16px;min-height:18px;flex-wrap:wrap}.status-text{font-size:12px;line-height:18px;color:#aeaeb7}.retry-button{font-size:12px;color:var(--accent);display:flex;gap:6px;align-items:center;padding:0}.retry-button img{width:16px;height:16px}.typing-dots{display:flex;gap:5px;padding:16px 0}.typing-dots i{width:4px;height:4px;background:var(--accent);border-radius:50%;animation:pulse 1.2s ease-in-out infinite}.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}.chat-composer{flex:none}.latest-button{position:absolute;right:0;bottom:166px;display:flex;gap:6px;align-items:center;padding:8px 12px;border-radius:99px;font-size:12px;z-index:2}.latest-button[hidden]{display:none}.latest-button img{width:14px;height:14px}.empty-chat{padding:50px 20px;color:var(--muted);font-size:14px;line-height:1.8}.empty-chat h1{font-size:24px;font-weight:400;color:var(--ink);margin-bottom:12px}.sidebar-backdrop{display:none}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:10px 18px;border-radius:99px;font-size:12px;background:#242529f5;border:1px solid #ffffff24;box-shadow:0 8px 30px #0003;transition:opacity .2s,transform .2s;z-index:100;max-width:calc(100% - 40px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
@keyframes blink{50%{opacity:0}}@keyframes pulse{0%,80%,100%{opacity:.25}40%{opacity:1}}

@media(max-width:1100px){.site-header{padding:0 32px;gap:20px;grid-template-columns:1fr 222px 1fr}.primary-nav{gap:18px}.brand{gap:10px;font-size:16px}.conversation-page{grid-template-columns:240px minmax(0,1fr);gap:24px;padding:20px 24px 32px}.sidebar{padding:18px 12px 14px}.chat-main{gap:24px}.home-main{gap:60px}.latest-button{bottom:166px}.home-composer .prompts{gap:8px}.home-composer .pill{padding:7px 10px;gap:6px}}
@media(max-width:800px){.site-header{padding:0 20px;grid-template-columns:1fr auto auto;gap:16px}.brand{font-size:15px;gap:8px}.brand img{width:28px;height:28px}.mode-switch{width:194px}.mode-switch a{width:90px;font-size:11px}.primary-nav{display:none;position:absolute;right:20px;top:66px;width:180px;max-width:none;padding:10px 16px;flex-direction:column;align-items:stretch;gap:0;border:1px solid #ffffff26;border-radius:16px;background:#242529f5;backdrop-filter:blur(40px)}.primary-nav.open{display:flex}.primary-nav a{padding:12px}.mobile-menu{display:grid;place-items:center;width:40px;height:40px;border-radius:10px}.conversation-page{display:block;padding:16px 24px 28px}.chat-main{height:100%;gap:24px}.sidebar{display:none;position:fixed;z-index:40;left:16px;top:84px;bottom:24px;width:264px}.sidebar.open{display:flex}.sidebar-backdrop.open{display:block;position:fixed;z-index:35;inset:72px 0 0;background:#0006;backdrop-filter:blur(4px)}.conversation-mode .mobile-menu{background:#ffffff0d}.agent-message{gap:12px}.home-main{padding-top:44px;gap:64px}.hero{width:calc(100% - 40px);gap:34px}.identity h1{font-size:48px;line-height:56px}.identity h1 em{font-size:57px}.identity{height:184px}.project-card{width:320px}.project-cover{height:160px}.leading-crop{display:none}.work-track{padding-left:20px;padding-right:20px}.home-composer{height:196px}.home-composer .pill .icon{width:20px;height:20px}}
@media(max-width:520px){.site-header{height:72px;padding:0 16px;gap:8px}.brand{font-size:0;gap:0}.brand img{width:28px;height:28px}.mode-switch{width:202px;justify-self:center}.mode-switch a{width:94px}.mobile-menu{width:36px;height:40px}.home-main{padding-top:32px;gap:44px;padding-bottom:28px}.hero{width:calc(100% - 32px);gap:28px}.identity{height:176px}.eyebrow{font-size:8px;letter-spacing:.8px}.identity h1{font-size:38px;line-height:46px;letter-spacing:-1px}.identity h1 em{font-size:47px;letter-spacing:-1px}.subtitle{font-size:13px}.home-composer{height:184px;padding:18px;border-radius:20px}.home-composer textarea{font-size:16px;line-height:25px;height:76px}.composer-bottom{gap:10px}.prompts{gap:8px}.pill{font-size:11px;min-height:36px;padding:7px 10px;gap:5px}.project-card{width:300px;padding:14px}.project-card h2{font-size:15px}.project-category{font-size:9px;max-width:143px;padding:2px 8px}.project-cover{height:151px}.work-track{gap:12px;padding-left:16px;padding-right:16px}.conversation-page{padding:12px 16px 20px}.chat-main{gap:20px}.agent-message>.avatar{width:40px;height:40px}.agent-message{gap:10px}.visitor-message{gap:8px}.visitor-bubble{font-size:13px;max-width:85%}.visitor-message .avatar{width:32px;height:32px}.agent-identity{gap:10px;font-size:11px}.mock-label{font-size:10px}.answer-text{font-size:13px;line-height:22px}.answer-card{width:248px;padding:14px}.answer-card h3{font-size:15px}.source-note{font-size:10px;line-height:16px}.chat-composer{height:146px;padding:16px}.chat-composer textarea{font-size:14px;line-height:24px;height:48px}.chat-composer .prompts .icon{width:20px;height:20px}.chat-composer .prompts .pill{padding:7px 9px;font-size:10px;gap:5px}.chat-composer .prompts{gap:6px}.chat-composer .send-button{width:36px;height:36px}.latest-button{bottom:164px}.answer-actions{gap:10px}}
@media(max-height:740px) and (min-width:801px){.home-main{padding-top:24px;gap:36px}.hero{gap:24px}.identity{height:170px}.identity h1{font-size:48px;line-height:54px}.identity h1 em{font-size:58px}.home-composer{height:170px}.conversation-page{padding-bottom:24px}.chat-main{gap:24px}.sidebar-spacer{min-height:0}.sidebar{gap:8px}.explore-item{min-height:50px;padding:7px 10px}.suggestions{gap:1px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}.typing-dots i,.streaming:after{animation:none}}

.primary-nav[aria-label]{scrollbar-width:thin}

.ide-link strong{font-size:14px}
.ide-link small,.explore-item small{font-size:12px}

.answer-progress{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:2px 0 4px;color:#c4c0bd;font-size:12px;line-height:18px}
.progress-step{display:flex;align-items:center;gap:8px;min-height:18px}
.progress-step.pending{color:#8f8b88}
.progress-step.complete{color:#aaa6a3}
.progress-mark{display:grid;place-items:center;width:16px;height:16px;flex:none;border:1px solid #77716b;border-radius:50%;font-size:10px;line-height:1}
.progress-step.active .progress-mark{border-color:#ff681e;color:#ff9869;animation:progress-pulse 1.5s ease-in-out infinite}
.progress-step.complete .progress-mark{border-color:#ff681e;color:#ff9869}
.answer-progress[role="status"]{min-height:38px}
@keyframes progress-pulse{50%{box-shadow:0 0 0 3px #ff681e22}}
@media(prefers-reduced-motion:reduce){.progress-step.active .progress-mark{animation:none}}

@media(max-width:520px){
  .home-main{grid-template-columns:minmax(0,1fr)}
  .hero-stage,.hero,.identity,.composer,.work-carousel,.work-wall{min-width:0;width:100%}
  .hero{width:calc(100% - 32px)}
  .identity h1{max-width:100%;text-wrap:balance}
  .home-composer{width:100%}
  .site-header{height:calc(72px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));grid-template-columns:28px minmax(0,1fr) 44px;gap:8px}
  .brand{min-width:0}
  .mode-switch{grid-column:2;width:100%;max-width:218px;min-width:0;height:44px;justify-self:center;gap:2px}
  .mode-switch a{width:auto;min-width:0;flex:1;height:36px;gap:4px;font-size:11px}
  .mobile-menu{width:44px;height:44px}
  .primary-nav{top:calc(72px + env(safe-area-inset-top) + 8px);right:max(16px,env(safe-area-inset-right));width:min(220px,calc(100vw - 32px));max-height:calc(var(--visual-viewport-height,100dvh) - 104px);overflow-y:auto;overscroll-behavior:contain}
  .primary-nav a{min-height:44px;display:flex;align-items:center}
  .home-main{min-height:calc(var(--visual-viewport-height,100svh) - 72px - env(safe-area-inset-top));padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .conversation-page{height:calc(var(--visual-viewport-height,100dvh) - 72px - env(safe-area-inset-top));padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
  .sidebar{top:calc(72px + env(safe-area-inset-top) + 12px);bottom:calc(16px + env(safe-area-inset-bottom));left:max(16px,env(safe-area-inset-left));width:min(280px,calc(100vw - 32px));padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .sidebar-backdrop.open{inset:calc(72px + env(safe-area-inset-top)) 0 0}
  .agent-message{gap:12px}
  .agent-message>.avatar,.visitor-message .avatar{width:44px;height:44px}
  .visitor-message{gap:8px;align-items:center}
  .visitor-bubble{max-width:calc(100% - 52px);min-width:0;font-size:16px;line-height:24px}
  .answer-text{font-size:16px;line-height:24px}
  .answer-card{width:min(248px,78vw)}
  .answer-cards-wrap{min-width:0;max-width:100%}
  .answer-cards{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x}
  .chat-composer{min-height:146px;height:auto;padding:14px}
  .chat-composer textarea{min-height:48px;height:48px;font-size:16px;line-height:24px}
  .chat-composer .prompts .pill,.home-composer .prompts .pill{min-height:44px}
  .send-button,.chat-composer .send-button{width:44px;height:44px}
  .icon-button{min-width:44px;min-height:44px}
  .version-switch button,.retry-button{min-width:44px;min-height:44px}
  .latest-button{bottom:calc(158px + env(safe-area-inset-bottom));min-height:40px}
  .toast{bottom:calc(16px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  .site-header{gap:6px}
  .mode-switch{max-width:204px}
  .mode-switch a{gap:2px;font-size:10px}
  .mode-switch .motion-icon{width:22px;height:22px}
  .identity h1{font-size:34px;line-height:42px}
  .identity h1 em{font-size:42px}
  .home-composer{padding:14px}
  .chat-composer{padding:12px}
  .answer-actions{gap:6px}
}
.latest-button{left:50%;right:auto;bottom:166px;z-index:5;transform:translateX(-50%)}
.latest-button:hover{z-index:5}
.mode-switch a:first-child:hover,.mode-switch a:first-child:focus-visible{color:#8caaf6}
.mode-switch a:last-child:hover,.mode-switch a:last-child:focus-visible{color:var(--accent)}

/* Center the title/composer together above a bottom-aligned project rail. */
.home-main{display:grid;grid-template-rows:minmax(496px,1fr) auto;min-height:calc(100svh - 72px);gap:0;padding:0 0 16px;align-items:stretch;justify-items:stretch}
.hero-stage{display:grid;place-items:center;min-width:0;padding:24px 0 40px}
.home-main .work-wall{align-self:end;padding-bottom:0}
@media(max-width:800px){.home-main{grid-template-rows:minmax(478px,1fr) auto;padding-bottom:16px}.hero-stage{padding:24px 0 40px}}
@media(max-width:520px){.home-main{grid-template-rows:minmax(444px,1fr) auto}.hero-stage{padding:24px 0 32px}}
@media(max-height:740px) and (min-width:801px){.home-main{grid-template-rows:minmax(412px,1fr) auto}.hero-stage{padding:16px 0 32px}}

/* Clearer system-style glass: translucent tint, blur, saturation and fine edge light. */
.composer{backdrop-filter:blur(32px) saturate(180%);-webkit-backdrop-filter:blur(32px) saturate(180%);border-color:rgba(255,255,255,.38);box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -1px 0 rgba(255,255,255,.08),0 16px 44px -12px rgba(0,0,0,.24)}
.home-composer{background:linear-gradient(155deg,rgba(255,255,255,.2),rgba(255,255,255,.04) 40%,rgba(255,255,255,.01) 75%),rgba(244,244,246,.46);color:#101112;backdrop-filter:blur(32px) saturate(180%) brightness(1.15);-webkit-backdrop-filter:blur(32px) saturate(180%) brightness(1.15)}
.home-composer textarea,.home-composer textarea::placeholder{color:#101112}.home-composer .pill{color:#101112;background:rgba(255,255,255,.16);border-color:rgba(32,33,36,.18)}.home-composer .pill:hover{background:rgba(255,255,255,.28)}
.chat-composer{background:linear-gradient(155deg,rgba(255,255,255,.09),rgba(255,255,255,.015) 55%,transparent),rgba(24,25,28,.34);border-color:rgba(255,255,255,.25);box-shadow:inset 0 1px 1px rgba(255,255,255,.4),inset 0 -1px 0 rgba(255,255,255,.04),0 16px 44px -12px rgba(0,0,0,.35)}
.composer:before{content:'';pointer-events:none;position:absolute;inset:1px;border-radius:18px;border-top:1px solid rgba(255,255,255,.2);border-left:1px solid rgba(255,255,255,.08)}
.work-carousel{width:100%;min-width:0;position:relative;align-self:end}.work-carousel .work-track{gap:0;padding:0}.work-set{display:flex;align-items:stretch;gap:16px;padding-right:16px;flex:none}.work-carousel .work-wall{scroll-snap-type:none;scroll-behavior:auto}
@media(max-width:520px){.work-set{gap:12px;padding-right:12px}}
@supports not (backdrop-filter:blur(1px)){.home-composer{background:rgba(244,244,246,.88)}.chat-composer{background:rgba(36,37,41,.92)}}

/* Placeholder is a hint; entered text has stronger contrast in each material. */
.home-composer textarea{color:#101112;caret-color:#ff681e}.home-composer textarea::placeholder{color:#53504e;opacity:1}.chat-composer textarea{color:#f5f5f7;caret-color:#ff681e}.chat-composer textarea::placeholder{color:#9a9a9f;opacity:1}

/* Conversation fills the viewport; only page gutters remain. */
@media(min-width:801px){
.site-header{width:100%;max-width:none;padding:0 24px;margin:0}
.primary-nav{max-width:none;width:auto;gap:32px;justify-self:end}
.conversation-page{width:100%;max-width:none;margin:0;padding:20px 24px 24px;grid-template-columns:264px minmax(0,1fr);gap:24px}
.conversation-page .chat-main{width:100%;max-width:none;gap:24px}
.conversation-page .sidebar{width:100%;max-width:none}
.conversation-page .chat-composer{width:100%;max-width:none}
}

/* Shared default / hover / pressed states for system glass controls. */
.glass-control{--control-surface:rgba(255,255,255,.05);--control-hover:rgba(255,255,255,.095);--control-press:rgba(255,255,255,.14);background:var(--control-surface);transition:background .18s,border-color .18s,box-shadow .18s,scale .12s}
.glass-control:hover{background:var(--control-hover)}.glass-control:active{background:var(--control-press);scale:.94}
.carousel-arrow{--control-surface:rgba(244,244,246,.46);--control-hover:rgba(244,244,246,.62);--control-press:rgba(244,244,246,.72);position:absolute;z-index:3;top:50%;translate:0 -50%;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.64);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);box-shadow:inset 0 1px 1px rgba(255,255,255,.85),0 6px 20px rgba(0,0,0,.14)}
.carousel-arrow-left{left:24px}.carousel-arrow-right{right:24px}.carousel-arrow .icon{width:24px;height:24px;filter:brightness(0);opacity:.8}.carousel-arrow:hover{border-color:rgba(255,255,255,.9);box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 8px 24px rgba(0,0,0,.18)}
@media(max-width:520px){.carousel-arrow{width:44px;height:44px}.carousel-arrow-left{left:12px}.carousel-arrow-right{right:12px}}

/* Refine chat density and soften the shared frosted-glass edge. */
.glass-dark,.glass-light{transition:filter .18s,border-color .18s,box-shadow .18s}
.glass-dark{border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 28px -8px rgba(0,0,0,.3)}
.glass-light{border-color:rgba(255,255,255,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 28px -8px rgba(0,0,0,.2)}
.glass-dark:hover,.glass-light:hover{filter:brightness(1.045)}
.composer{box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 12px 36px -12px rgba(0,0,0,.28)}
.composer:before{border-top-color:rgba(255,255,255,.08);border-left-color:rgba(255,255,255,.025)}
.composer:focus-within{border-color:rgba(255,255,255,.18)}
.composer:hover{filter:brightness(1.045)}
.answer-card:hover{border-color:rgba(255,255,255,.2);filter:brightness(1.05)}
.icon-button{background:transparent;opacity:.68;transition:background .18s,opacity .18s}
.icon-button:hover,.icon-button:focus-visible{background:#ffffff12;opacity:1}
.icon-button .lucide{width:18px;height:18px}
.answer-actions .icon-button{opacity:1}
@media(hover:hover){.answer-actions .icon-button{opacity:0;pointer-events:none}.turn:hover .answer-actions .icon-button,.turn:focus-within .answer-actions .icon-button{opacity:.68;pointer-events:auto}.turn .answer-actions .icon-button:hover,.turn .answer-actions .icon-button:focus-visible{opacity:1}}
@media(min-width:1440px){.turn,.conversation-page .chat-composer{width:60%;margin-inline:auto}}
.suggestions button{font-size:14px}
.empty-chat{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;pointer-events:none}
.empty-chat h1{margin:0 0 8px}
.empty-chat p{margin:0 0 6px}
.visitor-message .avatar,.agent-message>.avatar{width:44px;height:44px;flex:none;border-radius:50%;object-fit:cover}
.visitor-message{align-items:center}
.visitor-message .avatar{margin-top:0}
.agent-message{align-items:flex-start}
.agent-message>.avatar{align-self:flex-start;margin-top:0}
.answer-cards-wrap{width:100%;min-width:0}
.answer-cards-wrap .answer-cards{width:100%}
.answer-cards-wrap .answer-cards{scrollbar-width:none}
.answer-cards-wrap .answer-cards::-webkit-scrollbar{display:none;width:0;height:0}
.answer-cards-scrollbar{--thumb-size:28%;appearance:none;-webkit-appearance:none;display:block;width:100%;height:12px;margin:5px 0 0;padding:4px 0;background:transparent;cursor:pointer;touch-action:pan-y;transition:filter .2s ease,opacity .2s ease}
.answer-cards-scrollbar:hover{filter:drop-shadow(0 0 3px rgba(255,255,255,.1))}
.answer-cards-scrollbar:focus-visible{outline:2px solid rgba(255,255,255,.55);outline-offset:2px;border-radius:99px}
.answer-cards-scrollbar[hidden]{display:none}
.answer-cards-scrollbar::-webkit-slider-runnable-track{height:4px;border-radius:99px;background:linear-gradient(to right,rgba(255,255,255,.5) 0 var(--progress,0%),rgba(255,255,255,.14) var(--progress,0%) 100%);transition:background .12s ease}
.answer-cards-scrollbar::-webkit-slider-thumb{-webkit-appearance:none;width:var(--thumb-size);min-width:28px;height:6px;margin-top:-1px;border:0;border-radius:99px;background:rgba(255,255,255,.48);box-shadow:0 1px 4px rgba(0,0,0,.2);transition:height .16s ease,background .16s ease,box-shadow .16s ease}
.answer-cards-scrollbar:hover::-webkit-slider-thumb,.answer-cards-wrap.is-dragging .answer-cards-scrollbar::-webkit-slider-thumb{height:7px;background:rgba(255,255,255,.68);box-shadow:0 0 6px rgba(255,255,255,.16)}
.answer-cards-scrollbar::-moz-range-track{height:4px;border-radius:99px;background:rgba(255,255,255,.18)}
.answer-cards-scrollbar::-moz-range-progress{height:4px;border-radius:99px;background:rgba(255,255,255,.5)}
.answer-cards-scrollbar::-moz-range-thumb{width:var(--thumb-size);min-width:28px;height:6px;border:0;border-radius:99px;background:rgba(255,255,255,.48);box-shadow:0 1px 4px rgba(0,0,0,.2);transition:height .16s ease,background .16s ease,box-shadow .16s ease}
.answer-cards-scrollbar:hover::-moz-range-thumb,.answer-cards-wrap.is-dragging .answer-cards-scrollbar::-moz-range-thumb{height:7px;background:rgba(255,255,255,.68);box-shadow:0 0 6px rgba(255,255,255,.16)}
@media(prefers-reduced-motion:reduce){.answer-cards-scrollbar,.answer-cards-scrollbar::-webkit-slider-thumb,.answer-cards-scrollbar::-moz-range-thumb{transition:none}}
.answer-card{width:276px;align-items:flex-start;border-color:rgba(255,255,255,.22);box-shadow:0 12px 32px -2px rgba(0,0,0,.26),inset 0 1px 1px rgba(255,255,255,.23);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.answer-card .project-cover{height:132px}
.answer-card:hover{border-color:rgba(255,255,255,.22);filter:brightness(1.045)}

/* Keep the two navigation motions and chat actions on one icon rhythm. */
.mode-switch{width:296px}
.mode-switch a{display:flex;justify-content:center;align-items:center;white-space:nowrap}
.mode-switch .motion-icon,.ide-link .motion-icon{width:24px;height:24px;flex:none;overflow:visible}
.twin-star{transform-box:fill-box;transform-origin:center;transition:transform 420ms cubic-bezier(.22,1,.36,1)}
.star-outline{fill:none;stroke:#ff854b;stroke-width:4;stroke-linejoin:round;opacity:.95;transition:opacity 260ms ease,stroke 350ms ease}
.star-glass{fill:var(--star-fill);stroke:var(--star-rim);stroke-width:1.6;stroke-linejoin:round;opacity:0;transition:opacity 440ms cubic-bezier(.22,1,.36,1)}
.star-halo{fill:#ff681e;filter:blur(2px);opacity:0;transition:opacity 420ms cubic-bezier(.22,1,.36,1)}
.mode-switch a:last-child:is(:hover,:focus-visible) .twin-star-icon .star-outline{opacity:.18;stroke:#ffd3ac}
.mode-switch a:last-child:is(:hover,:focus-visible) .twin-star-icon .star-glass{opacity:1}
.mode-switch a:last-child:is(:hover,:focus-visible) .twin-star-icon .star-halo{opacity:.52}
.mode-switch a:last-child:is(:hover,:focus-visible) .twin-star-icon .twin-star-large{transform:scale(1.035)}
.mode-switch a:last-child:is(:hover,:focus-visible) .twin-star-icon .twin-star-small{transform:scale(1.07);transition-delay:45ms}
.browser-outline{fill:url(#browser-glass);fill-opacity:0;stroke:#0e1f4b;stroke-width:4;transition:fill-opacity .42s,stroke .42s,filter .42s}
.browser-divider{fill:none;stroke:#0e1f4b;stroke-width:4;transition:stroke .42s}
.browser-dot{fill:#0e1f4b;transition:fill .42s,filter .42s}
.browser-sheen{fill:url(#browser-sheen);opacity:0;transition:opacity .42s}
.mode-switch .motion-icon{transition:transform .42s cubic-bezier(.22,1,.36,1)}
.mode-switch a:hover .browser-motion-icon,.mode-switch a:focus-visible .browser-motion-icon,.ide-link:hover .browser-motion-icon,.ide-link:focus-visible .browser-motion-icon{transform:translateY(-1px) scale(1.025)}
.mode-switch a:hover .browser-outline,.mode-switch a:focus-visible .browser-outline,.ide-link:hover .browser-outline,.ide-link:focus-visible .browser-outline{fill-opacity:1;stroke:#8caaf6;filter:drop-shadow(0 0 3px rgba(69,110,215,.35))}
.mode-switch a:hover .browser-divider,.mode-switch a:focus-visible .browser-divider,.ide-link:hover .browser-divider,.ide-link:focus-visible .browser-divider{stroke:#a9bffa}
.mode-switch a:hover .browser-dot,.mode-switch a:focus-visible .browser-dot,.ide-link:hover .browser-dot,.ide-link:focus-visible .browser-dot{fill:#e6edff;filter:drop-shadow(0 0 2px #dbe6ff)}
.mode-switch a:hover .browser-sheen,.mode-switch a:focus-visible .browser-sheen,.ide-link:hover .browser-sheen,.ide-link:focus-visible .browser-sheen{opacity:.75}
.mode-switch .twin-star-icon .star-outline{stroke-width:5}
.mode-switch a:first-child:is(:hover,:focus-visible){color:#8caaf6;background:rgba(140,170,246,.1)}
.mode-switch a:last-child:is(:hover,:focus-visible){color:var(--accent);background:rgba(255,104,30,.1)}
@media(min-width:801px){.site-header{grid-template-columns:1fr 296px 1fr}}
.browser-outline{stroke:#8fa5d5}
.browser-divider{stroke:#8fa5d5}
.browser-dot{fill:#8fa5d5}
.ide-link{align-items:center}
.icon-button{opacity:.72;pointer-events:auto}
.icon-button .icon{width:18px;height:18px}
@media(hover:hover){.answer-actions .icon-button{opacity:.72;pointer-events:auto}}
.icon-button:hover,.icon-button:focus-visible{background:#ffffff12;opacity:1}
.visitor-bubble,.answer-text{font-size:16px;line-height:26px}
@media(max-width:800px){.mode-switch{width:226px}.mode-switch a{width:106px;font-size:11px}}
@media(max-width:520px){.mode-switch{width:218px}.mode-switch a{width:102px}.visitor-bubble,.answer-text{font-size:16px;line-height:26px}}
@media(prefers-reduced-motion:reduce){.twin-star,.star-outline,.star-glass,.star-halo,.mode-switch .motion-icon,.browser-outline,.browser-divider,.browser-dot,.browser-sheen{transition-duration:.01ms!important}}

/* finesse · component: project stack · existing portfolio palette */
.home-main{display:block;min-height:0;padding:0}
.hero-stage{min-height:calc(100svh - 72px);padding:24px 0 60px}
.hero-stage .hero{transform:translateY(var(--hero-shift,0px))}
.work-stack{position:relative;width:min(880px,calc(100% - 48px));margin:0 auto;padding:0 0 20vh}
.stack-item{position:sticky;top:clamp(24px,8vh,88px);margin-bottom:55vh;transform:scale(calc(1 - var(--depth,0) * .045)) translateY(calc(var(--depth,0) * -14px));transform-origin:50% 0}
.stack-item:last-child{margin-bottom:0}
.stack-item .project-card{width:100%;padding:20px;gap:16px;border-radius:20px;background:rgba(241,231,226,.96);box-shadow:0 18px 54px #1a0d0a44,inset 0 1px 1px #ffffffa6;backdrop-filter:none;-webkit-backdrop-filter:none}
.stack-item .project-card-heading{height:auto;min-height:28px}
.stack-item .project-card h2{font-size:20px;line-height:28px}
.stack-item .project-category{font-size:12px;line-height:18px;max-width:55%}
.stack-item .project-cover{height:auto;aspect-ratio:16/9;border-radius:12px}
.stack-item .project-cover img{transform:translateY(calc(var(--depth,0) * -1.5%)) scale(1.035)}
.stack-item .project-cover[data-project=stella-x] img{transform:translateY(calc(var(--depth,0) * -1.5%)) scale(1.85)}
.stack-item .project-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:520px){.hero-stage{min-height:calc(100svh - 72px);padding:24px 0 48px}.work-stack{width:calc(100% - 32px);padding-bottom:15vh}.stack-item{top:24px;margin-bottom:48vh}.stack-item .project-card{padding:14px;gap:12px;border-radius:16px}.stack-item .project-card h2{font-size:16px;line-height:24px}.stack-item .project-category{font-size:10px;max-width:55%}}
@media(prefers-reduced-motion:reduce){.hero-stage .hero,.stack-item,.stack-item .project-cover img,.stack-item .project-cover[data-project=stella-x] img{transform:none}.stack-item .project-cover[data-project=stella-x] img{transform:scale(1.85)}.stack-item{position:relative;top:auto;margin-bottom:24px}.work-stack{padding-bottom:48px}}


/* Scroll stack: pin the composer without changing its home layout. */
.hero-stage{position:relative;z-index:10;pointer-events:none}
.hero-stage .home-composer{pointer-events:auto;transform:translateY(var(--composer-shift,0px))}
.stack-item{top:clamp(220px,42svh,520px)}
.stack-item .project-card{background:rgba(235,230,228,.92);border-color:rgba(255,255,255,.62);box-shadow:0 18px 54px #1a0d0a44,inset 0 1px 1px #ffffffad}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.stack-item .project-card{background:linear-gradient(150deg,rgba(255,255,255,.38),rgba(255,255,255,.12)),rgba(230,223,220,.58);backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%)}}
.stack-item .project-card h2{color:#171719}.stack-item .project-category{color:#38383c;background:rgba(245,245,247,.7)}
@media(max-width:520px){.stack-item{top:clamp(215px,42svh,340px)}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.stack-item .project-card{background:#e8e3e0;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.stack-item{position:relative;top:auto}}

/* Stable pinning and translucent stack material. */
.hero-stage .hero{transform:none}
.work-stack{padding-bottom:100svh}
.stack-item .project-card{background:rgba(230,228,227,.92);border-color:rgba(255,255,255,.5)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.stack-item .project-card{background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.04)),rgba(225,221,219,.18);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%)}}
.stack-item .project-card h2{color:#f9f8f7;text-shadow:0 1px 8px #000b}
.stack-item .project-category{color:#242428;background:rgba(245,245,247,.8)}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.stack-item .project-card{background:#e8e3e0;backdrop-filter:none;-webkit-backdrop-filter:none}.stack-item .project-card h2{color:#171719;text-shadow:none}}
@media(prefers-reduced-motion:reduce){.work-stack{padding-bottom:48px}}
.work-stack{padding-bottom:0}
.work-stack::after{content:"";display:block;height:100svh;pointer-events:none}
@media(prefers-reduced-motion:reduce){.work-stack::after{height:48px}}

/* Keep the composer anchored without scroll-linked movement. */
.composer-anchor{width:min(816px,100%);flex:none;pointer-events:auto}
.hero-stage .home-composer{transform:none;width:100%}
.hero-stage .home-composer.is-pinned{position:fixed;z-index:30;top:16px;left:50%;width:min(816px,calc(100% - 48px));transform:translateX(-50%)}
@media(max-width:800px){.hero-stage .home-composer.is-pinned{width:calc(100% - 40px)}}
@media(max-width:520px){.hero-stage .home-composer.is-pinned{width:calc(100% - 32px)}}

/* Keep the edges of earlier cards visible as the stack grows. */
.stack-item{transform:scale(calc(1 - var(--depth,0) * .035)) translateY(calc(var(--depth,0) * -16px))}
@media(prefers-reduced-motion:reduce){.stack-item{transform:none}}
.stack-item .project-cover img{transform:translateY(calc(var(--depth,0) * -.5%)) scale(1.035)}
.stack-item .project-cover[data-project=stella-x] img{transform:translateY(calc(var(--depth,0) * -.5%)) scale(1.85)}
@media(prefers-reduced-motion:reduce){.stack-item .project-cover img{transform:none}.stack-item .project-cover[data-project=stella-x] img{transform:scale(1.85)}}

.stack-item{margin-bottom:0}
.stack-gap{height:55vh;pointer-events:none}
@media(max-width:520px){.stack-gap{height:48vh}}
@media(prefers-reduced-motion:reduce){.stack-item{margin-bottom:24px}.stack-gap{display:none}}

/* User-supplied liquid orb replaces the identity text, retaining the hero footprint. */
.orb-identity{position:relative;display:grid;place-items:center;overflow:visible}
.hero-orb{display:block;width:min(240px,100%);height:100%;border:0;background:transparent;pointer-events:none}
.orb-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.orb-identity{grid-template-columns:minmax(0,1fr);justify-items:center}
.hero-orb{position:relative;display:block;width:196px;height:196px;pointer-events:none}
.hero-orb canvas{display:block;width:100%;height:100%;visibility:hidden}
.hero-orb.ready canvas{visibility:visible}.hero-orb.ready .orb-fallback{display:none}
.orb-fallback{position:absolute;inset:14%;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ecffffba 0%,transparent 20%),radial-gradient(circle at 68% 70%,#ff8f4cba,transparent 48%),radial-gradient(circle at 32% 62%,#47d8e1c7,transparent 46%),radial-gradient(circle at 50% 45%,#96bcd7,#183049 70%,#090f1a);box-shadow:inset 2px 3px 10px #ffffff8c,inset -6px -8px 24px #071325a3,0 4px 28px #68c7da33}
@media(max-width:800px){.hero-orb{width:184px;height:184px}}@media(max-width:520px){.hero-orb{width:176px;height:176px}}

/* The orb sits behind the restored hero copy without changing the layout. */
.orb-identity{display:flex;justify-content:space-between;align-items:center;isolation:isolate}
.orb-identity>.eyebrow,.orb-identity>h1,.orb-identity>.subtitle{position:relative;z-index:1;text-shadow:0 2px 14px rgba(0,0,0,.9),0 1px 3px rgba(0,0,0,.85)}
.hero-orb{position:absolute;z-index:0;left:50%;top:50%;width:588px;height:588px;transform:translate(-50%,-50%);max-width:none}
.home-composer{z-index:2}
@media(max-width:800px){.hero-orb{width:552px;height:552px}}
@media(max-width:520px){.hero-orb{width:528px;height:528px}.orb-identity{overflow:visible}html,body{overflow-x:clip}}

.orb-identity::before{content:"";position:absolute;z-index:1;inset:-24px max(0px,calc((100% - 610px)/2));background:radial-gradient(ellipse,rgba(0,0,0,.58) 0%,rgba(0,0,0,.38) 48%,transparent 78%);pointer-events:none}
.orb-identity>.eyebrow,.orb-identity>h1,.orb-identity>.subtitle{z-index:2}
.orb-identity>.eyebrow,.orb-identity>.subtitle{color:#f3f1ef}

/* Move the orb and its text together without moving the composer. */
.orb-identity{transform:translateY(-120px)}
@media(max-width:520px){.orb-identity{transform:translateY(-85px)}.hero-stage{min-height:max(calc(100svh - 72px),740px)}}

/* Requested hero type sizes; keep the orb visible without a dark overlay. */
.orb-identity{height:auto;min-height:424px;transform:none;justify-content:center;gap:12px}
.orb-identity::before{content:none}
.orb-identity>.eyebrow{font-size:24px;line-height:1.15;letter-spacing:0;max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
.orb-identity>h1{font-size:80px;line-height:1.12;letter-spacing:-1.5px;max-width:100%;overflow-wrap:anywhere}
.orb-identity>h1 em{font-size:96px;line-height:1.12}
.orb-identity>.subtitle{font-size:24px;line-height:1.15;max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
@media(max-width:520px){.orb-identity{transform:none;min-height:380px}.hero-stage{min-height:max(calc(100svh - 72px),740px)}}

@font-face{font-family:Orbitron;src:url('assets/fonts/Orbitron-800.ttf') format('truetype');font-style:normal;font-weight:800;font-display:swap}
.orb-identity>h1{font-family:Orbitron,sans-serif;font-weight:800;font-size:clamp(24px,4vw,64px);line-height:1.2;letter-spacing:-.04em}
.orb-identity>h1 em{font-family:'Instrument Serif',Georgia,serif;font-weight:400}
@media(max-width:520px){.orb-identity>h1{font-size:clamp(22px,6vw,32px);letter-spacing:-.045em}}

/* Rounded primary navigation; current links retain their existing destinations. */
@media (min-width:801px){
  .primary-nav{gap:2px;padding:5px;border:1px solid rgba(220,237,244,.24);border-radius:999px;background:linear-gradient(135deg,rgba(187,213,224,.13),rgba(18,24,28,.55));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 24px rgba(0,0,0,.12);backdrop-filter:blur(12px) saturate(120%);-webkit-backdrop-filter:blur(12px) saturate(120%)}
  .primary-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border:1px solid transparent;border-radius:999px;color:#c6d0d3;white-space:nowrap;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
  .primary-nav a:focus-visible{outline:2px solid #ffad80;outline-offset:-3px;color:#fff;background:rgba(228,239,244,.18);border-color:rgba(235,248,255,.28)}
  .primary-nav a:active{background:rgba(228,239,244,.29)}
}
@media (min-width:801px) and (hover:hover){.primary-nav a:hover{color:#fff;border-color:rgba(235,248,255,.28);background:rgba(228,239,244,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}}
@media (max-width:800px){.primary-nav a{border-radius:10px}.primary-nav a:focus-visible{outline:2px solid #ffad80;outline-offset:-2px}.primary-nav a:active{background:rgba(228,239,244,.18)}}
@media (prefers-reduced-motion:reduce){.primary-nav a{transition:none}}

/* Mode switch uses the same rounded surface as the primary navigation. */
.mode-switch{height:54px;padding:5px;gap:2px;border:1px solid rgba(220,237,244,.24);border-radius:999px;background:linear-gradient(135deg,rgba(187,213,224,.13),rgba(18,24,28,.55));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 24px rgba(0,0,0,.12);backdrop-filter:blur(12px) saturate(120%);-webkit-backdrop-filter:blur(12px) saturate(120%)}
.mode-switch a{height:42px;border:1px solid transparent;border-radius:999px;color:#c6d0d3;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.mode-switch a.selected,.mode-switch a:first-child.selected,.mode-switch a:last-child.selected{color:#f7f7f5;border-color:rgba(235,248,255,.28);background:rgba(228,239,244,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}
.mode-switch a:focus-visible{outline:2px solid #ffad80;outline-offset:-3px}
.mode-switch a:active{background:rgba(228,239,244,.29)}
@media (hover:hover){.mode-switch a:not(.selected):hover{color:#f7f7f5;background:rgba(228,239,244,.14);border-color:rgba(235,248,255,.18)}}
@media(prefers-reduced-motion:reduce){.mode-switch a{transition:none}}

/* Sliding capsule follows hover and keyboard focus, then returns to the selected mode. */
.mode-switch.has-sliding-bubble{position:fixed;top:18px;left:50%;z-index:60;transform:translateX(-50%);isolation:isolate}.primary-nav.has-sliding-bubble{position:relative;isolation:isolate}
.has-sliding-bubble>a{position:relative;z-index:1}
.sliding-nav-bubble{position:absolute;top:0;left:0;z-index:0;pointer-events:none;opacity:0;border:1px solid rgba(235,248,255,.28);border-radius:999px;background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(211,230,240,.16));box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 2px 8px rgba(0,0,0,.08);transition:transform .42s cubic-bezier(.22,1.35,.36,1),width .42s cubic-bezier(.22,1.35,.36,1),opacity .16s ease}
.sliding-nav-bubble.visible{opacity:1}.sliding-nav-bubble.no-transition{transition:none}
.mode-switch.has-sliding-bubble a.selected,.mode-switch.has-sliding-bubble a:first-child.selected,.mode-switch.has-sliding-bubble a:last-child.selected,.mode-switch.has-sliding-bubble a:not(.selected):hover{background:transparent;border-color:transparent;box-shadow:none}
@media(min-width:801px){.primary-nav.has-sliding-bubble a:hover,.primary-nav.has-sliding-bubble a:focus-visible{background:transparent;border-color:transparent;box-shadow:none}.has-sliding-bubble a.bubble-target{color:#f7f7f5}}
@media(max-width:800px){.primary-nav.has-sliding-bubble{position:absolute}.primary-nav .sliding-nav-bubble{display:none}}
@media(prefers-reduced-motion:reduce){.sliding-nav-bubble{transition:none}}

.home-question{position:relative;width:100%;height:92px;flex:none;font-size:18px;line-height:28px}
.home-question textarea{position:absolute;inset:0;width:100%;height:100%}
.text-type-placeholder{display:none;position:absolute;inset:0;pointer-events:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;color:#53504e;font:inherit;line-height:inherit}
.home-composer.is-typewriter-running textarea::placeholder{color:transparent;opacity:0}
.home-composer.is-typewriter-running .text-type-placeholder{display:block}
.text-type__cursor{display:inline-block;margin-left:1px;color:var(--accent);animation:text-type-blink .72s steps(1,end) infinite}
@keyframes text-type-blink{50%{opacity:0}}
@media(max-width:520px){.home-question{height:76px;font-size:16px;line-height:25px}}
@media(prefers-reduced-motion:reduce){.text-type__cursor{animation:none}}


/* Keep the Agent navigation on the right after the centered switcher leaves grid flow. */
@media(min-width:801px){.site-header>.primary-nav{grid-column:3}}
/* Leave a clear lane below the fixed mode switcher for the home composer. */
.home-composer{margin-top:72px}
