@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ns-forest: #0f3e17;
  --ns-forest-shadow: #0c2f10;
  --ns-cream: #fffefc;
  --ns-soft-paper: #f7f5ef;
  --ns-keylime: #e1f4df;
  --ns-mint: #cfe7d3;
  --ns-sage: #b1dbb8;
  --ns-slate: #b6ced5;
  --ns-charcoal: #222222;
  --ns-muted: #53605b;
  --ns-border: #e8e7e2;
  --ns-error: #8a2f2f;
  --ns-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ns-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --ns-container: 1200px;
  --ns-radius-sm: 7px;
  --ns-radius: 14px;
  --ns-section: clamp(3.25rem, 5vw, 4.75rem);
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ns-cream);
  color: var(--ns-charcoal);
  font-family: var(--ns-sans);
  font-size: 1rem;
  font-weight: 430;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.ns-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ol,
ul,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ns-forest);
  font-family: var(--ns-serif);
  font-weight: 450;
  line-height: 1.05;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 450;
}

:focus-visible {
  outline: 3px solid var(--ns-forest);
  outline-offset: 4px;
}

::selection {
  background: var(--ns-sage);
  color: var(--ns-forest-shadow);
}

.ns-container {
  width: min(calc(100% - 3rem), var(--ns-container));
  margin-inline: auto;
}

.ns-eyebrow {
  margin-bottom: 1.125rem;
  color: var(--ns-forest);
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ns-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid var(--ns-forest);
  border-radius: var(--ns-radius);
  background: var(--ns-forest);
  color: var(--ns-cream);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ns-button:hover {
  background: var(--ns-forest-shadow);
  transform: translateY(-2px);
}

.ns-button--small {
  min-height: 44px;
  padding-inline: 1rem;
  font-size: 0.88rem;
}

.ns-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 1.25rem;
  color: var(--ns-forest);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ns-forest) 35%, transparent);
  text-underline-offset: 0.35rem;
}

.ns-text-link:hover {
  text-decoration-color: var(--ns-forest);
}

.ns-skip-link {
  position: fixed;
  z-index: 999;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--ns-radius-sm);
  background: var(--ns-forest);
  color: var(--ns-cream);
  font-weight: 700;
  transform: translateY(-200%);
}

.ns-skip-link:focus {
  transform: none;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .ns-container {
    width: min(calc(100% - 2rem), var(--ns-container));
  }
}
