@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-primary: #060511;
    --bg-secondary: #0d0b21;
    --bg-gradient: radial-gradient(circle at 50% 50%, #0d0b21 0%, #060511 100%);
    --text-primary: #F5F5F5;
    --text-secondary: #9da3af;
    --text-muted: #6b7280;
    --accent-color: #a855f7; /* Violet */
    --accent-color-rgb: 168, 85, 247;
    --accent-secondary: #06b6d4; /* Cyan */
    --accent-secondary-rgb: 6, 182, 212;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(168, 85, 247, 0.35);
    --card-bg: rgba(13, 11, 33, 0.45);
    --card-bg-hover: rgba(17, 14, 43, 0.65);
    --shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
    --heading-color: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="light"] {
    --bg-primary: #8c85ad;
    --bg-secondary: #bcb6db;
    --bg-gradient: radial-gradient(circle at 50% 50%, #bcb6db 0%, #8c85ad 100%);
    --text-primary: #120e26;
    --text-secondary: #3d3659;
    --heading-color: #120e26;
    --accent-color: #5b21b6; /* Deep Violet */
    --accent-color-rgb: 91, 33, 182;
    --accent-secondary: #0f766e; /* Deep Teal */
    --accent-secondary-rgb: 15, 118, 110;
    --border-color: rgba(18, 14, 38, 0.15);
    --card-bg: rgba(255, 255, 255, 0.25);
    --shadow: 0 8px 32px 0 rgba(18, 14, 38, 0.08);
    --glass-bg: rgba(188, 182, 219, 0.55);
    --glass-border: rgba(18, 14, 38, 0.08);
}

/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color 0.5s ease;
}



@keyframes fadeInPage {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* Three.js Galaxy Background */
#space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    background: var(--bg-gradient);
    background-attachment: fixed;
}



/* Star Wars warp effect */
@keyframes warp {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(12);
        opacity: 0.6;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

.warp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    animation: warp 0.8s forwards;
    pointer-events: none;
    z-index: 9999;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Transitions */
a, .btn, .theme-toggle-btn {
    transition: all 0.3s ease;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(70px, 12vh, 100px);
    padding: 0 clamp(1.5rem, 8vw, 10%);
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--heading-color);
    transition: filter 0.3s ease, color 0.4s ease, -webkit-text-fill-color 0.4s ease;
    cursor: pointer;
}

.logo:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

[data-theme="light"] .logo:hover {
    filter: drop-shadow(0 0 6px rgba(18, 14, 38, 0.25));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.navs {
    display: flex;
    gap: 3rem;
    list-style: none;
    font-size: 1.1rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(var(--accent-color-rgb), 0.6);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    box-shadow: var(--shadow);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.4);
    color: var(--accent-color);
}

.theme-toggle-btn .sun-icon {
    display: none;
}

.theme-toggle-btn .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
    display: block;
    transform: rotate(360deg);
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
    display: none;
}

.theme-toggle-btn svg {
    transition: transform 0.5s ease;
}

/* Mobile Layout */
#phone {
    display: none;
}

.phone-menu-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-menu {
    position: relative;
    display: inline-block;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 1.25rem;
    width: 1.75rem;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 0.18rem;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

.hamburger.open span:first-child {
    transform: rotate(45deg) translate(2px, -2px);
}

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

.hamburger.open span:last-child {
    transform: rotate(-45deg) translate(2px, 2px);
}

.menu-links {
    position: absolute;
    top: 150%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.menu-links a {
    display: block;
    padding: 0.8rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-links a:hover {
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.15);
}

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

.menu-links.open {
    max-height: 300px;
    padding: 0.5rem 0;
}

/* Main Section */
section {
    padding: 2rem 0;
    min-height: calc(100vh - clamp(70px, 12vh, 100px));
    margin: 0 clamp(1.5rem, 8vw, 10%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

#profile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 6rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#profile.hero-home {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
}

#profile.hero-home .hero_text {
    text-align: center;
}

#profile.hero-home #socials-container {
    justify-content: center;
}

.picture_container {
    display: flex;
    height: clamp(240px, 25vw, 360px);
    width: clamp(240px, 25vw, 360px);
    max-height: 42vh;
    max-width: 42vh;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.25);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.2s ease-out, border-radius 0.2s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
}

