/* ============================================
   base.css — Reset, base elements, utilities
   ============================================ */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 3px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .28s ease, color .28s ease;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, textarea {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color:transparent;
}
::selection {
  background: var(--red);
  color: #fff;
}
.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: -60px;
  background: var(--surface);
  padding: 12px 16px;
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}
.skip-link:focus {
  top: 12px;
}
.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
