/* Homepage only. Original QuantumAI images and historical templates stay intact. */
.q-home{--q-header-height:136px;--q-ink:#101c25;--q-navy:#06141e;--q-cyan:#72def1;--q-muted:#5a6973;margin:0;padding:0;background:#fff;color:var(--q-ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
.q-home *{box-sizing:border-box}.q-home h1,.q-home h2,.q-home h3,.q-home p,.q-home ul,.q-home ol,.q-home figure{margin:0}.q-home a{color:inherit;text-decoration:none}.q-home button{font:inherit}.q-home img{display:block;max-width:100%;height:auto}.q-home :focus-visible{outline:3px solid #00a4c6;outline-offset:6px}.q-shell{width:min(calc(100% - 96px),1360px);margin-inline:auto}.q-skip{position:absolute;z-index:200;top:12px;left:12px;padding:12px 20px;background:#fff;color:#000!important;transform:translateY(-160%)}.q-skip:focus{transform:none}
.q-header{height:var(--q-header-height);background:#000;position:relative;z-index:20}.q-header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:48px}.q-logo{display:block;flex:0 1 480px}.q-logo img{width:480px}.q-nav ul{display:flex;align-items:center;gap:27px;list-style:none;padding:0}.q-nav a{display:block;padding:14px 0;color:#dce1e5;font-size:12px;font-weight:600;letter-spacing:1.05px;white-space:nowrap;transition:color .2s}.q-nav a:hover{color:var(--q-cyan)}.q-menu-toggle{display:none}
.q-hero{position:relative;isolation:isolate;display:grid;place-items:center;min-height:560px;height:calc(100svh - var(--q-header-height));background:#03131e url('/wp-content/uploads/quantumai-recovered/wp-content/themes/QAI1/images/1.jpg') center center/cover no-repeat;color:#fff;text-align:center}.q-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,8,16,.16),rgba(0,8,16,.21) 50%,rgba(0,8,16,.42))}.q-hero-content{width:100%;padding:70px 32px 100px}.q-hero h1{font-size:clamp(48px,4.75vw,88px);font-weight:750;line-height:1.13;letter-spacing:-.032em;text-shadow:0 2px 24px rgba(0,0,0,.24)}.q-hero h1>span{display:block}.q-title-people{white-space:nowrap}.q-hero-subtitle{margin-top:29px!important;font-size:clamp(20px,1.45vw,27px);line-height:1.4;font-weight:400;letter-spacing:.025em;color:#f0f6f9}.q-hero-disciplines{margin-top:23px!important;color:#c0e3eb;font-size:14px;letter-spacing:.06em}.q-hero-disciplines span{margin:0 12px;color:var(--q-cyan)}.q-hero-historical{position:absolute;bottom:30px;left:24px;right:24px;font-size:13px;letter-spacing:.09em;color:#cee5ec}
.q-section{padding:104px 0;scroll-margin-top:28px}.q-eyebrow{font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#177489;margin-bottom:23px!important}.q-section-title{font-size:clamp(32px,3.05vw,48px);line-height:1.14;font-weight:600;letter-spacing:-.035em;text-wrap:balance}.q-section-intro{font-size:18px;line-height:1.7;color:var(--q-muted);max-width:550px}.q-section-heading{display:flex;align-items:end;justify-content:space-between;gap:80px;margin-bottom:48px}.q-section-heading>.q-section-intro{max-width:410px}.q-section-heading .q-text-link{flex-shrink:0;margin-bottom:6px}.q-text-link{display:inline-flex;align-items:center;gap:18px;font-size:14px;font-weight:600;line-height:1.6}.q-text-link span{font-size:22px;transition:transform .2s}.q-text-link:hover span{transform:translate(3px,-3px)}
.q-augmented{background:var(--q-navy);color:#fff;text-align:center}.q-augmented .q-eyebrow{color:var(--q-cyan)}.q-augmented .q-section-intro{color:#afc3ce;margin:22px auto 0;max-width:none}.q-equation{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:40px;margin:64px auto 68px;max-width:1160px}.q-equation p{font-size:clamp(24px,2.3vw,35px);line-height:1.2;font-weight:500;letter-spacing:-.03em}.q-equation p span{display:block}.q-equation-symbol{font-size:39px;font-weight:300;color:#65808f}.q-equation .q-equation-result{color:var(--q-cyan)}.q-cycle{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;padding:0;border-top:1px solid #28424e;text-align:left}.q-cycle li{position:relative;padding:28px 20px 0 0}.q-cycle-number{display:block;color:#698995;font-size:11px;letter-spacing:.1em;margin-bottom:13px}.q-cycle strong{display:block;text-transform:uppercase;font-size:15px;font-weight:600;letter-spacing:.1em;color:#e7f5fa;margin-bottom:8px}.q-cycle li>span:last-child{font-size:14px;color:#95b1bf}.q-cycle li:not(:last-child):after{content:"→";position:absolute;right:27px;top:48px;color:var(--q-cyan);font-size:24px}
.q-build{background:#f1f5f6}.q-capabilities{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.q-capability{background:#fff;border:1px solid #d9e2e7;padding:36px;scroll-margin-top:32px;display:flex;flex-direction:column;min-height:300px}.q-card-number{font-size:12px;letter-spacing:.08em;color:#54808d;margin-bottom:37px}.q-capability h3{font-size:29px;font-weight:600;letter-spacing:-.03em;line-height:1.2;margin-bottom:19px}.q-capability>p{font-size:16px;color:#536773;line-height:1.7}.q-capability .q-card-detail{padding-top:27px;margin-top:auto;font-size:12px;font-weight:600;color:#256174}.q-capability .q-text-link{padding-top:24px;margin-top:auto;color:#256174}
.q-projects{background:#fff}.q-project-list{border-top:1px solid #ced9df}.q-project{display:grid;grid-template-columns:65px 1fr 1fr 44px;align-items:center;gap:28px;padding:38px 0;border-bottom:1px solid #ced9df;transition:color .2s}.q-project:hover{color:#067c96}.q-project-number{font-size:12px;color:#7a8c97}.q-project-kind{display:block;font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:#66818e;margin-bottom:10px}.q-project h3{font-size:31px;line-height:1.2;letter-spacing:-.03em;font-weight:500}.q-project>p{max-width:400px;font-size:16px;color:#536773;line-height:1.7}.q-project-arrow{font-size:32px;text-align:right}
.q-research{border-top:1px solid #e0e7eb;background:#f7f9fa}.q-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.q-article{display:flex;flex-direction:column;border-top:2px solid #152936;padding-top:26px;min-height:280px}.q-article-date{font-size:11px;line-height:1.6;color:#6b808b;margin-bottom:23px!important}.q-article-date span{margin:0 7px;color:#91a6af}.q-article h3{font-size:27px;line-height:1.3;font-weight:500;letter-spacing:-.02em;margin-bottom:19px}.q-article h3 a:hover{color:#067c96}.q-article>p:not(.q-article-date){font-size:15px;line-height:1.8;color:#5d707a;margin-bottom:26px}.q-article .q-text-link{margin-top:auto}
.q-archive{background:var(--q-navy);color:#fff}.q-archive-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:92px}.q-archive .q-eyebrow{color:var(--q-cyan)}.q-archive .q-section-intro{color:#adc1cc;margin-top:26px;max-width:480px}.q-button{display:inline-flex;align-items:center;gap:32px;padding:15px 21px;border:1px solid #558897;color:#e9fcff;font-size:14px;font-weight:600;margin-top:33px;transition:background .2s}.q-button:hover{background:#163644}.q-button span{font-size:22px}.q-archive-image{min-width:0}.q-archive-image img{width:100%;border:1px solid #34505f;aspect-ratio:1366/900;object-fit:cover;object-position:top}.q-archive-image figcaption{padding-top:14px;font-size:11px;color:#8ca8b6;letter-spacing:.045em}
.q-about{background:#fff}.q-about-layout{display:grid;grid-template-columns:1fr 1fr;gap:92px}.q-about-lead{font-size:28px;line-height:1.35;letter-spacing:-.02em;margin-bottom:25px!important}.q-about-layout>div>p:not(.q-about-lead):not(.q-eyebrow){color:#586b76;font-size:17px;line-height:1.8;margin-bottom:18px}.q-about .q-text-link{margin-top:16px}
.q-footer{padding:43px 0 25px;background:#000;color:#a2afb6}.q-footer-top{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-bottom:32px}.q-footer-top>a{flex:0 1 230px}.q-footer-top img{width:230px}.q-footer-top>p{font-size:13px;color:#b7c4cb;letter-spacing:.02em}.q-footer nav{display:flex;gap:29px;font-size:12px}.q-footer nav a:hover{color:var(--q-cyan)}.q-footer-bottom{display:flex;justify-content:space-between;padding-top:24px;border-top:1px solid #27313a;font-size:11px;color:#78909f}
@media(min-width:1600px){.q-header-inner{gap:72px}.q-nav ul{gap:32px}.q-nav a{font-size:13px}.q-hero-content{padding-bottom:110px}}
@media(max-width:1180px){.q-home{--q-header-height:128px}.q-shell{width:calc(100% - 64px)}.q-logo{flex-basis:355px}.q-nav ul{gap:18px}.q-nav a{font-size:11px;letter-spacing:.6px}.q-header-inner{gap:36px}.q-section-heading{gap:48px}.q-section-heading>.q-section-intro{max-width:340px}.q-capability{padding:29px}.q-equation{gap:25px}.q-cycle li:not(:last-child):after{right:16px}.q-cycle li>span:last-child{font-size:12px}.q-project{grid-template-columns:40px 1fr 1fr 35px;gap:20px}.q-archive-layout,.q-about-layout{gap:55px}.q-articles{gap:30px}}
@media(max-width:900px){.q-home{--q-header-height:100px}.q-shell{width:calc(100% - 48px)}.q-logo{flex:0 1 340px}.q-logo img{width:340px}.q-menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:48px;height:48px;flex-shrink:0;background:transparent;color:#fff;border:1px solid #47535b;border-radius:2px;cursor:pointer;padding:12px}.q-menu-toggle span{width:21px;height:1px;background:#e0ebef;transition:transform .2s,opacity .2s}.q-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}.q-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.q-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}.q-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#000;border-top:1px solid #25323a;padding:15px 24px 23px}.q-nav.is-open{display:block}.q-nav ul{display:block}.q-nav a{padding:13px 0;font-size:13px;letter-spacing:1.1px}.q-nav li+li{border-top:1px solid #17232a}.q-hero{min-height:550px}.q-hero h1{font-size:clamp(40px,5.8vw,52px)}.q-hero-subtitle{font-size:22px}.q-section{padding:80px 0}.q-section-heading{align-items:start;gap:30px}.q-section-heading>.q-section-intro{max-width:290px;font-size:16px}.q-section-title{font-size:36px}.q-equation{gap:17px;margin:50px 0}.q-equation p{font-size:25px}.q-equation-symbol{font-size:28px}.q-cycle li{padding-right:12px}.q-cycle strong{font-size:12px;letter-spacing:.06em}.q-cycle li:not(:last-child):after{right:10px;top:43px;font-size:18px}.q-capabilities{gap:15px}.q-capability{padding:26px 22px;min-height:330px}.q-capability h3{font-size:25px}.q-capability>p{font-size:14px}.q-capability .q-card-detail{font-size:11px}.q-project{grid-template-columns:30px 1fr 1fr 25px;gap:15px}.q-project h3{font-size:26px}.q-project>p{font-size:14px}.q-project-kind{font-size:9px}.q-articles{gap:24px}.q-article h3{font-size:23px}.q-article>p:not(.q-article-date){font-size:14px}.q-archive-layout{gap:35px}.q-archive .q-section-title{font-size:31px}.q-archive .q-section-intro{font-size:16px}.q-about-layout{gap:45px}.q-about-lead{font-size:23px}.q-about-layout>div>p:not(.q-about-lead):not(.q-eyebrow){font-size:15px}.q-footer-top{flex-wrap:wrap;gap:24px}.q-footer-top>p{flex:1;text-align:right}.q-footer nav{width:100%;justify-content:space-between}}
@media(max-width:600px){.q-home{--q-header-height:96px}.q-shell{width:calc(100% - 40px)}.q-header-inner{gap:18px}.q-logo{flex:0 1 300px}.q-logo img{width:300px}.q-menu-toggle{width:44px;height:44px}.q-hero{min-height:540px;background-position:50% center}.q-hero-content{padding:60px 16px 90px}.q-hero h1{font-size:clamp(30px,8.5vw,38px);line-height:1.18;letter-spacing:-.035em}.q-title-people{display:block}.q-hero-subtitle{font-size:19px;line-height:1.5;margin-top:25px!important;letter-spacing:.005em}.q-hero-disciplines{font-size:11px;letter-spacing:.005em;margin-top:21px!important}.q-hero-disciplines span{margin:0 5px}.q-hero-historical{font-size:11px;line-height:1.5;letter-spacing:.04em;bottom:27px;left:16px;right:16px}.q-section{padding:64px 0}.q-eyebrow{font-size:10px;margin-bottom:19px!important}.q-section-title{font-size:34px;line-height:1.16}.q-section-intro{font-size:16px;line-height:1.7}.q-section-heading{display:block;margin-bottom:32px}.q-section-heading>.q-section-intro{margin-top:23px;max-width:none}.q-section-heading>.q-text-link{margin-top:24px}.q-equation{grid-template-columns:1fr;gap:18px;margin:41px 0 45px}.q-equation p{font-size:28px}.q-equation-symbol{font-size:28px;line-height:1}.q-cycle{grid-template-columns:1fr;text-align:left}.q-cycle li{display:grid;grid-template-columns:30px 1fr;gap:0 14px;padding:23px 28px 23px 0;border-bottom:1px solid #28424e}.q-cycle-number{grid-row:1/3;margin:0;padding-top:1px}.q-cycle strong{font-size:14px;letter-spacing:.09em;margin-bottom:5px}.q-cycle li>span:last-child{font-size:14px}.q-cycle li:not(:last-child):after{content:"↓";top:29px;right:0;font-size:22px}.q-capabilities{grid-template-columns:1fr;gap:18px}.q-capability{padding:30px;min-height:260px}.q-card-number{margin-bottom:26px}.q-capability h3{font-size:29px}.q-capability>p{font-size:16px}.q-capability .q-card-detail{font-size:12px}.q-project{grid-template-columns:24px 1fr 28px;gap:13px;padding:28px 0}.q-project-number{align-self:start;padding-top:3px}.q-project-title{grid-column:2}.q-project>p{grid-column:2;grid-row:2;font-size:15px}.q-project-arrow{grid-column:3;grid-row:1/3;align-self:center;font-size:29px}.q-project h3{font-size:28px}.q-project-kind{font-size:9px;line-height:1.6;margin-bottom:9px}.q-articles{grid-template-columns:1fr;gap:35px}.q-article{min-height:0;padding-top:22px}.q-article h3{font-size:27px}.q-article>p:not(.q-article-date){font-size:15px;margin-bottom:18px}.q-article-date{margin-bottom:18px!important}.q-archive-layout,.q-about-layout{grid-template-columns:1fr;gap:37px}.q-archive .q-section-title{font-size:34px}.q-archive .q-section-intro{margin-top:23px}.q-button{margin-top:27px}.q-about-lead{font-size:25px}.q-about-layout>div>p:not(.q-about-lead):not(.q-eyebrow){font-size:16px}.q-footer{padding-top:32px}.q-footer-top{display:block}.q-footer-top>a{display:block;width:225px}.q-footer-top>p{text-align:left;margin:12px 0 28px;font-size:12px}.q-footer nav{display:flex;gap:20px}.q-footer-bottom{font-size:10px;gap:20px}.q-footer-bottom p:last-child{text-align:right}}
/* The improved wordmark includes black padding: crop its display box, not the asset. */
.q-logo img{height:110px;object-fit:cover;object-position:center}
.q-footer-top .q-footer-brand{display:flex;align-items:center;gap:12px;flex-basis:244px}
.q-footer-brand .q-footer-symbol{width:40px;height:40px;flex:0 0 40px;object-fit:contain}
.q-footer-brand .q-footer-wordmark{width:190px;height:52px;object-fit:cover;object-position:center}
@media(max-width:1180px){.q-logo img{height:96px}}
@media(max-width:900px){.q-logo img{height:82px}}
@media(max-width:600px){.q-logo img{height:74px}.q-footer-top .q-footer-brand{width:244px}}
/* Balance the mobile sentence so “THEM.” does not sit alone on a line. */
@media(max-width:600px){.q-hero h1>span{text-wrap:balance}.q-hero-disciplines,.q-hero-historical{font-size:12px}}
@media(prefers-reduced-motion:no-preference){html:has(.q-home){scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){.q-home *{transition:none!important;scroll-behavior:auto!important}}
