/* The Outing Tradition — custom theme over Bulma
   Earthy forest/moss/cream/amber system evolved from the original
   khaki-and-olive club site (deliberately NOT collegiate gold/black). */

:root {
  --forest-900: #16291d;
  --forest-700: #1f3d2b;
  --forest-500: #2e5740;
  --moss-500: #6b8f5e;
  --moss-200: #c9d6bb;
  --cream-100: #f7f3e6;
  --cream-200: #efe8d2;
  --amber-500: #d9912e;
  --amber-600: #b87618;
  --bark-700: #4a3b2a;
  --ink-900: #26261c;
  --ink-600: #565647;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background-color: var(--cream-100);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, .title {
  font-family: "Bitter", Georgia, serif;
  color: var(--forest-700);
}

/* ---------- Navbar ---------- */
.navbar.is-outing {
  background: var(--forest-700);
  border-bottom: 4px solid var(--amber-500);
}
.navbar.is-outing .navbar-item,
.navbar.is-outing .navbar-link {
  color: var(--cream-100);
  font-weight: 600;
}
.navbar.is-outing .navbar-item:hover,
.navbar.is-outing .navbar-link:hover,
.navbar.is-outing .navbar-item:focus,
.navbar.is-outing .navbar-link:focus {
  background: var(--forest-500);
  color: #fff;
}
.navbar.is-outing .navbar-brand .navbar-item {
  font-family: "Bitter", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.navbar.is-outing .navbar-brand .brand-mark {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--forest-900);
  text-align: center;
  line-height: 1.6rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.navbar.is-outing .navbar-dropdown {
  background: var(--forest-700);
  border-top: 2px solid var(--amber-500);
}
.navbar.is-outing .navbar-dropdown .navbar-item {
  color: var(--cream-100);
}
.navbar.is-outing .navbar-burger {
  color: var(--cream-100);
}
.navbar.is-outing .navbar-burger span {
  background-color: var(--cream-100);
}
.navbar.is-outing .navbar-menu.is-active {
  background: var(--forest-700);
}

/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
}
.page-hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}
.page-hero .hero-overlay {
  position: relative;
  z-index: 2;
  padding: 6.5rem 1.5rem 4.5rem;
  background: linear-gradient(180deg, rgba(22, 41, 29, 0.25) 0%, rgba(22, 41, 29, 0.78) 100%);
}
.page-hero.is-tall .hero-overlay {
  padding-top: 9rem;
  padding-bottom: 7rem;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.page-hero .hero-kicker {
  display: block;
  text-align: center;
  color: var(--amber-500);
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Text-only hero (no image) gets the contour-line motif */
.page-hero.is-contour {
  background-color: var(--forest-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%236b8f5e' stroke-opacity='0.35' stroke-width='1.5'%3E%3Cpath d='M60 210c0-83 67-150 150-150s150 67 150 150-67 150-150 150S60 293 60 210z'/%3E%3Cpath d='M95 210c0-64 51-115 115-115s115 51 115 115-51 115-115 115S95 274 95 210z'/%3E%3Cpath d='M130 218c0-44 36-84 80-84s80 36 80 80-36 84-80 84-80-36-80-80z'/%3E%3Cpath d='M165 222c0-25 20-49 45-49s45 20 45 45-20 49-45 49-45-20-45-45z'/%3E%3Cpath d='M-40 420c40-60 110-90 180-70M460 0c-40 60-110 90-180 70'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero.is-contour .hero-overlay {
  background: none;
  padding: 5.5rem 1.5rem 3.5rem;
}

/* ---------- Content ---------- */
.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  font-size: 1.1rem;
}
.article-body p.lead {
  font-size: 1.22rem;
  color: var(--ink-600);
  border-left: 4px solid var(--amber-500);
  padding-left: 1.1rem;
}
.article-body h2 {
  font-size: 1.65rem;
  margin: 2.4rem 0 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--moss-200);
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
}
.article-body p {
  margin-bottom: 1.05rem;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.2rem 1.4rem;
}
.article-body ul {
  list-style: none;
}
.article-body ul > li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
}
.article-body ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--amber-500);
  transform: rotate(45deg);
}
.article-body ol > li {
  margin-bottom: 0.55rem;
  padding-left: 0.3rem;
}
.article-body a {
  color: var(--forest-500);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--moss-500);
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: var(--amber-600);
}
.article-body strong {
  color: var(--forest-700);
}
.article-body figure.inline-photo {
  margin: 2rem 0;
  border: 1px solid var(--moss-200);
  background: #fff;
  padding: 0.6rem;
}
.article-body figure.inline-photo img {
  display: block;
  width: 100%;
}
.article-body figure.inline-photo figcaption {
  font-size: 0.85rem;
  color: var(--ink-600);
  padding-top: 0.5rem;
  text-align: center;
}

/* ---------- Explore cards (homepage) ---------- */
.explore-band {
  background: var(--cream-200);
  border-top: 1px solid var(--moss-200);
  border-bottom: 1px solid var(--moss-200);
  padding: 3.5rem 1.5rem;
}
.explore-band h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.2rem;
}
.patch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.patch-card {
  display: block;
  background: #fff;
  border: 2px solid var(--forest-700);
  box-shadow: 4px 4px 0 var(--moss-500);
  padding: 1.4rem 1.2rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.patch-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--amber-500);
}
.patch-card .patch-title {
  font-family: "Bitter", Georgia, serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--forest-700);
  margin-bottom: 0.35rem;
}
.patch-card .patch-desc {
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.45;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: var(--moss-200);
  padding: 3.5rem 1.5rem 2rem;
  border-top: 4px solid var(--amber-500);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.site-footer h4 {
  color: var(--amber-500);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.4rem;
}
.site-footer a {
  color: var(--moss-200);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .footer-legal {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(201, 214, 187, 0.25);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(201, 214, 187, 0.75);
}
.site-footer .footer-legal p {
  margin-bottom: 0.5rem;
}

/* ---------- 404 ---------- */
.lost-page {
  text-align: center;
  padding: 6rem 1.5rem;
}
.lost-page .lost-code {
  font-family: "Bitter", Georgia, serif;
  font-size: 6rem;
  font-weight: 800;
  color: var(--moss-500);
  line-height: 1;
}

@media (max-width: 768px) {
  .article-body {
    font-size: 1.03rem;
    padding: 2.2rem 1.25rem 3rem;
  }
  .page-hero .hero-overlay {
    padding: 4.5rem 1.25rem 3rem;
  }
}
