/* Import Museum-Quality Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;1,400&display=swap');

.creator-brand {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(139, 111, 71, 0.95);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0.8;
}
.brand-marquee {
    animation: scroll-left 25s linear infinite;
    white-space: nowrap;
    font-weight: 500;
}
@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Museum-Inspired Color Palette */
:root {
    /* Light Theme - Museum Whites & Warm Tones */
    --bg-primary: #fdfcfb;
    --bg-secondary: #f9f7f4;
    --bg-accent: #f4f1eb;
    --bg-card: #ffffff;
    --bg-overlay: rgba(253, 252, 251, 0.95);
    
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --text-light: #a0a0a0;
    
    /* Museum-Inspired Accents */
    --accent-primary: #8b6f47;     /* Warm Bronze */
    --accent-secondary: #6b5b73;   /* Muted Aubergine */
    --accent-tertiary: #7c8471;    /* Sage Green */
    --accent-gold: #c19a6b;        /* Museum Gold */
    --accent-navy: #2c3e50;        /* Deep Navy */
    
    /* Sophisticated Highlights */
    --highlight-warm: #f7f3e9;     /* Warm Cream */
    --highlight-cool: #f1f5f9;     /* Cool White */
    --highlight-accent: #f9f7f4;   /* Soft Beige */
    
    /* Borders & Shadows */
    --border-subtle: rgba(139, 111, 71, 0.08);
    --border-soft: rgba(139, 111, 71, 0.12);
    --border-medium: rgba(139, 111, 71, 0.18);
    
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.04), 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.06), 0 10px 20px rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Crimson Pro', serif;
    
    /* Refined Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Elegant Transitions */
    --transition-quick: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --border-radius: 2px;
    --border-radius-lg: 4px;
}

/* Dark Theme - Sophisticated Night Museum */
[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-accent: #242424;
    --bg-card: #1e1e1e;
    --bg-overlay: rgba(15, 15, 15, 0.95);
    
    --text-primary: #f8f8f7;
    --text-secondary: #c7c7c5;
    --text-muted: #9a9a98;
    --text-light: #6a6a68;
    
    --accent-primary: #d4b896;     /* Warmer Bronze */
    --accent-secondary: #a8a0b8;   /* Lighter Aubergine */
    --accent-tertiary: #a8b8a0;    /* Lighter Sage */
    --accent-gold: #e8c4a0;        /* Lighter Museum Gold */
    
    --highlight-warm: #1f1d1a;
    --highlight-cool: #1a1d1f;
    --highlight-accent: #1d1a1f;
    
    --border-subtle: rgba(212, 184, 150, 0.08);
    --border-soft: rgba(212, 184, 150, 0.12);
    --border-medium: rgba(212, 184, 150, 0.18);
    
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.18);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.25);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Elegant Paper Texture */
.paper-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, var(--accent-primary) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.015;
    z-index: -2;
    pointer-events: none;
}

/* Sophisticated Background Elements */
.art-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: var(--accent-primary);
    opacity: 0.02;
    border-radius: 50%;
    animation: gentleFloat 25s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: 5%;
    background: var(--accent-secondary);
    animation-delay: -8s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 30%;
    background: var(--accent-tertiary);
    animation-delay: -15s;
}

.ink-splash {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.01;
    animation: subtlePulse 20s ease-in-out infinite;
}

.splash-1 {
    top: 25%;
    left: 20%;
    animation-delay: -5s;
}

.splash-2 {
    bottom: 30%;
    right: 15%;
    animation-delay: -12s;
}

@keyframes gentleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(-10px, -15px) rotate(1deg) scale(1.02); }
    50% { transform: translate(5px, -10px) rotate(-1deg) scale(0.98); }
    75% { transform: translate(-5px, 5px) rotate(0.5deg) scale(1.01); }
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); opacity: 0.01; }
    50% { transform: scale(1.1); opacity: 0.02; }
}

/* Refined Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-soft);
    background: var(--bg-overlay);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo-sketch {
    position: relative;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.underline-sketch {
    position: absolute;
    bottom: -2px;
    left: -2px;
    right: -2px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-primary));
    opacity: 0.3;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.link-doodle {
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transform: translateX(-50%);
    transition: var(--transition-elegant);
}

.nav-link:hover .link-doodle,
.nav-link.active .link-doodle {
    width: calc(100% + 4px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Museum-Inspired Theme Toggle */
