/* Local dark edition of the approved green / straw / Unbounded / Manrope system. */
/* Header uses the site's shared light palette; the dark palette belongs to the method content. */
html.method-document { background: var(--paper); }
.method-body { background: var(--paper); color: var(--ink); }
.method-body main :is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.method-page { --paper: #233229; --paper-deep: #2b3e32; --ink: #f5f2eb; --muted: #c1ccbf; --line: #536756; background: var(--paper); color: var(--ink); color-scheme: dark; }
.method-page-hero, .method-workspace, .method-page-close, .method-page-cta { padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2)); }
.method-page-hero { display: grid; grid-template-columns: 1.25fr .85fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); padding-top: clamp(2.5rem, 4vw, 4rem); padding-bottom: clamp(2rem, 3vw, 3rem); }
.method-page-hero .eyebrow { color: var(--lime); }
.method-page-hero h1 { max-width: 23ch; font: 600 clamp(2.125rem, 3.7vw, 3.2rem)/1.12 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.method-page-hero > p { max-width: 44ch; padding-top: 2.314rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.65; }
/* A reading surface followed by a full-width map, rather than a thumbnail rail. */
.method-workspace { padding-top: 1.5rem; padding-bottom: clamp(3rem, 5vw, 5rem); scroll-margin-top: 6rem; }
.method-workspace-tabs { display: none; }
.method-enhanced .method-workspace-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.method-workspace-tabs button { position: relative; display: flex; gap: .85rem; align-items: baseline; min-width: 0; min-height: 5rem; padding: 1.2rem 1.1rem 1.2rem 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; text-align: left; transition: color 160ms ease; }
.method-workspace-tabs button > span { font-size: .75rem; font-variant-numeric: tabular-nums; }
.method-workspace-tabs strong { font: 500 clamp(.85rem, 1.25vw, 1.05rem)/1.5 var(--display); letter-spacing: -.025em; }
.method-workspace-tabs button:hover, .method-workspace-tabs button[aria-selected="true"] { color: var(--lime); }
.method-tab-indicator { position: absolute; pointer-events: none; height: 2px; left: calc(var(--tab-index, 0) * 25%); bottom: 0; width: 25%; background: var(--lime); transition: left 360ms cubic-bezier(.16,1,.3,1); }
.method-stage, .method-question { min-width: 0; }
.method-question { scroll-margin-top: 6rem; }
.method-question[hidden] { display: none; }
.method-body:not(.method-enhanced) .method-stage > .method-question + .method-question { padding-top: 3rem; margin-top: 3rem; border-top: 1px solid var(--line); }
.method-question-copy { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.method-question h2 { grid-row: 1 / 3; max-width: 23ch; font: 600 clamp(1.65rem, 2.7vw, 2.35rem)/1.25 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.method-question-copy > p { max-width: 65ch; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.method-question-copy > .method-page-output { margin-top: 1.15rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .95rem; line-height: 1.6; font-weight: 600; }
.method-diagram { margin: 2rem auto 0; min-width: 0; max-width: 76rem; }
.method-map { --map-line: #829785; --map-surface: #2b3e32; padding: clamp(1rem, 2vw, 1.75rem) 0; border-top: 1px solid var(--line); }
.method-map h3, .method-map h4, .method-map p { margin: 0; }
.method-map h3, .method-map h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; }
.method-map ul { list-style: none; padding: 0; margin: 0; }
.method-map .map-node { display: flex; align-items: center; justify-content: center; min-width: 0; padding: .7rem .9rem; background: var(--map-surface); font: 500 clamp(1rem, 1.45vw, 1.25rem)/1.35 var(--display); letter-spacing: -.02em; text-align: center; }
.method-map .map-node-secondary { color: var(--muted); background: transparent; border: 1px solid var(--map-line); font: 500 1rem/1.5 var(--body); }
.method-map .map-node-dashed { border: 1px dashed var(--map-line); background: transparent; color: var(--muted); font-family: var(--body); }
.map-flow { display: flex; justify-content: center; align-items: center; height: 2rem; color: var(--map-line); }
.map-flow svg { display: block; width: 24px; height: 32px; overflow: visible; }
.map-flow path, .map-handoff path { stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.map-flow-line { stroke-dasharray: 44; stroke-dashoffset: 0; }
.flow-dashed .map-flow-line { stroke-dasharray: 4 4; }
.flow-right { width: 3rem; height: auto; }
.flow-right svg { transform: rotate(-90deg); }
.map-handoff { display: flex; align-items: center; justify-content: center; color: var(--map-line); }
.map-handoff svg { display: block; width: 2.5rem; height: 1rem; }
/* 01: observations belong to one process; the four choices have equal weight. */
.process-arrow { position: relative; padding: 1rem 4rem 1rem 1.4rem; background: var(--map-surface); clip-path: polygon(0 0, calc(100% - 3rem) 0, 100% 50%, calc(100% - 3rem) 100%, 0 100%); }
.process-arrow h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.process-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(2, auto); column-gap: 2rem; row-gap: .2rem; margin-top: .75rem !important; padding-top: .65rem !important; border-top: 1px solid var(--line); color: #d0d7cb; font-size: 1.05rem; line-height: 1.4; }
.process-choice-title { text-align: center; font-size: 1rem; }
.process-choices { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.25rem; margin-top: 3rem; }
/* One uninterrupted branch line; vertical stems meet it at the cell centres. */
.process-choices::before { content: ''; position: absolute; top: -1.5rem; left: calc((100% - 3.75rem) / 8); right: calc((100% - 3.75rem) / 8); height: 1px; background: var(--map-line); }
.process-choices .map-node { position: relative; border: 1px solid var(--map-line); background: transparent; min-height: 4.5rem; font-size: 1.05rem; }
.process-choices .map-node::before { content: ''; position: absolute; top: calc(-1.5rem - 1px); left: 50%; height: 1.5rem; border-left: 1px solid var(--map-line); }
/* 02: a route through rules, AI and people, with visible side branches. */
.boundary-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr); column-gap: 1.25rem; grid-template-rows: auto 2rem auto 2rem auto 2rem auto; align-items: center; }
.boundary-incoming { grid-column: 2; grid-row: 1; justify-self: center; min-width: 60% !important; }
.boundary-input-flow { grid-column: 2; grid-row: 2; }
.boundary-data { grid-column: 1; grid-row: 3; position: relative; }
.boundary-data .flow-right { position: absolute; right: -1.25rem; top: 0; bottom: 0; }
.boundary-routing { grid-column: 2; grid-row: 3; width: 100%; height: 100%; }
.boundary-outside { grid-column: 3; grid-row: 3; position: relative; }
.boundary-outside > .flow-right { position: absolute; width: 1.25rem; left: -1.25rem; top: 0; height: 3rem; }
.boundary-outside-copy { position: relative; }
.boundary-outside-copy > .map-flow { height: 1.25rem; }
.boundary-outside-copy > .map-flow svg { height: 1.25rem; }
.boundary-outside p { color: var(--muted); text-align: center; font-size: .95rem; line-height: 1.5; }
.boundary-routing-flow { grid-column: 2; grid-row: 4; }
.boundary-processing { position: relative; grid-column: 2; grid-row: 5; padding: .65rem .85rem .85rem; background: var(--map-surface); }
.method-map .map-label { margin-bottom: .5rem; color: var(--muted); font: 500 .8rem/1.5 var(--body); }
.boundary-roles { display: grid; grid-template-columns: 1fr 2.5rem 1fr 2.5rem 1fr; }
.boundary-roles .map-node { background: transparent; border: 1px solid var(--map-line); padding: .65rem; min-height: 3.75rem; font-size: 1rem; }
.boundary-roles .map-node-ai { color: var(--lime); }
.boundary-result-flow { grid-column: 2; grid-row: 6; }
.boundary-external { grid-column: 1; grid-row: 7; position: relative; }
.boundary-external::before { content: ''; position: absolute; left: 50%; top: -5.5rem; height: 5.5rem; width: calc(50% + 1.25rem); border-top: 1px solid var(--map-line); border-left: 1px solid var(--map-line); }
.boundary-external > .map-handoff { position: absolute; width: 1.25rem; right: -1.25rem; top: 0; bottom: 0; }
.boundary-result { grid-column: 2; grid-row: 7; justify-self: center; width: 100%; border: 1px solid #b7b47d; }
.boundary-data .flow-right, .boundary-outside > .flow-right { width: 1.25rem; }
.boundary-data .flow-right svg, .boundary-outside > .flow-right svg { height: 20px; flex: none; }
.boundary-external > .map-handoff svg { width: 1.25rem; }
.boundary-external::after { content: ''; position: absolute; top: -5.5rem; right: -1.25rem; width: 6px; height: 6px; border-top: 1px solid var(--map-line); border-right: 1px solid var(--map-line); transform: translateY(-2px) rotate(45deg); }
/* 03: the conditions are agreed before evaluation. */
.evaluation-columns { display: grid; grid-template-columns: 1fr 3.5rem 1.35fr 3.5rem .9fr; align-items: start; gap: 1rem; margin-top: 0; }
.evaluation-step { min-width: 0; }
.evaluation-step h4 { font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.5; }
.evaluation-step ul { display: grid; gap: .4rem; margin-top: .8rem; color: #d0d7cb; font-size: 1.05rem; line-height: 1.4; }
.evaluation-step li { position: relative; padding-left: 1rem; }
.evaluation-step li::before { content: ''; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--map-line); }
.evaluation-outcomes h4 { color: var(--lime); }
.evaluation-columns > .map-flow { height: 2rem; width: auto; }
/* 04: work and quality face the owner in the middle. */
.allocation-columns { display: grid; grid-template-columns: 1fr 1.1fr 1fr; min-height: 10rem; align-items: stretch; }
.allocation-column { display: flex; flex-direction: column; justify-content: center; gap: .65rem; padding: 1rem clamp(1rem, 3vw, 3rem); font: 500 clamp(1rem, 1.4vw, 1.2rem)/1.35 var(--display); letter-spacing: -.025em; }
.allocation-scope { text-align: right; padding-left: 0; }
.allocation-owner { position: relative; text-align: center; color: var(--lime); border-inline: 1px solid var(--line); }
.allocation-quality { padding-right: 0; }
.method-page-close { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.method-page-close h2 { max-width: 26ch; font: 500 clamp(1.35rem, 2vw, 1.8rem)/1.35 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.method-page-close p { max-width: 65ch; margin-top: 1rem; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.method-page-actions { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: .8rem; }
.method-page-actions a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--lime); font-size: .9rem; font-weight: 600; text-underline-offset: .3em; }
.method-page-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2rem 3rem; }
.method-page-cta h2 { max-width: 24ch; font: 500 clamp(1.5rem, 2.3vw, 2rem)/1.25 var(--display); letter-spacing: -.025em; }
.method-body .next-footer { border-top: 1px solid #536756; }
/* Motion follows the diagram's reading order; nothing loops or delays interaction. */
.method-enhanced .method-question:not([hidden]) .method-question-copy { animation: method-copy-in 320ms cubic-bezier(.16,1,.3,1) both; }
.method-enhanced .method-question:not([hidden]) .method-map { animation: method-map-in 520ms cubic-bezier(.16,1,.3,1) both; }
.method-enhanced .method-question:not([hidden]) .map-flow-line { animation: method-line-in 650ms cubic-bezier(.16,1,.3,1) both; }
.method-enhanced .method-question:not([hidden]) :is(.boundary-processing, .evaluation-columns, .process-choices, .allocation-owner) { animation: method-connect-in 560ms cubic-bezier(.16,1,.3,1) both; }
@keyframes method-copy-in { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes method-map-in { from { clip-path: inset(0 0 14% 0); opacity: .5; } to { clip-path: inset(0); opacity: 1; } }
@keyframes method-line-in { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }
@keyframes method-connect-in { from { opacity: .4; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.method-body ::selection { color: #233229; background: #e8dc94; }
@media (max-width: 1000px) {
  .method-workspace-tabs button { gap: .6rem; }
  .method-workspace-tabs strong { font-size: .85rem; }
  .method-question-copy { column-gap: 2rem; }
  .process-signals { font-size: 1rem; column-gap: 1rem; }
  .process-choices { grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
  .process-choices::before, .process-choices .map-node::before { display: none; }
  .process-choices .map-node { font-size: 1rem; padding: 1rem .6rem; }
  .boundary-map { grid-template-columns: 1fr 3fr 1fr; gap: 0 .75rem; }
  .boundary-processing { padding: .8rem; }
  .boundary-roles { grid-template-columns: 1fr 1.5rem 1fr 1.5rem 1fr; }
  .boundary-roles .map-node { font-size: 1rem; padding: .75rem .4rem; }
  .map-handoff svg { width: 1.5rem; }
  .evaluation-columns { grid-template-columns: 1fr 2rem 1.3fr 2rem 1fr; gap: .5rem; }
}
@media (max-width: 760px) {
  .method-page-hero, .method-page-close, .method-question-copy { grid-template-columns: 1fr; gap: 1.5rem; }
  .method-page-hero > p { padding-top: 0; }
  .method-enhanced .method-workspace-tabs { grid-template-columns: 1fr 1fr; margin-bottom: 2rem; border-top: 1px solid var(--line); }
  .method-tab-indicator { left: calc(var(--tab-column, 0) * 50%); width: 50%; bottom: auto; top: calc((var(--tab-row, 0) + 1) * 50% - 1px); }
  .method-workspace-tabs button { padding: 1rem .65rem 1rem 0; border-bottom: 1px solid var(--line); min-height: 4.5rem; }
  .method-workspace-tabs button:nth-child(2n) { padding-left: .6rem; }
  .method-workspace-tabs strong { font-size: .85rem; }
  .method-question h2 { grid-row: auto; max-width: 26ch; }
  .method-question-copy > .method-page-output { margin-top: 0; }
  .method-diagram { margin-top: 2rem; }
  .process-arrow { padding: 1rem 1.1rem 2.2rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), 50% 100%, 0 calc(100% - 1.5rem)); }
  .process-signals { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; row-gap: .25rem; margin-top: .75rem !important; }
  .process-choices { grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
  .process-choices .map-node { min-height: 4.5rem; font-size: 1rem; }
  .process-choices::before, .process-choices .map-node::before { display: none; }
  .boundary-map { grid-template-columns: 1fr 1.3fr; gap: 0 .75rem; grid-template-rows: auto 2rem auto auto auto 2rem auto auto; }
  .boundary-incoming { grid-column: 2; grid-row: 1; width: 100%; padding: .65rem .8rem !important; font-size: 1rem !important; }
  .boundary-input-flow { grid-column: 2; grid-row: 2; }
  .boundary-data { grid-column: 1; grid-row: 1 / 3; align-self: end; padding: 0 0 2rem; }
  .boundary-data .map-node { font-size: 1rem; padding: .8rem; }
  .boundary-data .flow-right { right: 0; left: 50%; top: auto; bottom: 0; height: 2rem; width: auto; }
  .boundary-data .flow-right svg { transform: none; }
  .boundary-routing { grid-column: 1 / -1; grid-row: 3; width: 100%; }
  .boundary-outside { grid-column: 2; grid-row: 4; padding-top: 2rem; margin-bottom: 1rem; }
  .boundary-outside > .flow-right { left: 50%; top: 0; width: 0; height: 2rem; }
  .boundary-outside > .flow-right svg { transform: none; flex: none; }
  .boundary-outside-copy .map-node { padding: .7rem; font-size: 1rem; }
  .boundary-outside-copy p { font-size: .95rem; }
  .boundary-routing-flow { grid-column: 1; grid-row: 4; height: 100%; }
  .boundary-routing-flow { position: relative; }
  .boundary-routing-flow::before { content: ''; position: absolute; top: 0; bottom: 10px; border-left: 1px solid var(--map-line); }
  .boundary-routing-flow svg { position: absolute; height: 32px; bottom: 0; }
  .boundary-routing-flow .map-flow-line { opacity: 0; }
  .boundary-processing { grid-column: 1 / -1; grid-row: 5; padding: .8rem; }
  .boundary-roles { grid-template-columns: 1fr; }
  .boundary-roles .map-node { font-size: 1.05rem; padding: .65rem; min-height: 0; }
  .boundary-roles .map-handoff { height: 1.75rem; }
  .boundary-roles .map-handoff svg { transform: rotate(90deg); width: 2rem; }
  .boundary-result-flow { grid-column: 1 / -1; grid-row: 6; }
  .boundary-result { grid-column: 1 / -1; grid-row: 7; width: 75%; height: auto; }
  .boundary-external { grid-column: 1 / -1; grid-row: 8; margin: 2rem auto 0; width: 75%; }
  .boundary-external::before { left: 50%; top: -2rem; width: 0; height: 2rem; border-top: 0; }
  .boundary-external > .map-handoff { right: auto; left: 50%; top: -2rem; bottom: auto; height: 2rem; }
  .boundary-external > .map-handoff svg { transform: rotate(90deg); margin-left: -.75rem; }
  .evaluation-columns { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .evaluation-columns > .flow-right { width: auto; height: 2.5rem; margin-block: .4rem; }
  .evaluation-columns > .flow-right svg { transform: none; }
  .evaluation-step h4 { font-size: 1.2rem; }
  .evaluation-step ul { margin-top: .65rem; gap: .35rem; }
  .allocation-columns { grid-template-columns: 1fr; min-height: 0; }
  .allocation-column { font-size: 1rem; padding: 1rem 0; text-align: left; gap: .7rem; }
  .allocation-scope { padding-top: 0; }
  .allocation-owner { text-align: center; border-inline: 0; border-block: 1px solid var(--line); padding-block: 1.4rem; }
    .allocation-quality { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .boundary-data .flow-right, .boundary-outside > .flow-right { width: 0; }
  .boundary-data .flow-right svg, .boundary-outside > .flow-right svg { height: 32px; }
  .boundary-external::after { display: none; }
}
@media (max-width: 480px) {
  .process-choices { grid-template-columns: 1fr; }
  .process-choices .map-node { min-height: 3.75rem; padding: .65rem 1rem; }
}
@media (max-width: 620px) {
  .method-page-hero { padding-top: 2.5rem; padding-bottom: 1.8rem; }
  .method-page-hero h1 { font-size: 2rem; }
  .method-workspace { padding-top: .8rem; }
  .method-workspace-tabs button { gap: .5rem; }
  .method-workspace-tabs strong { font-size: .78rem; line-height: 1.5; }
  .method-question h2 { font-size: 1.5rem; }
  .method-page-cta { display: block; }
  .method-page-cta .button { margin-top: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .method-enhanced .method-question:not([hidden]) :is(.method-question-copy, .method-map, .map-flow-line, .boundary-processing, .evaluation-columns, .process-choices, .allocation-owner) { animation: none; }
  .method-tab-indicator { transition: none; }
}

@media (max-width: 760px) { .boundary-external > .external-handoff svg { transform: rotate(-90deg); } }

/* Warm lower sections separate the explanation and invitation from the dark maps. */
.method-page-close { --paper: #e9e4d9; --ink: #232b24; --muted: #58645a; --line: #bebdb0; color: var(--ink); background: var(--paper); color-scheme: light; }
.method-page-actions a { color: var(--green); }
.method-page-close :is(a, button):focus-visible { outline-color: var(--green); }
.method-page-cta { --paper: #f5f2eb; --ink: #233229; background: #e8dc94; color: var(--ink); color-scheme: light; padding-block: 2.5rem; }
.method-page-cta .button-primary { background: var(--green-deep); color: #f5f2eb; }
.method-page-cta .button-primary:hover { background: var(--green-soft); }
.method-page-cta a:focus-visible { outline-color: var(--green-deep); }
