@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════
   THE NOBLE HOUSE™ — v3 "The Forge"
   Cinematic · Glassmorphic · Alive
   Mirrors thenoblehouse.ai design DNA
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ─── Foundation: Brand Blacks ─── */
    --pure-black:    #040408;
    --deep-black:    #0a0a10;
    --dark-gray:     #1d1d1f;
    --medium-gray:   #86868b;
    --light-gray:    #f5f5f7;
    --pure-white:    #ffffff;

    /* ─── Brand: Noble Gold ─── */
    --noble-gold:        #D4AF37;
    --noble-gold-light:  #E5C558;
    --noble-gold-bright: #F0D868;
    --noble-gold-dim:    #A08928;

    /* ─── Interactive: Accent Blue ─── */
    --accent-blue:   #0071e3;
    --accent-hover:  #0077ed;
    --accent-glow:   #00a3ff;

    /* ─── Glass Morphism ─── */
    --glass-white:        rgba(255, 255, 255, 0.08);
    --glass-heavy:        rgba(255, 255, 255, 0.15);
    --glass-border:       rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(255, 255, 255, 0.25);

    /* ─── Shadows ─── */
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-deep:  0 20px 80px rgba(0, 0, 0, 0.5);
    --shadow-blue:  0 10px 40px rgba(0, 113, 227, 0.35);
    --shadow-gold:  0 10px 40px rgba(212, 175, 55, 0.15);

    /* ─── Typography ─── */
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* ─── Layout ─── */
    --max-width:     1400px;
    --content-width: 720px;
    --radius:        24px;
    --radius-sm:     16px;
    --radius-pill:   50px;
    --transition:    all 0.3s ease;
}


/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--pure-black);
    color: var(--pure-white);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.016em;
    overflow-x: hidden;
}

a {
    color: var(--noble-gold-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--noble-gold-bright);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--pure-white);
}


/* ═══════════════════════════════════════════════
   DESIGN SYSTEM — Display Font, Gradient Text, Glass
   ═══════════════════════════════════════════════ */

.display-font {
    font-family: var(--font-display);
    font-weight: 900;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.glass {
    background: var(--glass-white);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.06) 100%);
    pointer-events: none;
    z-index: 0;
}

.glass > * {
    position: relative;
    z-index: 1;
}


/* ═══════════════════════════════════════════════
   ANIMATED PARTICLES
   ═══════════════════════════════════════════════ */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-glow);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow), 0 0 20px rgba(0, 163, 255, 0.3);
    animation: floatUp 25s linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) scale(0.5);
        opacity: 0;
    }
    8% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(50vh) translateX(40px) scale(1);
        opacity: 0.4;
    }
    92% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(-20px) scale(0.3);
        opacity: 0;
    }
}


/* ═══════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════ */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.35; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 163, 255, 0.2), 0 0 40px rgba(0, 163, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 163, 255, 0.4), 0 0 60px rgba(0, 163, 255, 0.2);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations (JS adds .is-visible) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════
   NAVIGATION — Glassmorphic with Logo Image
   ═══════════════════════════════════════════════ */

.site-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: var(--shadow-deep);
}
.site-nav.scrolled .nav-logo-img {
    height: 50px;
}
.site-nav.scrolled .nav-logo-name {
    font-size: 0.75rem;
}
.site-nav.scrolled .nav-inner {
    padding: 0.4rem 2rem;
}
.site-nav.scrolled .nav-actions {
    display: flex;
    visibility: visible;
    opacity: 1;
}
.site-nav.scrolled .nav-search,
.site-nav.scrolled .nav-hamburger {
    display: flex;
    visibility: visible;
    opacity: 1;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    border-radius: 4px;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.25));
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 10px 40px rgba(0, 163, 255, 0.7)) brightness(1.1);
    transform: scale(1.05);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--noble-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.nav-logo-tagline {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--medium-gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: none;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.01em;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-glow);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--pure-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.625rem 1.75rem;
    border-radius: var(--radius-pill);
    background: var(--accent-blue);
    color: var(--pure-white) !important;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.nav-cta:hover {
    background: var(--accent-hover);
    color: var(--pure-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 113, 227, 0.5);
}

.nav-cta--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid var(--glass-border-hover);
    box-shadow: none;
}

