:root {
  --green: #3b5e2b;
  --green-deep: #2c4e20;
  --green-mid: #538a42;
  --green-hover: #437433;
  --green-ink: #254d19;
  --green-soft: #edf4ea;
  --green-pill: #d8e6d4;
  --green-line: #9bb892;
  --page: #faf8f5;
  --ink: #1c1917;
  --heading: #2b241f;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --taupe: #918173;
  --taupe-dark: #7e6e60;
  --rose: #e11d48;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --shadow: 0 12px 32px rgba(28, 25, 23, 0.12);
  --header-offset: 7.4rem;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

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

button,
input,
textarea { font-family: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

::selection {
  background: rgba(59, 94, 43, 0.2);
  color: var(--green-ink);
}

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

.container {
  width: min(100%, 80rem);
  margin-inline: auto;
  padding-inline: 1rem;
}

section[id] { scroll-margin-top: var(--header-offset); }

.section { padding: 3.5rem 0; }

.section--line { border-top: 1px solid rgba(231, 229, 228, 0.7); }

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink);
}

.section-title--left { text-align: left; }

.lede {
  margin: 0.75rem auto 0;
  max-width: 40rem;
  text-align: center;
  color: var(--stone-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn--pill {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.12);
}

.btn--pill:hover { box-shadow: 0 8px 18px rgba(28, 25, 23, 0.16); }

.btn--green { background: var(--green-mid); }
.btn--green:hover { background: var(--green-hover); }
.btn--taupe { background: var(--taupe); }
.btn--taupe:hover { background: var(--taupe-dark); }
.btn--forest { background: var(--green); }
.btn--forest:hover { background: var(--green-deep); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #000; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  display: block;
}

.icon--xs { width: 0.75rem; height: 0.75rem; }
.icon--sm { width: 0.875rem; height: 0.875rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

.tabular { font-variant-numeric: tabular-nums; }

.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(24rem, calc(100% - 2rem));
  padding: 0.65rem 1rem;
  border: 1px solid #292524;
  border-radius: 0.75rem;
  background: #1c1917;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: fade-in 0.2s ease;
}

.toast[hidden] { display: none; }
.toast .icon { color: #34d399; }

.noscript {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  color: #78350f;
  text-align: center;
  font-size: 0.85rem;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@keyframes slide-in {
  from { transform: translateX(1.5rem); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 640px) {
  .container { padding-inline: 1.5rem; }
  .section-title { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .section-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
