/* ==========================================================================
   NEWYES NOIRPIXEL™ CINEMA (v3.0 — Awwwards SOTY Full-Viewport Edition)
   100% Standalone Frameless WebGL + 8K AI Scrollytelling Architecture
   ========================================================================== */

:root {
    --np-void: #000000;
    --np-obsidian: #050508;
    --np-surface: rgba(12, 13, 18, 0.72);
    --np-surface-solid: #0B0C10;
    --np-gold: #D4AF37;
    --np-gold-bright: #F5E1A4;
    --np-gold-deep: #9A7B2C;
    --np-emerald: #10B981;
    --np-emerald-glow: rgba(16, 185, 129, 0.45);
    --np-ivory: #F8F8FA;
    --np-silver: #A0A5B5;
    --np-muted: #626778;
    --np-border: rgba(255, 255, 255, 0.08);
    --np-border-gold: rgba(212, 175, 55, 0.32);
    --np-font-he: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    --np-font-en: 'Outfit', 'Heebo', sans-serif;
    --np-font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body, body.np-cinema-body {
    width: 100%;
    min-height: 100%;
    background-color: var(--np-void) !important;
    color: var(--np-ivory) !important;
    font-family: var(--np-font-he) !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    selection-background-color: var(--np-gold);
}

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--np-gold), var(--np-emerald));
    border-radius: 10px;
}

/* ==========================================================================
   1. FIXED PERIMETER CINEMA HUD (Zero Theme Chrome)
   ========================================================================== */
.np-hud-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 900;
    background: linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
    pointer-events: none;
}

.np-hud-header > * {
    pointer-events: auto;
}

.np-brand-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.np-brand-logo {
    font-family: var(--np-font-en);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #FFFFFF;
    text-shadow: 0 0 24px rgba(255,255,255,0.25);
}

.np-brand-logo span {
    color: var(--np-gold);
}

.np-brand-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.16);
}

.np-brand-tag {
    font-family: var(--np-font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--np-gold-bright);
    text-transform: uppercase;
    direction: ltr;
}

/* Center Chapter Scrubber Pills */
.np-chapter-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(10, 11, 15, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
}

.np-chapter-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--np-silver);
    font-family: var(--np-font-he);
    font-size: 12.5px;
    font-weight: 500;
    padding: 7px 15px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.np-chapter-btn .np-ch-num {
    font-family: var(--np-font-mono);
    font-size: 10px;
    color: var(--np-gold);
    opacity: 0.75;
}

.np-chapter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.np-chapter-btn.is-active {
    color: #050507;
    font-weight: 700;
    background: linear-gradient(135deg, var(--np-gold-bright) 0%, var(--np-gold) 100%);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
}

.np-chapter-btn.is-active .np-ch-num {
    color: #050507;
    opacity: 1;
}

.np-autoplay-btn {
    appearance: none;
    border: 1px solid rgba(16, 185, 129, 0.38);
    background: rgba(16, 185, 129, 0.1);
    color: #6EE7B7;
    font-family: var(--np-font-he);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.np-autoplay-btn:hover,
.np-autoplay-btn.is-playing {
    background: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
    color: #fff;
}

/* Left Actions Cluster */
.np-hud-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-sale-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: var(--np-gold-bright);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.np-sale-pill:hover {
    background: rgba(212, 175, 55, 0.22);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
}

.np-sale-pill strong {
    font-family: var(--np-font-mono);
    color: #fff;
    background: rgba(212, 175, 55, 0.28);
    padding: 2px 7px;
    border-radius: 99px;
    font-size: 11px;
}

.np-cart-trigger {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(15, 16, 22, 0.78);
    color: #fff;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--np-font-he);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.np-cart-trigger:hover {
    border-color: var(--np-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.np-cart-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--np-gold);
    color: #050507;
    font-family: var(--np-font-mono);
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.np-primary-cta {
    appearance: none;
    border: none;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--np-gold-bright) 0%, var(--np-gold) 100%);
    color: #050507;
    font-family: var(--np-font-he);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.38);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-primary-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 34px rgba(212, 175, 55, 0.58);
}

/* ==========================================================================
   2. PINNED 580VH FULL-VIEWPORT (100vw x 100vh) SCROLLYTELLING STAGE
   ========================================================================== */
