/* ===========================================================================
   At The River — base element defaults
   Applied when a consumer links styles.css. Sets the warm page ground and
   default typography so bare HTML already feels on-brand.
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  margin: 0 0 0.4em;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--brand); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-hover); }

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

::selection { background: var(--sunset-gold); color: var(--char-900); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
