/* ══ Membership page (/membership) in Type 10. Loaded after type10.css. ══ */

.mb-eyebrow {
  font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand);
}
.mb-eyebrow--dark { color: var(--green); }

/* Hero: keep the green field and the spots counter, say what membership is */
.mb-hero { min-height: 0; padding: 150px 0 96px; }
.mb-hero-title {
  font-family: var(--cond); font-weight: 700; font-size: clamp(46px, 6.4vw, 88px); line-height: 0.95;
  text-transform: uppercase; color: #F4F0E7; margin-top: 14px; max-width: 760px; text-wrap: balance;
}
.mb-hero-sub {
  font-family: var(--sans); font-size: 19px; line-height: 1.6; color: rgba(244,240,231,0.88);
  max-width: 560px; margin-top: 20px;
}
.mb-hero .spots-counter { margin-top: 40px; }
.mb-hero .spots-number { font-family: var(--cond); font-weight: 700; }
.mb-hero .spots-label span,
.mb-hero .spots-bar-label span { font-family: var(--cond); font-weight: 600; letter-spacing: 0.06em; font-size: 15px; }
.mb-hero .spots-label { gap: 2px; }
.mb-hero .spots-label span:first-child { font-size: 22px; letter-spacing: 0.05em; color: #F4F0E7; }
.mb-hero .spots-label span:last-child { font-size: 15px; color: #E9B557; }
.mb-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.mb-btn {
  display: inline-block; text-decoration: none; white-space: nowrap;
  font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 6px; border: 1.5px solid transparent;
}
.mb-btn--light { background: #F4F0E7; color: var(--navy); border-color: #F4F0E7; }
.mb-btn--ghost { color: #F4F0E7; border-color: rgba(244,240,231,0.6); }
.mb-btn--ghost:hover { border-color: #F4F0E7; }

/* Section heads */
.mb-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 720px; }
.mb-title {
  font-family: var(--cond); font-weight: 700; font-size: clamp(38px, 4.6vw, 58px); line-height: 1;
  text-transform: uppercase; color: var(--navy);
}
.mb-lead { font-family: var(--sans); font-size: 18px; line-height: 1.55; color: var(--navy); max-width: 58ch; }

/* Why join */
.mb-why { background: #F4F0E7; padding: 96px 0; }
.mb-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; }
.mb-why-item { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.mb-why-item h3 {
  font-family: var(--cond); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy);
}
.mb-why-item p {
  font-family: var(--cond); font-weight: 600; font-size: 16px; line-height: 1.45; letter-spacing: 0.05em; text-transform: uppercase; color: var(--green);
}

/* Ways to join */
.mb-ways { background: #FFFFFF; padding: 96px 0; }
.mb-tiers {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch;
}
.mb-tier-stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mb-tier-stack .mb-tier { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 6px; align-content: center; padding: 22px 24px; }
.mb-tier-stack .mb-tier-top { grid-column: 1; grid-row: 1; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.mb-tier-stack .mb-tier-who { grid-column: 1; grid-row: 2; }
.mb-tier-stack .mb-tier-link { grid-column: 2; grid-row: 1 / 3; align-self: center; margin-top: 0; white-space: nowrap; }
.mb-tier {
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
  background: #F4F0E7; border: 1px solid rgba(19,48,73,0.12); border-radius: 8px; padding: 24px;
}
.mb-tier-top { display: flex; flex-direction: column; gap: 6px; }
.mb-tier-name {
  font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--navy);
}
.mb-tier-badge {
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--charcoal);
}
.mb-tier-link {
  margin-top: auto; text-decoration: none;
  font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green);
}
.mb-tier-link:hover { color: var(--navy); }

.mb-tier--founding { background: var(--navy); border-color: var(--navy); padding: 28px; }
.mb-tier--founding .mb-tier-name { color: #F4F0E7; font-size: 40px; }
.mb-tier--founding .mb-tier-badge { color: #E9B557; }
.mb-tier--founding .mb-btn { align-self: flex-start; margin-top: auto; }
.mb-tier-who { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--navy); margin: 0; }
.mb-tier-more { font-family: var(--sans); font-style: italic; font-size: 16px; line-height: 1.5; color: rgba(244,240,231,0.8); margin: 0; }
.mb-tier-intro { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: rgba(244,240,231,0.88); margin: 0; max-width: 46ch; }
.mb-tier-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mb-tier-list li {
  font-family: var(--sans); font-size: 16px; line-height: 1.4; color: #F4F0E7;
  padding: 10px 0; border-top: 1px solid rgba(244,240,231,0.18);
}
.mb-tier-list li:last-child { border-bottom: 1px solid rgba(244,240,231,0.18); }

.mb-public {
  margin-top: 28px; font-family: var(--sans); font-size: 17px; color: var(--navy);
}
.mb-public a {
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--green); text-decoration: none; margin-left: 6px; white-space: nowrap;
}

/* Form in Type 10: readable labels, fields and small print */
.form-intro-title { font-family: var(--cond); font-weight: 700; text-transform: uppercase; }
.fm-form-section .form-intro-body { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: rgba(244,240,231,0.82); max-width: 46ch; }
.mb-form { gap: 22px; }
.mb-form .form-field label {
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #E9B557;
}
.mb-form .form-field input, .mb-form .form-field select {
  font-family: var(--sans); font-size: 16px; font-weight: 400; color: #F4F0E7;
  background-color: rgba(244,240,231,0.06); border: 1px solid rgba(233,181,87,0.45); border-radius: 6px; padding: 14px 16px; width: 100%;
}
.mb-form .form-field input::placeholder { color: rgba(244,240,231,0.5); }
.mb-form .form-field input:focus, .mb-form .form-field select:focus { outline: none; border-color: #E9B557; box-shadow: 0 0 0 3px rgba(233,181,87,0.2); }
.mb-form .form-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #E9B557 50%), linear-gradient(135deg, #E9B557 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.mb-form .form-field select:invalid { color: rgba(244,240,231,0.5); }
.mb-form .form-field select option { color: #133049; background: #F4F0E7; }
.mb-form-submit { align-self: flex-start; cursor: pointer; margin-top: 4px; }
.mb-form-submit:hover { background: #FFFFFF; }
.mb-form .form-disclaimer { font-family: var(--sans); font-style: normal; font-size: 15px; color: rgba(244,240,231,0.65); }

@media (max-width: 1000px) {
  .mb-tiers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .mb-why, .mb-ways { padding: 72px 0; }
  .mb-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .mb-hero { padding: 120px 0 72px; }
}
@media (max-width: 560px) {
  .mb-why-item h3 { font-size: 22px; }
  .mb-why-item p { font-size: 14px; }
  .mb-tiers { grid-template-columns: minmax(0, 1fr); }
  .mb-tier { padding: 20px; }
  .mb-tier-name { font-size: 26px; }
  .mb-tier--founding .mb-tier-name { font-size: 34px; }
}
