/* ============================================================
   JWRC — Take part
   Loaded ONLY by take-part.html. Tokens, type, buttons and the
   form components come from style.css unchanged.
   ============================================================ */

/* ---------- chapter marker (shared idiom, page-local copy) ---------- */
.chapter { display: flex; align-items: baseline; gap: 22px; margin-bottom: 44px; }
.chapter .no { font-family: var(--display); font-size: clamp(36px,4.4vw,62px); font-weight: 600;
  line-height: .82; color: var(--acc); letter-spacing: -.04em; }
.chapter .lbl { font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint); }
.dark .chapter .lbl, .deep .chapter .lbl { color: rgba(252,248,240,.62); }
.chapter .rule { flex: 1; height: 1px; background: var(--line); align-self: center; }
.dark .chapter .rule, .deep .chapter .rule { background: var(--line-lt); }

/* ---------- the invitation ----------
   The crowd sits behind the words at low opacity: this page is asking the
   reader to join one, so the photograph is the argument and the type has to
   stay comfortably on top of it. */
.tp-hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background: var(--band-2);
  min-height: min(78svh, 760px);
  display: flex; align-items: center;
  padding-block: clamp(96px,11vw,140px) clamp(64px,7vw,96px);
}
.tp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.tp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.tp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(18,24,40,.94) 32%, rgba(18,24,40,.55) 78%),
    radial-gradient(90% 80% at 88% 6%, rgba(232,70,28,.24), transparent 62%);
}
.tp-hero-in { position: relative; z-index: 2; }
/* wide enough that the written line breaks are the ones that happen —
   at 15ch the middle line wrapped again and broke after "a" */
.tp-hero h1 { color: var(--ivory); max-width: 21ch; }
.tp-lede { max-width: 54ch; color: rgba(252,248,240,.82); }

/* ---------- who it is for ---------- */
.who-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2.4vw,32px);
}
.who {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--bg); box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease),
              border-color .4s var(--ease);
}
.who:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--sand-2); }
.who-shot { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3); }
.who-shot img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.94); transition: transform .9s var(--ease-out); }
.who:hover .who-shot img { transform: scale(1.05); }
.who h3 { font-size: 20px; line-height: 1.25; margin: clamp(20px,2vw,26px) clamp(20px,2vw,26px) 10px; }
.who p { margin: 0 clamp(20px,2vw,26px) clamp(22px,2.2vw,28px);
  font-size: 14.5px; line-height: 1.62; color: var(--ink-soft); }

/* ---------- the division of labour ----------
   Two columns that read as one contract. The asymmetry is the point: the
   visitor's list is deliberately three items long. */
