/* ============================================================
   BASE — reset, typography, layout primitives
   ============================================================ */

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--linen-0);
  color: var(--bold-brown);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'BioRhyme', Georgia, serif;
  font-weight: 800;
  line-height: 1;
  color: var(--bold-burgundy);
}

p { margin: 0; }
figure { margin: 0; }

a {
  color: var(--bold-burgundy);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--bold-brown); }
a:focus-visible {
  outline: 2px solid var(--bold-terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--bold-burgundy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0; }
