/* Global variables */
:root {
    --primary-color: #C08EEC;
    --primary-hover: #B173E6;
    --button-color: #C08EEC;
    --button-hover-color: #B173E6;
    --accent-color: #FF9FB1;
    --border-radius: 12px;
    --max-content-width: 1000px;
    --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --font-heading: 'Playfair Display', 'Baloo 2', Georgia, serif;
    --focus-ring: 0 0 0 6px color-mix(in srgb, var(--accent-color) 20%, transparent 80%);
    --shadow: 0 10px 30px rgba(192, 142, 236, 0.09);

    --secondary-color: #F8E8F3;
    --muted-blush: #F6CED8;
    --paper-gradient: radial-gradient(circle at 10% 10%, rgba(240, 220, 235, 0.55), transparent 18%), radial-gradient(circle at 90% 80%, rgba(255, 245, 240, 0.45), transparent 24%);
    --header-band: linear-gradient(90deg, rgba(255, 159, 177, 0.04), rgba(192, 142, 236, 0.04));
    --header-band-blend: multiply;
    --hero-halo: radial-gradient(circle at 40% 40%, rgba(192, 142, 236, 0.14), rgba(255, 159, 177, 0.06), transparent 60%);
    --hero-halo-blur: 20px;
    --hero-halo-opacity: 0.95;
    --hero-halo-blend-mode: screen;

    --spot-layers: radial-gradient(500px circle at 12% 18%, rgba(192, 142, 236, 0.06), transparent 20%),
        radial-gradient(420px circle at 78% 16%, rgba(255, 159, 177, 0.05), transparent 22%),
        radial-gradient(360px circle at 85% 74%, rgba(255, 245, 240, 0.04), transparent 24%);

    --bg-texture-blend-mode: overlay;

    --logo-font: "Pacifico", "Baloo 2", cursive;
    --logo-color: #fff;
    --logo-bg-gradient: linear-gradient(90deg, #FFB6C1 0%, #FFDCE6 50%, #C08EEC 100%);
}

/* Color mode variables */
html,
html.light-mode {
    --bg-color: #ffffff;
    --bg-secondary-color: #FFF5F8;
    --skills-bg-color: #FFF5F8;
    --text-color: #24363f;
    --heading-color: #0f1720;
    --border-color: #e6e9f2;
    --card-bg: #fbfdff;
    --shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    --subtitle-color: #5a6a73;
    --accent-color: #FF9FB1;
    --logo-color: #fff;
    --logo-bg-gradient: linear-gradient(90deg, #FFB6C1 0%, #FFDCE6 50%, #C08EEC 100%);

    --bg-texture-blend-mode: normal;
    --header-band: linear-gradient(90deg, rgba(255, 159, 177, 0.12), rgba(192, 142, 236, 0.12));
    --header-band-blend: screen;

    --hero-halo: radial-gradient(circle at 40% 40%, rgba(192, 142, 236, 0.3), transparent 62%),
        --hero-halo-blur: 30px;
    --hero-halo-opacity: 1;
    --hero-halo-blend-mode: normal;
    --spot-layers:
        /* Purple Light (Left) */
        radial-gradient(circle 520px at 12% 18%, rgba(192, 142, 236, 0.50), transparent),
        /* Pink light (Center) */
        radial-gradient(circle 400px at 60% 10%, rgba(249, 174, 194, 0.45), transparent),
        /* Peach Light (Right) */
        radial-gradient(circle 350px at 90% 30%, rgba(235, 113, 187, 0.4), transparent);

}

html.dark-mode {
    --bg-color: #17242e;
    --bg-secondary-color: #1f2f3a;
    --skills-bg-color: #1f2f3a;
    --text-color: #e6eef8;
    --heading-color: #ffffff;
    --border-color: #2e4150;
    --card-bg: #15303a;
    --shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
    --subtitle-color: #9fb0bd;
    --accent-color: #FF9FB1;
    --button-color: #8b5fbf;
    --button-hover-color: #7a49b0;
    --logo-color: #fff;
    --logo-bg-gradient: linear-gradient(90deg, #D98CB3 0%, #C488B5 30%, #A87FB9 60%, #8B5FBF 100%);

    --bg-texture-blend-mode: overlay;
    --header-band-blend: multiply;

    --hero-halo-blur: 25px;
    --hero-halo-opacity: 0.9;
    --hero-halo-blend-mode: screen;

    --spot-layers:
        /* Blue Light (Left) */
        radial-gradient(circle 520px at 12% 18%, rgba(192, 142, 236, 0.60), transparent),
        /* Red light (Center) */
        radial-gradient(circle 350px at 60% 10%, rgba(247, 146, 185, 0.6), transparent),
        /* Green Light (Right) */
        radial-gradient(circle 400px at 90% 20%, rgba(120, 255, 180, 0.3), transparent);
}

html {
    overflow-y: scroll;
}

/* Box sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 17px;
    transition: background-color 0.35s ease, color 0.35s ease;
    position: relative;
    overflow-x: hidden
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--paper-gradient), var(--spot-layers);
    background-repeat: no-repeat;
    background-size: cover;
    mix-blend-mode: var(--bg-texture-blend-mode);
}

/* Page overlay - visible when mobile nav is open */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 350ms ease-out;
    pointer-events: none;
}

body.nav-open::after {
    opacity: 1;
    pointer-events: auto;
}

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

/* Headings */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1rem auto;
    color: var(--subtitle-color);
}

.section-title i {
    color: var(--primary-color);
    font-size: 0.8em;
    margin-right: 0.4em;
    position: relative;
    top: -0.05em;
}

/* Header */
.site-header {
    background: var(--bg-secondary-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: background-color 0.3s, border-color 0.3s;
    backdrop-filter: blur(6px);
    background-color: color-mix(in srgb, var(--bg-secondary-color) 85%, transparent);
    overflow: visible;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--header-band);
    mix-blend-mode: var(--header-band-blend);
    border-radius: inherit;
}

/* Main navigation and logo */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--logo-color);
    text-decoration: none;
    flex-shrink: 0;
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
    transition: color 0.35s ease;
}

