/* Custom CSS Design System - Agathe Sorel Website Archive (Gallery Paper Theme) */

:root {
    /* Color Palette - Gallery Paper & Etched Ink */
    --bg-color: #F7F5F0;      /* Heavyweight acid-free rag paper stock */
    --bg-light: #FCFCFC;      /* Gallery wall bright white */
    --card-bg: rgba(255, 255, 255, 0.65); /* Translucent glass overlays */
    --card-bg-solid: #FFFFFF;
    --border-color: rgba(26, 26, 26, 0.12); /* Ultra-fine drypoint lines */
    --border-hover: rgba(26, 26, 26, 0.35); /* Engraving burin track */
    --border-glow: rgba(180, 83, 9, 0.3);
    
    --text-main: #1A1A1A;     /* Rich etching charcoal black */
    --text-muted: #5A5A62;    /* Dark gray print ink */
    --text-dark: #FFFFFF;     /* Reverse text (paper white) */
    
    --accent-ochre: #B45309;  /* Volcanic Ochre - Lanzarote Landscape */
    --accent-ochre-rgb: 180, 83, 9;
    --accent-gold: #854D0E;   /* Terracotta gold - Studio Highlight */
    --accent-gold-rgb: 133, 77, 14;
    --glow-color: rgba(180, 83, 9, 0.08);
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Layout Tokens */
    --header-height: 80px;
    --transition-speed: 0.3s;
    --border-radius: 4px; /* Crisp, architectural corners instead of rounded bubbles */
    --border-radius-sm: 2px;
    --max-width: 1300px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.65;
    font-weight: 300; /* Inter light weight */
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(26, 26, 26, 0.15);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-ochre);
}

/* Engraving Grid Background (Subtle lines mapping perspex engravings) */
.engraving-bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.07;
    background: 
        repeating-linear-gradient(55deg, var(--text-main) 0px, var(--text-main) 0.5px, transparent 0.5px, transparent 80px),
        repeating-linear-gradient(-35deg, var(--text-main) 0px, var(--text-main) 0.5px, transparent 0.5px, transparent 120px);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--text-main);
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

a {
    color: var(--accent-ochre);
    text-decoration: none;
    transition: all var(--transition-speed);
}

a:hover {
    color: var(--accent-gold);
    border-bottom: 0.5px solid var(--accent-gold);
}

button {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: all var(--transition-speed) ease;
}

/* Fine-line Dividers */
.divider-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 40px 0;
}

/* Button UI Elements */
.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-light);
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    border: 0.5px solid var(--text-main);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    border: 0.5px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(26, 26, 26, 0.02);
}

.w-100 { width: 100%; }
.d-block { display: block; }
.text-center { text-align: center; }

/* Header and Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(247, 245, 240, 0.85); /* paper tone with transparency */
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(26, 26, 26, 0.15);
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.logo-subtitle {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.38em;
    color: var(--accent-ochre);
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    height: 100%;
}

.nav-tab-btn {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    height: 100%;
    position: relative;
    padding: 0 2px;
}

.nav-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-ochre);
    transform: scaleX(0);
    transition: transform var(--transition-speed);
}

.nav-tab-btn:hover {
    color: var(--text-main);
}

.nav-tab-btn.active {
    color: var(--text-main);
    font-weight: 500;
}

.nav-tab-btn.active::after {
    transform: scaleX(1);
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 15px;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 1px;
    background-color: var(--text-main);
    transition: all var(--transition-speed) ease;
}

/* Mobile nav drawer */
.mobile-drawer {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(247, 245, 240, 0.96);
    backdrop-filter: blur(15px);
    z-index: 99;
    padding: 30px;
    transition: right var(--transition-speed) ease;
    border-left: 0.5px solid rgba(26, 26, 26, 0.15);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-tab-btn {
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: left;
    padding: 8px 0;
    border-bottom: 0.5px solid rgba(26, 26, 26, 0.1);
}

.mobile-tab-btn.active {
    color: var(--accent-ochre);
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    margin-top: var(--header-height);
    position: relative;
    z-index: 5;
    padding: 0;
}

.tab-content {
    display: none;
    animation: fadeEffect 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Translucent Glass Layering (Space Engraving theme) */
.glassmorphic {
    background: var(--card-bg);
    border: 0.5px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.glassmorphic:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.05);
}

/* ==========================================================================
   TAB: ARTISTIC JOURNEY (HOME)
   ========================================================================== */

.hero-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 30px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    min-height: 75vh;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-ochre);
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.12;
    margin-bottom: 25px;
    font-family: var(--font-serif);
}

