:root {
            --bg: #f5f3ef;
            --bg2: #edeae4;
            --bg3: #e4e0d8;
            --navy: #0d1b2a;
            --heading-color: #0d1b2a;
            --blue: #1a5cff;
            --accent: #c8a96e;
            --accent2: #e2c48a;
            --text: #1a1a2e;
            --text2: #4a4a6a;
            --grey: #8a8a9a;
            --white: #ffffff;
            --border: rgba(26, 92, 255, 0.1);
            --gold-border: rgba(200, 169, 110, 0.3);
            --shadow: 0 4px 40px rgba(13, 27, 42, 0.08);
            --shadow-lg: 0 20px 80px rgba(13, 27, 42, 0.15);
            --container: 1240px;
        }

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

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        body {
            background: linear-gradient(135deg, var(--bg) 0%, var(--bg2) 100%);
            color: var(--text);
            font-family: 'Jost', sans-serif;
            font-weight: 300;
            font-size: 16px;
            line-height: 1.75;
        }

        a {
            text-decoration: none;
        }

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

        .container {
            width: min(var(--container), calc(100% - 48px));
            margin: 0 auto;
        }



        .blog-hero {
            position: relative;
            padding: 12rem 0 3rem;
            overflow: hidden;
        }

        .blog-hero::before {
            content: '';
            position: absolute;
            top: -140px;
            right: -120px;
            width: 420px;
            height: 420px;
            border-radius: 50%;
            background: rgba(26, 92, 255, 0.10);
            filter: blur(80px);
            pointer-events: none;
        }

        .blog-hero::after {
            content: '';
            position: absolute;
            bottom: -120px;
            left: -120px;
            width: 360px;
            height: 360px;
            border-radius: 50%;
            background: rgba(200, 169, 110, 0.12);
            filter: blur(80px);
            pointer-events: none;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .hero-graphic {
            position: relative;
            width: 100%;
            height: 400px;
            perspective: 1000px;
            z-index: 2;
        }

        .glass-panel {
            position: absolute;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            color: var(--heading-color);
            transition: transform 0.3s ease;
        }

        [data-theme="dark"] .glass-panel {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .main-panel {
            width: 320px;
            height: 240px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg);
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
        }

        .main-panel:hover {
            transform: translate(-50%, -50%) rotateY(-5deg) rotateX(5deg);
        }

        .panel-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 2rem;
            color: var(--text2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 0.75rem;
        }

        .panel-header i {
            color: var(--accent);
            width: 18px;
            height: 18px;
        }

        .chart-bars {
            display: flex;
            align-items: flex-end;
            gap: 12px;
            flex: 1;
            padding-bottom: 1rem;
        }

        .bar {
            flex: 1;
            background: var(--blue);
            border-radius: 4px 4px 0 0;
            animation: barRise 2s ease-out forwards;
            opacity: 0;
            transform-origin: bottom;
            transform: scaleY(0);
        }
        
        .bar.b1 { height: 40%; animation-delay: 0.2s; }
        .bar.b2 { height: 60%; animation-delay: 0.4s; }
        .bar.b3 { height: 35%; animation-delay: 0.6s; background: var(--accent); }
        .bar.b4 { height: 80%; animation-delay: 0.8s; }
        .bar.b5 { height: 100%; animation-delay: 1.0s; background: var(--accent); }

        @keyframes barRise {
            0% { transform: scaleY(0); opacity: 0; }
            100% { transform: scaleY(1); opacity: 1; }
        }

        .float-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            animation: floating 4s ease-in-out infinite;
        }

        .fc-1 {
            top: 20%;
            right: 0;
            animation-delay: 0s;
        }

        .fc-2 {
            bottom: 25%;
            left: 0;
            animation-delay: 2s;
        }

        .fc-icon-wrap {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(200, 169, 110, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
        }

        .fc-text {
            display: flex;
            flex-direction: column;
        }

        .fc-val {
            font-size: 1.1rem;
            font-weight: 600;
            line-height: 1.2;
        }

        .fc-lbl {
            font-size: 0.75rem;
            color: var(--text2);
        }

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

        .hero-wrap {
            position: relative;
            z-index: 1;
            max-width: 760px;
        }

        .section-tag {
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 0.9rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .section-tag::before {
            content: '';
            width: 30px;
            height: 1px;
            background: var(--accent);
        }

        .hero-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(2.8rem, 6vw, 4.8rem);
            line-height: 1.02;
            font-weight: 500;
            color: var(--heading-color);
            margin-bottom: 1rem;
            letter-spacing: -0.6px;
        }

        .hero-title em {
            font-style: italic;
            color: var(--blue);
        }

        .hero-sub {
            color: var(--grey);
            font-size: 1rem;
            max-width: 640px;
            margin-bottom: 2rem;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn-dark,
        .btn-outline {
            padding: 0.9rem 1.7rem;
            border-radius: 4px;
            font-size: 0.82rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.25s ease;
        }

        .btn-dark {
            background: var(--navy);
            color: #ffffff;
        }

        .btn-dark:hover {
            background: var(--blue);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(26, 92, 255, 0.25);
        }

        .btn-outline {
            border: 1px solid rgba(13, 27, 42, 0.15);
            color: var(--navy);
            background: transparent;
        }

        .btn-outline:hover {
            border-color: var(--navy);
            background: rgba(13, 27, 42, 0.04);
            transform: translateY(-2px);
        }

        .blog-section {
            padding: 1rem 0 6rem;
        }

        .section-head {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 2rem;
            margin-bottom: 2.2rem;
        }

        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 500;
            color: var(--heading-color);
            line-height: 1.08;
        }

        .section-title em {
            font-style: italic;
            color: var(--blue);
        }

        .section-sub {
            color: var(--grey);
            max-width: 520px;
            font-size: 0.92rem;
        }

        .status {
            text-align: center;
            padding: 2rem 1rem;
            color: var(--grey);
            font-size: 0.95rem;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
            gap: 2rem;
            justify-content: start;
        }

        .blog-card {
            position: relative;
            background: var(--white);
            border: 1px solid rgba(13, 27, 42, 0.06);
            border-radius: 4px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 380px;
        }

        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(26, 92, 255, 0.14);
        }

        .blog-card-media {
            position: relative;
            height: 220px;
            background: linear-gradient(135deg, rgba(13, 27, 42, 0.05), rgba(26, 92, 255, 0.08));
            overflow: hidden;
        }

        .blog-card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.45s ease;
        }

        .blog-card:hover .blog-card-media img {
            transform: scale(1.04);
        }

        .blog-card-body {
            padding: 1.5rem 1.5rem 1.3rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            flex-wrap: wrap;
            margin-bottom: 0.85rem;
        }

        .blog-date {
            font-size: 0.72rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--accent);
            font-weight: 500;
        }

        .blog-dot {
            width: 4px;
            height: 4px;
            background: var(--gold-border);
            border-radius: 50%;
        }

        .blog-label {
            font-size: 0.7rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--grey);
        }

        .blog-card-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.45rem;
            font-weight: 600;
            color: var(--heading-color);
            line-height: 1.2;
            margin-bottom: 0.8rem;
            transition: color 0.25s ease;
        }

        .blog-card:hover .blog-card-title {
            color: var(--blue);
        }

        .blog-card-excerpt {
            color: var(--text2);
            font-size: 0.9rem;
            line-height: 1.75;
            margin-bottom: 1.2rem;
            flex: 1;
        }

        .blog-read {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            color: var(--navy);
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 1.4px;
            text-transform: uppercase;
            transition: gap 0.25s ease, color 0.25s ease;
        }

        .blog-read:hover {
            color: var(--blue);
            gap: 0.7rem;
        }

        .empty-box,
        .error-box {
            background: var(--white);
            border: 1px solid rgba(13, 27, 42, 0.06);
            padding: 2rem;
            border-radius: 4px;
            box-shadow: var(--shadow);
            text-align: center;
            color: var(--grey);
        }

        footer {
            background: var(--navy);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 2rem 0;
            margin-top: 2rem;
        }

        .footer-inner {
            width: min(var(--container), calc(100% - 48px));
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .footer-logo {
            font-family: 'Cormorant Garamond', serif;
            font-weight: 600;
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.65);
        }

        .footer-logo span {
            color: var(--accent);
        }

        .footer-right {
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.28);
            letter-spacing: 0.5px;
        }

        @media (max-width: 900px) {
            .section-head {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        @media (max-width: 992px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .hero-graphic {
                height: 320px;
            }
            .blog-hero {
                padding: 12rem 0 4rem;
            }
            .hero-title {
                font-size: 3rem;
            }
        }
        @media (max-width: 768px) {
            .blog-hero {
                padding: 10.5rem 0 2rem;
            }

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

            .btn-dark,
            .btn-outline {
                width: 100%;
                justify-content: center;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }
        }
/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: rgba(26, 92, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--blue);
  border: 1px solid rgba(26, 92, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(26, 92, 255, 0.4);
  border-color: var(--blue);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg: #0b1120;
  --bg2: #0f172a;
  --bg3: #1e293b;
  --navy: #05080f;
  --heading-color: #f8fafc;
  --text: #f1f5f9;
  --text2: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --white: #1e293b;
}

[data-theme="dark"] .btn-dark {
    background: var(--blue);
    color: #ffffff;
}

/* Dark mode nav handled by site.css nav.scrolled */
/* Dark mode menu handled by css variables */
[data-theme="dark"] .btn-outline {
  color: var(--heading-color);
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--heading-color);
}
[data-theme="dark"] .blog-card {
    background: var(--bg2);
    border-color: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .blog-card:hover {
    border-color: rgba(26, 92, 255, 0.3);
}
[data-theme="dark"] .blog-card-media {
    background: rgba(0,0,0,0.2);
}
[data-theme="dark"] .blog-read {
    color: var(--heading-color);
}
[data-theme="dark"] .blog-read:hover {
    color: var(--blue);
}
