/* ===================================================================
   Hmmnm Homepage CSS — Consolidated v1
   Deployed as homepage-v50.css (2026-09-29): renamed from v46 so
   browsers holding the pre-v48 CSS (cached 1yr, no query-string
   busting on this host) fetch this file. Content identical to the
   final homepage-v46.css (sections through v49).
   =================================================================== */

/* ---------- Base Reset ---------- */
html, body, #outer-wrap, #wrap, .hmmnm-home {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
#outer-wrap, #wrap { width: 100% !important; }

.hmmnm-home {
    background: #020617 !important;
    color: #e2e8f0 !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.hmmnm-home * { box-sizing: border-box; }
.hmmnm-home .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Reading Progress Bar ---------- */
.reading-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, #6366f1, #a855f7, #6366f1);
    background-size: 200% 100%;
    animation: progressShimmer 2s linear infinite;
    z-index: 99999; transition: width 0.1s linear;
}
@keyframes progressShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Hero ---------- */
.home-hero {
    position: relative; height: 75vh; min-height: 500px;
    max-height: 800px; overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover;
    background-position: center; opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide.slide-exit { opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active img { transition: transform 6s ease-out; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(2,6,23,0.4) 0%, rgba(2,6,23,0.7) 60%, rgba(2,6,23,0.95) 100%);
}
.hero-particles {
    position: absolute; inset: 0; z-index: 2;
    pointer-events: none; opacity: 0.6;
}
.home-hero .hero-content {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    padding: 0 32px 0;
}
.hero-text-row {
    background: linear-gradient(90deg, rgba(2,6,23,0.85) 0%, rgba(15,23,42,0.75) 50%, rgba(2,6,23,0.85) 100%);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99,102,241,0.1); border-bottom: none;
    border-radius: 20px 20px 0 0; padding: 20px 36px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero-text-left { flex: 1; min-width: 0; }

.home-hero .hero-title {
    font-size: 3.2rem; font-weight: 900; line-height: 1.2;
    color: #f1f5f9 !important; margin-bottom: 6px; letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.home-hero .hero-subtitle {
    font-size: 1.6rem; color: #94a3b8 !important;
    line-height: 1.6; margin-bottom: 0; max-width: 100%;
}
.home-hero .hero-content .btn {
    display: inline-flex; align-items: center; flex-shrink: 0;
    border-radius: 10px; padding: 14px 32px; font-size: 1.1rem; white-space: nowrap;
}

/* Hero nav */
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    background: rgba(15,23,42,0.6); backdrop-filter: blur(8px);
    border: 1px solid rgba(99,102,241,0.2); color: #e2e8f0;
    width: 44px; height: 44px; border-radius: 50%; font-size: 18px;
    cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-nav:hover { background: rgba(99,102,241,0.3); border-color: rgba(99,102,241,0.5); }

/* Hero dots */
.hero-dots {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    z-index: 4; display: flex; gap: 8px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; }
.dot.active { background: #6366f1; width: 24px; border-radius: 4px; }

/* ---------- About ---------- */
.home-about {
    padding: 28px 0; background: #0f172a; overflow-x: hidden; position: relative;
}
.home-about .container {
    text-align: center !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
}
.about-text {
    font-size: 2rem !important; line-height: 1.85; color: #94a3b8 !important;
    text-align: center !important; max-width: 800px; margin: 0 auto; width: 100%; box-sizing: border-box;
    padding-left: 0 !important; padding-right: 0 !important;
    animation: aboutSlideIn 1s ease-out both;
}
@keyframes aboutSlideIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.home-about::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 300%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,0.03) 25%, rgba(139,92,246,0.05) 50%, rgba(99,102,241,0.03) 75%, transparent 100%);
    animation: aboutShimmer 8s linear infinite;
}
@keyframes aboutShimmer { 0% { transform: translateX(-33.33%); } 100% { transform: translateX(33.33%); } }
.home-about::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 200px; height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
}
.about-text strong { color: #e2e8f0 !important; font-weight: 700; }

/* ---------- Stats Bar ---------- */
.home-stats {
    padding: 30px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative; overflow: hidden;
}
.home-stats::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.05), transparent);
    animation: statsGlow 4s ease-in-out infinite;
}
@keyframes statsGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 16px 0; }
.stat-number {
    display: block; font-size: 2.5rem; font-weight: 900;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1.2; margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: #64748b; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
    font-size: 1.8rem; font-weight: 800; color: #f1f5f9 !important;
    margin-bottom: 12px; position: relative; display: inline-block;
}
.section-line {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 2px; margin: 0 auto; animation: linePulse 3s ease-in-out infinite;
}
@keyframes linePulse { 0%, 100% { width: 60px; opacity: 1; } 50% { width: 100px; opacity: 0.7; } }

/* ---------- Featured Posts Slider ---------- */
.home-featured { padding: 40px 0; background: #020617; overflow-x: hidden; }
.home-featured .container { max-width: 100% !important; overflow-x: hidden !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box !important; }
.post-slider-wrap { position: relative; overflow: hidden; max-width: 100% !important; }
.post-slider { display: flex !important; flex-wrap: nowrap !important; will-change: transform; max-width: 100% !important; }
.post-slide { flex: 0 0 calc(100% / 3); min-width: 0; max-width: calc(100% / 3); padding: 0 12px; box-sizing: border-box; }
.post-slide-card {
    display: flex; flex-direction: column;
    background: rgba(15,23,42,0.7); border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px; overflow: hidden; text-decoration: none; color: #e2e8f0;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1); height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 1px rgba(99,102,241,0.1);
}
.post-slide-card:hover {
    transform: translateY(-6px); border-color: rgba(99,102,241,0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(99,102,241,0.15);
}
.post-slide-img { position: relative; overflow: hidden; height: 180px; }
.post-slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-slide-card:hover .post-slide-img img { transform: scale(1.08); }
.post-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2,6,23,0.8) 100%);
}
.post-slide-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-slide-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-shrink: 0; }
.featured-cat {
    font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
    background: rgba(99,102,241,0.15); color: #a5b4fc;
    padding: 4px 10px; border-radius: 20px; font-weight: 600;
}
.post-date { font-size: 1rem; color: #64748b; }
.featured-title {
    font-size: 1.8rem; font-weight: 700; color: #f1f5f9 !important;
    line-height: 1.4; margin-bottom: 10px; flex-shrink: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-excerpt {
    font-size: 1.3rem; color: #94a3b8; line-height: 1.65; margin-bottom: 14px;
    flex: 1; min-height: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more { font-size: 1.3rem; color: #6366f1; font-weight: 600; margin-top: auto; transition: all 0.3s; }
.read-more:hover { color: #a855f7; transform: translateX(4px); display: inline-block; }

/* ---------- Category Post Cards (pt_view — single consolidated block) ---------- */

/* Card container — high specificity to override pt_view cv.css */
.hmmnm-home .pt-cv-page .pt-cv-content-item,
.hmmnm-home .pt-cv-colsys .pt-cv-content-item {
    background: rgba(15,23,42,0.7) !important;
    border: 1px solid rgba(99,102,241,0.25) !important;
    border-radius: 20px !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1) !important;
    float: none !important;
    clear: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 1px rgba(99,102,241,0.1) !important;
}
.hmmnm-home .pt-cv-page .pt-cv-content-item:hover,
.hmmnm-home .pt-cv-colsys .pt-cv-content-item:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(99,102,241,0.4) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(99,102,241,0.15) !important;
}

/* Image field — let it grow with content */
.hmmnm-home .pt-cv-ifield {
    position: relative !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    flex-shrink: 0 !important;
}
/* Image link wrapper — fixed height for cover */
.hmmnm-home .pt-cv-ifield .pt-cv-href-thumbnail {
    display: block !important;
    height: 220px !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
    position: relative !important;
}
.hmmnm-home .pt-cv-ifield img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.5s !important;
}
.hmmnm-home .pt-cv-page .pt-cv-content-item:hover .pt-cv-ifield img,
.hmmnm-home .pt-cv-colsys .pt-cv-content-item:hover .pt-cv-ifield img { transform: scale(1.08) !important; }
.hmmnm-home .pt-cv-ifield::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2,6,23,0.8) 100%);
    pointer-events: none;
}