.hero-desc {
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 540px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 440px;
}

/* Sculpture Mockup Style in Light Mode */
.sculpture-prism {
    position: relative;
    width: 290px;
    height: 360px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.01) 0%, rgba(26, 26, 26, 0.03) 100%);
    border: 0.5px solid var(--border-hover);
    transform: rotateY(-10deg) rotateX(10deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sculpture-prism:hover {
    transform: rotateY(-2deg) rotateX(5deg);
}

.prism-face {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 0.5px dashed rgba(180, 83, 9, 0.4);
    pointer-events: none;
}

.prism-face.back {
    top: 10px;
    left: 10px;
    border: 0.5px solid rgba(26, 26, 26, 0.08);
}

.prism-glow {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.05) 0%, transparent 70%);
    filter: blur(15px);
}

.prism-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.prism-caption p {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ochre);
}

/* Asymmetrical Layouts */
.asymmetric-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 30px;
}

.asymmetric-row.reverse {
    grid-template-columns: 1.1fr 1fr;
}

.asymmetric-text {
    padding: 40px 0;
}

.asymmetric-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.asymmetric-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.asymmetric-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.asymmetric-image img {
    max-width: 100%;
    height: auto;
    border: 0.5px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Archival Highlights */
.highlights-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 30px;
    border-top: 0.5px solid rgba(26, 26, 26, 0.15);
}

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-ochre);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-family: var(--font-serif);
}

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

.highlight-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.highlight-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.5px solid var(--border-color);
}

.highlight-image-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.highlight-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.highlight-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.highlight-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.highlight-specs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   TAB: ARTISTIC JOURNEY / TIMELINE
   ========================================================================== */

.journey-timeline-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 30px;
    border-top: 0.5px solid rgba(26, 26, 26, 0.15);
}

.journey-timeline-vertical {
    position: relative;
    padding: 40px 0;
}

/* Vertical drypoint cut divider */
.journey-timeline-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26,26,26,0.15) 10%, rgba(26,26,26,0.15) 90%, transparent);
}

.timeline-node {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 90px;
    position: relative;
}

.timeline-node:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-images-container {
    width: 47%;
    background: var(--card-bg);
    border: 0.5px solid var(--border-color);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
    transition: border-color var(--transition-speed);
}

.timeline-images-container:hover {
    border-color: var(--border-hover);
}

.timeline-content {
    width: 47%;
    background: var(--card-bg);
    border: 0.5px solid var(--border-color);
    padding: 35px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    transition: border-color var(--transition-speed);
}

.timeline-content:hover {
    border-color: var(--border-hover);
}

.timeline-content-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 0.5px solid rgba(26,26,26,0.08);
    padding-bottom: 10px;
}

.timeline-date-inline {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--accent-ochre);
    font-weight: 500;
}

.timeline-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: rgba(26, 26, 26, 0.02);
    border: 0.5px solid var(--border-color);
    border-radius: calc(var(--border-radius) - 6px);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.timeline-img:hover {
    transform: scale(1.04);
}

.timeline-image-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.timeline-phase-indicator {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.timeline-content .source-book {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-style: italic;
    color: var(--text-muted);
    border-top: 0.5px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
    display: block;
}

/* Image reference placeholder inside timeline */
.timeline-media-reference {
    background-color: rgba(26, 26, 26, 0.02);
    border: 0.5px dashed var(--border-color);
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.timeline-media-reference span {
    font-family: var(--font-sans);
    font-weight: 500;
}

/* Mentor callouts */
.timeline-mentor-callout {
    border-left: 2px solid var(--accent-ochre);
    padding-left: 15px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-mentor-callout strong {
    color: var(--text-main);
    font-weight: 500;
}

/* Small Ochre Timeline Dot */
.timeline-node::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-ochre);
    border: 1px solid var(--bg-color);
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.12);
    z-index: 5;
}

/* ==========================================================================
   TAB: ARCHIVE & GALLERY
   ========================================================================== */

