/* ==========================================================================
   NEXAPATH CONSULTING SERVICES — Core Design System
   Palette derived from the Nexapath infinity mark:
   deep navy ink · slate · cool silver · bronze gold
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Ink / navy scale */
    --ink-980: #04070d;
    --ink-950: #060b14;
    --ink-900: #0a111d;
    --ink-850: #0e1726;
    --ink-800: #131e30;
    --ink-750: #18263b;
    --ink-700: #1e2f47;

    /* Slate (logo mid-tone) */
    --slate-600: #2b3f58;
    --slate-500: #3a4f6b;
    --slate-400: #4d647f;

    /* Silver (logo highlight) */
    --silver-500: #7d8b9b;
    --silver-400: #98a4b3;
    --silver-300: #b4bec9;
    --silver-200: #cfd6de;
    --silver-100: #e6eaef;

    /* Gold (logo accent) */
    --gold-600: #a87f36;
    --gold-500: #c79a4e;
    --gold-400: #d9b472;
    --gold-300: #e8cf9c;
    --gold-100: #f6ecd8;

    /* Paper */
    --paper: #f5f7f9;
    --paper-alt: #eceff3;
    --white: #ffffff;

    /* Semantic */
    --bg: var(--ink-950);
    --bg-raise: var(--ink-900);
    --bg-card: rgba(255, 255, 255, 0.028);
    --fg: var(--silver-100);
    --fg-muted: var(--silver-400);
    --fg-dim: var(--silver-500);
    --accent: var(--gold-500);
    --accent-soft: rgba(199, 154, 78, 0.14);
    --hairline: rgba(255, 255, 255, 0.09);
    --hairline-strong: rgba(255, 255, 255, 0.16);

    /* Gradients */
    --grad-gold: linear-gradient(104deg, var(--gold-300) 0%, var(--gold-500) 42%, var(--silver-400) 100%);
    --grad-gold-flat: linear-gradient(104deg, var(--gold-400), var(--gold-600));

    /* Type */
    --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --step--2: clamp(0.69rem, 0.67rem + 0.10vw, 0.75rem);
    --step--1: clamp(0.80rem, 0.77rem + 0.15vw, 0.89rem);
    --step-0: clamp(0.98rem, 0.94rem + 0.22vw, 1.10rem);
    --step-1: clamp(1.18rem, 1.11rem + 0.35vw, 1.42rem);
    --step-2: clamp(1.42rem, 1.30rem + 0.58vw, 1.85rem);
    --step-3: clamp(1.70rem, 1.50rem + 0.98vw, 2.40rem);
    --step-4: clamp(2.05rem, 1.72rem + 1.62vw, 3.11rem);
    --step-5: clamp(2.46rem, 1.94rem + 2.58vw, 4.05rem);
    --step-6: clamp(2.95rem, 2.15rem + 4.00vw, 5.26rem);

    /* Layout */
    --shell: 1280px;
    --shell-narrow: 940px;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --section-y: clamp(5rem, 10vw, 9.5rem);
    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 0.28s;
    --dur: 0.55s;
    --dur-slow: 1.05s;

    /* Elevation */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
    --shadow: 0 18px 46px -18px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 42px 90px -32px rgba(0, 0, 0, 0.85);
    --shadow-gold: 0 20px 60px -22px rgba(199, 154, 78, 0.5);

    --header-h: 88px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: var(--step-0);
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body.np-locked { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
    background: var(--gold-500);
    color: var(--ink-950);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-980); }
::-webkit-scrollbar-thumb {
    background: var(--slate-600);
    border-radius: 99px;
    border: 2px solid var(--ink-980);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }

:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Divi neutralisation — this child theme renders its own chrome */
#page-container { padding-top: 0 !important; margin-top: 0 !important; }
#main-header,
#top-header,
#main-footer { display: none !important; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.np-shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.np-shell--narrow { max-width: var(--shell-narrow); }

.np-section { position: relative; padding-block: var(--section-y); }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
   -------------------------------------------------------------------------- */
.np-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    font-size: var(--step--2);
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.np-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500));
    flex: none;
}

.np-display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.018em;
    color: var(--white);
}

.np-h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: var(--step-5);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--white);
}

.np-h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--step-2);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
}

.np-lede {
    font-size: var(--step-1);
    line-height: 1.62;
    color: var(--silver-300);
    font-weight: 300;
}

.np-body { color: var(--fg-muted); }

