/* Main CSS file that imports all others */
@import '_typography.css';
@import '_layout.css';
@import '_animations.css';

:root {
    /* Colors */
    --color-paper: #f4f1ea;
    --color-ink: #1a1a1a;
    --color-accent: #8b0000;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-body: 'Playfair Display', Georgia, serif;
    --font-masthead: 'UnifrakturMaguntia', serif;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    background-image: url('../assets/images/paper-texture.png');
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-ink);
    color: var(--color-paper);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    body {
        background: none;
        color: black;
    }

    .newspaper-header {
        border-bottom: 2px solid black;
    }

    .main-nav,
    .skip-link {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
} 