.archive-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* Sidebar filter */
.archive-sidebar {
    background: var(--bg-light);
    border: 0.5px solid var(--border-color);
    padding: 25px;
    border-radius: var(--border-radius);
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 0.5px solid var(--border-color);
    padding-bottom: 12px;
}

.sidebar-header h3 {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-family: var(--font-sans);
    font-weight: 500;
}

.clear-filters-btn {
    font-size: 0.78rem;
    color: var(--accent-ochre);
}

.clear-filters-btn:hover {
    color: var(--accent-gold);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.filter-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 500;
}

.search-field, .select-field {
    width: 100%;
    background-color: var(--bg-color);
    border: 0.5px solid var(--border-color);
    color: var(--text-main);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--transition-speed);
}

.search-field:focus, .select-field:focus {
    border-color: var(--accent-ochre);
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 5px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.filter-checkbox-label input {
    accent-color: var(--accent-ochre);
    width: 14px;
    height: 14px;
}

.filter-checkbox-label:hover {
    color: var(--text-main);
}

.filter-checkbox-label input:checked + span {
    color: var(--text-main);
}

/* Gallery layout */
.archive-main {
    display: flex;
    flex-direction: column;
}

.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    min-height: 30px;
}

.results-counter {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.results-counter span {
    color: var(--text-main);
    font-weight: 500;
}

.active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tag {
    background-color: var(--bg-light);
    border: 0.5px solid var(--border-color);
    padding: 3px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.filter-tag button {
    font-size: 0.95rem;
    line-height: 1;
    color: var(--text-muted);
}

.filter-tag button:hover {
    color: var(--accent-ochre);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.gallery-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Artwork Grid Card */
.art-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.art-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: rgba(26, 26, 26, 0.01);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.5px solid var(--border-color);
}

.art-card-image-wrapper img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}

.art-card:hover .art-card-image-wrapper img {
    transform: scale(1.03);
}

/* Image fallback styling - glass engraving style */
.art-image-fallback {
    width: 80%;
    height: 80%;
    border: 0.5px dashed var(--border-hover);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.01) 0%, rgba(26, 26, 26, 0.03) 100%);
    text-align: center;
}

.fallback-icon {
    font-size: 1.8rem;
    color: var(--accent-ochre);
    margin-bottom: 10px;
    opacity: 0.7;
}

.art-image-fallback p {
    font-size: 0.8rem;
    font-family: var(--font-serif);
    color: var(--text-main);
}

.art-image-fallback small {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.art-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.art-card-meta {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.art-card-title {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.9rem;
    color: var(--text-main);
}

.art-card-specs {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.art-card-actions {
    display: flex;
    gap: 8px;
    border-top: 0.5px solid var(--border-color);
    padding-top: 12px;
}

.art-card-btn-view {
    flex-grow: 1;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 10px;
    border: 0.5px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.art-card-btn-view:hover {
    background-color: var(--text-main);
    color: var(--bg-light);
}

.art-card-btn-inquire {
    font-size: 0.75rem;
    padding: 6px 10px;
    border: 0.5px solid var(--accent-ochre);
    color: var(--accent-ochre);
    border-radius: var(--border-radius-sm);
}

.art-card-btn-inquire:hover {
    background-color: var(--accent-ochre);
    color: var(--bg-light);
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.15);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 50px;
}

.pg-btn {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 0.82rem;
}

.pg-btn:hover {
    color: var(--text-main);
    border-color: var(--text-main);
}

.pg-btn.active {
    color: var(--bg-light);
    background-color: var(--text-main);
    border-color: var(--text-main);
    font-weight: 500;
}

.pg-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.pg-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 6px;
}

/* ==========================================================================
   TAB: CURATORIAL HUB
   ========================================================================== */

.curatorial-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 30px;
}

.curatorial-hero {
    margin-bottom: 60px;
    max-width: 800px;
}

.curatorial-tag {
    font-size: 0.78rem;
    color: var(--accent-ochre);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 12px;
}

.curatorial-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.curatorial-hero p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.curatorial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.curatorial-col h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-bottom: 0.5px solid var(--border-color);
    padding-bottom: 12px;
}

/* Collection Tabs */
.collections-tabs-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 0.5px solid var(--border-color);
}

