/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-900: #0f172a;
    --blue-800: #1e293b;
    --blue-700: #1a3a5c;
    --blue-600: #1d4ed8;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93c5fd;
    --blue-200: #bfdbfe;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-blue: 0 8px 30px rgba(59, 130, 246, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-500);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.nav-links a.active {
    color: var(--blue-600);
    background: var(--blue-50);
    font-weight: 600;
}

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

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-500);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
    background: var(--blue-50);
}

.btn-white {
    background: var(--white);
    color: var(--blue-600);
    font-weight: 600;
    padding: 14px 32px;
}

.btn-white:hover {
    background: var(--blue-50);
    color: var(--blue-700);
    transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
    padding: 60px 0 40px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--blue-600);
}

.hero-subtitle {
    margin-top: 20px;
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 480px;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.hero-placeholder span {
    font-size: 5rem;
    font-weight: 800;
    color: var(--white);
    opacity: 0.9;
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 40px;
    right: -10px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 50px;
    left: -10px;
    animation-delay: 3s;
}

.floating-icon {
    font-size: 1.2rem;
}

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

/* ===== Stats Bar ===== */
.stats-bar {
    padding: 40px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-600);
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.section-subtitle {
    margin-top: 10px;
    color: var(--gray-500);
    font-size: 1rem;
}

.page-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.page-subtitle {
    margin-top: 10px;
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* ===== Projects Grid ===== */
.projects-section {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
}

.project-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.06);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.8), rgba(59, 130, 246, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-project {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.overlay-content svg {
    stroke: var(--white);
}

.project-card-info {
    padding: 20px 24px;
}

.project-card-info h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    font-weight: 700;
}

.project-category {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--blue-600);
    font-weight: 600;
    background: var(--blue-50);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* ===== Project Detail ===== */
.project-detail {
    padding: 40px 0 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--blue-600);
}

.project-detail-header {
    margin-bottom: 32px;
}

.detail-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.project-detail-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.project-meta {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--gray-800);
    font-weight: 500;
}

.project-hero-image {
    margin: 0 0 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-hero-image img {
    width: 100%;
}

.project-body {
    max-width: 800px;
}

.project-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.project-gallery {
    margin-top: 60px;
}

.project-gallery h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.gallery-item img {
    width: 100%;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item figcaption {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
    background: var(--white);
}

/* ===== Samples ===== */
.samples-section {
    padding: 60px 0 80px;
}

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

.sample-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.sample-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sample-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.sample-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sample-card:hover .sample-image img {
    transform: scale(1.06);
}

.sample-info {
    padding: 20px;
}

.sample-info h3 {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 700;
}

.sample-category {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--blue-600);
    font-weight: 600;
    background: var(--blue-50);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.sample-info p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Resume ===== */
.resume-section {
    padding: 60px 0 80px;
}

.resume-profile {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    margin-bottom: 48px;
}

.profile-photo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--blue-100);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
}

.profile-tagline {
    color: var(--blue-600);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 2px;
}

.profile-bio {
    color: var(--gray-500);
    margin-top: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.profile-contacts {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 500;
}

.contact-link {
    color: var(--blue-600);
    text-decoration: none;
    transition: all var(--transition);
}

.contact-link:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
    color: var(--blue-700);
}

/* ===== Resume Columns ===== */
.resume-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.resume-block {
    margin-bottom: 40px;
}

.resume-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.block-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.resume-block-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--blue-100);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

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

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--blue-500);
}

.timeline-card {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--blue-100);
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.timeline-card h3 {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 700;
}

.timeline-date {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
    white-space: nowrap;
}

.current-badge {
    color: var(--blue-600);
    font-weight: 600;
}

.timeline-company {
    color: var(--blue-600);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 2px;
}

.timeline-description {
    margin-top: 10px;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 40px 0 80px;
}

.cta-card {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.cta-text p {
    margin-top: 8px;
    color: var(--blue-200);
    font-size: 1.05rem;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 32px;
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-logo {
    background: var(--blue-600);
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-role {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 2px;
    text-align: start;
}

.footer-nav h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-shape {
        width: 300px;
        height: 300px;
    }

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

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-100);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-floating-card {
        display: none;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

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

    .samples-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .resume-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-contacts {
        justify-content: center;
    }

    .project-detail-header h1 {
        font-size: 1.8rem;
    }

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

    .page-title {
        font-size: 2rem;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    .footer {
        padding: 40px 0 24px;
    }
}

/* ===== Homepage Overhaul Additions ===== */
.hero-overhaul {
    padding-top: 84px;
    background:
        radial-gradient(220px 220px at 85% 20%, rgba(59, 130, 246, 0.12), transparent 70%),
        radial-gradient(240px 240px at 12% 80%, rgba(147, 197, 253, 0.25), transparent 70%),
        var(--white);
}

.capabilities-section {
    padding: 54px 0 22px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.capability-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.capability-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--blue-200);
}

.capability-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--blue-600);
}

