/* ==========================================================================
   NEXIRA: Regulatory Leadership & Operational Performance page only (Stage 07C).
   Loaded after nexira.css and service-detail.css by
   regulatory-leadership-operational-performance.html. Never loaded elsewhere.
   All classes prefixed "ld-". Visual intent: active, decisive, senior,
   operational. Distinct from Governance (ledgers / typographic panel),
   Turnaround (pressure) and Registration (planning). No arrows.
   ========================================================================== */

/* ---------- 01 HERO: copy + photograph (operations office) -------------- */
.ld-hero .sd-crumbs { margin-bottom: var(--s-7); }
.ld-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 0.5rem + 2.5vw, 3rem); align-items: center; }
.ld-hero h1 { max-width: 15ch; }
.ld-hero__aud { margin: var(--s-4) 0 0; max-width: 38rem; font-size: 0.92rem; line-height: 1.6; color: var(--on-dark-muted); padding-left: var(--s-4); border-left: 2px solid var(--gold); }
.ld-hero .hero__ctas { margin-top: var(--s-6); }
/* Stage 07F: approved photograph replaces the image slot. No overlay or filter.
   07F size refinement (snapshot 07g): image column widened, gap tightened, frame 13:11 so the photograph carries equal visual weight to the headline. */
.ld-hero__photo { position: relative; margin: 0; aspect-ratio: 13 / 11; overflow: hidden; background: #1c1b18; border: 1px solid var(--line-dark-2); }
.ld-hero__photo picture { display: block; width: 100%; height: 100%; }
.ld-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 71% 50%; }

/* ---------- 02 LEADERSHIP GAP + verb band ------------------------------ */
.ld-gap { background: var(--paper); padding-block: var(--section-y); }
.ld-gap__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.ld-gap h2 { margin: 0; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.ld-gap__body p { margin: 0 0 var(--s-4); color: var(--text-muted); font-size: var(--fs-md); line-height: 1.65; max-width: 40rem; }
.ld-gap__body p:last-child { margin-bottom: 0; }
.ld-verbs { margin: var(--s-8) 0 0; padding: var(--s-6) 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) 0; }
.ld-verbs span { font-family: var(--serif); font-size: clamp(1.5rem, 0.9rem + 2vw, 2.5rem); line-height: 1.1; color: var(--ink); }
.ld-verbs span:not(:last-child)::after { content: ""; display: inline-block; width: 0.32em; height: 0.32em; margin: 0 0.55em; vertical-align: middle; border-radius: 50%; background: var(--gold); }
.ld-verbs em { color: var(--gold-text); }
.ld-gap__close { margin: var(--s-5) 0 0; max-width: 44rem; font-size: 0.97rem; line-height: 1.6; color: var(--text-muted); }

/* ---------- 03 OPERATIONAL PERFORMANCE --------------------------------- */
.ld-perf { background: var(--ivory); padding-block: var(--section-y); }
.ld-signals { margin-bottom: var(--s-8); }
.ld-signals__k, .ld-group__k { margin: 0 0 var(--s-3); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.ld-signals__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.ld-signals__list li { padding: 0.55rem 1rem; background: var(--paper); border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); font-size: 0.95rem; line-height: 1.35; color: var(--ink); }
.ld-perf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); border-top: 2px solid var(--ink); padding-top: var(--s-6); }
.ld-perf__h { margin: 0 0 var(--s-4); font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem); }
.ld-qlist { list-style: none; margin: 0; padding: 0; }
.ld-qlist li { padding: var(--s-3) 0; border-top: 1px solid var(--line-strong); font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.35; color: var(--ink); }
.ld-perf__note { margin: var(--s-7) 0 0; max-width: 48rem; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
.ld-perf__note a, .ld-routes__other a, .ld-locs__note a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.ld-perf__note a { color: var(--ink); }

/* ---------- 04 SCOPE: three capability groups + outputs ---------------- */
.ld-scope { background: var(--paper); padding-block: var(--section-y); }
.ld-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.ld-group { padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.ld-group__list { list-style: none; margin: 0; padding: 0; }
.ld-group__list li { position: relative; padding: 0.75rem 0 0.75rem 1.4rem; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.4; color: var(--ink); }
.ld-group__list li::before { content: ""; position: absolute; left: 0.1rem; top: calc(0.75rem + 0.5em); width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ld-outputs { margin-top: var(--s-8); padding: var(--s-6); background: var(--ivory); }
.ld-outputs .sd-dots--two { margin-bottom: 0; }

/* ---------- 05 JUDGEMENT (dark): where control slips / holds ----------- */
.ld-judge { background: var(--ink); color: var(--on-dark); padding-block: var(--section-y); }
.ld-judge .sd-head__lede { color: var(--on-dark-muted); }
.ld-shift { border-top: 1px solid var(--gold); }
.ld-shift__head, .ld-shift__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.ld-shift__head { padding: var(--s-3) 0; border-bottom: 1px solid var(--line-dark-2); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.ld-shift__head span:last-child { color: var(--gold-soft); }
.ld-shift__row { padding: var(--s-5) 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.ld-shift__row span:first-child { font-size: 1rem; color: var(--on-dark-muted); }
.ld-shift__row span:last-child { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.3; color: var(--on-dark); }

/* ---------- 06 ACCOUNTABILITY ------------------------------------------ */
.ld-acc { background: var(--ivory); padding-block: var(--section-y); }
.ld-acc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) clamp(2rem, 1rem + 4vw, 5rem); align-items: start; margin-bottom: var(--s-8); }
.ld-acc h2 { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); }
.ld-acc__body p { margin: 0 0 var(--s-4); color: var(--text-muted); font-size: var(--fs-md); line-height: 1.65; max-width: 40rem; }
.ld-acc__body p:last-child { margin-bottom: 0; }
.ld-pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.ld-pair__col { padding: var(--s-6); background: var(--paper); border: 1px solid var(--line-strong); }
.ld-pair__col--b { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.ld-pair__k { margin: 0 0 var(--s-3); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.ld-pair__col--b .ld-pair__k { color: var(--gold-soft); }
.ld-pair__t { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem); line-height: 1.35; }
.ld-acc .sd-note { max-width: 52rem; }
.ld-acc .sd-note a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 0.2em; }

/* ---------- 07 ROUTINES ------------------------------------------------ */
.ld-routines { background: var(--paper); padding-block: var(--section-y); }
.ld-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.ld-tiles li { padding: var(--s-5) var(--s-4) var(--s-5); background: var(--ivory); border-top: 2px solid var(--gold); }
.ld-tiles h3 { margin: 0 0 var(--s-2); font-size: 1.25rem; line-height: 1.2; }
.ld-tiles p { margin: 0; font-size: 0.93rem; line-height: 1.5; color: var(--text-muted); }
.ld-routines__reg { margin: var(--s-6) 0 0; max-width: 48rem; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }

/* ---------- 08 HOW LEADERS RESPOND ------------------------------------- */
.ld-respond { background: var(--ivory); padding-block: var(--section-y); }
.ld-respond__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.ld-respond h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.08; }
.ld-respond__body > p:first-child { margin: 0 0 var(--s-4); color: var(--text-muted); font-size: var(--fs-md); line-height: 1.65; }
.ld-respond__note { margin: var(--s-5) 0 0; font-size: 0.92rem; color: var(--text-muted); }

/* ---------- 09 MANAGEMENT CAPABILITY ----------------------------------- */
.ld-cap { background: var(--paper); padding-block: var(--section-y); }
.ld-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.ld-role { padding: var(--s-6) var(--s-5) var(--s-5) 0; }
.ld-role + .ld-role { padding-left: var(--s-5); border-left: 1px solid var(--line-strong); }
.ld-role h3 { margin: 0 0 var(--s-3); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); }
.ld-role p { margin: 0; color: var(--text-muted); font-size: 0.97rem; line-height: 1.6; }
.ld-cap .sd-note { max-width: 52rem; }

