/* ==========================================================================
   SHREYANSH BHARDWAJ - PORTFOLIO DESIGN SYSTEM
   ========================================================================== */

/* 1. Imports & Core Setup */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Cream Color Palette */
    --bg-cream: #FAF8F3;
    --bg-cream-darker: #F3EFE6;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --heading-dark: #0F172A;
    
    /* Accents */
    --color-accent: #FF5A36;        /* Punchy Coral-Orange */
    --color-accent-rgb: 255, 90, 54;
    --color-secondary: #0F172A;     /* Deep Navy Slate */
    --color-secondary-rgb: 15, 23, 42;
    --color-green: #0F3A20;         /* Deep Forest Green for Volunteer section */
    --color-green-light: #EBF7EE;
    
    /* UI Spec */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Neo-Brutalist & Editorial Styling */
    --border-thick: 2px solid #0F172A;
    --border-thin: 1px solid #0F172A;
    --shadow-flat: 4px 4px 0px #0F172A;
    --shadow-flat-hover: 7px 7px 0px #0F172A;
    --shadow-flat-accent: 4px 4px 0px #FF5A36;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition-snappy: 0.18s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    cursor: none; /* Hide default cursor to use custom one on desktop */
}

/* 2. Grain/Noise Texture */
.grain-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.045;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor (Fine pointer devices only) */
.custom-cursor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

@media (pointer: fine) {
    .custom-cursor, .custom-cursor-ring {
        display: block;
    }
}

.custom-cursor.hovering {
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary);
    opacity: 0.15;
}

.custom-cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--color-secondary);
}

/* 3. Typography & Headings */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--heading-dark);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

p {
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Highlight style */
.highlight {
    background-color: rgba(var(--color-accent-rgb), 0.12);
    color: var(--color-accent);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
}

.handdrawn-underline {
    position: relative;
    white-space: nowrap;
}

.handdrawn-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0,7 C30,2 70,8 100,5' stroke='%23FF5A36' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

/* 4. Common Layout / Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 60px;
}

/* 5. Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-snappy);
    cursor: none; /* Inherit hide */
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    border: var(--border-thick);
    box-shadow: var(--shadow-flat);
}

.btn-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-flat-hover);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #0F172A;
}

.btn-secondary {
    background-color: var(--bg-cream);
    color: var(--heading-dark);
    border: var(--border-thick);
    box-shadow: var(--shadow-flat);
}

.btn-secondary:hover {
    background-color: var(--bg-cream-darker);
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-flat-hover);
}

.btn-secondary:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #0F172A;
}

/* 6. Sticky Floating Nav */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 1002;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--color-accent);
}

.floating-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(250, 248, 243, 0.95);
    border: var(--border-thick);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    box-shadow: var(--shadow-flat);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.floating-nav.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.floating-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 20px;
    transition: var(--transition-snappy);
}

.floating-nav a:hover {
    color: var(--color-accent);
}

.floating-nav a.active {
    background-color: var(--color-secondary);
    color: var(--bg-cream);
}

/* 7. Section: Hero */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background-color: var(--color-secondary);
    color: var(--bg-cream);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    align-self: flex-start;
    margin-bottom: 24px;
    border: var(--border-thin);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00FF87;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 255, 135, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

.hero-name {
    font-size: 5rem;
    line-height: 1.0;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 3.25rem;
    }
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.65rem;
    }
}

.hero-subtext {
    font-size: 1.25rem;
    max-width: 680px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Flash Stats (Tilted badges) */
.hero-badges-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tilted-badge {
    background-color: var(--bg-cream-darker);
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 3px 3px 0px #0F172A;
    transition: var(--transition-snappy);
}

.tilted-badge:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 5px 5px 0px var(--color-accent);
    border-color: var(--color-accent);
}

.tilted-badge:nth-child(1) { transform: rotate(-2deg); }
.tilted-badge:nth-child(2) { transform: rotate(3deg); }
.tilted-badge:nth-child(3) { transform: rotate(-1deg); }
.tilted-badge:nth-child(4) { transform: rotate(2deg); }

.tilted-badge span {
    color: var(--color-accent);
}

/* 8. Section: About */
#about {
    background-color: var(--bg-cream-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background-color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-flat);
    transition: var(--transition-snappy);
}

.about-card:hover {
    transform: translate(-4px, -4px) rotate(1deg);
    box-shadow: var(--shadow-flat-hover);
    border-color: var(--color-accent);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-accent);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 9. Experience Timeline Section */
#experience {
    background-color: var(--bg-cream);
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px 0;
}

/* The vertical rail background */
.timeline-rail {
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--bg-cream-darker);
    border-radius: 3px;
    z-index: 1;
}

/* The dynamic scrolling progress line */
.timeline-progress-line {
    position: absolute;
    left: 45px;
    top: 0;
    width: 6px;
    height: 0%; /* Driven by ScrollTrigger */
    background-color: var(--color-accent);
    border-radius: 3px;
    z-index: 2;
}

.timeline-items {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 30px;
    opacity: 0.3; /* Transitioned via JS scroll trigger */
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline marker node */
.timeline-node-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.timeline-node {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    border: 4px solid var(--bg-cream-darker);
    transition: var(--transition-snappy);
    z-index: 4;
}

.timeline-item.active .timeline-node {
    border-color: var(--color-accent);
    background-color: var(--color-secondary);
    transform: scale(1.2);
}

/* Timeline content card */
.timeline-content {
    background-color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-flat);
    position: relative;
    transition: var(--transition-snappy);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-flat-hover);
    border-color: var(--color-accent);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid var(--color-secondary);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-role-title h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.timeline-company {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.05rem;
}

