:root {
    /* Sophisticated Neutral Palette */
    --color-bg: #FAFAFA;            /* Off-White - clean, professional background */
    --color-card: #FFFFFF;          /* White - crisp containers */
    --color-text: #2D3748;          /* Charcoal - strong primary text */
    --color-text-secondary: #718096; /* Slate Gray - balanced secondary text */
    --color-border: rgba(45, 55, 72, 0.08); /* Subtle charcoal border */
    --color-accent: #4A5568;        /* Deep Indigo - sophisticated, professional accent */
    --shadow-sm: 0 1px 2px rgba(45, 55, 72, 0.04);
    --shadow-md: 0 4px 16px rgba(45, 55, 72, 0.08);
    --shadow-lg: 0 8px 32px rgba(45, 55, 72, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Particles Background */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    /* Gradient mask to fade out towards bottom */
    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0) 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    position: relative;
    z-index: 1;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

/* Left Profile Section */
.profile-section {
    position: sticky;
    top: 80px;
    padding-right: 40px;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 32px;
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-md);
}

.avatar img {
    border-radius: 50%;
    overflow: hidden;
}

.avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Speech bubble on avatar */
.avatar::before {
    content: 'hi5!';
    position: absolute;
    top: 20px;
    right: -115px;
    transform: scale(0) rotate(-8deg);
    background: white;
    color: #2D3748;
    padding: 12px 22px;
    border-radius: 28px;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 4px solid #2D3748;
    z-index: 100;
}

/* Speech bubble tail - positioned correctly */
.avatar .bubble-tail {
    position: absolute;
    top: 48px;
    right: -92px;
    width: 20px;
    height: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(0);
    z-index: 99;
}

/* Tail black border triangle */
.avatar .bubble-tail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 22px solid #2D3748;
    border-top: 0px solid transparent;
    border-bottom: 20px solid transparent;
    transform: rotate(20deg);
}

/* Tail white fill triangle */
.avatar .bubble-tail::after {
    content: '';
    position: absolute;
    top: 2px;
    left: -1px;
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 0px solid transparent;
    border-bottom: 16px solid transparent;
    transform: rotate(20deg);
}

.avatar.show-bubble::before {
    opacity: 1;
    transform: scale(1) rotate(-8deg);
}

.avatar.show-bubble .bubble-tail {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

h1 {
    font-family: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.tagline {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.chip {
    padding: 6px 12px;
    background: rgba(74, 85, 104, 0.1); /* Deep indigo with 10% opacity */
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
}

.btn {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    display: block;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

.border-radius-none {
    border-radius: 0 !important;
    overflow:visible !important;
}

.bento-item.border-radius-none::before {
    display: none;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: #2D3748; /* Darker indigo on hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
}

.btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.copy-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.copy-email-icon:hover {
    background: rgba(74, 85, 104, 0.1);
    padding: 4px;
    margin: -4px;
    transform: scale(1.1);
}

.copy-email-icon:active {
    transform: scale(0.95);
}

.email-tooltip {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--color-text);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.email-tooltip::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--color-text);
}

.email-tooltip.show {
    animation: tooltipPop 2s ease;
}

@keyframes tooltipPop {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Calendly Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 55, 72, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    padding: 20px;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(45, 55, 72, 0.1);
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(45, 55, 72, 0.2);
    transform: rotate(90deg);
}

.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
    border-radius: 24px;
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
    }

    .calendly-inline-widget {
        height: 600px;
    }
}

/* Scroll Depth Indicator Navigation */
.scroll-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
}

.scroll-nav-track {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
    opacity: 0.5;
}

.scroll-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.scroll-nav-dot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-nav-dot .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-secondary);
    opacity: 0.3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.scroll-nav-dot:hover .dot {
    opacity: 0.6;
    transform: scale(1.2);
}

.scroll-nav-dot.active .dot {
    background: var(--color-accent);
    opacity: 1;
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.2); /* Deep indigo glow */
}

