/* ==========================================================================
   Newell Polymers - public design system
   Mobile-first. Tokens first, then primitives, then components.
   Colours are taken from the approved brand mock.
   ========================================================================== */

:root {
    /* Brand */
    --np-blue:          #4902eb;
    --np-blue-bright:   #6d34ef;
    --np-blue-dark:     #3601b0;
    --np-navy:          #0b2545;
    --np-navy-deep:     #071a33;
    --np-navy-soft:     #12365f;

    /* Neutrals */
    --np-ink:           #111c2b;
    --np-body:          #3d4a5c;
    --np-muted:         #6b7887;
    --np-line:          #e2e8f0;
    --np-line-soft:     #eef2f7;
    --np-surface:       #ffffff;
    --np-surface-alt:   #f5f8fc;
    --np-surface-tint:  #eef4fb;

    /* Feedback */
    --np-success:       #0f7b52;
    --np-success-bg:    #e7f6ef;
    --np-warning:       #8a5a00;
    --np-warning-bg:    #fdf3e2;
    --np-danger:        #b3261e;
    --np-danger-bg:     #fdecea;
    --np-teal:          #0ea5a3;

    /* Typography */
    --np-font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --np-text-xs:   0.75rem;
    --np-text-sm:   0.875rem;
    --np-text-base: 1rem;
    --np-text-lg:   1.125rem;
    --np-text-xl:   1.375rem;
    --np-text-2xl:  1.75rem;
    --np-text-3xl:  2.25rem;
    --np-text-4xl:  3rem;

    /* Spacing scale */
    --np-space-1: 0.25rem;
    --np-space-2: 0.5rem;
    --np-space-3: 0.75rem;
    --np-space-4: 1rem;
    --np-space-5: 1.5rem;
    --np-space-6: 2rem;
    --np-space-7: 3rem;
    --np-space-8: 4rem;
    --np-space-9: 6rem;

    /* Shape */
    --np-radius-sm: 4px;
    --np-radius:    8px;
    --np-radius-lg: 14px;
    --np-shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 3px rgba(11, 37, 69, .08);
    --np-shadow:    0 4px 16px rgba(11, 37, 69, .08);
    --np-shadow-lg: 0 18px 48px rgba(11, 37, 69, .16);

    --np-container: 1200px;
    --np-header-height: 72px;
}

/* --------------------------------------------------------------- base reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--np-font);
    font-size: var(--np-text-base);
    line-height: 1.65;
    color: var(--np-body);
    background: var(--np-surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--np-space-3);
    color: var(--np-ink);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, var(--np-text-4xl)); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, var(--np-text-3xl)); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, var(--np-text-xl)); }
h4 { font-size: var(--np-text-lg); }

p { margin: 0 0 var(--np-space-4); max-width: 68ch; }

a { color: var(--np-blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--np-blue); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--np-space-4); padding-left: 1.25rem; }

hr { border: 0; border-top: 1px solid var(--np-line); margin: var(--np-space-6) 0; }

:focus-visible {
    outline: 3px solid var(--np-blue-bright);
    outline-offset: 2px;
    border-radius: var(--np-radius-sm);
}

.np-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: var(--np-space-3) var(--np-space-4);
    background: var(--np-navy);
    color: #fff;
    font-weight: 600;
}
.np-skip-link:focus { left: var(--np-space-4); top: var(--np-space-4); color: #fff; }

.np-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- layout */
.np-container {
    width: 100%;
    max-width: var(--np-container);
    margin-inline: auto;
    padding-inline: var(--np-space-4);
}
@media (min-width: 768px) { .np-container { padding-inline: var(--np-space-5); } }

.np-section { padding-block: var(--np-space-7); }
@media (min-width: 768px) { .np-section { padding-block: var(--np-space-8); } }

.np-section--tint { background: var(--np-surface-alt); }
.np-section--navy { background: var(--np-navy); color: #cfe0f2; }
.np-section--navy h1, .np-section--navy h2, .np-section--navy h3 { color: #fff; }

.np-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--np-space-4);
    margin-bottom: var(--np-space-6);
}
.np-section__head p { margin-bottom: 0; }