/* Card title */
.hmmnm-home .pt-cv-title {
    font-size: 1.8rem !important; font-weight: 700 !important;
    color: #f1f5f9 !important; line-height: 1.4 !important;
    margin-bottom: 10px !important; padding: 14px 16px 0 16px !important;
    display: block !important; visibility: visible !important;
}
.hmmnm-home .pt-cv-title a {
    color: #f1f5f9 !important; text-decoration: none !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hmmnm-home .pt-cv-title a:hover { color: #a5b4fc !important; }

/* Card excerpt */
.hmmnm-home .pt-cv-content {
    font-size: 1.3rem !important; color: #94a3b8 !important;
    line-height: 1.65 !important; padding: 0 16px !important;
    margin-bottom: 0 !important;
    display: flex !important; flex-direction: column !important;
    overflow: visible !important;
    visibility: visible !important;
    flex: 1 1 auto !important;
}

/* Card read more */
.hmmnm-home .pt-cv-rmwrap { margin-top: auto !important; padding: 8px 16px 16px 16px !important; overflow: visible !important; }
.hmmnm-home .pt-cv-readmore {
    font-size: 1.1rem !important; color: #fff !important;
    font-weight: 600 !important; padding: 8px 20px !important;
    margin-top: auto !important; text-decoration: none !important;
    transition: all 0.3s !important;
    display: inline-block !important; visibility: visible !important;
    background: #10b981 !important; border-radius: 8px !important;
    align-self: flex-start !important;
}
.hmmnm-home .pt-cv-readmore:hover {
    background: #059669 !important; color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3) !important;
}

/* Hide pt_view pagination on homepage */
.hmmnm-home .pt-cv-pagination-wrapper,
.hmmnm-home .pt-cv-pagination,
.hmmnm-home .pt-cv-pgloadmore { display: none !important; }

/* Card meta */
.hmmnm-home .pt-cv-meta-text,
.hmmnm-home .pt-cv-meta-date,
.hmmnm-home .pt-cv-left,
.hmmnm-home .pt-cv-right,
.hmmnm-home .pt-cv-ctf {
    color: #64748b !important; font-size: 1rem !important;
}

/* pt_view layout overrides */
.hmmnm-home .pt-cv-viewstyle-block .pt-cv-content-item {
    padding: 0 !important; border: none !important;
    background: none !important; margin: 0 !important;
}
.hmmnm-home .pt-cv-wrapper { max-width: 100%; overflow: hidden; width: 100% !important; }
.hmmnm-home .pt-cv-colsys,
.hmmnm-home .pt-cv-colsys .row { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; overflow-x: hidden !important; }
.hmmnm-home .pt-cv-view { width: 100% !important; overflow-x: hidden !important; }
.hmmnm-home .home-category .container { overflow-x: hidden !important; max-width: 100% !important; width: auto !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box !important; }
.hmmnm-home .pt-cv-page {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    margin: 0 !important; padding: 0 !important;
    width: 100% !important; min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

/* Neutralize pt_view Bootstrap column classes inside homepage */
.hmmnm-home .col-xs-12,
.hmmnm-home .col-sm-6,
.hmmnm-home .col-md-3,
.hmmnm-home .col-md-4,
.hmmnm-home .col-md-6,
.hmmnm-home .col-md-12,
.hmmnm-home .col-lg-3,
.hmmnm-home .col-lg-4,
.hmmnm-home .col-lg-6 {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
    overflow: hidden !important;
}
.hmmnm-home .pt-cv-content-item img {
    display: block !important; max-width: 100% !important; visibility: visible !important;
}

/* 2-column pt_view sections */
.hmmnm-home .pt-cv-page[data-cvc="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* ---------- Category Sections ---------- */
.home-category { padding: 30px 0; background: #0f172a; transition: background 0.3s; overflow: hidden; }
.home-category.alt-bg { background: #020617; }
.category-header {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 24px; position: relative;
}
.category-header::after {
    content: ''; position: absolute; bottom: -16px; left: 0;
    width: 80px; height: 2px; background: linear-gradient(90deg, #6366f1, transparent);
}
.category-icon { font-size: 2.5rem; animation: iconFloat 3s ease-in-out infinite; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.category-header > div { flex: 1; }
.category-title { font-size: 1.6rem; font-weight: 800; color: #f1f5f9 !important; margin-bottom: 4px; }
.category-desc { font-size: 0.9rem; color: #64748b !important; margin: 0; }
.category-view-all {
    font-size: 0.85rem; color: #6366f1 !important; text-decoration: none !important;
    font-weight: 600; padding: 8px 20px;
    border: 1px solid rgba(99,102,241,0.3); border-radius: 20px;
    transition: all 0.3s !important; white-space: nowrap;
    flex-shrink: 0; position: relative; overflow: hidden;
}
.category-view-all:hover {
    background: rgba(99,102,241,0.1) !important;
    border-color: #6366f1 !important; color: #a5b4fc !important;
}

/* ---------- CTA Section ---------- */
.home-cta {
    padding: 50px 0;
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
    text-align: center; position: relative; overflow: hidden;
}
.home-cta::before {
    content: ''; position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    top: -200px; right: -100px; border-radius: 50%; animation: ctaOrb 6s ease-in-out infinite;
}
.home-cta::after {
    content: ''; position: absolute; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(168,85,247,0.1), transparent 70%);
    bottom: -150px; left: -50px; border-radius: 50%; animation: ctaOrb 8s ease-in-out infinite reverse;
}
@keyframes ctaOrb { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } }
.cta-title {
    font-size: 2rem; font-weight: 800; color: #f1f5f9 !important;
    margin-bottom: 12px; position: relative; z-index: 1;
}
.cta-subtitle {
    font-size: 1rem; color: #94a3b8 !important; margin-bottom: 28px;
    position: relative; z-index: 1;
}
.home-cta .btn { position: relative; z-index: 1; }

/* ---------- Buttons Global ---------- */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #fff !important; border: none !important;
    border-radius: 12px !important; padding: 14px 36px !important;
    font-weight: 600 !important; font-size: 1.15rem !important;
    cursor: pointer; transition: all 0.3s !important;
    text-decoration: none !important; display: inline-block;
    position: relative; overflow: hidden;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4) !important;
}
.btn-lg { padding: 16px 40px !important; font-size: 1.25rem !important; border-radius: 16px !important; }

/* ---------- Ripple Effect ---------- */
.ripple-effect {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.3); transform: scale(0);
    animation: rippleAnim 0.6s ease-out; pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px; z-index: 9999;
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; border: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(20px); transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(99,102,241,0.5); }
.btt-arrow { font-size: 16px; line-height: 1; }
.btt-pct { font-size: 10px; font-weight: 700; margin-top: -1px; }

/* ---------- Fade-in on scroll ---------- */
.fade-section { opacity: 1 !important; }
.fade-section.fade-visible { opacity: 1 !important; }
.fade-section .pt-cv-page .pt-cv-content-item { opacity: 1 !important; }
.fade-section .post-slide {
    opacity: 1 !important; flex: 0 0 calc(100% / 3);
    min-width: 0; padding: 0 8px;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.fade-section.fade-visible .pt-cv-page .pt-cv-content-item,
.fade-section.fade-visible .post-slide { opacity: 1 !important; }

/* ---------- Section Dividers ---------- */
.home-featured::before,
.home-category::before,
.home-cta::before {
    content: ''; display: block; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), transparent);
    margin-bottom: 0;
}

/* ================================================================
   RESPONSIVE — Desktop Large (≤1200px)
   3 cards per row, slightly tighter
   ================================================================ */
@media (max-width: 1200px) {
    .home-hero .hero-title { font-size: 2.8rem; }
    .home-hero .hero-subtitle { font-size: 1.1rem; }
    .hero-text-row { padding: 18px 28px; gap: 16px; }
    .post-slide { padding: 0 8px; }
    .post-slide-img { height: 170px; }
    .featured-title { font-size: 1.6rem; }
    .post-excerpt { font-size: 1.15rem; }
}

/* ================================================================
   RESPONSIVE — Tablet (≤1024px)
   2 cards per row, hero adapts
   ================================================================ */
@media (max-width: 1024px) {
    .home-hero { min-height: 100vh; max-height: none; }
    .home-hero .hero-title { font-size: 2.4rem; }
    .home-hero .hero-subtitle { font-size: 1rem; }
    .hero-text-row { padding: 18px 24px; gap: 14px; border-radius: 16px 16px 0 0; }
    .home-hero .hero-content .btn { padding: 12px 28px; font-size: 1rem; }

    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .stat-number { font-size: 2rem; }

    .post-slide { flex: 0 0 50%; flex-wrap: nowrap !important; min-width: 0; max-width: 50%; padding: 0 8px; }
    .post-slide-card { min-height: 400px; }
    .post-slide-img { height: 180px; }
    .featured-title { font-size: 1.5rem; }
    .post-excerpt { font-size: 1.1rem; }
    .post-slide-info { padding: 16px; }

    .hmmnm-home .pt-cv-page,
    .hmmnm-home .pt-cv-page[data-cvc="2"],
    .hmmnm-home .pt-cv-page[data-cvc="3"],
    .hmmnm-home .pt-cv-page[data-cvc="4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ================================================================
   RESPONSIVE — Mobile (≤768px)
   1 card per row (horizontal layout: image left, text right)
   ================================================================ */
@media (max-width: 768px) {
    /* Hero — M1 fix: reduce from 100vh to 70vh so content is visible */
    .home-hero { min-height: 70vh; max-height: none; }
    .home-hero .hero-content { padding: 0 16px 0; }
    .hero-text-row {
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 20px; border-radius: 16px 16px 0 0;
    }
    .home-hero .hero-title { font-size: 2rem; }
    .home-hero .hero-subtitle { font-size: 0.95rem; }
    .home-hero .hero-content .btn {
        padding: 14px 32px; font-size: 1rem; text-align: center;
        justify-content: center; width: 100%;
    }
    .hero-nav { display: none; }
    .hero-dots { bottom: 12px; }
    .hero-particles { display: none; }

    /* About */
    .about-text { font-size: 1.6rem !important; line-height: 1.7; }
    .home-about { padding: 24px 0; }
    .home-about .container { text-align: center !important; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 1.8rem; }
    .home-stats { padding: 24px 0; }

    /* Section */
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: 1.5rem; }

    /* Post slider: 1 per row — horizontal card layout */
    .home-featured { padding: 32px 0; }
    .post-slider-wrap { overflow: hidden !important; }
    .post-slide {
        flex: 0 0 100% !important; min-width: 100% !important; max-width: 100% !important;
        padding: 0 6px;
    }
    .post-slide-card {
        min-height: auto;
        flex-direction: row;
        border-radius: 16px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
    .post-slide-img {
        width: 45%; height: auto; min-height: 200px;
        flex-shrink: 0;
    }
    .post-slide-overlay { display: none; }
    .post-slide-info { padding: 18px; flex: 1; justify-content: center; }
    .featured-cat { font-size: 0.75rem; padding: 3px 8px; }
    .post-date { font-size: 0.8rem; }
    .featured-title { font-size: 1.2rem; margin-bottom: 6px; }
    .post-excerpt { font-size: 0.95rem; -webkit-line-clamp: 2; margin-bottom: 10px; }
    .read-more { font-size: 0.95rem; }
    .post-slide-meta { gap: 8px; margin-bottom: 8px; }

    /* Fade-in */
    .fade-section .post-slide {
        flex: 0 0 100% !important; min-width: 100% !important; max-width: 100% !important;
        padding: 0 6px;
    }

    /* Category cards: 1 per row */
    .hmmnm-home .pt-cv-page,
    .hmmnm-home .pt-cv-page[data-cvc="2"],
    .hmmnm-home .pt-cv-page[data-cvc="3"],
    .hmmnm-home .pt-cv-page[data-cvc="4"] { grid-template-columns: 1fr !important; }
    .hmmnm-home .pt-cv-content-item,
    .hmmnm-home .col-md-3,
    .hmmnm-home .col-md-6,
    .hmmnm-home .col-sm-6 {
        float: none !important; width: 100% !important; max-width: 100% !important;
        margin-left: 0 !important; margin-right: 0 !important;
        padding-left: 10px !important; padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    .category-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .category-view-all { align-self: flex-start; }
    .home-category { padding: 32px 0; }

    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ================================================================
   RESPONSIVE — Small Mobile (≤480px)
   1 card per row (vertical layout: image top, text bottom)
   ================================================================ */
@media (max-width: 480px) {
    /* Hero */
    .home-hero .hero-title { font-size: 1.65rem; }
    .home-hero .hero-subtitle { font-size: 0.88rem; line-height: 1.5; }
    .hero-text-row { padding: 16px; gap: 12px; border-radius: 14px 14px 0 0; }
    .home-hero .hero-content .btn { padding: 12px 24px; font-size: 0.95rem; }

    /* About */
    .about-text { font-size: 1.4rem !important; }
    .home-about { padding: 20px 0; }
    .home-about .container { text-align: center !important; }

    /* Stats */
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.75rem; }
    .stats-grid { gap: 12px; }
    .home-stats { padding: 20px 0; }

    /* Section */
    .section-header { margin-bottom: 24px; }
    .section-title { font-size: 1.3rem; }

    /* Post slider: vertical card — image on top */
    .home-featured { padding: 24px 0; }
    .post-slide { padding: 0 4px; flex: 0 0 100% !important; min-width: 0 !important; max-width: 100% !important; }
    .post-slide-card {
        flex-direction: column;
        border-radius: 14px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .post-slide-img { width: 100%; min-height: 180px; max-height: 200px; }
    .post-slide-info { padding: 14px 16px; }
    .featured-cat { font-size: 0.7rem; padding: 2px 7px; }
    .post-date { font-size: 0.75rem; }
    .featured-title { font-size: 1.1rem; }
    .post-excerpt { font-size: 0.88rem; -webkit-line-clamp: 2; }
    .read-more { font-size: 0.88rem; }

    /* Category */
    .category-icon { font-size: 2rem; }
    .category-title { font-size: 1.5rem; }
    .category-view-all { padding: 6px 16px; font-size: 0.9rem; }
    .home-category { padding: 24px 0; }

    /* CTA */
    .home-cta { padding: 32px 0; }
    .cta-title { font-size: 1.3rem; }
    .btn-lg { padding: 12px 28px !important; font-size: 0.9rem !important; }
}

/* ================================================================
   RESPONSIVE — Small Phone (≤390px) — iPhone 13/14/15
   ================================================================ */
@media (max-width: 390px) {
    .hmmnm-home .container { padding: 0 12px; }
    .home-hero .hero-title { font-size: 1.45rem; }
    .home-hero .hero-subtitle { font-size: 0.82rem; }
    .hero-text-row { padding: 12px; }
    .about-text { font-size: 1.25rem !important; }
    .section-title { font-size: 1.15rem; }
    .home-about .container { text-align: center !important; }

    /* Post slider */
    .post-slide { padding: 0 3px; }
    .post-slide-card { max-width: 100%; border-radius: 12px; }
    .post-slide-img { min-height: 160px; max-height: 180px; }
    .post-slide-info { padding: 12px 14px; }
    .featured-title { font-size: 1rem; }
    .post-excerpt { font-size: 0.82rem; -webkit-line-clamp: 2; }
    .read-more { font-size: 0.82rem; }

    /* Category cards */
    .hmmnm-home .pt-cv-content-item,
    .hmmnm-home .col-md-3,
    .hmmnm-home .col-md-6,
    .hmmnm-home .col-sm-6 {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    .hmmnm-home .pt-cv-ifield { border-radius: 10px; }
    .hmmnm-home .pt-cv-title { font-size: 0.95rem !important; }
    .hmmnm-home .pt-cv-content { font-size: 0.8rem !important; }
    .category-icon { font-size: 1.8rem; }
    .category-title { font-size: 1.3rem; }

    /* Stats */
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.7rem; }
}

/* ================================================================
   FIX: Mobile hamburger on homepage — force visibility
   ================================================================ */
@media (max-width: 959px) {
    body.home #site-header {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    body.home .oceanwp-mobile-menu-icon {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 10001 !important;
    }
    body.home .oceanwp-mobile-menu-icon a.mobile-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 107, 107, 0.9) !important;
        border-radius: 10px !important;
        color: #fff !important;
        font-size: 20px !important;
    }
    body.home .oceanwp-mobile-menu-icon .oceanwp-text,
    body.home .oceanwp-mobile-menu-icon .oceanwp-close-text {
        display: none !important;
    }
}

/* ================================================================
   RESPONSIVE — Mobile image & card sizing fixes
   ================================================================ */
@media (max-width: 768px) {
    /* Category cards: reduce image height */
    .hmmnm-home .pt-cv-ifield .pt-cv-href-thumbnail {
        height: 180px !important;
    }
}

@media (max-width: 480px) {
    /* Category cards: further reduce image height */
    .hmmnm-home .pt-cv-ifield .pt-cv-href-thumbnail {
        height: 160px !important;
        border-radius: 16px 16px 0 0 !important;
    }
    .hmmnm-home .pt-cv-content-item {
        border-radius: 16px !important;
    }
    /* Post slider image: tighter */
    .post-slide-img {
        min-height: 140px !important;
        max-height: 160px !important;
    }
}

@media (max-width: 390px) {
    /* Category cards: compact for iPhone 13/14/15 */
    .hmmnm-home .pt-cv-ifield .pt-cv-href-thumbnail {
        height: 140px !important;
        border-radius: 12px 12px 0 0 !important;
    }
    .hmmnm-home .pt-cv-content-item {
        border-radius: 12px !important;
    }
    .hmmnm-home .pt-cv-title {
        font-size: 0.95rem !important;
    }
    .hmmnm-home .pt-cv-content {
        font-size: 0.82rem !important;
    }
    .hmmnm-home .pt-cv-readmore {
        font-size: 0.9rem !important;
    }
    /* Post slider: even more compact */
    .post-slide-img {
        min-height: 120px !important;
        max-height: 140px !important;
    }
    .post-slide-info {
        padding: 10px 12px !important;
    }
    .featured-title {
        font-size: 1rem !important;
    }
    .post-excerpt {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }
}



/* ================================================================
   MOBILE FIX: Card sizing for Safari/iOS compatibility
   Targeted rules — no wildcards that leak into wp-admin.
   ================================================================ */
@media (max-width: 959px) {
    .hmmnm-home .post-slider-wrap,
    .hmmnm-home .post-slider {
        width: 100%;
        max-width: 100%;
    }
    .hmmnm-home .post-slide {
        flex: 0 0 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 8px !important;
    }
    .hmmnm-home .post-slide-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-direction: column !important;
    }
    .hmmnm-home .post-slide-img {
        width: 100% !important;
        min-width: 0 !important;
        height: 160px !important;
    }
    .hmmnm-home .post-slide-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .hmmnm-home .post-slide-info {
        width: 100% !important;
        min-width: 0 !important;
    }
    .hmmnm-home .featured-title,
    .hmmnm-home .post-excerpt,
    .hmmnm-home .read-more,
    .hmmnm-home .featured-cat,
    .hmmnm-home .post-date {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hmmnm-home .pt-cv-content-item,
    .hmmnm-home .pt-cv-colsys,
    .hmmnm-home [class*="col-"] {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .hmmnm-home .pt-cv-ifield,
    .hmmnm-home .pt-cv-ifield img,
    .hmmnm-home .pt-cv-thumb-wrapper {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .hmmnm-home .pt-cv-title,
    .hmmnm-home .pt-cv-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hmmnm-home .related-posts .post-slide-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ================================================================
   RESPONSIVE — Large Screens (≥1440px)
   ================================================================ */
@media (min-width: 1440px) {
    .hmmnm-home .container { max-width: 1340px; padding: 0 32px; }
    .home-hero .hero-title { font-size: 3.6rem; }
    .home-hero .hero-subtitle { font-size: 1.8rem; }
    .hero-text-row { padding: 24px 48px; gap: 28px; }
    .stats-grid { gap: 32px; }
    .stat-number { font-size: 2.6rem; }
    .section-title { font-size: 2rem; }
    .post-slide { flex: 0 0 25%; max-width: 25%; padding: 0 14px; }
    .post-slide-card { min-height: 420px; }
    .post-slide-img { height: 220px; }
    .post-slide-info { padding: 22px; }
    .featured-title { font-size: 1.4rem; }
    .about-text { font-size: 2.2rem; }
    .category-title { font-size: 2rem; }
    .category-desc { font-size: 1.4rem; }
}

/* ================================================================
   RESPONSIVE — Ultra-Wide (≥1920px)
   ================================================================ */
@media (min-width: 1920px) {
    .hmmnm-home .container { max-width: 1500px; padding: 0 40px; }
    .home-hero { max-height: 900px; }
    .home-hero .hero-title { font-size: 4rem; }
    .home-hero .hero-subtitle { font-size: 2rem; }
    .hero-text-row { padding: 28px 56px; gap: 32px; }
    .home-hero .hero-content .btn { padding: 16px 40px; font-size: 1.2rem; }
    .stats-grid { gap: 40px; }
    .stat-number { font-size: 3rem; }
    .stat-label { font-size: 1.4rem; }
    .section-title { font-size: 2.2rem; }
    .post-slide { flex: 0 0 25%; max-width: 25%; padding: 0 16px; }
    .post-slide-card { min-height: 480px; }
    .post-slide-img { height: 260px; }
    .post-slide-info { padding: 26px; }
    .featured-title { font-size: 1.6rem; }
    .post-excerpt { font-size: 1.3rem; }
    .about-text { font-size: 2.4rem; }
    .category-title { font-size: 2.2rem; }
    .category-desc { font-size: 1.5rem; }
    .home-category { padding: 50px 0; }
    .home-featured { padding: 50px 0; }
    .home-stats { padding: 50px 0; }
}

/* ================================================================
   RESPONSIVE — 4K / Ultra-Wide (≥2560px)
   ================================================================ */
@media (min-width: 2560px) {
    .hmmnm-home .container { max-width: 1800px; padding: 0 48px; }
    .home-hero { max-height: 1000px; min-height: 700px; }
    .home-hero .hero-title { font-size: 5rem; }
    .home-hero .hero-subtitle { font-size: 2.4rem; }
    .hero-text-row { padding: 36px 72px; gap: 40px; }
    .home-hero .hero-content .btn { padding: 18px 48px; font-size: 1.4rem; }
    .stats-grid { gap: 48px; }
    .stat-number { font-size: 3.6rem; }
    .stat-label { font-size: 1.6rem; }
    .section-title { font-size: 2.6rem; }
    .section-line { height: 4px; }
    .post-slide { flex: 0 0 25%; max-width: 25%; padding: 0 18px; }
    .post-slide-card { min-height: 540px; border-radius: 24px; }
    .post-slide-img { height: 300px; }
    .post-slide-info { padding: 30px; }
    .featured-title { font-size: 1.8rem; }
    .featured-cat { font-size: 0.9rem; }
    .post-excerpt { font-size: 1.4rem; }
    .read-more { font-size: 1.4rem; }
    .about-text { font-size: 2.8rem; }
    .category-title { font-size: 2.6rem; }
    .category-desc { font-size: 1.7rem; }
    .category-icon { font-size: 2.8rem; }
    .category-view-all { font-size: 1.3rem; }
    .home-category { padding: 64px 0; }
    .home-featured { padding: 64px 0; }
    .home-stats { padding: 64px 0; }
    .home-about { padding: 48px 0; }

    /* Category grid: 4 columns on 4K */
    .hmmnm-home .pt-cv-page { grid-template-columns: repeat(4, 1fr) !important; gap: 32px !important; }

    /* Card sizes scale up */
    .hmmnm-home .pt-cv-title { font-size: 1.6rem !important; }
    .hmmnm-home .pt-cv-content { font-size: 1.4rem !important; }
    .hmmnm-home .pt-cv-readmore { font-size: 1.2rem !important; padding: 10px 24px !important; }
    .hmmnm-home .pt-cv-thumbnail { height: 260px !important; }
}

/* ================================================================
   v37 (2026-08-30): Featured slider — card images now fit
   The 1024x512 featured artwork was forced into a ~1.25:1 box and
   object-fit:cover cropped ~38% of it horizontally. The image area
   now follows the artwork's 2:1 ratio. !important beats the fixed
   heights above (180/170px) and any height/aspect injected inline
   by optimizers. Titles get a 2-line reserve so they never clip.
   ================================================================ */
.post-slider-wrap .post-slide .post-slide-img {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2 / 1 !important;
}
.post-slider-wrap .post-slide-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
}
.post-slider-wrap .featured-title {
    min-height: 2.85em;
    flex-shrink: 0;
}

/* ================================================================
   v38 (2026-08-30): readability/contrast — deep-review fix
   .post-date rendered at 10px #64748b on dark cards (~3.5:1, AA fail).
   !important beats whatever inflates the base rules (same mystery
   override seen with .post-slide-img heights).
   ================================================================ */
.post-slider-wrap .post-date {
    font-size: 12px !important;
    color: #94a3b8 !important;
}
.post-slider-wrap .post-excerpt {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* ============================================================
   v40 additions — 2026-09-24 review fixes
   ============================================================ */

/* Back-to-top: previously had no CSS at all, so the button sat
   in the page flow under "Browse All Posts" showing a cryptic "0".
   Fixed pill, hidden until the reader has scrolled. */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 9999;
    display: flex; align-items: center; gap: 5px;
    padding: 10px 14px;
    border: 1px solid rgba(99,102,241,0.45); border-radius: 10px;
    background: rgba(10,15,30,0.92); color: #c7d2fe;
    font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    box-shadow: 0 4px 18px rgba(2,6,23,0.5);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: rgba(129,140,248,0.75); color: #e0e7ff; }
.back-to-top:focus-visible { outline: 2px solid #818cf8; outline-offset: 2px; }
.back-to-top .btt-arrow { font-size: 15px; }
.back-to-top .btt-pct {
    font-size: 12px; color: #a5b4fc; min-width: 3ch; text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Hero dots are real <button>s now: strip UA button chrome so the
   pill/round dot look from .dot above is preserved. */
.hero-dots .dot {
    -webkit-appearance: none; appearance: none;
    border: 0; padding: 0; margin: 0; font: inherit;
}
.hero-dots .dot:focus-visible { outline: 2px solid #818cf8; outline-offset: 3px; }

/* ================================================================
   v41 (2026-09-28): post-card vertical rhythm — normalize alignment.
   Titles clamp at 2 lines but had no reserved height (1-line titles
   shifted everything below); excerpts had no clamp at all (1-5 lines
   made cards ragged). Reserve both heights and keep Read More pinned
   to the card bottom via the existing margin-top:auto wrappers.
   ================================================================ */
.hmmnm-home .pt-cv-title {
    min-height: 2.8em !important; /* 2 lines x 1.4 line-height */
}
.hmmnm-home .pt-cv-content {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    min-height: 4.95em !important; /* 3 lines x 1.65 line-height */
    flex: 1 1 auto !important;
}
.post-slide-card .featured-title { min-height: 2.8em; }
.post-slide-card .post-excerpt { min-height: 2.2em; }

/* Mobile: single-column horizontal cards are content-driven; clamps stay,
   reserved heights go so short cards don't grow empty space. */
@media (max-width: 768px) {
    .hmmnm-home .pt-cv-title { min-height: 0 !important; }
    .hmmnm-home .pt-cv-content { min-height: 0 !important; }
    .post-slide-card .featured-title { min-height: 0; }
    .post-slide-card .post-excerpt { min-height: 0; }
}

/* ================================================================
   v42 (2026-09-28): EDITORIAL CARD REDESIGN.
   Replaces the flat 3-col "every card identical" grid with a lead-card
   + 2-col editorial layout: the newest post in each section becomes a
   wide horizontal feature; cards get calm typography, a meta line
   (date · read time), contained rounded images, and quiet indigo text
   links instead of loud green buttons. Card images are text-free
   artwork (template swaps og-/hero- title cards server-side).
   ================================================================ */

/* --- grid: 2 columns, lead spans both --- */
.hmmnm-home .pt-cv-page,
.hmmnm-home .pt-cv-page[data-cvc="2"],
.hmmnm-home .pt-cv-page[data-cvc="3"],
.hmmnm-home .pt-cv-page[data-cvc="4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

/* --- card shell: contained, calm --- */
.hmmnm-home .pt-cv-page .pt-cv-content-item,
.hmmnm-home .pt-cv-colsys .pt-cv-content-item {
    background: rgba(15, 23, 42, 0.55) !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    padding: 12px !important;
    gap: 0 !important;
}
.hmmnm-home .pt-cv-page .pt-cv-content-item:hover,
.hmmnm-home .pt-cv-colsys .pt-cv-content-item:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(129, 140, 248, 0.45) !important;
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.55) !important;
}

/* --- image: contained rounded, 16:10 --- */
.hmmnm-home .pt-cv-ifield .pt-cv-href-thumbnail {
    height: auto !important;
    aspect-ratio: 16 / 10;
    border-radius: 11px !important;
    overflow: hidden !important;
}
.hmmnm-home .pt-cv-ifield img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}
.hmmnm-home .pt-cv-ifield::after {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 55%, rgba(2, 6, 23, 0.5) 100%);
    border-radius: 11px;
}

/* --- text block --- */
.hmmnm-home .hmmnm-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
.hmmnm-home .hmmnm-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 6px 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}
.hmmnm-home .hmmnm-card-meta .hmmnm-chip {
    margin-left: auto;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.14);
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}
.hmmnm-home .pt-cv-title {
    font-size: 1.02rem !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding: 8px 6px 0 !important;
}
.hmmnm-home .pt-cv-title a { color: #e2e8f0 !important; }
.hmmnm-home .pt-cv-title a:hover { color: #c7d2fe !important; }
.hmmnm-home .pt-cv-content {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    min-height: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    padding: 6px 6px 0 !important;
    flex: 0 1 auto !important;
}

/* --- quiet text link instead of green button --- */
.hmmnm-home .pt-cv-readmore {
    background: none !important;
    color: #818cf8 !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    padding: 12px 6px 4px !important;
    margin-top: auto !important;
    border-radius: 0 !important;
    align-self: flex-start !important;
}
.hmmnm-home .pt-cv-readmore:hover {
    background: none !important;
    color: #c7d2fe !important;
    transform: none !important;
    box-shadow: none !important;
}

/* --- lead card: newest post as a wide horizontal feature --- */
.hmmnm-home .pt-cv-content-item.hmmnm-lead-card {
    flex-direction: row !important;
    align-items: stretch;
    grid-column: 1 / -1;
}
.hmmnm-home .hmmnm-lead-card .pt-cv-ifield {
    flex: 0 0 44%;
    display: flex;
}
.hmmnm-home .hmmnm-lead-card .pt-cv-href-thumbnail {
    height: 100% !important;
    aspect-ratio: auto;
}
.hmmnm-home .hmmnm-lead-card .hmmnm-card-body { padding-left: 18px; }
.hmmnm-home .hmmnm-lead-card .pt-cv-title {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    padding-top: 10px !important;
}
.hmmnm-home .hmmnm-lead-card .pt-cv-content { -webkit-line-clamp: 2; }

/* --- featured slider: match the new scale --- */
.post-slide-img { height: 175px; }
.featured-title { font-size: 1.05rem; }
.post-excerpt { font-size: 0.88rem; }
.read-more { font-size: 0.84rem; }

/* --- responsive --- */
@media (max-width: 768px) {
    .hmmnm-home .pt-cv-page,
    .hmmnm-home .pt-cv-page[data-cvc="2"],
    .hmmnm-home .pt-cv-page[data-cvc="3"],
    .hmmnm-home .pt-cv-page[data-cvc="4"] { grid-template-columns: 1fr !important; }
    .hmmnm-home .pt-cv-content-item.hmmnm-lead-card { flex-direction: column !important; }
    .hmmnm-home .hmmnm-lead-card .pt-cv-ifield { flex: none; }
    .hmmnm-home .hmmnm-lead-card .pt-cv-href-thumbnail { aspect-ratio: 16 / 10; height: auto !important; }
    .hmmnm-home .hmmnm-lead-card .hmmnm-card-body { padding-left: 0; }
    .hmmnm-home .hmmnm-lead-card .pt-cv-title { font-size: 1.12rem !important; }
}

/* v42.1 polish: lead card — centre the text block vertically and let the
   link hug the excerpt instead of bottom-anchoring into dead space. */
.hmmnm-home .hmmnm-lead-card .hmmnm-card-body { justify-content: center; }
.hmmnm-home .hmmnm-lead-card .pt-cv-readmore { margin-top: 14px !important; }

/* ================================================================
   v42.2 (2026-09-29): typography pass + visible category labels.
   Expert review notes: title/excerpt ratio was flat and the meta line
   crowded the title. New scale — meta 0.7rem/600/+0.09em tracking
   (small-caps rhythm), title 1.06rem/700/-0.012em (optical tightening),
   excerpt 0.9rem/1.65 leading at 60% emphasis, link 0.85rem indigo.
   Every card now leads with a category chip so the section context is
   explicit (the OCEN-art-under-Security confusion).
   ================================================================ */

/* --- category chip --- */
.hmmnm-home .hmmnm-cat-chip {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
    white-space: nowrap;
}

/* --- meta line --- */
.hmmnm-home .hmmnm-card-meta {
    gap: 9px;
    padding: 14px 6px 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    color: #71809b;
}
.hmmnm-home .hmmnm-card-meta .hmmnm-chip { margin-left: auto; }

/* --- title: tighter, stronger --- */
.hmmnm-home .pt-cv-title {
    font-size: 1.06rem !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
    letter-spacing: -0.012em;
    padding: 9px 6px 0 !important;
}
.hmmnm-home .pt-cv-title a { color: #f1f5f9 !important; }

/* --- excerpt: 60% emphasis, generous leading --- */
.hmmnm-home .pt-cv-content {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    color: #97a3b8 !important;
    letter-spacing: 0.002em;
    padding: 7px 6px 0 !important;
}

/* --- link --- */
.hmmnm-home .pt-cv-readmore {
    font-size: 0.85rem !important;
    letter-spacing: 0.008em;
    padding: 13px 6px 4px !important;
}

/* --- lead card: bigger display title --- */
.hmmnm-home .hmmnm-lead-card .pt-cv-title {
    font-size: 1.42rem !important;
    font-weight: 730 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.016em;
    padding-top: 11px !important;
}
.hmmnm-home .hmmnm-lead-card .pt-cv-content {
    font-size: 0.95rem !important;
    line-height: 1.68 !important;
}

/* --- card shell breathing room --- */
.hmmnm-home .pt-cv-page .pt-cv-content-item,
.hmmnm-home .pt-cv-colsys .pt-cv-content-item { padding: 14px !important; }

/* --- featured slider: unify chip + type with the cards --- */
.featured-cat {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.08em;
}
.featured-title {
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.42;
}
.post-excerpt { font-size: 0.9rem; line-height: 1.65; color: #97a3b8; }
.post-date { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600; color: #71809b; }

/* v42.3 nits: lead title descender room; excerpt breathing space. */
.hmmnm-home .hmmnm-lead-card .pt-cv-title { line-height: 1.4 !important; }
.hmmnm-home .pt-cv-content { margin-bottom: 2px; }

/* ================================================================
   v42.4 (2026-09-29): Security section tiles redesigned as a
   magazine list. Expert review verdict: the section drew the same
   card five times (lead + 4 boxes) — no rhythm, flat hierarchy.
   New composition: one refined lead feature, then compact list rows
   (small 3:2 thumb left, title + meta right, hairline separators).
   Fresh class names so no legacy .pt-cv rules bleed in.
   ================================================================ */

/* tiles span the full grid width as editorial list rows */
.hmmnm-home .hmmnm-tile {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.hmmnm-home .hmmnm-tile:last-child { border-bottom: none; }

.hmmnm-home .hmmnm-tile-link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.hmmnm-home .hmmnm-tile-link:hover { background: rgba(30, 41, 59, 0.5); }

.hmmnm-home .hmmnm-tile-img {
    flex: 0 0 118px;
    aspect-ratio: 3 / 2;
    border-radius: 9px;
    overflow: hidden;
    display: block;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.08);
}
.hmmnm-home .hmmnm-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hmmnm-home .hmmnm-tile-link:hover .hmmnm-tile-img img { transform: scale(1.05); }

.hmmnm-home .hmmnm-tile-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
}
.hmmnm-home .hmmnm-tile-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.99rem;
    font-weight: 640;
    line-height: 1.42;
    letter-spacing: -0.008em;
    color: #e2e8f0;
}
.hmmnm-home .hmmnm-tile-link:hover .hmmnm-tile-title { color: #c7d2fe; }

.hmmnm-home .hmmnm-tile-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71809b;
}

/* lead card: slight refinement to sit above the list */
.hmmnm-home .hmmnm-lead-card {
    background: rgba(15, 23, 42, 0.62) !important;
    border: 1px solid rgba(129, 140, 248, 0.22) !important;
    margin-bottom: 6px;
}
.hmmnm-home .hmmnm-lead-card .pt-cv-ifield { flex: 0 0 46%; }

@media (max-width: 768px) {
    .hmmnm-home .hmmnm-tile-link { gap: 13px; padding: 12px 4px; }
    .hmmnm-home .hmmnm-tile-img { flex: 0 0 92px; }
    .hmmnm-home .hmmnm-tile-title { font-size: 0.93rem; -webkit-line-clamp: 3; }
}

/* v42.5 nit: rows hover + separators align edge-to-edge inside the section. */
.hmmnm-home .hmmnm-tile { position: relative; }
.hmmnm-home .hmmnm-tile::after {
    content: '';
    position: absolute;
    left: 10px; right: 10px; bottom: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.12);
}
.hmmnm-home .hmmnm-tile:last-child::after { display: none; }
.hmmnm-home .hmmnm-tile { border-bottom: none; }

/* ================================================================
   v42.6 (2026-09-29): Technology (secondary) sections — lead + duo.
   Design plan: a 3-post section dressed as a magazine list leaves a
   right-column void and orphaned rows. Instead: one lead feature on
   top, then the two remaining posts as side-by-side vertical cards
   ("duo") filling both grid columns. Distinct rhythm from Security's
   feature+index list and from the 3-across featured slider.
   ================================================================ */

.hmmnm-home .hmmnm-duo {
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hmmnm-home .hmmnm-duo:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.55);
}
.hmmnm-home .hmmnm-duo-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.hmmnm-home .hmmnm-duo-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.hmmnm-home .hmmnm-duo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.hmmnm-home .hmmnm-duo:hover .hmmnm-duo-img img { transform: scale(1.05); }

.hmmnm-home .hmmnm-duo-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    flex: 1 1 auto;
    min-width: 0;
}
.hmmnm-home .hmmnm-duo-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.011em;
    color: #f1f5f9;
}
.hmmnm-home .hmmnm-duo:hover .hmmnm-duo-title { color: #c7d2fe; }
.hmmnm-home .hmmnm-duo-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.62;
    color: #97a3b8;
}
.hmmnm-home .hmmnm-duo-more {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.008em;
    color: #818cf8;
}
.hmmnm-home .hmmnm-duo:hover .hmmnm-duo-more { color: #c7d2fe; }

@media (max-width: 768px) {
    .hmmnm-home .hmmnm-duo-title { font-size: 1rem; }
    .hmmnm-home .hmmnm-duo-excerpt { -webkit-line-clamp: 3; }
}

/* ================================================================
   v42.7 (2026-09-29): Beyond Security (experience) — essay cards.
   Design plan: this is personal/essay content ("field notes from
   outside the terminal"), so it gets a THIRD voice on the page:
   warm amber accent (vs indigo tech sections), reading-oriented
   type scale (larger title/excerpt), 2-up grid, soft warm borders.
   Was: one narrow inline-styled row with a raw og-text thumbnail.
   ================================================================ */

.hmmnm-home .home-beyond { padding: 48px 0 60px; }

.hmmnm-essay-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}
.hmmnm-essay-head h2 {
    font-size: 1.35em;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0;
}
.hmmnm-essay-pill {
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.08);
    border-radius: 999px;
    padding: 3px 10px;
}
.hmmnm-essay-sub {
    color: #94a3b8;
    font-size: 0.98em;
    margin: 0 0 22px;
}

.hmmnm-essay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hmmnm-essay {
    display: flex;
    background: rgba(251, 191, 36, 0.03);
    border: 1px solid rgba(251, 191, 36, 0.14);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hmmnm-essay:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.55);
}
.hmmnm-essay-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.hmmnm-essay-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.hmmnm-essay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.hmmnm-essay:hover .hmmnm-essay-img img { transform: scale(1.04); }

.hmmnm-essay-body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 16px 18px 18px;
    flex: 1 1 auto;
    min-width: 0;
}
.hmmnm-essay-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a94a8;
}
.hmmnm-essay-chip {
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
    white-space: nowrap;
}
.hmmnm-essay-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: -0.012em;
    color: #f8fafc;
}
.hmmnm-essay:hover .hmmnm-essay-title { color: #fde68a; }
.hmmnm-essay-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.68;
    color: #a3adbf;
}
.hmmnm-essay-more {
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.008em;
    color: #fbbf24;
}
.hmmnm-essay:hover .hmmnm-essay-more { color: #fde68a; }

@media (max-width: 768px) {
    .hmmnm-essay-grid { grid-template-columns: 1fr; }
    .hmmnm-essay-title { font-size: 1.1rem; }
    .hmmnm-essay-excerpt { font-size: 0.92rem; }
}

/* ================================================================
   v42.8 (2026-09-29): Security section — cinematic mosaic.
   Design review: previous magazine list was clean but structurally
   monotone (every row the same image-left rhythm, no focal moment).
   New composition: full-bleed cinematic feature (title overlaid on
   artwork with gradient, echoing the hero) + story rail of four
   compact rows in a bordered panel beside it. Feature 2fr | rail 1fr.
   ================================================================ */

.hmmnm-home .pt-cv-page.hmmnm-mosaic {
    display: grid !important;
    grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: stretch;
}

/* --- cinematic lead --- */
.hmmnm-mosaic-lead {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.hmmnm-mosaic-leadlink {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 480px;
    align-items: flex-end;
    text-decoration: none;
}
.hmmnm-mosaic-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hmmnm-mosaic-lead:hover .hmmnm-mosaic-art { transform: scale(1.045); }
.hmmnm-mosaic-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 32%, rgba(2, 6, 23, 0.5) 60%, rgba(2, 6, 23, 0.95) 100%);
}
.hmmnm-mosaic-body {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hmmnm-mosaic-lead .hmmnm-card-meta { color: #cbd5e1; padding: 0; }
.hmmnm-mosaic-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.6rem;
    font-weight: 750;
    line-height: 1.28;
    letter-spacing: -0.018em;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(2, 6, 23, 0.55);
}
.hmmnm-mosaic-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 58ch;
}
.hmmnm-mosaic-more {
    padding-top: 6px;
    font-size: 0.88rem;
    font-weight: 650;
    color: #a5b4fc;
}
.hmmnm-mosaic-lead:hover .hmmnm-mosaic-more { color: #e0e7ff; }

/* --- story rail --- */
.hmmnm-mosaic-rail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 18px;
    padding: 8px 14px;
}
.hmmnm-mosaic-row { border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.hmmnm-mosaic-row:last-child { border-bottom: none; }
.hmmnm-mosaic-rowlink {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 13px 4px;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.hmmnm-mosaic-rowlink:hover { background: rgba(30, 41, 59, 0.5); }
.hmmnm-mosaic-rowimg {
    flex: 0 0 78px;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.hmmnm-mosaic-rowimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hmmnm-mosaic-rowbody {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.hmmnm-mosaic-rowtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 640;
    line-height: 1.4;
    letter-spacing: -0.008em;
    color: #e2e8f0;
}
.hmmnm-mosaic-rowlink:hover .hmmnm-mosaic-rowtitle { color: #c7d2fe; }

@media (max-width: 980px) {
    .hmmnm-home .pt-cv-page.hmmnm-mosaic { grid-template-columns: 1fr !important; }
    .hmmnm-mosaic-lead, .hmmnm-mosaic-leadlink { min-height: 380px; }
    .hmmnm-mosaic-rail { padding: 6px 12px; }
}
@media (max-width: 640px) {
    .hmmnm-mosaic-lead, .hmmnm-mosaic-leadlink { min-height: 340px; }
    .hmmnm-mosaic-title { font-size: 1.22rem; }
    .hmmnm-mosaic-body { padding: 18px; }
    .hmmnm-mosaic-rowimg { flex: 0 0 68px; }
    .hmmnm-mosaic-rowtitle { font-size: 0.9rem; }
}

/* ================================================================
   v43 (2026-09-29): cross-section 3D depth system + responsive
   width/position tuning for the three content sections.
   - Real 3D: perspective grids; layered depth (art / shade / text at
     separate translateZ planes); pointer tilt on cards; one-shot 3D
     entrance on scroll (piggybacks the existing fade-visible
     observer — no JS dependency, safe without scripting).
   - Widths: unified 1200px column (1320px ≥1600px); Security mosaic
     stacks ≤980px; Technology duo + essays hold 2 columns down to
     641px (tablet), single column on phones.
   - Guards: tilt/entrance only on fine pointers + motion allowed.
   ================================================================ */

/* ---------- unified section widths ---------- */
.hmmnm-home .home-category .container,
.hmmnm-home .home-featured .container,
.hmmnm-home .home-beyond .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (min-width: 1600px) {
    .hmmnm-home .home-category .container,
    .hmmnm-home .home-featured .container,
    .hmmnm-home .home-beyond .container { max-width: 1320px !important; }
}
/* tablets keep two columns for duo + essays */
@media (min-width: 641px) and (max-width: 768px) {
    .hmmnm-home .pt-cv-page { grid-template-columns: repeat(2, 1fr) !important; }
    .hmmnm-essay-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hmmnm-home .pt-cv-content-item.hmmnm-lead-card { grid-column: 1 / -1; }
}

/* ---------- ambient depth backdrops (positioned glows) ---------- */
.hmmnm-home .home-category { position: relative; }
.hmmnm-home .home-category::before {
    content: '';
    position: absolute;
    top: -80px; left: -120px;
    width: 540px; height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}
.hmmnm-home .home-category.cat-technology::before {
    left: auto; right: -120px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.11), transparent 65%);
}
.hmmnm-home .home-beyond { position: relative; overflow: hidden; }
.hmmnm-home .home-beyond::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 660px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

/* ---------- 3D: Security mosaic lead — text floats above art ---------- */
.hmmnm-mosaic-lead { perspective: 1400px; }
.hmmnm-mosaic-leadlink { transform-style: preserve-3d; }
.hmmnm-mosaic-shade { transform: translateZ(14px); }
.hmmnm-mosaic-body { transform: translateZ(38px); transition: transform .5s ease; }
.hmmnm-mosaic-lead:hover .hmmnm-mosaic-body { transform: translateZ(50px); }

/* ---------- 3D: cards — depth layers + tilt smoothing ---------- */
.hmmnm-home .pt-cv-page, .hmmnm-essay-grid, .post-slider { perspective: 1400px; }
.hmmnm-duo, .hmmnm-essay, .hmmnm-home .pt-cv-content-item {
    transform-style: preserve-3d;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
    will-change: transform;
}
.hmmnm-essay { overflow: visible; } /* keep 3D children unflattened; img wrapper clips itself */
.hmmnm-duo-body, .hmmnm-essay-body, .hmmnm-lead-card .hmmnm-card-body { transform: translateZ(26px); }
.hmmnm-duo-img, .hmmnm-essay-img { transform: translateZ(6px); }

/* rail rows: lateral pop */
.hmmnm-mosaic-rowlink { transition: background .2s ease, transform .25s ease; }
.hmmnm-mosaic-rowlink:hover { transform: translateX(5px); }

/* ---------- one-shot 3D entrance on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
    .fade-section.fade-visible .hmmnm-mosaic-lead { animation: hmmnm-in-3d .65s cubic-bezier(.2, .7, .2, 1) backwards; }
    .fade-section.fade-visible .hmmnm-mosaic-row { animation: hmmnm-in-3d .55s cubic-bezier(.2, .7, .2, 1) backwards; }
    .fade-section.fade-visible .hmmnm-mosaic-row:nth-child(2) { animation-delay: .07s; }
    .fade-section.fade-visible .hmmnm-mosaic-row:nth-child(3) { animation-delay: .14s; }
    .fade-section.fade-visible .hmmnm-mosaic-row:nth-child(4) { animation-delay: .21s; }
    .fade-section.fade-visible .hmmnm-duo { animation: hmmnm-in-3d .6s cubic-bezier(.2, .7, .2, 1) backwards; }
    .fade-section.fade-visible .hmmnm-duo:nth-of-type(2) { animation-delay: .09s; }
    .fade-section.fade-visible .hmmnm-essay { animation: hmmnm-in-3d .6s cubic-bezier(.2, .7, .2, 1) backwards; }
    .fade-section.fade-visible .hmmnm-essay:nth-of-type(2) { animation-delay: .09s; }
    @keyframes hmmnm-in-3d {
        from { opacity: 0; transform: perspective(1200px) rotateX(6deg) translateY(26px); }
        to   { opacity: 1; transform: none; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .hmmnm-duo, .hmmnm-essay, .hmmnm-mosaic-art, .hmmnm-mosaic-body,
    .hmmnm-home .pt-cv-content-item { transition: none !important; animation: none !important; }
}

/* v43.1 (2026-09-29): wider column at large-but-not-huge viewports.
   1200px cap left ~150px dead gutters at e.g. 1512px. Now the column
   is fluid: up to 1440px through the 1200–1599 range, 1520px ≥1600. */
.hmmnm-home .home-category .container,
.hmmnm-home .home-featured .container,
.hmmnm-home .home-beyond .container {
    max-width: min(1440px, calc(100% - 40px)) !important;
}
@media (min-width: 1600px) {
    .hmmnm-home .home-category .container,
    .hmmnm-home .home-featured .container,
    .hmmnm-home .home-beyond .container { max-width: 1520px !important; }
}

/* ================================================================
   v43.2 (2026-09-29): promo bands → full-width 3-up row.
   The three parallel offerings (learn / hire / products) were 760px
   stacked cards — narrow vs the 1440px content column and tall.
   Now one row of three equal cards, matching the section widths.
   ================================================================ */
.hmmnm-promo-row {
    max-width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
    padding: 6px 0 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    perspective: 1400px;
}
.hmmnm-promo-row > section {
    margin: 0 !important;
    display: flex;
    align-items: stretch;
}
.hmmnm-promo-row > section .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 26px 24px !important;
}
.hmmnm-promo-row h2[style] { font-size: 1.18em !important; }
.hmmnm-promo-row p[style] { font-size: 0.9em !important; line-height: 1.6 !important; }
.hmmnm-promo-row .container > a {
    align-self: center;
    margin-top: 14px;
    padding: 11px 22px !important;
    font-size: 0.9em !important;
}
/* cards adopt the page card language + 3D depth */
.hmmnm-promo-row .container {
    transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.hmmnm-promo-row .container:hover {
    transform: translateY(-4px);
}
@media (min-width: 641px) and (max-width: 1024px) {
    .hmmnm-promo-row { grid-template-columns: repeat(2, 1fr); }
    .hmmnm-promo-row > section:last-child { grid-column: 1 / -1; }
    .hmmnm-promo-row > section:last-child .container { max-width: 560px; margin: 0 auto !important; width: 100% !important; }
}
@media (max-width: 640px) {
    .hmmnm-promo-row { grid-template-columns: 1fr; padding-bottom: 34px; }
}

/* ================================================================
   v44 (2026-09-29): Security section motion — rotating feature +
   rolling rail.
   Feature: 5 most-viewed posts stacked in a stage; JS vanishes the
   current one every 6s (blur + scale out, blurred scale-in for the
   next) in popularity order. Rail: newest stories roll bottom-to-top
   in a masked infinite loop, pausing on hover/focus.
   ================================================================ */

/* --- rotating feature stage --- */
.hmmnm-mosaic-stage { position: relative; min-height: 482px; border-radius: 18px; }
.hmmnm-mosaic-stage .hmmnm-mosaic-lead {
    position: absolute;
    inset: 0;
    min-height: 0;
}
.hmmnm-mosaic-stage .hmmnm-mosaic-leadlink { min-height: 0; height: 100%; }
.hmmnm-lead-hidden { opacity: 0 !important; visibility: hidden; pointer-events: none; }
.hmmnm-mosaic-lead {
    transition: opacity .64s ease, transform .64s ease, filter .64s ease;
}
.hmmnm-vanish-out { opacity: 0; transform: scale(1.035); filter: blur(10px); }
.hmmnm-vanish-in { opacity: 0; transform: scale(.985); filter: blur(7px); }

/* --- rolling rail --- */
.hmmnm-rail-roll {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
}
.hmmnm-rail-track {
    display: flex;
    flex-direction: column;
    animation: hmmnm-roll-up 32s linear infinite;
}
.hmmnm-rail-roll:hover .hmmnm-rail-track,
.hmmnm-rail-roll:focus-within .hmmnm-rail-track { animation-play-state: paused; }
@keyframes hmmnm-roll-up {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hmmnm-rail-track { animation: none !important; }
}
@media (max-width: 980px) { .hmmnm-mosaic-stage { min-height: 384px; } }
@media (max-width: 640px) { .hmmnm-mosaic-stage { min-height: 344px; } }

/* v44.1 (2026-09-29): feature poster reduced — 482px felt oversized.
   Stage now 380px desktop with proportional title/padding; the rail
   matches via grid stretch. */
.hmmnm-mosaic-stage { min-height: 380px; }
.hmmnm-mosaic-title { font-size: 1.45rem; }
.hmmnm-mosaic-body { padding: 22px 24px; gap: 8px; }
@media (max-width: 980px) { .hmmnm-mosaic-stage { min-height: 330px; } }
@media (max-width: 640px) {
    .hmmnm-mosaic-stage { min-height: 300px; }
    .hmmnm-mosaic-title { font-size: 1.12rem; }
    .hmmnm-mosaic-body { padding: 16px 18px; }
}

/* v44.2 (2026-09-29): the rolling rail's tall track (16 rows, ~1270px)
   was stretching the grid row — the poster looked huge because the
   RAIL set the height, not the stage. Shared --hmmnm-stage-h now caps
   both; the track just scrolls inside the clipped viewport. */
.hmmnm-mosaic { --hmmnm-stage-h: 380px; }
.hmmnm-mosaic-stage { min-height: var(--hmmnm-stage-h) !important; }
.hmmnm-mosaic .hmmnm-rail-roll {
    max-height: var(--hmmnm-stage-h);
    height: var(--hmmnm-stage-h);
}
@media (max-width: 980px) { .hmmnm-mosaic { --hmmnm-stage-h: 330px; } }
@media (max-width: 640px) { .hmmnm-mosaic { --hmmnm-stage-h: 300px; } }

/* ================================================================
   v45 (2026-09-29): qualitative poster transition.
   Timing plan (6s cycle):
     0.00–0.50s  outgoing recedes into depth (translateZ -120px, tilt,
                 blur 9px, dim to 72%)
     0.50s       crosspoint swap
     0.50–1.05s  incoming rises from depth; text staggers up
                 (meta → title → excerpt → link, 70ms apart)
     0.62–1.10s  light sweep glides across the card
     0–7.4s      ken-burns zoom on the live artwork (1.05 → 1.14)
   Slot dots bottom-right track position 1–5. All motion off under
   prefers-reduced-motion.
   ================================================================ */

.hmmnm-mosaic-stage { perspective: 1600px; }
.hmmnm-mosaic-stage .hmmnm-mosaic-lead {
    transition:
        opacity .5s cubic-bezier(.4, 0, .2, 1),
        transform .55s cubic-bezier(.22, .61, .36, 1),
        filter .5s cubic-bezier(.4, 0, .2, 1);
    transform: translateZ(0) rotateX(0deg);
    will-change: opacity, transform, filter;
}
.hmmnm-vanish-out {
    opacity: 0 !important;
    transform: translateZ(-120px) rotateX(2.5deg) translateY(8px) !important;
    filter: blur(9px) brightness(.72) !important;
}
.hmmnm-vanish-in {
    opacity: 0 !important;
    transform: translateZ(-80px) rotateX(1.5deg) !important;
    filter: blur(7px) !important;
}

/* light sweep */
.hmmnm-mosaic-sweep {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(105deg,
        transparent 32%,
        rgba(199, 210, 254, .10) 45%,
        rgba(255, 255, 255, .2) 50%,
        rgba(199, 210, 254, .10) 55%,
        transparent 68%);
    transform: translateX(-130%) skewX(-6deg);
    opacity: 0;
}
.hmmnm-sweep-run { animation: hmmnm-sweep 1s cubic-bezier(.3, .5, .2, 1); }
@keyframes hmmnm-sweep {
    0%   { transform: translateX(-130%) skewX(-6deg); opacity: 0; }
    12%  { opacity: 1; }
    100% { transform: translateX(130%) skewX(-6deg); opacity: 0; }
}

/* ken burns on the live artwork */
@media (prefers-reduced-motion: no-preference) {
    .hmmnm-mosaic-lead.hmmnm-live .hmmnm-mosaic-art {
        animation: hmmnm-kb 7.4s cubic-bezier(.22, .5, .35, 1) forwards;
    }
    @keyframes hmmnm-kb {
        from { transform: scale(1.05); }
        to   { transform: scale(1.14); }
    }
}

/* staggered text entrance */
.hmmnm-mosaic-lead.hmmnm-enter .hmmnm-mosaic-body > span {
    animation: hmmnm-rise .55s cubic-bezier(.2, .7, .2, 1) both;
}
.hmmnm-mosaic-lead.hmmnm-enter .hmmnm-mosaic-body > span:nth-child(2) { animation-delay: .07s; }
.hmmnm-mosaic-lead.hmmnm-enter .hmmnm-mosaic-body > span:nth-child(3) { animation-delay: .14s; }
.hmmnm-mosaic-lead.hmmnm-enter .hmmnm-mosaic-body > span:nth-child(4) { animation-delay: .21s; }
@keyframes hmmnm-rise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* slot dots */
.hmmnm-slot-dots {
    position: absolute;
    right: 18px;
    bottom: 13px;
    z-index: 6;
    display: flex;
    gap: 6px;
}
.hmmnm-slot-dots i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(226, 232, 240, .35);
    transition: width .35s ease, background .35s ease;
}
.hmmnm-slot-dots i.on { width: 22px; background: #a5b4fc; }

@media (prefers-reduced-motion: reduce) {
    .hmmnm-mosaic-stage .hmmnm-mosaic-lead { transition: none !important; }
    .hmmnm-mosaic-lead.hmmnm-enter .hmmnm-mosaic-body > span { animation: none !important; }
}

/* ================================================================
   v46 (2026-09-29): motion for Technology + Experience sections.
   Technology: duo cards grouped into rotating pairs (8s cycle) —
   outgoing pair sinks (staggered), incoming rises (staggered), dots
   track position. Experience + remaining static cards: slow ken-burns
   on artwork and a light sweep on hover.
   ================================================================ */

/* --- Technology pair stage --- */
.hmmnm-pair-stage { position: relative; display: block; min-height: 100%; }
.hmmnm-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    transition: opacity .45s ease;
}
.hmmnm-pair + .hmmnm-pair, .hmmnm-pair-hidden { position: absolute; inset: 0; }
.hmmnm-pair-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.hmmnm-pair .hmmnm-duo {
    transition: opacity .45s ease, transform .5s cubic-bezier(.2, .7, .2, 1),
                border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.hmmnm-pair .hmmnm-duo:nth-child(2) { transition-delay: .07s, .07s, 0s, 0s, 0s; }
.hmmnm-pair-out .hmmnm-duo { opacity: 0; transform: translateY(16px); }
.hmmnm-pair-in .hmmnm-duo { opacity: 0; transform: translateY(24px); }
.hmmnm-pair-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}
.hmmnm-pair-dots i {
    width: 6px; height: 6px; border-radius: 999px;
    background: rgba(226, 232, 240, .32);
    transition: width .35s ease, background .35s ease;
}
.hmmnm-pair-dots i.on { width: 22px; background: #a5b4fc; }

/* --- ken burns on static section artwork (duo, essays, duo lead) --- */
@media (prefers-reduced-motion: no-preference) {
    .hmmnm-duo-img img,
    .hmmnm-essay-img img,
    .hmmnm-lead-card .pt-cv-ifield img {
        animation: hmmnm-kb-slow 11s ease-out both;
    }
    @keyframes hmmnm-kb-slow {
        from { transform: scale(1.02); }
        to   { transform: scale(1.09); }
    }
}

/* --- light sweep on hover (duo + essay cards) --- */
.hmmnm-duo-link, .hmmnm-essay-link { position: relative; }
.hmmnm-duo-link::after, .hmmnm-essay-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(105deg,
        transparent 32%, rgba(255, 255, 255, .13) 50%, transparent 68%);
    transform: translateX(-130%) skewX(-6deg);
    opacity: 0;
}
.hmmnm-duo:hover .hmmnm-duo-link::after,
.hmmnm-essay:hover .hmmnm-essay-link::after {
    animation: hmmnm-sweep .9s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hmmnm-pair, .hmmnm-pair .hmmnm-duo { transition: none !important; }
}

/* ================================================================
   v48 (2026-09-29): TECHNOLOGY — systems blueprint redesign.
   Identity: technical-drawing language (cyan on navy, mono accents,
   registration brackets, grid overlays). Layout: deep-dive lead
   (60%) + numbered index of six stories (40%). The index surfaces
   six stories at once — no rotation needed; calmer than pairs and
   shows 3x the content. Distinct from Security (indigo cinematic).
   ================================================================ */

.hmmnm-home .pt-cv-page.hmmnm-blueprint {
    --bp-h: 540px;
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: stretch;
}

/* blueprint grid backdrop for the whole section */
.hmmnm-home .home-category.cat-technology { position: relative; }
.hmmnm-home .cat-technology::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(103, 232, 249, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(70% 65% at 50% 42%, #000 25%, transparent 100%);
    mask-image: radial-gradient(70% 65% at 50% 42%, #000 25%, transparent 100%);
}
.hmmnm-bp-kicker {
    display: block;
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #67e8f9;
    opacity: 0.85;
    margin-bottom: 4px;
}

/* --- deep-dive lead --- */
.hmmnm-bp-lead {
    position: relative;
    min-height: var(--bp-h);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.22);
}
.hmmnm-bp-leadel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
}
.hmmnm-bp-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
    .hmmnm-bp-art { animation: hmmnm-kb-slow 11s ease-out both; }
}
.hmmnm-bp-gridov {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(103, 232, 249, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
}
.hmmnm-bp-brackets i {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2.5px solid #67e8f9;
    opacity: 0.85;
    z-index: 3;
}
.hmmnm-bp-brackets i:nth-child(1) { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.hmmnm-bp-brackets i:nth-child(2) { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.hmmnm-bp-brackets i:nth-child(3) { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.hmmnm-bp-brackets i:nth-child(4) { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.hmmnm-bp-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 34%, rgba(2, 6, 23, 0.55) 62%, rgba(2, 6, 23, 0.95) 100%);
}
.hmmnm-bp-body {
    position: relative;
    z-index: 4;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.hmmnm-bp-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #a5f3fc;
}
.hmmnm-bp-chip {
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(103, 232, 249, 0.32);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.66rem;
}
.hmmnm-bp-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.42rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(2, 6, 23, 0.55);
}
.hmmnm-bp-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 56ch;
}
.hmmnm-bp-more { padding-top: 5px; font-size: 0.86rem; font-weight: 650; color: #67e8f9; }
.hmmnm-bp-leadel:hover .hmmnm-bp-more { color: #a5f3fc; }

/* --- numbered index --- */
.hmmnm-bp-index {
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 6px 16px 10px;
    height: var(--bp-h);
    max-height: var(--bp-h);
    overflow: hidden;
    justify-content: center;
}
.hmmnm-bp-index-head {
    display: flex;
    justify-content: space-between;
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #67e8f9;
    opacity: 0.85;
    padding: 12px 6px 9px;
    border-bottom: 1px solid rgba(103, 232, 249, 0.16);
}
.hmmnm-bp-row { border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.hmmnm-bp-row:last-child { border-bottom: none; }
.hmmnm-bp-rowel {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 11px 6px;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.hmmnm-bp-rowel:hover { background: rgba(30, 41, 59, 0.5); }
.hmmnm-bp-num {
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 1.22rem;
    font-weight: 700;
    color: rgba(103, 232, 249, 0.5);
    min-width: 42px;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}
.hmmnm-bp-rowel:hover .hmmnm-bp-num { color: #22d3ee; }
.hmmnm-bp-rowbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hmmnm-bp-rowtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.94rem;
    font-weight: 640;
    line-height: 1.4;
    color: #e2e8f0;
}
.hmmnm-bp-rowel:hover .hmmnm-bp-rowtitle { color: #a5f3fc; }
.hmmnm-bp-rowmeta {
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71809b;
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {
    .fade-section.fade-visible .hmmnm-bp-lead { animation: hmmnm-in-3d .6s cubic-bezier(.2,.7,.2,1) backwards; }
    .fade-section.fade-visible .hmmnm-bp-row { animation: hmmnm-in-3d .5s cubic-bezier(.2,.7,.2,1) backwards; }
    .fade-section.fade-visible .hmmnm-bp-row:nth-child(3) { animation-delay: .06s; }
    .fade-section.fade-visible .hmmnm-bp-row:nth-child(4) { animation-delay: .12s; }
    .fade-section.fade-visible .hmmnm-bp-row:nth-child(5) { animation-delay: .18s; }
    .fade-section.fade-visible .hmmnm-bp-row:nth-child(6) { animation-delay: .24s; }
    .fade-section.fade-visible .hmmnm-bp-row:nth-child(7) { animation-delay: .3s; }
}

@media (max-width: 1024px) {
    .hmmnm-home .pt-cv-page.hmmnm-blueprint { grid-template-columns: 1fr !important; --bp-h: auto; }
    .hmmnm-bp-lead { min-height: 380px; }
    .hmmnm-bp-index { height: auto; max-height: none; }
}
@media (max-width: 640px) {
    .hmmnm-bp-lead { min-height: 320px; }
    .hmmnm-bp-title { font-size: 1.14rem; }
    .hmmnm-bp-body { padding: 18px; }
    .hmmnm-bp-num { font-size: 1.05rem; min-width: 36px; }
}

/* ================================================================
   v49 (2026-09-29): true infinite roll for the Security rail.
   Two seam bugs fixed: (1) the duplicated pass now reuses the same
   artwork mapping (template) so both halves are pixel-identical;
   (2) the rail centered its track vertically — at the -50% loop
   point the track's end rose above the viewport bottom, flashing a
   blank strip before the snap. A marquee must align its track to
   the TOP so the second copy always fills below the fold.
   ================================================================ */
.hmmnm-home .hmmnm-mosaic-rail.hmmnm-rail-roll { justify-content: flex-start !important; }
.hmmnm-rail-track { will-change: transform; }
