/* ===========================================================================
   LEAD48 - relay.css

   The Regional Movement pages: /relay, /relay/<region>, /relay/baton-journey
   and /research, plus the relay section strip on /journey and /conversation.

   Mobile first. Status is always written as text (.status-tag), never carried
   by colour alone. Disclosure uses native <details>, so it is keyboard
   accessible without script. No inline styles: the CSP is style-src 'self'.
   =========================================================================== */

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1f33;
}
.section-nav a {
  color: #cbd2dc;
  font: 700 0.68rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.section-nav a:hover,
.section-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold,#e4b85d);
  text-underline-offset: 5px;
}
.section-nav a:focus-visible,
.relay-page a:focus-visible,
.relay-page summary:focus-visible {
  outline: 3px solid var(--gold,#e4b85d);
  outline-offset: 3px;
}

.relay-shell,
.relay-intro,
.relay-page .relay-block {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.relay-intro,
.region-hero {
  padding-top: 48px;
  padding-bottom: 28px;
}
.relay-intro h1,
.region-hero h1 {
  margin: 8px 0 14px;
  font: 500 clamp(2.4rem, 7vw, 4.4rem)/1 Georgia, "Times New Roman", serif;
}
.relay-page .lede {
  max-width: 62ch;
  font-size: 1.1rem;
}
.relay-block {
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line,#d9cfbf);
}
.relay-block h2 {
  margin: 6px 0 12px;
  font: 500 clamp(1.7rem, 4.5vw, 2.5rem)/1.1 Georgia, "Times New Roman", serif;
}
.relay-block h3 {
  margin: 22px 0 8px;
  font: 500 1.25rem/1.2 Georgia, "Times New Roman", serif;
}
.block-intro {
  max-width: 68ch;
  color: var(--muted,#5b656f);
}

.status-tag {
  display: inline-block;
  margin: 0 2px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 700 0.66rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.pending {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px dashed var(--line,#d9cfbf);
  color: var(--muted,#5b656f);
}
.pending .status-tag {
  color:var(--accent-text,#87401d);
}

/* --- Hero ------------------------------------------------------------------ */
.region-scope {
  font-size: 1.1rem;
  font-weight: 700;
}
.region-scope-note {
  max-width: 68ch;
  color: var(--muted,#5b656f);
  font-size: 0.9rem;
}
.region-route {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  background: var(--line,#d9cfbf);
  border: 1px solid var(--line,#d9cfbf);
}
.region-route li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
}
.region-route li[aria-current="page"] {
  background: var(--night,#07172a);
  color: #fff;
}
.region-route small {
  color:var(--accent-text,#87401d);
  font: 800 0.62rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.region-route li[aria-current="page"] small {
  color: var(--gold,#e4b85d);
}
.region-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}
.region-facts dt {
  font: 800 0.62rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.region-facts dd {
  margin: 2px 0 0;
}
.baton-received,
.baton-pair > div {
  padding: 18px;
  background: var(--night,#07172a);
  color: #fff;
}
.baton-received .eyebrow,
.baton-pair .eyebrow {
  color: var(--gold,#e4b85d);
}
.baton-received blockquote,
.baton-pair blockquote,
.baton-ledger blockquote {
  margin: 8px 0 0;
  font: 500 clamp(1.2rem, 3.5vw, 1.6rem)/1.25 Georgia, "Times New Roman", serif;
}
.baton-received .pending,
.baton-pair .pending {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}
.baton-received .pending .status-tag,
.baton-pair .pending .status-tag {
  color: var(--gold,#e4b85d);
}
.live-banner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 16px;
  border-left: 4px solid var(--gold,#e4b85d);
  background: #fff8e6;
}

/* --- Evidence ------------------------------------------------------------- */
.snapshot,
.differences,
.assumption-pairs,
.priorities,
.sdg-list,
.tensions,
.sessions,
.shift-blocks,
.outputs,
.source-list,
.research-flow,
.standards,
.status-legend,
.region-index,
.baton-ledger {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.snapshot {
  display: grid;
  gap: 12px;
}
.snapshot li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line,#d9cfbf);
}
.snapshot strong {
  font: 500 2rem/1 Georgia, "Times New Roman", serif;
  color:var(--accent-text,#87401d);
}
.evidence-cards {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.evidence-card,
.response-case {
  border: 1px solid var(--line,#d9cfbf);
  background: #fff;
}
.evidence-card > summary,
.response-case > summary,
.why > summary {
  display: grid;
  gap: 6px;
  padding: 16px;
  cursor: pointer;
}
.evidence-card > div,
.response-case > dl {
  padding: 0 16px 16px;
}
.scope {
  font-size: 0.9rem;
}
.source-refs {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
}
.differences li,
.priorities li,
.tensions li,
.sdg-list li,
.outputs li,
.source-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line,#d9cfbf);
}
.assumption-pairs li {
  display: grid;
  gap: 1px;
  margin-bottom: 12px;
  background: var(--line,#d9cfbf);
  border: 1px solid var(--line,#d9cfbf);
}
.assumption-pairs li > div {
  padding: 14px 16px;
  background: #fff;
}
.pair-label {
  display: block;
  color:var(--accent-text,#87401d);
  font: 800 0.62rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sdg-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}
.sdg-goal {
  font: 800 0.8rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.sdg-target {
  color: var(--muted,#5b656f);
  font-size: 0.88rem;
}

/* --- Programme and structure ---------------------------------------------- */
.programme-theme {
  font: 500 1.3rem/1.3 Georgia, "Times New Roman", serif;
}
.session {
  padding: 18px 0;
  border-bottom: 1px solid var(--line,#d9cfbf);
}
.session h3 {
  margin-top: 6px;
}
/* The question the session asks. It is the first thing a reader should see
   about a session, so it reads as a question rather than as a label. */
.session-question {
  margin: 4px 0 6px;
  font: 500 1.05rem/1.4 Georgia, "Times New Roman", serif;
}
/* The three-act arc, kept to one quiet line. Acts are programme logic, not
   tracks, and never become a filter or a badge. */
/* The Orbit 1 closure's surface: three beats, read left to right, then the
   one question. The working method sits behind a single disclosure below. */
.closure-arc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.closure-arc li {
  padding: 10px 12px;
  border-top: 3px solid var(--copper,#87401d);
  background: #fbf6ee;
}
.closure-arc strong {
  display: block;
  color:var(--accent-text,#87401d);
  font: 700 0.72rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
}
.closure-arc span {
  font: 500 0.98rem/1.35 Georgia, "Times New Roman", serif;
}
/* The one question a movement carries, where its programme names one. It
   sits under the three-act line and reads as a question, not a label. */
.programme-central {
  font: 500 1.05rem/1.45 Georgia, "Times New Roman", serif;
}
.programme-acts {
  color: var(--muted,#5b656f);
  font-size: 0.92rem;
}
.session-meta {
  color:var(--accent-text,#87401d);
  font: 700 0.72rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.why {
  margin-top: 8px;
  border-left: 3px solid var(--copper,#87401d);
  background: #fbf6ee;
}
.why > summary {
  padding: 10px 14px;
  font-weight: 800;
}
.why > p,
.why > ul {
  margin: 0;
  padding: 0 14px 12px 28px;
}
.why > p {
  padding-left: 14px;
}
.shift-blocks {
  display: grid;
  gap: 1px;
  background: var(--line,#d9cfbf);
  border: 1px solid var(--line,#d9cfbf);
}
.shift-blocks li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
}
.shift-blocks time,
.shift-blocks small {
  color:var(--accent-text,#87401d);
  font: 700 0.7rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.baton-pair {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

/* --- Hub, ledger, research ------------------------------------------------ */
.region-index {
  display: grid;
  gap: 10px;
}
.region-index a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 16px;
  border: 1px solid var(--line,#d9cfbf);
  color: inherit;
  text-decoration: none;
}
.region-index a:hover strong {
  text-decoration: underline;
}
.region-index-number {
  grid-row: span 3;
  font: 500 2rem/1 Georgia, "Times New Roman", serif;
  color:var(--accent-text,#87401d);
}
.baton-ledger {
  display: grid;
  gap: 12px;
}
.ledger-leg {
  padding: 16px;
  border: 1px solid var(--line,#d9cfbf);
}
.ledger-endpoint {
  background: var(--night,#07172a);
  color: #fff;
}
.ledger-meta {
  color:var(--accent-text,#87401d);
  font: 700 0.7rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.ledger-endpoint .ledger-meta {
  color: var(--gold,#e4b85d);
}
.ledger-endpoint .pending {
  color: rgba(255, 255, 255, 0.8);
}
.research-flow {
  display: grid;
  gap: 1px;
  background: var(--line,#d9cfbf);
  border: 1px solid var(--line,#d9cfbf);
  counter-reset: flow;
}
.research-flow li {
  counter-increment: flow;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
}
.research-flow li::before {
  content: counter(flow);
  color:var(--accent-text,#87401d);
  font: 800 0.7rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.standards {
  padding-left: 18px;
  list-style: disc;
}
.standards li {
  margin: 6px 0;
}
.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.research-topics {
  display: grid;
  gap: 8px;
}
.report-link {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* --- Evidence inspection --------------------------------------------------
   Each citation opens in place: what the source is, what it found, where it
   stops, and a link to the original. Built from the structured source object. */
.citations {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.cite {
  margin-top: 6px;
  border: 1px solid var(--line,#d9cfbf);
  background: #fbf8f2;
}
.cite > summary {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.88rem;
}
.cite-label {
  margin-right: 6px;
  color:var(--accent-text,#87401d);
  font: 800 0.62rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cite-body {
  padding: 0 12px 12px;
  font-size: 0.88rem;
}
.cite-title {
  font-weight: 800;
}
.cite-finding {
  padding-left: 10px;
  border-left: 3px solid var(--copper,#87401d);
}
/* The spine terms: what a region means by each word of its own spine. */
.reality-spine-terms {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}
.reality-spine-terms dt {
  font: 800 0.66rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reality-spine-terms dd {
  margin: 4px 0 0;
}
.cite-meta {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}
.cite-meta dt {
  font: 800 0.6rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cite-meta dd {
  margin: 0;
}
.evidence-card {
  padding: 16px;
}
.evidence-card h3 {
  margin-top: 0;
}
.card-detail > summary {
  cursor: pointer;
  font-weight: 700;
}
.research-focus ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.research-focus li {
  padding: 6px 12px;
  border: 1px solid var(--line,#d9cfbf);
  font-weight: 700;
}
.speakers {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}
.speaker {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line,#d9cfbf);
}

/* --- The 4P Leadership Lens ---------------------------------------------- */
.fourp-framing {
  font: 500 1.2rem/1.3 Georgia, "Times New Roman", serif;
}
.fourp-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.fourp-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line,#d9cfbf);
  background: #fff;
}
.fourp-card h3 {
  margin: 0;
}
.fourp-synthesis-question {
  margin: 0;
  color:var(--accent-text,#87401d);
  font-weight: 800;
}
.fourp-links {
  font-size: 0.88rem;
}
.fourp-positioning {
  margin: 12px 0;
  font: 500 clamp(1.1rem, 3vw, 1.4rem)/1.35 Georgia, "Times New Roman", serif;
}

/* --- Wider screens -------------------------------------------------------- */
@media (min-width: 760px) {
  .relay-shell,
  .relay-intro,
  .relay-page .relay-block {
    padding-left: 32px;
    padding-right: 32px;
  }
  .section-nav {
    padding-left: 32px;
    padding-right: 32px;
  }
  .region-route {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .region-facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .snapshot {
    grid-template-columns: repeat(3, 1fr);
  }
  .assumption-pairs li,
  .baton-pair {
    grid-template-columns: 1fr 1fr;
  }
  .shift-blocks {
    grid-template-columns: repeat(3, 1fr);
  }
  .region-index {
    grid-template-columns: 1fr 1fr;
  }
  .research-flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .fourp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .relay-page * {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
 * Progressive disclosure: simple on the surface, deep on demand.
 *
 * A disclosure is a quiet invitation, not a button and not a card. It stays
 * out of the reading rhythm until someone wants it, and it never hides
 * anything: the content is in the page whether or not it is open.
 * ------------------------------------------------------------------------ */
.deep {
  margin: 14px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  padding-top: 10px;
}
.deep > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 0.78rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper, #9a5b2c);
  padding: 6px 0;
}
.deep > summary::-webkit-details-marker { display: none; }
.deep > summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.35em;
  height: 1.35em;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.9em;
  line-height: 1;
}
.deep[open] > summary::before { content: "–"; }
.deep > summary:hover,
.deep > summary:focus-visible { text-decoration: underline; }
.deep-body { margin-top: 12px; }

/* The baton as movement: three steps, read in order. */
.baton-movement {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.baton-movement li {
  padding-left: 18px;
  border-left: 3px solid var(--copper, #9a5b2c);
}

/* Orbit 2, the global convergence programme. It reuses the programme
   vocabulary of a regional movement: an arc, then inquiries, then the
   conversations that carry them. */
.convergence-question { font: 600 1.15rem/1.4 Georgia, "Times New Roman", serif; margin: 0 0 .75rem; }
.convergence-scale { font-size: .9rem; color: var(--ink-soft, #555); margin: .25rem 0 1rem; }
.convergence-rule { font-weight: 600; }
.convergence-act { margin: 1.5rem 0; }
.convergence-act h3 { margin: 0 0 .25rem; }
.act-movement { margin: 0 0 .75rem; }
.convergence-inquiries, .convergence-sessions { list-style: none; margin: 0; padding: 0; }
.convergence-inquiry { margin: 1rem 0 1.25rem; padding-left: 1rem; border-left: 3px solid var(--rule, #ddd); }
.convergence-inquiry h4 { margin: 0 0 .25rem; }
.inquiry-question { font-style: italic; margin: 0 0 .25rem; }
.inquiry-purpose { margin: 0 0 .5rem; }
.convergence-session { margin: .75rem 0; }
.convergence-session h5 { margin: .15rem 0; }
.session-purpose, .session-knowledge, .session-output { margin: .15rem 0; font-size: .95rem; }

/* Contrast: inside a dark panel the accent takes its lighter variant.
   A dark panel is a rule that sets both a dark background and light text;
   anything less is a card or a border, and its accent stays as it is. */
.region-route li[aria-current="page"],
.baton-received,
.baton-pair > div,
.ledger-endpoint{--accent-text:var(--copper-on-dark,#d4834a)}
