/* Custom Font: Libertinus Serif Display (used as a headline accent, see .home h1) */
@font-face {
    font-family: 'Libertinus_Serif_Display';
    src: url('../Libertinus_Serif_Display/LibertinusSerifDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-red: #f5292a;
    --brand-red-dark: #dc2626;
    --brand-red-darker: #b91c1c;
    --brand-red-darkest: #991b1b;

    /* Neutral text tiers — previously three near-identical grays
       (#64748b/#4b5563/#6b7280) were used interchangeably for the same
       "muted" role across different files with no shared system. */
    --text-heading: #1a1a1a; /* headings — matches the body's own base color below */
    --text-strong: #374151;  /* form labels, nav links */
    --text-body: #4b5563;    /* longer-form reading copy (about text, list items) */
    --text-muted: #64748b;   /* subtitles, card descriptions, secondary text */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-heading);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll offset for fixed navigation */
html {
    scroll-padding-top: 154px; /* Account for fixed navigation height */
}

/* Visually hidden but still readable by screen readers */
.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;
}