.collections-tab-btn {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.collections-tab-btn.active {
    color: var(--text-main);
    border-bottom-color: var(--accent-ochre);
    font-weight: 500;
}

.collections-tab-pane {
    display: none;
}

.collections-tab-pane.active {
    display: block;
}

.institutions-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    list-style: none;
}

.institutions-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
}

.institutions-list li strong {
    color: var(--text-main);
    font-weight: 400;
}

/* Curatorial Cards */
.curatorial-card {
    padding: 35px;
}

.curatorial-card p {
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.curatorial-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.form-group label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.curatorial-form input[type="text"],
.curatorial-form input[type="email"],
.curatorial-form textarea,
.curatorial-form select {
    background-color: var(--bg-light);
    border: 0.5px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: all var(--transition-speed);
}

.curatorial-form input:focus,
.curatorial-form textarea:focus,
.curatorial-form select:focus {
    border-color: var(--accent-ochre);
    box-shadow: 0 0 8px rgba(180, 83, 9, 0.08);
}

/* ==========================================================================
   TAB: BIOGRAPHY
   ========================================================================== */

.biography-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 30px;
}

.bio-intro-block {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.bio-portrait {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 0.5px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.bio-tag {
    font-size: 0.78rem;
    color: var(--accent-ochre);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 10px;
}

.bio-intro-text h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.bio-highlight {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 2px solid var(--accent-ochre);
    padding-left: 15px;
}

.bio-intro-text p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.bio-columns {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
}

.bio-left-col h2, .bio-right-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 0.5px solid var(--border-color);
    padding-bottom: 10px;
}

.chronology-table {
    display: flex;
    flex-direction: column;
}

.chrono-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 0.5px solid var(--border-color);
}

.chrono-row:last-child {
    border-bottom: none;
}

.chrono-year {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--accent-ochre);
    font-weight: 500;
}

.chrono-event {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bio-card {
    padding: 25px;
    margin-bottom: 30px;
}

.bio-card p {
    font-size: 0.88rem;
    margin-bottom: 20px;
}

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

.bullet-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

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

/* ==========================================================================
   TAB: PRESS ROOM (NEW)
   ========================================================================== */

.press-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 30px;
}

.press-hero {
    margin-bottom: 60px;
    max-width: 800px;
}

.press-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.press-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.press-col h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-bottom: 0.5px solid var(--border-color);
    padding-bottom: 12px;
}

.press-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 0.5px solid var(--border-color);
}

.press-download-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.press-download-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.btn-download {
    font-size: 0.8rem;
    padding: 6px 12px;
    border: 0.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
}

.btn-download:hover {
    background-color: var(--text-main);
    color: var(--bg-light);
}

.curator-portal-card {
    padding: 30px;
}

.curator-portal-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.curator-portal-card p {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Press Room External References */
.press-references-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 0.5px solid var(--border-color);
}

.press-references-section h2 {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    margin-bottom: 8px;
}

.press-references-section p.references-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

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

.reference-card {
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--card-bg-solid);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-ochre);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.05);
}

.reference-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.reference-card h3 a {
    color: var(--accent-ochre);
    text-decoration: none;
    transition: color 0.3s ease;
}

.reference-card h3 a:hover {
    color: var(--text-main);
}

.reference-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

/* ==========================================================================
   MODAL LIGHTBOXES
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(247, 245, 240, 0.7); /* translucent light background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-light);
    border: 0.5px solid var(--border-hover);
    border-radius: var(--border-radius);
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: scale(0.97);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    line-height: 0.5;
    color: var(--text-muted);
    z-index: 10;
}

.modal-close-btn:hover {
    color: var(--text-main);
}

/* Lightbox layouts */
.lightbox-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 500px;
}

.lightbox-image-wrapper {
    background-color: rgba(26, 26, 26, 0.01);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 0.5px solid var(--border-color);
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
}

.lightbox-details-panel {
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.lightbox-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-ochre);
    margin-bottom: 8px;
}

.lightbox-title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.metadata-table {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border-top: 0.5px solid var(--border-color);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 0.5px solid var(--border-color);
    font-size: 0.85rem;
}

.meta-row strong {
    font-weight: 500;
    color: var(--text-muted);
}

.meta-row span {
    color: var(--text-main);
    text-align: right;
    max-width: 220px;
}