.np-eyebrow {
    display: block;
    font-size: var(--np-text-xs);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--np-muted);
    margin-bottom: var(--np-space-2);
}
.np-section--navy .np-eyebrow { color: #7ea9d8; }

/*
 * Explicit column counts with breakpoints, not repeat(auto-fit, minmax()) —
 * auto-fit stretches/wraps unpredictably whenever the item count isn't a
 * clean multiple of the fitted column count (hit this bug repeatedly: home
 * product/industry grids, case-study cards, applications listing).
 */
.np-grid { display: grid; gap: var(--np-space-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .np-grid--2, .np-grid--3, .np-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .np-grid--3, .np-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .np-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.np-grid--6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) { .np-grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .np-grid--6 { grid-template-columns: repeat(6, 1fr); } }

/* ---------------------------------------------------------------- buttons */
.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--np-space-2);
    min-height: 44px;                 /* comfortable touch target */
    padding: var(--np-space-3) var(--np-space-5);
    border: 1px solid transparent;
    border-radius: var(--np-radius);
    font: inherit;
    font-weight: 600;
    font-size: var(--np-text-sm);
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.np-btn--primary { background: var(--np-blue); color: #fff; }
.np-btn--primary:hover { background: var(--np-blue-dark); color: #fff; }

.np-btn--secondary { background: #fff; color: var(--np-navy); border-color: var(--np-line); }
.np-btn--secondary:hover { border-color: var(--np-blue); color: var(--np-blue-dark); }

.np-btn--ghost { background: transparent; color: var(--np-navy); border-color: rgba(255,255,255,.35); }
.np-section--navy .np-btn--ghost, .np-hero .np-btn--ghost { color: #fff; }
.np-section--navy .np-btn--ghost:hover, .np-hero .np-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.np-btn--sm { min-height: 36px; padding: var(--np-space-2) var(--np-space-4); font-size: var(--np-text-xs); }
.np-btn--pill { border-radius: 999px; }
.np-btn[aria-disabled="true"], .np-btn:disabled { opacity: .55; cursor: not-allowed; }

.np-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--np-space-2);
    font-weight: 600;
    font-size: var(--np-text-sm);
    text-decoration: none;
    color: var(--np-blue-dark);
}
.np-link-arrow::after { content: "→"; transition: transform .15s ease; }
.np-link-arrow:hover::after { transform: translateX(3px); }

/* ----------------------------------------------------------------- banner */
.np-banner {
    background: var(--np-navy-soft);
    color: #e7f0fb;
    font-size: var(--np-text-sm);
}
.np-banner--alert { background: #7a2019; }
.np-banner--announcement { background: var(--np-blue-dark); }
.np-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--np-space-4);
    flex-wrap: wrap;
    padding-block: var(--np-space-2);
    text-align: center;
}
.np-banner a { color: #fff; font-weight: 600; }
.np-banner__close {
    background: none; border: 0; color: inherit;
    cursor: pointer; font-size: 1.1rem; line-height: 1;
    padding: var(--np-space-2); min-width: 40px; min-height: 40px;
}

/* ---------------------------------------------------------- cookie notice */
.np-cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--np-navy-deep); color: #d6e4f5;
    box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}
.np-cookie-banner[hidden] { display: none; }
.np-cookie-banner__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--np-space-4); flex-wrap: wrap;
    padding-block: var(--np-space-3);
}
.np-cookie-banner p { margin: 0; font-size: var(--np-text-sm); max-width: 60ch; }

/* ----------------------------------------------------------------- header */
.np-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--np-line);
}
.np-header__inner {
    display: flex;
    align-items: center;
    gap: var(--np-space-4);
    min-height: var(--np-header-height);
}
.np-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.np-header__logo img { max-height: 62px; width: auto; }
.np-header__logo-text { font-weight: 800; color: var(--np-navy); letter-spacing: .02em; }

.np-nav { display: none; margin-left: auto; }
.np-nav__list { display: flex; align-items: center; gap: var(--np-space-1); list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.np-nav__link {
    display: inline-flex; align-items: center; gap: var(--np-space-1);
    padding: var(--np-space-2) var(--np-space-3);
    border-radius: var(--np-radius-sm);
    font-size: var(--np-text-sm); font-weight: 500;
    color: var(--np-ink); text-decoration: none;
    white-space: nowrap;
}
.np-nav__link:hover, .np-nav__link[aria-current="page"] { color: var(--np-blue-dark); background: var(--np-surface-tint); }
.np-nav__item { position: relative; }

.np-nav__toggle {
    background: none; border: 0; font: inherit; cursor: pointer;
    display: inline-flex; align-items: center; gap: var(--np-space-1);
    padding: var(--np-space-2) var(--np-space-3);
    font-size: var(--np-text-sm); font-weight: 500; color: var(--np-ink);
    border-radius: var(--np-radius-sm);
    white-space: nowrap;
}
.np-nav__toggle[aria-expanded="true"] { color: var(--np-blue-dark); background: var(--np-surface-tint); }
.np-nav__caret { font-size: .7em; }

.np-nav__dropdown {
    position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow-lg);
    padding: var(--np-space-2);
    list-style: none; margin: 0;
    z-index: 70;
}
.np-nav__dropdown[hidden] { display: none; }
.np-nav__dropdown a {
    display: block; padding: var(--np-space-2) var(--np-space-3);
    border-radius: var(--np-radius-sm);
    font-size: var(--np-text-sm); color: var(--np-ink); text-decoration: none;
}
.np-nav__dropdown a:hover { background: var(--np-surface-tint); color: var(--np-blue-dark); }
.np-nav__dropdown small { display: block; color: var(--np-muted); font-size: var(--np-text-xs); }

.np-header__actions { display: none; align-items: center; gap: var(--np-space-2); margin-left: var(--np-space-3); flex: 0 0 auto; }

.np-header__search {
    background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-grid; place-items: center; color: var(--np-ink);
}
.np-header__search:hover { background: var(--np-surface-tint); }

.np-burger {
    margin-left: auto;
    width: 44px; height: 44px;
    display: inline-grid; place-items: center;
    background: none; border: 1px solid var(--np-line); border-radius: var(--np-radius-sm);
    cursor: pointer;
}
.np-burger span, .np-burger span::before, .np-burger span::after {
    display: block; width: 20px; height: 2px; background: var(--np-ink); border-radius: 2px;
    content: ""; position: relative;
}
.np-burger span::before { position: absolute; top: -6px; }
.np-burger span::after  { position: absolute; top: 6px; }