.nav-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    width: auto;
}

.nav-links {
    position: relative;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    --magic-line-width: 0;
    --magic-line-left: 0;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    transition: none;
    z-index: 1;
}

.nav-links.transitions-ready .nav-item {
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item:hover {
    color: var(--primary-color);
}

/* Animated underline under hovered nav items */
.nav-links::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
    width: var(--magic-line-width, 0);
    transform: translateX(var(--magic-line-left, 0));
    transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1), width 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* Nav controls */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile nav menu */
.mobile-nav-toggle {
    display: none;
}

/* Focus-visible ring for keyboard users */
.nav-item:focus,
.mobile-nav-toggle:focus,
.tab-link:focus,
.btn:focus,
.nav-item:active,
.mobile-nav-toggle:active,
.tab-link:active,
.btn:active {
    outline: none;
    box-shadow: none;
}

.nav-item:focus-visible,
.mobile-nav-toggle:focus-visible,
.tab-link:focus-visible,
.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 8px;
}

button::-moz-focus-inner {
    border: 0;
}

/* Theme switch styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #7f8c8d;
    transition: .4s;
}

.slider:before {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f186";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 14px;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
    content: "\f185";
    color: #f39c12;
}

.slider.round {
    border-radius: 34px;
}

/* Hero section */
.hero {
    padding: 5.25rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    font-family: var(--font-heading);
    font-style: normal;
    letter-spacing: -0.02em;
    color: var(--heading-color);
    margin-bottom: 5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
    color: var(--subtitle-color);
    margin-bottom: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -80px;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    pointer-events: none;
    border-radius: 50%;
    background: var(--hero-halo);
    filter: blur(var(--hero-halo-blur));
    opacity: var(--hero-halo-opacity);
    mix-blend-mode: var(--hero-halo-blend-mode);
    z-index: 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.28s ease, transform 0.22s ease, box-shadow 0.22s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--button-color);
    color: #fff;
    box-shadow: 0 8px 22px rgba(160, 125, 190, 0.06);
    border: none;
    margin-top: 50px;
    transition: background-color 0.28s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--button-hover-color);
    box-shadow: 0 12px 30px rgba(160, 125, 190, 0.09);
    transform: translateY(-3px);
}