.nav-cta--outline:hover {
    border-color: var(--accent-glow);
    color: var(--accent-glow) !important;
    background: rgba(0, 163, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 163, 255, 0.15);
}

/* Search + Hamburger */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-search {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 6px;
    transition: var(--transition);
}
.nav-search:hover { color: var(--pure-white); }
.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-appearance: none;
    appearance: none;
    min-width: 36px;
    min-height: 30px;
    justify-content: center;
    align-items: center;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}
.nav-hamburger:hover span { background: var(--pure-white); }
.nav-hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.is-visible { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 320px;
    max-width: 85vw;
    z-index: 1001;
    background: rgba(10, 10, 16, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 1.5rem 2rem;
    overflow-y: auto;
    -webkit-transform: translateX(100%) translateZ(0);
    transform: translateX(100%) translateZ(0);
}
.mobile-menu.is-open {
    -webkit-transform: translateX(0) translateZ(0);
    transform: translateX(0) translateZ(0);
}
.mobile-menu__header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.mobile-menu__compass {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.mobile-menu__nav ul { list-style: none; padding: 0; }
.mobile-menu__nav li {
    margin-bottom: 0;
    opacity: 0;
    transform: translateX(20px);
    animation: menuSlideIn 0.3s ease forwards;
}
.mobile-menu.is-open .mobile-menu__nav li:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(7) { animation-delay: 0.35s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(8) { animation-delay: 0.4s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(9) { animation-delay: 0.45s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(10) { animation-delay: 0.5s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(11) { animation-delay: 0.55s; }

@keyframes menuSlideIn {
    to { opacity: 1; transform: translateX(0); }
}

.mobile-menu__nav li a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-left: 2px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    transition: all 0.25s ease;
    position: relative;
}
.mobile-menu__nav li a::after {
    content: '\203A';
    margin-left: auto;
    color: rgba(212, 175, 55, 0.3);
    font-size: 1.2rem;
    font-weight: 300;
}
.mobile-menu__nav li a:hover,
.mobile-menu__nav li a:active {
    color: var(--noble-gold-light);
    border-left-color: var(--noble-gold);
    background: rgba(212, 175, 55, 0.06);
}
.mobile-menu__nav li a:active::after {
    color: var(--noble-gold);
}
.mobile-menu__nav li:last-child a {
    border-bottom: none;
}
.mobile-menu__footer {
    margin-top: auto;
    padding: 2rem 0.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.6;
}
.mobile-menu__trademark {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.15);
    margin-top: 0.25rem;
}
.mobile-menu__powered {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.3);
}
.mobile-menu__powered a { color: rgba(255, 255, 255, 0.4); }
.mobile-menu__powered a:hover { color: var(--pure-white); }
.mobile-menu__apryl { height: 24px; width: auto; border-radius: 4px; }
.mobile-menu__apryl-name { color: var(--noble-gold); font-weight: 600; }

/* Scroll Arrows */
/* Table of Contents */
.post-body {
    position: relative;
    max-width: calc(var(--content-width) + 280px);
    margin: 0 auto;
    display: flex;
    gap: 2rem;
}
.post-toc {
    position: sticky;
    top: 80px;
    width: 220px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    flex-shrink: 0;
    order: -1;
    align-self: flex-start;
    display: none;
}
.post-toc.has-headings { display: block; }
.post-toc__inner {
    padding: 1rem 1.25rem 1rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.post-toc__title {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
}
.post-toc__nav ul { list-style: none; }
.post-toc__nav li { margin-bottom: 0.25rem; }
.post-toc__nav li.toc-h3 { padding-left: 0.75rem; }
.post-toc__nav a {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: var(--transition);
    line-height: 1.4;
}
.post-toc__nav a:hover { color: rgba(255, 255, 255, 0.8); }
.post-toc__nav a.active {
    color: var(--accent-glow);
    border-left-color: var(--accent-glow);
    background: rgba(0, 163, 255, 0.05);
}
.post-body .post-content { flex: 1; min-width: 0; }

@media (max-width: 1024px) {
    .post-toc { display: none !important; }
    .post-body { display: block; }
}

/* Related Posts */
.related-posts {
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
.related-posts__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--noble-gold);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}
.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.related-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.related-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.related-card:hover .related-card__image img { transform: scale(1.05); }
.related-card__body { padding: 1.25rem; }
.related-card__tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-glow);
}
.related-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--pure-white);
    line-height: 1.4;
}
.related-card__meta {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

@media (max-width: 768px) {
    .related-posts__grid { grid-template-columns: 1fr; }
}

/* Error / 404 Page */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}
.error-inner { max-width: 480px; }
.error-logo {
    height: 100px;
    width: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 5px 20px rgba(212, 175, 55, 0.3));
}
.error-code {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--noble-gold) 0%, var(--noble-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-message {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.error-subtitle {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Author Bio */
.post-author-bio {
    max-width: var(--content-width);
    margin: 3rem auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: var(--radius-sm);
}
.post-author-bio__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.post-author-bio__name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.post-author-bio__text {
    font-size: 0.875rem;
    color: var(--medium-gray);
    line-height: 1.6;
}
.post-author-bio__link {
    font-size: 0.8125rem;
    color: var(--accent-glow);
}

/* Inline Newsletter CTA */
.post-inline-cta {
    max-width: var(--content-width);
    margin: 3rem auto;
    padding: 2.5rem;
    text-align: center;
    border-radius: var(--radius);
}
.post-inline-cta__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.post-inline-cta__text {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

/* Share Buttons */
.post-share {
    max-width: var(--content-width);
    margin: 3rem auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-share__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--medium-gray);
}
.post-share__buttons {
    display: flex;
    gap: 0.5rem;
}
.post-share__btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    font-family: inherit;
}
.post-share__btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}
.post-share__btn--copy.copied {
    border-color: var(--noble-gold);
    color: var(--noble-gold);
}
.post-share__copied {
    position: absolute;
    top: -28px;
    font-size: 0.6875rem;
    color: var(--noble-gold);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.post-share__btn--copy.copied .post-share__copied { opacity: 1; }

/* Comments */
.post-comments {
    max-width: var(--content-width);
    margin: 3rem auto;
}

/* Ghost Search Modal — Dark Theme */
.gh-search-modal {
    background: rgba(4, 4, 8, 0.95) !important;
    backdrop-filter: blur(30px) !important;
}
.gh-search-bar {
    background: var(--dark-gray) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: var(--pure-white) !important;
}
.gh-search-bar input {
    background: transparent !important;
    color: var(--pure-white) !important;
    font-family: var(--font-body) !important;
}
.gh-search-bar input::placeholder {
    color: var(--medium-gray) !important;
}
.gh-search-results {
    background: var(--dark-gray) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
}
.gh-search-results-item {
    color: var(--pure-white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.gh-search-results-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}
.gh-search-results-item .gh-search-results-item-title {
    color: var(--pure-white) !important;
}
.gh-search-results-item .gh-search-results-item-excerpt {
    color: var(--medium-gray) !important;
}
.gh-search-results-item .gh-search-results-item-tag {
    color: var(--accent-glow) !important;
}

.scroll-arrows {
    position: fixed;
    right: 1.25rem;
    bottom: 6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scroll-arrows.is-visible { opacity: 1; visibility: visible; }
.scroll-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 4, 8, 0.7);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}
.scroll-pct {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--noble-gold);
    text-align: center;
    letter-spacing: 0.05em;
}
.scroll-arrow:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--pure-white);
    background: rgba(4, 4, 8, 0.9);
    transform: scale(1.05);
}

