/* ============================================================
   SB-JOIN — FMC · The Incubator · the Join / Membership page
   Brand: SUNSET BOULEVARD. Built on sb-core tokens only.
   Comedy accent (avocado) leans in for the closing band; the
   offer card is the ticket-stub, warm cream + mustard strap.
   No external images. Every graphic is CSS. transform/opacity
   only; reveals gate on html.sb-js (set by sb-join.js); the
   page reads perfectly static with JS off.
   ============================================================ */

/* ---------------- HERO ---------------- */
.jn-hero { position: relative; }
.jn-hero__ring {
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(46vw, 430px);
  pointer-events: none;
  z-index: 0;
}
.jn-hero__inner { position: relative; z-index: 1; max-width: 62ch; }
.jn-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* one notch under the cover-wordmark scale — a big statement that
     still resolves to 2–3 lines on desktop, not a tower */
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.jn-hero__bar {
  width: clamp(120px, 30vw, 220px);
  height: 8px;
  border-radius: 4px;
  margin-bottom: var(--flow);
  background: linear-gradient(
    90deg,
    var(--film) 0 33.33%,
    var(--music) 33.33% 66.66%,
    var(--comedy) 66.66% 100%
  );
}
.jn-hero__memo {
  font-style: italic;
  color: var(--ink);
}

/* ---------------- THE OFFER ---------------- */
.jn-offer__head { max-width: 52ch; }

/* the grid: hero card + two draft tiers */
.jn-tiers {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin-top: var(--flow);
}
.jn-tiers__side {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-content: start;
}
@media (max-width: 860px) {
  .jn-tiers { grid-template-columns: 1fr; }
}

/* ---- the ticket-stub membership card ---- */
.mcard {
  position: relative;
  border-radius: var(--radius-plate);
  background: var(--paper);
  border: 2px solid var(--hair);
  box-shadow: var(--shadow-plate);
  overflow: hidden;
}
/* the mustard "stub strap" down the left — ADMIT ONE, perforated */
.mcard__strap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--music);
  border-right: 2px dashed var(--ink);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.mcard__body { padding: clamp(1.5rem, 4vw, 2.4rem); padding-left: calc(2.6rem + clamp(1.25rem, 3vw, 2rem)); }
.mcard__kicker {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--music-ink);
  margin-bottom: 0.55rem;
}
.mcard__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

/* the price line — the everyday number, loud */
.mcard__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.mcard__amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 4.4rem);
  line-height: 0.9;
  color: var(--film);
  letter-spacing: -0.02em;
}
.mcard__per {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-lede);
  color: var(--ink);
}
.mcard__found {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-sm);
  color: var(--ink);
  margin-bottom: 1.2rem;
}

/* honest inclusive bullets */
.mcard__list { display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.mcard__item {
  position: relative;
  padding-left: 1.9rem;
  font-size: var(--fs-body);
  line-height: 1.5;
}
.mcard__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--tick, var(--film));
}
.mcard__item:nth-child(3n + 1) { --tick: var(--film); }
.mcard__item:nth-child(3n + 2) { --tick: var(--music); }
.mcard__item:nth-child(3n)     { --tick: var(--comedy); }
.mcard__item strong { font-weight: 600; }
.mcard__promise {
  padding-left: 1.9rem;
  font-size: var(--fs-body);
  line-height: 1.5;
}
.mcard__promise strong { color: var(--film-ink); }

/* the recommended flag riding the top-right corner */
.mcard__flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.4em 1em 0.45em;
  background: var(--film);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom-left-radius: var(--radius-plate);
}

/* ---- the smaller draft tiers ---- */
.tier {
  position: relative;
  border-radius: var(--radius-plate);
  background: var(--paper);
  border: 2px solid var(--hair);
  border-top-width: 8px;
  border-top-color: var(--ink);
  padding: clamp(1.25rem, 3vw, 1.6rem);
}
.tier--film  { border-top-color: var(--film); }
.tier--comedy{ border-top-color: var(--comedy); }
.tier__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}
.tier__amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
}
.tier--film .tier__amount  { color: var(--film-ink); }
.tier--comedy .tier__amount{ color: var(--comedy-ink); }
.tier__per { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.tier__body { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); }
.tier__draft {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}

/* ---------------- BECOME A MEMBER (action band) ---------------- */
.jn-join__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 820px) { .jn-join__grid { grid-template-columns: 1fr; } }

.jn-join__panel {
  background: rgba(243, 231, 206, 0.06);
  border: 2px solid var(--hair-cream);
  border-radius: var(--radius-plate);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.jn-join__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.jn-join__amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 0.9;
  color: var(--music);
}
.jn-join__per { font-weight: 600; color: var(--paper); font-size: var(--fs-lede); }

