/**
 * Commerce lane, rebuild 2026-11-13.
 * Ambassador join page (earn first), the consent checkboxes shared by the join
 * page and The Cast, and the photo field on the review screen.
 * A separate file on purpose so this lane never edits theme.css.
 * Loaded only on /ambassadors/, /cast/ and the review screen (inc/ambassador.php).
 */

.aj { --aj-ink:#16161a; --aj-bone:#f3ecdb; --aj-gold:#c9a24b; --aj-mute:#a8a090; --aj-line:#2f2f36; --aj-panel:#1c1c20; color: var(--aj-bone); }
.aj-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.aj-wrap--narrow { max-width: 680px; }
.aj-gold { color: var(--aj-gold); }
.aj-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--aj-gold); margin-bottom: 14px; }

/* first screen: the whole deal, plainly */
.aj-hero { padding: calc(var(--header-h) + 40px) 0 40px; text-align: center; } /* clears the fixed header (eyebrow sat under it) */
.aj-hero h1 { font-size: clamp(32px, 6.4vw, 60px); line-height: 1.04; margin: 0 0 28px; text-wrap: balance; }
.aj-steps { list-style: none; margin: 0 auto 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--aj-line); border: 1px solid var(--aj-line); max-width: 960px; text-align: left; counter-reset: aj; }
.aj-steps li { background: var(--aj-panel); padding: 20px 18px; counter-increment: aj; }
.aj-steps li::before { content: "0" counter(aj); display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--aj-gold); margin-bottom: 8px; }
.aj-steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.aj-steps span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--aj-mute); }
.aj-ladder { display: flex; justify-content: center; gap: 10px; margin: 0 auto 14px; flex-wrap: wrap; }
.aj-ladder div { min-width: 112px; padding: 12px 14px; border: 1px solid var(--aj-line); border-radius: 2px; }
.aj-ladder b { display: block; font-size: 24px; color: var(--aj-gold); }
.aj-ladder span { font-size: 12px; color: var(--aj-mute); }
.aj-terms { font-size: 13.5px; line-height: 1.6; color: var(--aj-mute); max-width: 60ch; margin: 0 auto 22px; }

.aj-btn { display: inline-block; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; background: var(--aj-gold); color: var(--aj-ink); border: 0; border-radius: 2px; padding: 14px 22px; min-height: 44px; text-decoration: none; }
.aj-btn:hover, .aj-btn:focus-visible { filter: brightness(1.08); }
.aj-btn:focus-visible { outline: 2px solid var(--aj-bone); outline-offset: 2px; }
.aj-btn[disabled] { opacity: .6; cursor: default; }
.aj-btn--full { width: 100%; }
.aj-btn--ghost { background: transparent; color: var(--aj-bone); border: 1px solid var(--aj-line); }

.aj-sec { padding: 28px 0 44px; }
.aj-h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 18px; }

/* forms */
.aj-form { background: var(--aj-panel); border: 1px solid var(--aj-line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.aj-form h2 { font-size: 22px; margin: 0; }
.aj-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aj-form > label, .aj-row > label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--aj-mute); }
.aj-form em { text-transform: none; font-style: normal; font-weight: 400; }
.aj-form input[type=text], .aj-form input[type=email], .aj-form input[type=url] { font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--aj-bone); background: #131316; border: 1px solid var(--aj-line); border-radius: 2px; padding: 12px; width: 100%; min-height: 44px; }
.aj-form input:focus { outline: 2px solid var(--aj-gold); outline-offset: 1px; border-color: var(--aj-gold); }
.aj-faith { margin: 4px 0 0; font-size: 14.5px; color: var(--aj-bone); }
.aj-fine { font-size: 13px; line-height: 1.55; color: var(--aj-mute); margin: 0; }
.aj-fine a, .aj-terms a { color: var(--aj-gold); }
.aj-center { text-align: center; margin-top: 18px; }
.aj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aj-msg { font-size: 14.5px; line-height: 1.55; }
.aj-msg:empty { display: none; }
.aj-msg.ok { color: #b9e3a6; }
.aj-msg.err { color: #f0a493; }

/* cards: plain links, lazy images */
.aj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aj-card { display: flex; flex-direction: column; gap: 6px; color: var(--aj-bone); text-decoration: none; }
.aj-card__img { display: block; aspect-ratio: 4 / 5; background: #131316; overflow: hidden; border-radius: 2px; }
.aj-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aj-card__name { font-size: 14.5px; line-height: 1.35; }
.aj-card__price { font-size: 13px; color: var(--aj-mute); }
.aj-card:hover .aj-card__name, .aj-card:focus-visible .aj-card__name { color: var(--aj-gold); }
.aj-more-wrap { text-align: center; margin: 22px 0 0; }

/* consent checkboxes — join page and The Cast */
.par-checks { display: flex; flex-direction: column; gap: 10px; }
.par-checks .par-check,
#cast .cast-form .par-checks .par-check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #d8d1c0; cursor: pointer; }
.par-checks input[type=checkbox],
#cast .cast-form .par-checks input[type=checkbox] { width: 20px; height: 20px; min-width: 20px; margin: 2px 0 0; padding: 0; accent-color: #c9a24b; }
.par-checks code { font-family: inherit; font-weight: 700; color: #f3ecdb; background: rgba(201,162,75,.12); padding: 1px 6px; border-radius: 2px; white-space: nowrap; }

/* review screen: photo field + photos on product pages */
.par-review-photo { display: block; margin: 6px 0 4px; font-size: 14px; }
.par-review-note { font-size: 13px; color: var(--fg-muted, #a8a090); margin: 0 0 16px; }
.par-review__photo { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 4px; margin: 8px 0; }

@media (max-width: 860px) {
	.aj-steps { grid-template-columns: 1fr; }
	.aj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.aj-row { grid-template-columns: 1fr; }
	.aj-form { padding: 18px 16px; }
	.par-checks code { white-space: normal; }
}
