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

        :root {
            --bg: #f0f4f8;
            --surface: #ffffff;
            --surface2: #f7f9fc;
            --border: #e2e8f0;
            --accent: #2563eb;
            --accent-soft: #dbeafe;
            --accent-mid: #93c5fd;
            --text: #0f172a;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --green: #10b981;
            --green-soft: #d1fae5;
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            transition: background 0.3s, color 0.3s;
        }

        .navbar {
            position: sticky;
            top: 0;
            z-index: 200;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            padding: 0 2rem;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
        }

        .nav-logo-badge {
            width: 34px;
            height: 34px;
            border-radius: 8px;
            background: var(--accent);
            color: #fff;
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            font-size: 0.78rem;
            display: flex;
            align-items: center;
            justify-content: center;
            letter-spacing: -0.5px;
        }

        .nav-logo-name {
            font-family: 'Syne', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            list-style: none;
        }

        .nav-links a {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-muted);
            text-decoration: none;
            padding: 0.4rem 0.75rem;
            border-radius: 6px;
            transition: color 0.15s, background 0.15s;
            white-space: nowrap;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent);
            background: var(--accent-soft);
        }

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

        .hire-btn {
            background: var(--accent);
            color: #fff;
            font-size: 0.83rem;
            font-weight: 600;
            padding: 0.45rem 1rem;
            border-radius: 8px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background 0.15s, transform 0.1s;
            white-space: nowrap;
        }

        .hire-btn:hover {
            background: #1d4ed8;
            transform: translateY(-1px);
        }

        .dark-btn {
            background: none;
            border: 1px solid var(--border);
            border-radius: 8px;
            width: 34px;
            height: 34px;
            cursor: pointer;
            color: var(--text-muted);
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s, color 0.15s;
        }

        .dark-btn:hover {
            background: var(--accent-soft);
            color: var(--accent);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 4px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 4px;
        }

        .hamburger span {
            display: block;
            width: 20px;
            height: 2px;
            background: var(--text-muted);
            border-radius: 2px;
            transition: transform 0.2s, opacity 0.2s;
        }

        .hamburger.open span:nth-child(1) {
            transform: translateY(6px) rotate(45deg);
        }

        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.open span:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 1rem 1.5rem;
            z-index: 199;
            flex-direction: column;
            gap: 0.25rem;
        }

        .mobile-menu.open {
            display: flex;
        }

        .mobile-menu a {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
            text-decoration: none;
            padding: 0.6rem 0.75rem;
            border-radius: 8px;
            transition: color 0.15s, background 0.15s;
        }

        .mobile-menu a:hover,
        .mobile-menu a.active {
            color: var(--accent);
            background: var(--accent-soft);
        }

        .mobile-menu .hire-btn {
            text-align: center;
            margin-top: 0.5rem;
        }

        .page {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2.5rem 1.5rem 4rem;
        }

        .section {
            display: none;
            animation: fadeUp 0.3s ease;
        }

        .section.active {
            display: block;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(12px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 3rem;
            align-items: center;
            padding: 3rem;
            background: var(--surface);
            border-radius: 20px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            margin-bottom: 1.25rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -60px;
            right: -60px;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-label {
            font-family: 'Outfit', monospace;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--accent);
            margin-bottom: 0.75rem;
            letter-spacing: 0.02em;
        }

        .hero-name {
            font-family: 'Syne', sans-serif;
            font-size: clamp(2rem, 5vw, 3.2rem);
            font-weight: 800;
            color: var(--text);
            line-height: 1.1;
            margin-bottom: 0.6rem;
        }

        .hero-roles {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-bottom: 1.25rem;
        }

        .role-tag {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--accent);
            font-family: 'Outfit', monospace;
            letter-spacing: 0.03em;
        }

        .role-tag+.role-tag::before {
            content: '·';
            margin-right: 0.4rem;
            color: var(--text-light);
        }

        .hero-bio {
            font-size: 0.92rem;
            color: var(--text-muted);
            line-height: 1.75;
            max-width: 600px;
            margin-bottom: 1.75rem;
            text-align: justify;
            text-justify: inter-word;
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-bottom: 2rem;
        }

        .btn-primary {
            background: var(--accent);
            color: #fff;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 0.6rem 1.25rem;
            border-radius: 9px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background 0.15s, transform 0.1s;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .btn-primary:hover {
            background: #1d4ed8;
            transform: translateY(-1px);
        }

        .btn-outline {
            background: transparent;
            color: var(--text);
            font-size: 0.85rem;
            font-weight: 500;
            padding: 0.6rem 1.25rem;
            border-radius: 9px;
            text-decoration: none;
            border: 1.5px solid var(--border);
            cursor: pointer;
            transition: border-color 0.15s, background 0.15s, transform 0.1s;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .btn-outline:hover {
            border-color: var(--accent-mid);
            background: var(--accent-soft);
            transform: translateY(-1px);
        }

        .social-icon-btn {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1.5px solid var(--border);
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            color: var(--text-muted);
            text-decoration: none;
            transition: border-color 0.15s, color 0.15s, background 0.15s;
        }

        .social-icon-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-soft);
        }

        .hero-photo-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .hero-photo {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            border: 3px solid var(--accent);
            box-shadow: 0 0 0 6px var(--accent-soft);
            background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Syne', sans-serif;
            font-weight: 800;
            font-size: 2.4rem;
            color: #ffffff;
            overflow: hidden;
            position: relative;
            letter-spacing: -1px;
        }

        .hero-photo img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            border-radius: 50%;
        }

        .hero-photo img.hidden {
            display: none;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.35rem 0.85rem;
            background: var(--green-soft);
            border: 1px solid #a7f3d0;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #065f46;
            white-space: nowrap;
        }

        .status-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green);
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
        }

        .stat-card {
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            text-align: center;
            transition: border-color 0.2s, background 0.2s;
        }

        .stat-card:hover {
            border-color: var(--accent-mid);
            background: var(--accent-soft);
        }

        .stat-num {
            font-family: 'Syne', sans-serif;
            font-size: 1.65rem;
            font-weight: 800;
            color: var(--accent);
            line-height: 1;
            margin-bottom: 0.25rem;
        }

        .stat-label {
            font-size: 0.72rem;
            font-weight: 500;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .sec-header {
            margin-bottom: 1.5rem;
        }

        .sec-header h2 {
            font-family: 'Syne', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
        }

        .sec-header p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.2rem;
        }

        .timeline {
            display: flex;
            flex-direction: column;
        }

        .tl-item {
            display: grid;
            grid-template-columns: 110px 32px 1fr;
            padding-bottom: 2rem;
            position: relative;
        }

        .tl-item:last-child {
            padding-bottom: 0;
        }

        .tl-item:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 126px;
            top: 20px;
            bottom: 0;
            width: 1px;
            background: var(--border);
        }

        .tl-left {
            grid-column: 1;
            text-align: right;
            padding-top: 3px;
            padding-right: 4px;
        }

        .tl-period {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            line-height: 1.5;
            white-space: nowrap;
        }

        .tl-dot-col {
            grid-column: 2;
            display: flex;
            justify-content: center;
            padding-top: 5px;
            position: relative;
            z-index: 1;
        }

        .tl-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--accent);
            border: 2.5px solid var(--bg);
            box-shadow: 0 0 0 2px var(--accent-mid);
            flex-shrink: 0;
        }

        .tl-card {
            grid-column: 3;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1.25rem 1.5rem;
            box-shadow: var(--shadow);
            transition: border-color 0.2s;
            margin-left: 0.5rem;
        }

        .tl-card:hover {
            border-color: var(--accent-mid);
        }

        .tl-title {
            font-family: 'Syne', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.75rem;
        }

        .tl-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.45rem;
        }

        .tl-list li {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.6;
            padding-left: 1.1rem;
            position: relative;
        }

        .tl-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-size: 0.75rem;
            top: 0.05em;
        }

        .edu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1rem;
        }

        .edu-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            transition: border-color 0.2s;
        }

        .edu-card:hover {
            border-color: var(--accent-mid);
        }

        .edu-badge {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            padding: 3px 10px;
            border-radius: 20px;
            margin-bottom: 0.75rem;
            background: var(--accent-soft);
            color: var(--accent);
        }

        .edu-degree {
            font-family: 'Syne', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.25rem;
        }

        .edu-sub {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
        }

        .skill-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            box-shadow: var(--shadow);
            transition: border-color 0.2s, background 0.2s;
        }

        .skill-card:hover {
            border-color: var(--accent-mid);
            background: var(--accent-soft);
        }

        .skill-label {
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-light);
            margin-bottom: 0.35rem;
        }

        .skill-value {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
        }

        .cert-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .cert-link {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 170px;
            padding: 1.25rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            text-decoration: none;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
        }

        .cert-link::before {
            content: '';
            position: absolute;
            inset: 0 auto 0 0;
            width: 3px;
            background: var(--accent);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .cert-link:hover {
            border-color: var(--accent-mid);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        }

        .cert-link:hover::before,
        .cert-link.active::before {
            opacity: 1;
        }

        .cert-link.expired {
            border-color: #fecaca;
        }

        .cert-link.expired::before {
            background: #dc2626;
            opacity: 1;
        }

        .cert-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
        }

        .cert-icon {
            width: 48px;
            height: 48px;
            border-radius: 13px;
            background: var(--accent-soft);
            color: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
            border: 1px solid rgba(37, 99, 235, 0.08);
        }

        .cert-link.expired .cert-icon {
            background: #fee2e2;
            color: #dc2626;
        }

        .cert-status {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.28rem 0.6rem;
            border-radius: 999px;
            background: var(--green-soft);
            color: #047857;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .cert-status.expired {
            background: #fee2e2;
            color: #b91c1c;
        }

        .cert-status.loading {
            background: var(--surface2);
            color: var(--text-light);
        }

        .cert-body {
            margin-top: 1rem;
        }

        .cert-provider {
            font-size: 0.66rem;
            font-weight: 700;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 0.35rem;
        }

        .cert-name {
            font-family: 'Syne', sans-serif;
            font-size: 0.92rem;
            line-height: 1.45;
            font-weight: 700;
            color: var(--text);
        }


        .cert-dates {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            color: var(--text-muted);
            font-size: 0.72rem;
            line-height: 1.4;
        }

        .cert-dates>div {
            display: flex;
            align-items: center;
            gap: 0.28rem;
        }

        .date-label {
            color: var(--text-light);
            font-weight: 600;
        }

        .cert-status {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.28rem 0.6rem;
            border-radius: 999px;
            background: var(--green-soft);
            color: #047857;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .cert-link.active::before {
            opacity: 1;
        }

        .cert-link.active::before {
            background: var(--green);
        }

        .cert-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
        }

        .cert-expiry {
            font-size: 0.72rem;
            color: var(--text-muted);
        }

        .cert-action {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            color: var(--accent);
            font-size: 0.72rem;
            font-weight: 600;
        }

        .cert-arrow {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: var(--surface2);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            flex-shrink: 0;
            transition: background 0.2s, color 0.2s;
        }

        .cert-link:hover .cert-arrow {
            background: var(--accent-soft);
            color: var(--accent);
        }

        .achievement-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: linear-gradient(135deg, #fff8df, #fffdf4);
            border: 1px solid #f5cf63;
            border-radius: 16px;
            padding: 1rem 1.25rem;
            margin-top: 1rem;
        }

        .achievement-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: #fef3c7;
            color: #b45309;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .ach-title {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #92400e;
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .achievement-card p {
            font-size: 0.82rem;
            color: #78350f;
            line-height: 1.55;
        }

        body.dark .achievement-card {
            background: rgba(251, 191, 36, 0.08);
            border-color: rgba(251, 191, 36, 0.2);
        }

        body.dark .ach-title {
            color: #f59e0b;
        }

        body.dark .achievement-card p {
            color: #d6a35d;
        }

        body.dark .achievement-icon {
            background: rgba(251, 191, 36, 0.12);
            color: #f59e0b;
        }

        body.dark .cert-link.expired {
            border-color: rgba(248, 113, 113, 0.35);
        }


        /* =========================
           Contact Section
           ========================= */

        .contact-grid {
            display: grid;
            grid-template-columns: 0.8fr 1.2fr;
            gap: 1rem;
            align-items: stretch;
        }

        .contact-info,
        .contact-form-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .contact-info h3 {
            font-family: 'Syne', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }

        .contact-info p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .contact-details {
            margin-top: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .contact-detail {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.82rem;
            color: var(--text-muted);
        }

        .contact-detail i {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: var(--accent-soft);
            color: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-detail a {
            color: var(--text-muted);
            text-decoration: none;
            word-break: break-word;
        }

        .contact-detail a:hover {
            color: var(--accent);
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .form-group label {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem 0.85rem;
            border: 1px solid var(--border);
            border-radius: 9px;
            background: var(--surface2);
            color: var(--text);
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .message-meta {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.25rem;
            font-size: 0.68rem;
            color: var(--text-light);
        }

        .message-counter {
            font-variant-numeric: tabular-nums;
        }

        .message-counter.limit-near {
            color: #b45309;
        }

        .message-counter.limit-reached {
            color: #dc2626;
            font-weight: 600;
        }

        body.dark .message-counter.limit-near {
            color: #f59e0b;
        }

        body.dark .message-counter.limit-reached {
            color: #f87171;
        }

        .form-submit {
            margin-top: 0.25rem;
            width: fit-content;
        }

        .contact-note {
            margin-top: 0.75rem;
            font-size: 0.7rem;
            color: var(--text-light);
        }

        /* Keep status messages hidden until the form is submitted.
           The [hidden] attribute must override the flex display above. */
        .contact-success[hidden],
        .contact-error[hidden] {
            display: none !important;
        }

        .contact-success,
        .contact-error {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            margin-top: 0.25rem;
            padding: 0.85rem 1rem;
            border-radius: 10px;
            font-size: 0.8rem;
            line-height: 1.5;
        }

        .contact-success {
            background: var(--green-soft);
            border: 1px solid rgba(16, 185, 129, 0.25);
            color: #047857;
        }

        .contact-success i,
        .contact-error i {
            margin-top: 0.15rem;
            flex-shrink: 0;
        }

        .contact-success div {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }

        .contact-success span {
            color: #065f46;
        }

        .contact-error {
            background: #fee2e2;
            border: 1px solid #fecaca;
            color: #b91c1c;
        }

        body.dark .contact-success {
            background: rgba(16, 185, 129, 0.12);
            border-color: rgba(16, 185, 129, 0.25);
            color: #34d399;
        }

        body.dark .contact-success span {
            color: #6ee7b7;
        }

        body.dark .contact-error {
            background: rgba(239, 68, 68, 0.12);
            border-color: rgba(248, 113, 113, 0.25);
            color: #fca5a5;
        }

        @media (max-width: 760px) {
            .cert-list {
                grid-template-columns: 1fr;
            }
        }



        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
            gap: 1rem;
        }

        .project-card {
            display: flex;
            flex-direction: column;
            min-width: 0;
            padding: 1.35rem;
            border: 1px solid var(--border);
            border-radius: 16px;
            background: var(--surface);
            box-shadow: var(--shadow);
            transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
        }

        .project-card:hover {
            border-color: var(--accent-mid);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        }

        .project-topline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            color: var(--text-light);
            font-size: 0.8rem;
            margin-bottom: 0.85rem;
        }

        .project-type {
            color: var(--accent);
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .project-card h3 {
            color: var(--text);
            font-family: 'Syne', sans-serif;
            font-size: 1.05rem;
            line-height: 1.4;
            margin-bottom: 0.65rem;
        }

        .project-card p {
            color: var(--text-muted);
            font-size: 0.86rem;
            line-height: 1.65;
            margin-bottom: 1rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin: auto 0 1.1rem;
        }

        .project-tags span {
            padding: 0.28rem 0.55rem;
            border: 1px solid var(--border);
            border-radius: 999px;
            background: var(--surface2);
            color: var(--text-muted);
            font-size: 0.68rem;
            font-weight: 500;
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            align-self: flex-start;
            color: var(--accent);
            font-size: 0.85rem;
            font-weight: 700;
            text-decoration: none;
        }

        .project-link:hover {
            gap: 0.7rem;
        }

        .about-profiles {
            margin-top: 1.8rem;
        }

        .about-profiles h2 {
            color: var(--text);
            font-family: 'Syne', sans-serif;
            font-size: 1.05rem;
            margin-bottom: 0.8rem;
        }

        .expertise-subheader {
            margin: 1.8rem 0 1rem;
        }

        .expertise-subheader h3 {
            color: var(--text);
            font-family: 'Syne', sans-serif;
            font-size: 1.15rem;
            font-weight: 700;
        }

        .expertise-subheader p {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-top: 0.2rem;
        }

        .project-link:focus-visible,
        .nav-link-item:focus-visible,
        .mob-link:focus-visible {
            outline: 3px solid var(--accent-mid);
            outline-offset: 3px;
        }

        @media (prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }
        }

        .profiles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
        }

        .profile-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            text-decoration: none;
            box-shadow: var(--shadow);
            transition: border-color 0.2s, background 0.15s, transform 0.1s;
        }

        .profile-link:hover {
            border-color: var(--accent-mid);
            background: var(--accent-soft);
            transform: translateY(-2px);
        }

        .profile-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--surface2);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--brand, var(--text-muted));
            flex-shrink: 0;
        }

        .profile-link:hover .profile-icon {
            background: var(--accent-soft);
            color: var(--brand, var(--accent));
        }

        .profile-icon.github {
            --brand: #181717;
        }

        .profile-icon.hackerrank {
            --brand: #00ea64;
        }

        .profile-icon.medium {
            --brand: #000000;
        }

        .profile-icon.devto {
            --brand: #0a0a0a;
        }

        body.dark .profile-icon.github,
        body.dark .profile-icon.medium,
        body.dark .profile-icon.devto {
            --brand: #f0f6fc;
        }

        .profile-link-name {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text);
        }

        .profile-link-sub {
            font-size: 0.72rem;
            color: var(--text-light);
        }

        body.dark {
            --bg: #0d1117;
            --surface: #161b22;
            --surface2: #1c2128;
            --border: #30363d;
            --text: #e6edf3;
            --text-muted: #8b949e;
            --text-light: #484f58;
            --accent-soft: rgba(37, 99, 235, 0.15);
            --accent-mid: rgba(37, 99, 235, 0.4);
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
            --green-soft: rgba(16, 185, 129, 0.15);
        }

        body.dark .navbar {
            background: rgba(22, 27, 34, 0.9);
        }

        body.dark .tl-dot {
            border-color: var(--bg);
        }

        body.dark .achievement-card {
            background: rgba(251, 191, 36, 0.08);
            border-color: rgba(251, 191, 36, 0.2);
        }

        body.dark .ach-title {
            color: #d97706;
        }

        body.dark .achievement-card p {
            color: #b45309;
        }

        body.dark .status-badge {
            background: rgba(16, 185, 129, 0.15);
            border-color: rgba(16, 185, 129, 0.3);
            color: #34d399;
        }

        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
                padding: 2rem 1.75rem;
            }

            .hero-photo-wrap {
                flex-direction: row;
                justify-content: flex-start;
            }

            .hero-photo {
                width: 120px;
                height: 120px;
            }
        }

        @media (max-width: 640px) {
            .navbar {
                padding: 0 1rem;
            }

            .nav-links {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .page {
                padding: 1.5rem 1rem 3rem;
            }

            .hero {
                padding: 1.5rem;
            }

            .hero-photo {
                width: 100px;
                height: 100px;
            }

            .hero-stats {
                gap: 0.5rem;
            }

            .stat-card {
                padding: 0.75rem 0.5rem;
            }

            .stat-num {
                font-size: 1.3rem;
            }

            .tl-item {
                grid-template-columns: 1fr;
                padding-bottom: 1.5rem;
            }

            .tl-item:not(:last-child)::after {
                display: none;
            }

            .tl-left {
                grid-column: 1;
                text-align: left;
                padding-right: 0;
                margin-bottom: 0.35rem;
            }

            .tl-period {
                color: var(--accent);
                font-weight: 700;
            }

            .tl-dot-col {
                display: none;
            }

            .tl-card {
                grid-column: 1;
                margin-left: 0;
            }
        }

        /* Refined project descriptions and consistent card alignment */
        .project-card {
            padding: 1.65rem;
            height: 100%;
        }

        .project-card h3 {
            font-size: 1.08rem;
            line-height: 1.4;
            margin-bottom: 0.7rem;
        }

        .project-card .project-tagline {
            color: var(--accent);
            font-size: 0.79rem;
            font-weight: 600;
            line-height: 1.5;
            margin: 0 0 0.8rem;
        }

        .project-card .project-description {
            color: var(--text-muted);
            font-size: 0.88rem;
            font-weight: 400;
            line-height: 1.75;
            margin: 0 0 1rem;
            max-width: 62ch;
            text-align: left;
        }

        .project-card .project-tags {
            margin-top: auto;
            padding-top: 1.25rem;
            margin-bottom: 1.15rem;
        }

        @media (max-width: 640px) {
            .project-card {
                padding: 1.35rem;
            }

            .project-card .project-description {
                line-height: 1.7;
            }
        }


        /* Compact skills layout: avoid tall empty cards for short skill lists */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
            align-items: start;
            gap: 0.75rem;
        }

        .skill-card {
            height: auto;
            min-height: 0;
            padding: 1rem 1.1rem;
        }

        .skill-value {
            line-height: 1.55;
            overflow-wrap: anywhere;
        }

        /* Compact social icons replace large profile cards */
        .about-social-links {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.65rem;
            margin-top: 1.5rem;
        }

        .about-social-icon {
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            box-shadow: var(--shadow);
            color: var(--text-muted);
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s;
        }

        .about-social-icon:hover {
            color: var(--accent);
            background: var(--accent-soft);
            border-color: var(--accent-mid);
            transform: translateY(-2px);
        }

        .about-social-icon:focus-visible {
            outline: 3px solid var(--accent-mid);
            outline-offset: 3px;
        }

        .about-social-icon.hackerrank {
            color: #00a94f;
        }

        .about-social-icon.medium {
            color: var(--text);
        }

        .about-social-icon.devto {
            color: var(--text);
        }

        body.dark .about-social-icon.medium,
        body.dark .about-social-icon.devto {
            color: var(--text);
        }

        @media (max-width: 640px) {
            .skills-grid {
                grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
            }
        }


        /* Skills page inspired by the supplied reference */
        .skills-list {
            display: flex;
            flex-direction: column;
            gap: 0;
            width: 100%;
        }

        .skill-row {
            display: grid;
            grid-template-columns: minmax(190px, 30%) minmax(0, 1fr);
            gap: 1.25rem;
            align-items: start;
            padding: 1.2rem 0;
            border-bottom: 1px solid var(--border);
        }

        .skill-row:last-child {
            border-bottom: 0;
        }

        .skill-category {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            padding-top: 0.55rem;
        }

        .skill-pills {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.55rem;
        }

        .skill-pill {
            display: inline-flex;
            align-items: center;
            max-width: 100%;
            padding: 0.55rem 0.9rem;
            border: 1px solid var(--border);
            border-radius: 999px;
            background: var(--surface);
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.25;
            overflow-wrap: anywhere;
        }

        @media (max-width:700px) {
            .skill-row {
                grid-template-columns: 1fr;
                gap: 0.65rem;
                padding: 1rem 0;
            }

            .skill-category {
                padding-top: 0;
                font-weight: 600;
            }

            .skill-pills {
                gap: 0.45rem;
            }

            .skill-pill {
                padding: 0.5rem 0.75rem;
                font-size: 0.85rem;
            }
        }


        /* Align HackerRank, Medium, and Dev.to as one compact icon row */
        .about-social-links--aligned {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 0.75rem;
            flex-wrap: wrap;
            margin-top: 1.25rem;
            width: 100%;
        }

        .about-social-links--aligned .about-social-icon {
            flex: 0 0 48px;
            width: 48px;
            height: 48px;
            margin: 0;
        }

        /* Recognizable default brand colors for hero LinkedIn/GitHub icons */
        .brand-linkedin,
        .brand-linkedin i {
            color: #0A66C2 !important;
        }

        .brand-github,
        .brand-github i {
            color: #24292F !important;
        }

        body.dark .brand-github,
        body.dark .brand-github i {
            color: #F0F6FC !important;
        }

        .brand-linkedin:hover,
        .brand-github:hover {
            transform: translateY(-2px);
        }


        /* Social profile icons live in the Contact section */
        #contact .contact-social-links {
            margin-top: 1.25rem;
            margin-bottom: 0.75rem;
        }

        #contact .contact-social-links .about-social-icon {
            width: 44px;
            height: 44px;
            flex-basis: 44px;
        }


        /* Compact certification cards while keeping every official Credly link clickable */
        #certification .cert-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
            gap: 0.85rem;
            align-items: stretch;
        }

        #certification .cert-link.cert-compact {
            padding: 1rem 1.1rem;
            min-height: 0;
            gap: 0.65rem;
        }

        #certification .cert-compact .cert-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.1rem;
        }

        #certification .cert-compact .cert-icon {
            width: 42px;
            height: 42px;
            min-width: 42px;
        }

        #certification .cert-compact .cert-body {
            margin: 0;
        }

        #certification .cert-compact .cert-provider {
            font-size: 0.72rem;
            margin-bottom: 0.2rem;
        }

        #certification .cert-compact .cert-name {
            font-size: 0.98rem;
            line-height: 1.4;
        }

        #certification .cert-compact .cert-footer {
            margin-top: 0.6rem;
            padding-top: 0.6rem;
            gap: 0.5rem;
        }

        #certification .cert-compact .cert-dates {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem 0.85rem;
            font-size: 0.78rem;
        }

        #certification .cert-compact .cert-arrow {
            flex-shrink: 0;
        }

        @media (max-width: 520px) {
            #certification .cert-list {
                grid-template-columns: 1fr;
            }

            #certification .cert-compact .cert-footer {
                align-items: flex-start;
            }
        }


        /* Further tighten certification cards: AWS provider is already clear from the title/icon */
        #certification .cert-compact .cert-body {
            margin: 0;
            padding: 0;
            width: 100%;
        }

        #certification .cert-compact .cert-name {
            display: block;
            width: 100%;
            max-width: none;
            margin: 0;
            line-height: 1.35;
        }

        #certification .cert-compact .cert-top {
            margin-bottom: 0;
        }

        #certification .cert-compact .cert-footer {
            margin-top: 0.5rem;
        }


        /* Keep certification name beside the AWS icon */
        #certification .cert-compact .cert-top {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 0.9rem;
            margin-bottom: 0;
        }

        #certification .cert-compact .cert-icon {
            flex: 0 0 42px;
        }

        #certification .cert-compact .cert-name-inline {
            flex: 1 1 auto;
            min-width: 0;
            font-size: 0.98rem;
            line-height: 1.4;
            margin: 0;
            overflow-wrap: anywhere;
        }

        #certification .cert-compact .cert-footer {
            margin-top: 0.7rem;
        }

        @media (max-width: 520px) {
            #certification .cert-compact .cert-top {
                align-items: flex-start;
                gap: 0.7rem;
            }
        }


        /* Compact contact icon row with recognizable brand colors */
        #contact .contact-info.contact-info-compact {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 0.5rem;
            min-height: 100%;
        }

        #contact .contact-details.contact-all-social-icons {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.4rem;
            margin: 0.5rem 0 0;
        }

        #contact .contact-all-social-icons .contact-ordered-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 42px;
            width: 42px;
            height: 42px;
            margin: 0;
            padding: 0;
            border: 1px solid var(--border);
            border-radius: 11px;
            background: var(--surface);
            box-shadow: var(--shadow);
            text-decoration: none;
            font-size: 1.08rem;
            line-height: 1;
            transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

        #contact .contact-all-social-icons .contact-ordered-icon:hover {
            transform: translateY(-2px);
            background: var(--accent-soft);
            border-color: var(--accent-mid);
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
        }

        #contact .contact-all-social-icons .contact-ordered-icon:focus-visible {
            outline: 3px solid var(--accent-mid);
            outline-offset: 3px;
        }

        #contact .contact-all-social-icons .icon-mail {
            color: #D14836;
        }

        #contact .contact-all-social-icons .icon-linkedin {
            color: #0A66C2;
        }

        #contact .contact-all-social-icons .icon-github {
            color: #24292F;
        }

        #contact .contact-all-social-icons .icon-hackerrank {
            color: #00A94F;
        }

        #contact .contact-all-social-icons .icon-medium {
            color: #111111;
        }

        #contact .contact-all-social-icons .icon-devto {
            color: #111111;
        }

        body.dark #contact .contact-all-social-icons .icon-github,
        body.dark #contact .contact-all-social-icons .icon-medium,
        body.dark #contact .contact-all-social-icons .icon-devto {
            color: #F0F6FC;
        }

        #contact .contact-info-compact .contact-note-bottom {
            margin-top: auto;
            padding-top: 0.35rem;
            font-size: 0.7rem;
            color: var(--text-light);
        }

        @media (max-width: 640px) {
            #contact .contact-details.contact-all-social-icons {
                gap: 0.35rem;
            }

            #contact .contact-all-social-icons .contact-ordered-icon {
                flex-basis: 40px;
                width: 40px;
                height: 40px;
            }
        }

        /* Prime Video-inspired navigation: charcoal glass bar, bright active pill */
        .navbar {
            width: calc(100% - 32px);
            height: 72px;
            margin: 0 16px;
            padding: 0 1.15rem;
            gap: 1.1rem;
            background: linear-gradient(105deg, #20242b 0%, #17191f 55%, #252830 100%);
            border: 1px solid rgba(255, 255, 255, .08);
            border-top: 0;
            border-bottom-color: rgba(255, 255, 255, .12);
            border-radius: 0 0 16px 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
            color: #f5f7fa;
        }

        .nav-logo {
            flex: 0 0 auto;
            gap: .7rem;
            min-width: max-content;
        }

        .nav-logo-badge {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            background: linear-gradient(135deg, #60a5fa, #2563eb);
            box-shadow: 0 3px 12px rgba(37, 99, 235, .28);
            font-size: .8rem;
        }

        .nav-logo-name {
            color: #f5f7fa;
            font-size: .98rem;
            font-weight: 700;
            letter-spacing: -.02em;
        }

        .nav-links {
            flex: 1 1 auto;
            justify-content: center;
            min-width: 0;
            gap: .2rem;
        }

        .nav-links li {
            list-style: none;
        }

        .nav-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: .55rem .82rem;
            border-radius: 10px;
            color: #d4d8df;
            font-size: .88rem;
            font-weight: 600;
            letter-spacing: .01em;
            transition: color .18s ease, background .18s ease, box-shadow .18s ease;
        }

        .nav-links a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .09);
        }

        .nav-links a.active {
            color: #fff;
            background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1));
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 12px rgba(0, 0, 0, .12);
        }

        .nav-actions {
            flex: 0 0 auto;
            gap: .55rem;
        }

        .navbar .dark-btn {
            width: 40px;
            height: 40px;
            color: #e6eaf0;
            background: rgba(255, 255, 255, .055);
            border: 1px solid rgba(255, 255, 255, .14);
            border-radius: 10px;
            font-size: .9rem;
        }

        .navbar .dark-btn:hover {
            color: #fff;
            background: rgba(255, 255, 255, .14);
        }

        .navbar .hire-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            min-height: 40px;
            padding: .55rem .95rem;
            color: #fff;
            background: #343943;
            border: 1px solid rgba(255, 255, 255, .13);
            border-radius: 10px;
            font-size: .82rem;
            font-weight: 650;
        }

        .navbar .hire-btn:hover {
            background: #454b57;
            transform: translateY(-1px);
        }

        .navbar .hamburger span {
            background: #f5f7fa;
        }

        .mobile-menu {
            top: 72px;
            left: 16px;
            right: 16px;
            border: 1px solid var(--border);
            border-radius: 0 0 14px 14px;
            box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
        }

        @media (max-width: 1100px) and (min-width: 641px) {
            .navbar {
                gap: .55rem;
                padding: 0 .8rem;
            }

            .nav-logo {
                gap: .5rem;
            }

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

            .nav-links {
                gap: 0;
            }

            .nav-links a {
                padding: .5rem .52rem;
                font-size: .8rem;
            }

            .nav-actions {
                gap: .35rem;
            }

            .navbar .hire-btn {
                padding: .5rem .7rem;
            }
        }

        @media (max-width: 640px) {
            .navbar {
                width: calc(100% - 16px);
                height: 64px;
                margin: 0 8px;
                padding: 0 .8rem;
                gap: .5rem;
                border-radius: 0 0 13px 13px;
            }

            .nav-logo-badge {
                width: 35px;
                height: 35px;
            }

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

            .nav-actions {
                gap: .4rem;
            }

            .navbar .dark-btn {
                width: 36px;
                height: 36px;
            }

            .navbar .hire-btn {
                display: none;
            }

            .hamburger {
                padding: 7px;
            }

            .mobile-menu {
                top: 64px;
                left: 8px;
                right: 8px;
            }
        }

        @media (max-width: 360px) {
            .nav-logo-name {
                font-size: .82rem;
            }

            .nav-logo {
                gap: .4rem;
            }

            .nav-logo-badge {
                width: 32px;
                height: 32px;
            }
        }

        /* Light-blue navigation at the top; transparent glass effect after scrolling. */
        .navbar {
            background: linear-gradient(105deg, #dbeafe 0%, #bfdbfe 52%, #dbeafe 100%);
            border-color: rgba(59, 130, 246, .18);
            border-bottom-color: rgba(59, 130, 246, .22);
            box-shadow: 0 8px 24px rgba(30, 64, 175, .10);
            color: #172554;
            transition: background .28s ease, border-color .28s ease, box-shadow .28s ease,
                backdrop-filter .28s ease;
        }

        .navbar .nav-logo-name {
            color: #172554;
        }

        .navbar .nav-links a {
            color: #334155;
        }

        .navbar .nav-links a:hover {
            color: #1e3a8a;
            background: rgba(255, 255, 255, .48);
        }

        .navbar .nav-links a.active {
            color: #1e3a8a;
            background: rgba(255, 255, 255, .72);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 12px rgba(30, 64, 175, .08);
        }

        .navbar .dark-btn {
            color: #1e3a8a;
            background: rgba(255, 255, 255, .38);
            border-color: rgba(59, 130, 246, .22);
        }

        .navbar .dark-btn:hover {
            background: rgba(255, 255, 255, .7);
            color: #1d4ed8;
        }

        .navbar .hire-btn {
            color: #fff;
            background: #2563eb;
            border-color: rgba(37, 99, 235, .25);
        }

        .navbar .hire-btn:hover {
            background: #1d4ed8;
        }

        .navbar .hamburger span {
            background: #1e3a8a;
        }

        .navbar.is-scrolled {
            background: rgba(219, 234, 254, .12);
            border-color: rgba(255, 255, 255, .12);
            border-bottom-color: rgba(255, 255, 255, .16);
            box-shadow: 0 6px 22px rgba(15, 23, 42, .08);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
        }

        .navbar.is-scrolled .nav-logo-name,
        .navbar.is-scrolled .nav-links a,
        .navbar.is-scrolled .dark-btn {
            color: #f8fafc;
        }

        .navbar.is-scrolled .nav-links a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .13);
        }

        .navbar.is-scrolled .nav-links a.active {
            color: #fff;
            background: rgba(255, 255, 255, .2);
        }

        .navbar.is-scrolled .dark-btn {
            background: rgba(15, 23, 42, .2);
            border-color: rgba(255, 255, 255, .22);
        }

        .navbar.is-scrolled .hire-btn {
            background: rgba(15, 23, 42, .42);
            border-color: rgba(255, 255, 255, .22);
        }

        .navbar.is-scrolled .hamburger span {
            background: #f8fafc;
        }

        body.dark .navbar {
            background: linear-gradient(105deg, #bfdbfe 0%, #93c5fd 52%, #dbeafe 100%);
        }

        body.dark .navbar.is-scrolled {
            background: rgba(15, 23, 42, .12);
        }


        /* Keep scrolled navigation readable over light page content. */
        .navbar.is-scrolled .nav-logo-name,
        .navbar.is-scrolled .nav-links a,
        .navbar.is-scrolled .dark-btn {
            color: #1e293b;
        }

        .navbar.is-scrolled .nav-links a:hover {
            color: #1e40af;
            background: rgba(255, 255, 255, .48);
        }

        .navbar.is-scrolled .nav-links a.active {
            color: #1e40af;
            background: rgba(255, 255, 255, .62);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
        }

        .navbar.is-scrolled .dark-btn {
            background: rgba(255, 255, 255, .5);
            border-color: rgba(71, 85, 105, .2);
        }

        .navbar.is-scrolled .hire-btn {
            color: #fff;
            background: rgba(37, 99, 235, .9);
            border-color: rgba(37, 99, 235, .3);
        }

        .navbar.is-scrolled .hamburger span {
            background: #1e293b;
        }

        /* In dark mode, use light navigation text against the dark page. */
        body.dark .navbar.is-scrolled .nav-logo-name,
        body.dark .navbar.is-scrolled .nav-links a,
        body.dark .navbar.is-scrolled .dark-btn {
            color: #f8fafc;
        }

        body.dark .navbar.is-scrolled .nav-links a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .13);
        }

        body.dark .navbar.is-scrolled .nav-links a.active {
            color: #fff;
            background: rgba(255, 255, 255, .2);
        }

        body.dark .navbar.is-scrolled .dark-btn {
            background: rgba(15, 23, 42, .35);
            border-color: rgba(255, 255, 255, .22);
        }

        body.dark .navbar.is-scrolled .hamburger span {
            background: #f8fafc;
        }


        /* Final About hero refinements: portrait, readable copy, share placement, and full cloud top. */
        #about .hero-cloud-image {
            object-position: center top !important;
            transform: none !important;
        }

        #about .hero-copy {
            padding-top: 8px !important;
        }

        #about .hero-avatar-wrap {
            width: 164px;
            height: 164px;
            margin: 0 auto 14px;
            position: relative;
            border-radius: 50%;
            border: 3px solid rgba(255, 255, 255, .94);
            box-shadow: 0 8px 28px rgba(5, 20, 65, .38);
            overflow: hidden;
            background: linear-gradient(135deg, #EC2D01, #1239ad);
        }

        #about .hero-avatar {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            object-position: center 28%;
        }

        #about .hero-avatar-fallback {
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            color: #fff;
            font: 800 1.05rem/1 'Syne', sans-serif;
            letter-spacing: .04em;
        }

        #about .hero-avatar-fallback[hidden],
        #about .hero-avatar[hidden] {
            display: none !important;
        }

        #about .hero-copy .hero-eyebrow {
            text-shadow: 0 2px 10px rgba(3, 18, 64, .85) !important;
        }

        #about .hero-copy h1 {
            text-shadow: 0 3px 18px rgba(3, 18, 64, .68) !important;
        }

        #about .hero-copy>p {
            text-shadow: 0 2px 12px rgba(3, 18, 64, .95) !important;
        }

        #about .overview-heading-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 8px;
        }

        #about .overview-heading-top .section-kicker {
            margin: 0 !important;
        }

        #about .about-share-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(18, 57, 173, .22);
            border-radius: 999px;
            padding: 8px 12px;
            background: #fff;
            color: #1239ad;
            font: 600 .78rem/1 'Outfit', sans-serif;
            cursor: pointer;
            transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
        }

        #about .about-share-btn:hover {
            background: #1239ad;
            color: #fff;
            border-color: #1239ad;
            transform: translateY(-2px);
        }

        #about .about-share-btn:focus-visible {
            outline: 3px solid #EC2D01;
            outline-offset: 3px;
        }

        /* Persistent share action in the page's bottom-right corner. */
        .floating-share-btn {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 9998;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            min-height: 48px;
            padding: 0 19px;
            border: 1px solid rgba(255, 255, 255, .8);
            border-radius: 999px;
            background: #1239ad;
            color: #fff;
            font: 600 .9rem/1 'Outfit', sans-serif;
            box-shadow: 0 8px 26px rgba(5, 20, 65, .28);
            cursor: pointer;
            transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
        }

        .floating-share-btn:hover {
            background: #EC2D01;
            transform: translateY(-3px);
            box-shadow: 0 10px 28px rgba(5, 20, 65, .32);
        }

        .floating-share-btn:focus-visible {
            outline: 3px solid #EC2D01;
            outline-offset: 4px;
        }

        .share-toast {
            position: fixed;
            z-index: 10000;
            right: 24px;
            bottom: 84px;
            transform: translateY(8px);
            padding: 11px 16px;
            border-radius: 999px;
            color: #fff;
            background: #1239ad;
            box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
            font: 500 .88rem/1.3 'Outfit', sans-serif;
            opacity: 0;
            pointer-events: none;
            transition: opacity .18s ease, transform .18s ease;
        }

        .share-toast[hidden] {
            display: none !important;
        }

        .share-toast.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 560px) {
            .floating-share-btn {
                right: 16px;
                bottom: 16px;
                min-height: 44px;
                padding: 0 15px;
                font-size: .82rem;
            }

            .share-toast {
                right: 16px;
                bottom: 72px;
                max-width: calc(100vw - 32px);
            }
        }

        @media (max-width: 900px) {
            #about .hero-avatar-wrap {
                width: 136px;
                height: 136px;
                margin-bottom: 12px;
            }
        }

        @media (max-width: 560px) {
            #about .hero-avatar-wrap {
                width: 116px;
                height: 116px;
                margin-bottom: 10px;
            }

            #about .hero-copy {
                padding-top: 0 !important;
            }

            #about .hero-copy .hero-eyebrow {
                margin-bottom: 6px !important;
            }

            #about .overview-heading-top {
                align-items: flex-start;
            }

            #about .about-share-btn {
                padding: 7px 10px;
                font-size: .72rem;
            }
        }
    
        /* Hero layout refinement: place the profile portrait to the right of the intro copy. */
        @media (min-width: 901px) {
            #about .editorial-hero .hero-copy {
                width: min(1100px, calc(100% - 2rem)) !important;
                max-width: 1100px !important;
                margin: auto auto 0 !important;
                padding: 0 0 clamp(24px, 4vh, 42px) !important;
                display: grid !important;
                grid-template-columns: minmax(0, 760px) 176px !important;
                grid-template-rows: auto auto auto auto !important;
                column-gap: clamp(24px, 3vw, 44px) !important;
                row-gap: 10px !important;
                align-items: center !important;
                justify-content: center !important;
                text-align: left !important;
                position: relative !important;
                z-index: 5 !important;
            }

            #about .hero-avatar-wrap {
                grid-column: 2 !important;
                grid-row: 1 / span 4 !important;
                width: 176px !important;
                height: 176px !important;
                margin: 0 !important;
                align-self: center !important;
            }

            #about .hero-copy .hero-eyebrow {
                grid-column: 1 !important;
                grid-row: 1 !important;
                margin: 0 0 2px !important;
                justify-content: flex-start !important;
                text-align: left !important;
            }

            #about .hero-copy h1 {
                grid-column: 1 !important;
                grid-row: 2 !important;
                margin: 0 !important;
                text-align: left !important;
            }

            #about .hero-copy > p {
                grid-column: 1 !important;
                grid-row: 3 !important;
                max-width: 760px !important;
                margin: 2px 0 8px !important;
                text-align: left !important;
            }

            #about .hero-copy .hero-cta {
                grid-column: 1 !important;
                grid-row: 4 !important;
                justify-content: flex-start !important;
                margin-top: 4px !important;
            }
        }

        @media (max-width: 900px) {
            #about .editorial-hero .hero-copy {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
                width: min(100%, 850px) !important;
                margin-left: auto !important;
                margin-right: auto !important;
                padding-bottom: 24px !important;
            }

            #about .hero-avatar-wrap {
                margin: 0 auto 14px !important;
            }

            #about .hero-copy .hero-eyebrow,
            #about .hero-copy h1,
            #about .hero-copy > p {
                text-align: center !important;
            }

            #about .hero-copy .hero-cta {
                justify-content: center !important;
            }
        }

        @media (max-width: 560px) {
            #about .editorial-hero .hero-copy {
                padding: 0 8px 20px !important;
                row-gap: 8px !important;
            }

            #about .hero-avatar-wrap {
                width: 116px !important;
                height: 116px !important;
                margin-bottom: 8px !important;
            }
        }

