@font-face {
  font-family: "Lora Local";
  src: url("../fonts/lora-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f4f1e8;
  --cream-light: #faf8f2;
  --charcoal: #4a3a4a;
  --muted: #6f695f;
  --forest: #22392f;
  --green: #3f6b56;
  --sage: #9fc2ab;
  --footer-ink: #343a36;
  --line: rgba(74, 58, 74, 0.1);
  --line-strong: rgba(74, 58, 74, 0.18);
  --serif: "Lora Local", Lora, "Songti SC", STSong, SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream-light);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  color: var(--cream-light);
  background: var(--green);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  line-height: 1.6;
}

h1 {
  margin: 16px 0 0;
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 40px), var(--max));
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }
}

@media (max-width: 410px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
