/* ==========================================================================
   Meta Church VR: join.html ("How to join") page extras.
   Loaded AFTER styles.css, only on join.html. Tokens only: no raw colours,
   no new font sizes. Everything is prefixed .jn- so nothing leaks.
   ========================================================================== */

/* ---------- The three steps: steps left, arch photo right ---------- */
.jn-steps { display: grid; gap: var(--gap-grid); }
.jn-steps__main, .jn-steps__figure { min-width: 0; }
.jn-steps__main .lede { margin-top: 1.4rem; }
.jn-steps .steps { margin-top: 2.75rem; }
.jn-steps .step__links { align-items: center; gap: .6rem 1.1rem; }
.jn-steps .step__links .btn { margin-right: .25rem; }

.jn-steps__figure { width: 100%; max-width: 22rem; margin: 0; justify-self: center; }
/* 4:5 arch crop of a 16:9 photo: 25% keeps the waving avatar, the fire and the red tree in frame */
.jn-steps__figure .arch { --focus-pos: 25% 50%; }
.jn-steps__figure figcaption {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
  font-size: var(--fs-300);
  line-height: 1.5;
  color: var(--fg-soft);
}
@media (min-width: 62em) {
  .jn-steps { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
  .jn-steps__figure { max-width: 26rem; justify-self: end; position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (min-width: 62em) and (max-height: 46em) {
  .jn-steps__figure { position: static; }                    /* un-stick when the arch cannot fit the viewport */
}

/* line under the no-headset cards */
.jn-after {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  max-width: 44rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg);
}
.jn-after .leaf { width: 1.1rem; height: 1.1rem; margin-top: .25em; color: var(--accent); }

/* ---------- Find us in VRChat: the identifier card ---------- */
.jn-find h2 em { color: var(--gold-soft); }

/* An opaque paper card in the family of the homepage "bulletin" countdown card */
.jn-id {
  position: relative;
  max-width: 30rem;
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 1.75rem;
  background: var(--paper);
  box-shadow: var(--shadow-dark);
}
.jn-id::before {
  /* maple ribbon, like the marker in a Bible (matches .countdown) */
  content: "";
  position: absolute;
  top: -6px; right: 2.25rem;
  width: 1.5rem; height: 2.6rem;
  background: var(--maple);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.jn-id__label {
  padding-right: 3.5rem;
  font-size: var(--fs-100);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--maple);
}
.jn-id__rows { margin: .6rem 0 0; }
.jn-id__rows > div { display: grid; gap: .15rem; padding: .85rem 0; }
.jn-id__rows > div + div { border-top: 1.5px dashed var(--line-strong); }
.jn-id__rows dt {
  font-size: var(--fs-100);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.jn-id__rows dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-600);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.jn-id__when dd { font-style: italic; font-weight: 300; }
.jn-id__foot {
  display: grid;
  gap: .85rem;
  padding-top: 1.1rem;
  border-top: 1.5px dashed var(--line-strong);
}
.jn-id__foot p { font-size: var(--fs-300); line-height: 1.5; color: var(--ink-soft); }
.jn-id__foot p a { color: var(--link); font-weight: 600; text-underline-offset: .22em; }
@media (min-width: 30em) {
  .jn-id { padding: 1.75rem 2rem 1.6rem; }
  .jn-id__rows > div { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
}

/* ---------- Weekly services: sticky intro, list on the right (as on the homepage) ---------- */
.jn-week { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.jn-week__intro, .jn-week__list { min-width: 0; }
.jn-week__intro .lede { margin-top: 1.4rem; }
.jn-week__photo { margin-top: 2.25rem; }
.jn-week__note { margin-top: 1.75rem; }
@media (min-width: 62em) {
  .jn-week { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .jn-week__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (min-width: 62em) and (max-height: 46em) {
  .jn-week__intro { position: static; }
}

/* ---------- What to expect ---------- */
.jn-expect__top { display: grid; gap: var(--gap-grid); }
.jn-expect__text { min-width: 0; }
.jn-expect__text .lede { margin-top: 1.75rem; }
.jn-expect__more { margin-top: 1.25rem; max-width: 36em; color: var(--fg-soft); }
/* the homepage snapshots sit on a dark band; on cream they become paper prints */
.jn-expect .snap { background: var(--paper); box-shadow: var(--shadow-lift); }
@media (min-width: 62em) {
  .jn-expect__top { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
}

.jn-expect__grid {
  display: grid;
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
}
.jn-expect__item { min-width: 0; padding: 1.75rem 0; border-top: 1px solid var(--rule-strong); }
.jn-expect__item h3 { display: flex; align-items: center; gap: .7rem; }
.jn-expect__item h3 .icon { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.jn-expect__item > p { margin-top: .8rem; color: var(--fg-soft); }
.jn-expect__item--note { display: grid; align-content: start; }
@media (min-width: 40em) {
  .jn-expect__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .jn-expect__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- FAQ ---------- */
.jn-faq .accordion__body a { color: var(--link); font-weight: 600; text-underline-offset: .22em; }
.jn-faq .accordion__body a:hover { text-decoration-color: var(--link-hover-line); }

/* ---------- Help strip ---------- */
.jn-help { display: grid; gap: 1.75rem 3rem; align-items: center; }
.jn-help__text, .jn-help__side { min-width: 0; }
.jn-help h2 { font-size: var(--fs-700); line-height: 1.08; }
.jn-help__text p { margin-top: 1rem; max-width: 36em; color: var(--fg-soft); }
.jn-help__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.jn-help__mail { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; color: var(--maple-deep); }
.jn-help__mail a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: .25em;
  overflow-wrap: anywhere;
}
.jn-help__mail a:hover { color: var(--maple-deep); }
@media (min-width: 56.25em) {
  .jn-help { grid-template-columns: minmax(0, 1fr) auto; }
}
