/* =============================================================================
   Radix V2 — main.css — NWI Mesh Net
   #09090b black. Zinc palette. Purple + green accents. Radix UI DNA.
============================================================================= */

:root {
    --bg:      #09090b;
    --surface: #111113;
    --panel:   #19191b;
    --overlay: #222224;
    --border:  #2a2a2c;
    --border2: #3a3a3c;
    --muted:   #8b8b8f;
    --subtle:  #60606a;
    --text:    #ededef;
    --high:    #ffffff;

    --accent:       #6e56cf;
    --accent-hover: #7c66dc;
    --accent-muted: rgba(110,86,207,0.14);
    --accent-ring:  rgba(110,86,207,0.3);

    --green:       #22c55e;
    --green-muted: rgba(34,197,94,0.12);
    --green-ring:  rgba(34,197,94,0.25);

    --yellow:      #eab308;
    --red:         #ef4444;

    --r-sm: 4px;
    --r:    6px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;

    --shadow:    0 2px 8px  rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.7);

    --font: "Inter", system-ui, -apple-system, sans-serif;
    --mono: "SF Mono","Fira Code","Cascadia Code",monospace;

    --header-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--muted);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Reset ── */
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font);
    color: var(--text);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* ── Layout containers ── */
.wrap     { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-sm  { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.wrap-xs  { max-width: 580px;  margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(9,9,11,0.82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, box-shadow 0.2s;
}
#site-header.scrolled {
    background: rgba(9,9,11,0.97);
    box-shadow: 0 1px 0 var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--header-h);
}

/* ── Logo ── */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
.site-logo:hover { opacity: 0.75; }
.site-logo img { height: 32px; width: auto; border-radius: 0; display: block; }
/* If WP outputs its own <a> wrapper, collapse it visually */
.site-logo .custom-logo-link {
    display: contents;
    pointer-events: none;
}
.site-logo .custom-logo-link img { height: 32px; width: auto; display: block; }
.logo-mark {
    width: 28px; height: 28px;
    border-radius: var(--r);
    background: linear-gradient(135deg, var(--accent) 0%, #5b6cf6 100%);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Primary nav ── */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

/* Dropdown */
.primary-nav li,
.primary-nav > li {
    position: relative;
    list-style: none;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--panel);
    border: 1px solid var(--border2);
    border-radius: var(--r-lg);
    padding: 4px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.8);
    z-index: 500;
    margin-top: 4px;
}

.primary-nav li:hover > .nav-dropdown { display: block; }

.nav-dropdown li { position: static; list-style: none; }

.nav-dropdown a {
    display: block;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--muted);
    border-radius: var(--r);
    transition: color 0.1s, background 0.1s;
    white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--text); background: var(--overlay); }

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: var(--r);
    transition: color 0.12s, background 0.12s;
    white-space: nowrap;
}
.nav-item-link:hover,
.current-menu-item > .nav-item-link { color: var(--text); background: var(--overlay); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    border-radius: var(--r);
    padding: 0 14px;
    height: 32px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.12s;
    white-space: nowrap;
    text-decoration: none;
    font-family: var(--font);
}
.btn-sm   { height: 28px; padding: 0 10px; font-size: 12px; }
.btn-lg   { height: 40px; padding: 0 20px; font-size: 14px; border-radius: var(--r-md); }
.btn-xl   { height: 44px; padding: 0 24px; font-size: 15px; border-radius: var(--r-md); }

.btn-accent  { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.btn-green  { background: var(--green-muted); color: var(--green); border-color: var(--green-ring); }
.btn-green:hover { background: rgba(34,197,94,0.2); color: #4ade80; }

.btn-surface { background: var(--panel); color: var(--text); border-color: var(--border); }
.btn-surface:hover { background: var(--overlay); border-color: var(--border2); color: var(--text); }

.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { background: var(--overlay); color: var(--text); border-color: var(--border2); }

/* ── Mobile menu ── */
#mobile-menu {
    background: var(--panel);
    border-top: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    width: 100%;
    position: relative;
}
#mobile-menu.open { 
    max-height: 500px;
    padding: 16px 0;
}
#mobile-menu ul { 
    list-style: none; 
    margin: 0; 
    padding: 0 24px;
}
#mobile-menu li { margin: 0; padding: 0; }
#mobile-menu > div {
    padding: 0 24px;
}
.mobile-nav-link {
    display: block;
    font-size: 14px;
    color: var(--muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.12s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--text); }
