/* Join GTC — concise paths + detail modals */
.join-gtc-hero .hero-content {
  width: min(100%, 1040px);
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.join-gtc-hero .hero-content p { max-width: 780px; }
.join-gtc-hero h1 {
  max-width: none !important;
  width: max-content;
  margin-left: auto !important;
  margin-right: auto !important;
  white-space: nowrap !important;
  font-size: clamp(2.15rem, 3.4vw, 3.65rem) !important;
}

/* Join GTC uses a logo-only centered header. */
.site-header {
  justify-content: center !important;
}
.site-header .logo {
  margin-left: auto !important;
  margin-right: auto !important;
}
.site-header .nav,
.site-header .mobile-menu-toggle {
  display: none !important;
}

.join-intro {
  background: var(--warm-cream);
  padding: 58px 6%;
  text-align: center;
}
.join-intro-inner { width: min(100%, 900px); margin: 0 auto; }
.join-intro h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); margin-bottom: 16px; }
.join-intro p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin: 0 auto; max-width: 780px; }

.join-paths { background: radial-gradient(circle at 12% 18%, rgba(216, 189, 147, 0.18), transparent 32%), linear-gradient(180deg, var(--white), var(--ivory)); }
.join-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 1180px);
  margin: 0 auto;
}
.join-path-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 32px;
  background: rgba(251, 247, 239, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
  clip-path: polygon(var(--cut-large) 0, 100% 0, 100% calc(100% - var(--cut-large)), calc(100% - var(--cut-large)) 100%, 0 100%, 0 var(--cut-large));
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.join-path-card:hover { transform: translateY(-5px); border-color: rgba(184, 138, 74, .42); box-shadow: var(--shadow); }
.join-path-card::after {
  content: attr(data-number);
  position: absolute;
  top: 22px;
  right: 25px;
  font-family: var(--heading-font);
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(184, 138, 74, 0.11);
  pointer-events: none;
}
.join-path-card h3 { margin: 12px 0 18px; color: var(--slate); font-size: clamp(1.65rem, 2.25vw, 2.25rem); line-height: 1.08; font-weight: 400; }
.join-path-card p { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.join-path-card .button { margin-top: auto; align-self: flex-start; }

/* Homepage-matched footer details. */
.site-footer { background: var(--gtc-navy, #14283b) !important; }
.footer-associations {
  position: relative;
  margin-top: 22px;
  padding-top: 18px;
}
.footer-associations::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 430px);
  height: 1px;
  background: linear-gradient(90deg, rgba(216,189,147,0), rgba(216,189,147,.48) 18%, rgba(216,189,147,.48) 82%, rgba(216,189,147,0));
}
.footer-associations-title {
  margin-bottom: 11px;
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.association-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.association-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(216,189,147,.3);
  border-radius: 3px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  font-size: .72rem;
  line-height: 1;
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.footer-legal { text-align: right; }

/* Same shell and title-bar behavior as Start Planning. */
.gtc-path-modal {
  position: fixed;
  inset: 0;
  z-index: 1120;
  display: grid;
  place-items: center;
  padding: 3vh 3vw;
  background: rgba(31, 42, 47, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.gtc-path-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.gtc-path-modal-panel {
  position: relative;
  width: min(1040px, 94vw) !important;
  max-height: 92vh;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) !important;
  background: var(--ivory);
  border: 1px solid rgba(216, 189, 147, .70);
  box-shadow: 0 30px 90px rgba(18, 27, 31, .38);
  overflow: hidden;
  transform: translateY(18px) scale(.985);
  transition: transform .25s ease;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.gtc-path-modal.is-open .gtc-path-modal-panel { transform: translateY(0) scale(1); }

.gtc-path-modal-bar {
  height: 58px !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 18px 0 24px !important;
  background: var(--slate);
  color: var(--white);
  border-bottom: 1px solid rgba(216, 189, 147, .35);
}

.gtc-path-modal-title {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--white) !important;
  font-family: var(--heading-font) !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: -0.015em !important;
}

.gtc-path-modal-close {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  line-height: 1 !important;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.gtc-path-modal-close:hover { color: var(--champagne); transform: rotate(4deg); }

.gtc-path-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 24px !important;
}

.gtc-path-modal-copy {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 32px !important;
  background: linear-gradient(180deg, #fffdfa, var(--ivory));
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.gtc-path-modal-copy .section-kicker {
  margin: 0 0 10px !important;
  font-family: var(--body-font) !important;
  font-size: .68rem !important;
  line-height: 1.2 !important;
  letter-spacing: .12em !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  color: var(--soft-gold) !important;
}

.gtc-path-modal-copy h2 {
  max-width: 760px;
  margin: 0 0 12px !important;
  font-family: var(--heading-font) !important;
  font-size: clamp(1.75rem, 2.35vw, 2.1rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
  font-weight: 400 !important;
  text-wrap: balance;
}

.gtc-path-modal-copy > p,
.gtc-path-modal-copy #applicationIntro {
  max-width: 720px;
  margin: 0 !important;
  color: var(--muted);
  font-family: var(--body-font) !important;
  font-size: .94rem !important;
  line-height: 1.5 !important;
}

.gtc-path-modal-copy h3 {
  margin: 24px 0 8px !important;
  font-family: var(--body-font) !important;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  color: var(--slate);
}

.gtc-path-modal-copy ul {
  display: grid;
  gap: 10px;
  max-width: 800px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.gtc-path-modal-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-family: var(--body-font) !important;
  font-size: .94rem !important;
  line-height: 1.5 !important;
}
.gtc-path-modal-copy li::before { content: "◆"; position: absolute; left: 0; top: 3px; color: var(--soft-gold); font-size: .68rem; }

/* Local Specialist modal: slightly quieter headings and one-line partner requirement on desktop. */
#local-specialist-modal .gtc-path-modal-title {
  font-size: 1.04rem !important;
}
#local-specialist-modal .gtc-path-modal-copy h2 {
  font-size: clamp(1.65rem, 2.1vw, 1.95rem) !important;
  line-height: 1.1 !important;
}
#local-specialist-modal .gtc-path-modal-copy h3 {
  margin-top: 22px !important;
  font-size: clamp(1rem, 1.2vw, 1.12rem) !important;
  line-height: 1.25 !important;
}
@media (min-width: 941px) {
  #local-specialist-modal .gtc-path-modal-copy ul li:nth-child(3) {
    white-space: nowrap;
    font-size: .94rem !important;
    letter-spacing: -.01em;
  }
}

.gtc-path-note {
  max-width: 800px;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(216, 189, 147, .16);
  border: 0;
  border-left: 2px solid rgba(184, 138, 74, .6);
  color: var(--muted);
  font-family: var(--body-font) !important;
  font-size: .94rem !important;
  line-height: 1.5 !important;
}
.gtc-path-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Application form mirrors Start Planning fields exactly. */
#apply-modal .gtc-path-modal-copy { width: min(100%, 980px); }

#apply-modal .join-modal-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 24px !important;
}
#apply-modal .join-modal-form .full { grid-column: 1 / -1 !important; }

#apply-modal .join-modal-form label {
  display: grid !important;
  gap: 8px !important;
  color: var(--soft-gold) !important;
  font-family: var(--body-font) !important;
  font-size: .72rem !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase;
}