.np-scrolly-track {
    position: relative;
    width: 100%;
    height: 580vh; /* 5.8x viewport height for luxurious 120fps scrubbing */
    background: var(--np-void);
}

.np-sticky-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #090A0F 0%, #000000 72%);
}

/* Layer 1: Three.js WebGL Particle & Shader Canvas */
#np-webgl-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Layer 2: Giant Kinetic Architectural Typography BEHIND the Smartpen */
.np-kinetic-backdrop {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    direction: ltr;
    user-select: none;
}

.np-kinetic-act {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: transform, opacity;
}

.np-kinetic-act.is-visible {
    opacity: 1;
}

.np-kinetic-line {
    font-family: var(--np-font-en);
    font-size: clamp(72px, 14.5vw, 235px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.04em;
    white-space: nowrap;
    text-transform: uppercase;
    will-change: transform;
}

.np-kinetic-line.is-solid {
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(212,175,55,0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.np-kinetic-line.is-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.24);
}

.np-kinetic-line.is-emerald-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(16, 185, 129, 0.26);
}

/* Layer 3: Centerpiece 8K AI Hardware + 121-Frame 3D Motion Scrubber Canvas */
.np-hardware-centerpiece {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    perspective: 1400px;
}

.np-hardware-stage-wrap {
    position: relative;
    width: min(86vw, 86vh);
    height: min(86vw, 86vh);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Ambient Volumetric Halo Behind Hardware */
.np-hardware-halo {
    position: absolute;
    width: 68%;
    height: 68%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.16) 0%, rgba(16,185,129,0.09) 45%, transparent 72%);
    filter: blur(48px);
    z-index: 1;
    transition: all 0.6s ease;
}

#np-scrolly-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, rgba(0,0,0,0.85) 76%, transparent 96%);
    mask-image: radial-gradient(circle at 50% 50%, #000 62%, rgba(0,0,0,0.85) 76%, transparent 96%);
    filter: contrast(1.06) saturate(1.08);
}

/* Layer 4: Act 02 Precision SVG Engineering Callout Overlay */
.np-exploded-telemetry-layer {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s;
}

.np-exploded-telemetry-layer.is-active {
    opacity: 1;
    visibility: visible;
}

.np-telemetry-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.np-leader-line {
    fill: none;
    stroke: url(#npGoldEmeraldGrad);
    stroke-width: 1.4;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-exploded-telemetry-layer.is-active .np-leader-line {
    stroke-dashoffset: 0;
}

.np-target-dot {
    fill: var(--np-gold-bright);
    filter: drop-shadow(0 0 8px var(--np-gold));
}

.np-target-ring {
    fill: none;
    stroke: var(--np-gold);
    stroke-width: 1.2;
    opacity: 0.65;
    transform-origin: center;
    animation: npPulseRing 2.4s infinite ease-out;
}

@keyframes npPulseRing {
    0% { r: 5px; opacity: 0.9; }
    100% { r: 18px; opacity: 0; }
}

/* Floating Frameless Telemetry Callout Nodes */
.np-callout-node {
    position: absolute;
    width: 280px;
    padding: 14px 18px;
    background: rgba(8, 9, 14, 0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 2px solid var(--np-gold);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-left: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px 0 0 4px;
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 40px rgba(0,0,0,0.75);
}

.np-callout-node.is-left {
    border-right: 1px solid rgba(255,255,255,0.05);
    border-left: 2px solid var(--np-emerald);
    border-radius: 0 4px 4px 0;
}

.np-exploded-telemetry-layer.is-active .np-callout-node {
    transform: translateY(0);
    opacity: 1;
}

.np-callout-node:hover {
    background: rgba(18, 20, 28, 0.92);
    border-color: var(--np-gold-bright);
    transform: scale(1.04) !important;
    box-shadow: 0 20px 48px rgba(212, 175, 55, 0.24);
}

.np-callout-code {
    font-family: var(--np-font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--np-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    direction: ltr;
}

.np-callout-node.is-left .np-callout-code {
    color: var(--np-emerald);
}

.np-callout-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.np-callout-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--np-silver);
}

/* Layer 5: Act 03 Macro Laser Telemetry Meters */
.np-laser-hud-bar {
    position: absolute;
    top: 112px;
    left: 50%;
    transform: translateX(-50%) translateY(-16px);
    z-index: 14;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 32px;
    background: rgba(6, 8, 12, 0.78);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.18);
}

.np-laser-hud-bar.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.np-laser-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.np-laser-metric-val {
    font-family: var(--np-font-mono);
    font-size: 20px;
    font-weight: 800;
    color: #6EE7B7;
    direction: ltr;
    text-shadow: 0 0 16px rgba(16, 185, 129, 0.55);
}

.np-laser-metric-lbl {
    font-size: 11px;
    color: var(--np-silver);
    margin-top: 2px;
}

.np-laser-sep {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.12);
}