.theme-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--bg-card);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    border-color: var(--accent-primary);
}

.toggle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-icon, .dark-icon {
    font-size: 1.1rem;
    position: absolute;
    transition: var(--transition-elegant);
    color: var(--accent-primary);
}

.light-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dark-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0.8);
}

[data-theme="dark"] .light-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0.8);
}

[data-theme="dark"] .dark-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Elegant Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--space-xs);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.hamburger:hover {
    background: var(--bg-accent);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

/* Hero Section - Museum Gallery Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--space-3xl) + var(--space-lg)) 0 var(--space-3xl);
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--highlight-warm) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 0.8s var(--transition-elegant);
}

.greeting-container {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.greeting {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: -0.01em;
}

.wave-hand {
    font-size: 1.25rem;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-10deg); }
}

.name-container {
    position: relative;
    margin-bottom: var(--space-lg);
}

.name-prefix {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
    display: block;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.name-main {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    position: relative;
}

.name-highlight {
    position: absolute;
    bottom: 8px;
    left: -4px;
    right: -4px;
    height: 20px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-primary));
    opacity: 0.15;
    border-radius: var(--border-radius);
    animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.15; transform: scaleY(1); }
    50% { opacity: 0.25; transform: scaleY(1.1); }
}

.role-container {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
    font-family: var(--font-serif);
}

.role-label {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: -0.01em;
}

.role-main {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--accent-primary);
    font-style: italic;
    letter-spacing: -0.02em;
}

.role-sketch {
    position: absolute;
    bottom: -8px;
    left: var(--space-lg);
    right: 0;
    height: 16px;
    opacity: 0.6;
}

.role-underline {
    width: 100%;
    height: 100%;
    color: var(--accent-secondary);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 28rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.description-highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

/* Refined Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    letter-spacing: -0.01em;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-arrow {
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.btn:hover .btn-arrow {
    transform: translateX(2px);
}

/* Sophisticated Social Links */
.social-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.social-label {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: -0.01em;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    transform: scale(0);
    transition: var(--transition-elegant);
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.social-link i {
    position: relative;
    z-index: 2;
}

/* Museum-Style Profile */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s var(--transition-elegant) 0.2s both;
}

.profile-artwork {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-frame {
    position: relative;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-large);
    transition: var(--transition-elegant);
}

.profile-frame:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.frame-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent-gold);
    opacity: 0.6;
}

.frame-corner.tl { 
    top: 8px; 
    left: 8px; 
    border-right: none; 
    border-bottom: none; 
}

.frame-corner.tr { 
    top: 8px; 
    right: 8px; 
    border-left: none; 
    border-bottom: none; 
}

.frame-corner.bl { 
    bottom: 8px; 
    left: 8px; 
    border-right: none; 
    border-top: none; 
}

.frame-corner.br { 
    bottom: 8px; 
    right: 8px; 
    border-left: none; 
    border-top: none; 
}

.profile-image-container {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-accent);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-elegant);
    filter: grayscale(10%) contrast(1.05);
}

.profile-frame:hover .profile-image {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.1);
}

.profile-quote-bubble {
    position: absolute;
    top: -var(--space-md);
    right: -var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    max-width: 180px;
    font-family: var(--font-serif);
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

.quote-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.5;
    font-style: italic;
    letter-spacing: -0.01em;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.deco-star {
    position: absolute;
    font-size: 1rem;
    color: var(--accent-gold);
    opacity: 0.4;
    animation: gentleTwinkle 3s ease-in-out infinite;
}

.star-1 { top: 15%; left: 5%; animation-delay: 0s; }
.star-2 { top: 70%; right: 10%; animation-delay: 1s; }
.star-3 { bottom: 25%; left: 15%; animation-delay: 2s; }

@keyframes gentleTwinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Elegant Scroll Invitation */
.scroll-invitation {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: gentleBounce 3s ease-in-out infinite;
}

.scroll-text {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.02em;
}

.scroll-arrow {
    position: relative;
    width: 1px;
    height: 24px;
}

.arrow-line {
    width: 100%;
    height: 16px;
    background: var(--accent-primary);
    opacity: 0.6;
}

.arrow-head {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--accent-primary);
    transform: translateX(-50%);
    opacity: 0.6;
}

