/* Homepage — 8 acts on one continuous rail (tools_orbintu/sections.py, build_homepage.py; docs/public-reframing-plan.md §0).
   Open composition: rules, labels, rail, space. A box only where the thing is bounded (the Need, the formed work, the lock).
   Loaded after hero-frame.css on the homepage only. */

/* ── Act 1: the public ORBI instrument is only the prompt ─────────────────────────────────────────────────────── */
.ob-ch__vp { aspect-ratio: 688 / 330; }
.orbs-main2 { position: relative; flex: 1 1 0; min-height: 0; display: grid; place-items: center; align-content: center; gap: 1.6cqw; }
.orbs-main2 .orbs-prompt { width: 50cqw; gap: 1.1cqw; }
.orbs-main2 .orbs-q { font-size: max(12px, 1.7cqw); }
.orbs-main2 .orbs-in { width: 100%; padding: .9cqw 1.2cqw; } .orbs-main2 .orbs-in b { font-size: max(12px, 2.2cqw); } .orbs-main2 .orbs-in input { font-size: max(12px, 2cqw); }
.orbs-main2 .orbs-acts button { font-size: max(12px, 1.45cqw); padding: .6cqw 1.3cqw; }
.orbs-main2 .orbs-stat { font-size: max(12px, 1.3cqw); }
/* what a person can bring: six quiet labels in the margins, never boxes */
.orbs-kinds { position: absolute; inset: 0; pointer-events: none; }
.orbs-kind { position: absolute; font-size: max(12px, 1.35cqw); color: var(--dd); letter-spacing: .1em; white-space: nowrap; }
.orbs-kind:nth-child(-n+3) { left: 3cqw; } .orbs-kind:nth-child(n+4) { right: 3cqw; }
.orbs-kind:nth-child(3n+1) { top: 16%; } .orbs-kind:nth-child(3n+2) { top: 46%; } .orbs-kind:nth-child(3n) { top: 76%; }
.orbs-kind::before { content: ""; display: inline-block; width: .6cqw; height: .6cqw; margin-right: .8cqw; vertical-align: middle; background: var(--dd); }
.orbs[data-step="2"] .orbs-kind--goal { color: var(--c); } .orbs[data-step="2"] .orbs-kind--goal::before { background: var(--c); }
.orbs-heardwrap { width: 50cqw; display: grid; gap: .4cqw; min-height: 5.4cqw; }
.orbs-heard { display: grid; grid-template-columns: 7cqw 1fr; gap: 1cqw; align-items: baseline; font-size: max(12px, 1.4cqw); line-height: 1.3; }
.orbs-heard em { font-style: normal; color: var(--d); } .orbs-heard b { font-weight: 400; text-transform: none; color: var(--c); }
.orbs-heard a { pointer-events: auto; color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ob-mob .ob-mob__lv { display: grid; gap: 6px; }
.ob-mob .orbs-heard { grid-template-columns: 64px 1fr; font-size: var(--type-body-s); gap: 10px; } .ob-mob .orbs-heard b { font-size: var(--type-body-s); }
.ob-mob [data-min] { display: none; } .ob-mob [data-min].on { display: grid; animation: ob-fade .4s steps(4) both; }

/* ── the rail: one line through acts 2–8, a station tick at each act ─────────────────────────────────────────── */
.ob-act { --rail-x: calc(max(0px, (100% - var(--site-max-width)) / 2) + var(--page-gutter) + 5px); --in: 20px; }
@media (min-width: 640px) { .ob-act { --in: 32px; } }
@media (min-width: 1024px) { .ob-act { --in: 56px; } }
.ob-act::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--rail-x); width: 1px; background: var(--ob-dd); pointer-events: none; z-index: 1; }
.ob-act .ob-sec__in { position: relative; padding-left: calc(var(--page-gutter) + var(--in)); }   /* this element is also the .page-container: indent adds to the gutter */
.ob-act__head { position: relative; gap: 18px; }
.ob-act__no { position: relative; margin: 0; font-family: var(--ob-font); text-transform: uppercase; letter-spacing: .12em; font-size: var(--type-body-s); color: var(--ob-d); }
.ob-act__no b { font-weight: 400; color: var(--ob-c); margin-right: 8px; }
.ob-act__no::before { content: ""; position: absolute; left: calc(-1 * var(--in) + 1px); top: 50%; width: 9px; height: 9px; translate: 0 -50%; background: var(--ob-ink, #050200); border: 1px solid var(--ob-c); }
.ob-act[data-on] .ob-act__no::before, .ob-act:focus-within .ob-act__no::before { background: var(--ob-c); }
.ob-actfig { font-family: var(--ob-font); text-transform: uppercase; letter-spacing: .04em; color: var(--ob-c); }
.ob-act__note { margin: 0; font-family: var(--ob-font); font-size: var(--type-body-s); letter-spacing: .06em; color: var(--text-secondary); }
.ob-act__more { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ob-act__big { font-size: clamp(28px, 6.2vw, 96px); }
.ob-act em { font-style: normal; }

/* Act 2 — world: nodes around what you brought, no console */
.ob-act .ob-world__map { margin: 8px 0 0; }
.ob-act .ob-node { background: transparent; border-color: var(--ob-dd); }
.ob-act .ob-node--core { background: linear-gradient(rgba(250,104,12,.12), rgba(250,104,12,.02)); border-color: var(--ob-d); }

/* Act 3 — the Need: what you bring → ORBI → currently → needs to become true */
.ob-need__flow { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1.25fr); align-items: center; font-family: var(--ob-font); text-transform: uppercase; letter-spacing: .04em; }
.ob-need__flow em, .ob-need__cols em { display: block; font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); margin-bottom: 10px; }
.ob-need__in b { font-weight: 400; text-transform: none; font-size: clamp(18px, 1.7vw, 24px); color: #fff; line-height: 1.3; }
.ob-need__ln { height: 1px; background: var(--ob-d); position: relative; } .ob-need__ln::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3px solid transparent; border-left: 5px solid var(--ob-d); border-right: 0; }
.ob-need__orbi { display: grid; justify-items: center; gap: 10px; text-align: center; }
.ob-need__o .ob-mark-o { width: 112px; height: 112px; display: flex; }
.ob-need__lab { margin: 0; font-size: var(--type-body-s); letter-spacing: .2em; color: var(--ob-c); }
.ob-need__asks { text-align: left; border-top: 1px solid var(--ob-dd); padding-top: 12px; margin-top: 6px; }
.ob-need__asks ul, .ob-need__now ul, .ob-need__cols ul, .ob-carry ul, .ob-work__loose ul, .ob-ntu2__caps { list-style: none; margin: 0; padding: 0; }
.ob-need__asks li { text-transform: none; font-size: var(--type-body-s); line-height: 1.35; color: #d99a6c; padding: 3px 0; }
.ob-need__rr { display: grid; gap: 10px; }
.ob-need__now li { text-transform: none; font-size: 16px; color: #f4d7bf; padding: 3px 0; }
.ob-need__dn { font-style: normal; color: var(--ob-d); font-size: 20px; }
.ob-need__to { border: 1px solid var(--ob-c); padding: 14px 16px; background: linear-gradient(rgba(250,104,12,.12), rgba(250,104,12,.02)); }
.ob-need__to b { font-weight: 400; text-transform: none; font-size: clamp(17px, 1.5vw, 21px); color: #fff; line-height: 1.3; }
.ob-need__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); font-family: var(--ob-font); text-transform: uppercase; }
.ob-need__cols > div { border-top: 1px solid var(--ob-dd); padding-top: 14px; } .ob-need__cols > .you { border-top-color: var(--ob-c); } .ob-need__cols > .you em { color: var(--ob-c); }
.ob-need__cols li { text-transform: none; font-size: 16px; color: #f4d7bf; padding: 4px 0; }
@media (min-width: 1024px) {   /* the arrows meet the O at its centre, not the list under it */
  .ob-need__flow { align-items: start; } .ob-need__ln { margin-top: 56px; } .ob-need__in { padding-top: 30px; } .ob-need__rr { padding-top: 22px; }
}
@media (max-width: 1023px) {
  .ob-need__flow { grid-template-columns: 1fr; justify-items: start; gap: 0; }
  .ob-need__ln { width: 1px; height: 28px; margin: 10px 0 10px 20px; } .ob-need__ln::after { right: -3px; top: auto; bottom: -1px; border: 3px solid transparent; border-top: 5px solid var(--ob-d); border-bottom: 0; }
  .ob-need__orbi { justify-items: start; text-align: left; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
  .ob-need__o .ob-mark-o { width: 64px; height: 64px; } .ob-need__asks { grid-column: 1 / -1; }
  .ob-need__rr { width: 100%; }
}
@media (max-width: 639px) { .ob-need__cols { grid-template-columns: 1fr; gap: 18px; } }

/* Act 4 — authority: the existing YOU / MACHINE composition, out of its console */
.ob-act .ob-alloc__ax { padding: 12px 0; } .ob-act .ob-alloc__rows { padding: 4px 0 0; }
.ob-act .mk--gate { animation: none; }

/* Act 5 — loose understanding → one bounded box */
.ob-work { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.6fr); align-items: center; gap: 0 12px; }
.ob-work__loose ul { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.ob-work__loose li { text-transform: none; font-size: 15px; color: #d99a6c; border: 1px dashed var(--ob-dd); padding: 6px 10px; }
.ob-work__loose li:nth-child(odd) { translate: 0 6px; }
.ob-work__to { font-style: normal; text-align: center; color: var(--ob-d); font-size: 26px; }
.ob-work__box { border: 2px solid var(--ob-c); background: #0a0400; }
.ob-work__hd { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ob-d); font-size: var(--type-body-s); letter-spacing: .1em; }
.ob-work__hd b { font-weight: 400; color: var(--ob-c); } .ob-work__hd span { color: var(--ob-d); }
.ob-work__r { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #2a1305; align-items: baseline; } .ob-work__r:last-child { border-bottom: 0; }
.ob-work__r em { font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); } .ob-work__r b { font-weight: 400; text-transform: none; font-size: 16px; color: #f4d7bf; line-height: 1.4; }
.ob-work__r b span { color: var(--ob-amber); font-size: var(--type-body-s); }
.ob-anim .ob-work__box { opacity: 0; } .ob-anim .ob-work.run .ob-work__box { animation: ob-on .35s steps(4) .35s forwards; }
@media (max-width: 899px) { .ob-work { grid-template-columns: 1fr; gap: 14px; } .ob-work__to { transform: rotate(90deg); justify-self: start; margin-left: 12px; } .ob-work__loose li:nth-child(odd) { translate: none; } }
@media (max-width: 480px) { .ob-work__r { grid-template-columns: 1fr; gap: 4px; } .ob-work__hd { flex-direction: column; gap: 4px; } }

/* Act 6 — bounded work → NTU → capabilities → execution */
.ob-ntu2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ob-dd); }
.ob-ntu2__s { position: relative; padding: 18px 22px 6px 0; display: grid; align-content: start; gap: 8px; }
.ob-ntu2__s + .ob-ntu2__s { padding-left: 22px; border-left: 1px solid #2a1305; }
.ob-ntu2__s::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ob-ink, #050200); border: 1px solid var(--ob-d); }
.ob-ntu2__s + .ob-ntu2__s::before { left: -5px; }
.ob-ntu2__s em { font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); }
.ob-ntu2__s > b { font-weight: 400; text-transform: none; font-size: 16px; line-height: 1.4; color: #f4d7bf; }
.ob-ntu2__s > span { text-transform: none; font-size: var(--type-body-s); color: #d99a6c; }
.ob-ntu2__caps li { text-transform: none; font-size: 16px; color: #f4d7bf; padding: 2px 0; }
.ob-ntu__mark { display: block; height: 40px; width: auto; image-rendering: pixelated; }
.ob-ntu__slot { font-weight: 400; font-size: 22px; letter-spacing: .08em; color: #fff; }   /* owner asset pending: plain label */
.ob-anim .ob-ntu2__s { opacity: .25; } .ob-anim .ob-ntu2.run .ob-ntu2__s { animation: ob-on .3s steps(3) forwards; } .ob-anim .ob-ntu2.run .ob-ntu2__s:nth-child(2) { animation-delay: .25s; }
.ob-anim .ob-ntu2.run .ob-ntu2__s:nth-child(3) { animation-delay: .5s; } .ob-anim .ob-ntu2.run .ob-ntu2__s:nth-child(4) { animation-delay: .75s; }
@media (max-width: 899px) { .ob-ntu2 { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--ob-dd); }
  .ob-ntu2__s, .ob-ntu2__s + .ob-ntu2__s { padding: 6px 0 18px 22px; border-left: 0; } .ob-ntu2__s::before, .ob-ntu2__s + .ob-ntu2__s::before { top: 10px; left: -5px; } }

/* Act 7 — the returning line is labelled; the lock closes it */
.ob-vf__ret { position: relative; }
.ob-vf__ck { position: relative; }
.ob-vf__ck::before { content: "EVIDENCE RETURNS"; display: block; padding: 10px 18px 0; font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); }

/* Act 8 — continuity → identity */
.ob-cont { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ob-carry em, .ob-learn2 em { display: block; font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); margin-bottom: 12px; }
.ob-carry ul { display: flex; flex-wrap: wrap; gap: 0; }
.ob-carry li { text-transform: none; font-size: clamp(18px, 1.8vw, 24px); color: #fff; padding: 4px 18px 4px 0; margin-right: 18px; border-right: 1px solid var(--ob-dd); } .ob-carry li:last-child { border-right: 0; }
.ob-carry p { margin: 12px 0 0; text-transform: none; font-size: 15px; color: var(--text-secondary); }
.ob-learn2 { display: grid; gap: 16px; }
.ob-learn2 > div { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; align-items: center; }
.ob-learn2 em { margin: 0; } .ob-learn2 span { text-transform: none; font-size: 15px; color: #f4d7bf; }
.ob-learn2 i { grid-column: 2; display: block; height: 6px; width: var(--w); background: var(--ob-dd); } .ob-learn2 .later i { background: var(--ob-c); } .ob-learn2 .later em { color: var(--ob-c); }
.ob-anim .ob-learn2 i { transform: scaleX(0); transform-origin: left; } .ob-anim .ob-learn2.run i { transform: none; transition: transform .6s steps(6) .2s; }
.ob-ident { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--ob-dd); }
.ob-ident__field { margin: 0; background: #000; border: 1px solid var(--stone-700, #292623); }
.ob-ident__field img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.ob-ident__field figcaption { padding: 10px 14px; font-family: var(--ob-font); font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); border-top: 1px solid var(--stone-700, #292623); }
.ob-ident__t h3 { margin: 0 0 20px; font-family: var(--font-display-source, serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; color: #fff; }
.ob-ident__t dl { margin: 0 0 24px; font-family: var(--ob-font); }
.ob-ident__t dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #2a1305; align-items: baseline; }
.ob-ident__t dt { font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-c); } .ob-ident__t dd { margin: 0; font-size: 15px; color: #f4d7bf; }
.ob-routes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ob-dd); font-family: var(--ob-font); }
.ob-routes a { display: grid; gap: 6px; padding: 18px 20px 4px 0; color: #fff; } .ob-routes a + a { padding-left: 20px; border-left: 1px solid #2a1305; }
.ob-routes em { font-size: var(--type-label); letter-spacing: .12em; color: var(--ob-d); } .ob-routes b { font-weight: 400; font-size: 16px; }
@media (hover: hover) { .ob-routes a:hover b { color: var(--ob-c); } }
@media (max-width: 899px) { .ob-cont, .ob-ident { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ob-routes { grid-template-columns: 1fr; } .ob-routes a + a { padding-left: 0; border-left: 0; border-top: 1px solid #2a1305; } .ob-ident__t dl > div { grid-template-columns: 1fr; gap: 4px; } .ob-learn2 > div { grid-template-columns: 1fr; } .ob-learn2 i { grid-column: 1; } }

.ob-final__si { margin: 18px 0 0; text-align: center; font-family: var(--ob-font); font-size: var(--type-body-s); color: var(--text-secondary); } .ob-final__si a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { .ob-work__box, .ob-ntu2__s { opacity: 1 !important; animation: none !important; } .ob-learn2 i { transform: none !important; } }

/* ORBI cube (homepage presence: Act 3 + dock) — sized like the mark it replaces */
.ob-mark-orbi { display: inline-flex; } .ob-mark-orbi .ob-orbi-glyph { width: 100%; height: 100%; }
.ob-need__o .ob-mark-orbi { width: 128px; height: 128px; }
.ob-dock .ob-mark-orbi { width: 38px; height: 38px; flex: none; }
@media (max-width: 767px) { .ob-need__o .ob-mark-orbi { width: 72px; height: 72px; } .ob-dock .ob-mark-orbi { width: 26px; height: 26px; } }
/* Act 2: the animated ORBI mark sits in the core box, above what the person brought */
.ob-node--core .ob-node__orbi { width: clamp(56px, 9.5cqw, 132px); height: clamp(56px, 9.5cqw, 132px); flex: none; margin-bottom: clamp(4px, 1cqw, 14px); }
@media (max-width: 767px) { .ob-node--core .ob-node__orbi { width: 72px; height: 72px; } }

/* platform orientation: one calm line between the hero and the story (progressive disclosure: ORBI first, then the platform around it) */
.ob-orient { padding-top: clamp(20px, 3vw, 44px); padding-bottom: clamp(4px, 1vw, 16px); }
.ob-orient p { max-width: 64ch; margin: 0 auto; text-align: center; font-family: var(--font-body-alt, var(--font-interface)); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; color: var(--stone-300, #cecdc9); text-wrap: balance; }
.ob-orient b { font-weight: 400; color: var(--copper-500, #fa680c); letter-spacing: .04em; }

/* ── Act 4 · what stays with you (replaces the allocation figure) ── */
.ob-keep { border-left: 1px solid var(--ob-d); padding: 4px 0 4px 22px; max-width: 680px; }
.ob-keep em { display: block; font-style: normal; font-family: var(--ob-font); font-size: var(--type-label); letter-spacing: .16em; color: var(--ob-d); margin-bottom: 14px; }
.ob-keep__l { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ob-keep__l li { position: relative; padding-left: 20px; font-size: clamp(16px, 1.5vw, 20px); color: #f4d7bf; }
.ob-keep__l li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--orbi-o, #fd7e01); }
.ob-keep p { margin: 0; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.5; color: var(--ob-c); max-width: 54ch; }

/* ── Act 5 · action ── */
.ob-action { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ob-action__m { display: grid; justify-items: start; gap: 14px; }
.ob-action__m .ob-ntu__slot, .ob-action__m .ob-ntu__mark { font-family: var(--ob-font); font-size: clamp(34px, 4.5vw, 64px); letter-spacing: .08em; color: #fff; }
.ob-action__m span { font-size: clamp(14px, 1.3vw, 18px); color: var(--ob-c); max-width: 28ch; }
.ob-action__l em { display: block; font-style: normal; font-family: var(--ob-font); font-size: var(--type-label); letter-spacing: .16em; color: var(--ob-d); margin-bottom: 14px; }
.ob-action__l ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ob-action__l li { position: relative; padding-left: 20px; font-size: clamp(15px, 1.4vw, 19px); color: #f4d7bf; }
.ob-action__l li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border: 1px solid var(--ob-d); }

/* ── Act 6 · the outcome ── */
.ob-out { display: grid; justify-items: start; gap: 12px; max-width: 720px; }
.ob-out__b { border: 1px solid var(--ob-dd); padding: 16px 20px; width: 100%; }
.ob-out__b--now { border-color: var(--ob-d); background: linear-gradient(rgba(250,104,12,.07), rgba(250,104,12,.02)); }
.ob-out__b em { display: block; font-style: normal; font-family: var(--ob-font); font-size: var(--type-label); letter-spacing: .14em; color: var(--ob-d); margin-bottom: 6px; }
.ob-out__b b { font-weight: 400; font-size: clamp(16px, 1.5vw, 21px); color: #fff; }
.ob-out__ln { font-style: normal; color: var(--ob-d); font-size: 18px; padding-left: 20px; }
@media (max-width: 767px) { .ob-action { grid-template-columns: 1fr; } .ob-keep { padding-left: 16px; } }
.ob-act__status { color: rgba(250, 250, 250, 0.78); }
.ob-act__status b { color: #fff; }
.ob-act__status a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