.capability-card h3 {
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 700;
}

.capability-card p {
    margin-top: 8px;
    color: var(--gray-500);
    font-size: 0.93rem;
}

.signature-band {
    padding: 34px 0;
}

.signature-band-inner {
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #10233e 0%, #163560 48%, #1f4f8c 100%);
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.signature-label {
    color: var(--blue-200);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.signature-band h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    line-height: 1.2;
    max-width: 680px;
}

.section-header.left {
    text-align: left;
}

.projects-editorial-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}

.project-card-featured {
    min-height: 560px;
}

.project-card-featured .project-card-image {
    aspect-ratio: auto;
    min-height: 470px;
}

.projects-side-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card-compact .project-card-image {
    min-height: 180px;
}

.experience-preview {
    padding: 24px 0 54px;
}

.experience-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.preview-links {
    display: grid;
    gap: 14px;
}

.preview-link-card {
    display: block;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.preview-link-card:hover {
    transform: translateY(-2px);
    border-color: var(--blue-200);
    background: #f4f8ff;
}

.preview-link-card h3 {
    font-size: 1.05rem;
    color: var(--gray-900);
}

.preview-link-card p {
    margin-top: 7px;
    color: var(--gray-500);
    font-size: 0.92rem;
}

@media (max-width: 968px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .signature-band-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .projects-editorial-grid {
        grid-template-columns: 1fr;
    }

    .project-card-featured {
        min-height: 0;
    }

    .project-card-featured .project-card-image {
        min-height: 320px;
    }

    .experience-preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-overhaul {
        padding-top: 52px;
    }

    .signature-band {
        padding: 26px 0;
    }

    .signature-band-inner {
        padding: 24px;
    }

    .section-header.left {
        text-align: center;
    }

    .project-card-featured .project-card-image {
        min-height: 250px;
    }
}

/* ===== Attached Resume Style ===== */
.resume-attached-wrap {
    padding: 34px 0 56px;
    background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 18%);
}

.resume-attached-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.resume-attached-topbar strong {
    color: #0f172a;
}

.resume-attached-topbar-sub {
    color: #64748b;
    font-size: 0.95rem;
}

.resume-attached-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.resume-attached-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.92rem;
}

.resume-attached-button.primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.resume-attached-sheet {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.resume-attached-summary h1,
.resume-attached-summary h2,
.resume-attached-summary h3,
.resume-attached-summary p,
.resume-attached-summary ul {
    margin-top: 0;
}

.resume-attached-summary h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0f172a;
}

.resume-attached-role {
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 10px;
}

.resume-attached-summary p,
.resume-attached-summary li {
    color: #475569;
    line-height: 1.7;
}

.resume-attached-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.resume-attached-contact a {
    color: #2563eb;
}

.resume-attached-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.resume-attached-card {
    border: 1px solid #dbe4f0;
    border-radius: 20px;
    padding: 18px;
    background: #ffffff;
}

.resume-attached-card.full {
    grid-column: 1 / -1;
}

.resume-attached-card h2 {
    margin: 0 0 12px;
    font-size: 1.06rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #2563eb;
}

.resume-attached-card p,
.resume-attached-card li {
    color: #475569;
    line-height: 1.7;
}

.resume-exp-description {
    margin-bottom: 20px;
}

.resume-attached-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.resume-attached-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.resume-attached-meta strong {
    color: #0f172a;
}

.resume-attached-meta span {
    color: #475569;
    font-size: 0.95rem;
}

.resume-attached-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-attached-skills span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 760px) {
    .resume-attached-wrap {
        padding: 24px 0 36px;
    }

    .resume-attached-topbar {
        display: grid;
        gap: 12px;
    }

    .resume-attached-grid {
        grid-template-columns: 1fr;
    }

    .resume-attached-sheet {
        padding: 22px;
        border-radius: 22px;
    }
}