/* Ghost Search Modal — Dark Theme Override */
.gh-search-modal {
    background: rgba(4, 4, 8, 0.95) !important;
    backdrop-filter: blur(30px) !important;
}
.gh-search-bar {
    background: var(--dark-gray) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: var(--pure-white) !important;
}
.gh-search-bar input {
    background: transparent !important;
    color: var(--pure-white) !important;
    font-family: var(--font-body) !important;
}
.gh-search-bar input::placeholder {
    color: var(--medium-gray) !important;
}
.gh-search-results {
    background: var(--dark-gray) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
}
.gh-search-results-item {
    color: var(--pure-white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.gh-search-results-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}
.gh-search-results-item .gh-search-results-item-title {
    color: var(--pure-white) !important;
}
.gh-search-results-item .gh-search-results-item-excerpt {
    color: var(--medium-gray) !important;
}
.gh-search-results-item .gh-search-results-item-tag {
    color: var(--accent-glow) !important;
}


/* ═══════════════════════════════════════════════
   PAGE HERO — Dark band with title + image below
   ═══════════════════════════════════════════════ */

.page-hero--minimal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--deep-black) 0%, rgba(0, 113, 227, 0.06) 50%, var(--pure-black) 100%);
    padding: 2rem 0 0;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    padding: 4rem 2rem 3rem;
    text-align: center;
    width: 100%;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--pure-white);
    line-height: 1.1;
}