.picture_container:hover {
    transform: scale(1.02);
    border-color: var(--border-color);
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.25);
}

.picture_container:focus,
.picture_container:focus-visible,
.picture_container:active {
    outline: none !important;
}

.picture_container.is-zooming,
body.is-zooming .picture_container {
    pointer-events: none !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.25) !important;
    outline: none !important;
}

.picture_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    outline: none !important;
}

.section_text {
    align-self: center;
    text-align: left;
    min-width: 0;
}

.section_text_p1 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    margin: 0.2rem 0;
    color: var(--heading-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--heading-color);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    transition: color 0.4s ease, -webkit-text-fill-color 0.4s ease;
}

[data-theme="light"] .title {
    text-shadow: none;
}

.section_text_p2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

#socials-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
    gap: 1.5rem;
}

.icon {
    cursor: pointer;
    height: 2.2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.icon:hover {
    transform: scale(1.15);
}

/* In dark mode, invert black icons to make them white */
html:not([data-theme="light"]) .icon {
    filter: invert(1) drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

[data-theme="light"] .icon {
    filter: none;
}

/* Picture Wrapper and Scroll Indicator */
.picture_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.75rem, 1.8vh, 1.25rem);
    position: relative;
    flex-shrink: 0;
}

.scroll_indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: bounceIndicator 2.5s infinite ease-in-out;
}

.mouse_icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse_wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.6s infinite ease-in-out;
}

.scroll_text {
    font-size: 0.8rem;
    font-weight: 550;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@keyframes bounceIndicator {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

@keyframes scrollWheelAnim {
    0% {
        top: 6px;
        opacity: 1;
    }
    85% {
        top: 18px;
        opacity: 0;
    }
    100% {
        top: 6px;
        opacity: 0;
    }
}

@keyframes scrollWheelAnimUp {
    0% {
        top: 18px;
        opacity: 1;
    }
    85% {
        top: 6px;
        opacity: 0;
    }
    100% {
        top: 18px;
        opacity: 0;
    }
}

/* Dynamic Floating Scroll to Explore Indicator */
.dynamic-scroll-indicator {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
    background: rgba(10, 8, 22, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(var(--accent-color-rgb), 0.2);
    padding: 0.55rem 0.75rem;
    border-radius: 9999px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

[data-theme="light"] .dynamic-scroll-indicator {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--text-secondary);
}

.dynamic-scroll-indicator.indicator-bottom {
    bottom: 2.2rem;
    top: auto;
}

.dynamic-scroll-indicator.indicator-top {
    top: 5.2rem;
    bottom: auto;
}

.dynamic-scroll-indicator.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dynamic-scroll-indicator .mouse_icon {
    animation: bounceIndicator 2.2s infinite ease-in-out;
}

.dynamic-scroll-indicator .mouse_wheel.wheel-up {
    animation: scrollWheelAnimUp 1.6s infinite ease-in-out;
}

/* Subpage Layout & Cards */
.subpage-section {
    justify-content: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 5rem;
    height: auto;
    min-height: calc(100vh - clamp(70px, 12vh, 100px));
}

.page-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 3rem;
    text-align: left;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.page-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
}

/* Borderless Real Developer Portfolio Layout (No Boxy Containers) */
.glass-card {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 1.75rem 1.25rem;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-bottom: 0.5rem;
    position: relative;
    border-left: 2px solid transparent;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.025);
    border-left-color: var(--accent-secondary);
    transform: translateX(4px);
}

[data-theme="light"] .glass-card:hover {
    background: rgba(18, 14, 38, 0.03);
    border-left-color: var(--accent-color);
}

/* Projects Flow - Open List Instead of Isolated Grid Boxes */
.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Card Headers & Metadata */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.015em;
    margin-bottom: 0.15rem;
}

.project-title-link, .org-link {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.project-title-link:hover, .org-link:hover {
    color: var(--accent-secondary);
}

.arrow-glyph {
    display: inline-block;
    font-size: 0.9em;
    transition: transform 0.2s ease;
    color: var(--accent-secondary);
}

.project-title-link:hover .arrow-glyph, .org-link:hover .arrow-glyph {
    transform: translate(2px, -2px);
}

.inline-editorial-link {
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.inline-editorial-link:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.card-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-secondary);
    font-family: var(--font-mono);
}

