/* Heironimus, LLC - Shared Styles */

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

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 1.25rem 2rem;
    border-bottom: 3px solid #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

header .site-name {
    font-family: 'EB Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

header .site-name:hover {
    color: #b91c1c;
}

header .nav-links {
    display: flex;
    gap: 1.5rem;
}

header .nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
}

header .nav-links a:hover,
header .nav-links a.active {
    color: #111;
}

/* Contact page details */

.contact-details {
    border-top: 1px solid #eee;
}

.contact-details .row {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid #eee;
}

.contact-details .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b91c1c;
    padding-top: 0.2rem;
}

.contact-details address {
    font-style: normal;
}

.contact-details a {
    color: #b91c1c;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

@media (max-width: 540px) {
    .contact-details .row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

main {
    flex: 1;
    max-width: 740px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

h1 {
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.subtitle {
    font-size: 1.08rem;
    color: #555;
    max-width: 580px;
    margin-bottom: 2.5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b91c1c;
    margin-bottom: 1.25rem;
}

.services-grid {
    margin-bottom: 2.5rem;
}

.card {
    padding: 1.25rem 0;
    border-bottom: 1px solid #eee;
}

.card:first-child {
    border-top: 1px solid #eee;
}

.card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.92rem;
    color: #666;
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.78rem;
    color: #ccc;
    border-top: 1px solid #eee;
}

@media (max-width: 540px) {
    header { padding: 0.75rem 1.25rem; }
    main { padding: 2.5rem 1.25rem; }
    h1 { font-size: 1.5rem; }
}
