/* Shared AI Lab shell: matches the current homepage. */
:root{--blue:#007aff;--navy:#080b4c;--line:#dce2f1}
body{font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
body .container,body .muse-page.container,.tc-shell{width:min(1180px,90%);max-width:1180px;margin-inline:auto}
.tc-header{background:#fff;border-bottom:1px solid #dce2f1}
.tc-header-inner{height:78px;display:flex;align-items:center;justify-content:flex-end}
.tc-header nav{display:flex;gap:38px;align-items:center}
.tc-header nav a{position:relative;font:400 16.8px Arial,sans-serif;letter-spacing:normal;padding:11px 0;color:#10101b;text-decoration:none}
.tc-header nav a[aria-current=page]:after{content:"";position:absolute;bottom:3px;left:0;right:0;height:2px;background:var(--blue)}
.tc-header nav a:hover{color:var(--blue)}
.tc-header a:focus-visible,.tc-footer a:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.tc-footer{border-top:1px solid #dce2f1;background:#fff;padding:0}
.tc-footer-inner{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.tc-footer .brand{display:block;font:inherit;letter-spacing:normal;line-height:normal}
.tc-footer .brand img{display:block;width:auto;height:48px;max-width:100%;filter:url(#tsai-brand-blue)}
.tc-footer-right{display:flex;align-items:center;gap:15px}
.tc-footer nav{display:flex;gap:0;align-items:center}
.tc-footer nav a{font:400 13.44px Arial,sans-serif;letter-spacing:normal;color:#7779b4;border-right:1px solid #dce2f1;padding:4px 15px;text-decoration:none}
.tc-footer small{font:400 12.32px Arial,sans-serif;color:#7779b4}
.tc-skip{position:absolute;top:-100px;left:15px;z-index:10;background:#fff;padding:12px}
.tc-skip:focus{top:10px}
@media(max-width:1000px){.tc-footer-right{gap:10px}.tc-footer nav a{padding-inline:10px}}
@media(max-width:760px){.tc-header-inner{height:75px}.tc-header nav{gap:20px}.tc-header nav a{font-size:15.68px}.tc-footer-inner{flex-direction:column;align-items:flex-start;padding-block:20px}.tc-footer-right{align-items:flex-start;flex-direction:column;gap:12px}.tc-footer nav a:first-child{padding-left:0}.tc-footer small{font-size:13.44px}}

/* Consistent, restrained page titles. */
body main .hero h1,body main .page-hero h1,body main .intel-hero h1,body main .lb-hero h1,body main .calendar-page h1,body main h1,body .muse-page .muse-hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(42.56px,4.704vw,64.96px);line-height:1.02;letter-spacing:-.045em;white-space:normal}
body .contact-intro h1{font-size:clamp(42.56px,4.368vw,60.48px)}
body .muse-page .muse-lockup span{font-size:clamp(42.56px,4.704vw,64.96px);line-height:1.02}
.contact-details span{color:#080b4c;background:#fff;font-weight:700;font-size:13.44px;letter-spacing:.3px;padding:15px 10px;text-align:center;border-color:#c5d5e7}
@media(max-width:420px){.contact-details span{font-size:12.32px;padding:14px 5px;letter-spacing:0}}

body .contact-intro .contact-details{gap:8px;border:0;margin-top:40px}body .contact-intro .contact-details span{display:flex;align-items:center;justify-content:center;min-height:52px;color:#080b4c;background:#fff;border:1px solid #aabbd2;font:700 15.68px/1.3 Arial,sans-serif;letter-spacing:0;padding:12px 5px;text-transform:none}@media(max-width:420px){body .contact-intro .contact-details{grid-template-columns:1fr}body .contact-intro .contact-details span{min-height:44px}}

/* Readable, consistent AI Lab typography. */
body.lab-page main h1,body.lab-page main .hero h1,body.lab-page main .page-hero h1,body.lab-page main .intel-hero h1,body.lab-page main .lb-hero h1,body.lab-page main .calendar-page h1,body.lab-page .muse-page .muse-hero h1{font-size:clamp(46px,5.3vw,74px);line-height:1.06}
body.lab-page main p{font-size:18px;line-height:1.6}
body.lab-page main .lede,body.lab-page .lb-sub{font-size:22px;line-height:1.5}
body.lab-page main h2{font-size:34px;line-height:1.15}
body.lab-page main td{font-size:16px;line-height:1.5}
body.lab-page main th{font-size:14px;line-height:1.4}
body.lab-page .lb-note p,body.lab-page .muse-note{font-size:15px}
body.lab-page .lab-squares .lab-square{height:auto!important;min-height:720px!important}
body.lab-page .lab-squares .lab-square>p{font-size:18px;line-height:1.5;min-height:135px!important}
body.lab-page .lab-squares .tag-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.lab-page .lab-squares .tag-row .tag{font-size:12px;line-height:1.3;letter-spacing:0;padding:8px 4px;text-align:center;white-space:nowrap}
body .contact-brand-statement{margin-top:34px;font:400 clamp(47.04px,5.04vw,69.44px)/1.02 Georgia,serif;letter-spacing:-.045em;color:#080b4c}
body .contact-brand-statement span{color:#007aff}
@media(max-width:600px){body.lab-page main p{font-size:17px}body.lab-page .lab-squares .lab-square{min-height:0!important}body.lab-page .lab-squares .lab-square>p{min-height:0!important}body.lab-page .lab-squares .tag-row .tag{font-size:11px}}

/* Lab card rhythm: previews follow copy, callouts anchor the bottom. */
body.lab-page .lab-squares{gap:28px;align-items:stretch}
body.lab-page .lab-squares .lab-square{display:flex;flex-direction:column;height:auto!important;min-height:0!important;padding:30px 30px 22px;overflow:hidden}
body.lab-page .lab-squares .lab-square h3{margin:24px 0 16px;min-height:0!important;font-size:clamp(36px,3.8vw,50px);line-height:1.08}
body.lab-page .lab-squares .lab-square>p{min-height:0!important;margin:0 0 22px;font-size:18px;line-height:1.5}
body.lab-page .lab-squares .lab-square>.build-preview,body.lab-page .lab-squares .assistant-preview-frame,body.lab-page .lab-squares .brief-poc-preview,body.lab-page .lab-squares .assessment-development{margin-top:0;flex-shrink:0}
body.lab-page .lab-squares .tag-row{margin-top:auto;padding-top:30px;min-height:0;gap:10px;align-content:end}
body.lab-page .lab-squares .tag-row .tag{padding:10px 5px;white-space:normal;display:flex;align-items:center;justify-content:center;min-height:38px}
body.lab-page .lab-squares .muse-card{padding:30px 30px 22px;border-radius:0;background:#f3f7ff;color:#080b4c;border-color:#dce2f1}
body.lab-page .muse-card-grid{grid-template-columns:1.1fr 1fr;gap:24px 36px;align-items:start;margin-top:24px}
body.lab-page .muse-card-intro{grid-template-columns:78px 1fr;gap:14px 18px}
body.lab-page .cards .muse-card h3{font:400 50px/1.08 Georgia,serif;margin:0 0 6px}
body.lab-page .muse-card h4{font:400 25px/1.2 Georgia,serif}
body.lab-page .muse-card-intro p{color:#414b65;margin:0;font-size:18px;line-height:1.5}
body.lab-page .muse-mini{background:#fff;border:1px solid #c9d8ee;color:#080b4c;border-radius:0;padding:20px}
body.lab-page .muse-mini>div{border-color:#e0e7f3;padding:12px 0;font-size:15px}
body.lab-page .muse-mini small{color:#59657b}
body.lab-page .muse-card-tags{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;padding-top:8px}
body.lab-page .muse-card-tags .tag{font-size:12px;padding:10px 14px;border:1px solid #bccce4;border-radius:0}
body.lab-page .muse-card-tags b{margin:0 0 0 auto;font-size:14px;color:#0064ce}
body .contact-intro .contact-brand-statement{margin-top:auto;padding-top:90px;padding-bottom:8px;line-height:1.12}
@media(max-width:800px){body.lab-page .lab-squares{gap:24px}body.lab-page .lab-squares .lab-square{padding:26px 24px 20px}body.lab-page .muse-card-grid{grid-template-columns:1fr}body.lab-page .muse-card-tags b{width:100%;margin-top:8px}body .contact-intro .contact-brand-statement{padding-top:64px}}
@media(max-width:420px){body.lab-page .lab-squares .tag-row{grid-template-columns:repeat(2,minmax(0,1fr))}body.lab-page .lab-squares .muse-card{padding:26px 24px 20px}}

/* Featured builds use the shared lab-square card shell. */
.feature-demo{margin-bottom:20px}.muse-dashboard{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;align-items:stretch}
.morning-brief{border:1px solid #526a78;border-radius:8px;background:linear-gradient(135deg,#27333c,#141c22);padding:12px;font-size:12px}.morning-brief>strong{display:block;padding-bottom:8px}.morning-brief small{font-weight:400;color:#b9c7d1}.morning-brief>div{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #46545d;padding:9px 0}.morning-brief>div:last-child{padding-bottom:0}.morning-brief>div>span:last-child{font-size:11px;color:#d2dce4}
.integration-list{display:grid;gap:8px;font-size:12px}.integration-list>strong{text-transform:uppercase;font-size:11px;letter-spacing:1px}.integration-list>span{display:flex;align-items:center;border:1px solid #78868e;border-radius:5px;padding:6px 8px;gap:8px}.integration-list img{width:16px;height:16px;object-fit:contain}
.feature-tags{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:auto;padding-top:8px}.feature-tags>span{display:flex;align-items:center;justify-content:center;border:1px solid #c3d0dc;border-radius:5px;padding:9px 3px;font:11px/1.2 Arial,sans-serif;text-transform:uppercase;text-align:center}
.creative-flow{display:grid;grid-template-columns:1fr 16px 1fr 16px 1fr;align-items:center;background:#fff;color:#10151b;border-radius:8px;padding:12px 8px;gap:3px}.creative-flow>div{text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.creative-flow>span{text-align:center;font-size:22px}.creative-flow strong{font-size:13px}.creative-flow small{font-size:10px;line-height:1.2}.product-symbol{height:34px;display:grid;place-items:center;font:700 34px/1 Arial,sans-serif}.runway-symbol{font-style:italic}.instagram-symbol{width:34px;border-radius:9px;background:linear-gradient(35deg,#ffcd4f,#fb314b,#b020cb,#5765e9);color:white}
.creative-sample{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-top:12px}.reel-art{position:relative;border:1px solid #81b7ff;border-radius:6px;overflow:hidden;min-height:108px;background:#102c4b}.reel-art svg{width:100%;height:100%;position:absolute;object-fit:cover}.reel-art>span{position:absolute;left:42%;top:25%;background:#102039b0;border-radius:50%;padding:9px;font-size:17px}.reel-art small{position:absolute;bottom:0;left:0;right:0;background:#102039db;text-align:center;padding:4px;font-size:10px}.sample-results{background:#fff;border-radius:6px;padding:10px;color:#19283a;font-size:11px}.sample-results>strong{display:block;margin-bottom:5px;font-size:11px}.sample-results>span{display:flex;justify-content:space-between;gap:7px;border-top:1px solid #e1e7ee;padding:6px 0}.sample-results b{font-weight:400;color:#286443}
body.lab-page a.lab-feature:hover{border-color:#8ac5ff;box-shadow:0 6px 20px #0b45821a}body.lab-page a.lab-feature:focus-visible{outline:3px solid #007aff;outline-offset:4px}
@media(max-width:1000px) and (min-width:801px){.muse-dashboard{grid-template-columns:1fr}.integration-list{grid-template-columns:1fr 1fr}.integration-list>strong{grid-column:1/-1}.feature-tags{gap:5px}.feature-tags>span{font-size:10px}}
@media(max-width:480px){body.lab-page .lab-squares .lab-feature{padding:24px 18px 18px}.muse-dashboard{grid-template-columns:1fr}.integration-list{grid-template-columns:1fr 1fr}.integration-list>strong{grid-column:1/-1}.feature-tags{gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))}body.lab-page .lab-squares .feature-creative h3{font-size:31px}}

/* Give the contact brand statement a deliberate lower position. */
body .contact-intro .contact-brand-statement{margin-top:auto;padding-top:160px;padding-bottom:0}
@media(max-width:800px){body .contact-intro .contact-brand-statement{padding-top:120px}}

/* Match every card to the established Lab design. */
@media(min-width:801px){body.lab-page .lab-squares{grid-auto-rows:1fr}}
body.lab-page .lab-squares .lab-feature{grid-column:auto;border-radius:0;border:0;padding:30px 30px 22px}
body.lab-page .lab-squares .feature-muse{background:var(--black);color:#fff}
body.lab-page .lab-squares .feature-creative{background:var(--blue);color:#fff}
body.lab-page .lab-squares .lab-feature h3{font-family:Georgia,serif;font-weight:400;font-size:clamp(36px,3.8vw,50px);line-height:1.08;margin:24px 0 16px;letter-spacing:inherit}
body.lab-page .lab-squares .lab-feature>p{font-size:18px;line-height:1.5;margin:0 0 22px}
body.lab-page .lab-feature .feature-demo{min-height:285px;margin:0;flex-shrink:0}
body.lab-page .lab-feature .muse-dashboard{align-content:stretch}
body.lab-page .lab-feature .creative-dashboard{display:grid;grid-template-rows:1fr 1fr;gap:12px}
body.lab-page .lab-feature .creative-sample{margin-top:0}
body.lab-page .lab-feature .morning-brief,body.lab-page .lab-feature .integration-list>span,body.lab-page .lab-feature .creative-flow,body.lab-page .lab-feature .reel-art,body.lab-page .lab-feature .sample-results{border-radius:0}
body.lab-page .lab-feature .feature-tags>span{border-radius:0;font:12px/1.3 Arial,sans-serif;border-color:currentColor}
body.lab-page a.lab-feature:hover{box-shadow:none}
@media(max-width:800px){body.lab-page .lab-squares .lab-feature{padding:26px 24px 20px}body.lab-page .lab-feature .feature-demo{min-height:210px}}

/* Muse digest and integrations share four aligned rows. */
.muse-title-lockup{display:flex;align-items:center;gap:12px}.muse-title-lockup img{width:48px;height:48px;object-fit:contain}
body.lab-page .muse-dashboard{grid-template-columns:1.35fr 1fr;gap:16px}
body.lab-page .morning-brief,body.lab-page .integration-list{display:grid;grid-template-rows:32px repeat(4,minmax(48px,1fr));gap:0;padding:12px}
body.lab-page .integration-list{padding:12px 0}
body.lab-page .morning-brief>strong,body.lab-page .integration-list>strong{display:flex;align-items:center;justify-content:space-between;padding:0;font-size:12px}
body.lab-page .morning-brief>strong small{font-size:9px}
body.lab-page .morning-brief>div{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:7px 0;font-size:12px}
body.lab-page .morning-brief>div>span:last-child{font-size:11px;line-height:1.35}
body.lab-page .integration-list>span{margin:4px 0;padding:8px;gap:9px;font-size:12px}
.integration-list svg,.integration-list img{width:22px;height:22px;flex-shrink:0;color:#8ecfff}
@media(max-width:480px){body.lab-page .muse-dashboard{grid-template-columns:1fr}body.lab-page .integration-list{grid-template-columns:1fr;grid-template-rows:32px repeat(4,48px)}body.lab-page .morning-brief{grid-template-rows:32px repeat(4,56px)}}

/* Paired headings and equal-height digest/integration panels. */
body.lab-page .muse-dashboard{grid-template-columns:1.35fr 1fr;align-items:stretch;gap:16px}
body.lab-page .brief-column{display:grid;grid-template-rows:28px 1fr;gap:12px;min-width:0}
body.lab-page .brief-column>.muse-preview-heading,body.lab-page .integration-list>strong{display:flex;align-items:center;font:700 12px/1.3 Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;padding:0;margin:0}
body.lab-page .integration-list{grid-template-columns:1fr;grid-template-rows:28px repeat(4,minmax(48px,1fr));gap:12px;padding:0;min-width:0}
body.lab-page .integration-list>strong{grid-column:auto}
body.lab-page .integration-list>span{margin:0;padding:10px 8px}
.digest-excerpt{display:flex;flex-direction:column;justify-content:space-between;gap:16px;background:#f8fbff;color:#172640;border:1px solid #c5d5e7;padding:16px;min-width:0}
.digest-excerpt-heading{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #cbd8e7;padding-bottom:12px}
.digest-excerpt-heading>span{font:700 9px/1.3 Arial,sans-serif;letter-spacing:1.2px;color:#0064ce}
.digest-excerpt-heading>b{font:400 19px/1.15 Georgia,serif}
.digest-excerpt-heading>small{font:10px/1.3 Arial,sans-serif;color:#5e6b7e}
.digest-excerpt-focus,.digest-excerpt-agenda{display:flex;flex-direction:column;gap:8px;font:12px/1.45 Arial,sans-serif}
.digest-excerpt-focus>strong,.digest-excerpt-agenda>strong{font-size:10px;letter-spacing:.8px;color:#0064ce}
.digest-excerpt-agenda>span{display:grid;grid-template-columns:58px 1fr;gap:8px}.digest-excerpt-agenda time{font-weight:700;font-size:10px;padding-top:2px}
@media(max-width:480px){body.lab-page .muse-dashboard{grid-template-columns:1fr}body.lab-page .integration-list{grid-template-rows:28px repeat(4,48px)}.digest-excerpt{min-height:276px}}

/* Shared return action on POC detail pages. */
body .poc-return{width:min(1180px,90%);max-width:1180px;margin:0 auto;padding:28px 0 40px;display:flex;justify-content:flex-end;height:auto;border:0}
body .poc-return-button{display:inline-flex;align-items:center;gap:20px;padding:13px 20px;background:#087aff;color:#fff;border:1px solid #087aff;font:700 13px/1.6 Arial,Helvetica,sans-serif;text-decoration:none}
body .poc-return-button:hover{background:#080b4c;border-color:#080b4c}body .poc-return-button:focus-visible{outline:3px solid #76baff;outline-offset:4px}
@media(max-width:600px){body .poc-return{justify-content:flex-start;padding:24px 0 32px}}

/* Consistent closing rhythm for Intelligence Brief and Muse. */
body.lab-page main .intel-closing{display:flex;justify-content:space-between;align-items:center;gap:40px;padding-block:32px}
body.lab-page main .intel-closing>div{max-width:730px}
body.lab-page main .intel-closing .eyebrow{margin:0 0 12px}
body.lab-page main .intel-closing h2{font:400 28px/1.2 Georgia,serif;letter-spacing:-.5px;margin:0 0 16px;color:#080b4c}
body.lab-page main .intel-closing p{font:16px/1.6 Arial,sans-serif;color:#626f87;margin:0;max-width:640px}
body.lab-page .intel-closing .poc-return-button{flex-shrink:0;white-space:nowrap}
body.muse-detail .muse-page{padding-bottom:0}body.muse-detail .muse-page .muse-takeaway{margin-bottom:0}
@media(max-width:760px){body.lab-page main .intel-closing{flex-direction:column;align-items:flex-start;gap:24px;padding-block:32px}body.lab-page main .intel-closing h2 br{display:none}}

/* Latest build marker */
body.lab-page .new-build-badge{display:inline-block;margin-left:10px;padding:3px 7px;border-radius:4px;background:#fff;color:#0060d6;font-size:10px;font-weight:800;line-height:1;letter-spacing:.08em;vertical-align:middle}

/* POC hero rhythm matched to ChatGPT. */
body.poc-detail main>.page-hero,body.poc-detail main>.intel-hero,body.poc-detail main>.lb-hero,body.poc-detail main>.calendar-page{padding-top:46px;margin-top:0}
body.poc-detail main>.page-hero h1,body.poc-detail main>.intel-hero h1,body.poc-detail main>.lb-hero h1{margin-top:0}
body.poc-detail .muse-page{padding-top:46px}body.poc-detail .muse-hero{padding-top:0;margin-top:0;align-items:start}
body.poc-detail .calendar-heading{align-items:start}body.poc-detail .calendar-heading h1{margin-top:0}body.poc-detail .calendar-heading .eyebrow{margin-bottom:10px}
body .reel-art .oliver-card-preview{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
@media(max-width:520px){body.poc-detail main>.page-hero,body.poc-detail main>.intel-hero,body.poc-detail main>.lb-hero,body.poc-detail main>.calendar-page,body.poc-detail .muse-page{padding-top:32px}}

/* Keep the portrait inside the original storyboard preview geometry. */
body .reel-art .oliver-card-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 10%}

/* Match the Lab introduction to the POC detail hero spacing. */
body.lab-page main>.hero{padding-top:46px;margin-top:0}
body.lab-page main>.hero h1{margin-top:0}
@media(max-width:520px){body.lab-page main>.hero{padding-top:32px}}
