/* ==========================================================================
   NEXUS GARMENTS — brand retheme layer (loaded LAST, overrides Crafto + demo)
   Palette & type per nexus-brand-guidelines-v1.0.pdf.
   Proportion target: 60 navy / 25 parchment / 10 gold / 5 oxblood.
   ========================================================================== */

:root {
    /* Type stack: Prata (display) · Lora (body) · Inter (utility) */
    --alt-font: 'Prata', serif;            /* headings / hero display */
    --primary-font: 'Lora', serif;         /* body copy */
    --utility-font: 'Inter', sans-serif;   /* nav, labels, buttons, tables */
    --base-color: #1B2A4A;                 /* Ink Navy — primary accent */

    /* Brand palette */
    --nexus-navy: #1B2A4A;
    --nexus-midnight: #111C33;
    --nexus-oxblood: #852221;
    --nexus-gold: #C9A24B;
    --nexus-bronze: #856928;
    --nexus-parchment: #F2EFE6;
    --nexus-stone-deep: #716D5F;
    --nexus-stone: #8B8574;
}

/* ---- Base ---------------------------------------------------------------- */
::selection { background: #1B2A4A !important; color: #ffffff !important; }
::-moz-selection { background: #1B2A4A !important; color: #ffffff !important; }
*::selection { background: #1B2A4A !important; color: #ffffff !important; }
*::-moz-selection { background: #1B2A4A !important; color: #ffffff !important; }

/* selection Base*/
.selection { background: #1B2A4A !important; color: #ffffff !important; }
.moz-selection { background: #1B2A4A !important; color: #ffffff !important; }
.selection { background: #1B2A4A !important; color: #ffffff !important; }
.moz-selection { background: #1B2A4A !important; color: #ffffff !important; }


.bg-white { background-color: #ffffff !important; }
body {
    font-family: var(--primary-font);
    color: var(--nexus-navy);
    background-color: var(--nexus-parchment);
}
h1, h2, h3, h4, h5, h6, .alt-font { font-family: var(--alt-font) !important; }
/* Prata has one weight only — never fake a bold */
h1, h2, h3, h4, h5, h6, .alt-font { font-weight: 400 !important; letter-spacing: -0.5px; }

/* Utility face for anything scanned, not read */
.navbar-nav .nav-link, .btn, .text-uppercase, label, .banner-subtitle,
.nexus-label, .footer .fs-16, .swiper .fs-13 { font-family: var(--utility-font) !important; }

/* ---- Colour utility remaps (so copied section markup themes cleanly) ----- */
.text-dark-gray { color: var(--nexus-navy) !important; }
.bg-dark-gray { background-color: var(--nexus-midnight) !important; }
.bg-dark-gray-transparent-medium { background-color: rgba(17, 28, 51, 0.55) !important; }
.bg-very-light-gray, .bg-gradient-top-very-light-gray, .bg-gradient-bottom-very-light-gray {
    background-color: var(--nexus-parchment) !important;
    background-image: none !important;
}
.text-light-medium-gray { color: rgba(113, 109, 95, 0.22) !important; } /* giant ghost display text */
.border-color-extra-medium-gray { border-color: rgba(27, 42, 74, 0.14) !important; }

/* Links: Bronze on light, underlined (guideline 7.1) */
a { color: var(--nexus-navy); }
p a, .text-body-link { color: var(--nexus-bronze); text-decoration: underline; text-underline-offset: 3px; }

/* ---- The gold rule ------------------------------------------------------- */
.nexus-rule {
    display: inline-block;
    width: 56px; height: 1px;
    background: var(--nexus-gold);
    vertical-align: middle;
}
.nexus-rule--bronze { background: var(--nexus-bronze); }
.nexus-label {
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--nexus-bronze); font-weight: 500;
}
.on-dark .nexus-label { color: var(--nexus-gold); }
.on-dark .nexus-rule { background: var(--nexus-gold); }

/* ---- Header (always dark, per heritage look) ----------------------------- */
header .navbar.nexus-nav {
    background-color: var(--nexus-navy) !important;
    border-bottom: 1px solid rgba(201, 162, 75, 0.28);
}
/* Sticky stays Ink Navy (no white/black flip) — only adds depth shadow */
header.sticky .navbar.nexus-nav, header .navbar.nexus-nav.sticky, header .navbar.nexus-nav.header-appear {
    background-color: var(--nexus-navy) !important;
    box-shadow: 0 6px 30px rgba(17, 28, 51, 0.35);
}

/* ---- Center-logo layout --------------------------------------------------- */
/* flush, full-width navy bar (kill the floating 20px inset that showed parchment) */
.nexus-nav.center-logo { position: relative; min-height: 104px; top: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; }
/* make the nav itself the positioning context so the logo centers on the viewport */
.nexus-nav.center-logo > .container-fluid { position: static; }
.nexus-nav.center-logo .menu-logo { position: static; }
/* robust vertical+horizontal centering, independent of Crafto's top:50% */
.nexus-nav.center-logo .navbar-brand {
    position: absolute; left: 50%; top: 0; height: 100%;
    transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center;
    margin: 0; padding: 0; z-index: 5;
}
.nexus-nav .navbar-brand img.nexus-brand-logo {
    width: 210px !important; height: auto !important; max-height: none !important; max-width: 100%; display: block;
}
.nexus-nav.center-logo .navbar-left .nav-link,
.nexus-nav.center-logo .navbar-right .nav-link { padding: 34px 16px; }
/* compact CTA pill, kept on one line */
.nexus-nav .navbar-right .nav-item .btn {
    white-space: nowrap !important; font-size: 12px !important; letter-spacing: 0.08em;
    height: 42px !important; min-height: 42px !important;
    padding: 0 22px !important; line-height: 1 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    align-self: center !important;
}
/* widen the centre gap so the horizontal lockup never collides with the menus */
.nexus-nav.center-logo .navbar-left, .nexus-nav.center-logo .navbar-right { width: 36%; }
/* all three slots hold the same reversed SVG; show exactly ONE per breakpoint
   so the brand stays 210px wide and centres correctly (desktop = default-logo). */
.nexus-nav .navbar-brand .alt-logo, .nexus-nav .navbar-brand .mobile-logo { display: none !important; }
/* Crafto hides .default-logo on sticky (expecting .alt-logo) — keep it visible */
header.sticky .navbar-brand .default-logo, header.sticky-active .navbar-brand .default-logo {
    opacity: 1 !important; visibility: visible !important;
}
@media (max-width: 1199px) { .nexus-nav .navbar-brand img.nexus-brand-logo { width: 200px !important; } }
@media (max-width: 991px)  {
    .nexus-nav .navbar-brand img.nexus-brand-logo { width: 175px !important; }
    .nexus-nav .navbar-brand .default-logo { display: none !important; }
    .nexus-nav .navbar-brand .mobile-logo { display: inline-block !important; }
    .nexus-nav.center-logo .navbar-left, .nexus-nav.center-logo .navbar-right { width: 100%; }
    .nexus-nav.center-logo .navbar-left .nav-link,
    .nexus-nav.center-logo .navbar-right .nav-link { padding: 12px 0; }
}

/* ---- Hero effect layers (behind content) ---------------------------------- */
.nexus-hero .container { position: relative; z-index: 2; }
#nexus-particles { z-index: 1; pointer-events: none; }
#nexus-particles canvas { pointer-events: none !important; }
.nexus-grid-lines {
    z-index: 1; pointer-events: none;
    background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(201,162,75,0.05) calc(8.333% - 1px), rgba(201,162,75,0.05) 8.333%),
        repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(201,162,75,0.035) 79px, rgba(201,162,75,0.035) 80px);
}

/* ---- Products stack cards (6 items) --------------------------------------- */
/* stackAnimation() divides box height by item count; scale it so each item still
   gets ~100vh of scroll, and give the new items descending z so they layer right. */
@media (min-width: 1200px) {
    #products.stack-box { height: 600vh; }
    .stack-box .stack-item.stack-item-04 { z-index: 8; }
    .stack-box .stack-item.stack-item-05 { z-index: 7; }
    .stack-box .stack-item.stack-item-06 { z-index: 6; }
}
.stack-box .cover-background { background-size: cover; background-position: center; }
.nexus-nav .navbar-nav .nav-link {
    color: rgba(242, 239, 230, 0.86) !important;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.nexus-nav .navbar-nav .nav-link:hover { color: var(--nexus-gold) !important; }
.nexus-nav .navbar-toggler-line { background-color: var(--nexus-parchment) !important; }

/* ---- Brand buttons (guideline 7.1) --------------------------------------- */
.btn-nexus-gold {
    background: var(--nexus-gold); color: var(--nexus-navy) !important;
    border: 1px solid var(--nexus-gold); font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px;
}
.btn-nexus-gold:hover { background: #d8b365; border-color: #d8b365; color: var(--nexus-navy) !important; }
.btn-nexus-outline-gold {
    background: transparent; color: var(--nexus-gold) !important;
    border: 1px solid var(--nexus-gold); font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px;
}
.btn-nexus-outline-gold:hover { background: var(--nexus-gold); color: var(--nexus-navy) !important; }
.btn-nexus-gallery {
    background: transparent; color: var(--nexus-navy) !important;
    border: 1px solid var(--nexus-gold); font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px;
}
.btn-nexus-gallery:hover { background: var(--nexus-gold); color: var(--nexus-navy) !important; }
.btn-nexus-navy {
    background: var(--nexus-navy); color: var(--nexus-parchment) !important;
    border: 1px solid var(--nexus-navy); font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px;
}
.btn-nexus-navy:hover { background: var(--nexus-midnight); border-color: var(--nexus-midnight); }
.btn-dark-gray { background-color: var(--nexus-navy) !important; border-color: var(--nexus-navy) !important; color: var(--nexus-parchment) !important; }
.btn-white { color: var(--nexus-navy) !important; }

/* Focus ring: 2px Oxblood, 2px offset (guideline 7.1 / WCAG 2.4.11) */
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--nexus-oxblood); outline-offset: 2px;
}
/* Sticky header must not cover focused / anchored target */
:target { scroll-margin-top: 96px; }

/* ---- Header: sticky, flush, navy (no white gap) --------------------------- */
header, header.sticky {
    background-color: var(--nexus-navy) !important;
    position: sticky; top: 0; z-index: 1030;
}
/* neutralise Crafto's JS sticky slide-transform that hides the nav (-105px) */
header .nexus-nav.center-logo, header.sticky .nexus-nav.center-logo { transform: none !important; }

/* ---- Hero ---------------------------------------------------------------- */
.nexus-hero { background-color: var(--nexus-navy); }
/* soft gold glow behind the headline for depth */
.nexus-hero::before {
    content: ""; position: absolute; z-index: 1; pointer-events: none;
    left: 50%; top: 44%; transform: translate(-50%, -50%);
    width: 68vw; height: 68vh; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(201,162,75,0.10), rgba(201,162,75,0) 70%);
}
/* graceful fade into the section below */
.nexus-hero::after {
    content: ""; position: absolute; z-index: 1; pointer-events: none;
    left: 0; right: 0; bottom: 0; height: 22%;
    background: linear-gradient(to bottom, rgba(27,42,74,0), var(--nexus-navy));
}
.nexus-hero .nexus-h1 {
    color: var(--nexus-parchment);
    font-size: 5.4rem; line-height: 1.05; letter-spacing: -1.5px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.nexus-hero .nexus-lede { color: rgba(242, 239, 230, 0.82); }
.nexus-oxblood-accent { color: var(--nexus-oxblood); }

/* animated scroll cue */
.nexus-scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.nexus-scroll-cue .nexus-scroll-line {
    width: 1px; height: 54px; position: relative; overflow: hidden;
    background: rgba(201,162,75,0.22);
}
.nexus-scroll-cue .nexus-scroll-line::after {
    content: ""; position: absolute; left: 0; top: -40%;
    width: 100%; height: 40%; background: var(--nexus-gold);
    animation: nexusScroll 2s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes nexusScroll { 0% { top: -40%; } 60%,100% { top: 100%; } }

/* ---- Stats / counters band ----------------------------------------------- */
.nexus-stat { font-size: 4.4rem; line-height: 1; letter-spacing: -1px; }
.nexus-stat-suffix { font-size: 1.8rem; margin-left: 5px; margin-top: 0.5rem; text-transform: lowercase; align-self: flex-start; }
@media (max-width: 1199px) { .nexus-stat { font-size: 3.4rem; } }
@media (max-width: 991px)  { .nexus-stat { font-size: 3rem; } .nexus-stat-suffix { font-size: 1.4rem; } }

/* ---- Motion polish: capability card lift --------------------------------- */
.nexus-card figure { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.nexus-card:hover figure { transform: translateY(-8px); box-shadow: 0 28px 55px rgba(17,28,51,0.28); }
/* product & spec cards subtle image zoom */
.stack-box .cover-background { transition: transform 6s ease; }
.stack-box .stack-item:hover .cover-background { transform: scale(1.04); }

/* ---- FAQ accordion ------------------------------------------------------- */
.accordion-style-04 .accordion-title { font-family: var(--alt-font) !important; color: var(--nexus-navy) !important; }
.accordion-style-04 .accordion-header a:hover .accordion-title,
.accordion-style-04 .active-accordion .accordion-title { color: var(--nexus-bronze) !important; }
.accordion-style-04 .accordion-header a { padding: 20px 0; }
.accordion-style-04 .accordion-title i { color: var(--nexus-bronze); }
.accordion-style-04 .accordion-body { padding: 15px 0 25px; }
.accordion-style-04 .accordion-body p { font-family: var(--primary-font); color: var(--nexus-stone-deep); }
.accordion-style-04 .accordion-header { border-color: rgba(27,42,74,0.14) !important; }

/* ---- Custom magic cursor (brand gold) ------------------------------------ */
.custom-cursor .circle-cursor-inner {
    background-color: var(--nexus-gold);
    width: 8px; height: 8px; margin: -4px 0 0 -4px;
}
.custom-cursor .circle-cursor-outer {
    border: 1px solid rgba(201, 162, 75, 0.55);
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
}
/* grow the ring over interactive elements */
.custom-cursor a:hover ~ .cursor-page-inner .circle-cursor-outer,
.custom-cursor .circle-cursor-outer.cursor-outer-hover { border-color: var(--nexus-gold); }

/* ---- Vertically centre nav items (incl. Send enquiry button) ------------- */
@media (min-width: 992px) {
    .nexus-nav.center-logo .navbar-collapse,
    .nexus-nav .navbar-nav.navbar-left, .nexus-nav .navbar-nav.navbar-right { min-height: 104px; align-items: center; }
    .nexus-nav .navbar-right .nav-item { display: flex; align-items: center; }
    .nexus-nav .navbar-right .nav-item:last-child { margin-top: 0 !important; }
}

/* keep anchor jumps clear of the sticky header */
html { scroll-padding-top: 104px; }

/* ---- Marquee strips ------------------------------------------------------ */
.nexus-marquee { background-color: var(--nexus-navy); }
.nexus-marquee .marquee-text { color: var(--nexus-parchment); }
.nexus-marquee .marquee-star { color: var(--nexus-gold); }

/* ---- Sections ------------------------------------------------------------ */
.bg-nexus-midnight { background-color: var(--nexus-midnight) !important; }
.bg-nexus-navy { background-color: var(--nexus-navy) !important; }
.bg-nexus-parchment { background-color: var(--nexus-parchment) !important; }
.text-parchment { color: var(--nexus-parchment) !important; }
.text-gold { color: var(--nexus-gold) !important; }
.text-stone-deep { color: var(--nexus-stone-deep) !important; }
.on-dark, .on-dark p, .on-dark .nexus-lede { color: rgba(242, 239, 230, 0.82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5 { color: var(--nexus-parchment) !important; }

/* Fabric tabs — distinct active state (bronze on light; inactive muted) */
.tab-style-05 .nav-link { color: var(--nexus-stone) !important; opacity: 1; transition: color .25s ease; }
.tab-style-05 .nav-link:hover { color: var(--nexus-bronze) !important; }
.tab-style-05 .nav-link.active { color: var(--nexus-navy) !important; }
.tab-style-05 .nav-link.active span { color: var(--nexus-bronze) !important; }

/* Capability / spec cards */
.nexus-card figcaption { background: linear-gradient(180deg, rgba(17,28,51,0.10) 0%, rgba(17,28,51,0.80) 100%); }
.nexus-spec { font-family: var(--utility-font); font-size: 13px; color: var(--nexus-stone-deep); letter-spacing: 0.04em; }
.nexus-spec strong { color: var(--nexus-navy); font-weight: 600; }

/* Tamil pairing helper */
.nexus-tamil { font-family: 'Noto Serif Tamil', serif; }

/* ---- Footer -------------------------------------------------------------- */
footer.nexus-footer { background-color: var(--nexus-midnight); color: rgba(242, 239, 230, 0.72); }
footer.nexus-footer a { color: rgba(242, 239, 230, 0.72); }
footer.nexus-footer a:hover { color: var(--nexus-gold); }
footer.nexus-footer .footer-heading { color: var(--nexus-parchment); font-family: var(--utility-font); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---- Responsive display sizing ------------------------------------------- */
@media (max-width: 1199px) { .nexus-hero .nexus-h1 { font-size: 3.8rem; } }
@media (max-width: 767px)  { .nexus-hero .nexus-h1 { font-size: 2.6rem; letter-spacing: -1px; } }

/* ==========================================================================
   HOME v2.0 — S1.2–S1.7 component layer
   ========================================================================== */

/* Small utilities used by the home sections */
.mb-8px { margin-bottom: 8px; }
.row.g-30px { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }

/* B0 swap token (founding year / tenure). No visual change — it is only a
   hook for a single site-wide replace once the client confirms the year. */
.nx-b0 { color: inherit; }

/* ---- S1.2 · Credibility bar (static figures, never counters) ------------- */
.nexus-cred-cell { padding: 14px 12px; }
.nexus-cred-fig {
    display: block; color: var(--nexus-navy);
    font-size: 2.7rem; line-height: 1; letter-spacing: -1px; margin-bottom: 12px;
}
.nexus-cred-fig .nexus-cred-unit {
    font-size: 1.05rem; margin-left: 3px; color: var(--nexus-bronze); letter-spacing: 0;
}
.nexus-cred-cell .nexus-label { font-size: 11px; line-height: 1.5; }
@media (min-width: 992px) {
    /* hairline vertical rules between cells — desktop only */
    .nexus-cred-cell + .nexus-cred-cell { border-left: 1px solid rgba(27,42,74,0.12); }
}
@media (max-width: 991px) { .nexus-cred-cell { margin-bottom: 26px; } .nexus-cred-fig { font-size: 2.3rem; } }

/* ---- S1.3 · Segment tiles (white ground on parchment; depth by ground) --- */
.nexus-tile {
    background: #fff; border: 1px solid rgba(27,42,74,0.08); border-radius: 8px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
}
.nexus-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(17,28,51,0.14); }
.nexus-tile-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nexus-tile-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1 1 auto; }
.nexus-tile-list {
    list-style: none; padding: 0; margin: 0 0 22px;
    font-family: var(--utility-font); font-size: 14px; color: var(--nexus-stone-deep);
}
.nexus-tile-list li { padding: 7px 0; border-bottom: 1px solid rgba(27,42,74,0.07); }
.nexus-tile-link {
    margin-top: auto; font-family: var(--utility-font); font-size: 12px;
    letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
    color: var(--nexus-bronze); text-decoration: none;
}
.nexus-tile-link:hover { color: var(--nexus-navy); }

/* ---- S1.4 · Vertically integrated — 8-stage process strip ---------------- */
.nexus-flow {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: nowrap; align-items: flex-start;
}
.nexus-flow-step { position: relative; flex: 1 1 0; text-align: center; padding: 0 8px; }
.nexus-flow-num {
    display: inline-flex; width: 46px; height: 46px; border-radius: 50%;
    align-items: center; justify-content: center; position: relative; z-index: 2;
    background: var(--nexus-navy); border: 1px solid rgba(201,162,75,0.55);
    color: var(--nexus-gold); font-family: var(--utility-font); font-size: 13px; font-weight: 500;
    margin-bottom: 18px;
}
/* gold hairline connector between markers (desktop) */
.nexus-flow-step:not(:last-child)::after {
    content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 1px;
    background: rgba(201,162,75,0.28); z-index: 1;
}
.nexus-flow-name { display: block; font-family: var(--alt-font); color: var(--nexus-parchment); font-size: 16px; line-height: 1.25; margin-bottom: 8px; }
.nexus-flow-fig  { display: block; font-family: var(--utility-font); font-size: 12px; letter-spacing: 0.05em; color: var(--nexus-gold); }
@media (max-width: 991px) {
    .nexus-flow { flex-direction: column; }
    .nexus-flow-step { display: flex; align-items: center; text-align: left; gap: 16px; width: 100%; padding: 12px 0; }
    .nexus-flow-num { margin-bottom: 0; flex: 0 0 auto; }
    .nexus-flow-name { margin-bottom: 0; }
    .nexus-flow-fig { margin-left: auto; }
    .nexus-flow-step:not(:last-child)::after { display: none; }
}

/* ---- S1.5 / footer · Statement block (oxblood left rule) ----------------- */
.nexus-statement {
    font-family: var(--alt-font); font-size: 20px; line-height: 1.4; color: var(--nexus-navy);
    border-left: 3px solid var(--nexus-oxblood); padding: 4px 0 4px 18px;
}
.nexus-statement--dark { color: var(--nexus-parchment); font-size: 17px; border-left-color: var(--nexus-gold); }

/* ---- S1.6 · Markets and reach ------------------------------------------- */
.nexus-globe { max-width: 440px; margin: 0 auto; }
.nexus-globe svg { display: block; width: 100%; height: auto; }
.nexus-region-list { list-style: none; margin: 0; padding: 0; }
.nexus-region-list li {
    display: flex; align-items: center; padding: 12px 0;
    font-family: var(--alt-font); font-size: 22px; color: var(--nexus-parchment);
    border-bottom: 1px solid rgba(201,162,75,0.16);
}
.nexus-region-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nexus-gold); margin-right: 14px; flex: 0 0 auto; }

/* ==========================================================================
   INNER PAGES — shared component layer (Infrastructure, Products, QA, About)
   ========================================================================== */

/* Active nav item */
.nexus-nav .navbar-nav .nav-link.active { color: var(--nexus-gold) !important; }

/* ---- Page hero — short navy band (orientation, not persuasion) ----------- */
.nexus-pagehero { background: var(--nexus-navy); position: relative; overflow: hidden; padding: 128px 0 116px; }
.nexus-pagehero::after { /* graceful fade into section below */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none;
    background: linear-gradient(to bottom, rgba(27,42,74,0), var(--nexus-navy));
}
.nexus-pagehero-h1 { color: var(--nexus-parchment); font-size: 3.4rem; line-height: 1.08; letter-spacing: -1px; }
@media (max-width: 991px) { .nexus-pagehero { padding: 90px 0 80px; } .nexus-pagehero-h1 { font-size: 2.5rem; } }
@media (max-width: 767px) { .nexus-pagehero { padding: 60px 0 50px; } .nexus-pagehero-h1 { font-size: 2rem; } }

/* ---- Specification table (two-column, hairline rules, no zebra) ---------- */
.nexus-spec-table { width: 100%; border-collapse: collapse; }
.nexus-spec-table th, .nexus-spec-table td {
    text-align: left; padding: 16px 6px; vertical-align: top;
    border-bottom: 1px solid rgba(27,42,74,0.12); font-family: var(--utility-font);
}
.nexus-spec-table th { width: 34%; color: var(--nexus-navy); font-weight: 600; font-size: 14px; }
.nexus-spec-table td { color: var(--nexus-stone-deep); font-size: 15px; }
.nexus-spec-table tr:last-child th, .nexus-spec-table tr:last-child td { border-bottom: 0; }
.on-dark .nexus-spec-table th { color: var(--nexus-parchment); }
.on-dark .nexus-spec-table td { color: rgba(242,239,230,0.72); }
.on-dark .nexus-spec-table th, .on-dark .nexus-spec-table td { border-color: rgba(201,162,75,0.20); }

/* ---- Data table (multi-column: process / equipment / capacity) ----------- */
.nexus-table { width: 100%; border-collapse: collapse; }
.nexus-table thead th {
    font-family: var(--utility-font); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--nexus-bronze); font-weight: 600; text-align: left; padding: 0 6px 14px; border-bottom: 1px solid rgba(27,42,74,0.18);
}
.nexus-table tbody td {
    font-family: var(--utility-font); font-size: 15px; color: var(--nexus-stone-deep);
    padding: 16px 6px; border-bottom: 1px solid rgba(27,42,74,0.10); vertical-align: top;
}
.nexus-table tbody td:first-child { color: var(--nexus-navy); font-weight: 600; }
.nexus-table tbody tr:last-child td { border-bottom: 0; }

/* ---- Tag chips (constructions, wrapped) ---------------------------------- */
.nexus-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.nexus-tags li {
    font-family: var(--utility-font); font-size: 13px; letter-spacing: 0.02em; color: var(--nexus-navy);
    border: 1px solid rgba(27,42,74,0.18); border-radius: 2px; padding: 8px 14px;
}
.on-dark .nexus-tags li { color: var(--nexus-parchment); border-color: rgba(201,162,75,0.35); }

/* ---- Info card (garmenting six-up, product segments) --------------------- */
.nexus-infocard { background: #fff; border: 1px solid rgba(27,42,74,0.08); border-radius: 8px; padding: 28px 26px; height: 100%; }
.nexus-infocard .nexus-infocard-fig { font-family: var(--utility-font); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nexus-bronze); display: block; margin-bottom: 14px; }
.nexus-infocard h3 { font-size: 20px; color: var(--nexus-navy); margin-bottom: 10px; letter-spacing: -0.5px; }
.nexus-infocard p { font-family: var(--utility-font); font-size: 14px; line-height: 1.6; color: var(--nexus-stone-deep); margin: 0; }

/* ---- Enquiry form (Contact S6.2) — 2px radius, oxblood focus ------------- */
.nexus-form label { display: block; font-family: var(--utility-font); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nexus-navy); font-weight: 600; margin-bottom: 8px; }
.nexus-form .nexus-required { color: var(--nexus-oxblood); }
.nexus-form .form-control, .nexus-form .form-select {
    border-radius: 2px; border: 1px solid rgba(27,42,74,0.22); background: #fff;
    font-family: var(--utility-font); font-size: 15px; color: var(--nexus-navy); padding: 12px 14px;
}
.nexus-form .form-control::placeholder { color: rgba(113,109,95,0.55); }
.nexus-form .form-control:focus, .nexus-form .form-select:focus {
    border-color: var(--nexus-bronze); box-shadow: none; outline: 2px solid var(--nexus-oxblood); outline-offset: 1px;
}
.nexus-form .form-control.is-invalid, .nexus-form .form-select.is-invalid { border-color: var(--nexus-oxblood); background-image: none; }
.nexus-form .nexus-field-error { font-family: var(--utility-font); font-size: 12px; color: var(--nexus-oxblood); margin-top: 6px; display: none; align-items: center; gap: 6px; }
.nexus-form .nexus-field-error::before { content: "!"; display: inline-flex; width: 15px; height: 15px; border-radius: 50%; background: var(--nexus-oxblood); color: #fff; font-weight: 700; font-size: 10px; align-items: center; justify-content: center; }
.nexus-form .is-invalid ~ .nexus-field-error { display: flex; }
.nexus-hpot { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.nexus-form-success { display: none; background: #fff; border: 1px solid rgba(27,42,74,0.10); border-left: 3px solid var(--nexus-gold); border-radius: 4px; padding: 40px 36px; }
.nexus-form-success h3 { font-family: var(--alt-font); color: var(--nexus-navy); font-size: 24px; margin-bottom: 12px; }
.nexus-form-alert { display: none; background: rgba(133,34,33,0.08); border-left: 3px solid var(--nexus-oxblood); color: var(--nexus-oxblood); font-family: var(--utility-font); font-size: 14px; padding: 14px 16px; border-radius: 2px; margin-bottom: 22px; }

/* ---- Timeline (About story, QA stage-gate map) --------------------------- */
.nexus-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.nexus-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: rgba(201,162,75,0.30); }
.nexus-timeline-item { position: relative; padding: 0 0 34px 40px; }
.nexus-timeline-item:last-child { padding-bottom: 0; }
.nexus-timeline-item::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--nexus-gold); box-shadow: 0 0 0 4px var(--nexus-parchment); }
.on-dark .nexus-timeline-item::before { box-shadow: 0 0 0 4px var(--nexus-navy); }
.nexus-timeline-year { font-family: var(--utility-font); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nexus-bronze); display: block; margin-bottom: 6px; }
.on-dark .nexus-timeline-year { color: var(--nexus-gold); }
.nexus-timeline-title { font-family: var(--alt-font); font-size: 20px; color: var(--nexus-navy); margin: 0 0 8px; }
.on-dark .nexus-timeline-title { color: var(--nexus-parchment); }
.nexus-timeline-item p { font-family: var(--utility-font); font-size: 14px; line-height: 1.6; color: var(--nexus-stone-deep); margin: 0; }
.on-dark .nexus-timeline-item p { color: rgba(242,239,230,0.72); }

/* ---- Person card (leadership, QA team) — monogram if no photograph ------- */
.nexus-person { text-align: center; }
.nexus-monogram {
    width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--nexus-navy); border: 1px solid rgba(201,162,75,0.45);
    color: var(--nexus-gold); font-family: var(--alt-font); font-size: 26px; letter-spacing: 1px;
}
.nexus-person-name { font-family: var(--alt-font); font-size: 19px; color: var(--nexus-navy); margin: 0 0 4px; }
.on-dark .nexus-person-name { color: var(--nexus-parchment); }
.nexus-person-role { font-family: var(--utility-font); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nexus-bronze); }
.on-dark .nexus-person-role { color: var(--nexus-gold); }

/* ---- Big stat (QA hero 100%) --------------------------------------------- */
.nexus-bigstat { font-family: var(--alt-font); color: var(--nexus-gold); font-size: 5rem; line-height: 1; letter-spacing: -2px; }
@media (max-width: 767px) { .nexus-bigstat { font-size: 3.6rem; } }

/* ---- Definition list (credentials) --------------------------------------- */
.nexus-deflist { margin: 0; }
.nexus-deflist > div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(27,42,74,0.12); }
.nexus-deflist dt { flex: 0 0 40%; font-family: var(--utility-font); font-weight: 600; font-size: 14px; color: var(--nexus-navy); margin: 0; }
.nexus-deflist dd { flex: 1; font-family: var(--utility-font); font-size: 15px; color: var(--nexus-stone-deep); margin: 0; }
.nexus-deflist dd.pending { color: rgba(113,109,95,0.6); font-style: italic; }

/* ---- Sticky sub-nav (Products page — the only sticky element) ------------ */
.nexus-subnav { position: sticky; top: 104px; z-index: 1020; background: var(--nexus-parchment); border-bottom: 1px solid rgba(27,42,74,0.12); }
.nexus-subnav ul { display: flex; flex-wrap: wrap; gap: 6px 30px; margin: 0; padding: 16px 0; list-style: none; justify-content: center; }
.nexus-subnav a { font-family: var(--utility-font); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--nexus-stone-deep); text-decoration: none; }
.nexus-subnav a:hover { color: var(--nexus-bronze); }
@media (max-width: 575px) { .nexus-subnav ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
/* anchored product sections must clear the sticky header + sub-nav */
#mens, #womens, #childrens, #babies, #fabrics, #sampling { scroll-margin-top: 162px; }

/* ---- Light variant of the process strip (parchment ground) --------------- */
.nexus-flow--light .nexus-flow-num { background: #fff; border-color: rgba(133,105,40,0.45); color: var(--nexus-bronze); }
.nexus-flow--light .nexus-flow-name { color: var(--nexus-navy); }
.nexus-flow--light .nexus-flow-fig { color: var(--nexus-bronze); }
.nexus-flow--light .nexus-flow-step:not(:last-child)::after { background: rgba(133,105,40,0.28); }
.nexus-flow a { text-decoration: none; display: block; }
.nexus-flow a:hover .nexus-flow-name { color: var(--nexus-bronze); }
.nexus-flow--light a:hover .nexus-flow-num { border-color: var(--nexus-bronze); }