.ledger-two {
  display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: 1px; background: var(--line-lt); border-block: 1px solid var(--line-lt);
}
.ledger-two .col { background: var(--band); padding: clamp(28px,3.4vw,52px); }
.ledger-two .col.yours { background: #1E2740; }
.ledger-two h3 {
  font-size: clamp(21px,2.1vw,29px); color: var(--ivory); margin-bottom: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.col-k {
  font: 600 11px/1 var(--body); letter-spacing: .28em; text-transform: uppercase;
}
.yours .col-k { color: var(--acc-gold); }
.ours .col-k { color: var(--acc); }
.ledger-two ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.ledger-two li {
  counter-increment: step; position: relative;
  padding: 16px 0 16px 42px; border-top: 1px solid rgba(252,248,240,.1);
  font-size: 15px; line-height: 1.6; color: rgba(252,248,240,.76);
}
.ledger-two li:first-child { border-top: 0; padding-top: 2px; }
.ledger-two li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font: 600 11px/1 var(--body); letter-spacing: .1em;
  color: rgba(252,248,240,.42); font-variant-numeric: tabular-nums;
}
.ledger-two li:first-child::before { top: 4px; }
.ledger-two li b { color: var(--ivory); font-weight: 600; }

/* ---------- the questions ---------- */
.faq { margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 clamp(32px,4vw,68px); }
.faq > div { padding: clamp(22px,2.4vw,30px) 0; border-top: 1px solid var(--line); }
.faq dt {
  font-family: var(--display); font-weight: 600; font-size: clamp(17px,1.5vw,20px);
  line-height: 1.3; color: var(--ink); margin-bottom: 10px;
}
.faq dd { margin: 0; font-size: 14.5px; line-height: 1.66; color: var(--ink-soft); }

/* ---------- start ---------- */
.start-grid {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(36px,5vw,84px); align-items: start;
}
.start-say h2 { color: var(--ivory); }
.start-say .lede { color: rgba(252,248,240,.78); max-width: 42ch; }

.reach { list-style: none; margin: 0; padding: 0; }
.reach li { padding: 16px 0; border-top: 1px solid rgba(252,248,240,.12);
  display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 14px; align-items: baseline; }
.reach-k { font: 600 10.5px/1.6 var(--body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--acc-gold); }
.reach a, .reach-p { font-size: 15.5px; color: rgba(252,248,240,.86); margin: 0;
  overflow-wrap: anywhere; }
.reach a { display: inline-flex; align-items: center; min-height: max(24px, var(--tap-min));
  transition: color .3s var(--ease); }
.reach a:hover { color: var(--acc); }

/* ---------- the form ---------- */
.start-form {
  background: rgba(252,248,240,.035); border: 1px solid rgba(252,248,240,.12);
  border-radius: 5px; padding: clamp(24px,3vw,40px);
}
.field .opt { font-weight: 500; letter-spacing: .1em; color: rgba(252,248,240,.42); }

/* the radio row: a real radiogroup, styled as chips so it is one tap */
.pick { border: 0; padding: 0; margin-bottom: 20px; }
.pick legend {
  padding: 0; font: 600 10.5px/1 var(--body); letter-spacing: .17em;
  text-transform: uppercase; color: rgba(252,248,240,.7); margin-bottom: 12px;
}
.pick-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pick-row label { position: relative; }
/* the input stays in the accessibility tree and keeps its own focus ring */
.pick-row input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.pick-row span {
  display: inline-flex; align-items: center; min-height: max(40px, var(--tap-min));
  padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(252,248,240,.22); background: transparent;
  font: 600 12.5px/1 var(--body); color: rgba(252,248,240,.78);
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease);
}
.pick-row input:hover + span { border-color: rgba(252,248,240,.45); }
.pick-row input:checked + span {
  /* --flame-btn, not --flame: white on the display flame is 3.94:1, which is
     the exact reason the palette carries a second weight of the same hue for
     white text. This chip was the one place still using the wrong one. */
  background: var(--flame-btn); border-color: var(--flame-btn); color: #fff;
}
.pick-row input:focus-visible + span {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* The honeypot. Taken out of the layout entirely rather than given
   display:none, because some form bots skip anything display:none carries
   and fill in everything else. The markup keeps it away from people —
   tabindex="-1" so no keyboard reaches it, aria-hidden so no screen
   reader announces it. */
.hp {
  position: absolute !important;
  left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}

.send-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.send-note {
  margin: 16px 0 0; font-size: 13px; line-height: 1.6;
  color: rgba(252,248,240,.7); max-width: 52ch;
}
.send-note a {
  color: var(--acc-gold); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.send-note a:hover { color: var(--ivory); }
/* The consent line, set apart from the reassurance above it. One is a
   promise about how we behave; this is the notice the law asks for, and
   running the two together as one paragraph would let the second hide
   inside the first. Kept at .62 rather than lower — a consent notice
   nobody can read is not a consent notice. */
.send-note.consent {
  margin-top: 15px; padding-top: 15px;
  border-top: 1px solid rgba(252,248,240,.14);
  color: rgba(252,248,240,.62);
}

/* The reference the server hands back once an enquiry is stored. Somebody
   reads this out on the phone, so it is monospaced and selects in one
   click. */
.form-ref {
  display: inline-block; margin-top: 6px;
  font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em; color: var(--ivory);
  background: rgba(252,248,240,.1); border: 1px solid rgba(252,248,240,.2);
  border-radius: 4px; padding: 8px 10px;
  user-select: all;
}
.form-status {
  margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--acc-gold);
  min-height: 1.55em;
}
.form-status.err { color: #FFAF9B; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  body .who-grid { grid-template-columns: 1fr 1fr; }
  body .start-grid { grid-template-columns: 1fr; }
  body .ledger-two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body .who-grid { grid-template-columns: 1fr; }
  body .faq { grid-template-columns: 1fr; }
  body .two { grid-template-columns: 1fr; }
  body .tp-hero { min-height: auto; }
  body .send-row .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .who, .who-shot img { transition: none; }
}
