:root {
    --bg-color: #050511; /* Very dark blue/black */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #2563eb; /* Vibrant blue */
    --accent-light: #60a5fa;
    --brand-blue: #0044ff;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-hand: 'Caveat', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: exclusion;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--text-primary);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

a:hover ~ .cursor-follower, button:hover ~ .cursor-follower {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--brand-blue);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader-content {
    text-align: center;
    width: 80%;
    max-width: 600px;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
}

.highlight-text {
    color: #000;
    background: #fff;
    padding: 0 10px;
}

.loading-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    opacity: 0;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
}

.loading-percentage {
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    opacity: 0;
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}

/* Typography & Utils */
.section-padding {
    padding: 8rem 4rem;
}

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

.section-heading {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 800;
    line-height: 1;
}

.handwritten {
    font-family: var(--font-hand);
    color: var(--accent-light);
    transform: rotate(-5deg);
    display: inline-block;
}

.huge-text {
    font-size: 8rem;
    letter-spacing: -2px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    gap: 4rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 480px;
    flex-shrink: 0;
    z-index: 1;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(100%) contrast(110%);
    border: 2px solid var(--text-primary);
    box-shadow: 15px 15px 0px var(--brand-blue);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.hero-image-wrapper:hover .hero-image {
    filter: grayscale(0%) contrast(100%);
    transform: translate(-10px, -10px) rotate(-2deg);
    box-shadow: 25px 25px 0px var(--brand-blue);
}

.subtitle {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-decorative {
    position: absolute;
    bottom: -20px;
    right: -100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scribble {
    width: 150px;
    color: var(--brand-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.arrow {
    width: 40px;
    height: 1px;
    background: var(--text-primary);
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 10px;
    height: 1px;
    background: var(--text-primary);
    transform: rotate(45deg);
    transform-origin: right;
}

/* Origin Story (Notebook Style) */
.origin-story {
    background-color: #fdfaf6;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.paper-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 100% 40px;
    z-index: 0;
    opacity: 0.7;
}

.chapter-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    position: absolute;
    top: 2rem;
    left: 4rem;
    z-index: 2;
}

.origin-content {
    display: flex;
    justify-content: space-between;
    padding-top: 6rem;
    position: relative;
    z-index: 2;
}

.origin-left {
    width: 55%;
}

.origin-right {
    width: 35%;
    position: relative;
}

.text-blue { color: var(--brand-blue); }
.text-xl { font-size: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.giant-handwritten {
    font-family: var(--font-hand);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.typewriter-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    max-width: 400px;
}

.sticky-note {
    background-color: #fef08a; /* Yellow sticky */
    padding: 2rem 1.5rem;
    width: 280px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(3deg);
    font-family: var(--font-hand);
    font-size: 1.2rem;
    line-height: 1.4;
    color: #222;
}

.sticky-note .tape {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 80px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blue-thoughts {
    font-size: 1.5rem;
    line-height: 1.3;
    transform: rotate(-2deg);
}

.polaroid-photo {
    background: #fff;
    padding: 10px 10px 30px 10px;
    width: 250px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
    transform: rotate(-4deg);
    transition: transform 0.3s ease;
    margin-left: 2rem;
}

.polaroid-photo:hover {
    transform: rotate(0deg) scale(1.05);
}

.polaroid-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(100%);
}

.polaroid-photo:hover img {
    filter: grayscale(0%);
}

.polaroid-caption {
    font-family: var(--font-hand);
    text-align: center;
    margin-top: 15px;
    font-size: 1.3rem;
    color: #111;
    line-height: 1.2;
}
.polaroid-caption span {
    font-size: 0.9rem;
    color: #666;
}

.journey-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.circled {
    position: relative;
    display: inline-block;
    z-index: 1;
    font-weight: bold;
}

.circle-sketch {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* Projects - Metro Style */
.projects {
    overflow: hidden;
    background: var(--text-primary);
    color: var(--bg-color);
}

.projects .section-heading {
    color: var(--bg-color);
}

.metro-intro {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4rem;
}

.metro-container {
    width: 300vw; /* Width to allow horizontal scrolling */
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 4rem;
}

.metro-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--brand-blue);
    transform: translateY(-50%);
    z-index: 1;
}

.metro-train-container {
    display: flex;
    gap: 20vw;
    z-index: 2;
    position: relative;
    top: -20px;
}

.project-card {
    width: 400px;
    position: relative;
}

.station-node {
    width: 30px;
    height: 30px;
    background: var(--text-primary);
    border: 6px solid var(--brand-blue);
    border-radius: 50%;
    position: absolute;
    top: 25px; /* Aligned with track */
    left: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .station-node {
    transform: scale(1.3);
    background: var(--brand-blue);
    box-shadow: 0 0 20px var(--brand-blue);
}

.station-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: absolute;
    top: -15px;
    left: 45px;
    color: var(--brand-blue);
    transition: color 0.3s ease;
}

.project-card:hover .station-name {
    color: #fff;
    text-shadow: 0 0 10px var(--brand-blue);
}

.project-content {
    margin-top: 70px;
    background: var(--bg-color);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 10px 10px 0px var(--brand-blue);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-content:hover {
    transform: translate(-5px, -5px) scale(1.02);
    box-shadow: 15px 15px 0px var(--brand-blue);
    border-color: rgba(0, 68, 255, 0.5);
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.project-tags {
    color: var(--accent-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.project-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--brand-blue);
    padding-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Contact */
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.email-link {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    position: relative;
    margin-bottom: 4rem;
}

.email-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--brand-blue);
    z-index: -1;
    transition: height 0.3s ease;
}

.email-link:hover::before {
    height: 100%;
}

.social-links {
    display: flex;
    gap: 3rem;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.social-links a:hover {
    color: var(--accent-light);
}

.footer {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--text-secondary);
}

/* Experience Section (Story Timeline) */
.story-timeline-section {
    position: relative;
    width: 100%;
    background-color: #fdfaf6;
    color: #1a1a1a;
    overflow-x: hidden;
    padding-bottom: 20rem; /* Increased padding to allow last card to expand without getting cut off */
    padding-top: 5rem;
}

.story-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 100% 40px;
    z-index: 0;
    opacity: 0.7;
}

.story-timeline-section .section-heading {
    color: #111;
    position: relative;
    z-index: 2;
}

.story-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 2500px; /* Large height to allow scrolling the SVG */
}

.story-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.story-node {
    position: absolute;
    width: 350px;
    z-index: 2;
    transform: translate(-50%, -50%); /* Center the node exactly on the coordinate */
}

/* For left nodes, push them slightly left of the point, right nodes right */
.story-node.node-left { margin-left: -5%; }
.story-node.node-right { margin-left: 5%; }

.story-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.story-node.node-right .story-card {
    transform: rotate(2deg);
    background: #fffdf0; /* Sticky note yellow */
}

.story-card:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
}

.story-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 0;
}

.story-card.expanded {
    transform: rotate(0deg) scale(1.1) !important;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.2);
    z-index: 20;
    width: 110%; /* Make it wider when expanded */
}