.np-accent-text {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.np-italic { font-style: italic; }

.np-head {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 62ch;
}

.np-head--center {
    align-items: center;
    text-align: center;
    margin-inline: auto;
}

.np-head--center .np-eyebrow::before { display: none; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.np-btn {
    --btn-fg: var(--ink-950);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65em;
    padding: 1.02em 1.9em;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    color: var(--btn-fg);
    background: var(--grad-gold-flat);
    box-shadow: var(--shadow-gold);
    transition: transform var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out);
    will-change: transform;
}

.np-btn svg {
    flex: none;
    transition: transform var(--dur-fast) var(--ease-out);
}

.np-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.85s var(--ease-out);
}

.np-btn:hover { box-shadow: 0 26px 70px -20px rgba(199, 154, 78, 0.72); }
.np-btn:hover::after { transform: translateX(120%); }
.np-btn:hover svg { transform: translateX(4px); }
.np-btn:active { transform: scale(0.975); }

.np-btn--ghost {
    --btn-fg: var(--silver-100);
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--hairline-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.np-btn--ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grad-gold-flat);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out);
}

.np-btn--ghost::after { display: none; }

.np-btn--ghost:hover {
    color: var(--ink-950);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.np-btn--ghost:hover::before { transform: translateY(0); }

.np-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding-block: 0.5em;
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.np-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: currentColor;
    transform-origin: right;
    transform: scaleX(0.28);
    transition: transform 0.5s var(--ease-out);
}

.np-link:hover::before { transform-origin: left; transform: scaleX(1); }
.np-link svg { transition: transform var(--dur-fast) var(--ease-out); }
.np-link:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. DECORATIVE LAYERS
   -------------------------------------------------------------------------- */
.np-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.np-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.5;
}

.np-glow--gold { background: radial-gradient(circle, rgba(199, 154, 78, 0.38), transparent 68%); }
.np-glow--slate { background: radial-gradient(circle, rgba(77, 100, 127, 0.42), transparent 68%); }

.np-rule {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--hairline-strong) 22%, var(--hairline-strong) 78%, transparent);
}

/* --------------------------------------------------------------------------
   7. SCROLL REVEAL ENGINE

   Every rule that hides something until script runs is scoped to .np-js,
   which header.php sets from an inline <script> in <head>. If that script
   never runs — JS disabled, a bundling error, a blocked file — the page
   renders fully visible instead of a column of invisible sections.
   -------------------------------------------------------------------------- */
.np-js [data-reveal] {
    opacity: 0;
    will-change: transform, opacity;
    transition:
        opacity 0.95s var(--ease-out),
        transform 1.05s var(--ease-out),
        clip-path 1.15s var(--ease-out),
        filter 0.95s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.np-js [data-reveal="up"]     { transform: translate3d(0, 42px, 0); }
.np-js [data-reveal="down"]   { transform: translate3d(0, -34px, 0); }
.np-js [data-reveal="left"]   { transform: translate3d(-52px, 0, 0); }
.np-js [data-reveal="right"]  { transform: translate3d(52px, 0, 0); }
.np-js [data-reveal="fade"]   { transform: none; }
.np-js [data-reveal="scale"]  { transform: scale(0.9); }
.np-js [data-reveal="blur"]   { filter: blur(14px); transform: translate3d(0, 22px, 0); }

.np-js [data-reveal="mask"] {
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 26px, 0);
}

.np-js [data-reveal="wipe"] {
    clip-path: inset(0 100% 0 0);
    transform: none;
}

.np-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: inset(0 0 0 0);
}

/* Line-by-line masked headline */
.np-lines { display: block; }

.np-line {
    display: block;
    overflow: hidden;
    padding-block: 0.06em;
    margin-block: -0.03em;
}

.np-js .np-line > span {
    display: block;
    transform: translate3d(0, 112%, 0) rotate(2.4deg);
    transform-origin: left top;
    transition: transform 1.15s var(--ease-out);
    transition-delay: var(--line-delay, 0ms);
}

.np-js .is-in .np-line > span { transform: translate3d(0, 0, 0) rotate(0); }

/* Word-by-word paragraph brighten */
.np-js .np-words .np-word {
    display: inline-block;
    opacity: 0.14;
    filter: blur(1.2px);
    transition: opacity 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}

.np-js .np-words .np-word.is-lit { opacity: 1; filter: none; }

