.portfolio-page{padding-block:28px 56px}.portfolio-hero{gap:28px;display:grid}.portfolio-header{gap:12px;max-width:48rem;display:grid}.portfolio-header h1{font-family:var(--font-heading);letter-spacing:-.02em;color:var(--primary);margin:0;font-size:clamp(32px,5vw,44px);font-weight:600;line-height:1.08}.portfolio-thesis{color:var(--foreground);text-wrap:balance;margin:0;font-size:clamp(18px,2.4vw,22px);line-height:1.4}.portfolio-boundary-pill{border:1px solid color-mix(in oklch, var(--primary) 18%, var(--border));background:var(--surface-raised);color:var(--primary);font:500 12px/1.4 var(--font-mono);border-radius:999px;justify-self:start;align-items:center;gap:8px;margin:2px 0 0;padding:6px 12px;display:inline-flex}.boundary-dot{background:var(--accent-signal);border-radius:50%;flex:none;width:7px;height:7px}.hero-console{--hc-dark-bg:#0c1220;--hc-dark-surface:#121a2d;--hc-dark-raised:#19243d;--hc-dark-border:#263554;--hc-dark-ink:#e9effa;--hc-dark-muted:#93a3c2;--hc-dark-ok:#7cd965;--hc-dark-warn:#f5b651;--hc-dark-alert:#ff7a7a;background:var(--hc-dark-bg);color:var(--hc-dark-ink);border:1px solid color-mix(in oklch, var(--primary) 26%, var(--border));border-radius:12px;overflow:hidden;box-shadow:0 2px 6px #0c122014,0 22px 44px -22px #0c12206b}.hero-console-bar{background:var(--hc-dark-surface);border-bottom:1px solid var(--hc-dark-border);flex-wrap:wrap;align-items:center;gap:10px 16px;padding:10px 16px;display:flex}.hero-console-dots{gap:6px;display:inline-flex}.hero-console-dots span{background:#33456b;border-radius:50%;width:8px;height:8px}.hero-console-dots span:first-child{background:#e06c75}.hero-console-dots span:nth-child(2){background:#e5c07b}.hero-console-dots span:nth-child(3){background:#7cd965}.hero-console-window-title{font:500 11px/1.3 var(--font-mono);letter-spacing:.04em;color:var(--hc-dark-muted)}.hero-console-steps{flex-wrap:nowrap;gap:6px;margin-left:auto;display:flex}.hero-step-chip{border:1px solid var(--hc-dark-border);min-height:30px;color:var(--hc-dark-muted);font:500 11px/1 var(--font-mono);cursor:pointer;background:0 0;border-radius:6px;padding:0 10px}.hero-step-chip:hover{color:var(--hc-dark-ink);border-color:#466094}.hero-step-chip[aria-pressed=true]{background:var(--hc-dark-raised);border-color:var(--hc-dark-ok);color:var(--hc-dark-ink)}.hero-console-body{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;gap:20px;padding:18px;display:grid}.hero-console-Diagram{background:var(--hc-dark-surface);border:1px solid var(--hc-dark-border);border-radius:8px;align-items:center;display:flex;overflow:hidden}.hero-console-Diagram svg{width:100%;height:auto;display:block}.hc-svg-grid{fill:#0e1628;stroke:var(--hc-dark-border);stroke-width:1px}.hc-svg-label,.hc-svg-caption{font:500 9.5px var(--font-mono);fill:var(--hc-dark-muted);letter-spacing:.04em}.hc-svg-principal{fill:var(--hc-dark-raised);stroke:var(--hc-dark-ok);stroke-width:1.5px}.hc-svg-lead{fill:var(--hc-dark-raised);stroke:#3c527f;stroke-width:1px}.hc-svg-lead.is-focus{stroke:var(--hc-dark-ok)}.hc-svg-node-text{font:600 8.5px var(--font-mono);fill:var(--hc-dark-ink)}.hc-svg-edge{fill:none;stroke:#273859;stroke-width:1.25px}.hc-svg-edge.is-active{stroke:#4c7355}.hc-svg-edge.is-anomaly{stroke:var(--hc-dark-alert);stroke-width:2px}.hc-svg-edge.is-gate,.hc-svg-edge.is-blast{stroke:var(--hc-dark-warn);stroke-dasharray:3 3}.hc-svg-edge.is-quarantined{stroke:var(--hc-dark-muted);stroke-dasharray:2 4}.hc-svg-blast-box{fill:#f5b6510f;stroke:var(--hc-dark-warn);stroke-width:1px;stroke-dasharray:4 3}.hc-svg-blast-box.is-anomaly{fill:#ff7a7a14;stroke:var(--hc-dark-alert)}.hc-svg-worker{fill:var(--hc-dark-ok)}.hc-svg-worker.is-blast,.hc-svg-worker.is-gate{fill:var(--hc-dark-warn)}.hc-svg-worker.is-anomaly{fill:var(--hc-dark-alert)}.hc-svg-worker.is-quarantined{fill:var(--hc-dark-muted)}.hc-svg-ring{fill:none;stroke:var(--hc-dark-warn);stroke-width:1.5px}.hc-svg-ring.is-anomaly{stroke:var(--hc-dark-alert)}.hc-svg-ring.is-quarantined{stroke:var(--hc-dark-ok)}.hero-console-readout{flex-direction:column;justify-content:space-between;gap:14px;min-width:0;display:flex}.hero-console-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.hero-console-kpis>div{background:var(--hc-dark-surface);border:1px solid var(--hc-dark-border);border-radius:8px;gap:3px;padding:10px 12px;display:grid}.hero-console-kpis span{font:500 10px/1.2 var(--font-mono);text-transform:uppercase;color:var(--hc-dark-muted)}.hero-console-kpis strong{font:600 14px/1.25 var(--font-mono);color:var(--hc-dark-ink);font-variant-numeric:tabular-nums}.hero-console-kpis strong.is-anomaly{color:var(--hc-dark-alert)}.hero-console-kpis strong.is-gate{color:var(--hc-dark-warn)}.hero-console-kpis strong.is-quarantined{color:var(--hc-dark-ok)}.hero-console-state{gap:6px;display:grid}.hero-phase-pill{font:600 10px/1.3 var(--font-mono);letter-spacing:.04em;color:var(--hc-dark-ok);background:#7cd96524;border:1px solid #7cd96559;border-radius:999px;justify-self:start;padding:3px 8px}.hero-phase-pill.is-anomaly{color:var(--hc-dark-alert);background:#ff7a7a24;border-color:#ff7a7a61}.hero-phase-pill.is-gate{color:var(--hc-dark-warn);background:#f5b65124;border-color:#f5b65161}.hero-console-state h2{font-family:var(--font-heading);color:var(--hc-dark-ink);margin:0;font-size:18px;font-weight:600;line-height:1.3}.hero-console-state p{color:var(--hc-dark-muted);margin:0;font-size:13px;line-height:1.5}.hero-console-foot{border-top:1px solid var(--hc-dark-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:10px;display:flex}.hero-audit-line{font:500 11px/1.4 var(--font-mono);color:var(--hc-dark-muted);overflow-wrap:anywhere}.hero-console-cta{background:var(--hc-dark-ok);color:#0b140a;min-height:36px;font:600 12px/1 var(--font-sans);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:0 12px;text-decoration:none;transition:background-color .14s ease-out,transform .12s ease-out;display:inline-flex}.hero-console-cta:hover{background:#92e47d}.hero-console-cta:active{transform:scale(.98)}.hero-console-cta svg{width:14px;height:14px}.portfolio-grid-wrap{gap:18px;display:grid}.portfolio-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding-top:4px;display:flex}.portfolio-filters{flex-wrap:wrap;gap:8px;display:flex}.portfolio-filter-chip{border:1px solid color-mix(in oklch, var(--primary) 16%, var(--border));background:var(--card);min-height:44px;color:var(--foreground);font:500 13px/1 var(--font-sans);cursor:pointer;border-radius:999px;padding:0 14px;transition:background-color .14s,border-color .14s,color .14s}.portfolio-filter-chip:hover{border-color:var(--primary)}.portfolio-filter-chip[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.portfolio-filter-count{font:500 12px/1.4 var(--font-mono);color:var(--muted-foreground);margin:0}.portfolio-grid{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:18px;margin:0;padding:0;list-style:none;display:grid}.portfolio-grid>li{min-width:0;display:flex}.prototype-card{background:var(--card);width:100%;color:var(--foreground);border:1px solid color-mix(in oklch, var(--primary) 14%, var(--border));border-radius:var(--card-radius);box-shadow:0 1px 2px color-mix(in oklch, var(--primary) 5%, transparent), 0 12px 24px -18px color-mix(in oklch, var(--primary) 26%, transparent);flex-direction:column;flex:auto;text-decoration:none;transition:transform .16s,border-color .16s,box-shadow .16s;display:flex;overflow:hidden}.prototype-card.is-featured{border-top:2px solid color-mix(in oklch, var(--primary) 55%, var(--border))}.prototype-card:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.prototype-card:active{transform:scale(.992)}.prototype-card[data-returned=true]{border-color:var(--accent-signal);box-shadow:0 0 0 2px color-mix(in oklch, var(--accent-signal) 36%, transparent), 0 12px 24px -18px color-mix(in oklch, var(--primary) 26%, transparent)}.prototype-preview{aspect-ratio:400/220;background:#0d1424;border:1px solid #1e2c48;border-radius:8px;width:calc(100% - 16px);margin:8px 8px 0;transition:transform .18s cubic-bezier(.22,1,.36,1),border-color .18s ease-out;overflow:hidden;box-shadow:inset 0 1px #ffffff0d}.prototype-card:active .prototype-preview{border-color:#365080;transform:scale(1.015)}:is(.prototype-preview,.console-intro-motif) .live-preview{--art-screen:#0d1424;--art-chrome:#131c31;--art-rail:#10182b;--art-panel:#141f36;--art-subpanel:#1a2845;--art-line:#263759;--art-ink:#dce6f7;--art-muted:#8395b8;--art-accent:#7cd965;aspect-ratio:auto;width:100%;height:100%;box-shadow:none;background:var(--art-screen);color:var(--art-ink);border:0}:is(.prototype-preview,.console-intro-motif) .preview-sentinel{--art-accent:#ff7a7a}:is(.prototype-preview,.console-intro-motif) .preview-identity{--art-accent:#b392ff}:is(.prototype-preview,.console-intro-motif) .preview-netops,:is(.prototype-preview,.console-intro-motif) .preview-control-room,:is(.prototype-preview,.console-intro-motif) .preview-status{--art-accent:#5cc8ff}:is(.prototype-preview,.console-intro-motif) .preview-labops{--art-accent:#4be0b8}:is(.prototype-preview,.console-intro-motif) .preview-saas{--art-accent:#f5b651}:is(.prototype-preview,.console-intro-motif) .preview-org{--art-accent:#6ea8ff}:is(.prototype-preview,.console-intro-motif) .preview-evidence{--art-accent:#6ce09a}:is(.prototype-preview,.console-intro-motif) .preview-ledger{--art-accent:#4ef08c}:is(.prototype-preview,.console-intro-motif) .preview-close{--art-accent:#eab86a}:is(.prototype-preview,.console-intro-motif) .preview-arcade{--art-accent:#ff9e64}:is(.prototype-preview,.console-intro-motif) .live-preview text{font:500 8.5px var(--font-mono);fill:var(--art-muted)}:is(.prototype-preview,.console-intro-motif) .live-preview .art-win-title{font:600 8.5px var(--font-mono);fill:var(--art-ink);letter-spacing:.04em}:is(.prototype-preview,.console-intro-motif) .live-preview .art-pill-text{font:600 7.5px var(--font-mono);fill:var(--art-ink)}:is(.prototype-preview,.console-intro-motif) .live-preview .art-kpi{font:600 13px var(--font-mono);fill:var(--art-ink)}:is(.prototype-preview,.console-intro-motif) .live-preview .art-row-strong{font:600 9px var(--font-sans);fill:var(--art-ink)}:is(.prototype-preview,.console-intro-motif) .live-preview .art-big{font:600 28px var(--font-mono);fill:var(--art-accent)}:is(.prototype-preview,.console-intro-motif) .art-screen-bg{fill:var(--art-screen)}:is(.prototype-preview,.console-intro-motif) .art-topbar{fill:var(--art-chrome)}:is(.prototype-preview,.console-intro-motif) .art-rail{fill:var(--art-rail)}:is(.prototype-preview,.console-intro-motif) .art-win-dot{fill:#344870}:is(.prototype-preview,.console-intro-motif) .art-rail-item{fill:#223252}:is(.prototype-preview,.console-intro-motif) .art-rail-item.is-on{fill:var(--art-accent);opacity:.85}:is(.prototype-preview,.console-intro-motif) .art-pill{fill:var(--art-subpanel);stroke:var(--art-line);stroke-width:1px}:is(.prototype-preview,.console-intro-motif) .art-hair{stroke:var(--art-line)}:is(.prototype-preview,.console-intro-motif) .art-box{fill:var(--art-panel);stroke:var(--art-line)}:is(.prototype-preview,.console-intro-motif) .art-note{fill:var(--art-subpanel);stroke:var(--art-line)}:is(.prototype-preview,.console-intro-motif) .art-line-stub{fill:#31456b}:is(.prototype-preview,.console-intro-motif) .art-badge-mini{fill:color-mix(in srgb, var(--art-accent) 28%, #1a2845);stroke:var(--art-accent);stroke-width:.8px}:is(.prototype-preview,.console-intro-motif) .art-ring{stroke:var(--art-line)}:is(.prototype-preview,.console-intro-motif) .art-dot{fill:var(--art-accent)}.prototype-body{flex:auto;align-content:start;gap:8px;padding:14px 16px 18px;display:grid}.prototype-meta-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.prototype-badge{border:1px solid color-mix(in oklch, var(--accent-signal) 34%, var(--border));background:var(--accent-soft);color:var(--accent-signal);font:600 11px/1.3 var(--font-mono);border-radius:999px;justify-self:start;align-items:center;padding:3px 8px;display:inline-flex}.prototype-category{font:500 11px/1.3 var(--font-mono);color:var(--muted-foreground)}.prototype-title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.prototype-body h2{font-family:var(--font-heading);color:var(--primary);margin:0;font-size:19px;font-weight:600;line-height:1.3}.prototype-arrow{width:16px;height:16px;color:var(--muted-foreground);flex:none}.prototype-body p{color:var(--muted-foreground);text-wrap:balance;margin:0;font-size:14px;line-height:1.5}.open-problems{border-top:1px solid var(--border);max-width:var(--page-max);margin-top:48px;margin-inline:auto;padding-top:32px}.open-problems h2{font-family:var(--font-heading);color:var(--primary);margin:0;font-size:20px;font-weight:600;line-height:1.3}.open-problems-intro{color:var(--muted-foreground);margin:6px 0 12px;font-size:14px}.open-problems-list{max-width:44rem;color:var(--foreground);gap:6px;margin:0;padding-left:18px;font-size:15px;line-height:1.55;display:grid}.open-problems-list li::marker{color:var(--accent-signal)}.portfolio-footer{border-top:1px solid var(--border);background:var(--background);padding-block:22px 30px}.portfolio-footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 24px;display:flex}.portfolio-contact-line{font:500 12px/1.5 var(--font-mono);color:var(--muted-foreground);opacity:.78;margin:0}.portfolio-contact-line a{min-height:44px;color:var(--muted-foreground);text-underline-offset:4px;align-items:center;text-decoration:underline;display:inline-flex}.portfolio-contact-line a:hover,.portfolio-contact-line a:focus-visible{color:var(--primary)}.portfolio-footer-actions{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.portfolio-footer-glyphs{flex-wrap:nowrap;align-items:center;gap:4px;display:inline-flex}.portfolio-footer-link{min-height:44px;color:var(--muted-foreground);text-underline-offset:4px;align-items:center;padding-inline:6px;font-size:12px;text-decoration:underline;display:inline-flex}.portfolio-footer-actions .plain-switch{min-height:44px;color:var(--muted-foreground);opacity:.78}.portfolio-footer-actions .plain-switch:hover,.portfolio-footer-actions .plain-switch[aria-checked=true]{opacity:1;color:var(--primary)}.portfolio-footer-actions .spine-node{min-width:44px;height:44px;min-height:44px;font:500 12px/1 var(--font-mono);color:var(--muted-foreground);opacity:.65;padding-inline:8px}.portfolio-footer-actions .spine-node:hover,.portfolio-footer-actions .spine-node:focus-visible{opacity:1;color:var(--primary)}.footer-terminal-trigger,.portfolio-footer-actions .hidden-entrance{min-width:44px;min-height:44px;color:var(--muted-foreground);font:500 13px/1 var(--font-mono);opacity:.6;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;padding:0 10px;display:inline-flex}.footer-terminal-trigger:hover,.portfolio-footer-actions .hidden-entrance:hover,.footer-terminal-trigger:focus-visible,.portfolio-footer-actions .hidden-entrance:focus-visible{opacity:1;border-color:var(--border);color:var(--primary)}.footer-terminal-dialog{width:min(760px,100% - 32px);max-height:min(84dvh,720px);color:var(--foreground);box-shadow:var(--palette-shadow);z-index:60;background:0 0;border:0;border-radius:10px;margin-inline:auto;padding:0;position:fixed;inset:8vh 0 auto}.footer-terminal-dialog::backdrop{background:var(--palette-overlay)}.footer-terminal-dialog .discovery-terminal{flex-direction:column;max-height:min(84dvh,720px);display:flex}.footer-terminal-dialog .terminal-bar{flex-shrink:0;height:52px;padding:0 12px 0 18px}.footer-terminal-dialog .terminal-bar button{min-width:44px;min-height:44px}.footer-terminal-dialog .terminal-transcript{min-height:0;font-family:var(--font-mono);flex:auto;max-height:44dvh;padding:18px 24px;font-size:13px;line-height:1.65;overflow-y:auto}.footer-terminal-dialog .terminal-controls{border-top:1px solid var(--border);flex-shrink:0;min-height:0;padding:12px 24px 18px}@media (width<=960px){.hero-console-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;margin-left:0;display:grid}.hero-step-chip{text-align:center;padding:0 8px;font-size:10px}}@media (width<=820px){.hero-console-body{grid-template-columns:minmax(0,1fr);gap:14px;padding:14px}}@media (width<=520px){.hero-console-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-step-chip{min-height:34px;font-size:11px}.portfolio-footer-actions{gap:4px 6px}.portfolio-footer-actions .plain-switch{gap:6px;padding-inline:6px;font-size:12px}.portfolio-footer-actions .spine-node{padding-inline:5px;font-size:11px}.footer-terminal-trigger,.portfolio-footer-actions .hidden-entrance{min-width:44px;min-height:44px;padding:0 8px}.footer-terminal-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 8vh);inset:4vh 0 auto}.footer-terminal-dialog .discovery-terminal{max-height:calc(100dvh - 8vh)}.footer-terminal-dialog .terminal-transcript{max-height:42dvh;padding:14px 16px;font-size:13px;line-height:1.6}.footer-terminal-dialog .terminal-controls{padding:12px 16px max(14px, env(safe-area-inset-bottom,14px))}.footer-terminal-dialog .terminal-chips{gap:6px;margin-bottom:10px}}@media (width<=480px){.hero-console-window-title{font-size:10px}.hero-console-kpis{grid-template-columns:1fr}.hero-console-cta{justify-content:center;width:100%}.portfolio-filter-chip{min-height:44px;padding:0 12px;font-size:12px}}html[data-crt] .hero-console{--hc-dark-bg:#000;--hc-dark-surface:#031207;--hc-dark-raised:#061f0d;--hc-dark-border:var(--crt-dim);--hc-dark-ink:var(--crt-ink);--hc-dark-muted:var(--crt-dim);--hc-dark-ok:var(--crt-ink);--hc-dark-warn:var(--crt-ink);--hc-dark-alert:var(--crt-ink);border-color:var(--crt-dim);box-shadow:none}html[data-crt] .prototype-preview{border-color:var(--crt-dim);background:#000}html[data-crt] :is(.prototype-preview,.console-intro-motif) .live-preview{--art-screen:#000;--art-chrome:#031207;--art-rail:#020d05;--art-panel:#041709;--art-subpanel:#07240f;--art-line:var(--crt-dim);--art-ink:var(--crt-ink);--art-muted:var(--crt-dim);--art-accent:var(--crt-ink)}html[data-crt] .footer-terminal-dialog .discovery-terminal{background:var(--crt-bg);border-color:var(--crt-ink);box-shadow:none}@media (width>=600px){.portfolio-page{padding-block:40px 72px}.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}@media (width>=1024px){.portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.prototype-card:hover{border-color:color-mix(in oklch, var(--primary) 34%, var(--border));box-shadow:0 2px 4px color-mix(in oklch, var(--primary) 8%, transparent), 0 18px 32px -16px color-mix(in oklch, var(--primary) 34%, transparent);transform:translateY(-3px)}.prototype-card:hover .prototype-arrow{color:var(--accent-signal)}}@media (prefers-reduced-motion:reduce){.prototype-card,.prototype-card:hover,.prototype-card:active,.prototype-card[data-returned=true],.prototype-preview,.prototype-card:active .prototype-preview,.hero-console-cta,.hero-console-cta:active,.portfolio-filter-chip{transition:none;animation:none;transform:none}}
