/* Nabtech Corporate 2026: closing chapter, original founder photo, responsive finishing. */
/* Shared dark/light support. Only official unchanged Nabtech logo assets are used. */

/* Headline descenders must never be cropped by gradient clipping or tight leading. */
.hero-copy h1,.subhero h1,.ai-integrate-intro h1{
  line-height:1.145!important;
  overflow:visible;
  padding-bottom:.085em;
}
.hero-glow-text,.hero-copy h1 em,.subhero h1 em,
.footer-vision-copy h2 em,.founder-copy h2 em{
  line-height:1.16;
  padding-bottom:.09em;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.hero-glow-text{overflow:visible;vertical-align:top;}

/* Modal is genuinely viewport-safe: readable copy, no actions trapped below the crop. */
.launch-modal{width:min(94vw,1660px)!important;height:min(92dvh,1030px)!important;min-height:0!important;max-height:92dvh!important;
  grid-template-columns:minmax(0,1.10fr) minmax(0,.90fr)!important;}
.launch-panel-left{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;}
.launch-copy{min-width:0;width:100%;}
.launch-copy h2{line-height:1.13;overflow:visible;padding-bottom:.07em;}
.launch-panel-left .button-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;max-width:100%;width:100%;}
.launch-panel-left .button-row .btn{width:100%;min-width:0;min-height:52px;white-space:normal;overflow-wrap:break-word;padding:13px 12px;gap:10px;line-height:1.25;}
.launch-panel-left .button-row .btn span:last-child{flex:0 0 auto;}
.launch-bottom-line{flex-wrap:wrap;gap:8px;margin-top:15px;}
@media(max-width:1150px){
 .launch-modal{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;}
 .launch-panel-left .button-row{grid-template-columns:1fr!important;}
}
@media(max-width:980px){
 .launch-modal{display:flex;flex-direction:column;width:min(96vw,700px)!important;height:min(93dvh,980px)!important;max-height:93dvh!important;overflow-y:auto;overflow-x:hidden;}
 .launch-panel-left{overflow:visible;min-height:unset;flex:0 0 auto;padding:28px 23px 22px;}
 .launch-panel-left .button-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .launch-panel-right{height:245px;min-height:245px;flex:0 0 245px;}
}
@media(max-width:620px){
 .launch-modal{width:calc(100vw - 16px)!important;height:min(95dvh,920px)!important;max-height:95dvh!important;border-radius:19px;}
 .launch-panel-left{padding:26px 17px 20px;}
 .launch-copy{margin:26px 0 14px;}
 .launch-copy h2{font-size:clamp(35px,8.7vw,48px);}
 .launch-panel-left .button-row{grid-template-columns:1fr!important;gap:8px!important;}
 .launch-panel-left .button-row .btn{min-height:47px;padding:11px 12px;font-size:12px;}
 .launch-bottom-line{font-size:7px;}
 .launch-panel-right{height:230px;min-height:230px;flex:0 0 230px;}
}
@media(max-height:710px) and (min-width:981px){
 .launch-panel-left{padding-top:22px;padding-bottom:22px;}
 .launch-chip{font-size:8px;}
 .launch-copy h2{font-size:clamp(33px,3.5vw,52px);}
 .launch-copy>p{font-size:12px;line-height:1.5;}
 .launch-feature-strip{margin-bottom:13px;}
 .launch-bottom-line{margin-top:14px;}
}