.timeline-meta {
    text-align: right;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .timeline-meta {
        text-align: left;
    }
}

.timeline-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.timeline-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.timeline-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Callout stat inside timeline card */
.timeline-stat-callout {
    position: absolute;
    right: -20px;
    bottom: -20px;
    background-color: var(--color-secondary);
    color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 2px 2px 0px var(--color-accent);
    transform: rotate(-3deg);
    z-index: 5;
    transition: var(--transition-snappy);
}

.timeline-content:hover .timeline-stat-callout {
    transform: rotate(2deg) scale(1.1);
    box-shadow: 3px 3px 0px var(--color-accent);
}

@media (max-width: 768px) {
    .timeline-rail, .timeline-progress-line {
        left: 20px;
    }
    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 10px;
    }
    .timeline-stat-callout {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 15px;
        align-self: flex-start;
        display: inline-block;
        transform: none;
        box-shadow: 2px 2px 0px var(--color-accent);
    }
    .timeline-content:hover .timeline-stat-callout {
        transform: none;
    }
}

/* 10. Interactive Skills & Tech Stack Section */
#skills {
    background-color: var(--bg-cream-darker);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.skills-group {
    background-color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-flat);
}

.skills-group h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--color-secondary);
    border-bottom: var(--border-thin);
    padding-bottom: 12px;
}

.skills-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-pill {
    background-color: var(--bg-cream-darker);
    border: var(--border-thin);
    border-radius: 30px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-snappy);
    cursor: none; /* Inherit hide */
}

/* Playful Hover effects for skills */
.skill-pill:hover {
    background-color: var(--color-secondary);
    color: var(--bg-cream);
    transform: rotate(3deg) scale(1.08) translateY(-4px);
    box-shadow: 3px 3px 0 var(--color-accent);
    border-color: var(--color-secondary);
}

.skill-pill:nth-child(2n):hover {
    transform: rotate(-3deg) scale(1.08) translateY(-4px);
}

/* 11. Key Achievements Section */
#achievements {
    background-color: var(--bg-cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background-color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-flat);
    transition: var(--transition-snappy);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-flat-hover);
    border-color: var(--color-accent);
}

/* Fun decorative details inside stat cards */
.stat-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: rgba(var(--color-accent-rgb), 0.05);
    border-radius: 50%;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
    line-height: 1.0;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-secondary);
}

/* 12. Beyond the Numbers (Volunteer & Personal) */
#beyond-numbers {
    background-color: var(--color-green-light); /* Soft visual transition */
    color: var(--color-green);
    border-top: var(--border-thick);
    border-bottom: var(--border-thick);
}

#beyond-numbers .section-title {
    color: var(--color-green);
}

#beyond-numbers .section-desc {
    color: var(--color-green);
    opacity: 0.8;
}

.volunteer-card {
    background-color: var(--bg-cream);
    border: 2px solid var(--color-green);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 4px 4px 0px var(--color-green);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .volunteer-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
}

.volunteer-content h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--color-green);
}

.volunteer-role {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.volunteer-text {
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
    color: #1a3324;
}

.volunteer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.v-stat {
    border: 1px dashed var(--color-green);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    background-color: rgba(15, 58, 32, 0.03);
}

.v-stat strong {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-green);
    display: block;
    margin-bottom: 4px;
}

.v-stat span {
    font-size: 0.85rem;
    color: var(--color-green);
    opacity: 0.9;
}

/* 13. Education & Certifications */
#education {
    background-color: var(--bg-cream);
}

.edu-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .edu-grid {
        grid-template-columns: 1fr;
    }
}

.edu-item {
    background-color: var(--bg-cream-darker);
    border: var(--border-thin);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-snappy);
}

.edu-item:hover {
    transform: translateX(6px);
    border-color: var(--color-accent);
}

.edu-details h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.edu-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.edu-year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    background-color: var(--color-secondary);
    color: var(--bg-cream);
    padding: 4px 10px;
    border-radius: 4px;
}

.certs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cert-card {
    background-color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 18px;
    box-shadow: var(--shadow-flat-accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cert-card i {
    color: var(--color-accent);
}

.cert-info h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

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

/* 14. Contact & Footer Section */
#contact {
    background-color: var(--color-secondary);
    color: var(--bg-cream);
    padding: 100px 0 60px;
}

#contact h2 {
    color: var(--bg-cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-link {
    color: var(--bg-cream);
    text-decoration: none;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(250, 248, 243, 0.4);
    transition: var(--transition-snappy);
    cursor: none; /* Inherit hide */
}

.contact-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    transform: translateX(4px);
}

.contact-signoff {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--bg-cream-darker);
    border-left: 3px solid var(--color-accent);
    padding-left: 16px;
    margin-top: 40px;
}

/* Contact Form Neo-Brutalist Styles */
.contact-form {
    background-color: var(--bg-cream);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: 6px 6px 0px var(--color-accent);
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input, .form-group textarea {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-cream);
    outline: none;
    transition: var(--transition-snappy);
    cursor: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 2px 2px 0 var(--color-secondary);
    background-color: white;
}

.contact-form button {
    cursor: none;
    width: 100%;
    margin-top: 10px;
}

footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(250, 248, 243, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Reduced Motion overrides */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .custom-cursor, .custom-cursor-ring {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
    .timeline-item {
        opacity: 1 !important;
        transform: none !important;
    }
    .btn, .skill-pill, .stat-card, .tilted-badge, .about-card, .timeline-content {
        transition: none !important;
    }
    .btn:hover, .skill-pill:hover, .stat-card:hover, .about-card:hover, .timeline-content:hover {
        transform: none !important;
        box-shadow: var(--shadow-flat) !important;
    }
}