/* Tooltip on hover */
.scroll-nav-dot::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 24px;
    background: var(--color-text);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-nav-dot::after {
    content: '';
    position: absolute;
    right: 16px;
    border: 6px solid transparent;
    border-left-color: var(--color-text);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-nav-dot:hover::before,
.scroll-nav-dot:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.social-proof {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.social-proof-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.social-proof-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Right Bento Grid Section */
.bento-section {
    min-height: 100vh;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

/* Bento items - initial state for reveal animation */
.bento-item {
    background: var(--color-card);
    border-radius: 28px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    /* Only transition properties not controlled by GSAP */
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-sm);
}

/* Initial state for scroll reveal */
.bento-item:not(.section-intro) {
    opacity: 0.6;
    transform: scale(0.8) translateZ(0);
    will-change: transform, opacity;
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .bento-item {
        opacity: 1 !important;
        transform: scale(1) translateZ(0) !important;
    }
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.1);
}

.bento-item:hover::before {
    opacity: 1;
}

/* Grid sizes */
.span-2 {
    grid-column: span 2;
}

.row-span-24 {
    grid-row: span 24;
}

.row-span-12 {
    grid-row: span 12;
}

.row-span-4 {
    grid-row: span 4;
}

.row-span-2 {
    grid-row: span 2;
}

.item-content {
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
}

.item-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.item-subtitle {
    font-size: 9px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- Achievement Ticker Styling --- */

.achievement-ticker {
    position: relative;
    padding-top: 12px;
    margin-top: 16px;
    border-top: 1px solid rgba(45, 55, 72, 0.1);
    width: 100%;
    height: 5em;
    color: rgba(45, 55, 72, 0.7);
}

.ticker-viewport {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0;
    padding-left: 20px;
    padding-right: 8px;
}

.ticker-item::before {
    content: '›';
    position: absolute;
    left: 4px;
    top: 0;
    font-weight: 700;
    color: rgba(45, 55, 72, 0.5);
}

/* --- Endorsement Card Stack Styling --- */

.bento-item:has(.endorsement-stack-container) {
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
}

.endorsement-stack-container {
    position: relative;
}

.endorsement-stack {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.endorsement-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 36px 32px;
    box-sizing: border-box;
    background: var(--color-card);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    cursor: grab;
    opacity: 0;
}

.endorsement-card:active {
    cursor: grabbing;
}

.endorsement-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0.8;
}

.endorsement-text {
    font-size: 19px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 0 28px 0;
    font-weight: 400;
}

.endorsement-text .highlight-gradient {
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    font-weight: 700;
    background-image: linear-gradient(135deg, #667EEA, #764BA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.endorsement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(74, 85, 104, 0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.author-position {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    color: #0A66C2;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.linkedin-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.linkedin-link svg {
    transition: transform 0.2s ease;
}

.linkedin-link:hover svg {
    transform: scale(1.1);
}

.endorsement-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #667EEA;
}

.endorsement-badge svg {
    color: #667EEA;
}

/* Floating Navigation for Endorsements */

.endorsement-nav-float {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: -12px;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(74, 85, 104, 0.08);
    box-shadow: 0 4px 16px rgba(45, 55, 72, 0.06);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.endorsement-nav-arrow {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.endorsement-nav-arrow:hover {
    background: rgba(74, 85, 104, 0.08);
    transform: scale(1.1);
}

.endorsement-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.endorsement-nav-arrow svg {
    color: var(--color-accent);
    transition: color 0.2s ease;
}

.endorsement-nav-arrow:hover svg {
    color: var(--color-text);
}

.endorsement-nav-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.endorsement-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.endorsement-nav-dot:hover {
    background: var(--color-text-secondary);
    transform: scale(1.2);
}

.endorsement-nav-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.item-list {
    list-style: none;
    margin: 8px 0 0 0;
}

.item-list li {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.item-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Link Items */
.link-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    min-height: 120px;
}

.link-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4A5568 0%, #2D3748 100%); /* Deep indigo gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.3);
}

.link-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.link-info p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Section Headers */
.section-header {
    padding: 16px 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    grid-column: 1 / -1;
    margin-top: 20px;
}

/* Image Cards */
.image-card {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: inherit;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .image-card::before {
    transform: scale(1.08);
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: calc(100% - 40px);
    width: fit-content;
}

.bento-item:hover .caption {
    transform: translateY(-3px);
}

/* Mobile: move Xaver stage photo caption below image like YouTube embeds */
@media (max-width: 768px) {
    .bg-xaver-stage .caption {
        position: static;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 20px;
        margin: 0;
        max-width: 100%;
        border-radius: 0;
        font-size: 13px;
        color: var(--color-text-secondary);
        line-height: 1.6;
    }

    .bento-item:hover .bg-xaver-stage .caption {
        transform: none;
    }
}

/* CTA Link */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 12px;
    background: rgba(74, 85, 104, 0.1); /* Deep indigo with 10% opacity */
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    width: fit-content;
}

.cta-link:hover {
    background: rgba(74, 85, 104, 0.15); /* Deep indigo with 15% opacity */
    transform: translateY(-1px);
}

/* Video Card */
.video-card {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 28px 28px 0 0;
}

/* Map Widget */
.map-widget {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: default;
    display: block;
}

.map-widget iframe {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    border: none;
    opacity: 0.95;
    pointer-events: none;
    cursor: default;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    z-index: 10;
}

.marker-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    background: #EA4335;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.marker-dot {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: #EA4335;
    border-radius: 50%;
}

.marker-dot::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: #EA4335;
    border-radius: 50%;
}

