:root {
  --forest: #123525;
  --forest-dark: #081d13;
  --gold: #d9aa4d;
  --cream: #f3efe5;
  --ink: #1a2720;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { color: var(--ink); font-family: "Mulish", sans-serif; }
h1, h2, h3 { font-family: "Cinzel", serif; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
a { color: var(--forest); }

.eyebrow {
  color: #946713;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.btn { border-radius: .2rem; font-weight: 700; }
.btn-gold { background: var(--gold); color: #142019; }
.btn-gold:hover { background: #e4b85f; color: #142019; }
.btn-outline-club { border-color: var(--forest); color: var(--forest); }
.btn-outline-club:hover { background: var(--forest); color: #fff; }

.navbar { min-height: 84px; }
.navbar > .container { position: relative; }
.navbar-brand { height: 62px; position: relative; width: 112px; }
.club-logo {
  background: #fff;
  border: 1px solid #d5dbd7;
  border-radius: .3rem;
  box-shadow: 0 .35rem .9rem rgba(0, 0, 0, .16);
  height: 146px;
  left: 0;
  object-fit: contain;
  padding: 4px;
  position: absolute;
  top: -.4rem;
  width: auto;
  z-index: 2;
}
.navbar .nav-link { color: #34433a; font-size: .9rem; font-weight: 700; }
.navbar .nav-link:hover { color: var(--forest); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; padding: .65rem; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { background: var(--forest); display: block; height: 2px; margin: 5px 0; transition: transform .15s; width: 27px; }
.mobile-menu nav { background: #fff; border: 1px solid #dfe3e0; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12); min-width: 190px; padding: .5rem; position: absolute; right: 0; top: calc(100% + .75rem); }
.mobile-menu nav a { display: block; font-weight: 700; padding: .7rem .8rem; text-decoration: none; }
.mobile-menu nav a:hover { background: var(--cream); }
.mobile-menu[open] summary span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] summary span:last-child { transform: translateY(-7px) rotate(-45deg); }

.home-hero {
  align-items: center;
  background-image: linear-gradient(90deg, rgba(4, 24, 14, .91), rgba(4, 24, 14, .25)), url("../images/hero-mountains.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: 670px;
}
.hero-content { padding-bottom: 7rem !important; padding-top: 8rem !important; }
.home-hero h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.home-hero .lead { color: #dce6df; font-size: clamp(1.05rem, 2vw, 1.35rem); margin-top: 1.5rem; }
.home-hero .eyebrow { color: #edca7c; }

.club-meta { background: #fff; }
.club-meta .row { border-left: 1px solid #e1e5e2; border-top: 1px solid #e1e5e2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.meta-item { border-bottom: 1px solid #e1e5e2; border-right: 1px solid #e1e5e2; display: flex; flex-direction: column; min-height: 110px; padding: 1.5rem; width: auto; }
.meta-item strong { font-family: "Cinzel", serif; font-size: 1.08rem; }
.meta-item span { color: #6d766f; font-size: .86rem; margin-top: .25rem; }

.content-section { padding: clamp(5rem, 9vw, 8rem) 0; }
.club-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lead-copy { color: #5f6b63; font-size: 1.08rem; line-height: 1.8; }
.activity-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.activity-list span { background: var(--cream); border-radius: 99px; color: #3c493f; font-size: .82rem; padding: .45rem .8rem; }
.section-heading { align-items: end; display: flex; gap: 3rem; justify-content: space-between; }
.section-heading > p { color: #68736b; max-width: 430px; }

.event-listing { border-color: #dfe3e0; border-radius: .25rem; overflow: hidden; }
.event-listing .card-text p { margin-bottom: 0; }
.maintainer-note { color: #7a837d; font-size: .76rem; margin: 2rem 0 0; }
.maintainer-note code { color: #59625c; }

.document-list { border-top: 1px solid #dfe3e0; }
.document-list article { align-items: center; border-bottom: 1px solid #dfe3e0; display: grid; gap: 1.5rem; grid-template-columns: 58px 1fr; padding: 1.1rem .5rem; }
.document-list h3, .document-list p { margin: 0; }
.document-list p { color: #758078; font-size: .82rem; }
.document-details { color: inherit; text-decoration: none; }
.document-details:hover h3 { color: var(--forest); text-decoration: underline; text-underline-offset: .25rem; }
.doc-icon { background: var(--forest); color: #fff; font-size: .62rem; font-weight: 800; padding: 1rem .4rem; text-align: center; text-decoration: none; }
.doc-icon:hover { background: #1d5039; color: #fff; }

.membership-section { background: var(--forest-dark); color: #fff; padding: clamp(5rem, 9vw, 8rem) 0; }
.membership-panel { align-items: center; display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1.3fr 1fr; }
.membership-section .eyebrow { color: #eac675; }
.membership-copy > p:not(.eyebrow), .payment-placeholder { color: #b9c8be; }
.dues { display: flex; gap: 2rem; margin-top: 2rem; }
.dues span { color: #c8d2cb; display: flex; flex-direction: column; font-size: .82rem; }
.dues strong { color: #fff; font-family: "Cinzel", serif; font-size: 2rem; }
.membership-actions { display: flex; flex-direction: column; gap: .75rem; }
.membership-actions .btn { align-items: center; display: inline-flex; justify-content: center; min-height: 42px; }
.external-link-icon { height: .9rem; margin-left: .35rem; width: .9rem; }
.paypal-button { align-items: center; display: inline-flex; justify-content: center; }
.paypal-button img { filter: grayscale(1); height: 1.25rem; margin-right: .15rem; width: 1.25rem; }
.payment-placeholder { font-size: .78rem; margin: .5rem 0 0; }

.site-footer { background: #06170f; color: #fff; }
.site-footer .btn-outline-light { font-weight: 400; }
.site-footer .btn-outline-light:hover { font-weight: 600; }
.footer-logo { display: inline-block; height: 135px; position: relative; width: 105px; }
.footer-logo .club-logo { border: 0; box-shadow: none; height: 135px; left: 0; position: absolute; top: 0; }

@media (max-width: 991.98px) {
  .club-meta .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .navbar { min-height: 76px; }
  .navbar-brand { height: 54px; width: 78px; }
  .navbar-brand .club-logo { height: 112px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .home-hero { min-height: 600px; }
  .hero-content { padding-bottom: 5rem !important; padding-top: 9rem !important; }
  .meta-item { min-height: 105px; padding: 1.1rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .document-list article { grid-template-columns: 48px 1fr; }
  .membership-panel { grid-template-columns: 1fr; }
}