/* ===== Home Screenshot Replica Theme ===== */
html {
    scroll-behavior: smooth;
}

body.portfolio-v2-body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(96, 165, 250, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(191, 219, 254, 0.65), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 48%, #f4f7fb 100%);
    color: #334155;
}

.portfolio-v2-body .page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 56px;
}

.portfolio-v2-body .topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    width: 78%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    margin: 0 auto 28px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(148, 163, 184, 0.18);
}

.portfolio-v2-body .brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.portfolio-v2-body .brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    color: white;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 28px rgba(96, 165, 250, 0.22);
}

.portfolio-v2-body .brand-copy {
    display: grid;
    gap: 2px;
}

.portfolio-v2-body .brand-copy strong {
    font-size: 1rem;
    line-height: 1.1;
}

.portfolio-v2-body .brand-copy small {
    color: #64748b;
    font-size: 0.85rem;
}

.portfolio-v2-body .topnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.portfolio-v2-body .topnav a,
.portfolio-v2-body .button {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-v2-body .topnav a {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.portfolio-v2-body .topnav a:hover,
.portfolio-v2-body .topnav a:focus-visible {
    color: #2563eb;
}

.portfolio-v2-body .topbar-actions,
.portfolio-v2-body .hero-actions,
.portfolio-v2-body .resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.portfolio-v2-body .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.portfolio-v2-body .button-solid {
    color: #eff6ff;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 14px 32px rgba(96, 165, 250, 0.24);
}

.portfolio-v2-body .button-solid:hover,
.portfolio-v2-body .button-solid:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(59, 130, 246, 0.28);
}

.portfolio-v2-body .button-ghost {
    color: #334155;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(148, 163, 184, 0.22);
}

.portfolio-v2-body .button-ghost:hover,
.portfolio-v2-body .button-ghost:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(239, 246, 255, 0.92);
}

.portfolio-v2-body .section {
    padding: 64px 0 0;
    scroll-margin-top: 120px;
}

.portfolio-v2-body .section-alt {
    margin-top: 28px;
    padding: 82px 24px 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.56);
}

.portfolio-v2-body .hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.portfolio-v2-body .eyebrow,
.portfolio-v2-body .card-kicker {
    margin: 0 0 12px;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.portfolio-v2-body .hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #0f172a;
    max-width: 11ch;
}

.portfolio-v2-body .lede,
.portfolio-v2-body .section-heading p,
.portfolio-v2-body .spotlight-card p,
.portfolio-v2-body .project-body p,
.portfolio-v2-body .timeline-card p,
.portfolio-v2-body .highlight-card p,
.portfolio-v2-body .experience-card p,
.portfolio-v2-body .resume-card p,
.portfolio-v2-body .footer p {
    color: #64748b;
    line-height: 1.4;
}

.portfolio-v2-body .lede {
    max-width: 62ch;
    margin: 22px 0 0;
    font-size: 1.08rem;
}

.portfolio-v2-body .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0 0;
}

.portfolio-v2-body .hero-stats > div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.portfolio-v2-body .hero-stats dt {
    font-size: 1.95rem;
    line-height: 1;
    font-weight: 800;
    color: #1d4ed8;
}

.portfolio-v2-body .hero-stats dd {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.portfolio-v2-body .hero-panel {
    display: grid;
    gap: 16px;
}

.portfolio-v2-body .panel-card,
.portfolio-v2-body .project-card,
.portfolio-v2-body .timeline-card,
.portfolio-v2-body .highlight-card,
.portfolio-v2-body .experience-card,
.portfolio-v2-body .resume-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(148, 163, 184, 0.14);
}

.portfolio-v2-body .panel-card {
    border-radius: 28px;
    padding: 24px;
}

.portfolio-v2-body .spotlight-card h2,
.portfolio-v2-body .section-heading h2,
.portfolio-v2-body .resume-card h2 {
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.portfolio-v2-body .spotlight-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 10px;
}

.portfolio-v2-body .panel-image-card {
    display: grid;
    gap: 16px;
}

.portfolio-v2-body .panel-image-card h3,
.portfolio-v2-body .project-card h3,
.portfolio-v2-body .timeline-card h3,
.portfolio-v2-body .highlight-card h3,
.portfolio-v2-body .experience-card h4 {
    margin: 0;
    color: #0f172a;
}

.portfolio-v2-body .panel-image-card h3 {
    margin: 6px 0 10px;
}

