/* ============================================================
   IMMORTAL ART & ANTIQUITIES — Shared Stylesheet
   ============================================================ */

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

body {
    font-family: 'Crimson Text', serif;
    background-color: #fefdfb;
    color: #2d2d2d;
    line-height: 1.75;
    font-size: 18px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- Site Header ---- */

.site-header {
    text-align: center;
    padding: 48px 40px 0;
}

.header-ornament {
    font-size: 16px;
    color: #c4b49a;
    letter-spacing: 10px;
    margin-bottom: 20px;
}

.site-title {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #3a3a3a;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.site-title:hover {
    color: #8b7355;
}

.site-subtitle {
    font-style: italic;
    font-size: 14px;
    color: #8b8b8b;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

/* ---- Navigation ---- */

.site-nav {
    text-align: center;
    border-bottom: 1px solid #d4c4a8;
    margin: 0 60px;
    padding-bottom: 18px;
}

.site-nav a {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8b7355;
    text-decoration: none;
    transition: color 0.25s;
}

.site-nav a:hover,
.site-nav a.active {
    color: #3a3a3a;
}

.nav-sep {
    color: #d4c4a8;
    margin: 0 16px;
    font-size: 14px;
}

/* ---- Main Container ---- */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 40px;
    flex: 1;
}

/* ---- Typography ---- */

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    color: #3a3a3a;
    margin-bottom: 16px;
}

.page-period {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8b7355;
    text-align: center;
    margin-bottom: 52px;
}

.page-intro {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 60px;
    color: #4a4a4a;
    font-size: 19px;
}

.body-text {
    color: #4a4a4a;
    max-width: 640px;
    margin: 0 auto;
}

.body-text p {
    margin-bottom: 1.5em;
}

/* ---- Ornamental Dividers ---- */

.divider {
    text-align: center;
    margin: 44px 0;
    color: #c4b49a;
    font-size: 18px;
    letter-spacing: 4px;
}

/* ---- Text Links ---- */

.text-link {
    font-style: italic;
    color: #8b7355;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px dotted #8b7355;
    transition: all 0.25s;
}

.text-link:hover {
    color: #6b5742;
    border-bottom-color: #6b5742;
}

/* ---- Collections Overview ---- */

.collection-entry {
    padding: 44px 0;
    border-bottom: 1px solid #e8e0d0;
}

.collection-entry:first-of-type {
    border-top: 1px solid #e8e0d0;
}

.collection-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.collection-entry-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 400;
    color: #3a3a3a;
    letter-spacing: 1px;
}

.collection-entry-period {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b7355;
}

.collection-entry-text {
    color: #4a4a4a;
    margin-bottom: 20px;
    max-width: 620px;
}

/* ---- Advisory Services ---- */

.service-block {
    padding: 40px 0;
    border-bottom: 1px solid #e8e0d0;
}

.service-block:first-of-type {
    border-top: 1px solid #e8e0d0;
}

.service-title {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 400;
    color: #3a3a3a;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.service-text {
    color: #4a4a4a;
    max-width: 620px;
}

/* ---- Inquire Block ---- */

.inquire-block {
    text-align: center;
    padding: 48px 0 0;
    margin-top: 56px;
    border-top: 1px solid #d4c4a8;
}

.inquire-block p {
    color: #6b6b6b;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 17px;
}

/* ---- Contact Form ---- */

.contact-intro {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 56px;
    color: #4a4a4a;
    font-size: 18px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e0d0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b8b8b;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d4c4a8;
    padding: 6px 0 10px;
    font-family: 'Crimson Text', serif;
    font-size: 17px;
    color: #2d2d2d;
    outline: none;
    transition: border-color 0.25s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: #8b7355;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.65;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c4b49a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 20px;
}

.form-submit {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #8b7355;
    color: #8b7355;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
}

.form-submit:hover {
    background: #8b7355;
    color: #fefdfb;
}

.form-note {
    text-align: center;
    font-style: italic;
    font-size: 14px;
    color: #aaa;
    margin-top: 24px;
}

/* ---- Contact Alternates ---- */

.contact-alt {
    text-align: center;
    padding-top: 44px;
    border-top: 1px solid #e8e0d0;
    margin-top: 56px;
}

.contact-alt > p {
    font-style: italic;
    color: #6b6b6b;
    font-size: 16px;
    margin-bottom: 24px;
}

.contact-emails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-email-item {
    font-size: 15px;
    color: #5a5a5a;
}

.contact-email-item a {
    color: #8b7355;
    text-decoration: none;
    border-bottom: 1px dotted #8b7355;
    font-style: italic;
    transition: all 0.25s;
}

.contact-email-item a:hover {
    color: #6b5742;
    border-bottom-color: #6b5742;
}

/* ---- Home Page ---- */

.home-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
    font-size: 19px;
    color: #4a4a4a;
    line-height: 1.85;
}

.home-current {
    text-align: center;
    border-top: 1px solid #d4c4a8;
    border-bottom: 1px solid #d4c4a8;
    padding: 48px 0;
    margin-bottom: 64px;
}

.home-current-label {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 28px;
}

.home-current-list {
    list-style: none;
    margin-bottom: 32px;
}

.home-current-list li {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 6px;
    font-style: italic;
}

.home-advisory {
    text-align: center;
}

.home-advisory > p {
    font-style: italic;
    color: #6b6b6b;
    font-size: 17px;
    max-width: 480px;
    margin: 0 auto 20px;
}

/* ---- Site Footer ---- */

.site-footer {
    text-align: center;
    font-size: 13px;
    color: #bbb;
    font-style: italic;
    padding: 36px 40px;
    border-top: 1px solid #ede6d8;
    letter-spacing: 0.3px;
    margin-top: auto;
}

/* ---- Responsive ---- */

@media (max-width: 680px) {
    .site-header {
        padding: 36px 24px 0;
    }

    .site-nav {
        margin: 0 24px;
    }

    .site-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .container {
        padding: 48px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .collection-entry-header {
        flex-direction: column;
        gap: 6px;
    }

    .home-intro {
        font-size: 17px;
    }

    .page-intro {
        font-size: 17px;
    }
}