.mobile-nav-link:last-child { border-bottom: none; }

/* ── Status pill (online indicator) ── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-muted);
    border: 1px solid var(--green-ring);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--green);
}
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 2px var(--green-muted);
    animation: pulse-green 2.5s ease-in-out infinite;
}
@keyframes pulse-green {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.5; transform:scale(1.3); }
}

/* ── Hero ── */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    padding: 80px 0 0;
    background: linear-gradient(180deg, #0a0a0c 0%, var(--bg) 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Large decorative circle on the left */
.hero-circle {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(110, 86, 207, 0.2);
    background: radial-gradient(circle at 30% 30%, rgba(110, 86, 207, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: circle-pulse 8s ease-in-out infinite;
}

@keyframes circle-pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        opacity: 0.8;
    }
}
/* ── Hero decorative animated gradient ── */
.hero-glow-extra {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-glow-extra::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(110, 86, 207, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(34, 197, 94, 0.1) 0%, transparent 40%);
    filter: blur(120px);
    animation: gradient-move 15s ease-in-out infinite;
}

.hero-glow-extra::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes gradient-move {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    33% { 
        transform: translate(50px, -40px) scale(1.1);
    }
    66% { 
        transform: translate(-40px, 50px) scale(0.95);
    }
}

/* Accent glow on hero-bg */
.hero-bg::before { display: none; }

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50px; 
    left: 10%;
    width: 800px; 
    height: 600px;
    background: radial-gradient(ellipse, rgba(110,86,207,0.12) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}

/* ── Demo cards (the Radix UI floating widgets) ── */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-bottom: 0;
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    align-self: start;
    padding-top: 16px;
}

.demo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    transition: border-color 0.2s;
}
.demo-card:hover { border-color: var(--border2); }

.demo-card-header {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Status badge inside card */
.node-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}
.node-row:last-child { border-bottom: none; }

.node-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.node-dot.online  { background: var(--green);  box-shadow: 0 0 6px var(--green); }
.node-dot.offline { background: var(--subtle); }
.node-dot.warn    { background: var(--yellow); }