/* ===== Stylesheet block %d ===== */

/* ===== Editorial Royal Blue / Pure White / Tomato Red portfolio theme ===== */
        .navbar.is-scrolled {
            background: rgba(8, 35, 111, .78) !important;
            border-bottom-color: rgba(255, 255, 255, .18) !important;
            backdrop-filter: blur(18px) !important;
            -webkit-backdrop-filter: blur(18px) !important
        }

        body.dark .navbar.is-scrolled {
            background: rgba(5, 16, 48, .82) !important
        }

        :root {
            --bg: #fff;
            --surface: #fff;
            --surface2: #f5f7ff;
            --border: #dbe3ff;
            --accent: #EC2D01;
            --accent-soft: #ffe6e0;
            --accent-mid: #ff9a88;
            --text: #121b36;
            --text-muted: #58627c;
            --text-light: #9ba6c0;
            --green: #10b981;
            --green-soft: #d1fae5;
            --shadow: 0 12px 38px rgba(13, 36, 116, .08);
            --royal: #1233a6;
            --royal-deep: #08236f;
            --tomato: #EC2D01
        }

        body {
            background: #fff;
            color: var(--text)
        }

        .navbar {
            background: rgba(18, 48, 151, .96) !important;
            color: #fff !important;
            border-bottom: 1px solid rgba(255, 255, 255, .25) !important;
            box-shadow: 0 8px 30px rgba(8, 35, 111, .15);
            backdrop-filter: blur(16px)
        }

        .nav-logo-name,
        .nav-links a,
        .dark-btn,
        .hamburger span {
            color: #fff !important
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #fff !important;
            background: rgba(255, 255, 255, .16) !important
        }

        .nav-logo-badge {
            background: var(--tomato) !important
        }

        .hire-btn {
            background: var(--tomato) !important;
            color: #fff !important
        }

        .hire-btn:hover {
            background: #e94e36 !important
        }

        .dark-btn {
            border-color: rgba(255, 255, 255, .35) !important
        }

        .dark-btn:hover {
            background: rgba(255, 255, 255, .14) !important
        }

        .mobile-menu {
            background: #102f9e !important;
            border-color: rgba(255, 255, 255, .2) !important
        }

        .mobile-menu a {
            color: #fff !important
        }

        .mobile-menu a:hover,
        .mobile-menu a.active {
            background: rgba(255, 255, 255, .15) !important;
            color: #fff !important
        }

        .page {
            max-width: none !important;
            width: 100%;
            padding: 0 0 4rem !important
        }

        .section {
            max-width: 1320px;
            margin: 0 auto;
            padding: 2.5rem clamp(1rem, 4vw, 3.5rem) !important
        }

        .section#about {
            max-width: none;
            padding: 0 !important
        }

        .editorial-hero {
            position: relative;
            isolation: isolate;
            min-height: min(850px, calc(100vh - 60px));
            overflow: hidden;
            background: radial-gradient(ellipse at 52% 54%, #1947d0 0%, #1236ad 38%, #0c2b91 72%, #08236f 100%);
            color: #fff;
            padding: 0 clamp(1rem, 3.5vw, 3.5rem) 2rem;
            display: flex;
            flex-direction: column
        }

        .editorial-hero:before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            opacity: .13;
            background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
            background-size: 64px 64px;
            mask-image: linear-gradient(to bottom, black, transparent 92%)
        }

        .hero-topline {
            height: 48px;
            border-bottom: 1px solid rgba(255, 255, 255, .45);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: .62rem;
            letter-spacing: .22em;
            color: rgba(255, 255, 255, .82);
            z-index: 4
        }

        .hero-word {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-family: Georgia, 'Times New Roman', serif;
            font-weight: 400;
            letter-spacing: -.075em;
            line-height: .78;
            color: #fff;
            white-space: nowrap;
            z-index: 1;
            text-shadow: 0 4px 30px rgba(0, 0, 0, .06);
            pointer-events: none
        }

        .hero-word-top {
            top: 13%;
            font-size: clamp(6rem, 22vw, 20rem)
        }

        .hero-word-bottom {
            top: 65%;
            font-size: clamp(3.8rem, 14vw, 12rem);
            letter-spacing: -.085em
        }

        .cloud-art {
            position: absolute;
            z-index: 2;
            left: 50%;
            top: 48%;
            width: min(68vw, 830px);
            height: min(42vw, 490px);
            min-width: 340px;
            min-height: 260px;
            transform: translate(-50%, -50%);
            filter: drop-shadow(0 30px 35px rgba(0, 0, 0, .25))
        }

        .cloud-glow {
            position: absolute;
            inset: 15% 12%;
            border-radius: 50%;
            background: radial-gradient(ellipse, rgba(255, 99, 71, .8), rgba(255, 99, 71, .18) 38%, rgba(68, 133, 255, .2) 64%, transparent 74%);
            filter: blur(25px)
        }

        .cloud-puff {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle at 32% 25%, #fff 0%, #e9f2ff 20%, #b8d3ff 43%, #638fe9 67%, #2852bd 88%, #173a9c 100%);
            box-shadow: inset -15px -20px 32px rgba(8, 35, 111, .34), inset 8px 8px 18px rgba(255, 255, 255, .75), 0 0 26px rgba(160, 202, 255, .25)
        }

        .puff-1 {
            width: 32%;
            height: 46%;
            left: 5%;
            top: 34%
        }

        .puff-2 {
            width: 34%;
            height: 55%;
            left: 17%;
            top: 14%
        }

        .puff-3 {
            width: 37%;
            height: 63%;
            left: 35%;
            top: 3%;
            background: radial-gradient(circle at 35% 25%, #fff 0%, #ffe9e4 20%, #ff9b8a 45%, #EC2D01 70%, #b82637 100%);
            box-shadow: inset -14px -22px 32px rgba(111, 13, 45, .4), inset 8px 8px 18px rgba(255, 255, 255, .75), 0 0 32px rgba(255, 99, 71, .38)
        }

        .puff-4 {
            width: 30%;
            height: 47%;
            left: 57%;
            top: 24%;
            background: radial-gradient(circle at 32% 25%, #fff 0%, #ffe4de 20%, #ff8a78 48%, #ed4d48 74%, #9e2446 100%);
            box-shadow: inset -14px -20px 30px rgba(111, 13, 45, .38), inset 8px 8px 18px rgba(255, 255, 255, .7)
        }

        .puff-5 {
            width: 28%;
            height: 38%;
            left: 69%;
            top: 42%
        }

        .puff-6 {
            width: 28%;
            height: 38%;
            left: 20%;
            top: 49%
        }

        .puff-7 {
            width: 29%;
            height: 36%;
            left: 42%;
            top: 47%;
            background: radial-gradient(circle at 32% 25%, #fff 0%, #ffe9e4 20%, #ff9b8a 45%, #EC2D01 70%, #b82637 100%);
            box-shadow: inset -12px -17px 28px rgba(111, 13, 45, .38), inset 8px 8px 16px rgba(255, 255, 255, .7)
        }

        .puff-8 {
            width: 20%;
            height: 28%;
            left: 8%;
            top: 56%
        }

        .puff-9 {
            width: 22%;
            height: 28%;
            left: 73%;
            top: 57%
        }

        .cloud-orbit {
            position: absolute;
            left: 1%;
            top: 17%;
            width: 98%;
            height: 66%;
            border: 1px solid rgba(255, 99, 71, .9);
            border-radius: 50%;
            transform: rotate(-15deg)
        }

        .orbit-2 {
            left: 4%;
            top: 8%;
            width: 92%;
            height: 83%;
            border-color: rgba(255, 255, 255, .75);
            transform: rotate(18deg)
        }

        .orbit-3 {
            left: 12%;
            top: 1%;
            width: 78%;
            height: 96%;
            border-color: rgba(255, 99, 71, .65);
            transform: rotate(56deg)
        }

        .orbit-node {
            position: absolute;
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 25%, #fff, #EC2D01 48%, #9f1935 100%);
            box-shadow: 0 0 20px rgba(255, 99, 71, .75)
        }

        .node-1 {
            left: 11%;
            top: 36%
        }

        .node-2 {
            right: 12%;
            top: 35%
        }

        .node-3 {
            left: 32%;
            bottom: 10%;
            width: 10px;
            height: 10px
        }

        .node-4 {
            right: 29%;
            top: 15%;
            width: 8px;
            height: 8px
        }

        .hero-side {
            position: absolute;
            z-index: 4;
            top: 24%;
            width: 145px;
            color: #fff
        }

        .hero-side-left {
            left: clamp(1rem, 2.5vw, 2.5rem)
        }

        .hero-side-right {
            right: clamp(1rem, 2.5vw, 2.5rem);
            top: 25%;
            text-align: left
        }

        .hero-side p {
            font-family: Georgia, 'Times New Roman', serif;
            font-size: clamp(1.2rem, 2vw, 2rem);
            font-style: italic;
            line-height: 1.02;
            margin: 3rem 0 1rem
        }

        .micro-label,
        .micro-stack {
            display: block;
            font-size: .62rem;
            line-height: 1.7;
            letter-spacing: .22em;
            color: rgba(255, 255, 255, .8)
        }

        .hero-side-right p {
            font-family: inherit;
            font-size: .8rem;
            font-style: normal;
            line-height: 1.5;
            margin: 5rem 0 1.2rem
        }

        .red-rule {
            display: block;
            width: 48px;
            height: 3px;
            background: var(--tomato);
            margin: 1.2rem 0
        }

        .hero-copy {
            position: relative;
            z-index: 5;
            margin: auto auto 0;
            width: min(720px, 100%);
            padding-top: clamp(450px, 52vw, 560px);
            text-align: center
        }

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: .6rem;
            font-size: .68rem;
            letter-spacing: .18em;
            color: #fff;
            margin-bottom: 1rem
        }

        .eyebrow-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--tomato);
            box-shadow: 0 0 12px var(--tomato)
        }

        .hero-copy h1 {
            font-family: 'Syne', sans-serif;
            font-size: clamp(1.7rem, 4vw, 3rem);
            line-height: 1.05;
            margin-bottom: .8rem;
            color: #fff
        }

        .hero-copy>p {
            max-width: 650px;
            margin: 0 auto 1.5rem;
            color: rgba(255, 255, 255, .82);
            font-size: 1rem;
            line-height: 1.7
        }

        .hero-cta {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: .75rem;
            margin-bottom: 2rem
        }

        .editorial-hero .btn-primary {
            background: var(--tomato) !important;
            color: #fff !important;
            border: 1px solid var(--tomato);
            border-radius: 999px;
            padding: .85rem 1.25rem;
            text-transform: uppercase;
            letter-spacing: .1em;
            font-size: .7rem
        }

        .editorial-hero .btn-primary:hover {
            background: #e84f36 !important
        }

        .editorial-hero .btn-outline {
            border-color: rgba(255, 255, 255, .65);
            color: #fff;
            border-radius: 999px;
            padding: .85rem 1.25rem;
            font-size: .75rem
        }

        .editorial-hero .btn-outline:hover {
            background: rgba(255, 255, 255, .12);
            border-color: #fff
        }

        .resume-hero {
            display: inline-flex;
            gap: .5rem;
            align-items: center;
            color: #fff;
            text-decoration: none;
            font-size: .75rem;
            border-bottom: 1px solid rgba(255, 255, 255, .6);
            padding: .6rem .25rem
        }

        .hero-bottomline {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            border-top: 1px solid rgba(255, 255, 255, .35);
            padding-top: 1rem;
            font-size: .58rem;
            letter-spacing: .17em;
            color: rgba(255, 255, 255, .72)
        }

        .about-overview {
            max-width: 1200px;
            margin: 0 auto;
            padding: 5rem clamp(1rem, 5vw, 4rem);
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start
        }

        .section-kicker {
            color: var(--tomato);
            font-size: .7rem;
            letter-spacing: .18em;
            font-weight: 700
        }

        .overview-heading h2 {
            font-family: Georgia, 'Times New Roman', serif;
            font-size: clamp(2rem, 4vw, 3.6rem);
            font-weight: 400;
            line-height: 1.05;
            margin-top: 1rem;
            color: var(--royal-deep)
        }

        .overview-copy>p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text-muted)
        }

        .overview-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-top: 2rem
        }

        .overview-stats div {
            border-top: 2px solid var(--tomato);
            padding-top: .8rem
        }

        .overview-stats strong,
        .overview-stats span {
            display: block
        }

        .overview-stats strong {
            font-size: .85rem;
            color: var(--royal)
        }

        .overview-stats span {
            font-size: .72rem;
            color: var(--text-muted);
            margin-top: .35rem
        }

        .sec-header h2 {
            color: var(--royal-deep)
        }

        .sec-header h2:after {
            background: var(--tomato) !important
        }

        .project-card,
        .tl-card,
        .edu-card,
        .cert-link,
        .contact-info,
        .contact-form-card,
        .stat-card {
            border-radius: 16px !important;
            box-shadow: var(--shadow) !important
        }

        .project-card:hover,
        .cert-link:hover,
        .edu-card:hover {
            border-color: var(--tomato) !important;
            transform: translateY(-3px)
        }

        .project-type,
        .skill-category,
        .stat-num,
        .hero-label,
        .role-tag {
            color: var(--tomato) !important
        }

        .project-tags span,
        .skill-pill {
            background: #eef2ff !important;
            color: #17378e !important;
            border-color: #d7e0ff !important
        }

        .btn-primary,
        .hire-btn {
            background: var(--tomato) !important
        }

        .btn-primary:hover,
        .hire-btn:hover {
            background: #e94e36 !important
        }

        .btn-outline:hover,
        .social-icon-btn:hover,
        .dark-btn:hover {
            border-color: var(--tomato) !important;
            color: var(--tomato) !important;
            background: var(--accent-soft) !important
        }

        .timeline .tl-dot {
            background: var(--tomato) !important
        }

        .cert-icon {
            color: var(--royal) !important;
            background: #edf1ff !important
        }

        .contact-note-bottom {
            color: var(--tomato) !important
        }

        .contact-form button,
        .contact-form [type=submit] {
            background: var(--tomato) !important;
            color: #fff !important
        }

        body.dark {
            --bg: #08153d;
            --surface: #0d2057;
            --surface2: #102967;
            --border: #253d7e;
            --text: #f6f8ff;
            --text-muted: #c0cbed;
            --text-light: #8296cc;
            --accent: #ff725a;
            --accent-soft: #3b2445;
            --accent-mid: #ff9a88;
            --shadow: 0 12px 38px rgba(0, 0, 0, .22);
            background: var(--bg);
            color: var(--text)
        }

        body.dark .about-overview {
            color: var(--text)
        }

        body.dark .overview-heading h2,
        body.dark-mode .sec-header h2 {
            color: #fff
        }

        body.dark .overview-stats strong {
            color: #fff
        }

        body.dark .project-tags span,
        body.dark-mode .skill-pill {
            background: #152c69 !important;
            color: #eaf0ff !important;
            border-color: #31498a !important
        }

        body.dark .mobile-menu {
            background: #102f9e !important
        }

        @media(max-width:1050px) {
            .hero-side {
                width: 105px
            }

            .hero-side p {
                font-size: 1.3rem
            }

            .hero-side-right p {
                font-size: .72rem
            }

            .cloud-art {
                width: 72vw
            }

            .hero-word-top {
                font-size: clamp(6rem, 23vw, 15rem)
            }

            .hero-word-bottom {
                font-size: clamp(3.5rem, 14vw, 9rem)
            }
        }

        @media(max-width:760px) {
            .editorial-hero {
                min-height: 760px
            }

            .hero-topline {
                font-size: .52rem;
                letter-spacing: .12em
            }

            .hero-side {
                top: 14%;
                width: 92px
            }

            .hero-side-left {
                left: 1rem
            }

            .hero-side-right {
                right: 1rem;
                top: 14%
            }

            .hero-side p {
                font-size: 1rem;
                margin: 1.8rem 0 .5rem
            }

            .hero-side-right p {
                margin-top: 3rem;
                font-size: .68rem
            }

            .micro-label,
            .micro-stack {
                font-size: .5rem;
                letter-spacing: .12em
            }

            .cloud-art {
                top: 40%;
                width: 96vw;
                height: 350px;
                min-width: 0;
                min-height: 0
            }

            .hero-word-top {
                top: 24%;
                font-size: clamp(5rem, 24vw, 10rem)
            }

            .hero-word-bottom {
                top: 51%;
                font-size: clamp(2.9rem, 13vw, 6.5rem)
            }

            .hero-copy {
                padding-top: 470px
            }

            .hero-copy>p {
                font-size: .88rem
            }

            .hero-bottomline {
                font-size: .48rem;
                letter-spacing: .08em
            }

            .about-overview {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding-top: 3.5rem;
                padding-bottom: 3.5rem
            }

            .overview-stats {
                gap: .65rem
            }

            .overview-stats strong {
                font-size: .72rem
            }

            .overview-stats span {
                font-size: .65rem
            }
        }

        @media(max-width:480px) {
            .editorial-hero {
                min-height: 740px;
                padding-left: 1rem;
                padding-right: 1rem
            }

            .hero-side {
                width: 75px
            }

            .hero-side p {
                font-size: .85rem
            }

            .hero-side-right p {
                font-size: .6rem
            }

            .cloud-art {
                top: 38%;
                height: 290px
            }

            .hero-word-top {
                top: 25%;
                font-size: 24vw
            }

            .hero-word-bottom {
                top: 51%;
                font-size: 12vw
            }

            .hero-copy {
                padding-top: 410px
            }

            .hero-eyebrow {
                font-size: .52rem;
                letter-spacing: .1em
            }

            .hero-copy h1 {
                font-size: 1.7rem
            }

            .hero-cta {
                gap: .5rem
            }

            .hero-bottomline {
                gap: .35rem;
                font-size: .42rem
            }

            .overview-stats {
                grid-template-columns: 1fr;
                gap: 1rem
            }

            .section {
                padding: 2rem 1rem !important
            }
        }

