/* ============================================
   CONTEMPORARY CURATION STYLESHEET
   ============================================ */

:root {
    /* Modern Color Palette */
    --bg-color: #0f0f0f;
    --bg-alt: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #3b82f6; /* Electric Blue for interaction */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.08);
    
    /* Desktop-First Spacing */
    --container-width: 1400px; /* Reduced width for better readability */
    --section-spacing: 180px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 1200px; /* Enforce desktop width */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, .nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    font-weight: 300;
    color: var(--text-secondary);
}

/* ============================================
   NAVIGATION
   ============================================ */

.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.modern-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.modern-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

/* ============================================
   HERO SECTION & QUOTE
   ============================================ */

.hero-section {
    min-height: 100vh; /* Ensure it covers viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 20px 60px; /* Add top padding for fixed nav */
}

.hero-content {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-quote-container {
    position: relative;
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(100%) contrast(1.2); /* Art-house B&W look */
    transition: filter 0.5s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image:hover {
    filter: grayscale(0%) contrast(1); /* Reveal color on hover */
}

.hero-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 2rem;
    color: var(--text-primary);
    position: relative;
}

.hero-quote cite {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--accent);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-top: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 2rem;
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* ============================================
   LAYOUT & SECTIONS
   ============================================ */

section {
    padding: var(--section-spacing) 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.alt-bg {
    background-color: var(--bg-alt);
    max-width: 100%; /* Full width background */
    padding-left: calc((100% - var(--container-width)) / 2 + 20px);
    padding-right: calc((100% - var(--container-width)) / 2 + 20px);
}

/* ============================================
   STATEMENT SECTION (MANIFESTO STYLE)
   ============================================ */

.statement-section {
    /* Override default section spacing to reduce vertical gap */
    padding: 40px 20px 60px;
}

.statement-section .glass-panel {
    border: none;
    background: transparent;
    padding: 0; /* No extra vertical padding inside, spacing handled by .statement-section */
    text-align: center;
}

.statement-section h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 40px;
    opacity: 0.8;
}

.statement-section .text-content {
    max-width: 1100px;
    margin: 0 auto;
}

.statement-section p {
    font-family: 'Space Grotesk', sans-serif; /* Display font for impact */
    font-size: 2.2rem; /* HUGE text */
    line-height: 1.4;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 300;
}

.statement-section .lead {
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 40px;
}

/* Highlight key phrases if wrapped in strong/span */
.statement-section strong {
    color: var(--accent);
    font-weight: 400;
}

/* ============================================
   CURATOR SECTIONS
   ============================================ */

.curator-header {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.curator-role {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--accent);
}

/* ============================================
   GALLERY GRID & ARTIFACT CARDS (DESKTOP OPTIMIZED)
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns for the 3 assignments */
    gap: 50px;
    margin-top: 40px;
}

.artifact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Equal height cards */
    display: flex;
    flex-direction: column;
}

.artifact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.artifact-preview {
    height: 500px; /* Taller preview area for better PDF visibility */
    background: #222;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

/* Ensure PDFs take up full space */
.artifact-preview object {
    width: 100%;
    height: 100%;
    display: block;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #1a1a1a 25%, #222 25%, #222 50%, #1a1a1a 50%, #1a1a1a 75%, #222 75%, #222 100%);
    background-size: 20px 20px;
}

/* Overlay with Buttons */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.artifact-card:hover .overlay {
    opacity: 1;
}

.view-btn {
    padding: 10px 25px;
    border: 1px solid #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    background: transparent;
    color: #fff;
}

.view-btn:hover {
    background: #fff;
    color: #000;
}

.view-btn.secondary {
    border-color: var(--accent);
    color: var(--accent);
}

.view-btn.secondary:hover {
    background: var(--accent);
    color: #fff;
}

.artifact-info {
    padding: 25px;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

/* NEW QUOTE STYLE */
.artifact-quote {
    border-left: 3px solid var(--accent);
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.05); /* Subtle blue background */
    padding: 15px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 20px; /* Add space for references below */
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.process-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.process-img-container {
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    background: #222;
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.process-card:hover .process-img {
    transform: scale(1.05);
    opacity: 1;
}

.process-info {
    padding: 20px;
}

.process-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process-info p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   INLINE REFERENCE BLOCK (INSIDE CARDS)
   ============================================ */

.reference-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.inline-citation {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.inline-citation i {
    color: var(--text-primary);
}

/* ============================================
   GLOBAL BIBLIOGRAPHY SECTION
   ============================================ */

.reference-list-section {
    margin-top: 100px;
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

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

.reference-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: background 0.3s ease;
}

.reference-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ref-author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    flex-shrink: 0;
}

.reference-card:hover .ref-author-img {
    filter: grayscale(0%);
    border-color: var(--accent);
}

.ref-content {
    flex-grow: 1;
}

.ref-citation {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.ref-citation i {
    color: var(--text-primary);
}

.placeholder-ref {
    border-style: dashed;
    opacity: 0.5;
    justify-content: center;
    text-align: center;
}

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

footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 20px;
    background: #0a0a0a;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left p, .footer-right p {
    margin-bottom: 10px;
    color: #fff;
}

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

.footer-right li {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

/* ============================================
   RESPONSIVE (REMOVED FOR DESKTOP ONLY)
   ============================================ */
/* No mobile styles needed as per instruction */