/* Layer 6: Act 04 Live Interactive Hebrew OCR Hologram Deck */
.np-ocr-live-deck {
    position: absolute;
    left: 5vw;
    top: 50%;
    transform: translateY(-50%) translateX(-40px);
    width: min(500px, 44vw);
    z-index: 20;
    background: rgba(8, 10, 15, 0.84);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.88), 0 0 60px rgba(212, 175, 55, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-ocr-live-deck.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.np-ocr-deck-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.np-ocr-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--np-font-mono);
    font-size: 11px;
    color: #6EE7B7;
    letter-spacing: 0.1em;
}

.np-ocr-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 12px #10B981;
    animation: npBlink 1.4s infinite alternate;
}

@keyframes npBlink {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.np-ocr-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.np-ocr-preset-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--np-silver);
    font-family: var(--np-font-he);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.np-ocr-preset-btn:hover,
.np-ocr-preset-btn.is-active {
    border-color: var(--np-gold);
    background: rgba(212, 175, 55, 0.18);
    color: var(--np-gold-bright);
}

.np-ocr-pad-wrap {
    position: relative;
    width: 100%;
    height: 175px;
    border-radius: 14px;
    background:
        radial-gradient(rgba(212, 175, 55, 0.22) 1px, transparent 1px),
        linear-gradient(180deg, #050609 0%, #0A0C12 100%);
    background-size: 18px 18px, 100% 100%;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    margin-bottom: 14px;
}

#np-ocr-draw-canvas {
    width: 100%;
    height: 100%;
    cursor: crosshair;
    display: block;
}

.np-ocr-laser-beam {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, #10B981, var(--np-gold-bright), #10B981, transparent);
    box-shadow: 0 0 20px 4px rgba(16, 185, 129, 0.65);
    pointer-events: none;
    opacity: 0;
    right: 0;
}

.np-ocr-laser-beam.is-scanning {
    opacity: 1;
    animation: npLaserSweep 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes npLaserSweep {
    0% { right: 0%; opacity: 1; }
    90% { right: 100%; opacity: 1; }
    100% { right: 100%; opacity: 0; }
}

.np-ocr-pad-hint {
    position: absolute;
    bottom: 8px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}

.np-ocr-clear-btn {
    pointer-events: auto;
    appearance: none;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.65);
    color: var(--np-silver);
    font-family: var(--np-font-he);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 99px;
    cursor: pointer;
}

.np-ocr-clear-btn:hover {
    color: #fff;
    border-color: var(--np-gold);
}

.np-ocr-output-card {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 12px;
    padding: 12px 16px;
}

.np-ocr-output-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--np-font-mono);
    font-size: 10.5px;
    color: #6EE7B7;
    margin-bottom: 6px;
    direction: ltr;
}

.np-ocr-output-text {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.5;
    min-height: 44px;
}

/* ==========================================================================
   3. PERIMETER EDITORIAL STORY CAPTION & TELEMETRY RAIL
   ========================================================================== */
.np-story-caption-dock {
    position: absolute;
    bottom: 40px;
    right: 44px;
    z-index: 25;
    max-width: 520px;
    pointer-events: none;
}

.np-story-card {
    display: none;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
    animation: npStoryIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.np-story-card.is-active {
    display: flex;
}

@keyframes npStoryIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.np-story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--np-font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--np-gold);
    text-transform: uppercase;
    direction: ltr;
    width: fit-content;
}

.np-story-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--np-gold);
}