.lightbox-quote-container {
    flex-grow: 1;
    margin-bottom: 25px;
    overflow-y: auto;
    max-height: 320px;
    padding-right: 10px;
}

.lightbox-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-main);
    border-left: 2px solid var(--accent-ochre);
    padding-left: 20px;
    margin: 0;
}

/* Inquiry form overlay modal (Material Metaphor) */
.form-card {
    max-width: 580px;
    padding: 35px;
}

.form-card h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-card p {
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.inquiry-artwork-preview {
    display: flex;
    gap: 15px;
    align-items: center;
    background-color: var(--bg-color);
    border: 0.5px solid var(--border-color);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
}

.inquiry-artwork-preview img {
    height: 60px;
    width: 50px;
    object-fit: contain;
}

.preview-text h3 {
    font-size: 0.98rem;
    font-family: var(--font-serif);
    margin-bottom: 2px;
}

.preview-text p {
    font-size: 0.75rem;
    color: var(--accent-ochre);
    margin-bottom: 0;
}

#artwork-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#artwork-inquiry-form label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

#artwork-inquiry-form input[type="text"],
#artwork-inquiry-form input[type="email"],
#artwork-inquiry-form textarea,
#artwork-inquiry-form select {
    background-color: var(--bg-light);
    border: 0.5px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: all var(--transition-speed);
}

#artwork-inquiry-form input:focus,
#artwork-inquiry-form textarea:focus,
#artwork-inquiry-form select:focus {
    border-color: var(--accent-ochre);
    box-shadow: 0 0 8px rgba(180, 83, 9, 0.08);
}

/* Toast Success Notification banner */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: -320px;
    background-color: var(--bg-light);
    border-left: 3px solid var(--accent-ochre);
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0.5px solid var(--border-color);
    border-left-width: 3px;
}

.toast-notification.active {
    right: 30px;
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(180, 83, 9, 0.1);
    color: var(--accent-ochre);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.75rem;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

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

.main-footer {
    border-top: 0.5px solid rgba(26, 26, 26, 0.15);
    background-color: var(--bg-light);
    padding: 35px 0;
    margin-top: 80px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links .divider {
    color: var(--border-color);
}

.collections-footnote {
    font-style: italic;
    font-size: 0.78rem;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 50px 30px;
        gap: 30px;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-block {
        height: auto;
    }
    
    .sculpture-prism {
        width: 270px;
        height: 330px;
        transform: none !important;
    }
    
    .asymmetric-row {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .asymmetric-row.reverse {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .archive-container {
        grid-template-columns: 1fr;
    }
    
    .archive-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .curatorial-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bio-intro-block {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .bio-portrait {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .bio-columns {
        grid-template-columns: 1fr;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    --header-height: 70px;
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .journey-timeline-vertical::before {
        left: 15px;
    }
    
    .timeline-node {
        flex-direction: column !important;
        padding-left: 40px;
        margin-bottom: 60px;
    }
    
    .timeline-images-container {
        width: 100%;
        margin-top: 15px;
        order: 2;
    }
    
    .timeline-content {
        width: 100%;
        padding: 20px;
        order: 1;
    }
    
    .timeline-node::after {
        left: 15px;
        top: 8px;
    }
    
    .gallery-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .lightbox-content {
        grid-template-columns: 1fr;
    }
    
    .lightbox-image-wrapper {
        border-right: none;
        border-bottom: 0.5px solid var(--border-color);
        padding: 15px;
    }
    
    .lightbox-details-panel {
        padding: 20px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   ARTWORK SHOWCASE CAROUSELS (HOME PAGE)
   ========================================================================== */

.artwork-showcases-section {
    max-width: var(--max-width);
    margin: 20px auto 40px;
    padding: 30px 30px 40px;
    border-top: 0.5px solid rgba(26, 26, 26, 0.15);
}

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

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

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

.showcase-carousel-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.carousel-header {
    padding: 20px 25px 15px;
    border-bottom: 0.5px solid var(--border-color);
}

.carousel-header h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-main);
}

.carousel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 480px;
}

.carousel-slide-active {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.5px solid var(--border-color);
    padding: 20px;
}

.carousel-image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.carousel-image-wrapper .art-image-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.8s ease-in-out;
}

.carousel-meta-content {
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.carousel-meta-content .art-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.carousel-meta-content h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.carousel-meta-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.carousel-meta-content .carousel-slide-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-meta-content .carousel-slide-footer .carousel-view-btn {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-ochre);
    border-bottom: 0.5px solid transparent;
}

.carousel-meta-content .carousel-slide-footer .carousel-view-btn:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 15px;
    border-top: 0.5px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: auto;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0.5px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    border-color: var(--text-main);
    background-color: var(--text-main);
    color: var(--bg-light);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(26, 26, 26, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot.active {
    background-color: var(--accent-ochre);
    transform: scale(1.3);
}

/* ==========================================================================
   TECHNICAL INNOVATIONS PAGE
   ========================================================================== */
.innovations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

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

.innovations-header h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main);
}

.innovations-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.innovations-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 120px;
    align-items: center;
}

.innovations-row.reverse .innovations-visual {
    order: -1;
}

.innovations-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.innovations-text .row-num {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.innovations-text h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--text-main);
}

.innovations-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* SECTION 1: MACRO COMPARISON CARD */
.macro-comparison-card {
    border: 0.5px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.comparison-header-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 15px;
    border-bottom: 0.5px solid var(--border-color);
    padding-bottom: 10px;
}

.comparison-images {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--border-radius) - 4px);
    border: 0.5px solid var(--border-color);
}