.portfolio-v2-body .section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.portfolio-v2-body .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 12px;
}

.portfolio-v2-body .work-grid,
.portfolio-v2-body .highlight-grid,
.portfolio-v2-body .timeline-grid {
    display: grid;
    gap: 20px;
}

.portfolio-v2-body .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-v2-body .highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-v2-body .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-v2-body .project-card,
.portfolio-v2-body .timeline-card,
.portfolio-v2-body .highlight-card,
.portfolio-v2-body .experience-card {
    border-radius: 26px;
    padding: 20px;
}

.portfolio-v2-body .project-body {
    padding-top: 16px;
}

.portfolio-v2-body .project-meta,
.portfolio-v2-body .experience-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.portfolio-v2-body .project-meta {
    margin-bottom: 12px;
}

.portfolio-v2-body .project-meta span:first-child,
.portfolio-v2-body .experience-header span,
.portfolio-v2-body .project-impact,
.portfolio-v2-body .timeline-card strong {
    color: #3b82f6;
}

.portfolio-v2-body .project-impact {
    text-align: right;
    font-weight: 600;
}

.portfolio-v2-body .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.portfolio-v2-body .tag-list li {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.78);
    border: 1px solid rgba(147, 197, 253, 0.4);
    color: #1d4ed8;
    font-size: 0.85rem;
}

.portfolio-v2-body .timeline-card strong {
    display: inline-block;
    margin-top: 12px;
}

.portfolio-v2-body .experience-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-v2-body .column-title {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 1.35rem;
}

.portfolio-v2-body .stack-list {
    display: grid;
    gap: 18px;
}

.portfolio-v2-body .experience-card ul,
.portfolio-v2-body .resume-list {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #475569;
}

.portfolio-v2-body .experience-card li,
.portfolio-v2-body .resume-list li {
    margin-top: 10px;
    line-height: 1.6;
}

.portfolio-v2-body .resume-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.92));
}

.portfolio-v2-body .resume-actions {
    min-width: 240px;
    flex-direction: column;
}

.portfolio-v2-body .footer {
    padding: 40px 0 0;
    text-align: center;
}

.portfolio-v2-body .panel-mock-image,
.portfolio-v2-body .project-mock-image {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.18) 0 14%, transparent 16%),
        linear-gradient(135deg, #2563eb, #0f172a 80%);
}

.portfolio-v2-body .panel-profile-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.16);
}

.portfolio-v2-body .panel-mock-image {
    aspect-ratio: 4 / 4;
}

.portfolio-v2-body .panel-mock-teal,
.portfolio-v2-body .project-mock-teal {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16) 0 14%, transparent 16%),
        linear-gradient(135deg, #0ea5a5, #0f172a 80%);
}

.portfolio-v2-body .project-mock-purple {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16) 0 14%, transparent 16%),
        linear-gradient(135deg, #6d28d9, #0f172a 80%);
}

.portfolio-v2-body .project-mock-violet {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16) 0 14%, transparent 16%),
        linear-gradient(135deg, #7c3aed, #1e1b4b 80%);
}

.portfolio-v2-body .project-mock-blue {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16) 0 14%, transparent 16%),
        linear-gradient(135deg, #1d4ed8, #0f172a 80%);
}

