body { cursor: auto; background: var(--white); }
#cur, #cur-r { display: none; }

/* ── NAV ── */
.bd-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    pointer-events: none;
}
.bd-logo-pill {
    pointer-events: all;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 999px;
    padding: 8px 18px 8px 8px;
    box-shadow: 0 2px 16px rgba(99,102,241,.08), 0 1px 3px rgba(0,0,0,.04);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    transition: box-shadow .25s, transform .25s;
}
.bd-logo-pill:hover { box-shadow: 0 6px 28px rgba(99,102,241,.16); transform: translateY(-1px); }
.bd-logo-pill img { width: 32px; height: 32px; object-fit: contain; }

.bd-nav-r {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 999px;
    padding: 5px 5px 5px 6px;
    box-shadow: 0 2px 16px rgba(99,102,241,.08), 0 1px 3px rgba(0,0,0,.04);
}
.bd-nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink3);
    padding: 7px 16px;
    border-radius: 999px;
    transition: color .15s, background .15s;
    text-decoration: none;
}
.bd-nav-link:hover { color: var(--ink); background: rgba(99,102,241,.06); }
.bd-nav-sep { width: 1px; height: 14px; background: rgba(99,102,241,.15); }
.bd-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--p);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(99,102,241,.32);
    transition: all .22s;
    text-decoration: none;
}
.bd-nav-cta:hover { background: var(--p2); transform: translateY(-1px); }
.bd-nav-cta svg { transition: transform .2s; }
.bd-nav-cta:hover svg { transform: translateX(3px); }

/* ── HERO ── */
.bd-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    margin-top: 0;
}
.bd-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,8,30,.15) 0%, rgba(10,8,30,.72) 100%);
}
.bd-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 56px 80px;
}
.bd-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 16px;
}
.bd-hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .7; }
.bd-hero-title {
    font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,.3);
    max-width: 780px;
}
.bd-hero-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.bd-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.78);
}
.bd-hero-meta-item svg { opacity: .7; }

/* no-image header */
.bd-plain-header {
    padding: 160px 80px 60px;
    background: linear-gradient(160deg, var(--white) 60%, var(--p5));
    border-bottom: 1px solid var(--border);
}
.bd-plain-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--p5);
    border: 1px solid var(--border2);
    color: var(--p);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 18px;
}
.bd-plain-title {
    font-size: clamp(28px, 3.8vw, 50px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--ink);
    max-width: 700px;
    margin-bottom: 20px;
}
.bd-plain-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.bd-plain-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink3);
}
.bd-plain-meta-item svg { color: var(--p); }

/* ── ARTICLE BODY ── */
.bd-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 48px 100px;
}
.bd-short {
    font-size: 19px;
    font-weight: 500;
    color: var(--ink2);
    line-height: 1.75;
    padding: 20px 24px;
    background: var(--p5);
    border-left: 3px solid var(--p);
    border-radius: 0 10px 10px 0;
    margin-bottom: 44px;
}
.bd-divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--p), var(--p3));
    border-radius: 2px;
    margin-bottom: 28px;
}
.bd-full {
    font-size: 16px;
    color: var(--ink2);
    line-height: 1.95;
    white-space: pre-wrap;
}

/* ── AUTHOR CARD ── */
.bd-author-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 48px 80px;
}
.bd-author-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(99,102,241,.07);
}
.bd-author-left { display: flex; align-items: center; gap: 14px; }
.bd-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p4), var(--p5));
    border: 2px solid var(--border2);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: var(--p);
    flex-shrink: 0;
}
.bd-author-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.bd-author-label { font-size: 11px; color: var(--ink4); margin-top: 2px; }
.bd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p);
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--border2);
    background: var(--p5);
    transition: all .18s;
    text-decoration: none;
}
.bd-back-btn:hover { background: var(--p4); border-color: var(--p); }

/* ── LIGHTBOX ── */
.bd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,8,30,.88);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.bd-lightbox.open { display: flex; }
.bd-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
    object-fit: contain;
}
.bd-lightbox-close {
    position: fixed;
    top: 24px; right: 28px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    backdrop-filter: blur(6px);
}

/* ── FOOTER ── */
.bd-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 32px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bd-footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--ink); }
.bd-footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.bd-footer-copy { font-size: 12px; color: var(--ink4); }

@media(max-width: 768px) {
    .bd-nav { padding: 14px 20px; }
    .bd-hero { height: 380px; }
    .bd-hero-content { padding: 28px 24px; }
    .bd-plain-header { padding: 120px 24px 40px; }
    .bd-page { padding: 40px 24px 60px; }
    .bd-author-section { padding: 0 24px 48px; }
    .bd-footer { padding: 24px; }
}