.np-story-title {
    font-size: clamp(28px, 3.3vw, 46px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 10px 30px rgba(0,0,0,0.9);
}

.np-story-title span {
    background: linear-gradient(135deg, var(--np-gold-bright) 0%, var(--np-gold) 65%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.np-story-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(248, 248, 250, 0.82);
    text-shadow: 0 4px 18px rgba(0,0,0,0.95);
    max-width: 470px;
}

.np-story-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

/* Left Bottom Scroll / Telemetry Indicator */
.np-telemetry-corner {
    position: absolute;
    bottom: 40px;
    left: 44px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 20px;
    direction: ltr;
    font-family: var(--np-font-mono);
}

.np-scroll-progress-ring {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-scroll-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.np-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 2;
}

.np-ring-fill {
    fill: none;
    stroke: var(--np-gold);
    stroke-width: 2.2;
    stroke-dasharray: 150.8;
    stroke-dashoffset: 150.8;
    transition: stroke-dashoffset 0.1s linear;
}

.np-ring-pct {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    color: var(--np-gold-bright);
}

.np-telemetry-readout {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: var(--np-silver);
}

.np-telemetry-readout strong {
    color: #fff;
    font-size: 12px;
}

/* ==========================================================================
   4. ACT 05: THE NOIRPIXEL FLAGSHIP ATELIER & COLLECTION (Below 580vh Stage)
   ========================================================================== */
.np-atelier-world {
    position: relative;
    z-index: 30;
    background: linear-gradient(180deg, #000000 0%, #05060A 18%, #040508 100%);
    padding: 110px 5vw 120px;
    border-top: 1px solid rgba(212, 175, 55, 0.22);
}

/* Architectural Section Header */
.np-section-head {
    max-width: 1440px;
    margin: 0 auto 64px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 32px;
}

.np-section-eyebrow {
    font-family: var(--np-font-mono);
    font-size: 11.5px;
    letter-spacing: 0.24em;
    color: var(--np-gold);
    text-transform: uppercase;
    direction: ltr;
    display: inline-block;
    margin-bottom: 12px;
}

.np-section-title {
    font-size: clamp(34px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}

.np-section-title span {
    background: linear-gradient(135deg, var(--np-gold-bright) 0%, var(--np-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.np-section-sub {
    max-width: 460px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--np-silver);
}

/* 3 Flagship Editions Architectural Stage */
.np-editions-grid {
    max-width: 1440px;
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.np-edition-pedestal {
    position: relative;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(212, 175, 55, 0.11), transparent 40%),
                linear-gradient(180deg, rgba(16, 18, 26, 0.85) 0%, rgba(7, 8, 12, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.np-edition-pedestal:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(212, 175, 55, 0.12);
}

.np-edition-pedestal.is-featured {
    border-color: rgba(212, 175, 55, 0.55);
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(212, 175, 55, 0.18), transparent 45%),
                linear-gradient(180deg, rgba(24, 21, 16, 0.92) 0%, rgba(8, 9, 13, 0.98) 100%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 60px rgba(212, 175, 55, 0.16);
}

.np-edition-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-family: var(--np-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 5px 13px;
    border-radius: 99px;
    background: rgba(255,255,255,0.06);
    color: var(--np-silver);
    margin-bottom: 20px;
}

.np-edition-pedestal.is-featured .np-edition-badge {
    background: linear-gradient(135deg, var(--np-gold-bright), var(--np-gold));
    color: #050507;
}

.np-edition-name {
    font-size: 28px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.np-edition-tagline {
    font-size: 14.5px;
    color: var(--np-silver);
    line-height: 1.55;
    margin-bottom: 24px;
}

.np-edition-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.np-edition-sale-price {
    font-family: var(--np-font-en);
    font-size: 44px;
    font-weight: 900;
    color: var(--np-gold-bright);
    line-height: 1;
}

.np-edition-reg-price {
    font-size: 18px;
    color: var(--np-muted);
    text-decoration: line-through;
}

.np-edition-save-pill {
    font-size: 12px;
    font-weight: 700;
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 99px;
    margin-right: auto;
}

.np-edition-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 32px;
}

.np-edition-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(248, 248, 250, 0.88);
    line-height: 1.45;
}

.np-edition-perks li::before {
    content: '✦';
    color: var(--np-gold);
    font-size: 12px;
    margin-top: 2px;
}

.np-edition-cta {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.12);
    color: var(--np-gold-bright);
    font-family: var(--np-font-he);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.np-edition-pedestal.is-featured .np-edition-cta,
.np-edition-cta:hover {
    background: linear-gradient(135deg, var(--np-gold-bright) 0%, var(--np-gold) 100%);
    color: #050507;
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.38);
}

/* Curated WooCommerce Collection Filter + Showcase */
.np-collection-wrap {
    max-width: 1440px;
    margin: 0 auto;
}

.np-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.np-filter-pill {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--np-silver);
    font-family: var(--np-font-he);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.np-filter-pill:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

.np-filter-pill.is-active {
    background: linear-gradient(135deg, var(--np-gold-bright), var(--np-gold));
    color: #050507;
    border-color: transparent;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.np-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 26px;
}

.np-product-card {
    position: relative;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(212, 175, 55, 0.1), transparent 40%),
                rgba(11, 12, 18, 0.85);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.np-product-stage {
    position: relative;
    height: 240px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 0%, rgba(4,5,8,0.95) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.np-product-stage img {
    max-width: 86%;
    max-height: 86%;
    object-fit: contain;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 16px 28px rgba(0,0,0,0.65));
}

.np-product-card:hover .np-product-stage img {
    transform: scale(1.08) translateY(-4px);
}

.np-product-vip-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--np-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--np-gold-bright);
    background: rgba(5, 6, 10, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 4px 10px;
    border-radius: 99px;
}

.np-product-cat {
    font-family: var(--np-font-mono);
    font-size: 10.5px;
    color: var(--np-gold);
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.np-product-title {
    font-size: 17.5px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.38;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
}

.np-product-title:hover {
    color: var(--np-gold-bright);
}

.np-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.np-product-prices {
    display: flex;
    flex-direction: column;
}

.np-price-vip {
    font-family: var(--np-font-en);
    font-size: 22px;
    font-weight: 900;
    color: var(--np-gold-bright);
    line-height: 1.1;
}

.np-price-reg {
    font-size: 12.5px;
    color: var(--np-muted);
}

.np-price-reg s {
    margin-left: 4px;
}

.np-add-btn {
    appearance: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.12);
    color: var(--np-gold-bright);
    font-family: var(--np-font-he);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.np-add-btn:hover {
    background: var(--np-gold);
    color: #050507;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

/* ==========================================================================
   5. SLIDE-OVER LUXURY OBSIDIAN CART DRAWER
   ========================================================================== */
.np-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.np-cart-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.np-cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(440px, 92vw);
    background: #08090E;
    border-right: 1px solid rgba(212, 175, 55, 0.32);
    z-index: 1250;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 30px 0 90px rgba(0,0,0,0.9);
}

.np-cart-drawer.is-open {
    transform: translateX(0);
}

.np-cart-head {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.np-cart-head h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.np-cart-close {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: var(--np-silver);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.np-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.np-cart-coupon-banner {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.np-cart-coupon-banner span {
    font-size: 13px;
    color: var(--np-gold-bright);
    font-weight: 600;
}

.np-apply-sale15-btn {
    appearance: none;
    border: none;
    background: var(--np-gold);
    color: #050507;
    font-family: var(--np-font-he);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 13px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.np-cart-foot {
    padding: 22px 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #050609;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.np-checkout-btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--np-gold-bright), var(--np-gold));
    color: #050507;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

/* Luxury Minimal Footer */
.np-cinema-footer {
    max-width: 1440px;
    margin: 100px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--np-muted);
    font-size: 13px;
}

.np-cinema-footer a {
    color: var(--np-silver);
    text-decoration: none;
    margin-left: 20px;
}

.np-cinema-footer a:hover {
    color: var(--np-gold-bright);
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .np-chapter-nav {
        display: none;
    }
    .np-editions-grid {
        grid-template-columns: 1fr;
    }
    .np-callout-node {
        width: 210px;
        padding: 10px 12px;
    }
    .np-ocr-live-deck {
        left: 4vw;
        right: 4vw;
        width: auto;
        top: auto;
        bottom: 24px;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .np-hud-header {
        padding: 0 16px;
    }
    .np-sale-pill, .np-brand-tag, .np-brand-divider {
        display: none;
    }
    .np-story-caption-dock {
        right: 20px;
        left: 20px;
        bottom: 24px;
    }
    .np-telemetry-corner {
        display: none;
    }
    .np-callout-node {
        display: none;
    }
}
