*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
}
video::-webkit-media-controls-overflow-button,
video::-webkit-media-controls-download-button,
video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.035em;
}
h1 {
  font-size: clamp(2.75rem, 5.15vw, 5.25rem);
  max-width: 13ch;
  margin-bottom: 24px;
}
h1 span {
  color: var(--lime);
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  max-width: 19ch;
  margin-bottom: 20px;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}
p {
  margin-bottom: 1em;
}
::selection {
  color: var(--obsidian);
  background: var(--lime);
}
:focus-visible {
  outline: 3px solid #536F1D;
  outline-offset: 4px;
}
.dark :focus-visible,
.site-header :focus-visible {
  outline-color: var(--lime);
}
section[id],
div[id="contacto"] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

