:root {
  --background: #f4f1e8;
  --surface: #ffffff;
  --text: #172019;
  --muted-text: #536057;
  --forest: #234d32;
  --forest-dark: #173522;
  --border: #d7d9d1;
  --content-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem max(1.5rem, calc((100% - var(--content-width)) / 2));
  background: var(--forest-dark);
  color: white;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding: 4rem 1.5rem;
  background:
    linear-gradient(rgb(15 35 23 / 50%), rgb(15 35 23 / 50%)),
    url("/images/marys-peak.jpeg") center / cover;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 750px;
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.25rem, 7vw, 4.2rem);
  line-height: 1.05;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1rem, 6.5vw, 3.2rem);
  }

  .hero-title-line {
    white-space: normal;
  }
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-accent {
  margin-top: 0.25rem;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.25rem;
  background: white;
  color: var(--forest-dark);
  font-weight: 700;
  text-decoration: none;
}

.content-section {
  width: min(var(--content-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
}

.card h3 {
  margin-top: 0;
}

.social-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(23 53 34 / 10%);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 700;
}

footer {
  padding: 2rem;
  background: var(--forest-dark);
  color: white;
  text-align: center;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

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