.cloud {
    position: absolute;
    width: 500px;
    height: 200px;
    opacity: 0.4;
    filter: blur(3px);
    animation: float 35s infinite linear;
    z-index: 5;
    pointer-events: none;
}

.cloud:nth-child(2) {
    animation-delay: -15s;
    top: 30%;
}

@keyframes float {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(calc(100% + 500px));
    }
}

.plane {
    position: absolute;
    width: 24px;
    animation: fly 45s infinite linear;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes fly {
    0% {
        left: -5%;
        top: 20%;
    }
    50% {
        left: 105%;
        top: 70%;
    }
    100% {
        left: -5%;
        top: 20%;
    }
}

.map-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

/* Logo Wall - Floating */
.logo-section {
    grid-column: 1 / -1;
    margin: 40px 0;
    padding: 40px 0;
}

.logo-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    text-align: center;
}

.logo-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.logo-item {
    height: 32px;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Timeline */
.timeline {
    padding: 32px 28px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Avatar Image */
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Intro Styles */
.section-intro {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.bento-item.section-intro:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.section-intro-wrapper {
    padding: 0 0 40px 0;
}

.section-intro-wrapper.compact {
    padding: 0 0 30px 0;
}

.section-intro-text {
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.intro-heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-text);
    display: block;
    line-height: 1.3;
}

.intro-heading-hero {
    font-size: 68px;
    font-weight: 800;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-60px);
}

.intro-heading-secondary {
    font-size: 34px;
    font-weight: 600;
    margin-left: 40px;
    display: block;
    margin-top: 4px;
    opacity: 0;
    transform: translateX(60px);
}

.wave {
    display: inline-block;
    animation: wave-animation 2.5s infinite;
    transform-origin: 70% 70%;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><text y="32" font-size="32">👋</text></svg>') 16 16, pointer;
    position: relative;
}

@keyframes wave-animation {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

.intro-heading-medium {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    display: block;
    line-height: 1.3;
    opacity: 0;
    transform: translateX(-40px);
}

.intro-subheading-large {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-secondary);
    display: block;
    margin-top: 18px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(30px);
}

.intro-subheading-large.compact {
    margin-top: 6px;
}

.intro-body {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-secondary);
    display: block;
    margin-top: 16px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
}

/* Intro body needs to be visible after animation */
.intro-body.animated {
    opacity: 0.85;
}

.intro-body-small {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-secondary);
    display: block;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.6;
}

.intro-cta {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    display: block;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
}

.intro-accent {
    font-family: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 700;
}

