:root {
  --cream: #fff8ea;
  --paper: #fffdf7;
  --blue: #071f3a;
  --green: #2d4b1f;
  --brown: #4a2b18;
  --soft-border: #e6d5b7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--brown);
  background: linear-gradient(#fffdf7, var(--cream));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  padding: .5rem;
  z-index: 10;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
  text-align: center;
}

.gateway {
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
  background: url('../img/banner.png') center center / cover no-repeat;
  border-radius: 24px;
}

.section-title {
  color: var(--blue);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  margin: 0 0 1rem;
}

.trail-art-nav {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 1.4rem;
  display: flex;
  justify-content: center;
}

.nav-art {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  margin: 0 auto;
}

.trail-card-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.trail-card {
  display: block;
  min-height: 130px;
  padding: 1.2rem 1rem;
  color: var(--brown);
  text-decoration: none;
  background: rgba(255, 253, 247, .86);
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(74, 43, 24, .08);
}

.trail-card h2 {
  color: var(--green);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1;
  margin: 0 0 .45rem;
}

.trail-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.trail-card {
  transition: transform .18s ease, background .18s ease;
}

.trail-card:hover,
.trail-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 253, 247, .92);
}

.hero,
.site-footer {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  padding: 3rem 1.5rem;
  border: 1px solid var(--soft-border);
  border-radius: 28px;
  background: rgba(255, 253, 247, .86);
  box-shadow: 0 20px 60px rgba(74, 43, 24, .08);
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  color: var(--blue);
  line-height: 1;
  margin: 0 0 1rem;
}

.hero h2 {
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  margin: .35rem 0 1rem;
}

p {
  font-size: 1.12rem;
  line-height: 1.65;
}

.site-footer {
  text-align: center;
  border-top: 1px solid var(--soft-border);
  padding: 2rem 1rem 3rem;
}


.bird-call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 0 auto 1.25rem;
  padding: .75rem 1.15rem;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: bold;
  background: rgba(255, 253, 247, .9);
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(74, 43, 24, .08);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.bird-call-button:hover,
.bird-call-button:focus-visible {
  transform: translateY(-2px);
  background: var(--paper);
}

.footer-logo {
  display: block;
  width: min(380px, 82vw);
  height: auto;
  margin: 0 auto 1rem;
}

@media (max-width: 760px) {
  .trail-card-nav {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: .5rem .75rem 0;
  }

  .gateway {
    padding: 1.5rem .75rem 1.25rem;
  }

  .trail-art-nav {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    margin: 1rem;
    padding: 2rem 1rem;
  }
}