/* the account fold — shown when a member isn't signed in */
.jn-acct {
  margin-top: 1.2rem;
  border-top: 1px solid var(--hair-cream);
  padding-top: 1.2rem;
}
.jn-acct[hidden] { display: none; }
.jn-acct__legend {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--music);
  margin-bottom: 0.8rem;
}
.jn-field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
.jn-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--paper);
}
.jn-field input {
  min-height: 46px;
  padding: 0.6em 0.9em;
  border-radius: 8px;
  border: 2px solid var(--hair-cream);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-body);
}
.jn-field input:focus-visible {
  outline: 3px solid var(--music);
  outline-offset: 2px;
}
.jn-acct__switch {
  font-size: var(--fs-sm);
  margin-top: 0.4rem;
  color: var(--paper);
}
.jn-acct__switch button {
  color: var(--music);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px;
  padding: 0.4em;
  margin: -0.4em;
}

.jn-join__cta { margin-top: 1.3rem; }
.jn-join__btn { width: 100%; justify-content: center; }

/* the status / confirmation line */
.jn-status {
  margin-top: 1rem;
  font-size: var(--fs-body);
  line-height: 1.5;
  min-height: 1.2em;
}
.jn-status:empty { margin-top: 0; }
.jn-status--warm { color: var(--music); font-weight: 600; }
.jn-status--err  { color: var(--paper); font-weight: 500; }
.jn-status--err::before { content: "· "; color: var(--film); }

/* the "you're a member" success state */
.jn-member-badge {
  display: none;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-plate);
  background: var(--music);
  color: var(--ink);
}
.jn-member-badge.is-on { display: flex; }
.jn-member-badge__seal {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--ink) 0 22%, transparent 22% 34%, var(--ink) 34% 36%, transparent 36%),
    var(--paper);
}
.jn-member-badge__text strong { display: block; font-weight: 600; }
.jn-member-badge__text span { font-size: var(--fs-sm); }

.jn-join__nojs {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  color: var(--paper);
}
.jn-join__mode {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.75;
  color: var(--paper);
}
.jn-join__mode:empty { display: none; }

/* ---------------- FAQ (ticket-fold details) ---------------- */
.jn-faq__list { margin-top: var(--flow); display: grid; gap: 0.7rem; max-width: 760px; }
.jn-fold {
  border: 2px solid var(--hair);
  border-radius: var(--radius-plate);
  background: var(--paper);
  overflow: hidden;
}
.jn-fold[open] { border-color: var(--film); }
.jn-fold__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-lede);
  color: var(--ink);
}
.jn-fold__q::-webkit-details-marker { display: none; }
.jn-fold__q::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--film);
  border-bottom: 3px solid var(--film);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.jn-fold[open] .jn-fold__q::after { transform: rotate(-135deg); }
.jn-fold__a {
  padding: 0 1.2rem 1.2rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  max-width: 62ch;
}
.jn-fold__a strong { color: var(--film-ink); }

/* ---------------- CLOSE ---------------- */
.jn-cta__title { text-wrap: balance; }
.jn-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: var(--flow);
}
.jn-cta__mail { margin-top: 1.4rem; }
.jn-cta__mail a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------- reduced motion / static ---------------- */
.sb-static .jn-fold__q::after,
.sb-static .jn-fold[open] .jn-fold__q::after { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .jn-fold__q::after { transition: none; }
}

/* ============================================================
   reset.html — password reset. Reuses .jn-field for the inputs;
   only the status line needs anything of its own.
   ============================================================ */
.rs-msg { margin-top: 0.9rem; font-weight: 500; font-size: var(--fs-sm); min-height: 1.2em; }
.rs-msg--err { color: var(--film-ink); }
.rs-msg--ok  { color: var(--ink); }
.rs-form { max-width: 26rem; margin-top: 1.6rem; }
/* .jn-field's label is cream, which is right on join's dark plate and washed
   out on this page's cream band — restore ink contrast here only. */
.rs-form .jn-field label { color: var(--ink); }
.rs-form .btn { margin-top: 0.4rem; }

/* Honeypot — off-screen rather than display:none, because some bots skip
   hidden inputs. aria-hidden + tabindex="-1" keep it away from people. */
.jn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* The craft select and the note field, matched to .jn-field input. */
.jn-field select,
.jn-field textarea {
  min-height: 46px;
  font: inherit;
  font-size: var(--fs-sm);
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.jn-field textarea { min-height: 92px; resize: vertical; }
.jn-field select:focus-visible,
.jn-field textarea:focus-visible { outline: 3px solid var(--music); outline-offset: 2px; }