/* Main Content - skills, projects, certificates */
.skills-section {
    padding: 2rem 0;
    background-color: var(--skills-bg-color);
    transition: background-color 0.3s;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.certs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.skill-tag {
    background: linear-gradient(180deg, color-mix(in srgb, var(--card-bg) 92%, white 8%) 0%, color-mix(in srgb, var(--accent-color) 6%, var(--card-bg) 94%) 100%);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: calc(var(--border-radius) + 4px);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(160, 125, 190, 0.06);
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, var(--accent-color) 20%);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-align: center;
}

.skill-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(160, 125, 190, 0.10);
}

/* OS icons */
.os-experience {
    text-align: center;
    font-size: 2rem;
    color: var(--subtitle-color);
    margin: 4rem 0 1rem 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;

}

.os-experience i {
    transition: color 0.3s, transform 0.3s ease;
}

.os-experience i:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.03);
}

/* Projects */
.projects-section {
    padding: 4rem 0;
}

.tabs {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
    z-index: 1;
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    color: var(--primary-color);
}

/* Tab underline indicator */
.tabs::after {
    content: '';
    position: absolute;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -1px;
    left: 0;
    border-radius: 2px;
    width: var(--tab-line-width, 0);
    transform: translateX(var(--tab-line-left, 0));
    transition: none;
}

.tabs.tabs-ready::after {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(160, 125, 190, 0.06);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card.text-only {
    justify-content: center;
}

.project-card-link:hover .project-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(192, 142, 236, 0.10);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-top-left-radius: calc(var(--border-radius) - 4px);
    border-top-right-radius: calc(var(--border-radius) - 4px);
    overflow: hidden;
    transition: transform 0.4s ease, filter 0.35s ease;
}

.project-card-link:hover img {
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.02);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-content h3 {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card-content p {
    font-size: 1rem;
}

/* Coming soon placeholder */
.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    opacity: 0.98;
}

.coming-soon h3 {
    font-size: 1.75rem;
    margin-top: 0;
}

.coming-soon p {
    font-size: 1.1rem;
    color: var(--subtitle-color);
}

/* Contact section */
.contact-section {
    padding: 4rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: calc(var(--border-radius) - 2px);
    font-size: 1rem;
    font-family: var(--font-sans);
    background-color: color-mix(in srgb, var(--card-bg) 92%, #fff 8%);
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    box-shadow: 0 6px 18px rgba(160, 125, 190, 0.04);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--primary-color) 65%, var(--accent-color) 35%);
    box-shadow: var(--focus-ring);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

#form-status {
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    min-height: 1.2em;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Resume embed */
.resume-section {
    padding: 4rem 0;
}