.macro-comparison-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-caption {
    margin-top: 15px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* SECTION 2: HOTSPOT MATRIX CARD */
.hotspot-card {
    border: 0.5px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.hotspot-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--bg-color);
    border-radius: calc(var(--border-radius) - 4px);
    overflow: hidden;
    border: 0.5px solid var(--border-color);
}

.hotspot-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hotspot-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: var(--text-main);
    color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 1px solid var(--bg-light);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hotspot-marker:hover,
.hotspot-marker.active {
    background-color: var(--accent-ochre);
    transform: translate(-50%, -50%) scale(1.15);
}

.hotspot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-ochre);
    opacity: 0.8;
    animation: hotspot-pulse-anim 2s infinite ease-out;
    pointer-events: none;
    top: -1px;
    left: -1px;
}

@keyframes hotspot-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.hotspot-legend {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 0.5px solid var(--border-color);
}

.legend-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.legend-instruction {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.active-tooltip-display {
    padding: 12px 16px;
    border-radius: calc(var(--border-radius) - 6px);
    background-color: var(--bg-color);
    border: 0.5px solid var(--border-color);
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-main);
    min-height: 54px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-ochre);
}

/* SECTION 3: SHADOW-PLAY CARD */
.shadow-play-card {
    border: 0.5px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.shadow-play-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--bg-color);
    border-radius: calc(var(--border-radius) - 4px);
    overflow: hidden;
    border: 0.5px solid var(--border-color);
    cursor: crosshair;
}

.shadow-foreground-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
}

.shadow-background-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 2;
    filter: brightness(0) blur(4px);
    opacity: 0.25;
    transform-origin: center center;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.shadow-play-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 10px 15px;
    border-radius: calc(var(--border-radius) - 6px);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 0.5px solid var(--border-color);
    z-index: 12;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.3s ease;
}

.shadow-play-overlay span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-ochre);
    display: block;
    margin-bottom: 2px;
}

.shadow-play-overlay p {
    font-size: 0.72rem;
    color: var(--text-main);
    margin: 0;
}

.shadow-play-container:hover .shadow-play-overlay {
    opacity: 0.2;
}