#apply-modal .join-modal-form input,
#apply-modal .join-modal-form select,
#apply-modal .join-modal-form textarea {
  width: 100%;
  padding: 13px 14px !important;
  border: 1px solid var(--border) !important;
  background: #fff;
  color: var(--slate);
  font-family: var(--body-font) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none;
}
#apply-modal .join-modal-form textarea { min-height: 105px !important; resize: vertical; }
#apply-modal .join-modal-form input:focus,
#apply-modal .join-modal-form select:focus,
#apply-modal .join-modal-form textarea:focus { outline: 2px solid rgba(184, 138, 74, .32); outline-offset: 1px; }

#apply-modal .application-path-box {
  grid-column: 1 / -1 !important;
  padding: 14px 16px !important;
  background: rgba(216, 189, 147, .16) !important;
  border: 1px solid var(--border) !important;
}
#apply-modal .application-path-label {
  display: block;
  margin-bottom: 5px !important;
  color: var(--soft-gold) !important;
  font-family: var(--body-font) !important;
  font-size: .68rem !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}
#apply-modal .application-path-value {
  color: var(--slate);
  font-family: var(--heading-font) !important;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
}

#apply-modal .path-fields {
  display: none;
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
#apply-modal .path-fields.is-active { display: grid !important; }
#apply-modal .path-fields .full { grid-column: 1 / -1 !important; }

#apply-modal .application-note {
  grid-column: 1 / -1 !important;
  padding: 14px 16px !important;
  border-left: 2px solid rgba(184, 138, 74, .6) !important;
  background: rgba(216, 189, 147, .16) !important;
  color: var(--muted) !important;
  font-family: var(--body-font) !important;
  font-size: .94rem !important;
  line-height: 1.5 !important;
}

.local-specialist-form .advisor-form-intro { grid-template-columns: 1fr; }
.local-specialist-form .advisor-form-pill { width: max-content; }

@media (max-width: 940px) {
  .join-gtc-hero h1 {
    width: auto;
    white-space: normal !important;
    font-size: clamp(2rem, 5.5vw, 3rem) !important;
  }
  .join-path-grid { grid-template-columns: 1fr; max-width: 680px; }
  .join-path-card { min-height: 0; }
}

@media (max-width: 820px) {
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .footer-legal { text-align: left; }
  .gtc-path-modal { padding: 0; }
  .gtc-path-modal-panel {
    width: 100vw !important;
    height: 100dvh;
    max-height: none;
    clip-path: none;
    border: 0;
    grid-template-rows: 54px minmax(0, 1fr) !important;
  }
  .gtc-path-modal-bar {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 12px 0 18px !important;
  }
  .gtc-path-modal-title { font-size: 1.02rem !important; }
  #local-specialist-modal .gtc-path-modal-title { font-size: .98rem !important; }
  .gtc-path-modal-scroll { padding: 10px !important; }
  .gtc-path-modal-copy {
    width: 100%;
    padding: 24px 18px !important;
    clip-path: none;
    box-shadow: none;
  }
  .gtc-path-modal-copy h2 { font-size: clamp(1.6rem, 6.5vw, 1.95rem) !important; }
  .gtc-path-modal-copy h3 { font-size: 1.05rem !important; }
  #local-specialist-modal .gtc-path-modal-copy h2 { font-size: clamp(1.5rem, 6vw, 1.8rem) !important; }
  #local-specialist-modal .gtc-path-modal-copy h3 { font-size: 1rem !important; }
  #local-specialist-modal .gtc-path-modal-copy ul li:nth-child(3) { white-space: normal; }
  #apply-modal .join-modal-form,
  #apply-modal .path-fields { grid-template-columns: 1fr !important; gap: 18px !important; }
  #apply-modal .join-modal-form .full,
  #apply-modal .path-fields .full,
  #apply-modal .application-path-box,
  #apply-modal .application-note { grid-column: auto !important; }
  .gtc-path-actions .button { width: 100%; text-align: center; }
}