/* No script: the preloader would sit over the page forever. */
html:not(.np-js) .np-loader { display: none !important; }

/* --------------------------------------------------------------------------
   8. SCROLL PROGRESS
   -------------------------------------------------------------------------- */
.np-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 1400;
    pointer-events: none;
}

.np-progress__bar {
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--grad-gold);
    box-shadow: 0 0 16px rgba(199, 154, 78, 0.85);
}

/* --------------------------------------------------------------------------
   9. CUSTOM CURSOR
   -------------------------------------------------------------------------- */
.np-cursor,
.np-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.35s var(--ease-out), height 0.35s var(--ease-out),
                margin 0.35s var(--ease-out), background-color 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.np-cursor {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 1px solid rgba(199, 154, 78, 0.85);
}

.np-cursor-dot {
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    background: var(--gold-400);
}

body.np-cursor-ready .np-cursor,
body.np-cursor-ready .np-cursor-dot { opacity: 1; }

body.np-cursor-hot .np-cursor {
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    background: rgba(199, 154, 78, 0.14);
    border-color: rgba(199, 154, 78, 0.5);
}

body.np-cursor-hot .np-cursor-dot { opacity: 0; }

@media (hover: none), (pointer: coarse) {
    .np-cursor, .np-cursor-dot { display: none !important; }
}

/* --------------------------------------------------------------------------
   10. PRELOADER
   -------------------------------------------------------------------------- */
.np-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    transition: visibility 0s linear 1.3s;
}

.np-loader__panels {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.np-loader__panel {
    background: var(--ink-980);
    transform-origin: top;
    transition: transform 1s var(--ease-in-out);
    transition-delay: calc(var(--i) * 70ms);
}

.np-loader__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.np-loader__mark { width: clamp(96px, 20vw, 168px); overflow: visible; }

.np-loader__mark path {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: np-draw 2.4s var(--ease-in-out) forwards;
}

.np-loader__mark path:nth-child(1) { stroke: var(--gold-500); }
.np-loader__mark path:nth-child(2) { stroke: var(--silver-400); animation-delay: 0.2s; opacity: 0.6; }

@keyframes np-draw { to { stroke-dashoffset: 0; } }

.np-loader__word {
    font-size: var(--step--2);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--silver-500);
    padding-left: 0.42em;
}

.np-loader__meter {
    width: min(220px, 46vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.np-loader__meter i {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--grad-gold);
    transition: width 0.25s linear;
}

body.np-loaded .np-loader { visibility: hidden; }
body.np-loaded .np-loader__inner { opacity: 0; transform: translateY(-14px); }
body.np-loaded .np-loader__panel { transform: scaleY(0); }

/* --------------------------------------------------------------------------
   11. HEADER
   -------------------------------------------------------------------------- */
.np-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1200;
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: height 0.5s var(--ease-out), background-color 0.5s var(--ease-out),
                border-color 0.5s var(--ease-out), transform 0.55s var(--ease-out);
}

.np-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 7, 13, 0.75), transparent);
    transition: opacity 0.5s var(--ease-out);
    pointer-events: none;
}

.np-header.is-stuck {
    height: 70px;
    background: rgba(6, 11, 20, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--hairline);
}

.np-header.is-stuck::before { opacity: 0; }
.np-header.is-hidden { transform: translateY(-102%); }

.np-nav {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.np-brand {
    display: flex;
    align-items: center;
    flex: none;
    margin-right: auto;
}

.np-brand img {
    height: clamp(34px, 3.4vw, 44px);
    width: auto;
    transition: height 0.5s var(--ease-out), filter 0.4s ease;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
}

.np-header.is-stuck .np-brand img { height: 32px; }
.np-brand:hover img { filter: drop-shadow(0 4px 22px rgba(199, 154, 78, 0.5)); }

.np-menu {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.4rem);
}

.np-menu__link {
    position: relative;
    display: inline-block;
    padding-block: 0.4em;
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--silver-200);
    transition: color var(--dur-fast) var(--ease-out);
    overflow: hidden;
}

.np-menu__link span {
    position: relative;
    display: block;
    transition: transform 0.45s var(--ease-out);
}

.np-menu__link span::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    color: var(--gold-400);
}

.np-menu__link:hover span { transform: translateY(-100%); }

.np-menu__link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
}

.np-menu__link:hover::before,
.np-menu__link.is-active::before { transform: scaleX(1); transform-origin: left; }
.np-menu__link.is-active { color: var(--gold-400); }