.card-date {
    font-size: 0.82rem;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    padding: 0;
    border: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.card-award {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: #f59e0b;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 0.3rem;
}

/* Card Lists & Bullets */
.card-bullets {
    margin: 1.1rem 0 1.25rem 0;
    list-style: none;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.96rem;
}

.card-bullets li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.65rem;
    color: #e5e7eb;
}

.card-bullets li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: 600;
}

[data-theme="light"] .card-bullets li {
    color: var(--text-primary);
}

/* Editorial Plain-Text Skills and Coursework Layout (No pill wrappers) */
.skills-editorial-split {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.skills-col-languages {
    flex: 0 0 60%;
    padding: 0;
    background: transparent;
    border: none;
}

.skills-col-stacked {
    flex: 0 0 calc(40% - 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-stacked-block {
    padding: 0;
    background: transparent;
    border: none;
}

.editorial-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.85rem;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.editorial-heading::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-secondary);
}

.editorial-list {
    font-size: 1.02rem;
    line-height: 2.1;
    color: var(--text-primary);
}

.editorial-list strong {
    font-weight: 700;
    color: var(--heading-color);
}

.editorial-sep {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 0.45rem;
    font-weight: 300;
}

[data-theme="light"] .editorial-sep {
    color: rgba(18, 14, 38, 0.25);
}

/* Coursework Asymmetrical Multi-Column Layout */
.coursework-editorial {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.coursework-block {
    padding: 0;
    background: transparent;
}

.coursework-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 0.65rem;
}

/* Plain Text Inline Tags in Experience and Project Cards */
.inline-tech-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color);
}

.inline-tech-label {
    font-weight: 700;
    color: var(--heading-color);
    margin-right: 0.35rem;
}

/* Action Buttons & Real Developer Links */
.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--heading-color);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-action-outline {
    background: transparent;
    color: var(--text-secondary);
}

.btn-action-outline:hover {
    color: var(--heading-color);
    border-color: var(--border-color-hover);
}

/* Generic Pill Badges fallback removed - now lightweight flat text */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    margin-top: 0.85rem;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.badge-tag {
    display: inline;
    padding: 0;
    background: none !important;
    border: none !important;
    border-radius: 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
}

.badge-tag::after {
    content: " \007C";
    color: rgba(255, 255, 255, 0.25);
    margin-left: 0.45rem;
}

.badge-tag:last-child::after {
    content: "";
}

[data-theme="light"] .badge-tag {
    color: var(--text-primary);
}

[data-theme="light"] .badge-tag::after {
    color: rgba(18, 14, 38, 0.25);
}

@media screen and (max-width: 900px) {
    .skills-editorial-split {
        flex-direction: column;
    }
    .skills-col-languages, .skills-col-stacked {
        flex: 1 1 100%;
        width: 100%;
    }
    .coursework-editorial {
        grid-template-columns: 1fr;
    }
}

/* Contact Channels Stream */
.contact-channels-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-row-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-channel-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.01em;
}

.contact-channel-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-row-right {
    text-align: right;
}

.contact-direct-link {
    font-size: 0.95rem;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--heading-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.contact-direct-link:hover {
    color: var(--accent-secondary);
}

.contact-direct-link:hover .arrow-glyph {
    transform: translate(2px, -2px);
}

.contact-mono-text {
    font-size: 0.92rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

@media screen and (max-width: 640px) {
    .contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .contact-row-right {
        text-align: left;
    }
}

/* About Page Hero with Left Profile Picture */
.about-hero-card {
    padding: 0;
    margin-bottom: 3rem;
}

.about-hero-layout {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.about-image-wrapper {
    flex-shrink: 0;
    width: clamp(140px, 18vw, 190px);
    height: clamp(140px, 18vw, 190px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-2px);
    border-color: var(--accent-secondary);
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-content {
    flex: 1;
    min-width: 0;
}

.about-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 0.75rem;
}

.about-description {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.about-quick-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--heading-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2px;
}

.badge-link:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
    transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
    .about-hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .about-quick-links {
        justify-content: center;
    }
}