@media (min-width: 1024px) {
    .np-nav { display: block; }
    .np-header__actions { display: flex; }
    .np-burger { display: none; }
}

/* mobile drawer */
.np-mobile-nav {
    position: fixed; inset: var(--np-header-height) 0 0 0;
    background: #fff; z-index: 55;
    overflow-y: auto; padding: var(--np-space-5) var(--np-space-4) var(--np-space-8);
    border-top: 1px solid var(--np-line);
}
.np-mobile-nav[hidden] { display: none; }
.np-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.np-mobile-nav a {
    display: block; padding: var(--np-space-3) 0;
    border-bottom: 1px solid var(--np-line-soft);
    color: var(--np-ink); text-decoration: none; font-weight: 600;
}
.np-mobile-nav__sub a { padding-left: var(--np-space-4); font-weight: 400; font-size: var(--np-text-sm); }
.np-mobile-nav__actions { display: grid; gap: var(--np-space-3); margin-top: var(--np-space-5); }

/* ------------------------------------------------------------------- hero */
.np-hero {
    position: relative;
    background: var(--np-navy-deep);
    color: #d6e4f5;
    overflow: hidden;
}
.np-hero__media {
    position: absolute; inset: 0;
    z-index: 0;
}
.np-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .95; animation: np-hero-zoom 20s ease-out forwards; }
@keyframes np-hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.np-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, var(--np-navy-deep) 26%, rgba(7,26,51,.5) 50%, rgba(7,26,51,0) 100%);
}
.np-hero__inner { position: relative; z-index: 2; padding-block: var(--np-space-7); }
@media (min-width: 768px) { .np-hero__inner { padding-block: var(--np-space-9); } }

@keyframes np-hero-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Fade-up only once JS has run (html.np-js, set in site.js): if JS never
   runs the rule below never applies, so the hero stays fully visible. */
html.np-js .np-hero__eyebrow,
html.np-js .np-hero__inner h1, html.np-js .np-hero__inner h2, html.np-js .np-hero__inner h3,
html.np-js .np-hero__lead, html.np-js .np-hero__actions {
    opacity: 0;
    animation: np-hero-fade-up .7s ease-out forwards;
}
html.np-js .np-hero__eyebrow { animation-delay: .05s; }
html.np-js .np-hero__inner h1, html.np-js .np-hero__inner h2, html.np-js .np-hero__inner h3 { animation-delay: .15s; }
html.np-js .np-hero__lead { animation-delay: .28s; }
html.np-js .np-hero__actions { animation-delay: .4s; }

.np-hero__eyebrow { color: #9dc4ea; letter-spacing: .18em; }
.np-hero__inner h1, .np-hero__inner h2, .np-hero__inner h3 { color: #fff; max-width: 14ch; }
.np-hero__inner h1 em, .np-hero__inner h2 em, .np-hero__inner h3 em { font-style: normal; color: var(--np-blue-bright); }
.np-hero__lead { color: #c5d8ec; font-size: var(--np-text-lg); max-width: 46ch; }
.np-hero__actions { display: flex; flex-wrap: wrap; gap: var(--np-space-3); margin-top: var(--np-space-5); }

.np-hero__aside {
    display: none;
    position: absolute; right: var(--np-space-5); top: 50%; transform: translateY(-50%);
    z-index: 2; text-align: right;
    font-size: var(--np-text-xs); letter-spacing: .18em; text-transform: uppercase; color: #9dc4ea;
}
.np-hero__aside ul { list-style: none; margin: 0 0 var(--np-space-4); padding: 0; }
.np-hero__aside li { padding-block: 2px; }
.np-hero__aside hr { width: 40px; margin-left: auto; border-color: rgba(157,196,234,.4); }
@media (min-width: 1100px) { .np-hero__aside { display: block; } }

/* --------------------------------------------------------- feature strip */
.np-strip { border-bottom: 1px solid var(--np-line); background: #fff; }
.np-strip__list {
    display: grid; gap: var(--np-space-4);
    grid-template-columns: 1fr;
    list-style: none; margin: 0; padding-block: var(--np-space-5);
}
@media (min-width: 480px) { .np-strip__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .np-strip__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .np-strip__list { grid-template-columns: repeat(5, max-content); justify-content: space-between; } }
.np-strip__item { display: flex; gap: var(--np-space-3); align-items: flex-start; }
.np-strip__item + .np-strip__item { padding-left: var(--np-space-4); }
.np-strip__icon { flex: 0 0 auto; color: var(--np-blue); }
.np-strip__icon svg { width: 32px; height: 32px; }
.np-strip__title { font-weight: 700; color: var(--np-ink); font-size: var(--np-text-sm); }
.np-strip__text { font-size: var(--np-text-xs); color: var(--np-muted); white-space: nowrap; }

/* ------------------------------------------------------------------ cards */
.np-card {
    display: flex; flex-direction: column;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    transition: transform .15s ease;
}
.np-card[hidden] { display: none; }
.np-card--boxed { background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius); }
.np-card--boxed:hover { box-shadow: var(--np-shadow); border-color: #cfdbe9; }
.np-card__media { aspect-ratio: 16 / 9; background: var(--np-surface-alt); overflow: hidden; border-radius: var(--np-radius-sm); }
.np-card__media img { border-radius: var(--np-radius-sm); }
.np-card__media img { width: 100%; height: 100%; object-fit: cover; }
.np-card__body { padding: var(--np-space-3) 0 0; display: flex; flex-direction: column; gap: var(--np-space-2); flex: 1; }
.np-card--boxed .np-card__body { padding: var(--np-space-4); }
.np-card__title { font-size: var(--np-text-base); font-weight: 700; margin: 0; color: var(--np-ink); }
.np-card__title a { color: inherit; text-decoration: none; }
.np-card__title a:hover { color: var(--np-blue-dark); }
.np-card__text { font-size: var(--np-text-sm); color: var(--np-muted); margin: 0; }
.np-card__meta { font-size: var(--np-text-xs); color: var(--np-muted); }
.np-card__foot { margin-top: auto; padding-top: var(--np-space-2); }

.np-card--flat { border: 0; background: transparent; }
.np-card--flat .np-card__body { padding-inline: 0; }

/* placeholder shown when an image has not been supplied yet */
.np-media-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--np-surface-tint), #dce8f6);
    color: #7d95b0; font-size: var(--np-text-xs); letter-spacing: .1em; text-transform: uppercase;
}

/* image tile with caption overlay (industries) */
.np-tile {
    position: relative; display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--np-radius);
    overflow: hidden;
    text-decoration: none;
    background: var(--np-navy);
}
.np-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.np-tile:hover img { transform: scale(1.04); }
.np-tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,26,51,.88) 0%, rgba(7,26,51,.15) 62%);
}
.np-tile__label {
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 2; padding: var(--np-space-3);
    color: #fff; font-weight: 700; font-size: var(--np-text-sm);
}

