/* Homepage refinement. Shared catalog and service layouts keep their own styles. */
.nx6-home { --nx6-blue:#00769c; --nx6-ink:#102b40; --nx6-muted:#465f70; --nx6-line:#d5e0e6; }
.nx6-home .nx2-wrap { width:min(1200px,calc(100% - 64px)); }
.nx6-home h1,.nx6-home h2,.nx6-home h3 { text-wrap:balance; overflow-wrap:anywhere; }
.nx6-home h2 { font-size:clamp(29px,3vw,38px); line-height:1.16; margin:0 0 16px; }
.nx6-home p { color:var(--nx6-muted); }
.nx6-home a { text-underline-offset:4px; }
.nx6-home a:focus-visible { outline:3px solid #00769c; outline-offset:5px; }
.nx6-home .nx6-link { display:inline-flex; align-items:center; gap:12px; color:var(--nx6-blue); font-size:15px; font-weight:600; line-height:1.45; min-height:44px; }
.nx6-link svg,.nx6-category>svg,.nx6-documents svg { flex:none; }
.nx6-section { padding-block:64px; }
.nx6-section-heading { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:30px; }
.nx6-section-heading>div { max-width:70ch; }
.nx6-section-heading p { margin:0; font-size:17px; }
.nx6-section-heading>.nx6-link { flex-shrink:0; }
.nx6-hero { background:#edf4f6; }
.nx6-hero-layout { display:grid; grid-template-columns:1fr 1.08fr; gap:52px; align-items:center; padding-block:30px 28px; }
.nx6-home .nx6-hero h1 { font-size:clamp(38px,3.5vw,48px); line-height:1.12; letter-spacing:-.03em; margin:0 0 22px; max-width:21ch; }
.nx6-hero-copy>p { font-size:18px; max-width:48ch; line-height:1.6; margin-bottom:24px; }
.nx6-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.nx6-actions a { min-height:48px; font-size:15px; }
.nx6-button-secondary { display:inline-flex; align-items:center; justify-content:center; border:1px solid #53788a; border-radius:6px; padding:11px 20px; color:#07546d; font-weight:600; text-decoration:none; line-height:1.5; }
.nx6-button-secondary:hover { background:#dcecf1; color:#102b40; border-color:#00769c; }
.nx6-home .nx6-boq-note { font-size:14px; margin:12px 0 20px; line-height:1.5; }
.nx6-home .nx6-established { font-size:14px; color:#294f62; margin:0; }
.nx6-established span { padding-inline:8px; }
.nx6-hero-visual { margin:0; min-width:0; }
.nx6-hero-visual img { display:block; width:100%; height:370px; object-fit:cover; object-position:58% center; }
.nx6-hero-visual figcaption { text-align:right; margin-top:8px; color:#465f70; font-size:12px; line-height:1.5; }
.nx6-home #product-categories { padding-top:44px; }
.nx6-categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.nx6-category { display:grid; grid-template-columns:104px minmax(0,1fr) 18px; align-items:center; gap:16px; padding:18px 16px 18px 0; border:1px solid var(--nx6-line); border-radius:12px; color:#102b40; text-decoration:none; overflow:hidden; }
.nx6-category:hover { background:#f1f7f9; border-color:#7ba2b4; color:#102b40; }
.nx6-category-image { display:block; width:104px; height:112px; background:#f0f5f6; }
.nx6-category img { display:block; width:100%; height:100%; object-fit:cover; }
.nx6-home .nx6-category h3 { font-size:19px; line-height:1.25; margin:0 0 9px; text-wrap:initial; }
.nx6-home .nx6-category p { font-size:14px; line-height:1.5; margin:0; }
.nx6-category>svg { color:#00769c; }
.nx6-category:hover h3 { text-decoration:underline; }
.nx6-products-section { background:#f5f8fa; }
.nx6-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.nx6-product { min-width:0; display:flex; flex-direction:column; background:#fff; border-radius:12px; overflow:hidden; }
.nx6-product-image { display:block; padding:20px; background:#fff; }
.nx6-product-image img { display:block; width:100%; height:190px; object-fit:contain; }
.nx6-product-content { padding:4px 22px 20px; flex:1; display:flex; flex-direction:column; align-items:start; }
.nx6-home .nx6-product h3 { font-size:20px; line-height:1.3; margin:0 0 12px; text-wrap:initial; }
.nx6-product h3 a { color:#102b40; text-decoration:none; }
.nx6-product h3 a:hover { text-decoration:underline; }
.nx6-home .nx6-product-sku { font-size:13px; line-height:1.5; margin:0 0 16px; font-variant-numeric:tabular-nums; }
.nx6-product .nx6-link { margin-top:auto; font-size:14px; }
.nx6-home .nx6-image-note { font-size:13px; line-height:1.6; margin:22px 0 0; }
.nx6-support { background:#102b40; }
.nx6-support-layout { display:grid; grid-template-columns:1fr 1fr; gap:88px; align-items:start; }
.nx6-home .nx6-support h2 { color:#fff; max-width:21ch; }
.nx6-home .nx6-support p { color:#d4e3eb; }
.nx6-support-intro>p { max-width:49ch; font-size:17px; margin-bottom:12px; }
.nx6-home .nx6-support .nx6-link { color:#a5ddf0; }
.nx6-support figure { margin:22px 0 0; }
.nx6-support figure img { width:100%; height:230px; object-fit:cover; object-position:center 56%; display:block; }
.nx6-support figcaption { font-size:12px; color:#c5dbe5; margin-top:8px; }
.nx6-service-list { padding-top:4px; }
.nx6-service-list article { border-top:1px solid #4b6678; padding:26px 0 24px; }
.nx6-service-list article:last-child { padding-bottom:0; }
.nx6-home .nx6-service-list h3 { font-size:25px; line-height:1.3; margin-bottom:14px; }
.nx6-service-list h3 a { color:white; display:flex; justify-content:space-between; align-items:start; gap:24px; text-decoration:none; }
.nx6-service-list h3 svg { margin-top:6px; flex:none; color:#a5ddf0; }
.nx6-service-list h3 a:hover { text-decoration:underline; }
.nx6-home .nx6-service-list p { font-size:16px; max-width:50ch; margin:0; }
.nx6-support a:focus-visible,.nx6-inquiry a:focus-visible { outline-color:#a5ddf0; }
.nx6-company { display:grid; grid-template-columns:.95fr 1fr; gap:80px; align-items:center; }
.nx6-company-figure { margin:0; min-width:0; }
/* Reveal only the photograph within the existing profile-page image; the source stays intact. */
.nx6-profile-photo { position:relative; width:100%; aspect-ratio:735 / 487; overflow:hidden; background:#e7eff2; }
.nx6-profile-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.nx6-company figcaption { font-size:12px; line-height:1.6; color:#465f70; margin-top:12px; }
.nx6-company-copy>p { font-size:17px; max-width:54ch; }
.nx6-company-links { display:flex; gap:16px 28px; flex-wrap:wrap; margin-bottom:10px; }
.nx6-profile-link { display:inline-block; color:#00769c; font-weight:500; line-height:1.5; padding-block:8px; font-size:14px; }
.nx6-profile-link span { font-weight:400; }
.nx6-documents-section { background:#edf4f6; }
.nx6-documents-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; align-items:start; }
.nx6-documents-layout>div>p { max-width:45ch; font-size:17px; }
.nx6-documents a { display:flex; align-items:center; gap:24px; justify-content:space-between; border-bottom:1px solid #c7d8e0; padding:20px 0; text-decoration:none; color:#102b40; }
.nx6-documents a:first-child { padding-top:4px; }
.nx6-documents strong { display:block; font-size:18px; font-weight:600; line-height:1.45; margin-bottom:5px; }
.nx6-documents a>span>span { font-size:14px; color:#465f70; display:block; line-height:1.5; }
.nx6-documents svg { color:#00769c; }
.nx6-documents a:hover strong { color:#00769c; text-decoration:underline; }
.nx6-guidance { display:grid; grid-template-columns:1.08fr 1fr 1fr; gap:32px; }
.nx6-guidance article { display:flex; flex-direction:column; align-items:start; min-width:0; }
.nx6-home .nx6-guidance h3 { font-size:23px; line-height:1.3; text-wrap:initial; margin:0 0 14px; }
.nx6-guidance h3 a { color:#102b40; text-decoration:none; }
.nx6-guidance h3 a:hover { text-decoration:underline; }
.nx6-home .nx6-guidance p { font-size:16px; line-height:1.65; margin-bottom:18px; }
.nx6-guidance .nx6-link { margin-top:auto; }
.nx6-selection-guide { background:#edf4f6; border-radius:12px; padding:28px; }
.nx6-guide-article { border-top:1px solid var(--nx6-line); padding:22px 4px 0; }
.nx6-guidance time { font-size:13px; color:#465f70; margin-bottom:16px; }
.nx6-inquiry { background:#102b40; }
.nx6-inquiry-layout { display:flex; gap:64px; align-items:center; justify-content:space-between; padding-block:48px; }
.nx6-home .nx6-inquiry h2 { color:white; font-size:34px; }
.nx6-home .nx6-inquiry p { color:#d4e3eb; font-size:17px; max-width:55ch; margin:0; }
.nx6-inquiry-actions { display:flex; flex-direction:column; align-items:center; gap:10px; flex:none; }
.nx6-home .nx6-inquiry .nx6-link { color:#a5ddf0; }
/* Content is visible immediately; legacy entrance effects must not delay product discovery. */
.nx6-home [data-aos] { opacity:1; transform:none; }
@media(max-width:1100px) {
 .nx6-hero-layout { gap:32px; }
 .nx6-home .nx6-hero h1 { font-size:40px; }
 .nx6-hero-visual img { height:420px; }
 .nx6-categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nx6-support-layout,.nx6-company,.nx6-documents-layout { gap:44px; }
 .nx6-products { gap:18px; }
 .nx6-product-image { padding:12px; }
 .nx6-product-image img { height:170px; }
 .nx6-product-content { padding:8px 16px 18px; }
 .nx6-home .nx6-product h3 { font-size:19px; }
 .nx6-product .nx6-link { gap:6px; font-size:13px; }
 .nx6-guidance { gap:24px; }
}
@media(max-width:767px) {
 .nx6-home .nx2-wrap { width:calc(100% - 40px); }
 .nx6-section { padding-block:42px; }
 .nx6-home h2 { font-size:29px; }
 .nx6-section-heading { display:block; margin-bottom:24px; }
 .nx6-section-heading>.nx6-link { margin-top:14px; }
 .nx6-section-heading p { font-size:16px; }
 .nx6-hero-layout { grid-template-columns:1fr; padding-block:30px 26px; gap:24px; }
 .nx6-home .nx6-hero h1 { font-size:35px; line-height:1.14; max-width:22ch; margin-bottom:18px; }
 .nx6-hero-copy>p { font-size:17px; margin-bottom:20px; }
 .nx6-actions { gap:12px; }
 .nx6-actions a { font-size:14px; }
 .nx6-actions .btn-nebrix-primary { padding-inline:16px!important; }
 .nx6-button-secondary { padding-inline:15px; }
 .nx6-home .nx6-boq-note { font-size:13px; margin-bottom:16px; }
 .nx6-home .nx6-established { font-size:13px; }
 .nx6-hero-visual img { height:195px; object-position:60% 42%; }
 .nx6-categories { grid-template-columns:1fr; gap:12px; }
 .nx6-category { grid-template-columns:88px minmax(0,1fr) 18px; gap:14px; padding-block:12px; }
 .nx6-category-image { width:88px; height:88px; }
 .nx6-home .nx6-category h3 { font-size:18px; margin-bottom:6px; }
 .nx6-home .nx6-category p { font-size:13px; }
 .nx6-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 14px; }
 .nx6-product-image { padding:10px; }
 .nx6-product-image img { height:140px; }
 .nx6-product-content { padding:4px 14px 14px; }
 .nx6-home .nx6-product h3 { font-size:18px; }
 .nx6-product .nx6-link { font-size:13px; flex-wrap:wrap; gap:5px; }
 .nx6-product .nx6-link svg { width:16px; }
 .nx6-support-layout { grid-template-columns:1fr; gap:28px; }
 .nx6-support-intro figure { display:none; }
 .nx6-support-intro>p { margin-bottom:8px; }
 .nx6-home .nx6-service-list h3 { font-size:23px; }
 .nx6-service-list article { padding-block:22px; }
 .nx6-service-list h3 a { gap:20px; }
 .nx6-company { grid-template-columns:1fr; gap:28px; }
 .nx6-company-copy { grid-row:1; }
 .nx6-company-copy>p { font-size:16px; }
 .nx6-company-links { gap:4px 20px; }
 .nx6-documents-layout { grid-template-columns:1fr; gap:20px; }
 .nx6-documents-layout>div>p { margin:0; font-size:16px; }
 .nx6-documents strong { font-size:17px; }
 .nx6-documents a { gap:20px; }
 .nx6-guidance { grid-template-columns:1fr; gap:24px; }
 .nx6-selection-guide { padding:24px; }
 .nx6-guide-article { padding-top:22px; }
 .nx6-home .nx6-guidance h3 { font-size:23px; }
 .nx6-inquiry-layout { display:block; padding-block:38px; }
 .nx6-home .nx6-inquiry h2 { font-size:29px; }
 .nx6-inquiry-actions { align-items:start; margin-top:24px; }
}
@media(max-width:360px) {
 .nx6-home .nx6-hero h1 { font-size:32px; }
 .nx6-actions { flex-direction:column; align-items:stretch; }
 .nx6-product-image img { height:112px; }
 .nx6-home .nx6-product h3 { font-size:16px; }
}
/* Keep the existing desktop navigation on one row at tablet widths. */
@media(min-width:769px) and (max-width:1024px) {
 body.home #masthead .inside-header { padding:14px 24px!important; gap:16px; }
 body.home #masthead .site-logo { flex-shrink:0; }
 body.home #masthead .header-image { width:175px!important; max-width:175px!important; }
 body.home .main-navigation .main-nav>ul>li>a { font-size:13px!important; padding-inline:8px!important; letter-spacing:0!important; }
 body.home .main-navigation .main-nav>ul>li.nav-button-quote>a { padding:10px 12px!important; margin-left:4px!important; }
}

/* Portrait tablets and phones use the shorter, stacked introduction. */
@media(max-width:900px) {
 .nx6-hero-layout { grid-template-columns:1fr; gap:22px; padding-block:28px 24px; }
 .nx6-home .nx6-hero h1 { font-size:clamp(30px,4.4vw,40px); max-width:26ch; line-height:1.13; margin-bottom:18px; }
 .nx6-hero-copy>p { max-width:60ch; }
 .nx6-hero-visual img { height:240px; object-position:60% 42%; }
}
@media(max-width:767px) {
 .nx6-home .nx6-hero h1 { font-size:32px; }
 .nx6-hero-visual img { height:150px; }
 .nx6-home .nx6-boq-note { margin-bottom:12px; }
}
@media(max-width:360px) { .nx6-home .nx6-hero h1 { font-size:29px; } }
