:root {
    /* Color Palette - Dark Library / Art Gallery Theme */
    --bg-color: #0d0d0d;
    /* Almost black, matte finish */
    --text-primary: #f5f5f5;
    /* Off-white for readability */
    --text-secondary: #a0a0a0;
    /* Muted silver */
    --accent-gold: #c5a059;
    /* Muted antique gold */
    --card-bg: #1a1a1a;
    /* Slightly lighter for cards/sections */

    /* Typography */
    /* Using system fonts as fallbacks, but proposing imports in HTML */
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --spacing-unit: 1rem;
    --transition-speed: 0.8s;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.text-gold {
    color: var(--accent-gold);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 4rem 1rem;
}

/* Background Texture/Grid (Subtle) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    /* Above background */
    /* Remove opacity: 0 here so the container is visible. 
       We will animate the children instead. */
}

/* Initial state for children to be animated */
.hero-content>* {
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    text-transform: lowercase;
    /* Stylistic choice for modern feel */
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 2rem;
    color: var(--accent-gold);
    /* font-style: italic; Removed per user request */
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* Navigation / Header (Minimalist) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    mix-blend-mode: difference;
    /* Ensures visibility on light/dark elements */
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

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

.fade-in-up {
    animation: fadeInUp var(--transition-speed) ease forwards;
}

/* Content Sections (Library Placeholders) */
.section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-gold);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}