/* Connection essay on ink: a centred atlas whose connections draw in, an
   offset reading column, an expansion interlude and a paper close.
   Scoped to body.page-operating-models. */
body.page-operating-models main { background: var(--ink); }
.page-operating-models .breadcrumbs { color: #CFC5CD; background: var(--ink); }
.page-operating-models .breadcrumbs a { color: var(--ivory); }
.page-operating-models .om-essay { --om-text: #E9E1E6; --om-soft: #BFB3BC; background: var(--ink); color: var(--om-text); padding-bottom: 0; overflow-x: clip; }
.page-operating-models .om-essay :is(section, article, header, aside, figure, div) { min-width: 0; }
.page-operating-models .om-essay :is(h1, h2, h3) { color: var(--ivory); }
.page-operating-models .om-essay em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-light); }
.page-operating-models .om-essay .scene-kicker { color: var(--brass-light); }
.page-operating-models .om-essay a { color: var(--ivory); text-underline-offset: 5px; text-decoration-color: var(--brass); }
.page-operating-models .om-essay a:is(:hover, :focus-visible) { color: var(--brass-light); }
.page-operating-models .om-essay a:active { color: var(--brass-light); background: rgba(211, 176, 122, .12); }

/* A centred essay masthead, distinct from the two-column remit folio. */
body.page-operating-models .om-opening { display: block; max-width: 1080px; margin: auto; padding: 24px var(--gutter) 32px; text-align: center; }
body.page-operating-models .om-opening .connection-essay__title { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: .98; }
body.page-operating-models .om-opening__lede { max-width: 760px; margin: 22px auto 0; }
body.page-operating-models .om-opening__lede p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--om-text); text-wrap: pretty; }
body.page-operating-models .om-opening__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 14px; }
body.page-operating-models .om-action { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); transition: gap 300ms var(--ease), color 300ms var(--ease); }
body.page-operating-models .om-action--quiet { font-weight: 400; border-bottom-color: transparent; color: var(--om-soft); }
body.page-operating-models .om-action:is(:hover, :focus-visible) { gap: 20px; }
body.page-operating-models .om-action:active { background: var(--night); }