.page-feature-image {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.page-feature-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    display: block;
}

@media (max-width: 768px) {
    .page-hero-inner {
        padding: 3rem 1.5rem 2rem;
    }
    .page-feature-image {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
}


/* ═══════════════════════════════════════════════
   HERO — Cinematic, Full-Bleed, Alive
   ═══════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(4, 4, 8, 0.1), rgba(4, 4, 8, 0.4)),
        url('https://blog.thenoblehouse.ai/content/images/2026/08/mi6-hero.webp') center/cover no-repeat;
    background-attachment: fixed;
}

/* Subtle grid overlay for texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M 80 0 L 0 0 0 80" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    padding: 6rem 2rem 5rem;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-compass {
    display: block;
    width: 360px;
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.3));
}

@media (max-width: 768px) {
    .hero-compass {
        width: 260px;
        margin-bottom: 1.5rem;
    }
}

.hero-logo {
    height: 200px;
    width: auto;
    margin: 0 auto 2rem;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 15px 50px rgba(212, 175, 55, 0.35));
    animation: float 6s ease-in-out infinite;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--noble-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--noble-gold);
    max-width: 580px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, var(--pure-black), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Ambient glow behind hero content */
.hero-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 163, 255, 0.12) 0%, transparent 65%);
    animation: pulse-subtle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}


/* ═══════════════════════════════════════════════
   BUTTONS — Ripple Effect, Glow, Life
   ═══════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.01em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn--primary {
    background: var(--accent-blue);
    color: var(--pure-white);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

/* Ripple expand on hover */
.btn--primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.btn--primary:hover::before {
    width: 350px;
    height: 350px;
}

.btn--primary:hover {
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 113, 227, 0.5);
}

.btn--ghost {
    background: var(--glass-heavy);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--pure-white);
    border: 2px solid var(--glass-border-hover);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-glow);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glass);
}

.btn--gold {
    background: linear-gradient(135deg, #D4AF37, #E5C558);
    color: #040408;
    border: 2px solid transparent;
}

.btn--gold:hover {
    background: linear-gradient(135deg, #E5C558, #F0D868);
    color: #040408;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* Sweeping shine — the "touch me" glimmer */
.btn--gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: gold-shine 3.2s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gold-shine {
    0% { left: -80%; }
    45% { left: 140%; }
    100% { left: 140%; }
}

@media (prefers-reduced-motion: reduce) {
    .btn--gold::after {
        animation: none;
        display: none;
    }
}

.btn--lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}


/* ═══════════════════════════════════════════════
   SECTIONS — Cinematic Backgrounds
   ═══════════════════════════════════════════════ */

.section {
    position: relative;
    padding: 7rem 0;
    z-index: 1;
}

.section--bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section--parallax {
    background-attachment: fixed;
}

.section--overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(4, 4, 8, 0.7), rgba(4, 4, 8, 0.85));
    z-index: 0;
}

.section--overlay > * {
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--noble-gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--pure-white);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}


/* ═══════════════════════════════════════════════
   POST CARDS — Glassmorphic Cinematic
   ═══════════════════════════════════════════════ */

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.post-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 163, 255, 0.05);
}

.post-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 163, 255, 0.4);
    box-shadow:
        0 20px 60px rgba(0, 163, 255, 0.2),
        0 0 40px rgba(0, 163, 255, 0.1);
}

.post-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.post-card:hover .post-card__image img {
    transform: scale(1.06);
    opacity: 1;
}

.post-card__badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.3rem 0.875rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.post-card__badge--podcast {
    background: linear-gradient(135deg, var(--noble-gold) 0%, var(--noble-gold-bright) 100%);
    color: var(--pure-black);
}

.post-card__badge--video {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-glow) 100%);
    color: var(--pure-white);
}

