/* /join: the Stoolmate recruitment page. Builds on styles.css (header, lacquer panels, steps, footer). */
.j-hero { min-height: 0; padding-block: 64px 88px; overflow: hidden; }
.j-hero .drum { right: -30%; opacity: .12; }
.j-hero-grid { position: relative; z-index: 1; width: 100%; display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .j-hero-grid { grid-template-columns: 1.4fr 1fr; } }
.j-hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); margin-top: 14px; letter-spacing: -.015em; }
.j-hero h1 span { display: block; }
.j-hero h1 .l2 { color: var(--son); font-style: italic; }
.j-facts { margin: 0; display: grid; gap: 14px; }
.j-facts div { display: grid; grid-template-columns: 4.2rem 1fr; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.j-facts dt { font: 700 2.6rem/1 var(--font-display); color: var(--son); }
.j-facts dd { margin: 0; color: var(--ink-soft); }

.nav > a.j-cta { text-decoration: none; }
.nav > a.j-cta::after { display: none; }
@media (max-width: 900px) { .nav > a.j-cta { display: inline-flex; } }
.j-lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 38px; background: var(--paper); }
.j-lang button { border: 0; background: none; padding: 0 12px; font: 600 .82rem var(--font-mono); cursor: pointer; color: var(--ink-soft); }
.j-lang button[aria-pressed="true"] { background: var(--ink); color: var(--concrete); }

.j-two { display: grid; gap: 48px; }
@media (min-width: 900px) { .j-two { grid-template-columns: 1fr 1fr; gap: 64px; } }
.j-h2 { font-size: clamp(2rem, 4.8vw, 3.1rem); margin: 8px 0 20px; color: var(--ink); }
.j-h2.gold { color: var(--son); }
.j-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--ink-soft); }
.j-list li { position: relative; padding-left: 28px; }
.j-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: .85rem; height: .85rem; background: var(--son); -webkit-mask: url(sun.svg) center / contain no-repeat; mask: url(sun.svg) center / contain no-repeat; }
.j-list b { color: var(--ink); }

/* ---------- Form ---------- */
.j-apply { background: var(--paper); }
.j-form { display: grid; gap: 22px; max-width: 52rem; }
.j-form fieldset { border: 0; border-top: 3px solid var(--ink); margin: 0; padding: 16px 0 0; display: grid; gap: 14px; min-width: 0; }
.j-form legend { font: 700 1.45rem/1.1 var(--font-display); padding: 0 10px 0 0; }
.j-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.j-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.j-form input:not([type="checkbox"]), .j-form textarea {
  font: inherit; color: inherit; width: 100%; padding: 11px 13px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--concrete);
}
.j-form textarea { resize: vertical; }
.j-form input:focus, .j-form textarea:focus { outline: 3px solid var(--stool-blue); outline-offset: 1px; border-color: transparent; }
.j-q { font-weight: 500; font-size: .95rem; }
.j-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -6px; }
.j-chips label { display: inline-flex; position: relative; }
.j-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.j-chips span { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; background: var(--concrete); transition: background .15s, color .15s, border-color .15s; }
.j-chips input:checked + span { background: var(--son); border-color: var(--son); color: #fff; }
.j-chips input:focus-visible + span { outline: 3px solid var(--stool-blue); outline-offset: 2px; }
.j-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; }
.j-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--son); flex: none; }
.j-consent { display: grid; gap: 10px; }
.j-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.j-err { color: var(--son); font-weight: 600; min-height: 1.4em; }
.j-submit { justify-self: start; font-size: 1.05rem; }
.j-submit[disabled] { opacity: .6; cursor: progress; }
.j-done { max-width: 40rem; display: grid; gap: 14px; justify-items: start; padding: 28px; border-radius: 18px; background: var(--concrete); border: 2px solid var(--ink); }
.j-done h3 { font-size: 2.1rem; }
.j-star { font-size: 2.4rem; color: var(--son); line-height: 1; }
.j-id { font: 600 1.05rem var(--font-mono); background: var(--gold); color: var(--ink); padding: 2px 8px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.j-qs { display: grid; gap: 10px; max-width: 52rem; }
.j-qs details { background: var(--paper); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.j-qs summary { cursor: pointer; font-weight: 700; }
.j-qs details p { margin-top: 8px; color: var(--ink-soft); }
footer a { color: var(--cream); }
