:root {
    --obsidian: #050505;
    --gold: #C5A059;
    --zinc: #18181b;
    --text-dim: #71717a;
}

body {
    background-color: var(--obsidian);
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.editorial-container { max-width: 1400px; margin: 0 auto; padding: 40px 20px; }

header { text-align: center; margin-bottom: 80px; }
h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin: 10px 0; font-weight: 400; }
.category-tag { color: var(--gold); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.75rem; font-weight: 700; }
.subtitle { color: var(--text-dim); font-style: italic; font-size: 1.1rem; }
.gold-divider { width: 80px; height: 1px; background: var(--gold); margin: 30px auto; opacity: 0.5; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.index-card { background: var(--zinc); border: 1px solid #27272a; transition: transform 0.4s ease; }
.index-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.index-card .media-wrapper img {
    width: 100%;
    aspect-ratio: 9 / 16; /* Forces all studies into a uniform vertical frame */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--gold-primary);
}

.media-wrapper { position: relative; aspect-ratio: 9/16; overflow: hidden; background: #000; }
.media-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skeletal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.index-card:hover .skeletal-overlay { opacity: 1; }

.metadata { padding: 20px; }
.metadata h3 { color: var(--gold); font-size: 0.9rem; margin: 0 0 10px 0; text-transform: uppercase; }
.metadata p { color: #a1a1aa; font-size: 0.85rem; margin: 0; }

footer { text-align: center; padding: 100px 0 40px; color: var(--text-dim); font-size: 0.7rem; letter-spacing: 1px; }