/* -------------------------------------------------------- feature (bleed) row */
.np-feature {
    position: relative; overflow: hidden;
    --np-feature-bleed: min(520px, 38vw);
    /*
     * .np-feature__media bleeds to the true viewport edge (right:0 on this
     * full-width section), but .np-container is centered with side margins
     * once the viewport exceeds max-width + its own padding. The content's
     * reserved padding-right below has to subtract that margin, or on any
     * wide screen it reserves the wrong amount and leaves a dead gap
     * between the text/checklist and the image (or, if the margin were
     * larger than the bleed width, would undershoot and run under it).
     */
    --np-feature-side-margin: max(0px, calc((100vw - var(--np-container)) / 2));
}

.np-feature__media {
    position: absolute; top: 0; bottom: 0;
    width: var(--np-feature-bleed);
    background: var(--np-navy);
}
.np-feature__media--right { right: 0; }
.np-feature__media--left { left: 0; }
.np-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.np-feature__caption {
    /*
     * A soft text-shadow alone only stayed legible against the flat GD
     * illustrations this was designed for — a real uploaded photo can put
     * anything (bright highlights, busy color) directly behind it. A solid
     * backdrop chip keeps it legible regardless of what's underneath.
     */
    position: absolute; left: var(--np-space-5); bottom: var(--np-space-5);
    max-width: 220px;
    padding: var(--np-space-2) var(--np-space-3);
    background: rgba(7,26,51,.72); border-radius: var(--np-radius-sm);
    font-family: 'Caveat', cursive; font-size: 1.6rem; line-height: 1.2;
    color: #fff;
}

.np-feature__inner {
    position: relative; z-index: 1;
    display: grid; gap: var(--np-space-6);
    grid-template-columns: 1fr;
}

@media (min-width: 960px) {
    .np-feature__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
    /*
     * The stats column was a fluid 1.7fr, tuned for when padding-left
     * reserved far too much space (see the padding-right/left fix below) —
     * the leftover content area was narrow enough that 1.7fr of it roughly
     * matched the three stat items' own width. Now that padding correctly
     * reserves only the real bleed width, 1.7fr of the wider content area
     * massively overshoots the items' content width, leaving a dead zone
     * inside the stats box itself. Size it to its own content instead.
     */
    .np-feature__inner--stats { grid-template-columns: minmax(0, 480px) max-content; }
    /*
     * The checklist card is a compact fixed-content box, not a fluid
     * column — stretching it across an equal 1fr left it stranded with a
     * dead gap between the card and the bled image (see np-feature__inner
     * default above). Size the column to the card's own content instead.
     */
    .np-feature__inner--checklist { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); column-gap: var(--np-space-8); }
    .np-feature__inner--checklist .np-feature__checklist { align-self: stretch; align-content: center; }
    .np-feature__inner--pad-right { padding-right: calc(max(0px, calc(var(--np-feature-bleed) - var(--np-feature-side-margin))) + var(--np-space-5)); }
    .np-feature__inner--pad-left { padding-left: calc(max(0px, calc(var(--np-feature-bleed) - var(--np-feature-side-margin))) + var(--np-space-5)); }
}
@media (max-width: 959px) {
    .np-feature__media { position: static; width: 100%; height: 280px; margin-bottom: var(--np-space-5); overflow: hidden; }
}