/* ===== Stylesheet block %d ===== */

/* Layout repair: flush navigation, consistent royal-blue hero, and non-overlapping hero content */
        html,
        body {
            margin: 0 !important;
            width: 100%;
            max-width: 100%;
            overflow-x: clip;
        }

        body {
            background: #fff !important;
        }

        .navbar {
            position: sticky !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            border-radius: 0 !important;
            border-left: 0 !important;
            border-right: 0 !important;
            box-sizing: border-box !important;
            padding-inline: clamp(14px, 2.3vw, 40px) !important;
            background: #1738a6 !important;
            color: #fff !important;
            box-shadow: 0 4px 18px rgba(8, 35, 111, .16) !important;
        }

        .navbar .nav-logo-name,
        .navbar .nav-links a,
        .navbar .dark-btn,
        .navbar .hamburger span {
            color: #fff !important;
        }

        .navbar .nav-links a.active,
        .navbar .nav-links a:hover {
            color: #fff !important;
            background: rgba(255, 255, 255, .17) !important;
        }

        .navbar .hire-btn {
            background: #EC2D01 !important;
            color: #fff !important;
        }

        .navbar.is-scrolled {
            background: rgba(13, 39, 120, .94) !important;
            backdrop-filter: blur(16px) !important;
            -webkit-backdrop-filter: blur(16px) !important;
            border-bottom-color: rgba(255, 255, 255, .2) !important;
        }

        .mobile-menu {
            top: 72px !important;
            left: 0 !important;
            right: 0 !important;
            border-radius: 0 !important;
        }

        @media (max-width: 640px) {
            .mobile-menu {
                top: 64px !important;
            }
        }

        /* Hero sizing: keep title, cloud artwork, and intro in distinct vertical zones */
        .editorial-hero {
            min-height: 790px !important;
            height: min(860px, calc(100svh - 72px)) !important;
            min-height: max(790px, calc(100svh - 72px)) !important;
            padding: 0 clamp(16px, 3.5vw, 56px) 28px !important;
            display: grid !important;
            grid-template-rows: 48px 1fr auto !important;
            isolation: isolate !important;
            overflow: hidden !important;
            background: radial-gradient(ellipse at 50% 42%, #1c45c4 0%, #1236a8 45%, #0a287f 100%) !important;
        }

        .hero-topline {
            position: relative !important;
            z-index: 6 !important;
            flex: none !important;
        }

        .hero-word {
            left: 50% !important;
            width: 100% !important;
            text-align: center !important;
        }

        .hero-word-top {
            top: 92px !important;
            font-size: clamp(5rem, 17vw, 15rem) !important;
            line-height: .78 !important;
            z-index: 1 !important;
        }

        .hero-word-bottom {
            top: 315px !important;
            font-size: clamp(3rem, 10.5vw, 9rem) !important;
            line-height: .82 !important;
            letter-spacing: -.075em !important;
            z-index: 1 !important;
        }

        .cloud-art {
            top: 250px !important;
            left: 50% !important;
            width: min(54vw, 650px) !important;
            height: 310px !important;
            min-width: 290px !important;
            min-height: 230px !important;
            transform: translate(-50%, -50%) !important;
            z-index: 2 !important;
        }

        .hero-copy {
            align-self: end !important;
            justify-self: center !important;
            position: relative !important;
            z-index: 5 !important;
            width: min(760px, 100%) !important;
            margin: 0 auto !important;
            padding: 0 !important;
            text-align: center !important;
        }

        .hero-copy h1 {
            position: relative !important;
            z-index: 6 !important;
            font-size: clamp(2rem, 4.2vw, 3.4rem) !important;
            line-height: 1.1 !important;
            margin: 0 0 .7rem !important;
            text-shadow: 0 2px 18px rgba(5, 24, 83, .3) !important;
        }

        .hero-eyebrow {
            margin-bottom: .65rem !important;
        }

        .hero-copy>p {
            max-width: 670px !important;
            margin: 0 auto 1.1rem !important;
            font-size: clamp(.9rem, 1.2vw, 1rem) !important;
            line-height: 1.6 !important;
        }

        .hero-cta {
            margin-bottom: 0 !important;
        }

        .hero-bottomline {
            display: none !important;
        }

        .hero-side {
            display: none !important;
        }

        .about-overview {
            background: #fff !important;
        }

        @media (min-width: 900px) {
            .hero-copy {
                padding-bottom: 10px !important;
            }
        }

        @media (max-width: 760px) {
            .editorial-hero {
                min-height: 760px !important;
                height: auto !important;
                grid-template-rows: 46px 1fr auto !important;
                padding-bottom: 28px !important;
            }

            .hero-word-top {
                top: 110px !important;
                font-size: clamp(4.5rem, 19vw, 9rem) !important;
            }

            .hero-word-bottom {
                top: 270px !important;
                font-size: clamp(2.8rem, 11vw, 5.5rem) !important;
            }

            .cloud-art {
                top: 230px !important;
                width: min(82vw, 520px) !important;
                height: 245px !important;
                min-width: 260px !important;
                min-height: 210px !important;
            }

            .hero-copy {
                margin-top: 360px !important;
            }

            .hero-copy h1 {
                font-size: clamp(1.8rem, 7vw, 2.7rem) !important;
            }

            .hero-eyebrow {
                font-size: .58rem !important;
                letter-spacing: .1em !important;
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero-copy>p {
                font-size: .9rem !important;
            }

            .hero-cta {
                gap: .55rem !important;
            }

            .about-overview {
                grid-template-columns: 1fr !important;
                gap: 1.5rem !important;
                padding-block: 3rem !important;
            }

            .overview-stats {
                grid-template-columns: 1fr !important;
            }
        }

        @media (max-width: 420px) {
            .nav-logo-name {
                font-size: .82rem !important;
            }

            .navbar {
                padding-inline: 10px !important;
            }

            .hero-word-top {
                top: 115px !important;
            }

            .hero-word-bottom {
                top: 250px !important;
            }

            .cloud-art {
                top: 220px !important;
            }

            .hero-copy {
                margin-top: 330px !important;
            }
        }

        /* ===== Final visual cleanup: aligned palette, foreground title, compact About ===== */
        :root {
            --portfolio-royal: #1236ad;
            --portfolio-royal-deep: #0b2b88;
            --portfolio-tomato: #EC2D01;
        }

        html,
        body {
            margin: 0 !important;
            padding: 0 !important;
            width: 100%;
        }

        body {
            background: #fff !important;
        }

        .navbar {
            width: 100% !important;
            margin: 0 !important;
            border-radius: 0 !important;
            background: var(--portfolio-royal) !important;
            box-shadow: none !important;
            border: 0 !important;
            border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
        }

        .navbar.is-scrolled {
            background: var(--portfolio-royal) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .page {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .section#about {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .editorial-hero {
            background: var(--portfolio-royal) !important;
            background-image: linear-gradient(135deg, var(--portfolio-royal) 0%, var(--portfolio-royal-deep) 100%) !important;
            min-height: 0 !important;
            height: min(59vh, 560px) !important;
            padding: 0 clamp(16px, 3.5vw, 56px) 22px !important;
            display: grid !important;
            grid-template-rows: 42px 1fr auto !important;
            overflow: hidden !important;
        }

        .hero-topline {
            height: 42px !important;
            border-bottom-color: rgba(255, 255, 255, .28) !important;
        }

        /* Make the editorial title sit in front of the cloud rather than behind it. */
        .hero-word {
            z-index: 4 !important;
            color: #fff !important;
            text-shadow: 0 3px 14px rgba(4, 20, 75, .18) !important;
        }

        .hero-word-top {
            top: 65px !important;
            font-size: clamp(4.8rem, 14vw, 12rem) !important;
            line-height: .8 !important;
        }

        .hero-word-bottom {
            top: 155px !important;
            font-size: clamp(3.2rem, 8.8vw, 7.5rem) !important;
            line-height: .8 !important;
        }

        .cloud-art {
            top: 155px !important;
            left: 50% !important;
            z-index: 2 !important;
            width: min(43vw, 520px) !important;
            height: 235px !important;
            min-width: 270px !important;
            min-height: 200px !important;
            transform: translate(-50%, -50%) !important;
            filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .18)) !important;
        }

        .cloud-orbit,
        .orbit-node {
            display: none !important;
        }

        .hero-glow {
            display: none !important;
        }

        .hero-copy {
            z-index: 6 !important;
            align-self: end !important;
            justify-self: center !important;
            width: min(780px, 100%) !important;
            margin: 0 auto !important;
            padding: 0 !important;
            text-align: center !important;
        }

        .hero-eyebrow {
            margin: 0 0 .45rem !important;
            font-size: .62rem !important;
        }

        .hero-copy h1 {
            font-size: clamp(1.7rem, 3.2vw, 2.55rem) !important;
            margin-bottom: .4rem !important;
            line-height: 1.04 !important;
        }

        .hero-copy>p {
            font-size: clamp(.78rem, 1vw, .9rem) !important;
            line-height: 1.45 !important;
            margin: 0 auto .7rem !important;
            max-width: 700px !important;
        }

        .hero-cta {
            gap: .55rem !important;
            margin: 0 !important;
        }

        .editorial-hero .btn-primary,
        .editorial-hero .btn-outline,
        .resume-hero {
            padding: .62rem 1rem !important;
            font-size: .68rem !important;
        }

        .hero-bottomline {
            display: none !important;
        }

        .hero-side {
            display: none !important;
        }

        /* Keep the short profile overview visible beneath the hero on standard desktop screens. */
        .about-overview {
            max-width: 1160px !important;
            padding: 1.15rem clamp(1rem, 5vw, 3rem) 1.25rem !important;
            min-height: 0 !important;
            gap: 2rem !important;
            grid-template-columns: .9fr 1.1fr !important;
            align-items: center !important;
            background: #fff !important;
        }

        .overview-heading h2 {
            font-size: clamp(1.7rem, 2.8vw, 2.5rem) !important;
            margin-top: .45rem !important;
        }

        .overview-copy>p {
            font-size: .9rem !important;
            line-height: 1.5 !important;
        }

        .overview-stats {
            margin-top: .9rem !important;
            gap: .8rem !important;
        }

        .overview-stats div {
            padding-top: .45rem !important;
        }

        .overview-stats strong {
            font-size: .78rem !important;
        }

        .overview-stats span {
            font-size: .67rem !important;
            margin-top: .2rem !important;
        }

        /* Consistent blue header and hero; white remains the content canvas, tomato is the accent. */
        .nav-links a {
            color: rgba(255, 255, 255, .9) !important;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #fff !important;
            background: rgba(255, 255, 255, .17) !important;
        }

        .nav-logo-name {
            color: #fff !important;
        }

        @media (max-width: 900px) {
            .editorial-hero {
                height: auto !important;
                min-height: 680px !important;
                padding-bottom: 24px !important;
                grid-template-rows: 42px 1fr auto !important;
            }

            .hero-word-top {
                top: 95px !important;
                font-size: clamp(4.5rem, 18vw, 9rem) !important;
            }

            .hero-word-bottom {
                top: 205px !important;
                font-size: clamp(2.8rem, 11vw, 5.5rem) !important;
            }

            .cloud-art {
                top: 185px !important;
                width: min(78vw, 480px) !important;
                height: 230px !important;
            }

            .hero-copy {
                margin-top: 345px !important;
            }

            .about-overview {
                grid-template-columns: 1fr !important;
                gap: .75rem !important;
                padding-block: 1.5rem !important;
            }

            .overview-stats {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            }
        }

        @media (max-width: 520px) {
            .navbar {
                padding-inline: 12px !important;
            }

            .editorial-hero {
                min-height: 650px !important;
            }

            .hero-word-top {
                top: 105px !important;
                font-size: 21vw !important;
            }

            .hero-word-bottom {
                top: 190px !important;
                font-size: 11.5vw !important;
            }

            .cloud-art {
                top: 175px !important;
                width: 88vw !important;
                height: 205px !important;
            }

            .hero-copy {
                margin-top: 320px !important;
            }

            .hero-copy h1 {
                font-size: 1.8rem !important;
            }

            .hero-copy>p {
                font-size: .84rem !important;
            }

            .hero-cta {
                gap: .45rem !important;
            }

            .overview-stats {
                grid-template-columns: 1fr !important;
            }
        }


        /* Cleaner hero: remove oversized decorative CLOUD / ENGINEERING typography */
        .hero-word,
        .hero-word-top,
        .hero-word-bottom {
            display: none !important;
        }

        /* ===== Realistic local cloud asset integration ===== */
        .editorial-hero {
            position: relative !important;
            isolation: isolate !important;
            background: #0737a5 !important;
            overflow: hidden !important;
        }

        .editorial-hero::before {
            display: none !important;
        }

        .cloud-art.cloud-image-wrap {
            position: absolute !important;
            inset: 0 !important;
            z-index: 1 !important;
            width: 100% !important;
            height: 100% !important;
            min-width: 0 !important;
            min-height: 0 !important;
            transform: none !important;
            filter: none !important;
            pointer-events: none !important;
        }

        .hero-cloud-image {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center 52% !important;
        }

        .hero-copy {
            z-index: 5 !important;
            position: relative !important;
        }

        .hero-topline {
            position: relative !important;
            z-index: 6 !important;
        }

        .hero-word,
        .hero-word-top,
        .hero-word-bottom,
        .cloud-glow,
        .cloud-puff,
        .cloud-orbit,
        .orbit-node {
            display: none !important;
        }

        @media (max-width: 760px) {
            .editorial-hero {
                min-height: 680px !important;
                height: auto !important;
            }

            .cloud-art.cloud-image-wrap {
                inset: 42px 0 auto 0 !important;
                height: 360px !important;
            }

            .hero-cloud-image {
                object-fit: cover !important;
                object-position: center center !important;
            }

            .hero-copy {
                margin-top: 340px !important;
            }
        }

        @media (max-width: 480px) {
            .cloud-art.cloud-image-wrap {
                height: 300px !important;
            }

            .hero-copy {
                margin-top: 285px !important;
            }
        }


        /* ===== Final landing-page composition refinement ===== */
        :root {
            --portfolio-royal: #1239ad;
            --portfolio-royal-deep: #082b83;
            --portfolio-tomato: #EC2D01;
        }

        html,
        body {
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            overflow-x: clip !important;
        }

        .navbar {
            background: #1239ad !important;
        }

        .editorial-hero {
            position: relative !important;
            display: grid !important;
            grid-template-rows: minmax(0, 1fr) !important;
            width: 100% !important;
            height: clamp(465px, calc(100svh - 250px), 540px) !important;
            min-height: 465px !important;
            max-height: 540px !important;
            margin: 0 !important;
            padding: 0 clamp(20px, 3.2vw, 56px) 20px !important;
            overflow: hidden !important;
            isolation: isolate !important;
            background: #0737a5 !important;
            color: #fff !important;
        }

        .hero-topline {
            z-index: 4 !important;
            height: 42px !important;
            position: relative !important;
        }

        .cloud-art.cloud-image-wrap {
            position: absolute !important;
            inset: 0 !important;
            z-index: 1 !important;
            width: 100% !important;
            height: 100% !important;
            overflow: hidden !important;
            background: #0737a5 !important;
            pointer-events: none !important;
        }

        .hero-cloud-image {
            display: block !important;
            position: absolute !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center top !important;
            transform: none !important;
            filter: saturate(.98) !important;
        }

        /* Add a restrained blue fade at the bottom so white copy remains readable over the cloud. */
        .editorial-hero::after {
            content: "" !important;
            position: absolute !important;
            inset: 24% 0 0 !important;
            z-index: 2 !important;
            pointer-events: none !important;
            background: linear-gradient(180deg, rgba(7, 35, 112, .08) 0%, rgba(7, 35, 112, .04) 32%, rgba(7, 35, 112, .28) 58%, rgba(7, 25, 82, .82) 100%) !important;
        }

        .hero-copy {
            position: relative !important;
            z-index: 5 !important;
            align-self: end !important;
            justify-self: center !important;
            width: min(760px, 100%) !important;
            margin: 0 auto 0 !important;
            padding: 0 12px 0 !important;
            text-align: center !important;
            text-shadow: 0 1px 14px rgba(5, 24, 82, .28) !important;
        }

        .hero-copy .hero-eyebrow {
            margin: 0 0 8px !important;
            font-size: clamp(.58rem, .75vw, .72rem) !important;
            letter-spacing: .16em !important;
            line-height: 1.4 !important;
        }

        .hero-copy h1 {
            margin: 0 0 8px !important;
            font-size: clamp(2rem, 3.3vw, 3.2rem) !important;
            line-height: 1.06 !important;
            letter-spacing: -.035em !important;
            color: #fff !important;
        }

        .hero-copy>p {
            max-width: 700px !important;
            margin: 0 auto 14px !important;
            font-size: clamp(.86rem, 1vw, 1rem) !important;
            line-height: 1.55 !important;
            color: rgba(255, 255, 255, .97) !important;
        }

        .hero-cta {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            flex-wrap: wrap !important;
            gap: 10px !important;
            margin: 0 !important;
        }

        .hero-cta .btn-primary,
        .hero-cta .btn-outline {
            padding: .68rem 1.05rem !important;
            font-size: .7rem !important;
            text-shadow: none !important;
        }

        .hero-cta .resume-hero {
            display: none !important;
        }

        .hero-side,
        .hero-bottomline,
        .hero-word,
        .hero-word-top,
        .hero-word-bottom,
        .cloud-glow,
        .cloud-puff,
        .cloud-orbit,
        .orbit-node {
            display: none !important;
        }

        .about-overview {
            display: grid !important;
            grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
            align-items: center !important;
            gap: clamp(24px, 4vw, 64px) !important;
            width: min(1160px, calc(100% - 64px)) !important;
            max-width: 1160px !important;
            margin: 0 auto !important;
            padding: clamp(20px, 2.2vw, 30px) 0 clamp(22px, 2.4vw, 32px) !important;
            background: #fff !important;
            color: #172b62 !important;
        }

        .overview-heading .section-kicker {
            display: block !important;
            margin-bottom: 8px !important;
            color: #EC2D01 !important;
        }

        .overview-heading h2 {
            margin: 0 !important;
            max-width: 450px !important;
            font-size: clamp(1.8rem, 2.7vw, 2.55rem) !important;
            line-height: 1.05 !important;
            color: #102d80 !important;
        }

        .overview-copy>p {
            margin: 0 !important;
            font-size: clamp(.88rem, 1vw, .98rem) !important;
            line-height: 1.55 !important;
            color: #52617f !important;
        }

        .overview-stats {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 14px !important;
            margin-top: 14px !important;
        }

        .overview-stats div {
            min-width: 0 !important;
            padding-top: 8px !important;
            border-top: 2px solid #EC2D01 !important;
        }

        .overview-stats strong {
            display: block !important;
            font-size: .8rem !important;
            color: #1239ad !important;
        }

        .overview-stats span {
            display: block !important;
            margin-top: 3px !important;
            font-size: .68rem !important;
            line-height: 1.35 !important;
            color: #52617f !important;
        }

        @media (min-width: 1400px) {
            .editorial-hero {
                height: clamp(470px, calc(100svh - 260px), 535px) !important;
            }
        }

        @media (max-width: 900px) {
            .editorial-hero {
                height: 530px !important;
                min-height: 530px !important;
                padding-inline: 22px !important;
            }

            .hero-cloud-image {
                height: 100% !important;
                transform: none !important;
                object-position: center top !important;
            }

            .hero-copy {
                padding-bottom: 0 !important;
            }

            .about-overview {
                width: min(100% - 40px, 720px) !important;
                grid-template-columns: 1fr !important;
                gap: 14px !important;
                padding-block: 24px !important;
            }

            .overview-heading h2 {
                max-width: 600px !important;
            }
        }

        @media (max-width: 560px) {
            .editorial-hero {
                height: 570px !important;
                min-height: 570px !important;
                padding-inline: 14px !important;
                padding-bottom: 20px !important;
                grid-template-rows: minmax(0, 1fr) !important;
            }

            .hero-topline {
                height: 40px !important;
                font-size: .5rem !important;
                letter-spacing: .12em !important;
            }

            .hero-cloud-image {
                height: 100% !important;
                transform: none !important;
                object-position: 54% top !important;
            }

            .editorial-hero::after {
                inset: 0 !important;
                background: linear-gradient(180deg, rgba(7, 35, 112, .08) 0%, rgba(7, 35, 112, .04) 28%, rgba(7, 35, 112, .28) 52%, rgba(7, 25, 82, .84) 100%) !important;
            }

            .hero-copy {
                align-self: end !important;
                padding: 0 4px !important;
            }

            .hero-copy .hero-eyebrow {
                font-size: .52rem !important;
                letter-spacing: .1em !important;
            }

            .hero-copy h1 {
                font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
            }

            .hero-copy>p {
                font-size: .85rem !important;
                line-height: 1.5 !important;
                margin-bottom: 14px !important;
            }

            .hero-cta {
                gap: 8px !important;
            }

            .hero-cta .btn-primary,
            .hero-cta .btn-outline {
                padding: .65rem .85rem !important;
                font-size: .64rem !important;
            }

            .about-overview {
                width: calc(100% - 36px) !important;
                padding-block: 22px !important;
            }

            .overview-heading h2 {
                font-size: 1.9rem !important;
            }

            .overview-copy>p {
                font-size: .88rem !important;
            }

            .overview-stats {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 9px !important;
            }

            .overview-stats strong {
                font-size: .7rem !important;
            }

            .overview-stats span {
                font-size: .62rem !important;
            }
        }



        /* About-only polish: accessible navigation, restrained motion, consistent brand colors. */
        :root {
            --portfolio-royal: #1239ad;
            --portfolio-royal-deep: #082b83;
            --portfolio-tomato: #EC2D01;
        }

        .navbar {
            background: var(--portfolio-royal) !important;
            border-bottom-color: rgba(255, 255, 255, .18) !important;
        }

        .navbar .nav-logo-name,
        .navbar .nav-links a {
            color: #fff !important;
        }

        .navbar .nav-links a:hover,
        .navbar .nav-links a:focus-visible {
            color: #fff !important;
            background: rgba(255, 255, 255, .14) !important;
        }

        .navbar .nav-links a.active {
            color: #fff !important;
            background: rgba(255, 255, 255, .2) !important;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32) !important;
        }

        .navbar .hire-btn,
        .navbar .hire-btn:hover {
            background: var(--portfolio-tomato) !important;
            color: #fff !important;
        }

        .navbar .dark-btn {
            color: #fff !important;
            border-color: rgba(255, 255, 255, .28) !important;
        }

        .navbar .dark-btn:hover {
            background: rgba(255, 255, 255, .18) !important;
        }

        .navbar.is-scrolled {
            background: rgba(18, 57, 173, .9) !important;
            border-bottom-color: rgba(255, 255, 255, .18) !important;
        }

        .navbar.is-scrolled .nav-logo-name,
        .navbar.is-scrolled .nav-links a,
        .navbar.is-scrolled .dark-btn {
            color: #fff !important;
        }

        .navbar.is-scrolled .nav-links a.active {
            background: rgba(255, 255, 255, .2) !important;
        }

        .navbar a:focus-visible,
        .navbar button:focus-visible,
        .hero-cta a:focus-visible,
        .hero-cta button:focus-visible {
            outline: 3px solid #ffb7a9 !important;
            outline-offset: 3px !important;
        }

        html {
            scroll-behavior: smooth;
        }

        #about {
            scroll-margin-top: 76px;
        }

        #about .hero-copy {
            text-shadow: 0 2px 14px rgba(5, 24, 82, .42) !important;
        }

        #about .hero-copy>p {
            max-width: 650px !important;
            text-wrap: pretty;
        }

        #about .hero-cta .btn-primary {
            background: var(--portfolio-tomato) !important;
            transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
        }

        #about .hero-cta .btn-primary:hover {
            background: #d92700 !important;
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(255, 99, 71, .28);
        }

        #about .hero-cta .btn-outline {
            transition: transform .2s ease, background .2s ease, border-color .2s ease !important;
        }

        #about .hero-cta .btn-outline:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, .15) !important;
            border-color: rgba(255, 255, 255, .9) !important;
            color: #fff !important;
        }

        #about .share-portfolio-btn {
            font: inherit;
            cursor: pointer;
        }

        #about .share-status {
            min-height: 1em;
            margin: 5px 0 0;
            font-size: .72rem;
            color: #fff;
        }

        #about .about-overview {
            background: #fff !important;
        }

        #about .overview-heading h2 {
            max-width: 500px !important;
            text-wrap: balance;
        }

        #about .overview-copy>p {
            max-width: 720px;
            text-wrap: pretty;
        }

        #about .overview-stats div {
            transition: transform .2s ease, border-color .2s ease;
        }

        #about .overview-stats div:hover {
            transform: translateY(-3px);
            border-top-color: #1239ad !important;
        }

        #about .reveal-on-scroll {
            opacity: 1;
            transform: none;
            transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
        }

        #about .reveal-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 760px) {
            .navbar .nav-links {
                max-width: 100%;
            }

            #about .hero-cta {
                row-gap: 9px !important;
            }

            #about .share-status {
                text-align: center;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto !important;
            }

            *,
            *::before,
            *::after {
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .01ms !important;
                scroll-behavior: auto !important;
            }

            #about .reveal-on-scroll {
                opacity: 1 !important;
                transform: none !important;
            }
        }

        /* Latest requested About-hero refinements: opportunity badge, tighter composition, exact tomato red. */
        :root { --portfolio-tomato: #EC2D01 !important; }
        #about .hero-avatar-wrap {
            width: auto !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 9px !important;
            position: relative !important;
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            overflow: visible !important;
            background: transparent !important;
        }
        #about .hero-avatar-wrap .hero-avatar {
            display: block !important;
            flex: 0 0 auto !important;
            width: 176px !important;
            height: 176px !important;
            max-width: none !important;
            border: 3px solid rgba(255,255,255,.96) !important;
            border-radius: 50% !important;
            box-shadow: 0 8px 24px rgba(5,20,65,.28) !important;
            object-fit: cover !important;
            object-position: center 28% !important;
        }
        #about .hero-avatar-fallback {
            width: 176px !important;
            height: 176px !important;
            border: 3px solid rgba(255,255,255,.96) !important;
            border-radius: 50% !important;
            background: var(--portfolio-royal) !important;
        }
        #about .hero-opportunity-badge {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            max-width: max-content !important;
            padding: 8px 13px !important;
            border: 1px solid rgba(110, 245, 187, .65) !important;
            border-radius: 999px !important;
            background: #d1fae5 !important;
            color: #065f46 !important;
            font: 600 12px/1.2 'Outfit', sans-serif !important;
            white-space: nowrap !important;
            text-shadow: none !important;
            box-shadow: 0 4px 14px rgba(4, 20, 55, .12) !important;
        }
        #about .hero-opportunity-badge > span {
            display: inline-block !important;
            width: 8px !important;
            height: 8px !important;
            flex: 0 0 8px !important;
            border-radius: 50% !important;
            background: #10b981 !important;
            box-shadow: 0 0 0 3px rgba(16,185,129,.12) !important;
        }
        @media (min-width: 901px) {
            #about .editorial-hero .hero-copy {
                column-gap: clamp(16px, 2vw, 28px) !important;
                grid-template-columns: minmax(0, 760px) 210px !important;
            }
            #about .hero-avatar-wrap { grid-column: 2 !important; grid-row: 1 / span 4 !important; }
            #about .hero-avatar-wrap .hero-avatar,
            #about .hero-avatar-fallback { width: 176px !important; height: 176px !important; }
        }
        @media (max-width: 900px) {
            #about .hero-avatar-wrap { margin: 0 auto 2px !important; gap: 8px !important; }
            #about .hero-avatar-wrap .hero-avatar,
            #about .hero-avatar-fallback { width: 148px !important; height: 148px !important; }
        }
        @media (max-width: 560px) {
            #about .hero-avatar-wrap .hero-avatar,
            #about .hero-avatar-fallback { width: 132px !important; height: 132px !important; }
            #about .hero-opportunity-badge { font-size: 11px !important; padding: 7px 11px !important; }
        }

        /* Regression fix: removing the decorative topline must not leave the hero copy in a 42px grid row. */
        .editorial-hero {
            grid-template-rows: minmax(0, 1fr) !important;
        }
        .editorial-hero .hero-copy {
            grid-row: 1 !important;
            align-self: end !important;
            margin-top: 0 !important;
            padding-bottom: clamp(18px, 3vh, 34px) !important;
            opacity: 1 !important;
            visibility: visible !important;
        }
        #about .hero-copy.reveal-on-scroll,
        #about .about-overview.reveal-on-scroll {
            opacity: 1 !important;
            transform: none !important;
            visibility: visible !important;
        }
        .hero-topline { display: none !important; }

        /* Final requested polish: restrained active navigation and a tighter hero composition. */
        .navbar .nav-links .nav-link-item.active,
        .navbar .nav-links .nav-link-item[aria-current="page"] {
            color: #ffffff !important;
            background: rgba(255, 255, 255, .14) !important;
            box-shadow: inset 0 -3px 0 #EC2D01 !important;
            border-radius: 10px !important;
        }
        .navbar .nav-links .nav-link-item:hover:not(.active) {
            color: #ffffff !important;
            background: rgba(255, 255, 255, .08) !important;
        }
        .navbar .nav-links .nav-link-item:focus-visible,
        .navbar .nav-actions a:focus-visible,
        .navbar .nav-actions button:focus-visible {
            outline: 3px solid #EC2D01 !important;
            outline-offset: 3px !important;
        }
        html { scroll-padding-top: 108px; }
        .section[id] { scroll-margin-top: 108px; }

        @media (min-width: 901px) {
            #about .editorial-hero .hero-copy {
                width: min(1160px, calc(100% - 2rem)) !important;
                max-width: 1160px !important;
                grid-template-columns: minmax(0, 820px) 190px !important;
                column-gap: clamp(8px, 1.2vw, 18px) !important;
            }
            #about .hero-avatar-wrap { transform: translateY(7px); }
            #about .hero-avatar-wrap .hero-avatar {
                object-position: center 16% !important;
            }
            #about .hero-copy > p { max-width: 820px !important; }
        }
        @media (max-width: 900px) {
            #about .hero-avatar-wrap .hero-avatar { object-position: center 16% !important; }
        }


        /* Final polish: clear active navigation state, tighter hero columns, and full portrait framing. */
        .navbar .nav-links a.active,
        .mobile-menu a.active {
            color: #ffffff !important;
            background: #3157C8 !important;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 3px 10px rgba(3,18,64,.16) !important;
        }
        .navbar .nav-links a:hover,
        .mobile-menu a:hover {
            color: #ffffff !important;
            background: rgba(255,255,255,.13) !important;
        }
        .navbar .nav-links a:focus-visible,
        .mobile-menu a:focus-visible {
            outline: 3px solid #EC2D01 !important;
            outline-offset: 3px;
        }
        @media (min-width: 901px) {
            #about .editorial-hero .hero-copy {
                grid-template-columns: minmax(0, 820px) 190px !important;
                column-gap: clamp(8px, 1vw, 16px) !important;
                width: min(1200px, calc(100% - 2rem)) !important;
                max-width: 1200px !important;
            }
            #about .hero-avatar-wrap {
                transform: translateY(10px) !important;
            }
            #about .hero-avatar-wrap .hero-avatar {
                object-position: center 8% !important;
            }
        }
        @media (max-width: 900px) {
            #about .hero-avatar-wrap .hero-avatar {
                object-position: center 8% !important;
            }
        }

