/* ============================================================
   maturity-options.css - internal review page (.mopts)
   Three interactive treatments of the FDL maturity model.
   Uses global tokens from tokens.css; pairs with site.css.
   ============================================================ */
.mopts .mo-sec { padding: clamp(2.6rem, 2rem + 3vw, 4.5rem) 0; }
.mopts .mo-sec.alt { background: var(--bg-alt); }
.mopts .mo-head { margin-bottom: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); max-width: 60ch; }
.mopts .mo-opt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.mopts .mo-head h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin: .5rem 0 .6rem; }
.mopts .mo-head p { color: var(--text-body); line-height: 1.6; }

/* level colour ramp (matches the live ladder --m1..--m5) */
.mopts .lvl-1 { --mc: #DCEAE5; --mt: #0B233C; }
.mopts .lvl-2 { --mc: #A6CEC4; --mt: #0B233C; }
.mopts .lvl-3 { --mc: #5BA597; --mt: #06302a; }
.mopts .lvl-4 { --mc: #1F8174; --mt: #ffffff; }
.mopts .lvl-5 { --mc: #0B233C; --mt: #ffffff; }

/* shared detail bits */
.mo-badge { display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--radius-pill); background: var(--mc); color: var(--mt); }
.mo-detail h3, .mo-stage-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin: .8rem 0 .2rem; color: var(--text-strong); }
.mo-sub { font-family: var(--font-display); font-style: italic; color: var(--accent); margin: 0 0 1rem; }
.mo-desc { color: var(--text-body); line-height: 1.65; margin: 0 0 1.2rem; max-width: 56ch; }
.mo-behs { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mo-behs li { position: relative; padding-left: 1.1rem; font-size: .92rem; color: var(--text-muted); line-height: 1.45; }
.mo-behs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Option 1: stepper / the climb ---------- */
.mo-stepper { display: grid; gap: clamp(1.4rem, 1rem + 2vw, 2.6rem); align-items: end; }
@media (min-width: 880px) { .mo-stepper { grid-template-columns: 1fr 1fr; align-items: center; } }
.mo-steps { display: flex; align-items: flex-end; gap: 8px; }
.mo-step { flex: 1; min-height: var(--h, 80px); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding: 12px 4px 14px; border: 0; border-radius: 10px 10px 4px 4px; background: var(--mc); color: var(--mt); cursor: pointer; opacity: .5; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.mo-step:hover { opacity: .85; }
.mo-step.is-active { opacity: 1; transform: translateY(-4px); box-shadow: 0 14px 26px -16px rgba(11,35,60,.5); }
.mo-step__n { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.mo-step__name { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.mo-detail { position: relative; }
.mo-panel { display: none; }
.mo-panel.is-active { display: block; animation: moFade .35s var(--ease); }
@keyframes moFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Option 2: accordion ladder ---------- */
.mo-accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; max-width: 880px; }
.mo-acc-item { border-bottom: 1px solid var(--border); background: var(--bg); }
.mo-acc-item:last-child { border-bottom: 0; }
.mo-acc-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: transparent; border: 0; border-left: 4px solid var(--mc); cursor: pointer; text-align: left; transition: background var(--dur-1) var(--ease); }
.mo-acc-head:hover { background: var(--bg-alt); }
.mo-acc-n { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--mc); color: var(--mt); font-family: var(--font-display); font-size: 1.2rem; }
.mo-acc-title { flex: 1; display: flex; flex-direction: column; }
.mo-acc-title strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--text-strong); }
.mo-acc-title em { font-style: italic; font-family: var(--font-display); color: var(--text-muted); font-size: .9rem; }
.mo-acc-ind { flex: none; width: 18px; height: 18px; position: relative; }
.mo-acc-ind::before, .mo-acc-ind::after { content: ""; position: absolute; background: var(--accent); transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.mo-acc-ind::before { top: 8px; left: 0; width: 18px; height: 2px; }
.mo-acc-ind::after { top: 0; left: 8px; width: 2px; height: 18px; }
.mo-acc-item.is-open .mo-acc-ind::after { transform: rotate(90deg); opacity: 0; }
.mo-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.mo-acc-item.is-open .mo-acc-body { grid-template-rows: 1fr; }
.mo-acc-body > .mo-acc-inner { overflow: hidden; }
.mo-acc-inner { padding: 0 22px 0 40px; }
.mo-acc-item.is-open .mo-acc-inner { padding-top: 4px; padding-bottom: 20px; }
.mo-acc-inner p { color: var(--text-body); line-height: 1.6; margin: 0 0 .8rem; max-width: 60ch; }
.mo-acc-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.mo-acc-inner li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--text-muted); }
.mo-acc-inner li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--mc); }

/* ---------- Option 3: staged explorer ---------- */
.mo-track { display: flex; gap: 6px; margin-bottom: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.mo-seg { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.mo-seg__n { width: 100%; height: 8px; border-radius: 99px; background: var(--border); position: relative; display: block; font-size: 0; transition: background var(--dur-2) var(--ease); }
.mo-seg.is-passed .mo-seg__n { background: var(--mc); }
.mo-seg label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; transition: color var(--dur-1) var(--ease); }
.mo-seg.is-active label { color: var(--accent); }
.mo-seg.is-active .mo-seg__n::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--mc); box-shadow: 0 0 0 4px var(--bg); }
.mo-stage-panel { display: none; }
.mo-stage-panel.is-active { display: grid; gap: clamp(1.2rem,1rem+2vw,2.4rem); grid-template-columns: 1fr; align-items: start; animation: moFade .35s var(--ease); }
@media (min-width: 720px) { .mo-stage-panel.is-active { grid-template-columns: auto 1fr; } }
.mo-stage-num { width: clamp(90px, 8vw, 140px); aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: var(--mc); color: var(--mt); font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; }
.mo-stage-of { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .mo-panel.is-active, .mo-stage-panel.is-active { animation: none; } }

/* ---- directional cues (remove the "1 = best" read) ---- */
.mopts .mo-dir { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.mopts .mo-dir__arrow { flex: 1; text-align: center; color: var(--accent); position: relative; }
.mopts .mo-dir__arrow::before, .mopts .mo-dir__arrow::after { content: ""; display: inline-block; height: 1px; width: clamp(20px, 8vw, 80px); background: linear-gradient(90deg, transparent, var(--accent)); vertical-align: middle; margin: 0 .6rem; opacity: .5; }
.mopts .mo-step.is-goal { position: relative; }
.mopts .mo-step.is-goal::after { content: "\2605"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); color: var(--accent); font-size: .7rem; }
/* accordion: colour rung instead of number, + direction caption */
.mopts .mo-acc-dir { max-width: 60ch; color: var(--text-muted); font-size: .9rem; line-height: 1.55; margin: 0 0 1.1rem; }
.mopts .mo-acc-rung { flex: none; width: 10px; height: 38px; border-radius: 999px; background: var(--mc); }
/* staged: arrows between segments + colour swatch instead of number */
.mopts .mo-track { align-items: center; }
.mopts .mo-seg-arrow { color: var(--text-muted); font-size: 1.2rem; flex: none; padding-bottom: 18px; }
@media (max-width: 640px) { .mopts .mo-seg-arrow { display: none; } }
