:root {
  --ink: #221e17;
  --ink-soft: #5c5346;
  --ink-faint: #8c8271;

  --paper: #f5f1e6;
  --surface: #fffdf8;
  --rule: #e3dac3;

  --forest: #33503f;
  --forest-dark: #223729;
  --gold: #a3813f;
  --gold-light: #cdac6c;

  --link: var(--forest);
  --link-hover: var(--forest-dark);

  --content-width: 800px;
  --content-pad: max(1.5rem, calc((100% - var(--content-width)) / 2));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  text-wrap: pretty;
  background-color: var(--paper);
  font-family: "Verdana", "Helvetica", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* Site navigation */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--surface);
  border-top: 4px solid var(--forest);
  border-bottom: 1px solid var(--rule);
}

.site-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem var(--content-pad);
}

.site-nav__brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav__brand:hover {
  color: var(--forest);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-nav__link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--forest);
}

.site-nav__link--current {
  color: var(--forest);
}

.site-nav__toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  padding: 0.4rem 0.1rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  cursor: pointer;
}

.site-nav__toggle:hover {
  color: var(--forest);
}

.site-nav__toggle-icon,
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
}

.site-nav__toggle-icon {
  position: relative;
  transition: background-color 0.15s ease;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition:
    transform 0.15s ease,
    top 0.15s ease;
}

.site-nav__toggle-icon::before {
  top: -6px;
}

.site-nav__toggle-icon::after {
  top: 6px;
}

.site-nav--open .site-nav__toggle-icon {
  background-color: transparent;
}

.site-nav--open .site-nav__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-nav--open .site-nav__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__toggle-icon,
  .site-nav__toggle-icon::before,
  .site-nav__toggle-icon::after {
    transition: none;
  }
}

/* Hero */

.hero-section {
  --hero-image: url(images/sunset_hero.webp);
  width: 100%;
  min-height: 440px;
  background-image:
    linear-gradient(
      to right,
      rgba(17, 20, 15, 0.74) 0%,
      rgba(17, 20, 15, 0.42) 55%,
      rgba(17, 20, 15, 0.14) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 3.5rem;
  padding-inline: var(--content-pad);
  text-align: left;
}

.hero-section--creek {
  --hero-image: url(images/scouts_creek_crossing.webp);
}

.hero-section--camping {
  --hero-image: url(images/camping_hero.webp);
}

.hero-section--summer-camp {
  --hero-image: url(images/summer_camp_hero.webp);
  background-position: center 30%;
}

.hero-section--leaders {
  --hero-image: url(images/leaders_hero.webp);
}

.hero-section--parents {
  --hero-image: url(images/parents_hero.webp);
}

.hero-section__text {
  color: white;
  margin: 0;
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 680px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-section__subtext {
  color: rgba(255, 255, 255, 0.92);
  margin: 0.85rem 0 0;
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-section__cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.85rem;
  padding: 0.75rem 2.1rem;
  background-color: var(--gold-light);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.1s ease;
}

.hero-section__cta:hover {
  background-color: var(--forest);
  color: white;
  border-color: var(--forest);
}

.hero-section__cta:active {
  transform: translateY(1px);
}

/* Fact strip */

.fact-strip {
  background-color: var(--forest-dark);
}

.fact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  padding-inline: var(--content-pad);
}

.fact-strip__item {
  flex: 1 1 160px;
  padding: 0.35rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.fact-strip__item:first-child {
  border-left: none;
  padding-left: 0;
}

.fact-strip__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.fact-strip__value {
  display: block;
  margin-top: 0.3rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

/* Content sections */

.content-section {
  background-color: var(--surface);
  padding-block: 3.5rem;
  padding-inline: var(--content-pad);
}

.content-section--tint {
  background-color: var(--paper);
}

.content-section__title {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.content-section__subtitle {
  color: var(--ink-soft);
  font-style: italic;
  text-transform: capitalize;
}

.content-section__text p {
  margin: 1rem 0;
}

.content-section__text p:first-child {
  margin-top: 0;
}

.content-section ul,
.content-section ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.content-section li {
  margin: 0.5rem 0;
}

.content-section li::marker {
  color: var(--gold);
}

a {
  color: var(--link);
  text-decoration-color: rgba(51, 80, 63, 0.35);
  text-underline-offset: 2px;
  transition:
    color 0.15s ease,
    text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

/* Topic card grid (used where several short topics sat as separate stacked sections) */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.topic-card {
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.75rem;
}

.topic-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.topic-card__text p {
  margin: 0.75rem 0;
  font-size: 0.97rem;
}

.topic-card__text p:first-child {
  margin-top: 0;
}

/* Link cards (photo tiles) */

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition:
    box-shadow 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
}

.link-card:hover {
  box-shadow: 0 12px 28px rgba(34, 30, 23, 0.1);
  border-color: var(--forest);
  transform: translateY(-2px);
  color: var(--ink);
}

.link-card__image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background-color: var(--rule);
}

.link-card__label {
  padding: 0.8rem 1rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-top: 1px solid var(--rule);
}

/* Contact */

.contact-info {
  margin-top: 1.4rem;
  font-style: normal;
}

.contact-info p {
  margin: 0.25rem 0;
}

.contact-info__name {
  margin-bottom: 0.5rem !important;
  font-weight: 600;
}

/* Footer */

.site-footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding-block: 2.75rem;
  padding-inline: var(--content-pad);
  text-align: center;
}

.site-footer__brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
}

.site-footer__follow {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.site-footer__follow-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer__social {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration-color: rgba(255, 255, 255, 0.32);
}

.site-footer__social:hover {
  color: white;
  text-decoration-color: currentColor;
}

.site-footer__meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__links {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
  }

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

  .site-nav__links .site-nav__link {
    padding: 0.7rem 0;
    border-top: 1px solid var(--rule);
  }

  .hero-section {
    padding-block: 2.5rem;
    min-height: 380px;
  }

  .hero-section__text {
    font-size: 2.8rem;
  }

  .content-section {
    padding-block: 2.5rem;
  }

  .fact-strip__inner {
    flex-direction: column;
  }

  .fact-strip__item {
    flex: 0 1 auto;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.75rem 0;
    text-align: left;
  }

  .fact-strip__item:first-child {
    border-top: none;
    padding-top: 0;
  }
}
