     /* 1. FONT SETUP & CONFIG */
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        'mono': ['"IBM Plex Mono"', 'monospace'],
                        'devanagari': ['Hind', 'sans-serif'],
                        'serif': ['"Playfair Display"', 'serif'],
                        'urdu': ['"Noto Nastaliq Urdu"', 'serif'],
                        'sans': ['"Archivo Black"', 'sans-serif'],
                        'pixel': ['VT323', 'monospace'],
                        'barcode': ['"Libre Barcode 39 Text"', 'cursive'],
                        'display': ['Teko', 'sans-serif'],
                    },
                    colors: {
                        'paper': '#FEF3C7',
                        'stamp-bg': '#fdfbf5',
                        'ink': '#111827',
                        'ink-light': '#57534e',
                        'stamp-border': '#d1c7b8',
                        'truck-red': '#d63a3a',
                        'teal': '#0aa',
                        'sun': '#ffd23c',
                    }
                }
            }
        }

        /* 2. BASE & AMBIANCE */
        body {
            background-color: #FEF3C7; /* paper */
            background-image: 
                linear-gradient(rgba(220, 38, 38, 0.07) 1px, transparent 1px),
                linear-gradient(to right, rgba(220, 38, 38, 0.07) 1px, transparent 1px);
            background-size: 20px 20px;
            overflow-x: hidden;
            cursor: none;
        }

        a, button, .project-card {
            cursor: none;
        }
        
        /* 3. STAMP MASTHEAD */
        .stamp-layout {
            max-width: 800px;
            margin: auto;
            padding: 2.5rem;
            background-color: var(--tw-color-stamp-bg);
            border: 1px solid var(--tw-color-stamp-border);
            box-shadow: 0 4px 15px rgba(0,0,0,0.07);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .stamp-info-line {
            font-family: "IBM Plex Mono", monospace;
            font-size: 0.75rem; /* 12px */
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--tw-color-ink-light);
            display: flex;
            align-items: center;
            gap: 0.75rem; /* 12px */
        }
        
        .decorative-line {
            width: 75%;
            height: 1px;
            background-color: var(--tw-color-stamp-border);
            margin: 1.5rem 0;
        }
        
        .title-block {
            position: relative;
            width: 100%;
            padding-bottom: 2.5rem; /* Add space for subtitles */
        }
        
        .subtitle {
            position: absolute;
            line-height: 1;
            transform: translateX(-50%);
        }

        /* 4. DESCRIPTION TICKER */
        .ticker-container {
            width: 90%;
            max-width: 450px;
            overflow: hidden;
            white-space: nowrap;
            color: var(--tw-color-ink-light);
            font-family: "IBM Plex Mono", monospace;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }
        .ticker-track { 
            display: inline-block; 
            animation: ticker-scroll 20s linear infinite; 
        }
        .ticker-separator {
            margin: 0 0.75rem;
        }
        @keyframes ticker-scroll { 
            0% { transform: translateX(0); } 
            100% { transform: translateX(-50%); } 
        }
        
        /* 5. VERTICAL NAVIGATION */
        .vertical-nav {
            position: fixed;
            left: 0;
            top: 0;
            height: 100%;
            width: 180px;
            background: #0b0e10;
            color: #e9e9e9;
            border-right: 3px solid var(--tw-color-ink);
            padding: 2rem 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            z-index: 50;
            font-family: "IBM Plex Mono", monospace;
        }
        .nav-qr {
            width: 48px;
            height: 48px;
            border: 2px solid #e9e9e9;
            background: conic-gradient(from 90deg at 25% 25%,#e9e9e9 0 25%,transparent 0 50%,#e9e9e9 0 75%,transparent 0),conic-gradient(from 90deg at 75% 75%,#e9e9e9 0 25%,transparent 0 50%,#e9e9e9 0 75%,transparent 0);
            background-size: 10px 10px,10px 10px;
            background-position: 0 0,5px 5px;
            margin-bottom: 1rem;
            flex-shrink: 0;
        }
        .vertical-nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            flex-grow: 1;
        }
        .vertical-nav-list a {
            display: block;
            padding: 0.75rem 0.5rem;
            text-decoration: none;
            color: #e9e9e9;
            text-transform: uppercase;
            font-size: 0.8rem;
            font-weight: 700;
            text-align: center;
            transition: all 0.2s ease;
        }
        .nav-pill {
            background: #fff;
            color: #000;
            border: 2px solid #000;
        }
        .nav-pill.active {
            background: var(--tw-color-paper);
            box-shadow: inset 2px 2px 0px #000;
        }
        .nav-code {
            border: 2px dashed #e9e9e9;
        }
        .nav-code:hover {
            background: rgba(233, 233, 233, 0.1);
            border-style: solid;
        }
        .nav-barcode{
            height: 40px;
            width: 100%;
            border: 2px solid #e9e9e9;
            background: repeating-linear-gradient(90deg,#e9e9e9 0 2px,transparent 2px 5px);
            margin-top: auto;
            flex-shrink: 0;
        }
        .bulb{
            position:absolute;
            left: 0;
            right: 0;
            margin: auto;
            width:6px;
            height:6px;
            border-radius:50%;
            background:#ffef9c;
            filter:blur(.4px);
            box-shadow:0 0 6px #ffd23c,0 0 12px #ffd23c;
            animation:flick 1.8s infinite steps(2,end);
        }
        @keyframes flick{0%,18%,22%,100%{opacity:1}19%,21%{opacity:.2}70%{opacity:.7}}


        /* 6. MAIN CONTENT WRAPPER */
        .main-content-wrapper {
            margin-left: 180px;
        }

        /* 7. FEATURED ARTICLE */
        .feature-case {
            padding: 2rem 0;
        }
        .feature-wrapper {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: 5fr 4fr;
            align-items: stretch;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        @media(max-width: 980px){ .feature-wrapper { grid-template-columns: 1fr; } }

        .feature-art {
            margin: 0;
            border: 4px solid var(--tw-color-ink);
            box-shadow: 12px 12px 0 var(--tw-color-truck-red);
            background: #fff;
            position: relative;
        }
        .feature-art img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .feature-copy {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
        }
        .feature-band {
            display: inline-block;
            background: #fff;
            border: 3px solid var(--tw-color-ink);
            padding: 0.5rem 0.75rem;
            font: 800 0.75rem/1 "IBM Plex Mono", monospace;
            box-shadow: 6px 6px 0 var(--tw-color-teal);
            align-self: flex-start;
        }
        .feature-title {
            font-family: 'Teko', sans-serif;
            font-size: clamp(2.5rem, 6vw, 4rem);
            margin: 0;
            text-transform: uppercase;
            line-height: 1;
        }
        .feature-dek {
            font-weight: 600;
            font-size: 1rem;
            margin: 0;
            color: var(--tw-color-ink-light);
        }
        .feature-meta {
            list-style: none;
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            padding: 0;
            margin: 0;
        }
        .chip {
            border: 2px dashed var(--tw-color-ink);
            background: var(--tw-color-paper);
            padding: 0.25rem 0.5rem;
            font: 800 0.7rem/1 "IBM Plex Mono", monospace;
        }
        .feature-cta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        .cta-btn {
            padding: 0.75rem 1rem;
            border: 4px solid var(--tw-color-ink);
            background: #fff;
            box-shadow: 4px 4px 0 var(--tw-color-ink);
            font-weight: 900;
            text-transform: uppercase;
            text-decoration: none;
            color: var(--tw-color-ink);
            transition: all 0.2s;
        }
        .cta-btn:hover {
            background: var(--tw-color-sun);
        }

        .stylized-image {
            transition: filter 0.4s ease-in-out;
            filter: grayscale(80%) sepia(20%) contrast(1.1) opacity(0.9);
        }
        .feature-art:hover .stylized-image, .project-card:hover .stylized-image {
            filter: grayscale(0%) sepia(0%) contrast(1) opacity(1);
        }

        /* 8. CONTROL DECK & GRID */
        .control-deck {
            border: 1px solid var(--tw-color-stamp-border);
            background-color: var(--tw-color-stamp-bg);
            padding: 1rem;
            margin: 0 auto 2rem;
            max-width: 800px;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }
        #search-input {
            border: 2px solid var(--tw-color-stamp-border);
            outline: none;
            padding: 0.5rem 0.75rem;
            font-family: "IBM Plex Mono", monospace;
            font-size: 0.8rem;
            flex-grow: 1;
            transition: all 0.2s;
        }
        #search-input:focus {
            border-color: var(--tw-color-ink);
            box-shadow: 0 0 0 3px rgba(17,24,39,0.1);
        }
        .filter-btn {
            border: 2px solid var(--tw-color-stamp-border);
            background-color: transparent;
            padding: 0.5rem 0.75rem;
            font-family: "IBM Plex Mono", monospace;
            font-weight: 700;
            font-size: 0.8rem;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s;
        }
        .filter-btn:hover {
            background-color: var(--tw-color-paper);
            border-color: var(--tw-color-ink-light);
        }
        .filter-btn.active {
            background-color: var(--tw-color-ink);
            color: var(--tw-color-stamp-bg);
            border-color: var(--tw-color-ink);
        }

        .pagination-controls {
            border: 1px solid var(--tw-color-stamp-border);
            background-color: var(--tw-color-stamp-bg);
            padding: 1rem;
            margin: 2rem auto 0;
            max-width: 800px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .pagination-btn {
            border: 2px solid var(--tw-color-stamp-border);
            background-color: transparent;
            padding: 0.5rem 1rem;
            font-family: "IBM Plex Mono", monospace;
            font-weight: 700;
            font-size: 0.8rem;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s;
        }
        .pagination-btn:hover:not(:disabled) {
            background-color: var(--tw-color-paper);
            border-color: var(--tw-color-ink-light);
        }
        .pagination-btn:disabled {
            background-color: #f3f4f6;
            color: #9ca3af;
            cursor: not-allowed;
            border-color: #e5e7eb;
        }
        #page-info {
            font-family: "IBM Plex Mono", monospace;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--tw-color-ink-light);
        }

        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
       
        .project-card {
            background-color: #fff; border: 3px solid #111827; overflow: hidden;
            position: relative; display: flex; flex-direction: column; transition: all 0.3s ease;
        }
         .project-card.hidden { display: none; }
        .card-header {
            border-bottom: 2px solid #111827; display: flex;
            justify-content: space-between; align-items: center;
        }
        .card-barcode { font-family: 'Libre Barcode 39 Text', cursive; font-size: 2.5rem; line-height: 1; }
        .card-title { position: relative; z-index: 2; }
        .card-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .card-specs { border-top: 2px dashed #6b7280; padding-top: 0.5rem; margin-top: 0.5rem; }
        .project-card::after {
            content: ''; position: absolute; bottom: 0; right: 0;
            width: 150%; height: 150%; background-color: var(--card-hover-color, #EC4899);
            z-index: 0; transform: translate(100%, 100%) rotate(45deg);
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .project-card:hover::after { transform: translate(20%, 20%) rotate(45deg); }
        .project-card:hover .card-title, .project-card:hover .card-header,
        .project-card:hover .card-body, .project-card:hover .card-barcode { color: white; }


        /* ===== NAV: color-pop hover/focus ===== */
        :root{
          --pop-red:#ff4d4f;
          --pop-mango:#ffb703;
          --pop-cyan:#3dd5f3;
          --pop-lime:#22c55e;
          --pop-pink:#ec4899;
          --pop-blue:#60a5fa;
        }

        .vertical-nav-list a{
          position: relative;
          border: 2px solid #e9e9e9;
          transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
          will-change: transform, box-shadow, background-color;
        }

        /* default subtle hover if JS hasn’t set --pop-color yet */
        .vertical-nav-list a:hover, .vertical-nav-list a:focus-visible{
          background: var(--pop-color, #ffdd57);
          color:#0b0e10;
          border-color:#0b0e10;
          transform: translateY(-1px) scale(1.02);
          box-shadow:
            inset 0 0 0 2px #0b0e10,
            0 0 0 3px rgba(0,0,0,.08),
            0 6px 16px rgba(0,0,0,.22),
            0 0 22px var(--pop-color, #ffdd57);
          outline: none;
        }

        /* keep the 'active' pill look but let it pop too */
        .nav-pill.active:hover, .nav-pill.active:focus-visible{
          background: var(--pop-color, var(--tw-color-paper));
          color:#0b0e10;
        }

        /* optional: tiny “press” effect */
        .vertical-nav-list a:active{
          transform: translateY(0) scale(0.995);
          box-shadow: inset 0 0 0 2px #0b0e10, 0 2px 8px rgba(0,0,0,.18);
        }

        /* PETI active link (always white) */
        .nav-pill.active {
          background: #fff !important;
          color: #000 !important;
          border: 2px solid #000 !important;
          box-shadow: inset 2px 2px 0px #000 !important;
          transform: none !important;
        }

        /* On hover/focus, don't override the white PETI pill */
        .nav-pill.active:hover,
        .nav-pill.active:focus-visible {
          background: #fff !important;
          color: #000 !important;
          border-color: #000 !important;
          box-shadow: inset 2px 2px 0px #000 !important;
          transform: none !important;
        }

        /* 9. FOOTER */
        .site-footer {
            margin-left: 180px;
            padding: 3rem 1rem;
            background-color: #0b0e10;
            color: #e9e9e9;
            border-top: 3px solid var(--tw-color-ink);
            font-family: "IBM Plex Mono", monospace;
        }
        .footer-content-wrapper {
            max-width: 1200px;
            margin: 0 auto;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        .footer-brand-title {
            font-family: 'Archivo Black', sans-serif;
            font-size: 1.5rem;
            text-transform: uppercase;
        }
        .footer-brand-tagline {
            font-size: 0.8rem;
        }
        .footer-brand-barcode {
            font-size: 3rem;
            margin-top: 1rem;
            line-height: 1;
            color: #e9e9e9;
        }
        .footer-heading {
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border-bottom: 2px solid #e9e9e9;
            display: inline-block;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }
        .footer-link-list {
            list-style: none;
            padding: 0;
            margin: 0;
            space-y: 0.5rem;
            font-size: 0.8rem;
        }
        .footer-link-list a {
            text-decoration: none;
            color: #e9e9e9;
            opacity: 0.8;
            transition: opacity 0.2s;
        }
        .footer-link-list a:hover {
            opacity: 1;
            text-decoration: underline;
        }
        .footer-bottom {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 2px dashed #e9e9e9;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
            gap: 1rem;
        }
        .footer-stamp {
            border: 2px solid #e9e9e9;
            padding: 0.25rem 0.5rem;
            transform: rotate(-2deg);
        }

        /* 10. Custom Cursor */
        .cursor-dot {
            position: fixed;
            width: 12px;
            height: 12px;
            background-color: #ff4d4f;
            border-radius: 50%;
            pointer-events: none;
            transform: translate(-50%, -50%);
            transition: transform 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out;
            z-index: 9999;
        }
        .cursor-dot.grow {
            width: 22px;
            height: 22px;
            background-color: #ff4d4f;
            border: 2px solid #ff4d4f;
        }

        .pdf-badge{
            position:absolute; top:.5rem; right:.5rem;
            font: 700 10px/1 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
            background:#111; color:#fff; padding:.15rem .35rem; border-radius:4px;
            letter-spacing:.04em;
        }
        
        .project-card{ position:relative; }


        