.np-nav__cta { flex: none; }

.np-nav__cta .np-btn {
    padding: 0.82em 1.5em;
    font-size: var(--step--2);
}

/* Burger */
.np-burger {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    flex: none;
    border: 1px solid var(--hairline-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
}

.np-burger i {
    position: absolute;
    left: 50%;
    width: 17px;
    height: 1.5px;
    margin-left: -8.5px;
    background: var(--silver-100);
    border-radius: 2px;
    transition: transform 0.45s var(--ease-spring), opacity 0.25s ease, width 0.35s var(--ease-out);
}

.np-burger i:nth-child(1) { top: 18px; }
.np-burger i:nth-child(2) { top: 22.5px; width: 11px; }
.np-burger i:nth-child(3) { top: 27px; }

.np-burger:hover i:nth-child(2) { width: 17px; }
.np-burger.is-open i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.np-burger.is-open i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.np-burger.is-open i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile drawer */
.np-drawer {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: linear-gradient(160deg, var(--ink-950), var(--ink-850));
    clip-path: circle(0% at calc(100% - 46px) 44px);
    transition: clip-path 0.85s var(--ease-in-out), visibility 0s linear 0.85s;
    visibility: hidden;
}

.np-drawer.is-open {
    clip-path: circle(150% at calc(100% - 46px) 44px);
    visibility: visible;
    transition: clip-path 0.85s var(--ease-in-out), visibility 0s linear 0s;
}

.np-drawer__list { display: flex; flex-direction: column; gap: 0.4rem; }

.np-drawer__list a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-block: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 12vw, 3.4rem);
    line-height: 1.06;
    color: var(--silver-100);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s ease;
}

.np-drawer__list a em {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: var(--step--2);
    letter-spacing: 0.2em;
    color: var(--gold-500);
}

.np-drawer.is-open .np-drawer__list a { opacity: 1; transform: none; }
.np-drawer.is-open .np-drawer__list li:nth-child(1) a { transition-delay: 0.22s; }
.np-drawer.is-open .np-drawer__list li:nth-child(2) a { transition-delay: 0.3s; }
.np-drawer.is-open .np-drawer__list li:nth-child(3) a { transition-delay: 0.38s; }
.np-drawer__list a:hover { color: var(--gold-400); }

.np-drawer__foot {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--hairline);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out) 0.46s, transform 0.6s var(--ease-out) 0.46s;
}

.np-drawer.is-open .np-drawer__foot { opacity: 1; transform: none; }

.np-drawer__foot a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--silver-300);
    font-size: var(--step--1);
}

.np-drawer__foot a svg { color: var(--gold-500); flex: none; }
.np-drawer__foot a:hover { color: var(--gold-300); }

@media (max-width: 980px) {
    .np-menu, .np-nav__cta { display: none; }
    .np-burger { display: block; }
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.np-footer {
    position: relative;
    overflow: hidden;
    background: var(--ink-980);
    border-top: 1px solid var(--hairline);
}

.np-footer__glow {
    position: absolute;
    top: -200px;
    left: 50%;
    width: min(900px, 120vw);
    height: 440px;
    transform: translateX(-50%);
}

.np-footer__top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: clamp(3.6rem, 7vw, 6rem) clamp(2.4rem, 4vw, 3.6rem);
}

.np-footer__brand img {
    height: 78px;
    width: auto;
    margin-bottom: 1.4rem;
}

.np-footer__tagline {
    color: var(--fg-muted);
    font-size: var(--step--1);
    max-width: 34ch;
    line-height: 1.7;
}

.np-footer h4 {
    margin-bottom: 1.3rem;
    font-size: var(--step--2);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.np-footer__list { display: flex; flex-direction: column; gap: 0.72rem; }

.np-footer__list a {
    position: relative;
    display: inline-block;
    width: fit-content;
    font-size: var(--step--1);
    color: var(--silver-400);
    transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.np-footer__list a::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-fast) var(--ease-out);
}

.np-footer__list a:hover { color: var(--gold-300); transform: translateX(14px); }
.np-footer__list a:hover::before { transform: scaleX(1); }

.np-footer__contact { display: flex; flex-direction: column; gap: 1rem; }

.np-footer__contact a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: var(--step--1);
    color: var(--silver-300);
    transition: color var(--dur-fast) ease;
}