/* ===== Stylesheet block %d ===== */

/* About page only: stronger contrast behind the copy, without obscuring the cloud artwork. */
        #about .editorial-hero {
            position: relative !important;
            isolation: isolate !important;
        }
        #about .editorial-hero .hero-copy {
            display: grid !important;
            align-content: center !important;
            align-items: center !important;
            text-align: left !important;
        }
        #about .editorial-hero .hero-copy::before {
            content: "";
            position: absolute;
            z-index: 0;
            pointer-events: none;
            left: -2.25rem;
            top: -2rem;
            bottom: -2rem;
            width: min(78%, 900px);
            border-radius: 28px;
            background: linear-gradient(90deg,
                rgba(4, 22, 72, .70) 0%,
                rgba(5, 27, 83, .56) 68%,
                rgba(5, 27, 83, .12) 100%);
            -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px);
            -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
            mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
        }
        #about .editorial-hero .hero-copy > * {
            position: relative;
            z-index: 1;
        }
        #about .editorial-hero .hero-copy .hero-eyebrow,
        #about .editorial-hero .hero-copy h1,
        #about .editorial-hero .hero-copy > p {
            grid-column: 1;
            justify-self: start;
            text-align: left !important;
        }
        #about .editorial-hero .hero-copy > p {
            margin-left: 0 !important;
            margin-right: 0 !important;
            color: #fff !important;
            text-shadow: 0 2px 10px rgba(0, 12, 48, .7) !important;
        }
        #about .editorial-hero .hero-copy .hero-cta {
            grid-column: 1;
            justify-content: flex-start !important;
        }
        @media (min-width: 901px) {
            #about .editorial-hero .hero-copy {
                grid-template-columns: minmax(0, 820px) 210px !important;
                column-gap: clamp(12px, 1.5vw, 24px) !important;
                width: min(1200px, calc(100% - 2rem)) !important;
                max-width: 1200px !important;
                padding-top: 0 !important;
                padding-bottom: clamp(28px, 5vh, 56px) !important;
            }
            #about .editorial-hero .hero-avatar-wrap {
                grid-column: 2 !important;
                grid-row: 1 / span 4 !important;
                justify-self: center !important;
                align-self: center !important;
                margin: 0 !important;
            }
        }
        @media (max-width: 900px) {
            #about .editorial-hero .hero-copy {
                grid-template-columns: minmax(0, 1fr) !important;
                text-align: center !important;
                gap: 0 !important;
                margin-top: 0 !important;
                padding-top: 0 !important;
            }
            #about .editorial-hero .hero-copy::before {
                left: -1rem;
                right: -1rem;
                top: -1.25rem;
                bottom: -1rem;
                width: auto;
                border-radius: 22px;
                background: rgba(4, 22, 72, .48);
                -webkit-mask-image: none;
                mask-image: none;
            }
            #about .editorial-hero .hero-avatar-wrap {
                grid-column: 1 !important;
                grid-row: 1 !important;
                justify-self: center !important;
                margin: 0 auto 12px !important;
            }
            #about .editorial-hero .hero-copy .hero-eyebrow,
            #about .editorial-hero .hero-copy h1,
            #about .editorial-hero .hero-copy > p,
            #about .editorial-hero .hero-copy .hero-cta {
                grid-column: 1 !important;
                justify-self: center !important;
                text-align: center !important;
            }
            #about .editorial-hero .hero-copy .hero-cta {
                justify-content: center !important;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            #about .editorial-hero * { scroll-behavior: auto !important; }
        }