/* Atlas at 80% with connection lines laid over the trays. */
.page-operating-models .om-atlas { position: relative; width: min(80%, 1360px); height: auto; margin: 0 auto; overflow: visible; background: transparent; }
body.page-operating-models .om-atlas__stage { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--scene-plates); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
body.page-operating-models .om-atlas__stage > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.page-operating-models .om-atlas__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-operating-models .om-atlas__line { fill: none; stroke: var(--brass-light); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .5; transition: opacity 500ms var(--ease), stroke-width 500ms var(--ease); }
.page-operating-models .om-atlas__line.is-selected { opacity: 1; stroke-width: 7; }
.page-operating-models .om-atlas__dot { fill: var(--brass-light); }
.page-operating-models .om-atlas figcaption { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; padding-top: 18px; font-size: 14px; color: var(--om-soft); }
.page-operating-models .om-atlas figcaption span { border-top: 1px solid var(--brass); padding-top: 12px; }
.page-operating-models .om-atlas figcaption b { display: block; font: 400 1.35rem/1.2 var(--serif); color: var(--ivory); margin-bottom: 4px; }
.page-operating-models .om-atlas figcaption small { grid-column: 1 / -1; margin-top: 14px; font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* Section 1: offset reading column and the connection picker. */
.page-operating-models .om-connect { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: auto; padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(72px, 9vw, 128px); }
.page-operating-models .om-connect h2, .page-operating-models .om-conflicts h2, .page-operating-models .om-scaling h2, .page-operating-models .om-close h2 { font: 400 clamp(2.1rem, 3.9vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.page-operating-models .om-connect__intro > p:not(.scene-kicker) { color: var(--om-soft); max-width: 46ch; }
.page-operating-models .om-triangle { position: relative; margin: 32px 0 0; aspect-ratio: 1.3; }
.page-operating-models .om-triangle svg { position: absolute; top: 20px; left: 0; width: 100%; height: auto; overflow: visible; }
.page-operating-models .om-edge { fill: none; stroke: #6E5E6C; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke 450ms var(--ease), stroke-width 450ms var(--ease); }
.page-operating-models .om-edge.is-selected { stroke: var(--brass-light); stroke-width: 5; }
.page-operating-models .om-node { position: absolute; width: 40%; padding: 14px 10px; text-align: center; background: var(--night); border: 1px solid rgba(211, 176, 122, .4); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .9); }
.page-operating-models .om-node span { display: block; font: 400 1.25rem/1.2 var(--serif); color: var(--ivory); }
.page-operating-models .om-node small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--om-soft); }
.page-operating-models .om-node-top { left: 30%; top: 0; }
.page-operating-models .om-node-left { left: 0; top: 65%; }
.page-operating-models .om-node-right { right: 0; top: 65%; }
.page-operating-models .om-triangle figcaption { position: absolute; top: 37%; left: 27%; width: 46%; font: italic 400 clamp(15px, 1.5vw, 20px)/1.35 var(--serif); text-align: center; color: var(--om-soft); }
.page-operating-models .om-connections { align-self: start; position: sticky; top: 96px; }
.page-operating-models .om-controls { display: grid; border-top: 1px solid var(--brass); margin-bottom: 24px; }
.page-operating-models .om-controls[hidden], .page-operating-models [data-explanation][hidden] { display: none; }
.page-operating-models .om-controls button { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; font: 400 1.3rem/1.2 var(--serif); color: var(--om-soft); text-align: left; background: transparent; border: 0; border-bottom: 1px solid rgba(211, 176, 122, .25); cursor: pointer; transition: background 320ms var(--ease), color 320ms var(--ease), padding 320ms var(--ease), box-shadow 320ms var(--ease); }
.page-operating-models .om-controls button span { color: var(--brass); }
.page-operating-models .om-controls button[aria-pressed="true"] { color: var(--ink); background: var(--ivory); padding-left: 22px; box-shadow: inset 4px 0 0 var(--clay); }
.page-operating-models .om-controls button[aria-pressed="true"] span { color: var(--clay-deep); }
.page-operating-models .om-controls button:not([aria-pressed="true"]):is(:hover, :focus-visible) { color: var(--ivory); background: var(--night); padding-left: 20px; }
.page-operating-models .om-controls button:active { background: #3A2E3F; }
.page-operating-models .om-explanations { padding: clamp(24px, 3vw, 36px); color: var(--text); background: var(--paper); border-top: 2px solid var(--brass); box-shadow: var(--shadow-lift); }
.page-operating-models .om-explanations article + article { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--linen); }
.page-operating-models .om-explanations article[hidden] + article { margin-top: 0; padding-top: 0; border-top: 0; }
.page-operating-models .om-explanations__pair { margin: 0 0 10px; font: 500 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); }
.page-operating-models .om-explanations h3 { color: var(--ink); font: 400 clamp(1.6rem, 2.3vw, 2.2rem)/1.12 var(--serif); letter-spacing: -.02em; margin-bottom: 14px; }
.page-operating-models .om-explanations p { font-size: 16px; }
.page-operating-models .om-tradeoff { padding-left: 16px; border-left: 2px solid var(--clay); }
.motion-ok .page-operating-models .om-explanations.is-changing article:not([hidden]) { animation: om-swap 620ms var(--ease) both; }
.page-operating-models .om-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.page-operating-models .om-essay .om-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 600; transition: gap 300ms var(--ease), color 300ms var(--ease); }
.page-operating-models .om-essay .om-links a:is(:hover, :focus-visible) { gap: 18px; color: var(--clay-deep); }
.page-operating-models .om-essay .om-links a:active { background: var(--linen); }

/* Section 2: tension rows with a large serif distinction. */
.page-operating-models .om-conflicts { max-width: calc(var(--max) + 2 * var(--gutter)); margin: auto; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.page-operating-models .om-conflicts__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(32px, 6vw, 96px); align-items: end; }
.page-operating-models .om-conflicts__head .scene-kicker { grid-column: 1 / -1; }
.page-operating-models .om-distinction { margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--brass); }
.page-operating-models .om-distinction p { margin: 0; font: 400 clamp(1.6rem, 2.6vw, 2.5rem)/1.2 var(--serif); color: var(--ivory); }
.page-operating-models .om-distinction footer { margin-top: 14px; font-size: 15px; color: var(--om-soft); }
.page-operating-models .om-example-label { margin: clamp(40px, 5vw, 64px) 0 0; font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--om-soft); }
.page-operating-models .om-conflict { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(32px, 6vw, 96px); padding: 40px 0; border-top: 1px solid rgba(211, 176, 122, .45); }
.page-operating-models .om-conflict:last-child { border-bottom: 1px solid rgba(211, 176, 122, .45); }
.page-operating-models .om-conflict__index { display: block; font: italic 1.4rem var(--serif); color: var(--brass); margin-bottom: 8px; }
.page-operating-models .om-conflict__pair h3 { font: 400 clamp(1.8rem, 2.8vw, 2.7rem)/1.1 var(--serif); }
.page-operating-models .om-conflict__pair h3 span { display: block; font-style: italic; color: var(--brass-light); font-size: .7em; line-height: 1.6; }
.page-operating-models .om-conflict__pair p { margin-top: 16px; font: 500 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--om-soft); }
.page-operating-models .om-conflict__body p { color: var(--om-text); }
.page-operating-models .om-conflict__body a, .page-operating-models .om-scaling__head a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; transition: gap 300ms var(--ease); }
.page-operating-models .om-conflict__body a:is(:hover, :focus-visible), .page-operating-models .om-scaling__head a:is(:hover, :focus-visible) { gap: 18px; }