@keyframes gentleBounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    40% { 
        transform: translateX(-50%) translateY(-8px); 
    }
    60% { 
        transform: translateX(-50%) translateY(-4px); 
    }
}

/* Museum Section Styles */
section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--space-3xl) + var(--space-md));
    position: relative;
}

.section-number {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 300;
    color: var(--accent-primary);
    opacity: 0.08;
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    letter-spacing: -0.05em;
}

.section-title {
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-md);
}

.title-word {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 var(--space-xs);
    position: relative;
    letter-spacing: -0.03em;
}

.title-word:last-child {
    color: var(--accent-primary);
}

.title-sketch {
    position: absolute;
    bottom: -var(--space-sm);
    left: 0;
    right: 0;
    height: 24px;
    z-index: 1;
    opacity: 0.6;
}

.title-underline {
    width: 100%;
    height: 100%;
    color: var(--accent-secondary);
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

/* About Section - Curated Gallery Style */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--highlight-cool) 100%);
    opacity: 0.3;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: calc(var(--space-2xl) + var(--space-md));
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.story-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-elegant);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-gold));
    transition: var(--transition-smooth);
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.story-card:hover::before {
    width: 4px;
}

.card-number {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.story-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--accent-primary);
    letter-spacing: -0.02em;
}

.story-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Museum Skills Notebook */
.skills-notebook {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition-elegant);
    position: relative;
}

.skills-notebook:hover {
    box-shadow: var(--shadow-large);
}

.notebook-header {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: var(--space-xl);
    position: relative;
}

.notebook-rings {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: var(--space-md) 0;
    margin-left: var(--space-md);
}

.ring {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.notebook-header h4 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    margin-left: var(--space-2xl);
    letter-spacing: -0.02em;
}

.skills-pages {
    padding: var(--space-xl);
}

.skills-page {
    margin-bottom: var(--space-xl);
}

.skills-page:last-child {
    margin-bottom: 0;
}

.page-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px dashed var(--border-soft);
    letter-spacing: -0.02em;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill-item {
    background: var(--bg-accent);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-gold));
    transition: var(--transition-elegant);
}

.skill-item:hover::before {
    left: 0;
}

.skill-item:hover {
    color: white;
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

.skill-item span {
    position: relative;
    z-index: 2;
}

/* Projects Section - Gallery Exhibition Style */
.projects {
    background: var(--bg-primary);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, var(--highlight-warm) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-elegant);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-accent);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-elegant);
    filter: grayscale(20%) contrast(1.05);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-elegant);
}

.project-card:hover .project-overlay {
    opacity: 0.92;
}

.project-links {
    display: flex;
    gap: var(--space-md);
    transform: translateY(8px);
    transition: var(--transition-elegant);
}

.project-card:hover .project-links {
    transform: translateY(0);
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    transition: var(--transition-smooth);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-info {
    padding: var(--space-xl);
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    position: relative;
    letter-spacing: -0.02em;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
    opacity: 0.6;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tech-tag {
    background: var(--bg-accent);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.tech-tag span {
    display: block;
    padding: 0.375rem 0.75rem;
    position: relative;
    z-index: 2;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    transition: var(--transition-elegant);
}

.tech-tag:hover::before {
    left: 0;
}

.tech-tag:hover {
    color: white;
    border-color: var(--accent-primary);
}

/* Skills Section - Professional Exhibition */
.skills {
    background: var(--bg-secondary);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--accent-tertiary) 0%, transparent 70%);
    opacity: 0.03;
    z-index: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.skill-item {
    background: var(--bg-card);
    padding: var(--space-xl);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-elegant);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-elegant);
}

.skill-item:hover::before {
    transform: scaleX(1);
}

.skill-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.skill-icon {
    font-size: 2.75rem;
    margin-bottom: var(--space-md);
    color: var(--accent-primary);
    transition: var(--transition-smooth);
}

.skill-item:hover .skill-icon {
    transform: scale(1.05);
    color: var(--accent-gold);
}

