/* Single stylesheet. Order matters: former additions.css, then notebook.css, then base styles + QA fixes. */
/* --- additions (tanks, story, handoff, hero/contact, artifacts) --- */
.tank-fill{transition:height 1250ms cubic-bezier(.18,.8,.18,1);background:linear-gradient(135deg,#a7b8ff,#8298ff 65%,#677de5);isolation:isolate}.tank-fill:before{content:'';position:absolute;top:-10px;left:-15%;width:130%;height:24px;border-radius:50%;background:#b8c7ff;box-shadow:0 0 17px #a6b8ff7d;animation:liquidWave 2.4s ease-in-out infinite}.liquid-shine{position:absolute;left:14px;top:15px;bottom:0;width:8px;background:#ffffff24;border-radius:20px}.tank-bubbles{position:absolute;bottom:8px;left:15%;color:#e0ebff;opacity:0;font-size:20px}.tank.filled .tank-bubbles{animation:bubbleRise 1.3s .3s ease-out forwards}.tank.selected .tank-vessel{filter:drop-shadow(0 0 14px #8298ff75)}.tank-legend{font:11px 'DM Mono';color:#9daac0;margin:0 0 30px}.tank:hover .tank-vessel{transform:translateY(-4px);transition:transform .2s}@keyframes liquidWave{50%{transform:translateX(7px) rotate(2deg)}}@keyframes bubbleRise{0%{opacity:0;transform:translateY(15px)}35%{opacity:.85}100%{opacity:0;transform:translateY(-55px)}}
.story-intro{margin:25px 0 45px;padding:35px 0;border-top:1px solid #566177;border-bottom:1px solid #566177}.story-intro h2{font-size:clamp(38px,5vw,61px);margin:13px 0 28px}.story-chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.story-chapters article{padding:22px 22px 15px;border-radius:11px;background:#20293a;border-top:3px solid #8aa3ff}.story-chapters article:nth-child(2){border-color:#f3ca60}.story-chapters article:nth-child(3){border-color:#a5e4b5}.story-chapters span{font:10px 'DM Mono';color:#b4c5df}.story-chapters p{margin:17px 0 8px;color:#d4dbe6;line-height:1.75;font-size:14px}.story-boundary{font:11px 'DM Mono';color:#aab9cb;margin:20px 0 0}
.handoff{display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);align-items:center;margin-bottom:25px;gap:7px}.handoff-box{background:#263147;border:1px solid #667da3;border-radius:10px;padding:15px;min-height:105px;display:flex;flex-direction:column;justify-content:center}.handoff-box.output{border-color:#9de4bb}.handoff-box small{font:10px 'DM Mono';color:#b8c8df;margin-bottom:11px}.handoff-box strong{font-size:13px;line-height:1.45;letter-spacing:-.01em}.handoff-rail{position:relative;height:2px;background:repeating-linear-gradient(90deg,#8298ff 0 6px,transparent 6px 11px)}.handoff-packet{position:absolute;top:-17px;left:0;background:var(--yellow);color:#161b25;padding:6px 8px;border-radius:5px;font-size:15px}.handoff-moving .handoff-packet{animation:packetTravel .9s cubic-bezier(.3,.7,.25,1) forwards}.handoff-moving .handoff-box.output{animation:outputFlash 1.2s ease-out}@keyframes packetTravel{0%{left:0;opacity:.6}100%{left:calc(100% - 29px);opacity:1}}@keyframes outputFlash{15%{box-shadow:0 0 0 4px #a3e9ba55}100%{box-shadow:0 0 0 0 transparent}}
@media(max-width:750px){.story-chapters{grid-template-columns:1fr}.handoff{grid-template-columns:1fr 55px 1fr}.handoff-box{padding:10px}.handoff-box strong{font-size:11px}}@media(prefers-reduced-motion:reduce){.tank-fill{transition:none!important}.tank-fill:before,.tank.filled .tank-bubbles,.handoff-moving .handoff-packet,.handoff-moving .handoff-box.output{animation:none!important}}
.hero h1.data-headline{font-size:clamp(58px,7vw,100px);line-height:1.03;letter-spacing:-.075em}.data-headline .headline-second{font-size:.53em;display:block;letter-spacing:-.055em;margin-top:15px;color:#e7ebf5}.data-headline em{-webkit-text-stroke:1.6px #dde5f7}.hero .hero-text{max-width:650px;font-size:17px;line-height:1.75}.hero .hero-layout{grid-template-columns:1.16fr .84fr}.contact .contact-email{font:12px 'DM Mono';color:#a9b9cb;margin-top:20px;overflow-wrap:anywhere}.contact h2{font-size:clamp(53px,7vw,91px)}.contact .big-link{text-transform:none}.terminal-stat .green{white-space:nowrap}@media(max-width:900px){.hero .hero-layout{grid-template-columns:1fr}}@media(max-width:620px){.hero h1.data-headline{font-size:clamp(54px,12vw,77px)}.data-headline .headline-second{font-size:.55em}.hero .hero-text{font-size:15px}.contact h2{font-size:52px}}
.contact .contact-email{font:600 clamp(15px,1.9vw,21px) 'DM Sans';color:#d7e1f2;margin-top:25px;max-width:800px;margin-left:auto;margin-right:auto;line-height:1.9;letter-spacing:-.01em}.contact .socials{margin-top:38px}.contact .socials a[href*="studyanchor.org"]{color:#b8c6ff;font-weight:700}
/* Synthetic artifacts inside the handoff boxes */
.artifact-note{font:11px 'DM Mono',monospace;color:#aab9cb;margin:0 0 14px;line-height:1.6}
.artifact-note strong{color:var(--yellow)}
.artifact{margin:10px 0 0;padding:10px 12px;background:#0c1119;border:1px solid #3d4a5f;border-radius:7px;font:11.5px/1.55 'DM Mono',monospace;color:#cfe8d9;white-space:pre-wrap;overflow-wrap:anywhere;min-height:3.2em}
.artifact:empty{display:none}
.handoff{align-items:stretch}
.handoff-rail{align-self:center}
.handoff-box{justify-content:flex-start;min-width:0}
@media(max-width:750px){
  .handoff{grid-template-columns:1fr}
  .handoff-rail{width:2px;height:34px;justify-self:center;background:repeating-linear-gradient(180deg,#8298ff 0 6px,transparent 6px 11px)}
  .handoff-packet{left:-14px;top:0}
  .handoff-moving .handoff-packet{animation:packetDrop .9s cubic-bezier(.3,.7,.25,1) forwards}
  .handoff-box strong{font-size:13px}
}
@keyframes packetDrop{0%{top:-6px;opacity:.6}100%{top:12px;opacity:1}}
@media(prefers-reduced-motion:reduce){.handoff-moving .handoff-packet{animation:none!important}}
/* --- notebook --- */
.notebook-shell{margin-top:42px;box-shadow:8px 9px 0 #8298ff}.notebook-controls{display:flex;gap:14px;align-items:center}.notebook-search{background:#101620;border:1px solid #5e708b;border-radius:10px;display:flex;align-items:center;gap:12px;padding:0 17px;flex:1;min-width:0}.notebook-search span{font-size:28px;color:#b4c8ec}.notebook-search input{border:0;outline:0;width:100%;background:transparent;color:#f3f5fa;padding:16px 0;font:13px 'DM Mono'}.notebook-search:focus-within{border-color:#a8bbfa;box-shadow:0 0 0 2px #8298ff29}.notebook-search input::placeholder{color:#8d9ab0}.notebook-random{background:var(--yellow);border:2px solid #e7e8ee;color:#161c29;border-radius:40px;padding:12px 20px;font:700 18px 'Kalam';white-space:nowrap;box-shadow:3px 4px 0 #b8c7e3;transition:transform .18s}.notebook-random:hover{transform:translateY(-3px) rotate(-2deg)}.notebook-categories{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.notebook-filter{background:#202a3a;color:#c3d0e3;border:1px solid #536783;border-radius:22px;font:11px 'DM Mono';padding:8px 13px}.notebook-filter:hover,.notebook-filter.active{background:#8398ee;color:#111823;border-color:#b4c6ff}.notebook-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;min-height:540px}.notebook-index{background:#101620;border:1px solid #566983;border-radius:10px;padding:9px;max-height:570px;overflow:auto;scrollbar-color:#7287af #111923}.notebook-entry{width:100%;border:1px solid transparent;background:transparent;color:#d9e1ed;text-align:left;padding:13px 12px;border-radius:7px;display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer}.notebook-entry span{font-weight:700;font-size:13px}.notebook-entry small{font:9px 'DM Mono';color:#96a7c1;white-space:nowrap}.notebook-entry:hover{background:#202d45}.notebook-entry.active{background:#32446a;border-color:#94aaed}.notebook-entry.active small{color:#c5d7ff}.notebook-empty{font:12px 'DM Mono';line-height:1.6;color:#aebbd0;padding:12px}.notebook-detail{background:radial-gradient(circle at 90% 4%,#35416a75,transparent 47%),#202839;border:1px solid #7485a4;border-radius:12px;padding:29px;outline:none;animation:notebookEnter .35s ease both}.notebook-term-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.notebook-pulse{color:#a7f4bb;font:10px 'DM Mono';white-space:nowrap}.notebook-detail h3{font-size:clamp(31px,4vw,48px);line-height:1.05;margin:25px 0 13px}.notebook-lead{font-size:17px;line-height:1.6;color:#ebeff8;max-width:660px}.notebook-explain{display:grid;gap:14px;margin:25px 0}.notebook-explain>div{padding:10px 16px;border-left:3px solid #8ca5ff;background:#10182083}.notebook-explain>div:nth-child(2){border-color:#f1cd63}.notebook-explain>div:nth-child(3){border-color:#a1eabb}.notebook-explain p{font-size:13px;line-height:1.7;color:#c6d4e4;margin:8px 0 2px}.notebook-bottom{display:flex;flex-direction:column;gap:24px;margin-top:25px}.notebook-case{display:inline-block;align-self:start;font:700 20px 'Kalam';color:#c7d2ff;text-decoration:underline;text-decoration-style:wavy;text-underline-offset:5px}.notebook-related{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.notebook-related>span{font:10px 'DM Mono';color:#a4b3c9;margin-right:6px}.notebook-related button{border:1px solid #62799b;border-radius:22px;background:#28364e;color:#d3dff0;font:11px 'DM Mono';padding:7px 9px}.notebook-related button:hover{background:#3b4d75}.terminal-line{cursor:pointer;border-radius:8px;padding:5px 7px;margin-left:-7px;transition:background .2s}.terminal-line:hover,.terminal-line:focus-visible{background:#2c3c55;outline:1px solid #90a8dd}.terminal-hint{color:#93a5bc;font:10px 'DM Mono';margin-top:12px}.surprise-link{border:none;background:none;color:#e9cc7b;font:700 18px 'Kalam';cursor:pointer;text-decoration:underline;text-decoration-style:dashed;text-underline-offset:5px}.surprise-link:hover{color:#fff0bf;transform:rotate(-2deg)}@keyframes notebookEnter{from{opacity:.6;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@media(max-width:850px){.notebook-layout{grid-template-columns:1fr}.notebook-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}.notebook-entry{display:block}.notebook-entry small{display:block;margin-top:7px}}@media(max-width:580px){.notebook-controls{flex-direction:column;align-items:stretch}.notebook-index{grid-template-columns:1fr 1fr}.notebook-detail{padding:20px}.notebook-entry span{font-size:11px}}@media(prefers-reduced-motion:reduce){.notebook-detail{animation:none}.notebook-random,.surprise-link{transition:none}}
/* --- base --- */
:root{--bg:#11151c;--panel:#191e27;--ink:#f2f2f6;--muted:#aab1c0;--blue:#8298ff;--yellow:#f8ca45;--line:#353c49}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background-color:var(--bg);background-image:radial-gradient(#323b4c 0.85px,transparent 0.85px);background-size:22px 22px;color:var(--ink);font-family:'DM Sans',sans-serif;overflow-x:hidden}button,a{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}::selection{background:var(--blue);color:#10131b}.wrap{width:min(1170px,calc(100% - 64px));margin:auto}.top{height:77px;display:flex;gap:35px;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1170px)/2));background:#11151ce8;border-bottom:1px solid #394153;position:sticky;top:0;z-index:30;backdrop-filter:blur(16px)}.wordmark{font-weight:800;letter-spacing:-1.7px;font-size:25px;white-space:nowrap}.wordmark span,.dot{color:var(--blue)}.live-dot{display:inline-block;width:7px;height:7px;background:#9affb1;border-radius:50%;margin-left:9px;box-shadow:0 0 12px #9affb1;animation:blink 2s infinite}.top nav{display:flex;gap:25px}.top nav a,.nav-cta{font:11px 'DM Mono';letter-spacing:.04em}.top nav a:hover,.nav-cta:hover{color:var(--blue)}.nav-cta{border-bottom:1px dashed var(--blue);padding-bottom:5px}.eyebrow,.case-meta,.career-date,.panel-caption,.art-no,.art-footer,.hero-footer,.tiny,.trace-log,.demo-badge,.status-pill{font:11px 'DM Mono',monospace;letter-spacing:.08em}.eyebrow{color:#b3bece}.blink,.typing{animation:blink .9s steps(2) infinite}@keyframes blink{50%{opacity:0}}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.07em}h1{font-size:clamp(68px,9.1vw,132px);line-height:.96;font-weight:800;margin:35px 0}h1 em{font-weight:400;font-style:normal;-webkit-text-stroke:1.5px var(--ink);color:transparent}h2{font-size:clamp(45px,6vw,75px);line-height:1.04;margin:18px 0 15px;font-weight:800}.outline{-webkit-text-stroke:1px #d4d8e2;color:transparent}.handwritten{font:19px 'Kalam',cursive;color:#b9b8c8;line-height:1.45}.hero{padding-top:105px;min-height:735px}.hero-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:50px;align-items:center}.hero-text{font-size:18px;line-height:1.7;color:#bac3d0;max-width:600px}.hero-text mark{background:var(--yellow);padding:0 4px;color:#121821}.hero-links{display:flex;gap:26px;align-items:center;flex-wrap:wrap;margin-top:30px}.sticker{background:transparent;color:var(--ink);border:2px solid var(--ink);border-radius:999px;padding:12px 24px;font:700 18px 'Kalam',cursive;box-shadow:4px 5px 0 var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:transform .2s,box-shadow .2s;white-space:nowrap}.sticker:hover{transform:translate(-2px,-3px) rotate(-2deg);box-shadow:6px 8px 0 var(--ink)}.sticker.primary{background:var(--blue);color:#0d1220}.sticker.ghost{box-shadow:3px 4px 0 #6a7488}.scribble-link,.text-action{font:700 18px 'Kalam',cursive;text-decoration:underline;text-decoration-style:wavy;text-decoration-color:var(--yellow);text-underline-offset:6px}.hero-visual{position:relative;padding:18px}.terminal{border:2px solid #d9dfed;border-radius:13px;background:#141a24;box-shadow:10px 12px 0 var(--blue);transform:rotate(2deg);overflow:hidden;animation:float 7s ease-in-out infinite}.terminal-head{padding:14px 18px;border-bottom:1px solid #485164;display:flex;justify-content:space-between;gap:15px;color:#adb8c8;font:11px 'DM Mono'}.dots{color:#fcaa6f}.terminal-body{padding:25px 23px 36px;font:12px 'DM Mono';min-height:315px}.terminal-line{font-size:24px;color:var(--blue)}.terminal-line b{color:#a1f4b4}.terminal-comment{color:#687991;margin-top:31px}.terminal-stat{padding:12px 0;border-bottom:1px dashed #3c4556;display:flex;justify-content:space-between;gap:10px}.green{color:#9ee5aa}.red{color:#ff9d9d}.yellow{color:var(--yellow)}.orbit-sticker{position:absolute;right:-16px;bottom:-22px;padding:12px 22px;background:var(--yellow);color:#131824;font:700 19px 'Kalam';transform:rotate(-12deg);border-radius:60% 40% 55% 35%}.hero-footer{display:flex;justify-content:space-between;color:#8894aa;border-top:1px dashed #404857;margin-top:100px;padding-top:19px}.section{padding:100px 0;border-top:1px solid #343c4d}.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:44px}.case{background:var(--panel);border:2px solid #d3d8e4;border-radius:18px;box-shadow:7px 8px 0 #7b8ff9;overflow:hidden;transition:transform .25s,box-shadow .25s}.case:hover{transform:translate(-3px,-6px) rotate(-.5deg);box-shadow:10px 13px 0 #7b8ff9}.case-art{height:245px;position:relative;display:grid;place-items:center;overflow:hidden;background:#222b48}.case-art:before{content:'';position:absolute;inset:0;background:radial-gradient(#ffffff39 1px,transparent 1px);background-size:20px 20px}.art-memo{background:#323a66}.art-sql{background:#22403e}.art-voice{background:#4a2e51}.art-agents{background:#38415b}.art-cloud{background:#473c37}.art-no{position:absolute;top:20px;left:22px;color:#e5eaf8}.art-footer{position:absolute;bottom:16px;color:#d7dcef}.case-icon{font:700 88px 'DM Mono';color:#b2bcff;text-shadow:5px 6px 0 #111626;position:relative}.tiny-badge{font-size:25px;position:absolute;bottom:0;right:-20px;background:var(--yellow);color:#161a22;border-radius:50%;padding:5px}.wave{display:flex;align-items:center;gap:8px;height:100px}.wave i{display:block;width:11px;height:30%;background:#aebaff;border-radius:15px;animation:wave 1.3s ease-in-out infinite alternate}.wave i:nth-child(2n){height:90%;animation-delay:.2s}.wave i:nth-child(3n){height:60%;animation-delay:.5s}.wave i:nth-child(4n){height:35%;animation-delay:.8s}@keyframes wave{to{height:15%}}.agent-graphic{display:flex;gap:15px;font-size:80px;color:#b6c2ff}.agent-graphic span:nth-child(2){color:var(--yellow);animation:float 3s infinite}.case-info{padding:28px}.case-meta{color:#9eb0cc}.case h3{font-size:33px;line-height:1.1;margin:18px 0}.case p{font-size:15px;line-height:1.65;color:#bdc5d2;min-height:65px}.open-link{display:inline-block;font:700 20px 'Kalam';color:var(--blue);border-bottom:2px dashed #7c8cef;margin-top:10px}.panel{background:var(--panel);border:2px solid #e2e5ee;border-radius:20px;box-shadow:8px 8px 0 #e1e4f0;padding:30px}.lab-panel{margin-top:42px}.panel-caption{display:flex;justify-content:space-between;gap:16px;color:#e7ebf6}.demo-badge{color:var(--yellow)}.stage-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:35px 0 28px}.stage{border:2px solid #525d75;background:#202633;color:#bec8d9;border-radius:12px;min-width:0;padding:17px 8px;text-align:center;transition:.2s}.stage:hover,.stage.active{border-color:var(--blue);background:#303b66;color:white;transform:translateY(-4px)}.stage.done{border-color:#a5edbe}.stage .stage-symbol{display:block;font-size:32px;margin-bottom:9px}.stage b{font-size:12px;display:block}.stage small{font:10px 'DM Mono';display:block;margin-top:8px}.stage-details{border-top:2px dashed #626b7c;padding:25px 0;display:grid;grid-template-columns:1fr 1.6fr;gap:25px}.stage-details h3{font-size:28px;margin:10px 0 0}.stage-details p{color:#c1cad8;line-height:1.6}.lab-controls{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.lab-controls .sticker{font-size:16px;padding:9px 20px}.lab-controls>span{font:11px 'DM Mono';color:#c5cedd}.trace-log{margin-top:28px;border:1px solid #465064;border-radius:8px;background:#0c1119;padding:17px;min-height:108px;line-height:1.8;color:#a9ecc2}.dim{color:#77869a}.lab-bottom{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:25px}.lab-bottom h3{font-size:31px;margin:20px 0 12px}.lab-bottom p{color:#b9c5d1;line-height:1.6}.toggle-group{display:flex;flex-wrap:wrap;gap:7px}.chip{background:none;border:1px solid #677389;color:#d6ddea;padding:9px 12px;border-radius:30px;font:11px 'DM Mono'}.chip.selected{background:var(--blue);color:#0f1524;border-color:var(--blue)}.quality-output{border:1px dashed #667186;padding:18px;margin-top:20px}.quality-output span{font:10px 'DM Mono';display:block;color:#9ba9bc}.quality-output strong{font-size:33px;color:#a6efba}.quality-output p{font-size:12px;margin:0}.eval-bars>div{margin:16px 0}.eval-bars label{font:11px 'DM Mono'}.eval-bars>div>div{background:#303846;border:1px solid #566076;border-radius:20px;height:14px;margin-top:7px;overflow:hidden}.eval-bars i{display:block;height:100%;background:var(--blue);border-radius:20px}.tiny{font-size:10px!important;color:#929db0!important}.text-action{font-size:17px;color:var(--blue)}.tank-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin:50px 0 25px}.tank{border:1px solid transparent;background:transparent;color:var(--ink);text-align:center;padding:10px 4px 16px;border-radius:12px}.tank:hover,.tank.selected{border-color:#7887b0;background:#22283a}.tank-vessel{width:75px;height:105px;border:3px solid #e6e9f0;border-radius:50% / 11%;margin:0 auto 15px;position:relative;overflow:hidden;background:linear-gradient(#11151c,#202738)}.tank-vessel:before{content:'';position:absolute;left:-3px;right:-3px;top:0;border-top:2px solid white;border-radius:50%;height:16px;z-index:2}.tank-fill{position:absolute;bottom:0;left:0;right:0;background:var(--blue);height:80%;border-radius:50% 50% 0 0 / 6% 6% 0 0;transition:height .5s}.tank strong{font-size:13px;display:block}.tank small{font:12px 'Kalam';color:#bdc6ff}.tank-notes{box-shadow:6px 6px 0 #8394ff}.tank-notes p{line-height:1.7;color:#c2c9d5}.pill-list{display:flex;flex-wrap:wrap;gap:9px}.pill-list span{font:11px 'DM Mono';border:1px solid #74809c;padding:8px 11px;border-radius:20px}.career-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:55px}.career{position:relative;background:var(--panel);border:2px solid #d6dbe5;border-radius:18px;padding:34px 25px;box-shadow:6px 7px 0 #d8dbe9}.career.featured{box-shadow:7px 8px 0 var(--blue);border-color:var(--blue)}.tape{position:absolute;background:#e5bc31;width:85px;height:23px;top:-12px;left:calc(50% - 42px);transform:rotate(-4deg);opacity:.9}.career-date{color:#a8b2c4}.career h3{font-size:28px;letter-spacing:-.05em;margin:24px 0 6px}.career em{font:19px 'Kalam';color:#9aabff;display:block}.status-pill{display:inline-block;background:#263f35;color:#a7f5c4;padding:7px;border-radius:6px;margin-top:15px;font-size:10px}.status-pill.amber{background:#473f28;color:#ffe7a6}.career ul{padding-left:20px;line-height:1.65;font-size:14px;color:#c9d1dc}.career li{margin:8px 0}.career li::marker{color:var(--blue)}.resume-panel{border:2px solid #e3e6ed;border-radius:20px;box-shadow:9px 9px 0 #e1e4ef;display:flex;justify-content:space-between;align-items:center;padding:55px 50px;margin-top:100px;margin-bottom:100px}.paper-illustration{border:3px solid #f1f2f6;width:160px;height:180px;transform:rotate(9deg);display:grid;place-items:center;font:800 62px 'DM Sans';position:relative}.paper-illustration span{position:absolute;font-size:35px;color:var(--yellow);right:-26px;bottom:-23px}.contact{padding:70px 0 120px;text-align:center}.contact h2{font-size:clamp(65px,10vw,125px)}.contact p{max-width:590px;margin:0 auto 30px;color:#c1cbd8;line-height:1.7}.big-link{font-size:clamp(17px,3vw,34px);font-weight:800;display:inline-block;color:var(--blue);border-bottom:3px dashed var(--blue);padding-bottom:10px;overflow-wrap:anywhere}.socials{display:flex;justify-content:center;gap:25px;margin-top:50px;font:14px 'DM Mono'}.socials a:hover{color:var(--blue)}footer{border-top:1px solid #444d5d;display:flex;justify-content:space-between;gap:22px;padding:25px 32px;font:10px 'DM Mono';color:#93a1b5}#cursor-glow{pointer-events:none;position:fixed;z-index:-1;width:460px;height:460px;background:radial-gradient(circle,#8298ff13,transparent 70%);transform:translate(-50%,-50%)}@keyframes float{50%{transform:translateY(-12px) rotate(1deg)}}.case-header{padding:85px 0 35px}.case-header h1{font-size:clamp(58px,8vw,98px)}.case-lede{font-size:19px;color:#bdc8d7;line-height:1.65;max-width:820px}.back-link{font:17px 'Kalam';color:var(--blue)}.case-status{color:var(--yellow)}.case-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:25px}.case-section{margin-top:40px}.case-section h2{font-size:39px}.case-section p,.case-section li{color:#bbc6d3;line-height:1.75}.stat-row{display:flex;flex-wrap:wrap;gap:12px}.stat-card{background:#252c3d;border:1px solid #7f8ca9;padding:17px 22px;border-radius:10px}.stat-card strong{font-size:27px;display:block}.stat-card small{font:10px 'DM Mono';color:#b5c0ce}.case-pipeline{margin:45px 0}.case-pipeline .stage-row{grid-template-columns:repeat(5,1fr)}.case-note{border-left:4px solid var(--yellow);padding:12px 18px;color:#c9d4e0;background:#282b2f}.case-aside{align-self:start}.case-aside h3{font-size:25px}.case-aside ul{padding-left:20px;line-height:1.8;color:#bbc5d4}.next-case{margin:70px 0 100px;display:flex;justify-content:space-between;gap:25px}.next-case a{font:700 22px 'Kalam';color:var(--blue)}
@media(max-width:900px){.top nav{display:none}.hero-layout,.case-layout{grid-template-columns:1fr}.hero-visual{max-width:540px;margin:40px auto}.career-grid{grid-template-columns:repeat(2,1fr)}.tank-grid{grid-template-columns:repeat(3,1fr)}.lab-bottom{grid-template-columns:1fr}.hero-footer{margin-top:35px}}@media(max-width:620px){.wrap{width:calc(100% - 36px)}.top{padding:0 18px;height:68px}.nav-cta{font-size:10px}.hero{padding-top:65px}.hero-layout{gap:10px}.hero-text{font-size:16px}h1{font-size:clamp(61px,15vw,88px)}h2{font-size:43px}.hero-footer{flex-direction:column;gap:9px}.section{padding:72px 0}.case-grid,.career-grid{grid-template-columns:1fr}.case-art{height:215px}.stage-row,.case-pipeline .stage-row{grid-template-columns:repeat(2,1fr)}.stage-details{grid-template-columns:1fr}.panel{padding:20px}.lab-controls .sticker{font-size:14px}.tank-grid{grid-template-columns:repeat(2,1fr)}.resume-panel{padding:30px 23px}.paper-illustration{display:none}.socials{gap:13px;flex-wrap:wrap}footer{flex-direction:column}.terminal-body{padding:17px;font-size:10px}.terminal-line{font-size:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
.illustrated-flow{position:relative;gap:16px}.illustrated-flow .stage{position:relative;overflow:visible;background:linear-gradient(150deg,#273248,#1b2532);border:1.5px solid #61748e;min-height:145px;box-shadow:inset 0 1px #ffffff22;transform:none}.illustrated-flow .stage:hover{border-color:#bed2ff;transform:translateY(-5px)}.illustrated-flow .stage.active{background:linear-gradient(145deg,#3d56a1,#283960);border-color:#adc0ff;box-shadow:0 0 26px #8298ff39}.illustrated-flow .stage.done{border-color:#a0e7be}.illustrated-flow .stage:not(:last-child):after{content:'➜';position:absolute;right:-21px;top:50%;transform:translateY(-50%);font-size:19px;z-index:4;color:#a8b9ed;text-shadow:0 0 8px #8298ff}.stage-svg{display:block;width:52px;height:52px;margin:2px auto 13px;filter:drop-shadow(0 0 10px #8298ff44);transition:transform .3s}.stage:hover .stage-svg,.stage.active .stage-svg{transform:scale(1.13) rotate(-4deg)}.illustrated-flow .stage b{font-size:13px}.illustrated-flow .stage small{color:#abbad1}.step-inspector{margin:2px 0 28px;padding:21px;background:#101923;border:1px solid #47566c;border-radius:12px;position:relative;overflow:hidden}.inspect-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:17px}.inspect-label,.inspect-kicker{font:10px 'DM Mono';letter-spacing:.08em;color:#91a5c4}.inspect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.inspect-grid>div{border-left:2px solid #657c9f;padding:5px 13px}.inspect-grid>div:first-child{border-left-color:var(--yellow)}.inspect-grid>div:last-child{border-left-color:#9fe5b4}.inspect-grid p{font-size:13px;line-height:1.6;color:#e2e7ee;margin:9px 0 10px}.flow-progress{height:3px;margin-top:17px;background:#37475b;position:relative;overflow:hidden}.signal-particle{position:absolute;top:-2px;width:20%;height:7px;border-radius:8px;background:linear-gradient(90deg,transparent,#a9baff,#f7d66a);left:var(--stage-pos,0%);transition:left .7s ease;box-shadow:0 0 12px #a3b8ff}.speech-lab{margin:70px 0}.speech-panel{padding:27px}.speech-tabs{display:flex;gap:8px;flex-wrap:wrap}.speech-tabs button{border:1px solid #70809b;border-radius:8px;padding:12px 16px;background:#222c3e;color:#d6e1ee;font:12px 'DM Mono'}.speech-tabs button[aria-pressed=true]{background:var(--blue);border-color:#d5ddff;color:#0e1730;box-shadow:3px 4px 0 #c9d0e2}.speech-diagram{margin:28px 0 24px;padding:33px 20px;background:radial-gradient(circle at center,#2f3955,#1b2431 70%);border:1px dashed #657691;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:220px}.voice-node{width:26%;min-height:150px;background:#222c44;border:1px solid #a0b4eb;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;text-align:center;padding:14px;animation:voicePop .6s both;animation-delay:calc(var(--i)*.18s)}.voice-node .stage-svg{width:55px;height:55px;margin:0;color:#b6c5ff}.voice-node span{font-size:13px;font-weight:700}.voice-link{height:3px;flex:1;min-width:17px;position:relative;background:#7288b2}.voice-link span{position:absolute;top:-4px;width:11px;height:11px;border-radius:50%;background:var(--yellow);box-shadow:0 0 13px var(--yellow);animation:signal 1.8s linear infinite}.speech-description{display:grid;grid-template-columns:1fr 1fr;gap:28px;border-top:1px dashed #73809a;padding-top:23px}.speech-description h3{font-size:27px;margin:10px 0}.speech-description p{font-size:14px;color:#c3cfdd;line-height:1.7}.speech-description .demo-badge{font-size:10px}@keyframes signal{from{left:0}to{left:calc(100% - 11px)}}@keyframes voicePop{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media(max-width:680px){.illustrated-flow .stage{min-height:125px}.illustrated-flow .stage:not(:last-child):after{display:none}.inspect-grid,.speech-description{grid-template-columns:1fr}.inspect-grid>div{padding-left:14px}.speech-diagram{padding:15px 8px;min-height:160px}.voice-node{min-height:125px;padding:8px;gap:7px}.voice-node .stage-svg{width:34px;height:34px}.voice-node span{font-size:10px}.speech-tabs button{font-size:10px;padding:9px}}@media(prefers-reduced-motion:reduce){.signal-particle,.voice-link span,.voice-node{animation:none!important}}
/* Accessibility + mobile navigation (QA pass) */
html{scroll-padding-top:90px}
:focus-visible{outline:2px solid var(--yellow);outline-offset:3px;border-radius:4px}
.skip-link{position:absolute;left:12px;top:-60px;z-index:50;background:var(--yellow);color:#11151c;padding:10px 16px;border-radius:8px;font:600 14px 'DM Sans',sans-serif}
.skip-link:focus{top:12px}
.nav-toggle{display:none;background:none;color:var(--ink);border:1px solid #6c7891;border-radius:8px;padding:9px 14px;min-height:44px;font:12px 'DM Mono',monospace;letter-spacing:.06em}
@media(max-width:900px){
  .top{position:sticky}
  .nav-toggle{display:inline-flex;align-items:center;margin-left:auto}
  .top nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:#11151cf7;border-bottom:1px solid #394153;padding:8px 18px 14px}
  .top nav.open{display:flex}
  .top nav a{font-size:14px;padding:14px 4px;border-bottom:1px dashed #394153}
  .top nav a:last-child{border-bottom:0}
  .top{gap:14px}
}
@media(max-width:380px){.wordmark{font-size:21px}.nav-cta{display:none}}
.terminal-comment{color:#8d9db3}
@media(max-width:620px){.orbit-sticker{right:0}}
@media(max-width:380px){h2{font-size:36px}.contact h2{font-size:44px}.case-header h1{font-size:48px}}
h1,h2,h3{overflow-wrap:break-word}
/* Mobile: stages as compact numbered rows instead of 3 screens of tall cards */
@media(max-width:620px){
  .stage-row.illustrated-flow,.case-pipeline .stage-row.illustrated-flow{grid-template-columns:1fr;gap:8px}
  .illustrated-flow .stage{min-height:0;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;padding:10px 14px;text-align:left}
  .illustrated-flow .stage .stage-symbol{margin:0}
  .illustrated-flow .stage .stage-svg{width:32px;height:32px;margin:0}
  .illustrated-flow .stage small{margin:0}
  .illustrated-flow .stage:hover{transform:none}
}
@media(max-width:620px){.tank-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:30px 0 15px}.tank-vessel{width:52px;height:74px}.tank strong{font-size:11px}.tank small{font-size:11px}}
.orbit-sticker{bottom:-48px}
.contact-email a{display:inline-block}
/* Startup builder programs */
.programs-head{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:end}
.programs-head h2 .outline{display:block}
.programs-note{color:var(--muted);font-size:15px;line-height:1.75;margin:0 0 18px}
.programs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:48px}
.program-card{display:flex;gap:24px;padding:28px;background:var(--panel);border:2px solid #d7dbe6;border-radius:18px;box-shadow:8px 8px 0 var(--blue);min-width:0}
.program-card.livekit{box-shadow:8px 8px 0 #5fc8a0}
.program-mark{flex:none;position:relative;display:grid;place-items:center;width:80px;height:80px;border-radius:12px;font:800 38px 'DM Sans',sans-serif}
.cartesia .program-mark{background:#2ea44f;color:#fff}
.cartesia .program-mark sup{position:absolute;top:10px;right:12px;font-size:22px;line-height:1}
.livekit .program-mark{background:#eef0fb;color:#11151c}
.livekit .program-mark i{position:absolute;top:13px;right:13px;width:13px;height:13px;border:2px solid #11151c;border-radius:50%;background:radial-gradient(circle,#11151c 3px,transparent 3.5px)}
.program-kind{font:11px 'DM Mono',monospace;letter-spacing:.06em;color:#c3c9d6}
.program-card h3{margin:10px 0 12px;font:800 23px/1.2 'DM Sans',sans-serif;letter-spacing:-.04em}
.program-card p{margin:0 0 18px;color:#d7dce6;line-height:1.65}
.program-card small{font-size:12px;color:var(--muted)}
.programs-footnote{margin:26px 0 0;font-size:12px;color:var(--muted)}
@media(max-width:900px){.programs-head,.programs-grid{grid-template-columns:1fr}.programs-head{gap:0}}
@media(max-width:480px){.program-card{flex-direction:column;gap:16px;padding:22px}.program-mark{width:64px;height:64px;font-size:30px}}
/* NL-to-SQL card art: reads "natural language → SQL" and never wraps */
.sql-icon{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:clamp(44px,13vw,72px);white-space:nowrap;line-height:1}
.sql-icon small{font:500 clamp(13px,3.6vw,16px) 'DM Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:#cfe8d9;text-shadow:none}
