/* ============================================
   LOCOMOTIVE-STYLE PORTFOLIO
   Jaspreet Kaur - Nurse Practitioner
   ============================================ */

/* CSS Variables */
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #0d0d0d;
    --text-light: #e1e1e1;
    --text-muted: #8a8a8a;
    --accent: #c9a962;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    /* Timing variables */
    --transition-fast: 0.3s;
    --transition-normal: 0.5s;
    --transition-slow: 0.8s;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    cursor: none;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Film Grain Overlay - Luxury Texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: 9997;
    mix-blend-mode: overlay;
}

/* Hide Scrollbar (WebKit) */
::-webkit-scrollbar {
    display: none;
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Focus Visible States (Accessibility) */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.cta-button:focus-visible,
.nav-link:focus-visible,
.contact-email:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #e8d5a3);
    z-index: 10001;
    transition: width 0.1s ease-out;
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 6rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.theme-toggle .sun-icon {
    display: none;
    color: var(--text-light);
}

.theme-toggle .moon-icon {
    display: block;
    color: var(--text-light);
}

/* Light Theme */
body.light-mode {
    --bg-dark: #f5f5f5;
    --bg-darker: #ffffff;
    --text-light: #1a1a1a;
    --text-muted: #666666;
}

body.light-mode .theme-toggle .sun-icon {
    display: block;
}

body.light-mode .theme-toggle .moon-icon {
    display: none;
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .cursor {
    filter: invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.4));
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Custom Cursor - Syringe Theme */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    /* Clear syringe SVG with needle pointing down-left */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='rotate(-135 20 20)'%3E%3C!-- Needle --%3E%3Cline x1='20' y1='36' x2='20' y2='28' stroke='%23c9a962' stroke-width='2'/%3E%3C!-- Barrel body --%3E%3Crect x='15' y='10' width='10' height='18' rx='2' fill='%23ffffff' stroke='%23aaaaaa' stroke-width='0.5'/%3E%3C!-- Liquid --%3E%3Crect x='16' y='16' width='8' height='10' fill='%23c9a962' opacity='0.5'/%3E%3C!-- Measurement lines --%3E%3Cline x1='15' y1='14' x2='17' y2='14' stroke='%23888888' stroke-width='0.5'/%3E%3Cline x1='15' y1='18' x2='17' y2='18' stroke='%23888888' stroke-width='0.5'/%3E%3Cline x1='15' y1='22' x2='17' y2='22' stroke='%23888888' stroke-width='0.5'/%3E%3C!-- Plunger --%3E%3Crect x='17' y='4' width='6' height='8' rx='1' fill='%23ffffff' stroke='%23aaaaaa' stroke-width='0.5'/%3E%3C!-- Plunger handle --%3E%3Crect x='16' y='2' width='8' height='3' rx='1' fill='%23ffffff' stroke='%23aaaaaa' stroke-width='0.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cursor-follower.hovering {
    width: 70px;
    height: 70px;
    opacity: 0.6;
    background: rgba(201, 169, 98, 0.1);
    border-color: var(--accent);
}

/* Fixed Name */
.fixed-name {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    mix-blend-mode: difference;
}

.name-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.name-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 2rem;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section - Split Half */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 6rem 4rem 4rem;
    overflow-y: hidden;
    overflow-x: clip;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Left Side */
.hero-left {
    z-index: 2;
}

.hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}

.line-wrapper {
    display: block;
    overflow: hidden;
    position: relative;
}

.line {
    display: block;
    transform: translateY(120%);
    will-change: transform;
}

.hero-tagline {
    margin-bottom: 3rem;
}

.hero-tagline p {
    font-size: 1.125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 2;
}

.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}

/* CTA Button */
.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--text-light);
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.cta-button span,
.cta-button svg {
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-out-expo);
}

.cta-button:hover::before {
    transform: translateX(0);
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* Right Side - Image */
.hero-right {
    position: relative;
    will-change: transform;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.5s var(--ease-out-expo), filter 0.8s ease;
    filter: grayscale(20%) contrast(1.05);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1) saturate(1.1);
    animation: imageDistort 0.3s ease-out;
}