.resume-content {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resume-wrapper {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    height: 1100px;
    overflow: hidden;
    border-radius: calc(var(--border-radius) + 2px);
}

.resume-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.mobile-resume-note {
    display: none;
    text-align: center;
    color: var(--subtitle-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2.5rem 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    color: var(--subtitle-color);
    transition: background-color 0.3s, border-color 0.3s;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-color);
    font-size: 2.5rem;
    margin: 0 0.75rem;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: scale(1.06);
    background: color-mix(in srgb, var(--primary-color) 14%, transparent 86%);
    transform: translateY(-3px) scale(1.03);
}

.site-footer p {
    margin: 0.25rem 0;
}

.footer-credit {
    font-size: 0.85rem;
    color: var(--subtitle-color);
    margin-top: 0.5rem;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {

    /* Lighting Effects For Mobile */
    html.light-mode {
        --hero-halo: radial-gradient(circle at 50% 40%, rgba(192, 142, 236, 0.3), transparent 62%);
        --spot-layers:
            /* Purple Light (Left) */
            radial-gradient(circle 350px at 12% 18%, rgba(192, 142, 236, 0.50), transparent),
            /* Pink light (Center) */
            radial-gradient(circle 250px at 50% 10%, rgba(249, 174, 194, 0.45), transparent),
            /* Peach Light (Right) */
            radial-gradient(circle 250px at 90% 30%, rgba(235, 113, 187, 0.4), transparent);
    }

    html.dark-mode {
        --hero-halo: radial-gradient(circle at 50% 40%, rgba(192, 142, 236, 0.25), transparent 62%);
        --spot-layers:
            /* Blue Light (Left) */
            radial-gradient(circle 350px at 12% 18%, rgba(192, 142, 236, 0.50), transparent),
            /* Red light (Center) */
            radial-gradient(circle 250px at 50% 10%, rgba(247, 146, 185, 0.5), transparent),
            /* Green Light (Right) */
            radial-gradient(circle 300px at 90% 20%, rgba(120, 255, 180, 0.2), transparent);
    }

    .hero::before {
        width: 280px;
        height: 280px;
        top: -60px;
        left: 50%;
    }

    .nav-center {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        z-index: auto;
        flex-grow: 0;
        justify-content: flex-start;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: 30%;
        bottom: 0;
        height: 100dvh;
        flex-direction: column;
        max-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        padding: 4rem 2rem 2rem 2rem;
        margin: 0;
        background: var(--bg-secondary-color);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 1003;
        gap: 1.75rem;
    }

    body.nav-open .nav-links {
        transform: translateX(0%);
    }

    .nav-item {
        font-size: 1.25rem;
    }

    .nav-links::after {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 9999;
        background: transparent;
        border: 0;
        padding: 0.5em;
        cursor: pointer;
    }

    .hamburger-box {
        display: block;
        width: 2em;
        height: 1.5em;
        position: relative;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        position: absolute;
        width: 2em;
        height: 3px;
        background: color-mix(in srgb, var(--text-color) 85%, black 5%);
        border-radius: 3px;
        left: 0;
        transition: transform 250ms ease-in-out, opacity 250ms linear;
    }

    .hamburger-inner {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-inner::before {
        top: -10px;
    }

    .hamburger-inner::after {
        bottom: -10px;
    }

    body.nav-open .hamburger-inner {
        background: transparent;
    }

    body.nav-open .hamburger-inner::before {
        transform: translateY(10px) rotate(45deg);
    }

    body.nav-open .hamburger-inner::after {
        transform: translateY(-10px) rotate(-45deg);
    }

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

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

    .tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, transparent, black 1rem, black 85%, transparent);
        mask-image: linear-gradient(to right, transparent, black 1rem, black 85%, transparent);
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        flex-shrink: 0;
    }

    .resume-wrapper {
        height: 600px;
    }

    .mobile-resume-note {
        display: block;
    }

    .hero::before {
        width: 280px;
        height: 280px;
        top: -60px;
    }
}

/* Screen-reader info */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--accent-color);
    background: color-mix(in srgb, var(--card-bg) 96%, var(--accent-color) 4%);
    border-radius: calc(var(--border-radius) - 4px);
    color: var(--text-color);
    box-shadow: 0 8px 20px rgba(160, 125, 190, 0.05);
}

:focus-visible {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-color) 18%, transparent 82%);
    border-radius: 8px;
}

.logo,
#logo {
    font-family: var(--logo-font);
    display: inline-block;
    padding: 0.12em 0.7em;
    font-size: 1.6rem;
    color: var(--logo-color);
    background: var(--logo-bg-gradient);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(192, 142, 236, 0.12);
    letter-spacing: 0.02em;
    transform: rotate(-3deg);
    transition: transform 220ms ease, box-shadow 220ms ease, color 0.35s ease, background 0.35s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    line-height: 1;
}

.logo::after,
#logo::after {
    content: "\f004";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    margin-left: 0.4em;
    font-size: 0.8em;
    vertical-align: middle;
    opacity: 0.95;
    position: relative;
    top: -0.1em;
}

.logo:hover,
#logo:hover {
    transform: translateY(-6px) rotate(-1deg) scale(1.03);
    box-shadow: 0 18px 36px rgba(192, 142, 236, 0.14);
}