.shadow-play-caption {
    margin-top: 15px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .innovations-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .innovations-row.reverse .innovations-visual {
        order: 2;
    }
    
    .innovations-row.reverse .innovations-text {
        order: 1;
    }
    
    .innovations-header h1 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   TIMELINE AUTOBIOGRAPHY SELECTION & INTRO STYLE
   ========================================================================== */

.timeline-intro-text {
    max-width: 800px;
    margin: 30px auto 40px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
    text-align: center;
    font-family: var(--font-serif);
}

.timeline-intro-text p {
    margin-bottom: 20px;
}

.timeline-intro-cta {
    font-weight: 500;
    margin-top: 25px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.timeline-intro-cta a {
    color: var(--accent-ochre);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.timeline-intro-cta a:hover {
    color: var(--text-main);
}

.timeline-volume-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 45px auto 15px;
    max-width: 720px;
}

.volume-select-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: var(--card-bg-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.volume-select-btn .vol-num {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-ochre);
    margin-bottom: 6px;
    font-weight: 600;
}

.volume-select-btn .vol-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: var(--font-serif);
    transition: color 0.3s ease;
    text-align: center;
}

.volume-select-btn:hover {
    background: var(--bg-light);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.volume-select-btn:hover .vol-name {
    color: var(--text-main);
}

.volume-select-btn.active {
    background: var(--text-main);
    border-color: var(--text-main);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.volume-select-btn.active .vol-num {
    color: var(--accent-gold);
}

.volume-select-btn.active .vol-name {
    color: #fff;
}

@media (max-width: 600px) {
    .timeline-volume-selector {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   TAB: CONNECTIONS (Interactive Artists Knowledge Graph)
   ========================================================================== */

.connections-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.connections-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease;
}

.connections-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 15px auto 0 auto;
    font-weight: 300;
}

.connections-intro-section {
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease;
}

.connections-intro-text h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 0.5px solid var(--border-color);
    padding-bottom: 8px;
    font-family: var(--font-serif);
}

.connections-intro-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.connections-intro-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.connections-intro-text li {
    margin-bottom: 8px;
}

.graph-workspace {
    display: flex;
    gap: 20px;
    height: 700px;
    position: relative;
    padding: 20px;
    background: rgba(252, 252, 252, 0.45);
    animation: fadeIn 1.2s ease;
}

/* Left and Right Sidebars */
.graph-sidebar-left,
.graph-sidebar-right {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 10px 5px;
}

.graph-sidebar-left::-webkit-scrollbar,
.graph-sidebar-right::-webkit-scrollbar {
    width: 4px;
}

.graph-sidebar-left::-webkit-scrollbar-thumb,
.graph-sidebar-right::-webkit-scrollbar-thumb {
    background: rgba(26, 26, 26, 0.1);
    border-radius: 2px;
}

/* Sidebar Panels Section */
.graph-workspace .panel-section {
    margin-bottom: 25px;
}

.graph-workspace .panel-section-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-ochre);
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.graph-workspace .panel-section-title::after {
    content: '';
    flex-grow: 1;
    height: 0.5px;
    background: var(--border-color);
}

/* Search bar styling */
.graph-workspace .search-container {
    position: relative;
    width: 100%;
}

.graph-workspace .search-input {
    width: 100%;
    background: var(--bg-light);
    border: 0.5px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px 12px 10px 36px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: all var(--transition-speed);
}

.graph-workspace .search-input:focus {
    border-color: var(--accent-ochre);
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.04);
}

.graph-workspace .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Filter buttons */
.graph-workspace .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.graph-workspace .filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-light);
    border: 0.5px solid var(--border-color);
    padding: 9px 12px;
    border-radius: var(--border-radius);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.graph-workspace .filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
    background: #fff;
}

.graph-workspace .filter-btn.active {
    background: var(--text-main);
    border-color: var(--text-main);
    color: #fff;
    font-weight: 500;
}

.graph-workspace .filter-btn .badge {
    font-size: 0.72rem;
    background: rgba(26, 26, 26, 0.06);
    padding: 1px 6px;
    border-radius: 10px;
    color: var(--text-muted);
}

.graph-workspace .filter-btn.active .badge {
    background: var(--accent-gold);
    color: #fff;
    font-weight: 600;
}

/* Scholarly Modes Cards */
.graph-workspace .narratives-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.graph-workspace .narrative-card {
    background: var(--bg-light);
    border: 0.5px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.graph-workspace .narrative-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.04);
}

.graph-workspace .narrative-card.active {
    background: #fff;
    box-shadow: 0 4px 20px rgba(180, 83, 9, 0.06);
}