/* Gradient 1a: Culture - Vibrant Purple-Blue */
.intro-accent.gradient-1a {
    background-image: linear-gradient(135deg, #667EEA, #764BA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Gradient 1b: Technology - Teal-Cyan */
.intro-accent.gradient-1b {
    background-image: linear-gradient(135deg, #38A89D, #4FC3F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Gradient 1c: Business - Pink-Coral */
.intro-accent.gradient-1c {
    background-image: linear-gradient(135deg, #F093FB, #F5576C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Gradient 2: Unexpected Pop with Teal (hard part) */
.intro-accent.gradient-2 {
    background-image: linear-gradient(to right, #F093FB, #F5576C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gradient 3: Angled Vibrant (something real) */
.intro-accent.gradient-3 {
    background-image: linear-gradient(45deg, #38A89D, #667EEA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gradient 4: Bold Purple-Pink (matters) */
.intro-accent.gradient-4 {
    background-image: linear-gradient(135deg, #667EEA, #F093FB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gradient 5: Deep Blue-Indigo (infrastructure) */
.intro-accent.gradient-5 {
    background-image: linear-gradient(to right, #4A90E2, #667EEA, #764BA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gradient 6: Warm Amber-Red (pandemic) */
.intro-accent.gradient-6 {
    background-image: linear-gradient(135deg, #F5576C, #FD7E14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gradient 7: Deep Purple-Blue (focus) */
.intro-accent.gradient-7 {
    background-image: linear-gradient(135deg, #667EEA, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.intro-heading-medium.line-2 {
    margin-top: 2px;
}

.accent-strong {
    color: var(--color-accent);
}

/* Map Specific Styles */
.map-iframe-filter {
    filter: saturate(0.85) brightness(1.05);
}

.map-marker-budapest {
    left: 50%;
    top: 50%;
}

/* Image Card Backgrounds */
.image-full-height {
    height: 100%;
}

.bg-loginet-22 {
    background-image: url('photos/loginet-22.jpg');
}

.bg-sharktank {
    background-image: url('photos/sharktank.jpg');
}

.bg-bits {
    background-image: url('photos/bits.jpg');
}

.bg-fixer {
    background-image: url('photos/fixer.jpg');
}

.bg-sociomapping {
    background-image: url('photos/sociomapping.jpg');
}

.bg-bankito {
    background-image: url('photos/bankito.jpg');
}

.bg-aurora {
    background-image: url('photos/aurora.jpg');
}

.bg-bush {
    background-image: url('photos/bush.jpg');
}

.bg-startup-safari {
    background-image: url('photos/startup-safari.jpg');
}

.bg-xaver-stage {
    background-image: url('photos/xaver-stage.jpg');
}

.bg-winery {
    background-image: url('photos/winery.jpg');
}

/* Layout Specific */
.grid-22design {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    height: 100%;
}

.image-square-180 {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.image-square-180 img {
    height: 100%;
    object-fit: cover;
}

/* Mobile: stack 22.design image below text */
@media (max-width: 768px) {
    .grid-22design {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-square-180 {
        width: 100%;
        height: 200px;
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-square-180 img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
}

.title-margin-8 {
    margin-bottom: 8px;
}

/* Video and Overflow */
.overflow-visible {
    overflow: visible;
}

.video-wrapper {
    padding-bottom: 56.25%;
    margin-bottom: 0;
}

.video-caption {
    padding: 20px;
}

.caption-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Link Flex Wrapper */
.link-flex-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.cta-link.no-margin-top {
    margin-top: 0;
}

/* HR Divider */
.hr-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 16px 0;
}

.item-description.no-margin {
    margin-bottom: 0;
}

/* Piano Video */
.piano-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 28px;
}

.piano-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
}

/* Spotify Embed */
.spotify-embed-wrapper {
    padding: 0;
    overflow: hidden;
    display: block;
    line-height: 0;
}

.spotify-iframe {
    border-radius: 28px;
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    vertical-align: bottom;
}

/* Responsive */
@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .profile-section {
        position: relative;
        top: 0;
        padding-right: 0;
    }

    .scroll-nav {
        right: 16px; /* Closer to edge on tablets */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 24px;
    }

    h1 {
        font-size: 32px;
    }

    .bio {
        font-size: 14px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .span-2 {
        grid-column: span 1;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .image-card {
        height: 180px;
    }


    .endorsement-card {
        padding: 28px 24px;
    }

    .endorsement-text {
        font-size: 17px;
    }

    .endorsement-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .endorsement-nav-float {
        padding: 12px 20px;
        gap: 20px;
        margin-top: -8px;
    }

    .endorsement-nav-arrow {
        width: 32px;
        height: 32px;
    }

    .scroll-nav {
        display: none; /* Hide scroll navigation on mobile */
    }

    .particles-background {
        display: none; /* Hide particles on mobile for performance */
    }
}

/* Custom emoji cursors */
.cursor-hungary {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🇭🇺</text></svg>') 16 16, auto;
}

.cursor-nerd {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🤓</text></svg>') 16 16, auto;
}

.cursor-chart {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">📈</text></svg>') 16 16, auto;
}

.cursor-robot {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🤖</text></svg>') 16 16, auto;
}

.cursor-bulb {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">💡</text></svg>') 16 16, auto;
}

.cursor-climber {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🧗🏻‍♂️</text></svg>') 16 16, auto;
}

.cursor-shark {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🦈</text></svg>') 16 16, auto;
}

.cursor-tv {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">📺</text></svg>') 16 16, auto;
}

.cursor-heart {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">❤️</text></svg>') 16 16, auto;
}