.demo-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; font-weight: 500;
    padding: 1px 7px; border-radius: 999px; border: 1px solid;
}
.badge-green  { background:rgba(34,197,94,0.1);  color:#4ade80; border-color:rgba(34,197,94,0.2); }
.badge-yellow { background:rgba(234,179,8,0.1);  color:#facc15; border-color:rgba(234,179,8,0.2); }
.badge-red    { background:rgba(239,68,68,0.1);  color:#f87171; border-color:rgba(239,68,68,0.2); }
.badge-blue   { background:rgba(59,130,246,0.1); color:#60a5fa; border-color:rgba(59,130,246,0.2); }
.badge-purple { background:var(--accent-muted);  color:#a78bfa; border-color:var(--accent-ring); }

/* Monospace value */
.mono-val {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--green);
    background: var(--green-muted);
    padding: 1px 6px;
    border-radius: 3px;
}

/* Signal bar */
.signal-bars {
    display: flex; align-items: flex-end; gap: 2px; height: 14px;
}
.signal-bar {
    width: 3px; border-radius: 1px;
    background: var(--border2);
}
.signal-bar.active { background: var(--green); }
.signal-bar:nth-child(1) { height: 30%; }
.signal-bar:nth-child(2) { height: 55%; }
.signal-bar:nth-child(3) { height: 75%; }
.signal-bar:nth-child(4) { height: 100%; }

/* Progress / battery */
.battery-bar {
    height: 5px;
    background: var(--overlay);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 2px;
}
.battery-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--green);
    transition: width 0.4s ease;
}
.battery-fill.warn { background: var(--yellow); }
.battery-fill.low  { background: var(--red); }

/* ── Stats bar ── */
.stat-bar { border-bottom: 1px solid var(--border); }
.stat-item {
    padding: 20px 24px;
    border-right: 1px solid var(--border);
    flex: 1;
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.03em;
    font-family: var(--mono);
    line-height: 1;
    margin-bottom: 3px;
}
.stat-label {
    font-size: 11.5px;
    color: var(--subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Section ── */
.section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.section-eyebrow {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 600;
    color: var(--high);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.section-sub {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 520px;
}

/* ── Feature grid card ── */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: border-color 0.15s, background 0.15s;
}
.feature-card:hover { border-color: var(--border2); background: var(--panel); }
.feature-icon {
    width: 34px; height: 34px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* ── Guide list items ── */
.guide-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: none;
}
.guide-item:first-child { border-top: 1px solid var(--border); }
.guide-item:hover .guide-item-title { color: var(--high); }
.guide-item-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.12s;
    line-height: 1.4;
}
.guide-item-icon {
    width: 32px; height: 32px;
    border-radius: var(--r);
    background: var(--panel);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Blog post rows ── */
.post-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.post-row:first-child { border-top: 1px solid var(--border); }
.post-row-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color 0.12s;
    display: block;
}
.post-row:hover .post-row-title { color: var(--high); }
.post-thumb {
    width: 76px; height: 50px;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.post-thumb img { width:100%; height:100%; object-fit:cover; }

.post-card-featured {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: border-color 0.15s;
}
.post-card-featured:hover { border-color: var(--border2); }
.post-card-thumb { aspect-ratio:16/9; overflow:hidden; background:var(--panel); }
.post-card-thumb img { width:100%;height:100%;object-fit:cover;transition:transform 0.4s; }
.post-card-featured:hover .post-card-thumb img { transform:scale(1.02); }

/* ── Tag pill ── */
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: border-color 0.12s, color 0.12s;
}
.tag:hover { border-color: var(--border2); color: var(--text); }

/* ── CTA band ── */
.cta-band {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(110,86,207,0.06) 0%, transparent 70%),
        var(--bg);
}

/* ── Prose (entry-content) ── */
.entry-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4 { color:var(--text); margin:2em 0 .75em; }
.entry-content h2 { font-size:20px; }
.entry-content h3 { font-size:17px; }
.entry-content p  { margin-bottom:1.3em; }
.entry-content a  { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.entry-content a:hover { color:var(--accent-hover); }
.entry-content ul,.entry-content ol { padding-left:1.4em; margin-bottom:1.3em; }
.entry-content li { margin-bottom:.4em; }
.entry-content blockquote {
    border-left:2px solid var(--accent); padding:4px 0 4px 18px;
    margin:1.5em 0; color:var(--subtle); font-style:italic;
}
.entry-content code {
    font-family:var(--mono); font-size:12px; background:var(--panel);
    border:1px solid var(--border); border-radius:var(--r-sm); padding:1px 6px; color:var(--text);
}
.entry-content pre {
    background:var(--surface); border:1px solid var(--border); border-radius:var(--r-md);
    padding:18px 20px; overflow-x:auto; margin-bottom:1.5em; font-size:12.5px;
    position:relative;
}
.entry-content pre code { background:transparent; border:none; padding:0; }
.entry-content img { max-width:100%; height:auto; border-radius:var(--r-md); border:1px solid var(--border); margin:1.5em 0; }
.entry-content hr { border:none; border-top:1px solid var(--border); margin:2em 0; }
.entry-content table { width:100%; border-collapse:collapse; margin-bottom:1.5em; font-size:13px; }
.entry-content th { padding:8px 12px; border:1px solid var(--border); color:var(--text); font-weight:600; background:var(--panel); font-size:11px; text-transform:uppercase; letter-spacing:.06em; text-align:left; }
.entry-content td { padding:8px 12px; border:1px solid var(--border); color:var(--muted); }

/* ── Pagination ── */
.pagination { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.pagination a,.pagination span {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:32px; height:32px; padding:0 8px;
    font-size:12.5px; border:1px solid var(--border); border-radius:var(--r);
    color:var(--muted); transition:all 0.12s;
}
.pagination a:hover { border-color:var(--border2); color:var(--text); background:var(--panel); }
.pagination .current { background:var(--accent); border-color:var(--accent); color:#fff; }

/* ── Comments ── */
.comment-item { padding:14px 0; border-bottom:1px solid var(--border); }
.comment-form input[type="text"],.comment-form input[type="email"],.comment-form textarea {
    width:100%; background:var(--panel); border:1px solid var(--border); border-radius:var(--r);
    padding:8px 12px; color:var(--text); font-family:var(--font); font-size:13px;
    outline:none; transition:border-color 0.12s;
}
.comment-form input:focus,.comment-form textarea:focus { border-color:var(--accent); }
.comment-form input[type="submit"] {
    cursor:pointer; background:var(--accent); color:#fff; border:none;
    padding:0 16px; height:34px; border-radius:var(--r); font-family:var(--font);
    font-size:13px; font-weight:500; transition:background 0.12s;
}
.comment-form input[type="submit"]:hover { background:var(--accent-hover); }

/* ── Sidebar widgets ── */
.widget ul { list-style:none; }
.widget ul li { font-size:13px; color:var(--muted); padding:6px 0; border-bottom:1px solid var(--border); }
.widget ul li:last-child { border-bottom:none; }
.widget ul li a { color:var(--muted); transition:color .12s; }
.widget ul li a:hover { color:var(--text); }

/* ── Footer ── */
#site-footer { border-top:1px solid var(--border); background:var(--bg); }
.footer-col-title {
    font-size:11px; font-weight:600; text-transform:uppercase;
    letter-spacing:.1em; color:var(--subtle); margin-bottom:14px;
}
.footer-link {
    font-size:13px; color:var(--subtle);
    display:block; padding:4px 0;
    transition:color .12s;
}
.footer-link:hover { color:var(--text); }

/* ── Scroll reveal ── */
.reveal { opacity:0; transform:translateY(14px); transition:opacity .5s ease,transform .5s ease; }
.reveal.show { opacity:1; transform:translateY(0); }
.reveal.d1 { transition-delay:.06s; }
.reveal.d2 { transition-delay:.12s; }
.reveal.d3 { transition-delay:.18s; }
.reveal.d4 { transition-delay:.24s; }
/* Fallback: if JS never fires, content is still visible */
.no-js .reveal, body:not(.js-loaded) .reveal { opacity:1; transform:none; }

/* ── Hero fade-in (immediate on load) ── */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
}
.hero-enter    { animation:fadeUp .5s ease forwards; }
.hero-enter.d1 { animation-delay:.07s; opacity:0; }
.hero-enter.d2 { animation-delay:.14s; opacity:0; }
.hero-enter.d3 { animation-delay:.21s; opacity:0; }
.hero-enter.d4 { animation-delay:.28s; opacity:0; }
.hero-enter.d5 { animation-delay:.38s; opacity:0; }

/* ── Responsive ── */
@media(max-width:960px) {
    .hero-right { display:none !important; }
    .stat-item  { border-right:none; border-bottom:1px solid var(--border); flex:none; width:100%; }
    .stat-item:last-child { border-bottom:none; }
}
@media(max-width:768px) {
    .wrap, .wrap-sm, .wrap-xs { padding:0 16px; }
    .section { padding:56px 0; }
    .post-thumb { display:none; }
}
@media(min-width:961px) {
    #mobile-toggle { display:none !important; }
    .primary-nav   { display:flex !important; }
    .header-right  { display:flex !important; }
}