/* Section 3: lifted night surface with a paper ledger. */
.page-operating-models .om-scaling { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 96px); padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - var(--max)) / 2)); background: radial-gradient(ellipse at 0 0, #3A2C3E, transparent 60%), var(--night); }
.page-operating-models .om-scaling__head p:not(.scene-kicker) { color: var(--om-soft); max-width: 44ch; }
.page-operating-models .om-ledger { margin: 0; padding: 8px clamp(20px, 3vw, 36px); color: var(--text); background: var(--paper); border-top: 2px solid var(--brass); box-shadow: var(--shadow-lift); }
.page-operating-models .om-ledger > div { padding: 24px 0; }
.page-operating-models .om-ledger > div + div { border-top: 1px solid var(--linen); }
.page-operating-models .om-ledger dt { font: 400 1.5rem/1.2 var(--serif); color: var(--ink); }
.page-operating-models .om-ledger dt span { font: 12px var(--mono); color: var(--clay-deep); margin-right: 12px; vertical-align: middle; }
.page-operating-models .om-ledger dd { margin: 10px 0 0; font-size: 16px; color: var(--muted); }

/* Expansion interlude: wide plate with a raised note over its edge. */
.page-operating-models .om-interlude { position: relative; padding: clamp(64px, 8vw, 112px) 0 clamp(80px, 10vw, 140px); }
.page-operating-models .om-interlude__media { width: min(88%, 1500px); margin: 0 auto 0 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--scene-plates); }
.page-operating-models .om-interlude__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-operating-models .om-interlude__note { position: relative; width: min(620px, calc(100% - 2 * var(--gutter))); margin: -140px var(--gutter) 0 auto; padding: clamp(28px, 3.5vw, 48px); background: rgba(36, 28, 41, .94); border-top: 2px solid var(--brass-light); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.page-operating-models .om-interlude__note h2 { font: 400 clamp(1.8rem, 2.8vw, 2.6rem)/1.12 var(--serif); letter-spacing: -.02em; }
.page-operating-models .om-interlude__note p:last-child { margin: 18px 0 0; color: var(--om-soft); font-size: 15px; }

/* Paper close: link pair to services and guides, then the ruled enquiry. */
.page-operating-models .om-close { padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - var(--max)) / 2)) clamp(48px, 6vw, 80px); color: var(--text); background: var(--paper); }
.page-operating-models .om-close .scene-kicker { color: var(--clay-deep); margin-top: clamp(56px, 7vw, 96px); }
.page-operating-models .om-essay .om-close h2 { color: var(--ink); max-width: 18ch; }
.page-operating-models .om-close__related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.page-operating-models .om-essay .om-close__related a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 18px 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--brass); border-bottom: 1px solid var(--linen); font: 400 clamp(1.4rem, 2.4vw, 2.2rem)/1.15 var(--serif); transition: padding 320ms var(--ease), color 320ms var(--ease), background 320ms var(--ease); }
.page-operating-models .om-essay .om-close__related a > span:last-child { color: var(--brass); transition: transform 320ms var(--ease); }
.page-operating-models .om-essay .om-close__related a:is(:hover, :focus-visible) { padding-left: 12px; color: var(--clay-deep); }
.page-operating-models .om-essay .om-close__related a:is(:hover, :focus-visible) > span:last-child { transform: translateX(6px); }
.page-operating-models .om-essay .om-close__related a:active { background: var(--linen); }
.page-operating-models .om-close .ruled-enquiry { margin: 28px 0 0; }
.page-operating-models .om-essay .om-close .ruled-enquiry a { color: var(--ink); }
.page-operating-models .om-essay .om-close .ruled-enquiry a:is(:hover, :focus-visible) { color: var(--clay-deep); }
.page-operating-models .om-essay .om-close .ruled-enquiry a:active { background: var(--linen); }

