/* SOGpt public home · black stage, the SOG office model, five roles. Motion is transform and opacity only. */
@font-face{font-family:Geist;src:url('/static/fonts/geist-latin-var.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('/static/fonts/geist-mono-latin-var.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{
  color-scheme:dark;
  --bg:#070808;--panel:#101213;--ink:#EEF1F2;--ink-hi:#F3F5F6;--ink-2:#A7B0B4;--ink-3:#8C969A;--ink-body:#D5DADC;
  --line:rgba(255,255,255,.07);--line-2:rgba(255,255,255,.14);
  --accent:#5FB3CB;--accent-ink:#06181E;
  --director:#D3A04A;--research:#5FA58C;--design:#6E9BBC;--production:#D08E73;--management:#A493C2;
  --font:Geist,system-ui,-apple-system,'Segoe UI',sans-serif;--mono:'Geist Mono',ui-monospace,Menlo,Consolas,monospace;
  --ease:cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
button:disabled{cursor:default;opacity:.4}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
svg.fill{fill:currentColor;stroke:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
[hidden]{display:none!important}
.skip{position:fixed;top:-90px;left:16px;z-index:100;padding:12px 16px;border-radius:10px;background:var(--ink);color:var(--bg)}.skip:focus{top:12px}

/* The page fills the window at any width. */
.frame{width:100%}

/* Header */
.site-header{height:76px;padding:0 32px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;min-height:44px}.brand img{width:70px;height:39px;display:block}
.section-nav{display:flex;gap:28px;font-size:14px}.section-nav a{color:var(--ink-2);transition:color .16s}.section-nav a:hover{color:var(--ink)}
.account-nav{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:14px}
.account-nav .signin{color:var(--ink-body);min-height:44px;display:flex;align-items:center}.account-nav .signin:hover{color:#fff}
.enter{height:40px;padding:0 16px;display:flex;align-items:center;gap:8px;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-weight:500;transition:transform .16s var(--ease)}
.enter:hover{transform:translateY(-1px)}

/* Hero stage */
.studio{position:relative;height:max(680px,calc(100svh - 77px));overflow:hidden;border-bottom:1px solid var(--line)}
.pixels i{position:absolute;display:block;filter:blur(22px);opacity:.5;animation:drift 22s var(--ease) infinite alternate}
.pixels i:nth-child(1){left:58%;top:9%;width:96px;height:96px;background:#1F5F74}
.pixels i:nth-child(2){left:86%;top:20%;width:72px;height:72px;background:#2C7E97;opacity:.4;animation-duration:26s;animation-delay:-6s}
.pixels i:nth-child(3){left:91%;top:64%;width:88px;height:88px;background:#1A4F64;animation-duration:30s;animation-delay:-12s}
.pixels i:nth-child(4){left:42%;top:70%;width:64px;height:64px;background:#2F6F63;opacity:.35;animation-duration:24s;animation-delay:-3s}
.pixels i:nth-child(5){left:74%;top:5%;width:48px;height:48px;background:#3C8FA8;opacity:.3;animation-duration:20s;animation-delay:-9s}
@keyframes drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-26px,18px,0)}}
.stage-glow{position:absolute;left:38%;right:2%;bottom:13%;height:22%;border-radius:50%;background:radial-gradient(closest-side,rgba(79,157,179,.16),rgba(79,157,179,0));pointer-events:none}

.intro{position:absolute;left:48px;top:14%;z-index:5;width:470px;display:flex;flex-direction:column;gap:26px;pointer-events:none}
.intro>*{pointer-events:auto}
.eyebrow{margin:0;display:flex;align-items:center;gap:10px;font:500 12px/1 var(--mono);letter-spacing:.08em;color:var(--ink-3)}
.eyebrow span{width:7px;height:7px;border-radius:50%;background:var(--accent)}
h1{margin:0;font-size:clamp(64px,6.4vw,92px);line-height:.98;font-weight:500;letter-spacing:-.035em;color:var(--ink-hi)}
h1 em{display:block;font-style:normal;color:var(--accent)}
.lead{margin:0;max-width:430px;font-size:19px;line-height:1.55;color:var(--ink-2)}
.actions{display:flex;align-items:center;gap:28px;margin-top:6px}
.primary{height:54px;padding:0 22px;display:inline-flex;align-items:center;gap:10px;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-size:17px;font-weight:500;transition:transform .16s var(--ease)}
.primary:hover{transform:translateY(-1px)}
.meet-team{min-height:44px;display:flex;align-items:center;gap:8px;font-size:16px;color:var(--ink-body)}.meet-team:hover{color:#fff}

.office{position:absolute;left:30%;right:0;top:1%;bottom:92px}
.viewport,.fallback,.hotspots{position:absolute;inset:0;width:100%;height:100%}
.viewport{cursor:grab;touch-action:none;outline-offset:-6px}
.viewport.dragging{cursor:grabbing}
.viewport canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .5s}
.ready .viewport canvas{opacity:1}
.fallback{object-fit:contain;pointer-events:none;transition:opacity .5s}
.ready .fallback{opacity:0}
.hotspots{pointer-events:none;overflow:hidden}
.hotspot{--lift:0px;position:absolute;z-index:1;left:0;top:0;transform:translate(-50%,calc(-100% - var(--lift)));min-height:34px;padding:6px 14px 7px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:1px solid rgba(255,255,255,.16);border-radius:17px;background:rgba(16,18,20,.8);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink);font-size:14px;line-height:19px;white-space:nowrap;pointer-events:auto;transition:border-color .16s,background-color .16s,opacity .2s}
.hotspot .hs-name{display:flex;align-items:center;gap:8px}
.hotspot .hs-name::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--role-color,var(--accent))}
.hotspot .hs-status{max-width:220px;overflow:hidden;text-overflow:ellipsis;font:400 11.5px/15px var(--mono);color:var(--ink-2);padding-left:16px}
.hotspot .hs-status:empty{display:none}
/* A lifted label keeps a thin leader down to the pin on the person. */
.hotspot::before{content:'';position:absolute;left:calc(50% - .5px);top:100%;width:1px;height:calc(var(--lift) + 2px);background:color-mix(in srgb,var(--role-color,var(--accent)) 70%,transparent)}
.hotspot::after{content:'';position:absolute;bottom:calc(-14px - var(--lift));left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;box-sizing:border-box;border:2px solid var(--role-color,var(--accent));background:var(--bg)}
.hotspot:hover,.hotspot[aria-expanded=true]{border-color:var(--role-color,var(--accent));background:rgba(20,24,26,.94)}
.hotspot[aria-expanded=true]{z-index:2;box-shadow:0 0 0 4px color-mix(in srgb,var(--role-color) 22%,transparent)}
.hotspot[aria-expanded=true]::after{background:var(--role-color)}
.has-selection .hotspot:not([aria-expanded=true]){opacity:.4}
.hotspot.compact{--lift:0px;z-index:0;min-height:0;width:28px;height:28px;padding:0;border-radius:50%;transform:translate(-50%,-65%)}
.hotspot.compact .hs-name,.hotspot.compact .hs-status{display:none}
.hotspot.brief .hs-status{display:none}
.hotspot.compact::after{bottom:7px;left:7px}
.loading{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:24px;border:1px solid var(--line-2);background:rgba(16,18,20,.85);font-size:14px;color:var(--ink-2)}
.loading>span:first-child{width:12px;height:12px;border:2px solid rgba(255,255,255,.2);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Agent detail: liquid glass */
.agent-detail{position:absolute;right:32px;top:32px;z-index:12;width:380px;max-height:calc(100% - 150px);overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px;border-radius:20px;border:1px solid rgba(255,255,255,.18);border-right-color:rgba(255,255,255,.08);border-bottom-color:rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02) 40%),rgba(22,25,28,.82);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 30px 80px rgba(0,0,0,.55);animation:rise .32s var(--ease)}
@keyframes rise{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
.detail-head{display:flex;align-items:center;justify-content:space-between}
.detail-role{display:flex;align-items:center;gap:10px;font:400 12px/1 var(--mono);color:var(--ink-2)}
.detail-role i{width:8px;height:8px;border-radius:50%;background:var(--role-color,var(--accent))}
.close{width:44px;height:44px;margin:-10px -10px -10px 0;display:grid;place-items:center;border-radius:12px;color:var(--ink-body)}.close:hover{background:rgba(255,255,255,.06)}
.agent-detail h2{margin:0;font-size:32px;line-height:1.05;font-weight:500;letter-spacing:-.025em}
.agent-detail p{margin:0;font-size:15px;line-height:1.6;color:#B3BBBF}
.agent-detail ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.agent-detail li{height:44px;display:flex;align-items:center;border-top:1px solid rgba(255,255,255,.08);font-size:15px}
.agent-detail li:last-child{border-bottom:1px solid rgba(255,255,255,.08)}
/* Abilities: each one opens its page. */
.cap-link{flex:1;align-self:stretch;display:flex;align-items:center;gap:10px;color:var(--ink);transition:color .16s}
.cap-link span{flex:1}
.cap-link svg{color:var(--ink-3);transition:transform .16s var(--ease),color .16s}
.cap-link:hover{color:#fff}.cap-link:hover svg{color:var(--accent);transform:translate(2px,-2px)}
.cap-link em,.cap-soon em{font:500 10.5px/1 var(--mono);font-style:normal;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3)}
.cap-soon{gap:10px;color:var(--ink-3)}.cap-soon span{flex:1}
.role ul .cap-link{min-height:0;margin:0;font-size:14px;color:var(--ink-body)}.role ul .cap-link:hover{color:#fff}
.role ul .cap-soon{display:flex;align-items:center}
.activity{display:flex;align-items:center;gap:10px;font:400 12px/1.4 var(--mono);color:var(--ink-2)}
.activity-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--role-color,var(--accent));animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}
#agent-entry{height:52px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-size:16px;font-weight:500}

/* Hero footer: legend and scene controls */
.studio-footer{position:absolute;z-index:6;left:48px;right:32px;bottom:28px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.legend{display:flex;flex-wrap:wrap;gap:8px}
.legend button{height:36px;padding:0 14px;display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.1);border-radius:999px;font-size:14px;color:var(--ink-body);transition:border-color .16s,background-color .16s}
.legend button:hover,.legend button[aria-expanded=true]{border-color:var(--line-2);background:rgba(255,255,255,.05);color:#fff}
.agent-dot{width:7px;height:7px;flex:none;border-radius:50%;display:inline-block}
.agent-dot.director{background:var(--director)}.agent-dot.research{background:var(--research)}.agent-dot.design{background:var(--design)}.agent-dot.production{background:var(--production)}.agent-dot.management{background:var(--management)}
.view-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.controls{height:48px;padding:0 6px;display:flex;align-items:center;gap:2px;border-radius:14px;border:1px solid var(--line-2);background:rgba(22,24,27,.7);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.controls button{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;color:var(--ink)}
.controls button:hover:not(:disabled){background:rgba(255,255,255,.07)}
.controls .divider{width:1px;height:22px;background:var(--line-2)}
#scene-help{font:400 12px/1 var(--mono);color:var(--ink-3)}

/* Split rows */
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line)}
.cell{padding:36px 40px;display:flex;flex-direction:column;gap:22px;min-width:0}
.cell+.cell{border-left:1px solid var(--line)}
.label{margin:0;font:400 12px/1 var(--mono);color:var(--ink-3)}
.about{min-height:300px}.about .cell{justify-content:space-between}
.statement{margin:0;font-size:30px;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.ask{display:flex;flex-direction:column;gap:10px}
.ask label{font-size:13px;color:var(--ink-2)}
.ask-row{display:flex;align-items:flex-end;gap:32px}
.ask input{flex:1;min-width:0;height:54px;padding:0 18px;border-radius:12px;border:1px solid var(--line-2);background:var(--panel);color:var(--ink);font:16px var(--font)}
.ask input::placeholder{color:#7D878B}
.ask input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px rgba(95,179,203,.18)}
.ask-go{display:flex;align-items:center;gap:10px;padding:0 0 6px;border-bottom:2px solid var(--ink);font-size:34px;letter-spacing:-.02em;color:var(--ink-hi);white-space:nowrap;transition:transform .16s var(--ease)}
.ask-go:hover{transform:translateX(3px)}
.ask-note{margin:4px 0 0;font-size:13px;color:var(--ink-3)}

/* The team */
.team{padding-top:72px;border-bottom:1px solid var(--line);scroll-margin-top:12px}
.team-head{padding:0 40px 40px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.team-head h2{margin:0;font-size:48px;line-height:1;font-weight:500;letter-spacing:-.03em}
.team-head span{font:400 12px/1 var(--mono);color:var(--ink-3)}
.team-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line)}
.role{min-height:380px;padding:28px 24px 32px;display:flex;flex-direction:column;gap:14px;border-right:1px solid var(--line);transition:background-color .2s}
.role:last-child{border-right:0}
.role:hover{background:rgba(255,255,255,.02)}
.index{font:400 12px/1 var(--mono);color:var(--ink-3)}
.role h3{margin:0;display:flex;align-items:center;gap:10px;font-size:24px;font-weight:500;letter-spacing:-.015em}
.role h3 .agent-dot{width:9px;height:9px}
.motto{margin:0;font:400 12px/1.4 var(--mono);color:var(--ink-2)}
.about-role{margin:0;font-size:15px;line-height:1.55;color:var(--ink-2)}
.role ul{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--ink-body);flex:1}
.role a{min-height:44px;display:flex;align-items:center;gap:6px;margin-bottom:-12px;font-size:14px;color:var(--accent)}
.role a:hover{color:#8FD0E2}

/* Library and Workspace */
.shelves .cell{padding:40px}
.shelves h2{margin:0;font-size:30px;font-weight:500;letter-spacing:-.02em}
.shelves dl{margin:0;display:flex;flex-direction:column}
.shelves dl>div{display:flex;gap:20px;padding:14px 0;border-top:1px solid var(--line);font-size:15px}
.shelves dl>div:last-child{border-bottom:1px solid var(--line)}
.shelves dt{width:170px;flex:none;color:var(--ink)}
.shelves dd{margin:0;color:var(--ink-2)}
#library,#workspace{scroll-margin-top:12px}

/* Page footer */
.page-footer{padding:36px 40px 0;overflow:hidden}
.footer-row{display:flex;align-items:center;gap:28px;font-size:14px;color:var(--ink-2)}
.footer-row .spacer{flex:1}
.footer-row a{min-height:44px;display:flex;align-items:center;gap:6px;color:var(--ink-body)}.footer-row a:hover{color:#fff}
.wordmark{margin:28px 0 -52px;font-size:clamp(120px,19vw,272px);line-height:.8;font-weight:500;letter-spacing:-.05em;color:#16191B;user-select:none}
.wordmark span{color:var(--accent)}
.no-script{position:fixed;bottom:12px;left:12px;padding:12px 16px;border-radius:12px;background:var(--panel);z-index:30}

/* Fallback when WebGL is not available */
.fallback-mode .hotspots,.fallback-mode .controls,.fallback-mode .activity{display:none}

@media (max-width:1180px){
  .intro{width:400px;top:10%}.lead{font-size:17px}
  .office{left:26%}
  .team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .role{border-bottom:1px solid var(--line)}.role:nth-child(3n){border-right:0}
  .ask-go{font-size:28px}
  .statement{font-size:26px}
}
@media (max-width:760px){
  .frame{border:0}
  .site-header{height:64px;padding:0 16px;gap:12px}
  .brand img{width:58px;height:32px}
  .section-nav{display:none}
  .account-nav{gap:14px}
  .studio{height:auto;display:flex;flex-direction:column;padding-bottom:20px}
  .pixels i:nth-child(n+3){display:none}
  .intro{position:relative;left:auto;top:auto;width:auto;padding:36px 16px 0;gap:18px}
  h1{font-size:52px}.lead{font-size:16px}
  .actions{flex-direction:column;align-items:stretch;gap:6px}
  .primary{justify-content:space-between}
  .meet-team{align-self:flex-start}
  .office{position:relative;left:auto;right:auto;top:auto;bottom:auto;height:360px;margin-top:8px}
  .stage-glow{left:5%;right:5%;bottom:auto;top:60%;height:120px}
  .studio-footer{position:relative;left:auto;right:auto;bottom:auto;padding:0 16px;flex-direction:column-reverse;align-items:stretch;gap:16px}
  .legend{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
  .legend::-webkit-scrollbar{display:none}
  .legend button{flex:none;height:40px}
  .view-tools{align-items:center}
  .hotspot{--lift:0px;min-height:0;width:28px;height:28px;padding:0;border-radius:50%;transform:translate(-50%,-65%)}
  .hotspot .hs-name,.hotspot .hs-status{display:none}
  .hotspot::after{bottom:7px;left:7px}
  .agent-detail{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:70svh;z-index:40;box-shadow:0 0 0 100vmax rgba(0,0,0,.45),0 20px 60px rgba(0,0,0,.6)}
  .split{grid-template-columns:1fr}
  .cell{padding:28px 16px}.cell+.cell{border-left:0;border-top:1px solid var(--line)}
  .statement{font-size:22px}
  .ask-row{flex-direction:column;align-items:stretch;gap:16px}
  .ask-go{align-self:flex-start;font-size:26px}
  .team{padding-top:32px}.team-head{padding:0 16px 18px}.team-head h2{font-size:34px}
  .team-grid{grid-template-columns:1fr}
  .role{min-height:0;padding:20px 16px;border-right:0;border-bottom:1px solid var(--line)}
  .role ul{flex-direction:row;flex-wrap:wrap;gap:6px 14px;margin-top:0}
  .shelves .cell{padding:28px 16px}.shelves dt{width:130px}
  .page-footer{padding:20px 16px 0}
  .footer-row{flex-wrap:wrap;gap:4px 18px}
  .footer-row .spacer{display:none}
  .wordmark{margin:20px 0 -22px}
}
@media (prefers-reduced-motion:reduce){
  .pixels i,.loading>span:first-child,.activity-dot{animation:none}
  .agent-detail{animation:none}
  .enter,.primary,.ask-go,.hotspot,.legend button,.role{transition:none}
}
