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

body {
    /* The color of a dark wood-paneled library */
    background-color: #3D2B1F; 
    background-image: linear-gradient(rgba(0,0,0,0.2) 1px, transparent 1px);
    background-size: 100% 3px; /* Subtle scan-line effect for that early 2000s tech hint */
    color: #E1C699; 
    font-family: 'Baskerville', 'Times New Roman', serif;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* --- THE HEADER (Institutional but Warm) --- */
header {
    width: 100%;
    max-width: 800px;
    border-bottom: 1px solid #A67C00; /* Brass Line */
    margin-bottom: 60px;
    padding-bottom: 20px;
    text-align: center;
}

h1 {
    font-family: 'Avant Garde', sans-serif;
    font-weight: 900;
    letter-spacing: 10px;
    color: #E1C699;
    text-transform: uppercase;
}

/* --- THE CABINET (The Great Northern Look) --- */
.cabinet-container {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Tight, like real furniture joints */
    width: 100%;
    max-width: 480px;
    background-color: #261B13; /* Darker wood shadow */
    padding: 15px;
    border: 10px solid #261B13;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.drawer-face {
    background-color: #D4B996; /* Manila/Aged Paper */
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #A68D6A;
    position: relative;
    transition: all 0.2s ease;
}

.label-holder {
    border: 2px solid #8A6D3B; /* Brass Frame */
    background: #FDF5E6;
    padding: 4px 22px;
    margin-bottom: 12px;
}

.drawer-label {
    color: #1A1A1A;
    font-family: 'Baskerville', serif;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
}

.drawer-pull {
    width: 60px;
    height: 12px;
    background: #A67C00; /* Brass Handle */
    border-radius: 2px 2px 0 0;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.3);
}

/* --- THE TWIN PEAKS TOUCH --- */
.status-led {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 8px;
    height: 8px;
    background-color: #1B3022; /* Forest Green when idle */
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.drawer-face:hover {
    background-color: #EBD4B4;
    transform: scale(1.01);
}

.drawer-face:hover .status-led {
    background-color: #FF4500; /* The Red Room/Tangerine alert */
    box-shadow: 0 0 10px #FF4500;
}

/* --- THE ARCHIVE CARDS --- */
.catalog-card {
    background-color: #FDF5E6;
    padding: 35px;
    border: 1px solid #D1D1B1;
    border-top: 8px solid #1B3022; /* Douglas Fir Green header */
    box-shadow: 12px 12px 0px #261B13;
    text-decoration: none;
    color: #1A1A1A;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 20px 0px #1A1A1A;
}