.post-card__badge--short {
    background: var(--accent-glow);
    color: var(--pure-black);
}

.post-card__body {
    padding: 1.75rem;
}

.post-card__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--noble-gold);
    margin-bottom: 0.5rem;
}

.post-card__tag:hover {
    color: var(--noble-gold-bright);
}

.post-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-card__title a {
    color: var(--pure-white);
    transition: var(--transition);
}

.post-card__title a:hover {
    color: var(--accent-glow);
}

.post-card__excerpt {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--medium-gray);
}


/* ═══════════════════════════════════════════════
   PODCAST SECTION — Cinematic Background
   ═══════════════════════════════════════════════ */

.section--podcast {
    background:
        linear-gradient(rgba(4, 4, 8, 0.15), rgba(4, 4, 8, 0.45)),
        url('../images/podcasts-background-1.webp') center/cover no-repeat;
    background-attachment: fixed;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    justify-items: center;
}

.podcast-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 163, 255, 0.05);
}

.podcast-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 163, 255, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 163, 255, 0.3),
        0 0 40px rgba(0, 163, 255, 0.15);
}

.podcast-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.podcast-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.podcast-card:hover .podcast-card__image img {
    transform: scale(1.06);
    opacity: 1;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 4, 8, 0.3);
    opacity: 0;
    transition: all 0.4s ease;
}

.play-overlay svg {
    width: 56px;
    height: 56px;
    color: var(--pure-white);
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.podcast-card:hover .play-overlay,
.video-card:hover .play-overlay {
    opacity: 1;
}

.podcast-card:hover .play-overlay svg,
.video-card:hover .play-overlay svg {
    transform: scale(1.15);
}

.podcast-card__body {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.podcast-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.podcast-card__body h3 a {
    color: var(--pure-white);
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.podcast-card__body h3 a:hover {
    background: linear-gradient(135deg, var(--accent-glow) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.podcast-card__body p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.podcast-card__meta {
    font-size: 0.8125rem;
    color: var(--medium-gray);
}


/* ═══════════════════════════════════════════════
   PLATFORM PILLS
   ═══════════════════════════════════════════════ */

.platform-pills {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    justify-content: center;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.platform-pill svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.platform-pill:hover {
    border-color: var(--accent-glow);
    color: var(--accent-glow);
    background: rgba(0, 163, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 163, 255, 0.2);
}


/* ═══════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.video-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 163, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 163, 255, 0.2);
}

.video-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.video-card:hover .video-card__image img {
    transform: scale(1.06);
    opacity: 1;
}

.video-card__duration {
    position: absolute;
    bottom: 0.625rem;
    right: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-pill);
    background: rgba(4, 4, 8, 0.85);
    color: var(--pure-white);
    backdrop-filter: blur(4px);
}

.video-card__body {
    padding: 1.25rem 1.5rem;
}

.video-card__body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.video-card__body h3 a { color: var(--pure-white); }
.video-card__body h3 a:hover { color: var(--accent-glow); }

.video-card__meta {
    font-size: 0.8125rem;
    color: var(--medium-gray);
}


/* ═══════════════════════════════════════════════
   ABOUT SECTION — Cinematic Background
   ═══════════════════════════════════════════════ */

.section--about {
    background:
        linear-gradient(rgba(4, 4, 8, 0.15), rgba(4, 4, 8, 0.4)),
        url('../images/fiber-optic-2.webp') center/cover no-repeat;
    background-attachment: fixed;
}

.about-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.about-logo {
    height: 260px;
    width: auto;
    margin: 0 auto 2rem;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 10px 40px rgba(212, 175, 55, 0.3));
    animation: float 6s ease-in-out infinite;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--noble-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.about-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    border-color: var(--accent-glow);
    color: var(--accent-glow);
    background: rgba(0, 163, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.25);
}


/* ═══════════════════════════════════════════════
   SUBSCRIBE SECTION — Glowing Glass
   ═══════════════════════════════════════════════ */

.section--subscribe {
    background:
        linear-gradient(rgba(4, 4, 8, 0.15), rgba(4, 4, 8, 0.4)),
        url('../images/fiber-optic-1.webp') center/cover no-repeat;
    background-attachment: fixed;
}

.subscribe-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    border: 2px solid rgba(0, 163, 255, 0.3);
    box-shadow:
        0 0 50px rgba(0, 163, 255, 0.15),
        inset 0 0 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.subscribe-block:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow:
        0 10px 70px rgba(0, 163, 255, 0.25),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.subscribe-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subscribe-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   GHOST PORTAL — Subscribe Popup Theme Override
   ═══════════════════════════════════════════════ */

.gh-post-upgrade-cta-content,
.gh-post-upgrade-cta {
    background: var(--deep-black) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius) !important;
    color: var(--pure-white) !important;
}

.gh-post-upgrade-cta-content h2 {
    color: var(--pure-white) !important;
    font-family: var(--font-display) !important;
}

.gh-post-upgrade-cta-content .gh-btn {
    background: var(--accent-blue) !important;
    color: var(--pure-white) !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    transition: all 0.3s ease !important;
}

.gh-post-upgrade-cta-content .gh-btn:hover {
    background: var(--accent-hover) !important;
    box-shadow: var(--shadow-blue) !important;
}

/* Ghost Portal trigger button — slow breathing glow */
.gh-portal-triggerbtn-iframe {
    border-radius: 50% !important;
    animation: breathe-glow 4.5s ease-in-out infinite !important;
}

/* Subscribe block's primary button breathes too (scoped — not all primaries) */
.subscribe-block .btn--primary {
    animation: breathe-glow 4.5s ease-in-out infinite;
}

@keyframes breathe-glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(0, 113, 227, 0.35); }
    50% { box-shadow: 0 5px 38px rgba(0, 113, 227, 0.75); }
}

@media (prefers-reduced-motion: reduce) {
    .gh-portal-triggerbtn-iframe,
    .subscribe-block .btn--primary {
        animation: none;
        box-shadow: 0 5px 20px rgba(0, 113, 227, 0.4);
    }
}

/* Ghost notification bar */
.gh-notification {
    background: var(--deep-black) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--pure-white) !important;
}

/* Ghost search modal */
.sodo-search .sodo-search-modal {
    background: var(--deep-black) !important;
    border: 1px solid var(--glass-border) !important;
}

.sodo-search .sodo-search-input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--pure-white) !important;
    border-radius: var(--radius-sm) !important;
}