.np-footer__contact .ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    color: var(--gold-400);
    transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease,
                transform var(--dur-fast) var(--ease-spring);
}

.np-footer__contact a:hover { color: var(--white); }
.np-footer__contact a:hover .ico {
    border-color: var(--gold-500);
    background: var(--accent-soft);
    transform: translateY(-3px) rotate(-8deg);
}

.np-footer__wordmark {
    position: relative;
    z-index: 2;
    padding-block: clamp(1rem, 3vw, 2.4rem);
    overflow: hidden;
    border-top: 1px solid var(--hairline);
}

.np-footer__wordmark span {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 15.5vw, 15rem);
    line-height: 0.86;
    letter-spacing: -0.03em;
    text-align: center;
    background: linear-gradient(180deg, rgba(199, 154, 78, 0.46), rgba(152, 164, 179, 0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.np-footer__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.6rem;
    border-top: 1px solid var(--hairline);
    font-size: var(--step--2);
    color: var(--fg-dim);
    letter-spacing: 0.06em;
}

.np-footer__bottom strong { color: var(--gold-400); font-weight: 500; }

.np-footer__credit a {
    position: relative;
    color: var(--silver-300);
    transition: color var(--dur-fast) ease;
}

.np-footer__credit a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.np-footer__credit a:hover { color: var(--gold-300); }
.np-footer__credit a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 720px) {
    .np-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 900px) {
    .np-footer__top { grid-template-columns: 1fr 1fr; }
    .np-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .np-footer__top { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.np-float {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.np-float__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--hairline-strong);
    border-radius: 50%;
    background: rgba(10, 17, 29, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--silver-200);
    cursor: pointer;
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-spring),
                color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.np-float__btn--top {
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    pointer-events: none;
}

.np-float__btn--top.is-on { opacity: 1; transform: none; pointer-events: auto; }

.np-float__btn:hover {
    color: var(--ink-950);
    background: var(--gold-500);
    border-color: var(--gold-500);
}

.np-float__btn--wa { color: var(--gold-400); }

.np-float__btn--wa::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid var(--gold-500);
    animation: np-ping 2.8s var(--ease-out) infinite;
}

@keyframes np-ping {
    0%   { transform: scale(1);    opacity: 0.7; }
    70%  { transform: scale(1.5);  opacity: 0; }
    100% { transform: scale(1.5);  opacity: 0; }
}

/* --------------------------------------------------------------------------
   14. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
    .np-line > span { transform: none !important; }
    .np-words .np-word { opacity: 1 !important; filter: none !important; }
    .np-loader { display: none !important; }
    .np-cursor, .np-cursor-dot { display: none !important; }
}

/* --------------------------------------------------------------------------
   15. INTERIOR PAGES
   -------------------------------------------------------------------------- */
.np-page {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-h) + var(--section-y));
    background: linear-gradient(180deg, var(--ink-900), var(--ink-950) 40%);
}

.np-page__glow { top: -180px; right: -180px; width: 560px; height: 560px; }

.np-page__head { position: relative; z-index: 2; margin-bottom: 2.6rem; }

.np-page__body {
    position: relative;
    z-index: 2;
    color: var(--fg-muted);
    line-height: 1.8;
}

.np-page__body > * + * { margin-top: 1.15em; }

.np-page__body h2,
.np-page__body h3 {
    margin-top: 2.2em;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    color: var(--white);
}

.np-page__body h2 { font-size: var(--step-3); }
.np-page__body h3 { font-size: var(--step-2); }

.np-page__body a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.np-page__body a:hover { color: var(--gold-300); }

.np-page__body ul { display: flex; flex-direction: column; gap: 0.6rem; }

.np-page__body ul li {
    position: relative;
    padding-left: 1.5rem;
}

.np-page__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    transform: rotate(45deg);
}

.np-page__body img { border-radius: var(--radius); margin-block: 1.6em; }

.np-page__body blockquote {
    padding-left: 1.4rem;
    border-left: 2px solid var(--gold-500);
    font-family: var(--font-display);
    font-size: var(--step-2);
    line-height: 1.3;
    color: var(--silver-100);
}

.np-page__cta { position: relative; z-index: 2; margin-top: 3rem; }

/* Screen-reader utility (Divi provides one, this guarantees it) */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 3000;
    width: auto;
    height: auto;
    clip: auto;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-pill);
    background: var(--gold-500);
    color: var(--ink-950);
    font-size: var(--step--1);
    font-weight: 600;
}