.story-card.expanded .story-details {
    max-height: 800px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
}

.story-detail-section {
    margin-bottom: 1rem;
}

.story-detail-section h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.story-detail-section p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.story-expand-hint {
    font-family: var(--font-hand);
    font-size: 1rem;
    color: var(--brand-blue);
    margin-top: 1rem;
    text-align: right;
    width: 100%;
    transition: opacity 0.3s;
}

.story-card.expanded .story-expand-hint {
    display: none;
}

.story-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.story-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.story-content h4 {
    font-family: var(--font-body);
    color: var(--brand-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.story-date {
    font-family: var(--font-hand);
    color: #666;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .story-container { height: auto; display: flex; flex-direction: column; gap: 3rem; padding: 2rem; }
    .story-node { position: relative; width: 100%; top: auto !important; left: 50% !important; margin: 0; }
    .story-path-svg { display: none; }
}


/* Tech Stack Pipeline Flowchart */
.skills-section {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
}

.pipeline-architecture {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    padding: 2rem 0;
}

.pipeline-node {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 68, 255, 0.3);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 20px rgba(0, 68, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.pipeline-node:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 15px 40px rgba(0, 68, 255, 0.3), inset 0 0 30px rgba(0, 68, 255, 0.2);
}

.node-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 68, 255, 0.3);
    padding-bottom: 1rem;
}

.node-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--brand-blue);
    filter: drop-shadow(0 0 10px rgba(0, 68, 255, 0.5));
}

.node-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.node-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.node-skills span {
    background: rgba(0, 68, 255, 0.15);
    color: #92e1e6;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--font-code, monospace);
    font-weight: 500;
    border: 1px solid rgba(0, 68, 255, 0.4);
    transition: all 0.2s ease;
}

.node-skills span:hover {
    background: rgba(0, 68, 255, 0.3);
    transform: scale(1.05);
}

/* Animated Data Flow Arrows using Pseudo-elements */
.pipeline-node::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, var(--brand-blue) 50%, transparent 50%);
    background-size: 20px 20px;
    animation: flowData 1s linear infinite;
    z-index: 1;
    opacity: 0.6;
}

/* Flow Right (Row 1 & 3) */
.pipeline-node[data-flow="right"]::after {
    top: 50%;
    right: -3rem;
    width: 3rem;
    height: 4px;
    transform: translateY(-50%);
}

/* Flow Left (Row 2) */
.pipeline-node[data-flow="left"]::after {
    top: 50%;
    left: -3rem;
    width: 3rem;
    height: 4px;
    transform: translateY(-50%) rotate(180deg);
}