/* ═══════════════════════════════════════════════
   POST SINGLE PAGE — Immersive Reading
   ═══════════════════════════════════════════════ */

.post-full {
    padding-top: 7rem;
}

.post-header {
    max-width: var(--content-width);
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.post-header__inner {
    text-align: center;
}

.post-header__tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-header__tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--noble-gold);
    padding: 0.3rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.post-header__tag:hover {
    background: var(--noble-gold);
    color: var(--pure-black);
    border-color: var(--noble-gold);
}

.content-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-badge--podcast {
    background: linear-gradient(135deg, var(--noble-gold) 0%, var(--noble-gold-bright) 100%);
    color: var(--pure-black);
}
.content-badge--video {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-glow) 100%);
    color: var(--pure-white);
}
.content-badge--short {
    background: var(--accent-glow);
    color: var(--pure-black);
}

.post-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.post-header__excerpt {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.post-header__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.post-author__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-glow);
    padding: 2px;
}

.post-author__name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--pure-white);
}

.post-author__name:hover {
    color: var(--accent-glow);
}

.post-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.post-info__sep {
    color: rgba(255, 255, 255, 0.2);
}

/* Feature Image */
.post-feature-image {
    max-width: 960px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.post-feature-image img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

.post-feature-image figcaption {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--medium-gray);
    margin-top: 0.75rem;
    font-style: italic;
}


/* ═══════════════════════════════════════════════
   GHOST CONTENT — gh-content (Reading)
   ═══════════════════════════════════════════════ */

.post-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.gh-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
}

.gh-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin: 3.5rem 0 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.gh-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
}

.gh-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2.5rem 0 0.75rem;
}

.gh-content a {
    color: var(--accent-glow);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 163, 255, 0.4);
}

.gh-content a:hover {
    color: var(--pure-white);
    text-decoration-color: var(--pure-white);
}

.gh-content strong {
    font-weight: 600;
    color: var(--pure-white);
}

