@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/crimson-pro-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/crimson-pro-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Identidad y fundamentos compartidos. */
:root {
  /* Escala del contenido: 1 = original; 1.1 = +10 %. El nav usa tamaños propios. */
  --text-scale: 1;
  --base: #f4f1ea;
  --paper: #fbfaf6;
  --contrast: #2c2c2c;
  --muted: #62685f;
  --sage: #7a8f74;
  --green: #50654b;
  --amber: #9a642f;
  --line: #d9ddd1;
  --serif: "Crimson Pro", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --gutter: clamp(22px, 5vw, 80px);
  --space: clamp(70px, 8vw, 112px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  color: var(--contrast);
  background: var(--base);
  font: 400 calc(16px * var(--text-scale))/1.7 var(--sans);
}
h1,
h2,
h3 {
  margin: 0;
  font: 500 calc(48px * var(--text-scale))/1.06 var(--serif);
  letter-spacing: -0.035em;
}
p,
figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button {
  color: inherit;
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}
[hidden] {
  display: none !important;
}
.wide {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding-block: var(--space);
}
.eyebrow {
  color: var(--green);
  font-size: calc(11px * var(--text-scale));
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 30;
  padding: 12px 20px;
  background: var(--paper);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 17px 26px;
  border: 1px solid var(--green);
  border-radius: 3px;
  background: var(--green);
  color: var(--paper);
  font-size: calc(15px * var(--text-scale));
  text-transform: uppercase;
  font-weight: 500;
  transition:
    background 0.25s,
    transform 0.25s;
}
.button:hover {
  background: #3d5139;
  text-decoration: none;
  transform: scale(1.05);
  animation: ease-in-out 0.25s;
}
.button span {
  font-size: calc(20px * var(--text-scale));
  line-height: 1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  font-size: calc(13px * var(--text-scale));
}
.text-link:hover {
  text-decoration: none;
  color: var(--green);
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-visible {
    animation: reveal 0.7s both;
  }
  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
