:root {
  --ink-900: #151822;
  --ink-700: #313746;
  --ink-500: #5a6478;
  --paper: #f5f2ea;
  --paper-strong: #efe8d9;
  --accent: #be3a1f;
  --accent-dark: #892714;
  --pine: #1a6a59;
  --white: #ffffff;
  --border: #d6cfbf;
  --shadow: 0 16px 30px rgba(21, 24, 34, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 12% 8%, rgba(190, 58, 31, 0.2), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(26, 106, 89, 0.2), transparent 28%),
    linear-gradient(145deg, #f8f4eb 0%, #f4efe3 60%, #eee5d1 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(transparent 96%, rgba(0, 0, 0, 0.08) 96%),
    linear-gradient(90deg, transparent 96%, rgba(0, 0, 0, 0.06) 96%);
  background-size: 6px 6px;
  z-index: -1;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", "Georgia", serif;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 0.9rem;
  color: var(--ink-700);
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(245, 242, 234, 0.86);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  z-index: 20;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-mark {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.brand-text {
  color: var(--ink-900);
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--ink-700);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-900);
  margin: 4px auto;
}

.hero {
  padding: clamp(2.4rem, 5vw, 5rem) 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(1.2rem, 2.8vw, 2rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pine);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-notice {
  margin: 0.8rem 0 0;
  padding: 0.65rem 0.8rem;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(190, 58, 31, 0.08);
  color: var(--ink-900);
  font-size: 0.95rem;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(100deg, var(--accent), var(--accent-dark));
}

.btn-ghost {
  color: var(--ink-900);
  background: transparent;
  border-color: var(--ink-900);
}

.hero-card {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.hero-card li span {
  color: #cbd2e4;
}

.hero-card strong {
  text-align: right;
  font-size: 0.95rem;
}

.tiny-link {
  display: inline-block;
  margin-top: 1rem;
  color: #f7c98d;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.6rem) 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(239, 232, 217, 0.4));
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat {
  display: block;
  font-weight: 800;
  color: var(--accent-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.label {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 1.2rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(21, 24, 34, 0.08);
}

.card .muted {
  color: var(--ink-500);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  background: rgba(26, 106, 89, 0.1);
  color: var(--pine);
  padding: 0.32rem 0.55rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pills span {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink-700);
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  color: var(--ink-900);
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  background: #fffdfa;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(26, 106, 89, 0.3);
  border-color: var(--pine);
}

.site-footer {
  padding: 1.2rem 0 2.2rem;
}

.footer-wrap {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.active {
  animation: rise 600ms ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {

  .hero-grid,
  .feature-grid,
  .contact-grid,
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    display: none;
    flex-direction: column;
    min-width: 190px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
  }
}