/* About the founder: original cut-out photo, not a generated portrait. */
.founder-section{background:#0b1425;overflow:hidden;position:relative;}
.founder-section::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 72% 30%,#255b8c28,transparent 48%),radial-gradient(circle at 5% 80%,#42a89711,transparent 44%);}
.founder-card{position:relative;display:grid;grid-template-columns:1.08fr .92fr;isolation:isolate;overflow:hidden;min-height:660px;background:linear-gradient(135deg,#11263b,#081425 74%);border:1px solid #abd5f82d;border-radius:32px;box-shadow:0 35px 90px #02081269;}
.founder-copy{z-index:2;padding:clamp(38px,5vw,77px) clamp(26px,5vw,75px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;}
.founder-copy .eyebrow{color:#9de8cb;}
.founder-quote-symbol{font-size:118px;font-family:Georgia,serif;line-height:.5;color:#9cf4da75;height:46px;margin:44px 0 8px;}
.founder-copy h2{color:#f2f8ff;letter-spacing:-.055em;line-height:1.14;font-size:clamp(32px,3.25vw,54px);margin:0 0 22px;}
.founder-copy h2 em{font-style:normal;background:linear-gradient(108deg,#aff9d7,#a4c9f3 90%);background-clip:text;-webkit-background-clip:text;color:transparent;}
.founder-copy blockquote{padding:0;margin:0;color:#b6cddd;font-size:clamp(14px,1.07vw,17px);line-height:1.85;max-width:650px;font-weight:400;}
.founder-message-note{display:none;}
.founder-attribution{display:flex;flex-wrap:wrap;gap:16px 25px;align-items:center;margin-top:30px;padding-top:24px;border-top:1px solid #9ac9e62c;width:100%;}
.founder-signature{font-family:Georgia,serif;color:#aef7dc;font-size:clamp(19px,2vw,25px);font-style:italic;white-space:nowrap;}
.founder-attribution>span:last-child{font-size:11px;color:#9ebacf;line-height:1.65;letter-spacing:.018em;}
.founder-attribution strong{font-weight:650;color:#e7f8ff;}
.founder-contact-link{margin-top:26px;color:#d6fced;}
.founder-portrait{min-width:0;min-height:540px;position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(circle at 52% 42%,#427f9d56,transparent 38%),linear-gradient(148deg,#203954,#0e1c30 68%,#153748);}
.founder-portrait::before{content:"";inset:7%;position:absolute;border:1px solid #a9d1eb25;border-radius:50%;transform:scaleX(.95) rotate(20deg);}
.founder-portrait::after{content:"";height:23%;bottom:-9%;left:12%;right:12%;position:absolute;border-radius:50%;background:#78ddcd4d;filter:blur(65px);pointer-events:none;}
.founder-portrait-grid{position:absolute;inset:0;background-image:linear-gradient(#d4f6fd09 1px,transparent 1px),linear-gradient(90deg,#d4f6fd09 1px,transparent 1px);background-size:38px 38px;mask-image:radial-gradient(ellipse at 50% 45%,#000,transparent 75%);}
.founder-portrait-rings,.founder-portrait-rings i{position:absolute;inset:0;pointer-events:none;}
.founder-portrait-rings i{inset:18% 15%;border:1px solid #a5e5db39;border-radius:50%;transform:rotateX(55deg);animation:founderOrbit 16s linear infinite;}
.founder-portrait-rings i:nth-child(2){inset:13% 9%;border-color:#a0cfff2d;transform:rotateY(44deg);animation-duration:24s;animation-direction:reverse;}
.founder-portrait-rings i:nth-child(3){inset:23%;border-color:#a0efff2a;animation-duration:22s;}
@keyframes founderOrbit{to{transform:rotate(360deg) rotateX(45deg);}}
.founder-portrait img{position:relative;z-index:2;width:auto;height:92%;max-width:95%;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 18px 36px #00162f9c);}
.founder-portrait-label{position:absolute;z-index:3;bottom:24px;right:22px;text-align:right;padding:12px 15px;background:#07182dc9;border:1px solid #b6eff350;border-radius:12px;backdrop-filter:blur(12px);display:flex;align-items:flex-end;flex-direction:column;gap:3px;}
.founder-portrait-label span,.founder-portrait-label small{font-size:9px;color:#a9e5e3;letter-spacing:.14em;}
.founder-portrait-label strong{color:#ecfbff;letter-spacing:.1em;font-size:12px;}

/* Closing chapter: move from a generic four-column footer to a real brand story. */
.site-footer.footer-2026{background:#060c18;color:#eff9ff;border-top:1px solid #86b8d127;overflow:hidden;}
.footer-vision{position:relative;isolation:isolate;overflow:hidden;padding:93px 0 44px;background:radial-gradient(ellipse at 93% 21%,#21536b74,transparent 36%),radial-gradient(ellipse at 3% 86%,#1075692e,transparent 40%),linear-gradient(132deg,#0c1e30,#071323 66%,#0b1b2e);}
.footer-vision::before{content:"";position:absolute;inset:0;background-image:linear-gradient(#d5faff06 1px,transparent 1px),linear-gradient(90deg,#d5faff06 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(90deg,transparent 20%,#000 100%);pointer-events:none;}
.footer-vision::after{content:"";position:absolute;height:2px;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent,#9cfae06c,transparent);}
.footer-vision-orbit{position:absolute;z-index:-1;top:-240px;right:-260px;width:850px;height:850px;transform:rotate(32deg);opacity:.45;pointer-events:none;}
.footer-vision-orbit span{position:absolute;inset:0;border:1px solid #b6e3eb41;border-radius:50%;animation:footerOrbit 28s linear infinite;}
.footer-vision-orbit span:nth-child(2){inset:12%;transform:rotateY(60deg);border-color:#7de9c653;animation-duration:35s;animation-direction:reverse;}
.footer-vision-orbit span:nth-child(3){inset:27%;border-style:dashed;border-color:#90bffd5e;animation-duration:42s;}
@keyframes footerOrbit{to{transform:rotate(360deg);}}
.footer-vision-content{position:relative;z-index:1;}
.footer-prelude{display:inline-flex;align-items:center;gap:12px;color:#aaf7d9;font-size:10px;font-weight:780;letter-spacing:.16em;line-height:1.6;}
.footer-live-dot,.footer-origin-dot{width:8px;height:8px;background:#9cf8ce;box-shadow:0 0 18px #83f5c8;border-radius:50%;flex:0 0 8px;}
.footer-prelude-separator{color:#748ca2;}
.footer-vision-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.65fr);gap:clamp(45px,7vw,130px);align-items:center;padding:44px 0 73px;}
.footer-vision-copy h2{font-size:clamp(46px,5.15vw,88px);font-weight:760;letter-spacing:-.073em;line-height:1.14;color:#f3f9ff;max-width:950px;margin:0 0 24px;}
.footer-vision-copy h2 em{display:inline-block;font-style:normal;background:linear-gradient(110deg,#a8ffd8 2%,#9fcff2 62%,#bbc3ff);background-clip:text;-webkit-background-clip:text;color:transparent;}
.footer-vision-copy>p{max-width:650px;margin:0 0 25px;color:#adc7da;font-size:15px;line-height:1.9;}
.footer-capabilities{display:flex;gap:10px;flex-wrap:wrap;max-width:710px;}
.footer-capabilities span{border:1px solid #9ee5d543;border-radius:100px;color:#bde7dc;font-size:9px;font-weight:720;letter-spacing:.09em;padding:8px 12px;background:#acd6e507;}
.footer-next-card{position:relative;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border:1px solid #b6ddec58;border-radius:24px;padding:clamp(25px,3vw,40px);background:linear-gradient(154deg,#ffffff1d,#90bdee08 50%,#3ae9b10d);box-shadow:0 20px 85px #0004,inset 0 1px 0 #ffffff19;backdrop-filter:blur(12px);overflow:hidden;}
.footer-next-card::after{content:"";position:absolute;width:210px;height:210px;right:-85px;top:-105px;background:#a4f9e54d;border-radius:50%;filter:blur(75px);pointer-events:none;}
.footer-next-index{font-size:9px;letter-spacing:.13em;font-weight:750;color:#aff0d5;}
.footer-next-spark{font-size:40px;color:#a7efdc;margin-top:21px;line-height:1.2;text-shadow:0 0 25px #92ffe64f;animation:footerSpark 8s ease-in-out infinite;}
@keyframes footerSpark{50%{transform:rotate(30deg) scale(1.16);}}
.footer-next-card h3{font-size:clamp(25px,2.55vw,38px);line-height:1.16;letter-spacing:-.05em;margin:14px 0 12px;color:#f2fbff;}
.footer-next-card p{color:#b5cfe0;font-size:13px;line-height:1.8;margin:0 0 24px;}
.footer-next-card .btn{font-size:12px;min-height:50px;width:100%;justify-content:space-between;}
.footer-next-textlink{display:inline-flex;gap:15px;align-items:center;margin-top:17px;color:#b5f0da;font-size:12px;font-weight:750;border-bottom:1px solid #9fead659;padding-bottom:8px;}
.footer-next-textlink:hover{color:#fff;}
.footer-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #a1c8e12c;padding:29px 0 8px;}
.footer-journey>div{display:grid;grid-template-columns:1fr;gap:6px;min-width:0;padding:5px 30px;position:relative;}
.footer-journey>div:first-child{padding-left:0;}
.footer-journey>div:not(:first-child)::before{content:"";position:absolute;top:12px;bottom:10px;left:0;border-left:1px solid #b8deed24;}
.footer-journey span{color:#aff5dc;font-size:10px;font-weight:800;letter-spacing:.14em;}
.footer-journey strong{font-size:18px;color:#ecf9ff;letter-spacing:-.03em;}
.footer-journey small{font-size:11px;line-height:1.5;color:#8cabc1;}
.footer-content-container{position:relative;}
.footer-2026 .footer-top{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,.75fr));gap:clamp(25px,4.5vw,70px);padding:82px 0 64px;}
.footer-2026 .footer-brand-block>p{max-width:300px;margin:25px 0 19px;font-size:13px;line-height:1.9;color:#98aec4;}
.footer-2026 .footer-email{font-size:12px;font-weight:700;color:#b3f5d8;overflow-wrap:anywhere;}
.footer-origin{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:32px;font-size:9px;letter-spacing:.075em;color:#8daec0;}
.footer-origin-dot{width:6px;height:6px;flex-basis:6px;}
.footer-2026 .footer-col{gap:13px;align-items:flex-start;}
.footer-2026 .footer-col h3{color:#f0faff;font-size:12px;font-weight:800;letter-spacing:.05em;margin:2px 0 13px;}
.footer-2026 .footer-col a{font-size:12px;line-height:1.55;color:#91a9bf;transition:color .24s,transform .24s;}
.footer-2026 .footer-col a:hover{color:#baf9dc;transform:translateX(3px);}
.footer-brand-horizon{border-top:1px solid #8fa9c52d;border-bottom:1px solid #8fa9c52d;text-align:center;overflow:hidden;white-space:nowrap;font-weight:800;font-size:clamp(22px,4.45vw,74px);line-height:1.35;letter-spacing:.075em;color:#a7c7e222;padding:12px 0;user-select:none;}
.footer-brand-horizon span{color:#86eed46c;font-size:.45em;vertical-align:middle;margin:0 .25em;}
.footer-2026 .footer-bottom{border:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;padding:27px 0 32px;}
.footer-2026 .footer-bottom p{font-size:10px;color:#879db6;}
.footer-bottom-message{font-size:10px;letter-spacing:.06em;font-weight:720;color:#b4e2d2;}
.footer-2026 .footer-bottom-links{justify-content:flex-end;flex-wrap:wrap;gap:14px;}
.footer-2026 .footer-bottom-links a{font-size:10px;color:#8faac1;}
.footer-2026 .footer-bottom-links a:hover{color:#aaf6d9;}

/* Light is not just an inverted screenshot: a complete complementary story palette. */
:root[data-theme="light"] .founder-section{background:#eff6fb;}
:root[data-theme="light"] .founder-card{background:linear-gradient(135deg,#fff,#eaf4f7 94%);border-color:#d5e6eb;box-shadow:0 25px 65px #345d7718;}
:root[data-theme="light"] .founder-copy h2{color:#1b3e53;}
:root[data-theme="light"] .founder-copy h2 em{background:linear-gradient(106deg,#137c6c,#2e60a2);background-clip:text;-webkit-background-clip:text;color:transparent;}
:root[data-theme="light"] .founder-copy blockquote{color:#4d6478;}
:root[data-theme="light"] .founder-copy .eyebrow,:root[data-theme="light"] .founder-signature{color:#196d6b;}
:root[data-theme="light"] .founder-attribution{border-color:#d1e1e7;}
:root[data-theme="light"] .founder-attribution>span:last-child{color:#526e83;}
:root[data-theme="light"] .founder-attribution strong{color:#214455;}
:root[data-theme="light"] .founder-contact-link{color:#146f71;border-color:#86c9bd;}
:root[data-theme="light"] .site-footer.footer-2026{background:#f8fcff;color:#233e56;border-top-color:#d0e0e9;}
:root[data-theme="light"] .footer-vision{background:radial-gradient(ellipse at 88% 7%,#d5eaf4,transparent 45%),radial-gradient(ellipse at 5% 96%,#d8f5e8,transparent 40%),linear-gradient(132deg,#e9f4f9,#f6fbff);}
:root[data-theme="light"] .footer-vision::before{background-image:linear-gradient(#18677e0a 1px,transparent 1px),linear-gradient(90deg,#18677e0a 1px,transparent 1px);}
:root[data-theme="light"] .footer-vision-orbit span{border-color:#27879d45;}
:root[data-theme="light"] .footer-prelude,:root[data-theme="light"] .footer-journey span{color:#17766c;}
:root[data-theme="light"] .footer-prelude-separator{color:#648b9b;}
:root[data-theme="light"] .footer-vision-copy h2{color:#193b56;}
:root[data-theme="light"] .footer-vision-copy h2 em{background:linear-gradient(110deg,#147b68 10%,#247baa,#4d69b6);background-clip:text;-webkit-background-clip:text;color:transparent;}
:root[data-theme="light"] .footer-vision-copy>p{color:#526f83;}
:root[data-theme="light"] .footer-capabilities span{color:#216b70;border-color:#9ec6ce;background:#fff9;}
:root[data-theme="light"] .footer-next-card{background:linear-gradient(155deg,#fff,#ebf6f9);border-color:#c1dce5;box-shadow:0 18px 52px #315c8118;}
:root[data-theme="light"] .footer-next-index,:root[data-theme="light"] .footer-next-spark{color:#147b72;}
:root[data-theme="light"] .footer-next-card h3{color:#1b3b54;}
:root[data-theme="light"] .footer-next-card p{color:#526e81;}
:root[data-theme="light"] .footer-next-textlink{color:#166a73;border-color:#7bbcac;}
:root[data-theme="light"] .footer-journey{border-color:#c6dce5;}
:root[data-theme="light"] .footer-journey>div:not(:first-child)::before{border-color:#c3d9e5;}
:root[data-theme="light"] .footer-journey strong{color:#1a4258;}
:root[data-theme="light"] .footer-journey small{color:#587386;}
:root[data-theme="light"] .footer-2026 .footer-brand-block>p,:root[data-theme="light"] .footer-2026 .footer-col a{color:#526d84;}
:root[data-theme="light"] .footer-2026 .footer-col h3{color:#193b55;}
:root[data-theme="light"] .footer-2026 .footer-col a:hover{color:#137775;}
:root[data-theme="light"] .footer-origin,:root[data-theme="light"] .footer-2026 .footer-bottom p,:root[data-theme="light"] .footer-2026 .footer-bottom-links a{color:#547287;}
:root[data-theme="light"] .footer-brand-horizon{color:#2c729c21;border-color:#cbdde9;}
:root[data-theme="light"] .footer-brand-horizon span{color:#167e7491;}
:root[data-theme="light"] .footer-bottom-message{color:#236a72;}

/* Responsive proportions. All columns collapse before a line or action clips. */
@media(max-width:1190px){
 .footer-vision-grid{grid-template-columns:minmax(0,1.07fr) minmax(315px,.8fr);gap:36px;}
 .footer-2026 .footer-top{grid-template-columns:1.2fr 1fr 1fr 1fr;gap:22px;}
 .founder-card{grid-template-columns:1fr .85fr;}
}
@media(max-width:850px){
 .founder-card{grid-template-columns:1fr;}
 .founder-copy{padding:45px 36px;}
 .founder-portrait{min-height:460px;height:540px;}
 .founder-portrait img{height:95%;}
 .footer-vision-grid{grid-template-columns:1fr;gap:25px;padding:34px 0 45px;}
 .footer-next-card{max-width:none;min-height:260px;}
 .footer-2026 .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;padding:65px 0 55px;}
 .footer-2026 .footer-bottom{grid-template-columns:1fr 1fr;}
 .footer-bottom-message{grid-column:1/-1;grid-row:1;}
}
@media(max-width:620px){
 .founder-section{padding:55px 0;}
 .founder-card{border-radius:22px;}
 .founder-copy{padding:34px 24px 36px;}
 .founder-quote-symbol{margin:38px 0 0;font-size:86px;height:34px;}
 .founder-copy h2{font-size:clamp(30px,8vw,41px);}
 .founder-copy blockquote{font-size:14px;line-height:1.8;}
 .founder-attribution{margin-top:20px;padding-top:19px;}
 .founder-portrait{height:440px;min-height:440px;}
 .founder-portrait img{height:97%;max-width:93%;}
 .founder-portrait-label{right:10px;bottom:10px;padding:9px;font-size:8px;}
 .footer-vision{padding:58px 0 26px;}
 .footer-prelude{font-size:8px;gap:8px;letter-spacing:.10em;}
 .footer-vision-copy h2{font-size:clamp(37px,9.2vw,55px);}
 .footer-vision-copy>p{font-size:13px;line-height:1.8;}
 .footer-capabilities{gap:7px;}
 .footer-capabilities span{font-size:8px;padding:7px 8px;}
 .footer-next-card{padding:27px 23px;}
 .footer-next-card h3{font-size:29px;}
 .footer-journey{grid-template-columns:1fr;gap:0;padding:13px 0 0;}
 .footer-journey>div{padding:16px 0 16px 22px;border-left:1px solid #6fbdad60;}
 .footer-journey>div:first-child{padding-left:22px;}
 .footer-journey>div:not(:first-child)::before{display:none;}
 .footer-journey strong{font-size:16px;}
 .footer-2026 .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 19px;padding:54px 0 43px;}
 .footer-brand-block{grid-column:1/-1;}
 .footer-2026 .footer-col a{font-size:11px;}
 .footer-brand-horizon{font-size:clamp(19px,5vw,29px);letter-spacing:.04em;}
 .footer-2026 .footer-bottom{grid-template-columns:1fr;padding:24px 0;gap:13px;}
 .footer-bottom-message{grid-column:auto;grid-row:auto;}
 .footer-2026 .footer-bottom-links{justify-content:flex-start;}
}
@media(prefers-reduced-motion:reduce){
 .footer-vision-orbit span,.founder-portrait-rings i,.footer-next-spark{animation:none!important;}
}


/* Ensure the light hero's AI leadership badge has legible contrast. */
:root[data-theme="light"] .intelligence-indicator{
  color:#145b61;
  background:rgba(218,245,237,.93);
  border-color:rgba(29,116,116,.38);
  font-weight:790;
}
:root[data-theme="light"] .intelligence-indicator span{
  background:#168a72;
  box-shadow:0 0 12px rgba(22,138,114,.26);
}