.np-feature__checklist {
    background: #fff; border-radius: var(--np-radius-lg); box-shadow: var(--np-shadow);
    padding: var(--np-space-5); display: grid; gap: var(--np-space-4);
}
.np-feature__checklist-item { display: flex; align-items: center; gap: var(--np-space-3); font-weight: 600; color: var(--np-ink); font-size: var(--np-text-sm); }
.np-feature__checklist-item svg { color: var(--np-blue); flex: 0 0 auto; width: 28px; height: 28px; }

.np-feature__stats { display: flex; gap: var(--np-space-3); flex-wrap: wrap; }
.np-feature__stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--np-space-2); padding-right: var(--np-space-3); flex: 0 1 auto; min-width: 0; }
.np-feature__stat + .np-feature__stat { border-left: 1px solid var(--np-line); padding-left: var(--np-space-3); }
.np-feature__stat svg { color: var(--np-teal); width: 28px; height: 28px; }
.np-feature__stat-label { display: inline-block; font-size: var(--np-text-xs); font-weight: 600; color: var(--np-ink); max-width: 18ch; }

/* ------------------------------------------------------- split image/text */
.np-split { display: grid; gap: var(--np-space-6); align-items: center; }
@media (min-width: 900px) {
    .np-split { grid-template-columns: 1fr 1fr; gap: var(--np-space-8); }
    .np-split--media-left .np-split__media { order: -1; }
}
.np-split__media img { border-radius: var(--np-radius-lg); }
.np-split__list { list-style: none; padding: 0; margin: var(--np-space-4) 0 0; display: grid; gap: var(--np-space-2); }
.np-split__list li {
    display: flex; align-items: center; gap: var(--np-space-3);
    padding: var(--np-space-3);
    background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
    font-weight: 600; font-size: var(--np-text-sm); color: var(--np-ink);
}

/* ------------------------------------------------------------ case cards */
.np-split--case { }
@media (min-width: 900px) { .np-split--case { grid-template-columns: minmax(260px, 340px) 1fr; } }

.np-case-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--np-radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    color: #dbe7f5;
    text-decoration: none;
}
.np-case-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.np-case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.np-case-card__body { padding: var(--np-space-4); display: flex; flex-direction: column; gap: var(--np-space-2); }
.np-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--np-space-4); }
@media (max-width: 639px) { .np-case-grid { grid-template-columns: 1fr; } }

