/* Hepworth Iron Capital — Shared Styles */

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

::selection {
    background: #2a1810;
    color: #f5f1e8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #2a1810;
    background: #f5f1e8;
    padding: 60px 20px;
    margin: 0 auto;
    font-weight: 400;
}

/* Subtle texture for aged paper feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(42, 24, 16, 0.01) 2px,
            rgba(42, 24, 16, 0.01) 4px
        );
    pointer-events: none;
    z-index: -1;
}

p {
    margin-bottom: 20px;
    color: #3a2618;
}

strong {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #2a1810;
}

a {
    color: #2a1810;
    text-decoration: none;
    border-bottom: 1px solid #736040;
    transition: border-color 0.2s ease;
    font-weight: 500;
}

a:hover {
    border-bottom-color: #2a1810;
}

a:focus-visible {
    outline: 2px solid #2a1810;
    outline-offset: 2px;
    border-bottom-color: transparent;
}

.section-title {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a0f08;
    border-bottom: 1px solid #736040;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer (shared base) */
.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 13px;
    color: #736040;
    border-top: 1px solid #d4cfc5;
    padding-top: 1rem;
    margin-top: 50px;
}

.footer a {
    color: #736040;
    border-bottom-color: #c4b9a8;
}

.footer a:hover {
    color: #2a1810;
    border-bottom-color: #2a1810;
}

/* Entrance animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
    }
}