.gh-content blockquote {
    border-left: 3px solid var(--noble-gold);
    padding: 1rem 0 1rem 1.75rem;
    margin: 2.5rem 0;
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    line-height: 1.8;
}

.gh-content ul,
.gh-content ol {
    margin: 1.75rem 0;
    padding-left: 2rem;
}

.gh-content li {
    margin-bottom: 0.625rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.gh-content pre {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2.5rem 0;
    font-size: 0.875rem;
    line-height: 1.7;
    backdrop-filter: blur(10px);
}

.gh-content code {
    font-size: 0.875em;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.gh-content pre code {
    background: none;
    padding: 0;
}

.gh-content hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 3.5rem 0;
}

.gh-content img {
    border-radius: var(--radius-sm);
    margin: 2.5rem 0;
}

.gh-content figure {
    margin: 2.5rem 0;
}

.gh-content figcaption {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--medium-gray);
    margin-top: 0.625rem;
}

.gh-content .kg-width-wide {
    max-width: 960px;
    margin-left: calc(50% - 480px);
    margin-right: calc(50% - 480px);
}

.gh-content .kg-width-full {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.gh-content .kg-bookmark-card {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 2.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.gh-content .kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.gh-content .kg-bookmark-content {
    flex: 1;
    padding: 1.5rem;
}

.gh-content .kg-bookmark-title {
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.gh-content .kg-bookmark-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.gh-content .kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.gh-content .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}


/* ═══════════════════════════════════════════════
   POST FOOTER & TAGS
   ═══════════════════════════════════════════════ */

.post-footer {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.post-footer__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.tag-pill {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.4rem 1.125rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.tag-pill:hover {
    border-color: var(--accent-glow);
    color: var(--accent-glow);
    background: rgba(0, 163, 255, 0.08);
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════
   POST SUBSCRIBE CTA
   ═══════════════════════════════════════════════ */

.post-subscribe {
    background:
        linear-gradient(rgba(4, 4, 8, 0.2), rgba(4, 4, 8, 0.45)),
        url('../images/man-holo-1.webp') center/cover no-repeat;
    background-attachment: fixed;
    padding: 5rem 0;
}

.post-subscribe__inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 163, 255, 0.25);
    box-shadow: 0 0 40px rgba(0, 163, 255, 0.1);
}

.post-subscribe__logo {
    height: 180px;
    width: auto;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 10px 40px rgba(212, 175, 55, 0.3));
}

.post-subscribe__compass {
    width: min(320px, 85%);
    height: auto;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 10px 40px rgba(212, 175, 55, 0.3));
}

.subscribe-compass {
    display: block;
    width: min(340px, 85%);
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 10px 40px rgba(212, 175, 55, 0.3));
}

.post-subscribe__inner h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.post-subscribe__inner p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.pagination a {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--accent-glow);
    color: var(--accent-glow);
    background: rgba(0, 163, 255, 0.08);
    transform: translateY(-2px);
}

.pagination .page-number {
    font-size: 0.875rem;
    color: var(--medium-gray);
}


/* ═══════════════════════════════════════════════
   FOOTER — Professional, Matches Main Site
   ═══════════════════════════════════════════════ */

.site-footer {
    background: var(--pure-black);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── Footer Top: Brand + Social ─── */

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand { max-width: 420px; }

/* ─── Footer Grid: 4 columns ─── */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-list,
.footer-col .nav,
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li,
.footer-col .nav li,
.footer-col ul li {
    margin-bottom: 0.75rem;
    list-style: none;
}
.footer-list li a,
.footer-col .nav li a,
.footer-col ul li a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}
.footer-list li a:hover,
.footer-col .nav li a:hover,
.footer-col ul li a:hover {
    color: var(--accent-glow);
}

.footer-logo-link {
    display: block;
    transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-img {
    filter: drop-shadow(0 10px 40px rgba(0, 163, 255, 0.7)) brightness(1.1);
    transform: scale(1.05);
}

.footer-logo-img {
    height: 180px;
    width: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 5px 20px rgba(212, 175, 55, 0.25));
    transition: var(--transition);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ─── Social Icons (Blue Glow Circles) ─── */

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent-glow);
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
}

/* ─── Link Grid (Right) ─── */

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, max-content));
    gap: 3rem;
}

.footer-section {
    min-width: 0;
}

