/* ============================================================================
   GLOBAL RESET & BASE STYLES
   ============================================================================ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}
:root {
    --accent-primary: #4A90B8;
    --accent-secondary: #7B68A6;
    --accent-tertiary: #B8956A;
}

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
    cursor: crosshair;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

/* ============================================================================
   NOISE EFFECT
   ============================================================================ */

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.035;
    pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.4"/></svg>');
    animation: grain 0.3s steps(8) infinite;
}

@keyframes grain {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-1px, -1px);
    }
    20% {
        transform: translate(1px, 1px);
    }
    30% {
        transform: translate(-1px, 1px);
    }
    40% {
        transform: translate(1px, -1px);
    }
    50% {
        transform: translate(-1px, 0px);
    }
    60% {
        transform: translate(1px, 0px);
    }
    70% {
        transform: translate(0px, -1px);
    }
    80% {
        transform: translate(0px, 1px);
    }
}

/* ============================================================================
   LAYOUT CONTAINERS
   ============================================================================ */

.container {
    position: relative;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

.header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 550;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    padding: 15px 25px;
    margin: .2px;
}

.header-left h1 {
    font-size: 1.5rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 4px;
}

.header-left h2 {
    font-size: .9rem;
    color: #e7e5e5;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    align-items: center;
}

/* Navigation */
.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    color: #9595a9;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    padding: 5px 0;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #fff;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #666;
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul li {
    margin: 30px 0;
}

.mobile-nav ul li a {
    display: block;
    color: #9595a9;
    text-decoration: none;
    font-size: 1.5rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    padding: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-nav ul li a:hover::before,
.mobile-nav ul li a:focus::before {
    left: 100%;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:focus,
.mobile-nav ul li a.active {
    color: #fff;
    transform: scale(1.1);
}

.mobile-nav ul li a.active {
    color: #fff;
    border-bottom: 2px solid #666;
    transform: scale(1.05);
}

.mobile-nav ul li a:focus {
    outline: 2px solid #666;
    outline-offset: 2px;
}

.mobile-nav ul li a:focus:not(.active) {
    color: #fff;
    border-bottom: none;
    outline: 2px solid #666;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 133px;
}

.hero-content {
    max-width: 800px;
    position: relative;
    text-align: center;
    z-index: 10;
     margin: 0 auto;
    padding: 2rem; 
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: lowercase;
    letter-spacing: -1px;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #ccc;
    margin-bottom: 40px;
    text-transform: lowercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: #999;
    margin-bottom: 40px;
    text-align: justify;
}

.hero-cta {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    border-color: #666;
    transform: translateY(-2px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
    text-transform: lowercase;
    letter-spacing: -1px;
    color: #fff;
}

.hero h3 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 40px;
    text-transform: lowercase;
    letter-spacing: -1px;
    color: #fff;
}

.hero p {
    font-size: 16px;
    line-height: 1.7;
    color: #999;
    margin-bottom: 60px;
    text-align: left;
}

/* ============================================================================
   CONSTELLATION COMPONENT
   ============================================================================ */

.constellation-container {
    position: relative;
    width: 960px;
    height: 960px;
    margin: -75px auto 0;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Connection Lines */
.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -200;
    }
}

.constellation-container:hover .connection-line {
    opacity: 0;
}

/* Main Central Artwork Node */
.main-artwork-node {
    position: absolute;
    width: 180px;
    height: 180px;
     top: 55%;
    left: 39%; 
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #666;
    border-radius: 90px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
     z-index: 10;
    background-size: cover;
    background-position: center; 
    overflow: hidden;
    display: flex;
    align-items: flex-end; 
    justify-content: center;
   
}

.main-artwork-node::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 90px;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.main-artwork-node:hover,
.main-artwork-node.is-hovering {
    transform: translate(-50%, -50%) scale(2.15) rotate(2deg) !important;
    border-color: #999 !important;
    opacity: 1 !important;
    z-index: 20 !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    filter: none !important;
    backdrop-filter: none !important;
}

.main-artwork-node:hover::before,
.main-artwork-node.is-hovering::before {
    transform: scale(1.4) rotate(-2deg) !important;
}

.main-artwork-node:hover::after,
.main-artwork-node.is-hovering::after {
    opacity: 1 !important;
    transform: scale(1.9) rotate(-2deg) !important;
}

/* Satellite Artwork Nodes */
.artwork-node {
    position: absolute;
    width: 150px;
    height: 150px;
     background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333; 
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    background-size: cover;
     background-position: center; 
     background-repeat: no-repeat; 
    opacity: 1;
    z-index: 5;
}

.artwork-node::before,
.artwork-node::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 75px;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}
.artwork-node:hover,
.artwork-node:focus {
    transform: scale(1.15);
    border-color: #666;
    z-index: 20;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.1),
        0 15px 30px rgba(0, 0, 0, 0.3);}
   

.artwork-node:hover,
.artwork-node.is-hovering {
    transform: translate(-50%, -50%) scale(2.15) rotate(2deg) !important;
    border-color: #999 !important;
    opacity: 1 !important;
    z-index: 20 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    filter: none !important;
    backdrop-filter: none !important;
} 

.artwork-node,
.main-artwork-node {
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: normal !important;
    filter: none !important;
    opacity: 1 !important;
    z-index: 1000 !important;
}

/* Focus States */
.artwork-node:focus,
.main-artwork-node:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;

}

/* Scrolling States */
 .constellation-container.scrolling .artwork-node:hover,
.constellation-container.scrolling .artwork-node.is-hovering {
    transform: scale(2.1) !important;
    opacity: 1 !important;
    animation: none !important;
} 

.constellation-container.scrolling .main-artwork-node:hover,
.constellation-container.scrolling .main-artwork-node.is-hovering {
    transform: translate(-50%, -50%) scale(2.15) rotate(2deg) !important;
    opacity: 1 !important;
    animation: none !important;
} 
/* Subtle Idle Animation - More Performance Friendly */
.artwork-node:not(:hover):not(:focus) {
    animation: gentle-float 6s ease-in-out infinite;
}
/* Subtle Pulse Animation */
@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.artwork-node:not(:hover):not(.is-hovering),
.main-artwork-node:not(:hover):not(.is-hovering) {
    animation: subtle-pulse 4s ease-in-out infinite;
}

.artwork-node:hover,
.artwork-node.is-hovering,
.main-artwork-node:hover,
.main-artwork-node.is-hovering {
    animation: none;
    transform: scale(1.08);
    transition: transform 0.3s ease;
}

/* Node Positions */
#node-1 {
   
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

#node-2 {
   
    top: 30%;
    right: 15%;
    left: 8%;
    transform: none;
    z-index: 5;
}
#node-3 {

    bottom:25%;
    left: 15%;
    transform: none;
    z-index: 5;
}
#node-4 {
    bottom: 8%;
    right: 30%;
    transform: none;
    z-index: 5;
}


/* Scroll Effects */
.constellation-container.scrolling .main-artwork-node {
    transform: translate(-50%, -50%) scale(0.9) translateY(20px);
}

.constellation-container.scrolling .artwork-node {
    opacity: 0.4;
    transform: scale(0.8) translateY(15px);
}

.constellation-container.scrolling .connection-line {
    opacity: 0.3;
    stroke-width: 0.5;
}

.constellation-container.scrolling .particle {
    animation-duration: 15s;
}