.np-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--np-space-5); }
@media (max-width: 899px) { .np-app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .np-app-grid { grid-template-columns: 1fr; } }
.np-case-card strong { color: #fff; font-size: var(--np-text-sm); }
.np-case-card p { margin: 0; font-size: var(--np-text-xs); color: #b9cde4; }
.np-link-arrow--light { color: #9dc4ea; }
.np-link-arrow--light::after { color: #9dc4ea; }

/* ------------------------------------------------------------------ stats */
.np-stats { display: grid; gap: var(--np-space-5); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.np-stat__value { font-size: var(--np-text-3xl); font-weight: 800; color: var(--np-blue); line-height: 1.1; }
.np-stat__label { font-size: var(--np-text-sm); color: var(--np-muted); }

/* ------------------------------------------------------------ breadcrumbs */
.np-breadcrumbs { padding-block: var(--np-space-3); font-size: var(--np-text-xs); color: var(--np-muted); }
.np-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--np-space-2); list-style: none; margin: 0; padding: 0; }
.np-breadcrumbs li + li::before { content: "/"; margin-right: var(--np-space-2); color: var(--np-line); }
.np-breadcrumbs a { color: var(--np-muted); text-decoration: none; }
.np-breadcrumbs a:hover { color: var(--np-blue-dark); text-decoration: underline; }

/* --------------------------------------------------------------- page head */
.np-pagehead { background: var(--np-surface-alt); border-bottom: 1px solid var(--np-line); }
.np-pagehead__inner { padding-block: var(--np-space-6); }
.np-pagehead p { color: var(--np-body); font-size: var(--np-text-lg); margin-bottom: 0; }

/* ------------------------------------------------------------------ forms */
.np-field { margin-bottom: var(--np-space-4); }
.np-label { display: block; font-weight: 600; font-size: var(--np-text-sm); color: var(--np-ink); margin-bottom: var(--np-space-2); }
.np-required { color: var(--np-danger); }

.np-input, .np-select, .np-textarea {
    width: 100%;
    min-height: 44px;
    padding: var(--np-space-3);
    font: inherit;
    font-size: var(--np-text-sm);
    color: var(--np-ink);
    background: #fff;
    border: 1px solid #c9d4e0;
    border-radius: var(--np-radius);
}
.np-textarea { min-height: 140px; resize: vertical; }
.np-input:focus, .np-select:focus, .np-textarea:focus { border-color: var(--np-blue); }
.np-input[aria-invalid="true"], .np-select[aria-invalid="true"], .np-textarea[aria-invalid="true"] {
    border-color: var(--np-danger);
    background: var(--np-danger-bg);
}
.np-help { font-size: var(--np-text-xs); color: var(--np-muted); margin-top: var(--np-space-1); }
.np-error { font-size: var(--np-text-xs); color: var(--np-danger); margin-top: var(--np-space-1); font-weight: 600; }

.np-checkbox { display: flex; gap: var(--np-space-3); align-items: flex-start; font-size: var(--np-text-sm); }
.np-checkbox input { margin-top: .3rem; width: 18px; height: 18px; flex: 0 0 auto; }

.np-form-grid { display: grid; gap: 0 var(--np-space-4); }
@media (min-width: 700px) { .np-form-grid--2 { grid-template-columns: 1fr 1fr; } }

.np-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------- messages */
.np-alert {
    padding: var(--np-space-4);
    border-radius: var(--np-radius);
    border: 1px solid transparent;
    font-size: var(--np-text-sm);
    margin-bottom: var(--np-space-4);
}
.np-alert--success { background: var(--np-success-bg); border-color: #bde3d0; color: var(--np-success); }
.np-alert--error   { background: var(--np-danger-bg);  border-color: #f3c4c0; color: var(--np-danger); }
.np-alert--info    { background: var(--np-surface-tint); border-color: #c9dcf1; color: var(--np-navy); }
.np-alert--warning { background: var(--np-warning-bg); border-color: #f0d9ab; color: var(--np-warning); }

.np-empty {
    padding: var(--np-space-7) var(--np-space-4);
    text-align: center;
    color: var(--np-muted);
    background: var(--np-surface-alt);
    border: 1px dashed var(--np-line);
    border-radius: var(--np-radius);
}

/* ------------------------------------------------------------------ table */
.np-table-wrap { overflow-x: auto; }
.np-table { width: 100%; border-collapse: collapse; font-size: var(--np-text-sm); }
.np-table th, .np-table td { padding: var(--np-space-3); text-align: left; border-bottom: 1px solid var(--np-line); vertical-align: top; }
.np-table th { color: var(--np-ink); font-weight: 700; background: var(--np-surface-alt); }
.np-table tbody tr:hover { background: var(--np-surface-alt); }

/* ------------------------------------------------------------------- tags */
.np-tag {
    display: inline-block;
    padding: 2px var(--np-space-2);
    border-radius: 999px;
    background: var(--np-surface-tint);
    color: var(--np-navy);
    font-size: var(--np-text-xs);
    font-weight: 600;
}
.np-tag--doc { background: #e8effa; color: var(--np-blue-dark); text-transform: uppercase; letter-spacing: .06em; }

/* ------------------------------------------------------------- pagination */
.np-pagination { display: flex; flex-wrap: wrap; gap: var(--np-space-2); list-style: none; padding: 0; margin: var(--np-space-6) 0 0; }
.np-pagination a, .np-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; min-height: 40px; padding-inline: var(--np-space-2);
    border: 1px solid var(--np-line); border-radius: var(--np-radius-sm);
    font-size: var(--np-text-sm); text-decoration: none; color: var(--np-ink);
}
.np-pagination a:hover { border-color: var(--np-blue); color: var(--np-blue-dark); }
.np-pagination [aria-current="page"] { background: var(--np-blue); border-color: var(--np-blue); color: #fff; font-weight: 700; }

/* --------------------------------------------------------------- filters */
.np-filters {
    display: grid; gap: var(--np-space-3);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
    padding: var(--np-space-4);
    background: var(--np-surface-alt);
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    margin-bottom: var(--np-space-6);
}
.np-filters .np-field { margin-bottom: 0; }

/* ---------------------------------------------------------- product detail */
.np-detail { display: grid; gap: var(--np-space-6); }
@media (min-width: 960px) { .np-detail { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: var(--np-space-8); } }
.np-detail__aside { align-self: start; position: sticky; top: calc(var(--np-header-height) + var(--np-space-4)); }
.np-panel {
    background: #fff; border: 1px solid var(--np-line);
    border-radius: var(--np-radius); padding: var(--np-space-5);
    margin-bottom: var(--np-space-4);
}
.np-panel h2, .np-panel h3 { font-size: var(--np-text-lg); }

.np-gallery { display: grid; gap: var(--np-space-3); grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.np-gallery img { border-radius: var(--np-radius-sm); aspect-ratio: 1; object-fit: cover; }

.np-benefits { list-style: none; padding: 0; display: grid; gap: var(--np-space-2); }
.np-benefits li { display: flex; gap: var(--np-space-3); align-items: flex-start; }
.np-benefits li::before { content: "✓"; color: var(--np-blue); font-weight: 700; flex: 0 0 auto; }

.np-doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--np-space-2); }
.np-doc {
    display: flex; align-items: center; gap: var(--np-space-3);
    padding: var(--np-space-3);
    border: 1px solid var(--np-line); border-radius: var(--np-radius);
    text-decoration: none; color: var(--np-ink); background: #fff;
}
.np-doc:hover { border-color: var(--np-blue); }
.np-doc__meta { font-size: var(--np-text-xs); color: var(--np-muted); }

/* -------------------------------------------------------------------- FAQ */
.np-faq-group__heading { margin-top: var(--np-space-8); font-size: var(--np-text-lg); }
.np-faq-group__heading:first-child { margin-top: 0; }
.np-faq { border: 1px solid var(--np-line); border-radius: var(--np-radius); overflow: hidden; background: #fff; }
.np-faq + .np-faq { margin-top: var(--np-space-3); }
.np-faq summary {
    padding: var(--np-space-4);
    font-weight: 600; color: var(--np-ink);
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; gap: var(--np-space-4);
}
.np-faq summary::-webkit-details-marker { display: none; }
.np-faq summary::after { content: "+"; color: var(--np-blue); font-size: 1.25rem; line-height: 1; }
.np-faq[open] summary::after { content: "–"; }
.np-faq__body { padding: 0 var(--np-space-4) var(--np-space-4); }
.np-faq__body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- footer */
.np-footer { background: var(--np-surface-alt); border-top: 1px solid var(--np-line); padding-top: var(--np-space-7); }
.np-footer__grid {
    display: grid; gap: var(--np-space-6);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.np-footer__brand p { font-size: var(--np-text-sm); color: var(--np-muted); }
.np-footer h2 { font-size: var(--np-text-sm); text-transform: none; margin-bottom: var(--np-space-3); }
.np-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--np-space-2); }
.np-footer a { font-size: var(--np-text-sm); color: var(--np-body); text-decoration: none; }
.np-footer a:hover { color: var(--np-blue-dark); text-decoration: underline; }
.np-footer__social { display: flex; gap: var(--np-space-2); }
.np-footer__social a {
    width: 32px; height: 32px; border-radius: 6px;
    display: inline-grid; place-items: center;
    background: var(--np-navy); border: 0; color: #fff;
}
.np-footer__social a:hover { background: var(--np-blue); }
.np-footer__parent {
    margin-top: var(--np-space-4);
    font-size: var(--np-text-sm); color: var(--np-muted);
}
.np-footer__parent a { color: var(--np-blue); font-weight: 600; }
.np-footer__bar {
    margin-top: var(--np-space-6);
    border-top: 1px solid var(--np-line);
    padding-block: var(--np-space-4);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--np-space-3);
    font-size: var(--np-text-xs); color: var(--np-muted);
}
.np-footer__bar ul { display: flex; flex-wrap: wrap; gap: var(--np-space-4); }

/* ----------------------------------------------------------- search modal */
.np-search-modal {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(7,26,51,.55);
    display: grid; place-items: start center;
    padding: var(--np-space-6) var(--np-space-4);
}
.np-search-modal[hidden] { display: none; }
.np-search-modal__panel {
    width: min(640px, 100%);
    background: #fff; border-radius: var(--np-radius-lg);
    box-shadow: var(--np-shadow-lg); padding: var(--np-space-5);
}

/* ---------------------------------------------------------------- cta row */
.np-cta__row {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--np-space-4) var(--np-space-6);
}
.np-cta__heading { margin: 0; flex: 0 0 auto; }
.np-cta__text { margin: 0; color: #c5d8ec; flex: 1 1 260px; min-width: 0; }
.np-cta__actions { display: flex; gap: var(--np-space-3); flex-wrap: wrap; margin-left: auto; }

/* CTA banner: scroll-triggered reveal (mirrors the hero's fade-up + slow zoom).
   Hidden state only applies once JS has run (html.np-js), so the section
   stays fully visible with no JS at all. */
.np-cta__bg-img { transition: transform 1.4s ease-out; }
html.np-js .np-cta[data-reveal] .np-cta__heading,
html.np-js .np-cta[data-reveal] .np-cta__text,
html.np-js .np-cta[data-reveal] .np-cta__actions {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}
html.np-js .np-cta[data-reveal].is-revealed .np-cta__heading { opacity: 1; transform: translateY(0); transition-delay: .05s; }
html.np-js .np-cta[data-reveal].is-revealed .np-cta__text { opacity: 1; transform: translateY(0); transition-delay: .15s; }
html.np-js .np-cta[data-reveal].is-revealed .np-cta__actions { opacity: 1; transform: translateY(0); transition-delay: .28s; }
html.np-js .np-cta[data-reveal].is-revealed .np-cta__bg-img { transform: scale(1.06); }

/* --------------------------------------------------------------- news row */
.np-news-row { display: flex; flex-wrap: wrap; gap: var(--np-space-6); align-items: flex-start; }
.np-news-row__intro { flex: 0 0 auto; width: 100%; max-width: 280px; }
.np-news-row__intro p { margin-bottom: var(--np-space-3); }
.np-news-row__items { flex: 1 1 0%; display: flex; flex-wrap: wrap; gap: var(--np-space-5); min-width: 0; }

.np-news-item {
    display: flex; gap: var(--np-space-3); align-items: flex-start; flex: 1 1 240px; min-width: 240px;
    text-decoration: none; padding: var(--np-space-3); border: 1px solid var(--np-line);
    border-radius: var(--np-radius); background: #fff; transition: box-shadow .15s ease, border-color .15s ease;
}
.np-news-item:hover { box-shadow: var(--np-shadow); border-color: #cfdbe9; }
.np-news-item__media { flex: 0 0 auto; width: 88px; height: 88px; border-radius: var(--np-radius-sm); overflow: hidden; background: var(--np-surface-alt); }
.np-news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.np-news-item__body strong { display: block; color: var(--np-ink); font-size: var(--np-text-sm); font-weight: 700; line-height: 1.3; }
.np-news-item time { display: block; font-size: var(--np-text-xs); color: var(--np-muted); margin-top: var(--np-space-1); }

/* ------------------------------------------------------------- shop layout */
.np-shop { display: grid; gap: var(--np-space-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .np-shop { grid-template-columns: 260px minmax(0, 1fr); } }

.np-shop__filters { display: flex; flex-direction: column; gap: var(--np-space-4); }

.np-filter-panel {
    border: 1px solid var(--np-line); border-radius: var(--np-radius);
    padding: var(--np-space-4);
}
.np-filter-panel--collapsible { padding: 0; }
.np-filter-panel--collapsible[open] { padding-bottom: var(--np-space-3); }
.np-filter-panel__title {
    font-size: var(--np-text-sm); font-weight: 700; color: var(--np-ink);
    text-transform: uppercase; letter-spacing: .04em;
    margin: 0 0 var(--np-space-3);
}
details.np-filter-panel > summary.np-filter-panel__title {
    margin: 0; padding: var(--np-space-4); cursor: pointer;
    list-style: none; display: flex; align-items: center; justify-content: space-between;
}
details.np-filter-panel > summary.np-filter-panel__title::-webkit-details-marker { display: none; }
details.np-filter-panel > summary.np-filter-panel__title::after { content: "›"; transform: rotate(90deg); transition: transform .15s ease; color: var(--np-muted); }
details.np-filter-panel[open] > summary.np-filter-panel__title::after { transform: rotate(-90deg); }
details.np-filter-panel .np-filter-tree { padding: 0 var(--np-space-4); }

.np-filter-tree { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.np-filter-tree__children { list-style: none; margin: var(--np-space-1) 0 var(--np-space-2); padding-left: var(--np-space-5); }

.np-filter-check {
    display: flex; align-items: center; gap: var(--np-space-2);
    padding-block: var(--np-space-1);
    font-size: var(--np-text-sm); color: var(--np-body); cursor: pointer;
}
.np-filter-check--parent { font-weight: 600; color: var(--np-ink); margin-top: var(--np-space-2); }
.np-filter-check--parent:first-child { margin-top: 0; }
.np-filter-check input { width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--np-blue); }

.np-filter-clear {
    display: flex; align-items: center; justify-content: center; gap: var(--np-space-2);
    border: 1px solid var(--np-line); border-radius: var(--np-radius);
    padding: var(--np-space-3); font-size: var(--np-text-sm); font-weight: 600;
    color: var(--np-danger); text-decoration: none;
}
.np-filter-clear:hover { background: var(--np-danger-bg); }

.np-shop__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--np-space-3); }
.np-shop__count { margin: 0; font-size: var(--np-text-lg); color: var(--np-ink); }
.np-shop__count strong { color: var(--np-blue); }
.np-shop__sort { display: flex; align-items: center; gap: var(--np-space-2); }
.np-shop__sort-label { font-size: var(--np-text-sm); color: var(--np-muted); white-space: nowrap; }
.np-shop__sort .np-select { min-height: 38px; padding: var(--np-space-1) var(--np-space-3); width: auto; }
.np-shop__divider { border-top: 1px solid var(--np-line); margin: var(--np-space-4) 0 var(--np-space-6); }

.np-shop__grid { display: grid; gap: var(--np-space-6) var(--np-space-5); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.np-shop-card { display: flex; flex-direction: column; }
.np-shop-card__media {
    display: block; aspect-ratio: 4 / 3; background: var(--np-surface-alt);
    border-radius: var(--np-radius-sm); overflow: hidden; margin-bottom: var(--np-space-3);
}
.np-shop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.np-shop-card__brand { display: block; font-size: var(--np-text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--np-muted); margin-bottom: var(--np-space-1); }
.np-shop-card__title { margin: 0 0 var(--np-space-1); font-size: var(--np-text-base); line-height: 1.35; }
.np-shop-card__title a { color: var(--np-ink); text-decoration: none; }
.np-shop-card__title a:hover { color: var(--np-blue-dark); }
.np-shop-card__path { margin: 0; font-size: var(--np-text-xs); color: var(--np-muted); letter-spacing: .02em; }

/* -------------------------------------------------------------- utilities */
.np-mt-0 { margin-top: 0; }
.np-mb-0 { margin-bottom: 0; }
.np-text-sm { font-size: var(--np-text-sm); }
.np-text-muted { color: var(--np-muted); }
.np-flow > * + * { margin-top: var(--np-space-4); }
.np-prose h2 { margin-top: var(--np-space-6); }
.np-prose h3 { margin-top: var(--np-space-5); }
.np-prose img { border-radius: var(--np-radius); margin-block: var(--np-space-4); }
.np-prose ul, .np-prose ol { padding-left: 1.35rem; }
.np-prose li + li { margin-top: var(--np-space-1); }

.np-prose-sections { margin-top: var(--np-space-6); }
.np-prose-section + .np-prose-section { margin-top: var(--np-space-6); }
.np-prose-section h3 { margin: 0 0 var(--np-space-2); }
.np-prose-section .np-prose { margin: 0; }

@media print {
    .np-header, .np-footer, .np-chat, .np-banner { display: none !important; }
    body { color: #000; }
}