/* Motion: connection lines draw, entrances settle, plates wipe. Only under .motion-ok. */
@keyframes om-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes om-rise { from { opacity: .35; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes om-atlas-in { from { transform: translateY(48px) scale(.97); clip-path: inset(10% 6% 0 6%); } to { transform: none; clip-path: inset(0); } }
@keyframes om-swap { from { opacity: .3; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.motion-ok .page-operating-models .om-opening__title { animation: om-rise 1000ms var(--ease) both; }
.motion-ok .page-operating-models .om-opening__lede { animation: om-rise 1000ms var(--ease) 160ms both; }
.motion-ok .page-operating-models .om-atlas.is-revealed .om-atlas__stage { animation: om-atlas-in 1500ms var(--ease) 240ms both; }
.motion-ok .page-operating-models .om-atlas.is-revealed .om-atlas__line { animation: om-draw 1700ms var(--ease) 900ms both; }
.motion-ok .page-operating-models .om-atlas__line:nth-of-type(2) { animation-delay: 1250ms; }
.motion-ok .page-operating-models .om-atlas__line:nth-of-type(3) { animation-delay: 1600ms; }
.motion-ok .page-operating-models .om-atlas__dot { animation: om-rise 600ms var(--ease) 900ms both; }
.motion-ok .page-operating-models .om-triangle.awaiting-entry .om-edge { stroke-dashoffset: 1; }
.motion-ok .page-operating-models .om-triangle.is-revealed .om-edge { animation: om-draw 1200ms var(--ease) 200ms both; }
.motion-ok .page-operating-models .om-triangle.is-revealed .om-edge:nth-of-type(2) { animation-delay: 450ms; }
.motion-ok .page-operating-models .om-triangle.is-revealed .om-edge:nth-of-type(3) { animation-delay: 700ms; }
.motion-ok body.page-operating-models .om-edge.is-redrawing,
.motion-ok body.page-operating-models .om-atlas.is-revealed .om-atlas__line.is-redrawing { animation: om-draw 900ms var(--ease) both; }
.motion-ok body.page-operating-models .om-interlude__media.is-revealed img { animation: om-image-depth 2200ms var(--ease) both; }
@keyframes om-image-depth { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (hover: hover) {
  .page-operating-models .om-ledger, .page-operating-models .om-interlude__note { transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
  .page-operating-models .om-ledger:hover, .page-operating-models .om-interlude__note:hover { transform: translateY(-4px); }
}

@media (max-width: 1024px) {
  .page-operating-models .om-node { padding: 10px 6px; }
  .page-operating-models .om-node span { font-size: 1.05rem; }
  .page-operating-models .om-triangle { aspect-ratio: 1.1; }
  .page-operating-models .om-node-left, .page-operating-models .om-node-right { top: 58%; }
  .page-operating-models .om-triangle figcaption { top: 30%; }
}
@media (max-width: 900px) {
  .page-operating-models .om-opening, .page-operating-models .om-connect, .page-operating-models .om-conflicts__head, .page-operating-models .om-conflict, .page-operating-models .om-scaling { grid-template-columns: minmax(0, 1fr); }
  .page-operating-models .om-opening { gap: 16px; align-items: start; }
  .page-operating-models .om-atlas { width: 100%; }
  body.page-operating-models .om-atlas__stage { aspect-ratio: 3 / 2; }
  .page-operating-models .om-atlas figcaption { position: static; padding: 18px var(--gutter) 0; grid-template-columns: minmax(0, 1fr); gap: 12px; background: var(--ink); }
  .page-operating-models .om-connect { padding-top: 56px; }
  .page-operating-models .om-connections { position: static; }
  .page-operating-models .om-triangle { max-width: 480px; min-height: 280px; margin: 28px auto 0; aspect-ratio: 1.25; }
  .page-operating-models .om-distinction { margin-top: 28px; }
  .page-operating-models .om-conflict { gap: 12px; padding: 32px 0; }
  .page-operating-models .om-interlude__media { width: 100%; aspect-ratio: 3 / 2; }
  .page-operating-models .om-interlude__note { margin: -48px var(--gutter) 0; width: auto; }
  .page-operating-models .om-close__related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .page-operating-models .om-opening { padding-top: 12px; }
  .page-operating-models .om-opening .connection-essay__title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .page-operating-models .om-opening__lede p { font-size: 1.05rem; }
  .page-operating-models .om-node { width: 44%; }
  .page-operating-models .om-node-top { left: 28%; }
  .page-operating-models .om-node small { font-size: 11px; }
  .page-operating-models .om-triangle figcaption { top: 36%; left: 22%; width: 56%; font-size: 15px; }
  .page-operating-models .om-controls button { font-size: 1.15rem; }
  .page-operating-models .om-interlude__note { margin: -32px 12px 0; padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-operating-models .om-essay *, .page-operating-models .om-essay *::before { transition: none !important; animation: none !important; }
}
html.data-saver .page-operating-models .om-essay *, html.data-saver .page-operating-models .om-essay *::before { transition: none !important; animation: none !important; }
@media (prefers-contrast: more) {
  .page-operating-models .om-essay { --om-soft: #E9E1E6; }
  .page-operating-models .om-atlas__line { opacity: 1; }
}

html:not(.motion-ok) body.page-operating-models .om-essay *,
html:not(.motion-ok) body.page-operating-models .om-essay *::before { animation: none !important; transition: none !important; transform: none !important; }
.motion-ok body.page-operating-models .om-ledger:active,
.motion-ok body.page-operating-models .om-interlude__note:active { transform: translateY(-2px); }