.skill-item h3 {
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.skill-progress {
    width: 100%;
    height: 6px;
    background: var(--bg-accent);
    border-radius: 3px;
    overflow: hidden;
    margin-top: var(--space-md);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold));
    width: 0%;
    transition: width 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 3px;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.2) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.2) 75%, 
        transparent 75%
    );
    background-size: 16px 16px;
    animation: progressShine 3s linear infinite;
    opacity: 0.6;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Contact Section - Refined Professional */
.contact {
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--space-2xl) + var(--space-md));
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-elegant);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 111, 71, 0.04), transparent);
    transition: var(--transition-elegant);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: white;
    flex-shrink: 0;
    margin-top: 0.125rem;
    box-shadow: var(--shadow-soft);
}

.contact-details h4 {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.contact-details p {
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.contact-form {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold), var(--accent-tertiary));
}

.form-group {
    margin-bottom: var(--space-xl);
    position: relative;
}

.form-group:last-of-type {
    margin-bottom: var(--space-xl);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-soft);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: var(--transition-smooth);
    resize: vertical;
    letter-spacing: -0.01em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* Footer - Museum Clean */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-gold), var(--accent-tertiary), transparent);
    opacity: 0.6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-soft);
}

/* Refined Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Validation - Professional */
.form-group input.valid,
.form-group textarea.valid {
    border-color: var(--accent-tertiary);
    box-shadow: 0 0 0 3px rgba(124, 132, 113, 0.1);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: #dc3545;
    font-size: 0.8125rem;
    margin-top: var(--space-xs);
    display: block;
    animation: slideIn 0.3s ease-out;
    font-weight: 500;
    letter-spacing: -0.01em;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button States */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.8);
    animation: spin 1s ease-in-out infinite;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design - Museum Quality */
@media (max-width: 1200px) {
    .hero-content {
        gap: var(--space-2xl);
    }
    
    .about-content {
        gap: var(--space-2xl);
    }
    
    .contact-content {
        gap: var(--space-2xl);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-content {
        padding: 0 var(--space-md);
    }
    
    .footer-content {
        padding: 0 var(--space-md);
    }
    
    .name-main {
        font-size: 3.5rem;
    }
    
    .title-word {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-overlay);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: var(--space-xl) var(--space-lg);
        gap: var(--space-lg);
        transform: translateY(-100vh);
        transition: var(--transition-elegant);
        box-shadow: var(--shadow-large);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .name-main {
        font-size: 3rem;
    }
    
    .title-word {
        font-size: 2.25rem;
    }

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

    .profile-quote-bubble {
        display: none;
    }

    .section-number {
        font-size: 4rem;
        top: -2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    section {
        padding: calc(var(--space-2xl) + var(--space-md)) 0;
    }

    .hero {
        padding: calc(var(--space-2xl) + var(--space-lg)) 0 var(--space-2xl);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .name-main {
        font-size: 2.5rem;
    }
    
    .title-word {
        font-size: 1.875rem;
        display: block;
        margin: 0.25rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .contact-form {
        padding: var(--space-xl);
    }

    .contact-item {
        padding: var(--space-lg);
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .story-card {
        padding: var(--space-lg);
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .name-main {
        font-size: 2.25rem;
    }

    .section-number {
        font-size: 3rem;
    }

    .social-links {
        justify-content: center;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        padding: calc(var(--space-xl) + var(--space-lg)) 0 var(--space-xl);
    }
}

/* High-End Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-invitation,
    .floating-shape,
    .ink-splash {
        animation: none !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.2);
        --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.3);
        --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.4);
    }
    
    .btn,
    .social-link,
    .contact-item {
        border: 2px solid currentColor !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .theme-toggle,
    .hamburger,
    .scroll-invitation,
    .hero-buttons,
    .social-links,
    .contact-form,
    .art-elements,
    .paper-texture {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    section {
        padding: var(--space-lg) 0 !important;
        break-inside: avoid;
    }
    
    .hero {
        min-height: auto !important;
        padding: var(--space-lg) 0 !important;
    }
}

/* Focus Management */
*:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn:focus,
.social-link:focus,
.theme-toggle:focus {
    outline-offset: 3px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Text Selection */
::selection {
    background: var(--accent-primary);
    color: white;
}

/* Smooth Theme Transitions */
* {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--transition-elegant);
}