/* Flow Down (End of rows) */
.pipeline-node[data-flow="down"]::after {
    bottom: -3rem;
    left: 50%;
    width: 4px;
    height: 3rem;
    transform: translateX(-50%) rotate(90deg);
}

/* Flow None (Last node) */
.pipeline-node[data-flow="none"]::after {
    display: none;
}

@keyframes flowData {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* Responsive Pipeline for Mobile */
@media (max-width: 992px) {
    .pipeline-architecture {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* All arrows flow down on mobile */
    .pipeline-node::after {
        bottom: -2rem !important;
        left: 50% !important;
        top: auto !important;
        right: auto !important;
        width: 4px !important;
        height: 2rem !important;
        transform: translateX(-50%) rotate(90deg) !important;
        display: block !important;
    }
    
    .pipeline-node[data-flow="none"]::after {
        display: none !important;
    }
}

/* Featured Card 3D Tilt */
.featured-card {
    transition: transform 0.1s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    height: 100%;
}

.featured-card .featured-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    transition: background 0.1s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .newspaper-grid {
        grid-template-columns: 1fr 1fr;
    }
    .news-column:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
    .news-column.side-story {
        grid-column: span 2;
        border-top: 1px solid #ccc;
        padding-top: 2rem;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100vw;
    }
    
    .section-padding { padding: 4rem 1.5rem; }
    .navbar { 
        padding: 1.5rem; 
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }
    
    /* Mobile Navigation Dropdown */
    .hamburger {
        display: block;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        gap: 2rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        /* Hide by default */
        clip-path: circle(0px at top right);
        transition: clip-path 0.5s ease-in-out;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-links.nav-active {
        clip-path: circle(150% at top right);
    }
    
    .nav-links a { font-size: 1.1rem; }
    
    /* Hamburger Animation */
    .hamburger.toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero { 
        padding: 9rem 1.5rem 5rem; 
        flex-direction: column-reverse;
        justify-content: center;
        gap: 2rem;
        text-align: center;
        height: auto;
        min-height: 100dvh;
    }
    
    .hero-image-wrapper {
        width: 180px;
        height: 240px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        word-break: break-word;
        line-height: 1.1;
    }

    .hero-decorative {
        right: 50%;
        transform: translateX(50%);
        bottom: -30px;
        width: 100%;
        text-align: center;
    }

    .scroll-indicator {
        display: none; /* Hide on mobile to save space */
    }
    
    .huge-text { font-size: 2.5rem; }
    .section-heading { font-size: 2.5rem; margin-bottom: 2rem; }
    
    /* Disable custom cursor fully on mobile */
    .cursor, .cursor-follower { display: none !important; }
    * { cursor: auto !important; }
    
    /* Newspaper Mobile */
    .newspaper-section { overflow: hidden; width: 100%; }
    .newspaper-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .news-column {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #ccc;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
        width: 100%;
    }
    .news-column.side-story {
        grid-column: span 1;
        border-bottom: none;
    }
    .newspaper-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .news-headline { font-size: 1.8rem; }
    .main-story .news-headline { font-size: 2.2rem; }
    
    .origin-content {
        flex-direction: column;
        padding-top: 4rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        overflow: hidden;
    }
    .origin-left, .origin-right {
        width: 100%;
        max-width: 100vw;
    }
    .giant-handwritten {
        font-size: clamp(1rem, 4vw, 1.5rem);
        word-break: break-word;
    }
    .chapter-label {
        left: 1rem;
        top: 1rem;
        font-size: 0.8rem;
    }
    .polaroid-photo {
        margin-left: auto;
        margin-right: auto;
        margin-top: 4rem;
    }
    .sticky-note {
        margin: 0 auto;
    }
    .blue-thoughts {
        text-align: center;
        margin-top: 4rem;
    }
    .journey-arrow {
        display: none; /* Hide complex SVG on mobile for clean look */
    }
    
    /* Metro Mobile */
    .metro-container { 
        width: 100%; 
        padding-left: 0;
        flex-direction: column;
        height: auto;
        padding: 2rem 0;
        overflow: hidden;
    }
    .metro-track {
        width: 8px;
        height: 100%;
        top: 0;
        left: 20px;
        transform: none;
    }
    .metro-train-container {
        flex-direction: column;
        gap: 3rem;
        padding-left: 45px;
        top: 0;
        width: 100%;
    }
    .project-card {
        width: 100%;
    }
    .station-node {
        top: 0;
        left: -33px; /* Align to the track */
    }
    .station-name {
        top: 0px;
        left: 20px;
        font-size: 1rem;
    }
    .project-content {
        margin-top: 40px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Contact */
    .contact {
        padding-bottom: 6rem; /* Make room for bottom nav */
        overflow: hidden;
    }
    .email-link {
        font-size: clamp(1rem, 5vw, 1.3rem);
        word-break: break-word;
        margin-bottom: 2rem;
    }
    .social-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}