/* ---------- 10 LEADING ACROSS LOCATIONS (dark) ------------------------- */
.ld-locs { background: var(--ink); color: var(--on-dark); padding-block: var(--section-y); }
.ld-locs .sd-head__lede { color: var(--on-dark-muted); }
.ld-locs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.ld-loc { padding: var(--s-6); background: var(--ink-2); border: 1px solid var(--line-dark-2); }
.ld-loc + .ld-loc { border-top: 2px solid var(--gold); }
.ld-loc:first-child { border-top: 2px solid var(--gold-soft); }
.ld-loc__h { margin: 0 0 var(--s-4); font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); color: var(--on-dark); }
.ld-loc__list { list-style: none; margin: 0; padding: 0; }
.ld-loc__list li { padding: 0.7rem 0; border-top: 1px solid var(--line-dark); line-height: 1.45; color: var(--on-dark); }
.ld-locs__note { margin: var(--s-6) 0 0; font-size: 0.95rem; color: var(--on-dark-muted); }
.ld-locs__note a { color: var(--gold-soft); }

/* ---------- 11 METHOD: routing line ------------------------------------ */
.ld-routes__other { grid-column: 1 / -1; margin: var(--s-3) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); max-width: 62rem; }
.ld-routes__other a { color: var(--ink); }

/* ---------- 12 BOUNDARIES ---------------------------------------------- */
.ld-bounds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); margin-bottom: var(--s-6); }
.ld-bounds__no li::before { background: transparent; border: 1px solid var(--gold); width: 7px; height: 7px; box-sizing: border-box; }

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 1100px) {
  .ld-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ld-verbs { flex-direction: column; gap: 0.2rem; }
  .ld-verbs span:not(:last-child)::after { display: none; }
  .ld-hero__grid, .ld-gap__grid, .ld-perf__grid, .ld-acc__grid, .ld-respond__grid, .ld-locs__grid { grid-template-columns: 1fr; }
  .ld-hero__photo { max-width: 560px; }
  .ld-pair { grid-template-columns: 1fr; }
  .ld-roles { grid-template-columns: 1fr; }
  .ld-role, .ld-role + .ld-role { padding: var(--s-5) 0; border-left: 0; }
  .ld-role + .ld-role { border-top: 1px solid var(--line-strong); }
  .ld-shift__row, .ld-shift__head { gap: var(--s-5); }
}
@media (max-width: 640px) {
  .ld-groups, .ld-tiles { grid-template-columns: 1fr; }
  .ld-shift__head { display: none; }
  .ld-shift__row { grid-template-columns: 1fr; gap: var(--s-2); }
  .ld-shift__row span:first-child::before { content: "Where control slips: "; font-weight: 600; }
  .ld-shift__row span:last-child::before { content: "Where control holds: "; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--gold-soft); }
  .ld-outputs, .ld-pair__col, .ld-loc { padding: var(--s-5); }
  .ld-bounds { grid-template-columns: 1fr; gap: var(--s-5); }
  .ld-hero__photo { aspect-ratio: 4 / 3; }
  .ld-hero__photo img { object-position: 70% 50%; }
}
