/* Blog — intimate journal, nav/footer safe */

.blog-shell {
    position: relative;
    min-height: 100vh;
    background: #060608;
}

.blog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blog-backdrop-picture,
.blog-backdrop-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.blog-backdrop-img {
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.04);
}

.blog-backdrop-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(4, 4, 12, 0.72) 0%, rgba(4, 4, 14, 0.84) 45%, rgba(2, 2, 10, 0.94) 100%),
        radial-gradient(ellipse at 50% 20%, rgba(4, 4, 18, 0.35) 0%, rgba(2, 2, 10, 0.88) 70%);
}

.blog-shell--article .blog-backdrop-scrim {
    background:
        linear-gradient(to bottom, rgba(4, 4, 12, 0.78) 0%, rgba(4, 4, 14, 0.88) 40%, rgba(2, 2, 10, 0.96) 100%),
        radial-gradient(ellipse at 50% 15%, rgba(4, 4, 18, 0.45) 0%, rgba(2, 2, 10, 0.92) 75%);
}

.blog-shell .site-header {
    position: relative;
    z-index: 1001;
}

.blog-shell .site-footer,
.blog-shell main {
    position: relative;
    z-index: 2;
}

/* Nav/footer: beat legacy cached `.blog-shell a { color: #1DB954 }` */
.blog-shell .site-header a,
.blog-shell .site-footer a,
.blog-shell .navbar .logo,
.blog-shell .navbar .nav-links a,
.blog-shell .navbar .nav-contact-btn {
    text-decoration: none;
}

.blog-shell .navbar .logo,
.blog-shell .navbar .nav-links a,
.blog-shell .navbar .nav-contact-btn {
    color: #B3B3B3;
}

.blog-shell .navbar .logo {
    color: #fff;
}

.blog-shell .navbar .nav-links a:hover,
.blog-shell .navbar .nav-links a:focus-visible,
.blog-shell .navbar .nav-contact-btn:hover,
.blog-shell .navbar .nav-contact-btn:focus-visible {
    color: #fff;
}

.blog-shell .navbar .logo:hover {
    color: #1DB954;
}

.blog-shell .site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.blog-shell .site-footer a:hover {
    color: #fff;
}

.blog-shell .footer-logo {
    background: linear-gradient(135deg, #ffffff, #b0c8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Index */
.blog-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.blog-header {
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.blog-header h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.45rem);
    font-weight: 800;
    margin: 0 0 0.55rem;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
}

.blog-header p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 1rem;
    margin: 0;
    line-height: 1.65;
    font-style: italic;
}

.blog-intro {
    margin-bottom: 2.25rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.78;
    font-size: 0.98rem;
}

.blog-journal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-entry {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.blog-entry:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.blog-shell main .blog-page a.blog-entry-link {
    display: block;
    padding: 1.35rem 0.15rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.blog-shell main .blog-page a.blog-entry-link:hover,
.blog-shell main .blog-page a.blog-entry-link:focus-visible {
    padding-left: 0.45rem;
}

.blog-shell main .blog-page a.blog-entry-link:hover .blog-entry-title,
.blog-shell main .blog-page a.blog-entry-link:focus-visible .blog-entry-title {
    color: rgba(255, 220, 180, 0.95);
}

.blog-entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 0.55rem;
}

.blog-shell main .blog-page a.blog-entry-link .blog-entry-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.blog-shell main .blog-page a.blog-entry-link .blog-entry-kicker {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(200, 170, 120, 0.85);
}

.blog-shell main .blog-page a.blog-entry-link .blog-entry-title {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 700;
    line-height: 1.42;
    margin: 0 0 0.55rem;
    color: #fff;
    transition: color 0.2s ease;
}

.blog-shell main .blog-page a.blog-entry-link .blog-entry-excerpt {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

.blog-shell main .blog-page a.blog-entry-link .blog-entry-cta {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(200, 170, 120, 0.9);
}

.blog-shell main .blog-page a.blog-entry-link:hover .blog-entry-cta,
.blog-shell main .blog-page a.blog-entry-link:focus-visible .blog-entry-cta {
    color: rgba(255, 220, 180, 1);
}

/* Article */
.blog-article-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.blog-shell main .blog-article-page a.blog-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
}

.blog-shell main .blog-article-page a.blog-back:hover {
    color: rgba(255, 220, 180, 0.95);
}

.blog-article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article-date {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.65rem;
}

.blog-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(200, 170, 120, 0.85);
    margin-bottom: 0.65rem;
}

.blog-article-header h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.blog-article-intro {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.82;
    font-size: 1rem;
    font-style: italic;
}

.blog-shell main .blog-article-page .blog-article-intro a {
    color: rgba(200, 170, 120, 0.95);
    text-underline-offset: 2px;
}

.blog-qa-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.blog-qa {
    padding: 0;
    border: none;
    background: transparent;
}

.blog-q {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.55rem;
    line-height: 1.5;
}

.blog-q::before {
    content: '— ';
    color: rgba(200, 170, 120, 0.75);
}

.blog-a {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.82;
    font-size: 0.96rem;
    padding-left: 1.1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.blog-shell main .blog-article-page .blog-a a {
    color: rgba(200, 170, 120, 0.95);
    text-underline-offset: 2px;
}

.blog-a p {
    margin: 0.35rem 0;
}

.blog-closing {
    margin: 2rem 0 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    line-height: 1.75;
    font-size: 0.95rem;
}

.blog-related {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
}

.blog-shell main .blog-article-page .blog-related a {
    color: rgba(200, 170, 120, 0.95);
    font-weight: 600;
}

@media (max-width: 768px) {
    .blog-page,
    .blog-article-page {
        padding: 5rem 1.15rem 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-shell main .blog-page a.blog-entry-link {
        transition: none;
    }
}
