/*
 * base.css: element defaults, reset, focus styles and typography.
 *
 * Part of the new stylesheet stack (redesign Step 3). Loaded by
 * templates/base.html.twig in this order, one <link> each: tokens.css,
 * base.css, layout.css, components.css, forms.css, admin.css, parent.css.
 * Never use @import here: every file is linked on its own so that
 * FileModifiedVersionStrategy versions each one by its modification time.
 */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* The flex column is load-bearing: the footer sits at the bottom of a short
   page because .container grows (flex: 1) inside it. */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--leading-body-ratio); /* 1.5625: 25px at the body's 16px, proportional below it */
    font-weight: var(--weight-regular);
    color: var(--ink);
    background: var(--paper);
}

a { color: var(--plum); }

/* The focus ring: solid, 2px, on every focusable element. Never remove it. */
:focus-visible {
    outline: 2px solid var(--oak-deep);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.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;
}

.icon { flex: none; }

/* .muted is defined with the utilities in components.css. No motion is defined
   here, so there is no prefers-reduced-motion guard; a rule that adds a
   transition or animation adds its own. */