.graph-workspace .narrative-card.active.mode-translucency { border-left: 3px solid var(--accent-ochre); border-color: var(--accent-ochre); }
.graph-workspace .narrative-card.active.mode-atelier17 { border-left: 3px solid #2E7D32; border-color: #2E7D32; }
.graph-workspace .narrative-card.active.mode-goldsmiths { border-left: 3px solid #854D0E; border-color: #854D0E; }
.graph-workspace .narrative-card.active.mode-london { border-left: 3px solid #C2410C; border-color: #C2410C; }
.graph-workspace .narrative-card.active.mode-autonomy { border-left: 3px solid #7C3AED; border-color: #7C3AED; }

.graph-workspace .narrative-card h3 {
    font-size: 0.88rem;
    margin-bottom: 4px;
    font-family: var(--font-sans);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
}

.graph-workspace .narrative-card p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* Reset View Button */
.graph-workspace .reset-btn {
    margin-top: auto;
    width: 100%;
    background: var(--bg-light);
    border: 0.5px solid var(--border-color);
    padding: 10px;
    border-radius: var(--border-radius);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.graph-workspace .reset-btn:hover {
    border-color: var(--text-main);
    background: var(--text-main);
    color: #fff;
}

/* Center Panel: Canvas Container */
.graph-canvas-container {
    flex-grow: 1;
    height: 100%;
    border: 0.5px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

#graph-canvas {
    width: 100%;
    height: 100%;
    background: #FAF9F6; /* subtle warm tint for network canvas matching paper theme */
}

/* Floating Tooltip styling */
.vis-tooltip {
    position: absolute;
    visibility: hidden;
    padding: 10px 14px;
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border: none !important;
    color: #FFF !important;
    font-family: var(--font-sans) !important;
    font-size: 0.78rem !important;
    border-radius: var(--border-radius) !important;
    pointer-events: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    max-width: 250px !important;
    line-height: 1.4 !important;
    z-index: 100 !important;
}

.vis-tooltip b {
    color: var(--accent-ochre) !important;
    font-size: 0.82rem !important;
}

/* Canvas manipulation helper text */
.graph-workspace .canvas-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 0.5px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 0.7rem;
    color: var(--text-muted);
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* Right Sidebar: Details Pane */
.graph-sidebar-right .details-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

.graph-sidebar-right .details-placeholder svg {
    margin-bottom: 12px;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

/* Detail Card Internal Styling */
.graph-sidebar-right .detail-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.graph-sidebar-right .detail-type-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.graph-sidebar-right .detail-type-badge.Artist {
    background: rgba(46, 125, 50, 0.08);
    color: #2E7D32;
    border: 0.5px solid rgba(46, 125, 50, 0.15);
}

.graph-sidebar-right .detail-type-badge.Institution_Studio {
    background: rgba(124, 58, 237, 0.08);
    color: #7C3AED;
    border: 0.5px solid rgba(124, 58, 237, 0.15);
}

.graph-sidebar-right .detail-type-badge.Technique {
    background: rgba(180, 83, 9, 0.08);
    color: var(--accent-ochre);
    border: 0.5px solid rgba(180, 83, 9, 0.15);
}

.graph-sidebar-right .detail-title {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.2;
    color: var(--text-main);
}

.graph-sidebar-right .detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.78rem;
}

.graph-sidebar-right .detail-meta-item {
    color: var(--text-muted);
    background: rgba(26, 26, 26, 0.04);
    padding: 2px 8px;
    border-radius: 3px;
    border: 0.5px solid var(--border-color);
}

.graph-sidebar-right .detail-description {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.graph-sidebar-right .connections-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.graph-sidebar-right .connection-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

.graph-sidebar-right .connection-item {
    background: rgba(26, 26, 26, 0.02);
    border: 0.5px solid var(--border-color);
    padding: 8px 10px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.graph-sidebar-right .connection-item:hover {
    background: var(--bg-light);
    border-color: var(--border-hover);
}

.graph-sidebar-right .connection-rel-type {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-ochre);
}

.graph-sidebar-right .connection-target-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
}

.graph-sidebar-right .connection-context {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.25;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .graph-workspace {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .graph-canvas-container {
        height: 480px;
        order: 1;
    }
    
    .graph-sidebar-left {
        width: 100%;
        height: auto;
        max-height: 400px;
        order: 0;
    }
    
    .graph-sidebar-right {
        width: 100%;
        height: auto;
        order: 2;
        border-top: 0.5px solid var(--border-color);
        padding-top: 15px;
    }
    
    .graph-workspace .reset-btn {
        margin-top: 15px;
    }
    
    .graph-workspace .canvas-hint {
        display: none;
    }
}