@media (max-width: 1080px) {
    .portfolio-v2-body .topbar {
        width: 92%;
    }

    .portfolio-v2-body .hero,
    .portfolio-v2-body .experience-columns,
    .portfolio-v2-body .resume-card,
    .portfolio-v2-body .work-grid,
    .portfolio-v2-body .highlight-grid,
    .portfolio-v2-body .timeline-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-v2-body .hero {
        min-height: auto;
    }

    .portfolio-v2-body .hero h1 {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .portfolio-v2-body .page-shell {
        width: min(100% - 20px, 1180px);
    }

    .portfolio-v2-body .topbar {
        width: min(100% - 20px, 1180px);
        max-width: none;
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .portfolio-v2-body .topnav,
    .portfolio-v2-body .topbar-actions,
    .portfolio-v2-body .hero-actions,
    .portfolio-v2-body .resume-actions {
        width: 100%;
    }

    .portfolio-v2-body .topnav {
        justify-content: flex-start;
    }

    .portfolio-v2-body .topbar-actions,
    .portfolio-v2-body .hero-actions {
        flex-direction: column;
    }

    .portfolio-v2-body .hero-stats {
        grid-template-columns: 1fr;
    }

    .portfolio-v2-body .section-alt {
        padding-inline: 16px;
    }

    .portfolio-v2-body .project-meta,
    .portfolio-v2-body .experience-header {
        flex-direction: column;
    }
}

/* ===== Dark Theme Overrides For Samples/Resume ===== */
.portfolio-v2-body .navbar {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(18px);
}

.portfolio-v2-body .brand-name {
    color: #0f172a;
}

.portfolio-v2-body .nav-links a {
    color: #475569;
}

.portfolio-v2-body .nav-links a:hover,
.portfolio-v2-body .nav-links a.active {
    color: #1d4ed8;
    background: rgba(219, 234, 254, 0.9);
}

.portfolio-v2-body .nav-toggle span {
    background: #334155;
}

.portfolio-v2-body .page-hero {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 32px;
    margin: 24px auto 0;
    width: min(1180px, calc(100% - 32px));
    padding: 60px 24px 34px;
}

.portfolio-v2-body .page-hero .container {
    max-width: 100%;
    padding: 0;
}

.portfolio-v2-body .section-badge {
    background: rgba(219, 234, 254, 0.88);
    color: #2563eb;
}

.portfolio-v2-body .page-title {
    color: #0f172a;
}

.portfolio-v2-body .page-subtitle {
    color: #64748b;
}

.portfolio-v2-body .samples-section {
    padding: 30px 0 80px;
}

.portfolio-v2-body .sample-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(148, 163, 184, 0.14);
}

.portfolio-v2-body .sample-image {
    background: rgba(239, 246, 255, 0.9);
}

.portfolio-v2-body .sample-info h3 {
    color: #0f172a;
}

.portfolio-v2-body .sample-category {
    background: rgba(219, 234, 254, 0.9);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #2563eb;
}

.portfolio-v2-body .sample-info p {
    color: #64748b;
}

.portfolio-v2-body .resume-attached-wrap {
    padding: 34px 0 56px;
    background: transparent;
}

.portfolio-v2-body .resume-attached-topbar {
    padding: 16px 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(148, 163, 184, 0.14);
}

.portfolio-v2-body .resume-attached-topbar strong {
    color: #0f172a;
}

.portfolio-v2-body .resume-attached-topbar-sub {
    color: #64748b;
}

.portfolio-v2-body .resume-attached-button {
    color: #334155;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(148, 163, 184, 0.2);
}

.portfolio-v2-body .resume-attached-button:hover {
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(239, 246, 255, 0.95);
}

.portfolio-v2-body .resume-attached-sheet {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 48px rgba(148, 163, 184, 0.14);
}

.portfolio-v2-body .resume-attached-summary h1,
.portfolio-v2-body .resume-attached-role,
.portfolio-v2-body .resume-attached-meta strong {
    color: #0f172a;
}

.portfolio-v2-body .resume-attached-summary p,
.portfolio-v2-body .resume-attached-summary li,
.portfolio-v2-body .resume-attached-contact,
.portfolio-v2-body .resume-attached-meta span,
.portfolio-v2-body .resume-attached-card p,
.portfolio-v2-body .resume-attached-card li {
    color: #64748b;
}

.portfolio-v2-body .resume-attached-contact a {
    color: #2563eb;
}

.portfolio-v2-body .resume-attached-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.94);
}

.portfolio-v2-body .resume-attached-card h2 {
    color: #2563eb;
}

.portfolio-v2-body .resume-attached-skills span {
    background: rgba(219, 234, 254, 0.9);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #2563eb;
}

.portfolio-v2-body .footer {
    background: transparent;
}

.portfolio-v2-body .footer-top {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding-top: 24px;
}

.portfolio-v2-body .footer-name {
    color: #0f172a;
}

.portfolio-v2-body .footer-role,
.portfolio-v2-body .footer-copy,
.portfolio-v2-body .footer-nav h4 {
    color: #475569;
}

.portfolio-v2-body .footer-nav a {
    color: #334155;
}

.portfolio-v2-body .footer-nav a:hover,
.portfolio-v2-body .footer-nav a:focus-visible {
    color: #1d4ed8;
}

@media (max-width: 760px) {
    .portfolio-v2-body .page-hero {
        width: min(100% - 20px, 1180px);
        padding: 42px 16px 24px;
        margin-top: 18px;
    }
}
