/* v2.12 /join landing page (custom-join.hbs). Tangle's /join layout in Grove brand v2. */
.join-body { background: #F8F6F2; }
.join-skip { position: absolute; top: 1.25rem; right: 1.5rem; z-index: 5; background: #fff; border: 1px solid var(--line); padding: .5rem .9rem; font-size: .88rem; font-weight: 600; color: #1B1B1B; }
.join-skip:hover { text-decoration: none; border-color: var(--maroon); color: var(--maroon); }

.join { max-width: 1320px; margin: 0 auto; padding: 4.5rem 1.5rem 2rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .45fr); gap: 3rem; align-items: start; }
@media (max-width: 1100px) { .join { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } .join__always { display: none; } }
@media (max-width: 800px) { .join { grid-template-columns: 1fr; padding-top: 4rem; gap: 2.5rem; } }

.join__eyebrow { display: flex; gap: 1.5rem; margin: 0 0 .5rem; }
.join__eyebrow .label { margin: 0; color: var(--maroon); }
.join__mark { margin: 0 0 1.75rem; font-family: 'Unbounded', var(--font); font-weight: 800; color: var(--maroon); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }

.join__headline { margin: 0 0 1rem; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; color: var(--maroon); }
.join__lede { margin: 0 0 2rem; font-size: 1.08rem; line-height: 1.65; color: #4A4434; max-width: 40rem; }
.join__hl { color: #1B1B1B; font-weight: 800; box-shadow: inset 0 -.35em 0 rgba(128,0,0,.14); }

.join__proof { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.1rem; }
.join__faces { display: flex; }
.join__faces span { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid #F8F6F2; margin-left: -10px; background: var(--maroon); }
.join__faces span:first-child { margin-left: 0; }
.join__faces img { display: block; height: 100%; width: auto; max-width: none; transform: translateX(-62%) scale(1.9); transform-origin: 70% 55%; }
.join__count { background: var(--maroon); color: #fff; font-weight: 800; font-size: 1.5rem; padding: .1rem .6rem; letter-spacing: -.02em; }
.join__proof-text { font-weight: 600; color: #1B1B1B; }

.join__form { display: flex; flex-wrap: wrap; gap: .5rem; background: #ECE6DC; padding: .5rem; max-width: 40rem; }
.join__form input { flex: 1 1 220px; min-width: 0; padding: .8rem 1rem; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: #1B1B1B; }
.join__form input:focus { outline: 2px solid var(--maroon); outline-offset: -1px; }
.join__btn { flex: 0 1 220px; background: var(--maroon); color: #fff; border: 0; font: inherit; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .8rem 1.5rem; cursor: pointer; }
.join__btn:hover { background: var(--maroon-dark); }
.join__msg { display: none; flex-basis: 100%; margin: .25rem 0 0; background: #fff; padding: 1rem 1.25rem; text-align: center; font-size: 1rem; color: #1B1B1B; }
.join__form.success .join__msg--success, .join__form.error .join__msg--error { display: block; }
.join__form.success input, .join__form.success .join__btn { display: none; }
.join__form.loading .join__btn { opacity: .6; pointer-events: none; }
.join__form--member { padding: 1rem 1.25rem; font-weight: 600; }
.join__form--member p { margin: 0; }

.join__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin-top: 2.25rem; max-width: 40rem; }
@media (max-width: 520px) { .join__stats { grid-template-columns: 1fr; } }
.join__stats > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.join__stat { margin: 0 0 .25rem; font-family: var(--mono); font-weight: 500; font-size: .98rem; color: #1B1B1B; }
.join__stat-sub { margin: 0; color: #4A4434; font-size: .92rem; }

/* phone with the latest issue, live from {{#get}} */
.join__phone-wrap { display: flex; justify-content: center; }
.join__phone { position: relative; width: 100%; max-width: 380px; aspect-ratio: 9 / 18.5; background: #1B1B1B; border-radius: 48px; padding: 14px; box-shadow: 0 30px 60px rgba(80,0,0,.18); }
.join__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 38%; height: 26px; background: #1B1B1B; border-radius: 0 0 16px 16px; z-index: 2; }
.join__screen { height: 100%; background: #fff; border-radius: 36px; overflow-y: auto; padding: 2.75rem 1.25rem 1.5rem; scrollbar-width: none; }
.join__screen::-webkit-scrollbar { display: none; }
.join__issue-title { margin: 0 0 .5rem; text-align: center; font-size: 1.35rem; line-height: 1.2; color: var(--maroon); }
.join__issue-meta { margin: 0 0 1rem; text-align: center; font-size: .72rem; color: #4A4434; line-height: 1.6; }
.join__issue-meta a { text-decoration: underline; }
.join__issue-img { display: block; width: 100%; margin: 0 0 1rem; }
.join__issue-body { font-size: .78rem; line-height: 1.6; }
.join__issue-body h2 { font-size: 1rem; margin: 1.25rem 0 .4rem; }
.join__issue-body h3 { font-size: .9rem; }
.join__issue-body blockquote { font-size: .85rem; }
.join__issue-body > * { margin-bottom: .8rem; }
.join__issue-body .kg-width-wide, .join__issue-body .kg-width-full { width: 100%; left: 0; transform: none; }

.join__always { padding-top: 14rem; }
.join__always-title { margin: 0 0 1.25rem; font-size: 1.6rem; font-weight: 800; color: var(--maroon); letter-spacing: -.02em; }
.join__always-item { margin: 0; padding: 1.4rem 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 1rem; color: #1B1B1B; }

/* recent conversations, real episode thumbnails */
.join__guests { max-width: 1320px; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.join__guests .label { color: var(--maroon); }
.join__guest-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .join__guest-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .join__guest-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.join__guest-row a { display: flex; flex-direction: column; gap: .5rem; color: #1B1B1B; font-size: .84rem; font-weight: 600; line-height: 1.35; }
.join__guest-row a:hover { color: var(--maroon); text-decoration: none; }
.join__guest-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-top: 4px solid var(--maroon); }

/* v2.17: phone pass — Subscribe button as wide as the email field */
@media (max-width: 680px) {
    .join__form { flex-direction: column; align-items: stretch; }
    .join__form input { flex: none; width: 100%; }
    .join__btn { flex: none; width: 100%; justify-content: center; }
}