.constellation-container:hover .connection-line {
    opacity: 0.4 !important;
    stroke-width: 1.5 !important;
    stroke: rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

/* Cycle Indicator */
.cycle-indicator {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.cycle-dot {
    width: 8px;
    height: 8px;
    border: 1px solid #333;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.cycle-dot.active {
    background: #666;
    border-color: #666;
    transform: scale(1.2);
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.cycle-dot:hover {
    border-color: #555;
}

/* ============================================================================
   FLOATING ELEMENTS
   ============================================================================ */

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

.symbol {
    position: absolute;
    color: #333;
    font-size: 18px;
    opacity: 0.4;
    animation: float-symbol 25s linear infinite;
}

.symbol:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.symbol:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: -8s;
}

.symbol:nth-child(3) {
    top: 80%;
    left: 15%;
    animation-delay: -16s;
}

@keyframes float-symbol {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.2;
    }
}

/* ============================================================================
   GALLERY SECTION
   ============================================================================ */

.gallery-section {
    position: relative;
     padding: 80px 40px 100px; 
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(5px);
    contain: layout style;
}

.gallery-container {
    max-width:100%;
    margin: 0 auto;
}

.gallery-title  {
   
     opacity: inherit; 
    transform: inherit;
    transition: inherit;

    text-align: center;
    margin-bottom: 60px;
}

.gallery-title h2  {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 300;
}

.gallery-title p  {
    color: #999;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid,
.additional-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 52px 96px;
    margin-bottom: 33px;
    transition: all 0.3s ease;
    contain: layout;
    justify-items: center; 
    align-items: center
   
}

.artwork-item {
    position: relative;
    aspect-ratio: 1;
    height: 360px;
    background: #1a1a1a;
    border: 1px solid #444;
    overflow: hidden;
    transition: all 0.6s ease;
    transform: translateY(30px);
    opacity: 0;
    cursor: pointer;
    border-radius: 6px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    
   
}
.artwork-item.revealed {
    opacity: 1;
    transform: translateY(0);
    justify-items: center;  /* ✅ centers each artwork-item */
    align-items: center
}


.artwork-item:hover {
    transform: scale(1.02) rotate(0.5deg);
    border-color: #777;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
    will-change: auto;
}

.artwork-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.artwork-item:hover .artwork-content {
    transform: translateY(0);
}

.artwork-title {
    color: #fff;
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    line-height: 1.3;
    font-weight: 400;
}

.artwork-year {
    color: #ddd;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.artwork-medium {
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Individual Artwork Backgrounds */
.artwork-item:nth-child(1) { background: #1a1a1a; }
.artwork-item:nth-child(2) { background: #1a1a1a; }
.artwork-item:nth-child(3) { background: #1a1a1a; }
.artwork-item:nth-child(4) { background: #1a1a1a; }
.artwork-item:nth-child(5) { background: #1a1a1a; }
.artwork-item:nth-child(6) { background: #1a1a1a; }
.artwork-item:nth-child(7) { background: #1a1a1a; }
.artwork-item:nth-child(8) { background: #1a1a1a; }
.artwork-item:nth-child(9) { background: #1a1a1a; }
.artwork-item:nth-child(10) { background: #1a1a1a; }
.artwork-item:nth-child(11) { background: #1a1a1a; }
.artwork-item:nth-child(12) { background: #1a1a1a; }
.artwork-item:nth-child(13) { background: #1a1a1a; }
.artwork-item:nth-child(14) { background: #1a1a1a; }
.artwork-item:nth-child(15) { background: #1a1a1a; }
.artwork-item:nth-child(16) { background: #1a1a1a; }

/* Load More Section */
.load-more-container {
    text-align: center;
    margin: 40px 0 60px;
}

.load-more-btn {
    padding: 15px 35px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    border-color: #666;
    transform: translateY(-2px);
}

.additional-works {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.additional-works.show {
    display: grid;
}

/* Back Button */
.back-button {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.back-button:hover::before {
    left: 100%;
}

.back-button:hover {
    border-color: #666;
    transform: translateY(-2px);
}
/* Series Navigation */
/* Series Container Management */
.series-container {
    display: block;
    /* opacity: 1; */
    width: 100%;
    /* transition: opacity 0.5s ease; */
     /* border: 2px solid red;  */
    margin-bottom: 4rem;
}

/*  .series-container.active {
    display: block;
    opacity: 1;
    border: 2px solid red;
}  */

.series-container.fade-in {
    animation: fadeInSeries 0.6s ease forwards;
}

 /* .series-container:not(.active) {
     display: none; 
     opacity: 0; 
 } */



@keyframes fadeInSeries {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.series-navigation {
    /* display: block !important; */
    margin-bottom: 60px;
    text-align: center;
    padding: 40px 0;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 8px;

}

.series-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.series-tab {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #333;
    color: #999;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    
}

.series-tab:hover {
    border-color: #666;
    color: #fff;
}

.series-tab.active {
    border-color: #999;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.series-tab:hover,
.series-tab:focus {
    border-color: #666;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.series-tab:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* Mobile responsiveness */

/* Add this to your styles.css */

/* Scroll reveal animations */
.scroll-reveal{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Enhanced version - titles appear before artworks */


.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery titles animate separately */
.gallery-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.gallery-title.revealed {
    opacity: 1;
    transform: translateY(0);
}


.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for series */
.scroll-reveal[data-reveal-delay="0"] { transition-delay: 0ms; }
.scroll-reveal[data-reveal-delay="100"] { transition-delay: 100ms; }
.scroll-reveal[data-reveal-delay="200"] { transition-delay: 200ms; }
.scroll-reveal[data-reveal-delay="300"] { transition-delay: 300ms; }

/* Individual artwork animations */
.artwork-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.artwork-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger artwork reveals within each series */
.gallery-grid .artwork-item:nth-child(1).revealed { transition-delay: 100ms; }
.gallery-grid .artwork-item:nth-child(2).revealed { transition-delay: 200ms; }
.gallery-grid .artwork-item:nth-child(3).revealed { transition-delay: 300ms; }
.gallery-grid .artwork-item:nth-child(4).revealed { transition-delay: 400ms; }
.gallery-grid .artwork-item:nth-child(5).revealed { transition-delay: 500ms; }
.gallery-grid .artwork-item:nth-child(6).revealed { transition-delay: 600ms; }
.gallery-grid .artwork-item:nth-child(7).revealed { transition-delay: 700ms; }
.gallery-grid .artwork-item:nth-child(8).revealed { transition-delay: 800ms; }
.gallery-grid .artwork-item:nth-child(9).revealed { transition-delay: 900ms; }
.gallery-grid .artwork-item:nth-child(10).revealed { transition-delay: 1000ms; }
.gallery-grid .artwork-item:nth-child(11).revealed { transition-delay: 1200ms; }
.gallery-grid .artwork-item:nth-child(12).revealed { transition-delay: 1300ms; }
.gallery-grid .artwork-item:nth-child(13).revealed { transition-delay: 1400ms; }
.gallery-grid .artwork-item:nth-child(14).revealed { transition-delay: 1500ms; }

@media (max-width: 768px) {
    .series-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .series-tab {
        width: 200px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .series-container[id] {
        scroll-margin-top: 100px;
    }


}

/* Scroll Reveal Animation */
.artwork-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.artwork-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the reveals */
.artwork-item:nth-child(1) { transition-delay: 0.1s; }
.artwork-item:nth-child(2) { transition-delay: 0.2s; }
.artwork-item:nth-child(3) { transition-delay: 0.3s; }
.artwork-item:nth-child(4) { transition-delay: 0.1s; }
.artwork-item:nth-child(5) { transition-delay: 0.2s; }
.artwork-item:nth-child(6) { transition-delay: 0.3s; }

/* Disable animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .artwork-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ============================================================================
   LIGHTBOX
   ============================================================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 50px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.lightbox-info {
    max-width: 350px;
    color: #fff;
}

.lightbox-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1.2;
}

.lightbox-year {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 10px;
}

.lightbox-medium {
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.lightbox-description {
    color: #ccc;
    line-height: 1.0;
    margin-bottom: 5px;
    font-size: 15px;
}

.lightbox-nav {
    display: flex;
    gap: 15px;
}

.lightbox-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    border-color: #666;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-size {
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* ============================================================================
   GLITCH EFFECT
   ============================================================================ */

.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 3s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 3s infinite;
    color: #00ff80;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-1px, 1px);
    }
    40% {
        transform: translate(-1px, -1px);
    }
    60% {
        transform: translate(1px, 1px);
    }
    80% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(1px, 1px);
    }
    40% {
        transform: translate(1px, -1px);
    }
    60% {
        transform: translate(-1px, 1px);
    }
    80% {
        transform: translate(-1px, -1px);
    }
}

/* ============================================================================
   COPYRIGHT SECTION
   ============================================================================ */

.copyright-section {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
}

.copyright-text {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.designer-credit {
    color: #555;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 1px;
    padding-bottom: 35px;
}

.designer-credit a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-credit a:hover {
    color: #999;
}

/* ============================================================================
   PARALLAX & TYPEWRITER EFFECTS
   ============================================================================ */

.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.typewriter-container {
    text-align: center;
    margin: 60px 0;
    padding-top: 50px;
}

.typewriter {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 2px;
    border-right: 2px solid #666;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(20), blink 1s ease-in-out;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ============================================================================
   HERO BUTTON
   ============================================================================ */

.hero-button {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    z-index: 999;
    pointer-events: auto;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:hover {
    border-color: #666;
    transform: translateY(-2px);
}

/* ============================================================================
   EXPLORATIONS SECTION
   ============================================================================ */

.explorations-section {
    position: relative;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 100px 40px;
    margin-top: .1vh;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.section-intro {
    color: #999;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    padding: 40px;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.news-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.news-item:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: #666;
    background: rgba(40, 40, 40, 0.8);
}

.news-item h3 {
    color: #fff;
    font-size: 18px;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.news-item p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

.cta-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.cta-link:hover {
    color: #fff;
}

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

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid #333;
    padding: 60px 40px 40px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.footer-section p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 13px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #9595a9;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9595a9;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    border-color: #666;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   THRESHOLD ELEMENTS
   ============================================================================ */

.threshold-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.threshold-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: float-line 20s linear infinite;
}

.threshold-line:nth-child(1) {
    top: 20%;
    width: 200px;
    height: 1px;
    animation-delay: 0s;
}

.threshold-line:nth-child(2) {
    top: 60%;
    width: 150px;
    height: 1px;
    animation-delay: -7s;
}

.threshold-line:nth-child(3) {
    top: 80%;
    width: 180px;
    height: 1px;
    animation-delay: -14s;
}

@keyframes float-line {
    0% {
        left: -200px;
        opacity: 0;
    }
    20% {
        opacity: 0.3;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        left: 100vw;
        opacity: 0;
    }
}

.floating-words {
    position: absolute;
    color: #333;
    font-size: 12px;
    opacity: 0.6;
    pointer-events: none;
    animation: float-words 30s linear infinite;
}

.floating-words:nth-child(4) {
    top: 15%;
    animation-delay: 0s;
}

.floating-words:nth-child(5) {
    top: 35%;
    animation-delay: -10s;
}

.floating-words:nth-child(6) {
    top: 55%;
    animation-delay: -20s;
}

.floating-words:nth-child(7) {
    top: 75%;
    animation-delay: -5s;
}

@keyframes float-words {
    0% {
        left: -100px;
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        left: 100vw;
        opacity: 0;
    }
}

/* ============================================================================
   CTA SECTIONS
   ============================================================================ */

.unified-cta {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: .7px solid #333;
    border-radius: 9px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.unified-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #666, transparent);
    opacity: 0.5;
}

.unified-cta p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.unified-cta strong {
    color: #fff;
    font-weight: 400;
}

.main-cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, #444, #666);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: 1px solid #555;
    position: relative;
    overflow: hidden;
}

.main-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.main-cta-button:hover {
    background: linear-gradient(45deg, #555, #777);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.main-cta-button:hover::before {
    left: 100%;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: .4px solid #333;
    border-radius: 10px;
    padding: 2rem;
    scroll-margin-top: -2499rem;
}

.threshold-cta {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-section {
    text-align: center;
}

.cta-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.threshold-btn {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.threshold-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.threshold-btn:hover::before {
    left: 100%;
}

.threshold-btn:hover {
    border-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.primary-btn {
    border-color: #555;
    background: rgba(255, 255, 255, 0.02);
}

.primary-btn:hover {
    border-color: #999;
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================================================
   REFLECTION PREVIEW SECTION
   ============================================================================ */


   
.reflection-preview {
    padding: 100px 40px;
    background: rgba(5, 5, 5, 0.5);
    /* backdrop-filter: blur(5px); */
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: #999;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.reflections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.reflection-entry {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.reflection-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.3s ease;
    z-index: 2;
}

.reflection-entry:hover {
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.reflection-entry:hover::before {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.reflection-thumbnail {
    width: 200px;
    height: 200px;
    /* background: linear-gradient(135deg, #1a1a1a, #2a2a2a); */
    border-right: 1px solid #333;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
     filter: none; 
    transition: all 0.4s ease;
}

.reflection-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.reflection-entry:hover .reflection-thumbnail {
    filter: grayscale(10%) contrast(1.2);
}

.reflection-entry:hover .reflection-thumbnail::after {
    background: rgba(0, 0, 0, 0.1);
}

.reflection-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reflection-date {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.reflection-title {
    font-size: 1.3rem;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.reflection-excerpt {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 14px;
}

.reflection-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 4px 12px;
    font-size: 10px;
    color: #999;
    text-transform: lowercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.read-more {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.read-more:hover {
    color: #fff;
    border-bottom-color: #666;
}


/* ============================================================================
   PORTAL SECTION
   ============================================================================ */

.portal-section {
    padding: 100px 40px;
    background: radial-gradient(circle at center, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 1) 100%);
    text-align: center;
    position: relative;
}

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

.portal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    font-weight: 300;
}

.portal-description {
    color: #999;
    line-height: 1.7;
    margin-bottom: 50px;
    font-size: 15px;
}

.portal-link {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 2px solid #444;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    text-transform: lowercase;
    letter-spacing: 2px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.portal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.portal-link:hover::before {
    left: 100%;
}

.portal-link:hover {
    border-color: #777;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.portal-subtitle {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ============================================================================
   FLOATING IMAGES
   ============================================================================ */

.floating-image {
    position: absolute;
    opacity: 0.2;
    pointer-events: none;
    mix-blend-mode: overlay;
    border-radius: 8px;
    filter: grayscale(100%) contrast(1.2);
    transition: opacity 0.3s ease;
    border: 1px solid #333;
}

.floating-image:hover {
    opacity: 0.5;
}

.floating-image-1 {
    top: 15%;
    left: 5%;
    width: 140px;
    height: 90px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.floating-image-2 {
    top: 35%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #2a2a2a, #1a1a1a);
    border-radius: 50%;
}

.floating-image-3 {
    top: 65%;
    left: 12%;
    width: 160px;
    height: 100px;
    background: linear-gradient(60deg, #1a1a1a, #333);
    transform: rotate(12deg);
}

.floating-image-4 {
    top: 85%;
    right: 15%;
    width: 100px;
    height: 140px;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
}

.floating-image-5 {
    top: 110%;
    left: 20%;
    width: 130px;
    height: 80px;
    background: linear-gradient(30deg, #333, #1a1a1a);
    transform: rotate(-8deg);
}

.floating-image-6 {
    top: 140%;
    right: 10%;
    width: 110px;
    height: 110px;
    background: conic-gradient(from 0deg, #1a1a1a, #2a2a2a, #1a1a1a);
    border-radius: 50%;
}

/* ============================================================================
   CONSCIOUSNESS MAP
   ============================================================================ */
   /* iOS-Specific Fixes for Panel Management */
@supports (-webkit-overflow-scrolling: touch) {
    /* iOS Safari specific styles */
    body.panel-open {
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        touch-action: none !important;
        -webkit-overflow-scrolling: auto !important;
    }
}
.consciousness-map {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 2rem 0;
    padding: 0 40px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 633px;
    background: radial-gradient(circle at center, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
        /* Mobile optimization properties */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        transform: translateZ(0); /* Force hardware acceleration */
        will-change: transform;
        -webkit-transform: translate3d(0,0,0); /* Another hardware acceleration trigger */
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
   
}

.consciousness-zone {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    backdrop-filter: blur(2px);
    font-family: 'Courier New', monospace;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.consciousness-zone:focus,
.artwork-item:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

.consciousness-zone:hover {
    transform: scale(1.1);
    border-color: #666;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 70%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.consciousness-zone.active {
    transform: scale(1.2);
    border-color: #999;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 70%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.zone-label {
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    pointer-events: none;
    color: #e0e0e0;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.consciousness-zone:hover .zone-label {
    opacity: 1;
}

/* Zone Positions */
.zone-bio {
    top: 8%;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
}

.zone-education {
    top: 25%;
    right: 8%;
    transform: none; /* Remove conflicting transform */
}

.zone-exhibitions {
    top: 50%;
    left: 8%;
    transform: none;
}

.zone-experience {
    top: 25%;
    left: 18%;
    transform: none;
}

.zone-collaboration {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally like bio */
}

/* Content Panel */
.content-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    /* Remove conflicting transforms - handle in active state only */
    transform: translate(-50%, -50%) scale(0.8) translateZ(0);
    width: 80%;
    max-width: 760px;
    max-height: 85vh;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 3rem 2rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    z-index: 1000;
    font-family: 'Courier New', monospace;
    overflow-y: auto;
    box-sizing: border-box;
    /* Hardware acceleration - single declaration */
    -webkit-transform: translate(-50%, -50%) scale(0.8) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.content-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0);
    z-index: 1001 !important;
}

.content-panel .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Courier New', monospace;
    /* iOS touch enhancements */
    min-width: 44px !important;
    min-height: 44px !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    /* Center the X */
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-panel .close-btn:hover {
    color: #fff;
}
.content-panel .close-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.content-panel h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-weight: 300;
}

.content-panel p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Connection Lines */
.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.consciousness-zone:hover ~ .connection-line,
.consciousness-zone.active ~ .connection-line {
    opacity: 1;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
}

.consciousness-zone:not(.active):nth-child(odd) {
    animation: pulse 6s ease-in-out infinite;
    animation-delay: 0s;
}

.consciousness-zone:not(.active):nth-child(even) {
    animation: pulse 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 30s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ============================================================================
   JOURNEY INTRO
   ============================================================================ */

main {
    padding-top: 220px;
}

.journey-intro {
    text-align: justify;
    margin: 2rem 0 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px 2rem;
}

.journey-intro h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-weight: 300;
    text-align: center;
}

.journey-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #999;
}

/* Timeline */
.timeline-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

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

.timeline-year {
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    color: #ccc;
    line-height: 1.5;
    font-size: 13px;
}

.timeline-content strong {
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */

.contact-section {
    padding: 4rem 0;
    min-height: 2vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--light-color, #f0f0f0);
    text-transform: lowercase;
    width: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-color, #ccc);
    text-transform: lowercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--light-color, #f0f0f0);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color, #00ff88);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.submit-btn {
    position: relative;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--accent-color, #00ff88);
    color: var(--accent-color, #00ff88);
    text-transform: lowercase;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--accent-color, #00ff88);
    color: var(--dark-color, #000);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover .btn-glow {
    left: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 12px;
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color, #00ff88);
    text-transform: lowercase;
}

.contact-method p,
.contact-method a {
    color: var(--text-color, #ccc);
    text-decoration: none;
    line-height: 1.6;
}

.contact-method a:hover {
    color: var(--accent-color, #00ff88);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    text-decoration: none;
    color: var(--text-color, #ccc);
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.social-link:hover {
    border-color: var(--accent-color, #00ff88);
    color: var(--accent-color, #00ff88);
}

/* Commission Process */
.commission-process h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--light-color, #f0f0f0);
    text-transform: lowercase;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.step-number {
    font-size: 2rem;
    color: var(--accent-color, #00ff88);
    margin-bottom: 1rem;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--light-color, #f0f0f0);
    text-transform: lowercase;
}

.step p {
    color: var(--text-color, #ccc);
    line-height: 1.6;
}

/* ============================================================================
   FORM COMPONENTS
   ============================================================================ */

.form-help {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    transform: scale(1.1);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.has-counter {
    position: relative;
    padding-bottom: 2rem;
}

.character-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 0;
    font-size: 0.75rem;
    color: #666;
    transition: color 0.3s ease;
}

.character-counter.warning {
    color: #f39c12;
}

.character-counter.error {
    color: #e74c3c;
}

/* ============================================================================
   BLOG SECTION
   ============================================================================ */

.hero-content {
    margin-top: 300px;
}

.blog-section {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 80px 20px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
}

.blog-posts {
    display: grid;
    gap: 60px;
}

.blog-post {
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}



.post-image {
    display: block !important;
    width: 100%;
    max-width: 780px;
    height: 780px;
    margin: 0 auto;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border-radius: 8px 8px 0 0; /* Round top corners only */
}

.post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.3;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 2;
}

.blog-post:hover .post-image {
    /* filter: grayscale(80%) contrast(1.2); */
    transform: scale(1.02);
}

.blog-post:hover .post-image::before {
    opacity: 0.1;
}

.blog-post:hover .post-image::after {
    transform: translateX(100%);
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.artwork-showcase {
    display: block !important;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 30px 40px;
    background: rgba(15, 15, 15, 0.7);
    border-bottom: 1px solid #333;
    position: relative;
}

.artwork-details {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.artwork-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 1.3;
}

.artwork-info {
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artwork-medium {
    color: #999;
    font-size: 12px;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-style: italic;
}

.artwork-note {
    color: #ccc;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid #4A90B8;
    padding-left: 20px;
    margin: 20px 0;
    position: relative;
}

.artwork-note::before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -5px;
    font-size: 24px;
    color: #4A90B8;
    opacity: 0.7;
}

.artwork-note::after {
    content: '"';
    position: absolute;
    right: 10px;
    bottom: -10px;
    font-size: 24px;
    color: #4A90B8;
    opacity: 0.7;
}

.post-content {
    padding: 40px;
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.3s ease;
}

.blog-post:hover {
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.blog-post:hover .post-content::before {
    background: linear-gradient(180deg, transparent, #4A90B8, transparent);
}
/* Add this CSS to work with your existing JavaScript */

/* Initial state for scroll-reveal elements */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Revealed state (what your JavaScript adds) */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for multiple elements */
.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }

/* Specific styling for blog posts */
.blog-post.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.blog-post.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


.post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.3s ease;
}

.blog-post:hover {
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.blog-post:hover .post-content::before {
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.post-date {
    color: var(--accent-color);
}

.post-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.post-title {
    font-size: 1.8rem;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
    transition: all 0.4s ease;
}

.post-full-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.post-full-content.expanded {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.post-full-content p {
    margin-bottom: 20px;
}

.post-full-content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 30px 0 15px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.post-hashtags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hashtag {
    color: var(--accent-color);
    font-size: 11px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.hashtag:hover {
    opacity: 1;
    color: #fff;
}

.hashtag::before {
    content: '#';
    opacity: 0.6;
}

.read-more {
    color: #00ff88;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}

.read-more:hover {
    color: #fff;
    border-bottom-color: #666;
}

.read-more.expanded {
    color: var(--accent-color);
}

.expand-indicator {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more.expanded .expand-indicator {
    transform: rotate(180deg);
}

/* About Section */
.about-section {
    padding: 100px 40px;
    background: rgba(10, 10, 10, 0.9);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-top: 1px solid var(--border-color);
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-input:focus {
    outline: none;
    border-color: #4A90B8;
    box-shadow: 0 0 10px rgba(74, 144, 184, 0.2);
}

.newsletter-submit {
    padding: 15px 25px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: #4A90B8;
    font-family: inherit;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: #4A90B8;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.newsletter-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translate(0);
}
.footer-section address a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-section address a:hover {
    color: #4A90B8;
    border-bottom-color: #4A90B8;
    transform: translateY(-1px);
}

/* ============================================================================
   CV DOWNLOAD ZONE
   ============================================================================ */

.cv-download-zone {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    position: relative;
}

.cv-download-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.zone-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    border: 1px solid #333;
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.zone-cv-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.zone-cv-btn::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border-radius: 9px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

/* CV Button Hover States */
.zone-cv-btn:hover {
    transform: scale(1.05);
    border-color: #666;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 70%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.zone-cv-btn:hover::before {
    left: 100%;
}

.zone-cv-btn:hover::after {
    opacity: 0.6;
}

.zone-cv-btn:hover .download-icon {
    transform: translateY(2px);
    opacity: 0.9;
}

/* CV Button Active States */
.zone-cv-btn:active {
    transform: scale(1.08);
    border-color: #999;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 70%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.zone-cv-btn:active::after {
    opacity: 1;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}

.zone-cv-btn:active .download-icon {
    transform: translateY(3px) scale(1.1);
    opacity: 1;
}

/* CV Button Focus States */
.zone-cv-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-color: #777;
}

/* CV Button Elements */
.download-icon {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    position: relative;
}

.file-details {
    font-size: 10px;
    opacity: 0.6;
    color: #999;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.zone-cv-btn:hover .file-details {
    opacity: 0.8;
    color: #ccc;
}

.zone-cv-btn:active .file-details {
    opacity: 1;
    color: #fff;
}

/* CV Meta Information */
.cv-meta {
    margin-top: 15px;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

/* ============================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================================================ */

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .mobile-nav ul li {
        margin: 25px 0;
    }
    
    .mobile-nav ul li a {
        font-size: 1.3rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Constellation Responsive */
/* ============================================================================
   CONSTELLATION MOBILE POSITIONING FIX - ADD TO YOUR STYLES.CSS
   ============================================================================ */

/* Replace your existing constellation responsive CSS with this improved version */

/* Large Desktop - More Breathing Room */
 @media (min-width: 1200px) {
    .constellation-container {
        width: 1000px;
        height: 1000px;
    }
    .main-artwork-node {
        width: 180px;
        height: 180px;
        border-radius: 90px;
      }
    
    .artwork-node {
        width: 160px;
        height: 160px;

        border-radius: 80px;
    }
    
   
    #node-1 { top: 10%; left: 50%; transform: translateX(-50%); }
  #node-2 { top: 25%; right: 12%; }
  #node-3 { bottom: 20%; left: 12%; }
  #node-4 { bottom: 10%; right: 25%; }

    }
  


 @media (max-width: 1024px) {
    .constellation-container {
        width: min(800px, 90vw);
        height: min(800px, 90vw);
        margin: 40px auto 0;
        /* max-width: 95vw;  */
    }
    
    .main-artwork-node {
        width: 150px;
        height: 150px;
        border-radius: 75px;
    }
    
    .artwork-node {
        width: 130px;
        height: 130px;
        border-radius: 65px;
    }
    #node-1 { top: 14%; left: 50%; transform: translateX(-50%); }
    #node-2 { top: 30%; right: 16%; }
    #node-3 { bottom: 28%; left: 16%; }
    #node-4 { bottom: 14%; right: 32%; }
  
}
 

/* Tablet */
 @media (max-width: 768px) {
    .constellation-container {
        width: min(480px, 70vw);
        height: min(480px,70vw );
        margin: 20px auto 0;
        /* max-width: 85vw;  */
    }
    
    .main-artwork-node {
        width: 130px;
        height: 130px;
        border-radius: 65px;
        left: 50%; 
        top:50%;
        transform: translate(-50%, -50%);
    }
    
    .artwork-node {
        width: 105px;
        height: 105px;
        border-radius: 52.5px;
    }
       
       /* Node positions simplified for tablet */
  #node-1 { top: 10%; left: 50%; transform: translateX(-50%); }
  #node-2 { top: 25%; right: 20%; }
  #node-3 { bottom: 22%; left: 20%; }
  #node-4 { display: none; } /* Hide 4th node for less clutter */

} 
@media (max-width: 570px) {
    .constellation-container {
        width: min(400px, 90vw); 
        height: min(400px, 90vw);
        margin: 20px auto 0;
        /* padding: 0 5vw;  */
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        /* overflow: visible;  */
    }
    
    .main-artwork-node {
        width: 115px;
        height: 115px;
        border-radius: 58px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) 
    }
    
    .artwork-node {
        width: 95px;
        height: 95px;
        border-radius: 47.5px;
        position: absolute;
    }
    
      /* Node spacing refined for phones */
  #node-1 { top: 8%; left: 50%; transform: translateX(-50%); }
  #node-2 { top: 18%; right: 15%; }
  #node-3 { top: 18%; left: 15%; }
    
}
 

 @media (max-width: 400px) {
    .constellation-container {
        width: min(350px, 85vw); 
        height: min(350px, 85vw);
        margin: 15px auto 0;
        /* padding: 0 7.5vw;  */
    }
    
    .main-artwork-node {
        width: 105px;
        height: 105px;
        border-radius: 52.5px;
    }
    
    .artwork-node {
        width: 85px;
        height: 85px;
        border-radius: 42.5px;
    }
    
     /* Nodes shift slightly closer to center */
  #node-1 { top: 10%; left: 50%; transform: translateX(-50%); }
  #node-2 { top: 28%; right: 12%; }
  #node-3 { top: 50%; left: 12%; }
    
   
} 

/* Ultra Small Mobile (Galaxy Fold, very narrow screens) */
@media (max-width: 360px) {
    .constellation-container {
        width: min(320px, 75vw);
        height: min(320px, 75vw);
        margin: 10px auto 0;
        /* padding: 0 10vw; */
    }
    
    .main-artwork-node {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }
    
    .main-artwork-node,.artwork-node {
        position: static !important;
        transform: none !important;
        margin: 0 auto;
        width: 100px;
        height: 100px;
        border-radius: 50px;}
      
    
    /* Even more compact positioning */
    #node-1 { top: 12%; left: 50%; }
  #node-2 { top: 30%; right: 15%; }
  #node-3 { top: 50%; left: 15%; }
    
   
}

/* Alternative: Stack layout for very small screens */
@media (max-width: 320px) {
    /* For extremely small screens, consider stacking vertically */
    .constellation-container {
        width: 90vw;
        max-width: 280px;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: 15px;
        padding: 20px;
    }
    
    .main-artwork-node,
    .artwork-node {
        position: static !important;
        transform: none !important;
        margin: 0 auto;
        width: 100px;
        height: 100px;
        border-radius: 50px;
    }
    
    .main-artwork-node {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        position: static;
        /* transform: none; */
    }

    #node-1 { grid-column: 1 / -1; justify-self: center; }
  #node-2 { grid-column: 1; }
  #node-3 { grid-column: 2; }

    
    /* Hide connection lines on stacked layout */
    .connection-svg {
        display: none;
    }
    
    /* Simple grid for very small screens */
    
    
    .main-artwork-node {
        grid-column: 1 / -1; /* Span full width */
        justify-self: center;
    }
}




/* ============================================================================
   HERO LAYOUT IMPROVEMENTS FOR MOBILE
   ============================================================================ */

@media (max-width: 768px) {
    .hero-layout {
        gap: 30px;
        margin-bottom: 80px; /* Reduce bottom margin */
        padding: 0 20px; /* Add horizontal padding */
    }
    
    /* .hero-content {
        max-width: 100%;
        padding: 1rem; 
        margin-top: 0;
        margin-bottom: 40px;  
    } */
}

@media (max-width: 480px) {
    .hero-layout {
        gap: 20px;
        margin-bottom: 60px;
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0.5rem;
        margin-bottom: 30px;
    }
}

/* ============================================================================
   CYCLE INDICATOR MOBILE IMPROVEMENTS
   ============================================================================ */

@media (max-width: 570px) {
    .cycle-indicator {
        bottom: -40px; /* Bring closer to constellation */
        gap: 6px;
    }
    
    .cycle-dot {
        width: 6px;
        height: 6px;
    }
    
    .cycle-dot.active {
        transform: scale(1.1); /* Less dramatic scaling */
    }
}

@media (max-width: 400px) {
    .cycle-indicator {
        bottom: -30px;
        gap: 4px;
    }
    
    .cycle-dot {
        width: 5px;
        height: 5px;
    }
}

/* For the stack layout */
@media (max-width: 320px) {
    .cycle-indicator {
        position: static;
        margin-top: 20px;
        justify-content: center;
    }
}


/* 📱 Landscape Mode Adjustments for Phones */
@media screen and (orientation: landscape) and (max-width: 768px) {
    .constellation-container {
      width: 80vw;
      height: 60vh;   /* reduce height so it fits on screen */
      margin: 10px auto;
    }
  
    .main-artwork-node {
      width: 110px;
      height: 110px;
      border-radius: 55px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  
    .artwork-node {
      width: 85px;
      height: 85px;
      border-radius: 42.5px;
    }
  
    /* Reposition nodes for landscape balance */
    #node-1 { top: 6%; left: 50%; transform: translateX(-50%); }
    #node-2 { top: 20%; right: 18%; }
    #node-3 { top: 20%; left: 18%; }
    #node-4 { display: none; } /* hide extra node for less clutter */
  }
  

/* Gallery Responsive */
/* ============================================================================
   RESPONSIVE DESIGN - CLEANED & ORGANIZED
   ============================================================================ */

/* Large Desktop to Tablet - 1200px and below */
@media (max-width: 1200px) {
    .lightbox-content {
        flex-direction: column;
        max-width: 95%;
        gap: 30px;
        padding: 40px;
    }
    
    .lightbox-image {
        width: 500px;
        height: 500px;
    }
    
    .lightbox-info {
        max-width: 500px;
        text-align: center;
    }
}

/* Large Tablet - 1150px and below */
@media (max-width: 1150px) {
    .gallery-grid,
    .additional-works {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
        margin: 0 auto 60px;
    }
    
    .artwork-item {
        height: 280px;
    }
    
    .gallery-section {
        padding: 60px 20px 80px;
        text-align: center;
    }
}

/* Medium Tablet - 868px and below */
@media (max-width: 868px) {
    .gallery-grid,
    .additional-works {
        gap: 20px; /* Reduce gap from 45px */
    }
    
    .gallery-section {
        padding: 60px 20px 80px; /* Consistent with above */
    }
}

/* Standard Mobile/Tablet - 768px and below */
@media (max-width: 768px) {
    /* Gallery Layout */
    .gallery-grid,
    .additional-works {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .artwork-item {
        height: 280px;
    }
    
    /* General Layout */
    .hero {
        padding: 40px 20px;
    }
    
    .gallery-section {
        padding: 60px 20px 80px;
    }
    
    /* Header */
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* Floating Elements */
    .floating-image {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Lightbox Mobile Layout */
    .lightbox-content {
        flex-direction: column;
        max-width: 95vw;
        max-height: 95vh;
        gap: 15px;
        padding: 20px 15px 15px;
        margin: auto;
        overflow: hidden;
        display: flex;
        justify-content: flex-start;
    }
    
    .lightbox-image {
        width: min(280px, 80vw);
        height: min(280px, 80vw);
        flex-shrink: 0;
    }
    
    .lightbox-info {
        max-width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
    }
    
    /* Scrollable content area */
    .lightbox-content-scroll {
        flex: 1;
        overflow-y: auto;
        margin-bottom: 10px;
        padding-right: 5px;
    }
    
    /* Navigation always at bottom */
    .lightbox-nav {
        flex-shrink: 0;
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid #333;
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
    }
    
    .lightbox-btn {
        flex: 1;
        padding: 12px 15px;
        font-size: 12px;
        max-width: 120px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .lightbox-btn:hover,
    .lightbox-btn:focus {
        background: rgba(255, 255, 255, 0.2);
        border-color: #999;
    }
    
    /* Lightbox Typography */
    .lightbox-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .lightbox-year,
    .lightbox-medium,
    .lightbox-size {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .lightbox-description {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
        overflow-wrap: break-word;
    }
    
    /* Close Button */
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        border: 1px solid #333;
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    /* Gallery Layout */
    .gallery-grid,
    .additional-works {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    
    .artwork-item {
        height: 300px;
    }
    
    /* Lightbox Compact */
    .lightbox-content {
        max-height: 98vh;
        padding: 15px 10px 10px;
        gap: 10px;
    }
    
    .lightbox-image {
        width: min(250px, 75vw);
        height: min(250px, 75vw);
    }
    
    .lightbox-info {
        max-width: 100%; /* Remove fixed width */
    }
    
    .lightbox-title {
        font-size: 1.1rem !important;
        margin-bottom: 8px;
    }
    
    .lightbox-year,
    .lightbox-medium,
    .lightbox-size {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .lightbox-description {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .lightbox-nav {
        padding-top: 10px;
        gap: 10px;
    }
    
    .lightbox-btn {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .lightbox-close {
        top: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Very Small Mobile - 360px and below */
@media (max-width: 360px) {
    .lightbox-content {
        max-height: 99vh;
        padding: 12px 8px 8px;
    }
    
    .lightbox-image {
        width: min(220px, 70vw);
        height: min(220px, 70vw);
    }
    
    .lightbox-nav {
        flex-direction: column; /* Stack buttons vertically */
        gap: 8px;
    }
    
    .lightbox-btn {
        max-width: none;
        padding: 8px 10px;
    }
}

/* Landscape Mobile - 768px and below in landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .lightbox-content {
        flex-direction: row; /* Side by side layout */
        max-height: 95vh;
        gap: 20px;
        padding: 15px;
    }
    
    .lightbox-image {
        width: min(240px, 40vw);
        height: min(240px, 60vh);
    }
    
    .lightbox-info {
        flex: 1;
        max-height: calc(95vh - 30px);
        overflow-y: auto;
    }
    
    .lightbox-nav {
        flex-direction: row;
        gap: 10px;
    }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-overflow-scrolling: touch) {
    @media (max-width: 768px) {
        .lightbox-content {
            max-height: calc(100vh - 20px); /* Account for iOS viewport quirks */
            min-height: 0;
        }
        
        .lightbox-info {
            -webkit-overflow-scrolling: touch;
        }
        
        .lightbox {
            position: fixed;
            -webkit-overflow-scrolling: auto; /* Prevent rubber band scrolling */
        }
    }
}

/* Content Panel Responsive */
/* ============================================================================
   CONSCIOUSNESS MAP - OPTIMIZED RESPONSIVE STYLES
   ============================================================================ */

/* Large Mobile & Tablet - 768px and below */
@media (max-width: 768px) {
    /* Consciousness Zones - Mobile Optimizations */
    .consciousness-zone {
        width: 100px;
        height: 100px;
        border-width: 2px;
        /* iOS touch optimizations */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .consciousness-zone:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
    
    .zone-label {
        font-size: 0.8rem;
        line-height: 1.2;
        padding: 0 8px;
    }
    
    /* Content Panel - Mobile Layout */
    .content-panel {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        padding: 3.5rem 1.5rem 1.5rem;
        border-radius: 10px;
        transform: translate(-50%, -50%) scale(0.8) translateZ(0);
    }
    
    .content-panel.active {
        transform: translate(-50%, -50%) scale(1) translateZ(0);
    }
    
    .content-panel .close-btn {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }
    
    /* Panel Content - Mobile Typography */
    .content-panel h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        padding-top: 0.5rem;
        border-bottom: 1px solid #333;
        padding-bottom: 0.5rem;
    }
    
    .content-panel p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Timeline Elements - Mobile */
    .timeline-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #444;
    }
    
    .timeline-year {
        background: linear-gradient(45deg, #333, #444);
        display: inline-block;
        padding: 4px 12px;
        border-radius: 4px;
        margin-bottom: 8px;
        font-size: 12px;
    }
    
    .timeline-content {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* iOS Safari viewport fixes */
    .map-container {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
    
    /* Prevent iOS rubber band scrolling when panel is open */
    body.panel-open .map-container,
    body.panel-open .consciousness-zone {
        touch-action: none !important;
    }
}

/* Small Mobile - 600px and below */
@media (max-width: 600px) {
    /* Alternative Layout for Very Small Screens */
    .map-container {
        height: auto;
        min-height: 400px;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .consciousness-zone {
        position: static !important;
        transform: none !important;
        margin: 0.5rem 0;
        width: 120px;
        height: 120px;
    }
    
    .consciousness-zone:active {
        transform: scale(0.95) !important;
    }
    
    .zone-label {
        font-size: 0.9rem;
    }
    
    /* Override absolute positioning for stacked layout */
    .zone-bio,
    .zone-education,
    .zone-exhibitions,
    .zone-experience,
    .zone-collaboration {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}

/* Extra Small Mobile - 480px and below */
@media (max-width: 480px) {
    /* Content Panel - Compact Mobile */
    .content-panel {
        width: 98%;
        padding: 3.5rem 1rem 1rem;
    }
    
    .content-panel .close-btn {
        top: 8px;
        right: 8px;
        font-size: 1.4rem;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .content-panel h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .content-panel p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Zones - Smaller for tiny screens */
    .consciousness-zone {
        width: 100px;
        height: 100px;
    }
    
    .zone-label {
        font-size: 0.75rem;
    }
    
    .map-container {
        padding: 1.5rem 0.5rem;
        gap: 0.75rem;
    }
}

/* Ultra Small - 360px and below */
@media (max-width: 360px) {
    .consciousness-zone {
        width: 90px;
        height: 90px;
    }
    
    .zone-label {
        font-size: 0.7rem;
        padding: 0 4px;
    }
    
    .content-panel {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        padding: 3rem 0.75rem 0.75rem;
    }
    
    .content-panel .close-btn {
        top: 5px;
        right: 5px;
    }
    
    .map-container {
        border-radius: 10px;
        padding: 1rem 0.25rem;
    }
}
/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-method {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin: 1rem auto 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-info {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-method h3 {
        font-size: 1rem;
    }
    
    .social-grid {
        max-width: 200px;
    }
}




/* Blog Section Responsive */
/* Desktop Artwork Layout */
@media (min-width: 900px) {
    .post-image {
        display: block !important;
        width: 100% !important;
        max-width: 780px !important;
        height: 780px !important;
        margin: 0 auto !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 8px 8px 0 0 !important;
        position: relative;
        overflow: hidden;
    }

    .artwork-showcase {
        max-width: 100%;
        padding: 25px 30px;
    }
    
    .artwork-title {
        font-size: 1.2rem;
    }
    
    .artwork-info {
        font-size: 13px;
    }
    
    .artwork-note {
        font-size: 13px;
        padding-left: 15px;
    }

    .post-content {
        padding: 40px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 30px 20px ;
    }
    .blog-post.has-artwork {
        grid-template-columns: 1fr;
    }
    
    .post-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        align-items: start;
    }
    
    .artwork-showcase {
        padding: 40px;
        background: rgba(15, 15, 15, 0.9);
        border-right: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .artwork-image {
        width: 100%;
        aspect-ratio: 1;
        background-size: cover;
        background-position: center;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        transition: all 0.4s ease;
        /* filter: grayscale(90%) contrast(1.1); */
        position: relative;
        display: none !important;
    }
    
    .artwork-image:hover {
        filter: grayscale(70%) contrast(1.2);
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }
    
    .artwork-image:hover::after {
        content: '🔍 view larger';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: #fff;
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 3px;
        opacity: 0.9;
    }
    
    .artwork-details {
        text-align: left;
    }
    
    .artwork-title {
        color: #fff;
        font-size: 1.1rem;
        margin-bottom: 8px;
        text-transform: lowercase;
        letter-spacing: 1px;
    }
    
    .artwork-info {
        color: var(--text-secondary);
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 5px;
    }
    
    .artwork-medium {
        color: #999;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .artwork-note {
        color: #e0e0e0;
        font-size: 12px;
        font-style: italic;
        line-height: 1.4;
        border-left: 2px solid var(--border-color);
        padding-left: 12px;
    }
    
   
}

/* end of media query 900px */





@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .blog-section,
    .about-section,
    .newsletter-section {
        padding: 60px 20px;
    }
    
    .post-image {
        display: block !important;
        width: 100% !important;
        height: 500px !important;
        margin: 0 auto !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 8px 8px 0 0 !important;
        position: relative;
        overflow: hidden;
    }
    
    .post-layout {
        grid-template-columns: 1fr !important;
    }
    
    .artwork-showcase {
        display: block !important;
        width: 100%;
        padding: 25px 30px;
        background: rgba(15, 15, 15, 0.7);
        border-bottom: 1px solid #333;
    }
    .artwork-details {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .artwork-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .artwork-info {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .artwork-medium {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    .post-content {
        padding: 35px 25px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}





@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-submit {
        padding: 15px;
        font-size: 14px;
    }
}

/* General Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 40px;
    }
    
    .threshold-cta {
        flex-direction: column;
        gap: 20px;
    }
    
    .reflection-preview {
        padding: 60px 20px;
    }
    
    .reflection-entry {
        padding: 30px 20px;
    }
    
    .portal-section {
        padding: 60px 20px;
    }
    
    .portal-link {
        padding: 18px 35px;
        font-size: 14px;
    }
}



@media (max-width: 600px) {
    .post-image {
        display: block !important;
        width: 100% !important;
        height: 400px !important;
        margin: 0 auto !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .artwork-showcase {
        display: block !important;
        width: 100%;
        padding: 20px 25px;
        background: rgba(15, 15, 15, 0.7);
        border-bottom: 1px solid #333;
        text-align: center;
    }

    .artwork-details {
        text-align: center;
        max-width: 100%;
    }

    .artwork-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        color: #fff;
        text-transform: lowercase;
        letter-spacing: 1px;
        font-weight: 300;
        line-height: 1.3;
    }
    
    .artwork-info {
        color: #bbb;
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .artwork-medium {
        color: #999;
        font-size: 11px;
        text-transform: lowercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
        font-style: italic;
    }
    
    .artwork-note {
        color: #ccc;
        font-size: 12px;
        font-style: italic;
        line-height: 1.6;
        border-left: 3px solid #4A90B8;
        padding-left: 12px;
        margin: 15px 0;
        position: relative;
    }
    .artwork-note::before {
        content: '"';
        position: absolute;
        left: -8px;
        top: -5px;
        font-size: 18px;
        color: #4A90B8;
        opacity: 0.7;
    }

    .artwork-note::after {
        content: '"';
        position: absolute;
        right: 10px;
        bottom: -8px;
        font-size: 18px;
        color: #4A90B8;
        opacity: 0.7;
    }
    
 
    .post-content {
        padding: 25px 20px;
    }
    .post-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 400px) {
    .post-image {
        display: block !important;
        width: 100% !important;
        height: 350px !important;
        margin: 0 auto !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 6px 6px 0 0 !important;
    }
      
    .artwork-showcase {
        display: block !important;
        width: 100%;
        padding: 20px 20px;
        background: rgba(15, 15, 15, 0.7);
        border-bottom: 1px solid #333;
        text-align: left;
    }
    .artwork-title {
        font-size: 1.1rem;
        margin-bottom: 12px
    }
    
    .artwork-info {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .artwork-medium {
        font-size: 11px;
        margin-bottom: 15px;
    }
    

    .artwork-note {
        font-size: 18px;
        padding-left: 12px;
        border-left-width: 2px;
    }
   
    .post-content {
        padding: 20px 15px;
    }
}


@media (max-width: 399px) {
    .post-image {
        display: block !important;
        width: 100% !important;
        height: 300px !important;
        margin: 0 auto !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 4px 4px 0 0 !important;
    }

    .artwork-showcase {
        display: block !important;
        width: 100%;
        padding: 15px 15px;
        background: rgba(15, 15, 15, 0.7);
        border-bottom: 1px solid #333;
    }

    .artwork-title {
        font-size: 1rem;
    }

    .artwork-info {
        font-size: 11px;
    }

    .artwork-note {
        font-size: 11px;
        padding-left: 10px;
    }

    .post-content {
        padding: 20px 15px;
    }
}


/* CV Button Responsive */
@media (max-width: 768px) {
    .zone-cv-btn {
        padding: 14px 24px;
        font-size: 12px;
        gap: 8px;
    }
    
    .zone-cv-btn:hover {
        transform: scale(1.03);
    }
    
    .zone-cv-btn:active {
        transform: scale(1.05);
    }
    
    .download-icon {
        font-size: 13px;
    }
    
    .cv-download-zone {
        padding: 1.5rem 0 0.5rem;
    }
}

/* ============================================================================
   MOBILE TEXT SPACING FIX
   ============================================================================ */

@media (max-width: 768px) {
    /* Fix paragraph spacing issues */
    p, 
    .hero-description,
    .section-intro,
    .news-item p,
    .reflection-entry p,
    .post-excerpt,
    .post-full-content p,
    .about-section p,
    .footer-section p {
        text-align: left !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        line-height: 1.6 !important;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens:auto;
        text-justify: none !important; 
         font-size: 16px !important;
        margin-bottom: 1.2em !important; 
    }
    
    /* Specific fixes for common problem areas */
    .hero-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
        width: 100%;
        height:auto;
        min-height: auto;
        max-width: 100% !important;
        padding: 0 10px !important;
         margin: 0 auto 2rem !important; 
    }

       /* Fix section intro text */
       .section-intro {
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-align: left !important;
        max-width: 100% !important;
    }
    
    /* Fix any justified text containers */
    .container,
    /* .hero-content, */
    .main,
    .section {
        text-align: left !important;
    }
    .news-grid {
        grid-template-columns: 1fr;  /* Single column on mobile */
        gap: 30px;  /* Reduce gap */
        padding: 0 20px;  /* Add padding to prevent edge bleeding */
      }
      
      .news-item {
        margin: 0 auto;
        max-width: 100%;
      }

    /* Ensure proper text container widths */
    .news-item,
    .reflection-entry,
    .blog-post {
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    /* Fix navigation text */
    .nav a,
    .mobile-nav a {
        word-spacing: normal !important;
        letter-spacing: 1px !important;
    }
    
    /* Fix footer text */
    .footer {
        text-align: left !important;
    }
    
    .footer-section {
        text-align: left !important;
    }
    
    .footer-section p,
    .copyright-text,
    .designer-credit {
        text-align: left !important;
        word-spacing: normal !important;
    }
    
    /* Fix any stretched text issues */
    h1, h2, h3, h4, h5, h6 {
        word-spacing: normal !important;
        letter-spacing: normal !important;
        text-align: left !important;
    }
    
    /* Specific title fixes */
    .hero-title {
        text-align: left !important;
        word-spacing: normal !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        text-align: left !important;
        word-spacing: normal !important;
    }
    
    /* Fix any card or content blocks */
    .artwork-item,
    .news-item,
    .reflection-entry {
        text-align: left !important;
    }
    
    /* Reset any problematic typography utilities */
    .text-center {
        text-align: center !important;
    }
    
    .text-right {
        text-align: right !important;
    }
    
    /* Ensure body text is never justified on mobile */
    body {
        text-align: left !important;
        word-spacing: normal !important;
    }
    
    /* Fix any remaining text containers */
    div, span, article, section {
        word-spacing: normal !important;
    }
    body { color: #e8e8e8 !important; }
    p { color: #e0e0e0 !important; font-size: 16px !important; }
    .hero-description { color: #d8d8d8 !important; font-size: 17px !important; }
    h1, h2, h3 { color: #ffffff !important; }

}

/* Additional mobile typography improvements */
@media (max-width: 480px) {
    /* Extra small mobile devices */
    p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 1.2em !important;
    }
    
    /* Prevent text from being too cramped */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Ensure readable font sizes */
    .hero-description {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }
    
    /* Fix any problematic headings */
    h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
    
    h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }
}

/* For very narrow screens */
@media (max-width: 360px) {
    /* Ultra-narrow mobile screens */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    p, .hero-description {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
}

/* Disable any CSS that might cause spacing issues */
@media (max-width: 768px) {
    * {
        text-justify: none !important;
    }
}

/* ============================================================================
   ACCESSIBILITY & REDUCED MOTION
   ============================================================================ */

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .character-counter {
        transition: none;
    }
    
    .zone-cv-btn,
    .zone-cv-btn::before,
    .zone-cv-btn::after,
    .download-icon,
    .file-details {
        transition: none !important;
    }
    
    .zone-cv-btn:hover,
    .zone-cv-btn:active {
        transform: none;
    }
}

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

.content-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.content-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.content-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Firefox scrollbar */
.content-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

/* Better focus states for mobile accessibility */
.consciousness-zone:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

.content-panel .close-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* Prevent body scroll when panel is open on mobile */
@media (max-width: 768px) {
    body.panel-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}
/* 
 ============================================================================
   END OF STYLES
   ============================================================================*/