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

/* ---- Body & typography defaults ---- */
body {
  font-family: var(--font-ui);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-ink);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Display type (Fraunces) ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-variation-settings: var(--fraunces-axes);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: var(--t-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--t-section);
}

/* ---- Links ---- */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Lists ---- */
ul, ol {
  list-style: none;
}

/* ---- Buttons ---- */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---- Focus ring (terracotta) ---- */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* ---- Visually hidden (accessible) ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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