.footer-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--noble-gold);
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.footer-section .nav,
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .nav li,
.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section .nav li a,
.footer-section ul li a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .nav li a:hover,
.footer-section ul li a:hover {
    color: var(--accent-glow);
}

/* ─── Footer Bottom Bar ─── */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom-left p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.footer-trademark {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-powered a {
    color: var(--accent-glow);
    text-decoration: none;
}

.footer-powered a:hover {
    color: var(--pure-white);
}

.footer-apryl-logo {
    height: 30px;
    width: auto;
    border-radius: 6px;
    filter: brightness(0.9);
    transition: var(--transition);
}

.footer-apryl-logo:hover {
    filter: brightness(1.1) drop-shadow(0 4px 15px rgba(0, 163, 255, 0.5));
}

.footer-apryl {
    color: var(--noble-gold);
    font-weight: 600;
    letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .footer-top { flex-direction: column; align-items: center; text-align: center; }
    .footer-brand { max-width: 100%; }
    .footer-logo-img { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .nav-logo-name { font-size: 0.75rem; }

    .hero {
        background-attachment: scroll; /* Fix parallax on mobile */
    }

    .hero-logo { height: 240px; }
    .about-logo { height: 180px; }
    .post-subscribe__logo { height: 140px; }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

    .hero-inner {
        padding: 8rem 1.5rem 6rem;
    }

    .section {
        padding: 5rem 0;
    }

    .section--podcast,
    .section--about,
    .section--subscribe,
    .post-subscribe {
        background-attachment: scroll;
    }

    .section-inner {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center;
    }

    .footer-powered {
        justify-content: center;
    }

    .post-header__title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .gh-content .kg-width-wide {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .subscribe-block {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0.5rem 1rem;
    }

    .nav-logo-img {
        height: 70px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .about-social {
        gap: 0.75rem;
    }

    .about-logo {
        height: 80px;
    }
}

/* ═══════════════════════════════════════════════
   TOUCH DEVICES — kill fixed backgrounds entirely
   iOS Safari renders fixed backgrounds at viewport
   scale which causes extreme zoom / blur
   ═══════════════════════════════════════════════ */
@media (hover: none) {
    .hero,
    .section--podcast,
    .section--about,
    .section--subscribe,
    .post-subscribe {
        background-attachment: scroll !important;
    }
}

/* ═══════════════════════════════════════════════
   LANDSCAPE PHONES — reveal the full scene
   ═══════════════════════════════════════════════ */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        min-height: 100svh;
        background-position: center 40%;
        background-size: cover;
    }

    .hero-logo {
        height: 120px;
    }

    .hero-inner {
        padding: 5rem 2rem 3rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .hero-actions .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ═══════════════════════════════════════════════
   PORTRAIT PHONES — show most interesting slice
   ═══════════════════════════════════════════════ */
@media (orientation: portrait) and (max-width: 768px) {
    .hero {
        background-position: 35% center;
    }
}

/* ═══════════════════════════════════════════════
   TOPIC TABS — pill navigation across content tags
   ═══════════════════════════════════════════════ */
.topic-tabs {
    padding: 0 2rem;
}

.topic-tabs__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: fit-content;
    margin: 0 auto 3rem;
}

.topic-tab {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.35rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
}

.topic-tab:hover {
    border-color: var(--accent-glow);
    color: var(--pure-white);
}

.topic-tabs[data-active="all"] .topic-tab[data-slug="all"],
.topic-tabs[data-active="ai"] .topic-tab[data-slug="ai"],
.topic-tabs[data-active="tech-innovation"] .topic-tab[data-slug="tech-innovation"],
.topic-tabs[data-active="markets"] .topic-tab[data-slug="markets"],
.topic-tabs[data-active="policy"] .topic-tab[data-slug="policy"],
.topic-tabs[data-active="security"] .topic-tab[data-slug="security"],
.topic-tabs[data-active="human-development"] .topic-tab[data-slug="human-development"] {
    background: linear-gradient(135deg, var(--noble-gold), var(--noble-gold-light));
    color: var(--pure-black);
    font-weight: 700;
    border-color: transparent;
}

@media (max-width: 640px) {
    .topic-tabs__inner {
        max-width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .topic-tabs__inner::-webkit-scrollbar {
        display: none;
    }
}