/* Subtle distortion pulse on hover */
@keyframes imageDistort {
    0% {
        clip-path: inset(0 0 0 0);
    }

    20% {
        clip-path: inset(2% 0 3% 0);
    }

    40% {
        clip-path: inset(0 1% 0 2%);
    }

    60% {
        clip-path: inset(1% 0 2% 0);
    }

    80% {
        clip-path: inset(0 2% 0 1%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 60%,
            rgba(26, 26, 26, 0.8) 100%);
    pointer-events: none;
}

/* Stats on Image */
.hero-stats {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    gap: 3rem;
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-indicator span {
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Intro Section */
.intro {
    padding: 15rem 4rem;
    display: flex;
    justify-content: center;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8rem;
    max-width: 1400px;
    width: 100%;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Intro Stats - Left Side */
.intro-stats {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.intro-stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.intro-stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.intro-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 1.5rem;
}

/* Intro Quote - Visual Accent */
.intro-quote {
    position: relative;
    margin-top: 2.5rem;
    padding-left: 2rem;
    border-left: 2px solid var(--accent);
}

.intro-quote .quote-mark {
    position: absolute;
    left: -0.5rem;
    top: -1.5rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    pointer-events: none;
}

.intro-quote p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

/* Biography Subtitle & Divider */
.bio-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.bio-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin: 3rem 0;
}

/* Horizontal Images Section */
.horizontal-images {
    padding: 10rem 0;
    overflow: hidden;
}

.image-track {
    display: flex;
    gap: 4rem;
    padding: 0 4rem;
}

.track-image {
    flex-shrink: 0;
    width: 35vw;
    max-width: 500px;
    position: relative;
    will-change: transform;
}

.track-image img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.05);
    transition: filter 0.6s ease;
}

.track-image:hover img {
    filter: grayscale(0%) contrast(1.1);
}

.image-label {
    position: absolute;
    bottom: -2rem;
    left: 0;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Biography Section */
.biography {
    padding: 15rem 4rem;
    background: var(--bg-darker);
}

.bio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.bio-header {
    margin-bottom: 8rem;
}

.bio-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-top: 2rem;
}

.bio-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.bio-image-wrapper {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.bio-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.bio-image {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.8s ease, transform 1s var(--ease-out-expo);
}

.bio-image-wrapper:hover .bio-image {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.bio-text-content {
    padding-top: 4rem;
}

.bio-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Expertise Section */
.expertise {
    padding: 15rem 4rem;
}

.expertise-header {
    max-width: 1400px;
    margin: 0 auto 8rem;
}

.expertise-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-top: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.6s var(--ease-out-expo);
    will-change: transform;
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.card-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

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

/* Credentials Section */
.credentials {
    padding: 15rem 4rem;
    background: var(--bg-darker);
}

.credentials-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.credentials-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-top: 2rem;
}

.credentials-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.credential-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left 0.4s var(--ease-out-expo);
    will-change: transform;
}

.credential-item:hover {
    padding-left: 1rem;
}

.credential-year {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.credential-info h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.credential-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.credential-item.license {
    border-bottom: none;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(201, 169, 98, 0.05);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.credential-item.license .credential-year {
    color: var(--accent);
}

/* Marquee Section */
.marquee-section {
    padding: 6rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-divider {
    font-size: 1rem !important;
    color: var(--accent) !important;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Contact Section */
.contact {
    padding: 10rem 4rem 8rem;
    text-align: center;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 700;
    line-height: 0.9;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.contact-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--ease-out-expo);
}

.contact-email::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out-expo);
    z-index: -1;
}

.contact-email:hover {
    color: var(--bg-dark);
    border-color: var(--accent);
}

.contact-email:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
}

.footer-role,
.footer-location,
.footer-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-right {
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .hero-right {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

    .credentials-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 2rem 4rem;
    }

    .nav {
        padding: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .fixed-name {
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .intro,
    .biography,
    .expertise,
    .credentials,
    .contact {
        padding: 8rem 2rem;
    }

    .image-track {
        flex-direction: column;
        gap: 2rem;
        padding: 0 2rem;
    }

    .track-image {
        width: 100%;
        max-width: none;
    }

    .credential-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .footer-right {
        text-align: left;
    }

    /* Hero mobile adjustments */
    .hero-name {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .hero-tagline p {
        font-size: 0.875rem;
        letter-spacing: 0.1em;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
    }

    /* Disable custom cursor on touch devices */
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* Extra Small Devices (480px) */
@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.65rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-name {
        font-size: clamp(2.5rem, 18vw, 4rem);
    }

    .hero-label {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        margin-bottom: 2rem;
    }

    .hero-tagline p {
        font-size: 0.75rem;
        line-height: 1.8;
    }

    .intro,
    .biography,
    .expertise,
    .credentials,
    .contact {
        padding: 5rem 1.5rem;
    }

    .intro-headline,
    .bio-title,
    .expertise-title,
    .credentials-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .contact-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }

    .expertise-card {
        padding: 2rem 1.5rem;
    }

    .card-number {
        font-size: 2rem;
    }

    .marquee-content span {
        font-size: 1.5rem;
    }
}

/* iPhone SE and Very Small Devices (320px) */
@media (max-width: 320px) {
    .nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    .fixed-name {
        display: none;
        /* Hide on very small screens */
    }

    .hero {
        padding: 4rem 1rem 2rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-tagline p {
        font-size: 0.65rem;
    }

    .cta-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.65rem;
        gap: 0.5rem;
    }

    .cta-button svg {
        width: 16px;
        height: 16px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .intro,
    .biography,
    .expertise,
    .credentials,
    .contact {
        padding: 4rem 1rem;
    }

    .section-label {
        font-size: 0.65rem;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-name {
    display: flex;
    overflow: hidden;
}

.preloader-char {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(100%);
}

.preloader-space {
    width: 0.5em;
}

.preloader-progress {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    opacity: 0;
}

.preloader-counter {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.preloader-percent {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Body loading state */
body.is-loading {
    overflow: hidden;
}