/*
 * The Invisible Gallery — Design System
 * Shared tokens and chrome for all pages.
 * Linked BEFORE page-specific styles so per-page CSS can override.
 */

:root {
    /* Colors */
    --eigengrau: #16161D;
    --ivory: #F4F1EC;
    --ikb: #002FA7;
    --burgundy: #7A1F2B;
    --ink: #2a2520;

    /* Muted ivory tints (for dividers, whispers, subtle chrome) */
    --ivory-90: rgba(244, 241, 236, 0.90);
    --ivory-70: rgba(244, 241, 236, 0.70);
    --ivory-55: rgba(244, 241, 236, 0.55);
    --ivory-35: rgba(244, 241, 236, 0.35);
    --ivory-20: rgba(244, 241, 236, 0.20);
    --ivory-10: rgba(244, 241, 236, 0.10);

    /* Fonts */
    --font-primary: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'Source Code Pro', monospace;
    --font-retro:   'VT323', monospace;

    /* Rhythm & transitions */
    --thread-width: 1px;
    --chrome-transition: 0.3s ease;
}

/* ──────────────────────────────────────────────────────────
   Shared chrome: gallery identity footer
   Spaced nameplate, email + IG icon circles, delicate copyright.
   Always on a dark band — pages with light backgrounds get a
   clean transition into the footer.
   ────────────────────────────────────────────────────────── */

.gallery-footer {
    width: 100%;
    padding: 6rem 2rem 3rem;
    text-align: center;
    background: var(--eigengrau);
    color: var(--ivory);
    font-family: var(--font-primary);
    user-select: none;
}

.gallery-footer .footer-nameplate {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(244, 241, 236, 0.15);
    margin: 0 0 1.5rem;
}

.gallery-footer .footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-footer .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(244, 241, 236, 0.2);
    text-decoration: none;
    border: 1px solid rgba(244, 241, 236, 0.1);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.gallery-footer .contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: rgba(244, 241, 236, 0.2);
    transition: stroke 0.6s;
}

.gallery-footer .contact-icon:hover {
    border-color: rgba(244, 241, 236, 0.3);
    background: rgba(244, 241, 236, 0.05);
}

.gallery-footer .contact-icon:hover svg {
    stroke: rgba(244, 241, 236, 0.5);
}

.gallery-footer .copyright {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(244, 241, 236, 0.1);
    margin: 0;
}

@media (max-width: 560px) {
    .gallery-footer {
        padding: 4rem 1.25rem 2rem;
    }
    .gallery-footer .footer-nameplate {
        font-size: 0.6rem;
        letter-spacing: 0.28em;
    }
    .gallery-footer .footer-contact {
        gap: 1.5rem;
    }
}

/* ──────────────────────────────────────────────────────────
   Typography utilities (opt-in — pages apply as needed)
   ────────────────────────────────────────────────────────── */

.ds-whisper {
    font-family: var(--font-retro);
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.ds-mono {
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.ds-thread {
    display: block;
    width: 80px;
    height: var(--thread-width);
    background: var(--burgundy);
    border: 0;
    margin: 1.5rem auto;
}
