/* src/assets/css/membership.css
   /pricing/ is the free way in: add a club, or correct an entry.
   (Until Nov 2026 this page sold club membership; the file keeps its name.)
   Type-first, broadsheet calm: racing green, big Garamond, hairline rules.
   (advertise.njk keeps the old pricing.css; this page has its own sheet.) */

.mb {
  --mb-frame: 1200px;
  --mb-gutter: clamp(1.25rem, 4vw, 2rem);
  --mb-section: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--paper);
  color: var(--ink-700);
}

.mb-frame {
  max-width: var(--mb-frame);
  margin: 0 auto;
  padding-left: var(--mb-gutter);
  padding-right: var(--mb-gutter);
}

.mb-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin: 0 0 1rem;
}

.mb h1, .mb h2 { font-family: "EB Garamond", Georgia, serif; font-weight: 550; letter-spacing: -0.015em; }

/* --------------------------------------------------------------------------
   Hero — racing green, type does the work
   -------------------------------------------------------------------------- */
.mb-hero {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
    radial-gradient(130% 100% at 50% 0%, var(--teal-700) 0%, var(--teal-900) 80%);
  color: #fff;
}
.mb-hero-inner { padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.mb-hero .mb-crumbs { margin: 0 0 2.5rem; font-family: var(--font-display); font-size: 0.8rem; }
.mb-hero .mb-crumbs a { color: rgba(255,255,255,.66); text-decoration: none; }
.mb-hero .mb-crumbs a:hover { color: #fff; text-decoration: underline; }
.mb-hero .mb-crumbs span { color: rgba(255,255,255,.4); margin: 0 0.5rem; }
.mb-hero .mb-eyebrow { color: var(--mint-300); }
.mb-hero h1 {
  font-size: clamp(2.9rem, 7vw, 5rem);
  line-height: 1.02;
  color: #fff;
  margin: 0 0 1.4rem;
  max-width: 16ch;
  text-wrap: balance;
}
.mb-hero-sub {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  max-width: 44ch;
  margin: 0;
}
.mb-hero-rule { border: 0; border-bottom: 3px double var(--gold-400); opacity: 0.75; margin: 0; }

/* --------------------------------------------------------------------------
   Section scaffolding — asymmetric spreads
   -------------------------------------------------------------------------- */
.mb-section { padding-top: var(--mb-section); padding-bottom: var(--mb-section); }
.mb-section + .mb-section { border-top: 1px solid var(--line-200); }
.mb-wash { background: var(--wash-050); border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); }
.mb-wash + .mb-section { border-top: none; }

.mb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem clamp(3rem, 7vw, 6.5rem); align-items: start; }
.mb-split h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  color: var(--ink-900);
  margin: 0;
  text-wrap: balance;
}
.mb-copy { font-family: "EB Garamond", Georgia, serif; font-size: 1.2rem; line-height: 1.7; }
.mb-copy p { margin: 0 0 1.2rem; }
.mb-copy p:last-child { margin-bottom: 0; }
.mb-copy strong { color: var(--ink-900); }
.mb-copy a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   The two routes: add a club, or correct one
   -------------------------------------------------------------------------- */
.mb-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem clamp(3rem, 7vw, 6.5rem); }
/* Columns: the copy takes the slack so the two buttons sit on one line. */
.mb-route { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--ink-900); padding-top: 1.6rem; scroll-margin-top: 7rem; }
.mb-route .mb-eyebrow { color: var(--teal-700); }
.mb-route h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  color: var(--ink-900);
  margin: 0 0 1rem;
}
.mb-route p:not(.mb-eyebrow) {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0 0 1.9rem;
  max-width: 40ch;
  flex: 1;
}

.mb-btn {
  display: inline-block;
  background: var(--teal-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.15rem 2.6rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.mb-btn:hover { background: var(--mint-400); color: var(--ink-900); text-decoration: none; }
.mb-btn-quiet { background: transparent; color: var(--teal-700); box-shadow: inset 0 0 0 1.5px var(--teal-700); }
.mb-btn-quiet:hover { background: var(--teal-700); color: #fff; }

.mb-routes-after {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  max-width: 62ch;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.7;
}
.mb-routes-after a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .mb-split, .mb-routes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .mb-btn { display: block; align-self: stretch; text-align: center; }
}
