/* NukeSystems Release 4.5 — one readable scale, approved composition preserved. */
:root{--ns-section-y:clamp(46px,5.1vw,72px);--ns-title-size:clamp(29px,3vw,44px);--ns-body-size:16px}
/* Unified page geometry for all standalone routes. Homepage hero and existing feature shapes unchanged. */
body:not(.home-page) .hero.page-hero{padding-block:clamp(54px,5.2vw,84px);min-height:0}
body:not(.home-page) .hero.page-hero h1{font-size:clamp(36px,4.5vw,62px);line-height:1.09;max-width:18ch;letter-spacing:-.047em;margin-top:12px}
body:not(.home-page) .hero.page-hero .lead{font-size:clamp(16px,1.45vw,19px);line-height:1.55;max-width:790px}
body:not(.home-page) .section{padding-block:var(--ns-section-y)}
body:not(.home-page) .section h2{font-size:var(--ns-title-size);line-height:1.13;letter-spacing:-.04em}
body:not(.home-page) .section h3{font-size:clamp(20px,2vw,26px);line-height:1.22}
body:not(.home-page) .prose{line-height:1.65}
body:not(.home-page) .prose p,body:not(.home-page) .prose li{font-size:clamp(15px,1.1vw,17px);line-height:1.7}
.premium-page .p-hero{min-height:0;padding-block:clamp(45px,5.5vw,80px)}
.premium-page .p-hero h1{font-size:clamp(37px,4.2vw,62px);line-height:1.09}
.premium-page .p-section-title h2{font-size:var(--ns-title-size)}
.ni-page .ni-hero{padding-block:clamp(46px,5.2vw,76px)}
.ni-page .ni-hero h1{font-size:clamp(36px,4.4vw,60px);line-height:1.1}
/* Six brands — original cards and sequence, IDENTICAL 16:10 pictures, one color treatment. */
.home-modern .ns-card-rail{align-items:stretch}
.home-modern .ns-card-rail-item{min-width:0}
.home-modern .ns-product-card{height:100%;min-height:100%;box-shadow:none}
.home-modern .ns-product-image{height:auto!important;aspect-ratio:16/10;overflow:hidden;background:#12273a;position:relative;flex:none}
.home-modern .ns-product-image img{display:block;width:100%;height:100%;aspect-ratio:16/10;object-fit:cover;object-position:center;filter:contrast(1.02) saturate(.95);image-rendering:auto}
.home-modern .ns-product-image::after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff29}
.home-modern .ns-product-copy{padding:10px 10px 14px;min-height:92px}
.home-modern .ns-product-name{font-size:clamp(15px,1.2vw,17px);line-height:1.18;letter-spacing:-.025em;overflow-wrap:break-word}
.home-modern .ns-product-desc{font-size:12px;line-height:1.34}
.home-modern .ns-product-tag{font-size:11px}
/* Brand-neutral research references. Logos of regulators must never be invented. */
.home-modern .ns-reference{display:flex;align-items:center;gap:12px;padding:13px 9px;min-height:80px}
.home-modern .ns-reference-wordmark{flex:0 0 49px;min-width:49px;color:#294a65;font-size:12px;letter-spacing:-.03em;line-height:1.2;font-weight:850;text-align:left;border:0!important;border-bottom:2px solid #cd8444!important;border-radius:0!important;padding-bottom:4px;background:none!important}
.home-modern .ns-reference strong{font-size:15px;line-height:1.2}
.home-modern .ns-reference small{font-size:11px;line-height:1.32}
/* Interactive studio: preserve engineering exploration, remove image-darkening that hides visual detail. */
.sx-visual-frame:after{display:none!important}
.sx-visual-frame img{image-rendering:auto;object-fit:contain}
/* Phone-shaped app panel instead of 'battery' diagram. */
.home-modern .ns-promo-app .ns-mobile-preview{flex:0 0 168px!important;width:168px!important;min-width:168px!important;height:276px!important;padding:25px 12px 18px!important;border-radius:30px!important;transform:none!important;background:linear-gradient(160deg,#183651,#071625)!important;box-shadow:0 0 0 2px #566c84,0 20px 37px #02090d60!important}
.home-modern .ns-promo-app .ns-app-brand{font-size:12px!important;white-space:nowrap;margin-top:4px}
.home-modern .ns-promo-app .ns-app-greeting{font-size:11px!important;line-height:1.3}
.home-modern .ns-promo-app .ns-app-status{font-size:7px!important;line-height:1.3}
.home-modern .ns-app-dashboard{display:flex;flex-direction:column;gap:6px;margin-top:4px;min-height:0;flex:1}
.home-modern .ns-dash-label{font-size:7px;color:#b9d3e9;letter-spacing:.1em;font-weight:850}
.home-modern .ns-dash-module{display:flex;flex-direction:column;gap:3px;border-radius:8px;padding:9px;background:#21415e;border-left:3px solid #ee9852;line-height:1.2}
.home-modern .ns-dash-module b{font-size:11px;color:#fff}
.home-modern .ns-dash-module small{font-size:8px!important;color:#d5e8f4!important}
.home-modern .ns-dash-items{display:grid;gap:5px}
.home-modern .ns-dash-items span{background:#102f48;border:1px solid #41617e;border-radius:5px;color:#e6f2fa;padding:6px 7px;font-size:9px;font-weight:750;display:flex;justify-content:space-between}
.home-modern .ns-dash-items i{font-size:11px;font-style:normal;color:#ecac7b}
.home-modern .ns-app-chart,.home-modern .ns-app-vessel,.home-modern .ns-app-metrics{display:none!important}
/* Dedicated app mockup uses the same recognisable content as homepage, not a glowing battery. */
.nuke-app-showcase{grid-template-columns:minmax(220px,.5fr) minmax(0,1.5fr);gap:clamp(24px,5vw,70px)}
.nuke-app-screen{width:222px;height:411px;border-radius:38px;padding:41px 18px 25px;gap:12px;box-shadow:0 0 0 2px #596c81,0 24px 55px #07172e40}
.nuke-app-screen>span{font-size:18px}.nuke-app-screen>small{font-size:10px}
.nuke-app-screen-line{height:26px;background:linear-gradient(90deg,#24455e,#1d3b54);border:1px solid #476a84;border-left:4px solid #f19c50}
.nuke-app-screen-line:after{display:none}
.nuke-app-screen>strong{font-size:14px;letter-spacing:-.02em}
.nuke-app-screen-panels{display:grid;grid-template-columns:1fr;gap:8px}
.nuke-app-screen-panels>span{background:#15354d;border:1px solid #38617a;border-radius:8px;display:flex;align-items:center;justify-content:space-between;padding:12px 10px}
.nuke-app-screen-panels b{font-size:12px}.nuke-app-screen-panels small{font-size:9px;color:#b6d6e8}
/* Five stable footer columns, contact separate from legal, one project social destination. */
.site-footer{padding:49px 0 26px;background:#0b1628}
.site-footer .f-grid.ns-footer-grid{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(3,minmax(105px,.82fr)) minmax(190px,1.25fr);column-gap:clamp(16px,2.1vw,31px);row-gap:24px;align-items:start}
.site-footer .f-grid.ns-footer-grid>div{min-width:0;grid-column:auto}
.site-footer .ns-footer-grid .f-title{min-height:0;margin:3px 0 18px;font-size:12px;letter-spacing:.10em;color:#ffb16c;line-height:1.3}
.site-footer .ns-footer-grid li{margin:8px 0;line-height:1.36}
.site-footer .ns-footer-grid a:not(.brand){font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.site-footer .f-brand p{font-size:13px;line-height:1.5;color:#c2d0dd}
.site-footer .f-contact p{margin:7px 0;color:#d8e4ee;line-height:1.5;font-size:13px}
.site-footer .f-contact .f-contact-caption{margin-top:20px;color:#f6b782;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.site-footer .f-contact address{font-size:12px;font-style:normal;line-height:1.65;color:#c2cedb}
.site-footer .ns-footer-social{display:flex;align-items:center;gap:15px 26px;flex-wrap:wrap;padding-block:16px;margin-top:24px}
.site-footer .ns-footer-social>span{font-size:11px;color:#ffb782;letter-spacing:.08em;font-weight:800}
.site-footer .ns-footer-social a{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#eaf5ff}
.site-footer .ns-footer-social svg{width:19px;height:19px;flex:none;color:#fff}
.site-footer .ns-footer-legal-nav{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;margin-top:19px}
.site-footer .ns-footer-legal-nav a{font-size:12px;color:#dbe4ed}
.site-footer .f-legal{font-size:11px;line-height:1.55;max-width:1100px;margin:13px 0 0;color:#9dafbe}
.site-footer .ns-footer-copyright{margin-top:8px}
/* Legal pages: a long document should read like an edited reference, not one long unstructured block. */
.legal-layout{grid-template-columns:minmax(235px,.27fr) minmax(0,.73fr);gap:32px;max-width:1200px}
.legal-sidebar{position:sticky;top:95px;max-height:calc(100vh - 120px);overflow:auto;padding:19px;background:#edf3f8;border-color:#d2dde8;scrollbar-width:thin}
.legal-sidebar nav{gap:0}
.legal-sidebar nav a{font-size:12px;line-height:1.28;padding:7px 9px}
.legal-sheet{padding:clamp(23px,3.4vw,48px);box-shadow:none;border-color:#d7e1ea}
.legal-sheet .legal-prose{max-width:84ch}
.legal-sheet .legal-prose h2{font-size:clamp(21px,1.9vw,26px)!important;line-height:1.24;margin:33px 0 12px;letter-spacing:-.028em;color:#192d40}
.legal-sheet .legal-prose p{font-size:15px;line-height:1.77;color:#3d5367;margin:0 0 14px}
.legal-notice{padding:18px 19px;background:#f0f4f8;border-left:4px solid #d38a4a;margin-bottom:28px;border-radius:4px}
.legal-notice strong{display:block;font-size:14px;color:#273f52}
.legal-notice p{margin:8px 0 0!important;font-size:13px!important}
.legal-anchor{scroll-margin-top:100px;display:block;height:0}
@media(max-width:1180px){.site-footer .f-grid.ns-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.site-footer .ns-footer-grid .f-brand{grid-column:1/-1!important}.site-footer .ns-footer-grid .f-contact{grid-column:auto!important}}
@media(max-width:830px){.site-footer .f-grid.ns-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.site-footer .ns-footer-grid .f-brand{grid-column:1/-1!important}.site-footer .ns-footer-grid .f-contact{grid-column:1/-1!important}.legal-layout{grid-template-columns:1fr}.legal-sidebar{position:relative;top:auto;max-height:none}.legal-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}}
@media(max-width:570px){:root{--ns-section-y:45px}.home-modern .ns-card-rail-item{flex:0 0 210px}.home-modern .ns-product-copy{min-height:100px}.home-modern .ns-promo-app .ns-mobile-preview{flex:0 0 128px!important;width:128px!important;min-width:128px!important;height:232px!important;padding:24px 8px 14px!important;margin-right:7px}.home-modern .ns-promo-app .ns-app-brand{font-size:10px!important}.home-modern .ns-dash-module b{font-size:9px}.home-modern .ns-dash-items span{font-size:8px;padding:4px 5px}.home-modern .ns-reference-wordmark{flex-basis:42px;min-width:42px;font-size:11px}.nuke-app-showcase{grid-template-columns:1fr;gap:26px}.nuke-app-screen{margin:auto}.site-footer .f-grid.ns-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.site-footer .ns-footer-grid .f-contact{grid-column:1/-1!important}.site-footer .ns-footer-social{gap:12px 19px}.site-footer .ns-footer-legal-nav{gap:8px 17px}.legal-sidebar nav{grid-template-columns:1fr}.legal-sheet{padding:22px 19px}.legal-sheet .legal-prose h2{font-size:22px!important}.legal-sheet .legal-prose p{font-size:15px}.ni-page .ni-hero h1{font-size:37px}}
/* Consistent featured project and Studio hero scale, without changing the original grid. */
body:not(.home-page) .product-hero.page-hero{padding-block:clamp(30px,3vw,42px)}
body:not(.home-page) .product-hero .product-photo img{width:100%;height:auto;max-height:375px;aspect-ratio:1586/992;object-fit:cover}
body:not(.home-page) .product-hero h1{font-size:clamp(36px,4.1vw,60px);line-height:1.08}
.sx-opening-layout{padding-block:clamp(32px,3.4vw,46px);min-height:0}
.sx-opening-visual{aspect-ratio:1.6;max-height:365px}
.sx-opening h1{font-size:clamp(36px,4vw,58px)}
@media(max-width:850px){.sx-opening-visual{max-height:340px}.sx-opening-layout{gap:23px}.product-hero-grid{gap:25px}}
@media(max-width:570px){.sx-opening-visual{aspect-ratio:1.55;max-height:265px}.sx-opening-layout{padding-block:32px}.product-hero.page-hero{padding-block:27px}.product-hero .product-photo img{max-height:245px!important}}

/* 4.5.1 focused corrections; original shapes, order and dark industrial palette kept. */
/* Original square brand image format restored; photos rebuilt as native 900x900 files. */
.home-modern .ns-product-image{aspect-ratio:1/1!important;height:auto!important;min-height:0!important}
.home-modern .ns-product-image img{aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;transform:none!important;filter:none!important;transition:none!important}
.home-modern .ns-product-card:hover .ns-product-image img{transform:none!important}
/* Digital reactor must have the same size before, during, and after hover. */
.home-modern .sx-home-studio-art img,.home-modern .sx-home-studio-art:hover img,.home-modern .sx-home-studio-art:focus-visible img{
  transform:none!important;scale:1!important;transition:none!important;object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;
}
.home-modern .sx-home-studio-art{background:#071725!important}
/* Small, balanced footer: single main grid and one final utility row. */
.site-footer{padding:40px 0 24px!important;background:#0b1628!important}
.site-footer .f-grid.ns-footer-grid.ns-footer-clean{display:grid!important;grid-template-columns:minmax(210px,1.4fr) minmax(130px,1fr) minmax(135px,1fr) minmax(225px,1.2fr)!important;gap:30px!important;align-items:start!important}
.site-footer .ns-footer-grid.ns-footer-clean>div{grid-column:auto!important;min-width:0}
.site-footer .ns-footer-grid .f-title{font-size:12px!important;font-weight:800!important;letter-spacing:.07em!important;margin:3px 0 14px!important;min-height:0!important;color:#f7b277!important}
.site-footer .ns-footer-grid li{margin:6px 0!important;line-height:1.38!important}
.site-footer .ns-footer-grid .f-brand .brand{font-size:27px!important;line-height:1.15!important}
.site-footer .ns-footer-grid .f-brand p{max-width:285px;font-size:13px!important;line-height:1.5!important;margin-top:10px!important}
.site-footer .ns-footer-grid .ns-linkedin-text{display:inline-block;font-size:13px!important;font-weight:750;color:#f8b77c!important;margin-top:15px;text-decoration:none}
.site-footer .ns-footer-grid .ns-linkedin-text:hover{text-decoration:underline}
.site-footer .ns-footer-grid .f-contact p{margin:7px 0!important;line-height:1.45!important}
.site-footer .ns-footer-grid .f-contact-caption{margin:14px 0 8px!important;font-size:11px!important;color:#e9aa79!important;letter-spacing:.075em!important}
.site-footer .ns-footer-grid address{display:flex;flex-direction:column;gap:2px;font-style:normal;font-size:12px;color:#cbd8e4;line-height:1.42}
.site-footer .ns-footer-grid address strong{font-size:13px;font-weight:750;color:#eff6fc;margin-bottom:2px}
.site-footer .ns-footer-bottom{border-top:1px solid #3b4d5e;margin-top:25px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;color:#9fb1bf}
.site-footer .ns-footer-bottom p{margin:0;font-size:12px;line-height:1.4}
.site-footer .ns-footer-bottom nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
.site-footer .ns-footer-bottom nav a{font-size:12px;text-decoration:none;color:#cfdde8}
.site-footer .ns-footer-bottom nav a:hover{text-decoration:underline}
/* Work with us and FAQ are sections of Company, preserving 35 distinct pages. */
.ns-company-sections{display:grid;gap:45px}
.ns-company-section{scroll-margin-top:100px}
.ns-company-section-head{max-width:760px;margin-bottom:22px}
.ns-company-section-head h2{font-size:var(--ns-title-size);line-height:1.14;margin:6px 0 12px}
.ns-company-section-head>p:last-child{font-size:16px;line-height:1.6;color:#506375}
.ns-company-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ns-company-columns>div{background:white;border:1px solid #d7e1e8;border-radius:8px;padding:26px}
.ns-company-columns h3{font-size:22px;margin-bottom:12px}
.ns-company-columns p{font-size:16px;line-height:1.6;margin-bottom:16px}
.ns-company-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
.ns-company-faq>div{min-width:0}
.ns-company-faq h3{font-size:21px;margin-bottom:12px}
@media(max-width:1020px){.site-footer .f-grid.ns-footer-grid.ns-footer-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:23px 30px!important}}
@media(max-width:650px){.site-footer .f-grid.ns-footer-grid.ns-footer-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}.site-footer .ns-footer-grid.ns-footer-clean>div:first-child,.site-footer .ns-footer-grid.ns-footer-clean>.f-contact{grid-column:1/-1!important}.site-footer .ns-footer-bottom{align-items:flex-start;flex-direction:column}.ns-company-columns,.ns-company-faq{grid-template-columns:1fr}}
@media(max-width:370px){.site-footer .f-grid.ns-footer-grid.ns-footer-clean{grid-template-columns:1fr 1fr!important;column-gap:12px!important}}
/* Hero height contract: rich media pages stay in the same visual scale as project pages. */
body .premium-page .p-hero{padding:0!important;min-height:0!important}
body .premium-page .p-hero-inner{padding:48px 0 52px!important}
body .premium-page .p-hero h1{font-size:clamp(36px,4vw,58px)!important;line-height:1.08!important;margin:13px 0 15px!important}
body .premium-page .p-lead{margin-bottom:18px!important;line-height:1.5!important}
body:not(.home-page) .product-hero.page-hero{padding-block:27px!important}
body:not(.home-page) .product-hero .product-photo img{max-height:315px!important}
@media(max-width:640px){body .premium-page .p-hero-inner{padding:36px 0 42px!important}body .premium-page .p-hero h1{font-size:clamp(34px,8.6vw,43px)!important}body:not(.home-page) .product-hero .product-photo img{max-height:240px!important}}
