/* Omni-channel page (thought 50). Markup: web/_tools/omni.py. The scene is drawn by omni.js on a canvas; the channel marks,
   the core, step labels and cards are DOM on top (positioned by omni.js). Without JS or with reduced motion the section is
   a plain stacked page: the intro, the five chapters, the channel list. */
.oc3{position:relative;margin-inline:-20px;background:#0f1720;color:#f4f5f2;isolation:isolate}   /* 2026-11-26: matte black (the artifact's #0F1720) */
.oc3-pin{position:relative;min-height:100vh;overflow:hidden}
.oc3-pin::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.07;mix-blend-mode:overlay;   /* fine grain: matte, not glossy */
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>")}
.oc3-cv{position:absolute;inset:0;width:100%;height:100%;display:none}
.oc3-layer,.oc3-hint{display:none}

/* static (no JS / reduced motion): intro + chapters as a column */
.oc3-copy{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:160px 32px 96px;display:grid;gap:56px}
.oc3-kick{margin:0 0 18px;font:500 12px/1 var(--f-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--vo-gold)}
.oc3-intro .oc3-title{margin:0;max-width:14ch;font:400 clamp(44px,6.2vw,104px)/1 var(--f-display);letter-spacing:-.035em}
.oc3-intro p:last-child{max-width:46ch;margin:24px 0 0;font:400 clamp(16px,1.3vw,19px)/1.55 var(--f-sans);color:rgba(244,245,242,.72)}
.oc3-txt h2:not(.oc3-title){margin:0;font:400 clamp(56px,8vw,140px)/.95 var(--f-display);letter-spacing:-.045em;color:#f4f5f2}
.oc3-txt p{max-width:34ch;margin:18px 0 0;font:400 clamp(16px,1.35vw,20px)/1.5 var(--f-sans);color:rgba(244,245,242,.72)}

/* ── live scene (omni.js adds .oc3-live on <html>) ─────────────────────────────────────────────────────────────── */
.oc3-live .oc3{height:860vh}
.oc3-live .oc3.oc3-home{height:1000vh}   /* on Home: two more chapters, Guard and At once (2026-11-26) */
.oc3-live .oc3-pin{position:sticky;top:0;height:100vh;height:100svh;min-height:0}
.oc3-live .oc3-cv{display:block}
.oc3-live .oc3-layer{display:block;position:absolute;inset:0;z-index:1;pointer-events:none}
.oc3-live .oc3-copy{position:absolute;left:clamp(24px,5vw,88px);right:clamp(24px,5vw,88px);top:clamp(96px,13vh,140px);max-width:none;margin:0;padding:0;display:block;pointer-events:none}
.oc3-live .oc3-txt{position:absolute;left:0;right:0;top:0;margin:0 auto;width:min(860px,92vw);text-align:center;opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .7s cubic-bezier(.2,.8,.2,1)}
.oc3-live .oc3-txt.is-on{opacity:1;transform:none}
.oc3-live .oc3-intro{width:min(980px,92vw)}
.oc3-live .oc3-intro .oc3-title{max-width:none}
.oc3-live .oc3-txt p{margin-inline:auto;max-width:44ch;font-size:clamp(17px,1.45vw,21px)}
.oc3-live .oc3-txt h2:not(.oc3-title){font-size:clamp(52px,6.6vw,112px)}

.oc3-live .oc3-txt p,.oc3-live .oc3-intro p:last-child{text-shadow:0 2px 18px #0f1720,0 0 2px #0f1720}

.oc3-layer>*{position:absolute;left:0;top:0;opacity:0;will-change:transform,opacity}
.oc3-ic{display:grid;place-items:center}
.oc3-ic svg{width:100%;height:100%}

/* channel marks (the ways in): icon tiles; hover / focus shows what the agent does there */
.oc3-ch{pointer-events:auto;width:58px;height:58px;margin:-29px 0 0 -29px;padding:14px;border-radius:17px;cursor:help;color:var(--c);
  background:#17222d;border:1px solid color-mix(in srgb,var(--c) 45%,transparent);box-shadow:none;transition:box-shadow .3s,border-color .3s}
.oc3-ch .oc3-ic{width:100%;height:100%}
.oc3-ch[data-ch="wa"]{background:#7fcf9f;color:#fff;border-color:#7fcf9f}
.oc3-ch:hover,.oc3-ch:focus-visible{box-shadow:0 0 0 1px var(--c);outline:none}
.oc3-tip{position:absolute;left:calc(100% + 16px);top:50%;width:270px;padding:13px 15px;border-radius:13px;text-align:left;
  background:#1b2631;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 50px -28px rgba(0,0,0,.6);
  font:400 13.5px/1.45 var(--f-sans);color:rgba(244,245,242,.82);opacity:0;transform:translate(-6px,-50%);transition:opacity .25s,transform .25s;pointer-events:none}
.oc3-tip b{display:block;margin-bottom:4px;font:500 11px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--c)}
.oc3-ch[data-ch="wa"] .oc3-tip b{color:#7fcf9f}
.oc3-ch:hover .oc3-tip,.oc3-ch:focus-visible .oc3-tip{opacity:1;transform:translate(0,-50%)}
.oc3-ch.tip-left .oc3-tip{left:auto;right:calc(100% + 16px);transform:translate(6px,-50%)}
.oc3-ch.tip-left:hover .oc3-tip,.oc3-ch.tip-left:focus-visible .oc3-tip{transform:translate(0,-50%)}

/* follow-up targets */
.oc3-tg{display:flex;align-items:center;gap:12px;margin:-22px 0 0 -22px;white-space:nowrap}
.oc3-tg .oc3-ic{width:44px;height:44px;padding:11px;border-radius:13px;flex:none;color:var(--c);background:#17222d;border:1px solid color-mix(in srgb,var(--c) 45%,transparent);box-shadow:none;transition:transform .25s,box-shadow .25s}
.oc3-tg[data-ch="wa"] .oc3-ic{background:#7fcf9f;color:#fff}
.oc3-tg em{font:500 12px/1 var(--f-mono);font-style:normal;letter-spacing:.06em;color:rgba(244,245,242,.8);padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
.oc3-tg.hit .oc3-ic{transform:scale(1.14);box-shadow:0 0 0 1px var(--c)}

/* the agent */
.oc3-core{display:grid;grid-template-columns:124px;justify-items:center;gap:12px;margin:-62px 0 0 -62px;width:124px}   /* one 92px column: the wider label overflows evenly, the disc stays on the agent's point (thought 61) */
.oc3-core img{width:124px;height:124px;padding:30px;border-radius:50%;box-sizing:border-box;background:#f4f5f2;
  border:1px solid rgba(143,182,232,.35);box-shadow:0 0 0 10px rgba(143,182,232,.06)}
.oc3-core small{font:500 11px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:rgba(244,245,242,.55);white-space:nowrap}

/* steps, the work, the memory */
.oc3-st{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;width:150px;white-space:normal;font:400 12.5px/1.3 var(--f-sans);color:rgba(244,245,242,.58)}   /* desktop: above its node, centred; the line under wraps so neighbours never touch */
.oc3-st b{font:400 clamp(22px,2vw,30px)/1 var(--f-display);letter-spacing:-.02em;color:#f4f5f2;white-space:nowrap}
/* your systems, straight under Act: the work ticks through inside it, then the outcome is saved */
.oc3-db{display:flex;align-items:center;gap:14px;margin:0;padding:12px 18px 12px 12px;border-radius:16px;background:#17222d;border:1px solid rgba(169,155,220,.38);box-shadow:none}
.oc3-db svg{width:40px;height:40px;padding:9px;border-radius:11px;background:#221f36;fill:none;stroke:#b5a8ec;stroke-width:1.6;flex:none}
.oc3-db b{display:block;font:500 15px/1.2 var(--f-sans);color:#f4f5f2}
.oc3-db small{display:block;font:400 12px/1.3 var(--f-sans);color:#9aa8bd}
.oc3-dos{display:grid;margin-top:8px;min-height:26px}
.oc3-do{grid-area:1/1;justify-self:start;padding:6px 11px;border-radius:999px;white-space:nowrap;font:500 12px/1 var(--f-sans);font-style:normal;color:#bfe8d4;background:#15302a;border:1px solid #2a5a4a;opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
.oc3-do.is-on{opacity:1;transform:none}
.oc3-do::before{content:"✓";margin-right:7px;color:#6fd3a5;font-weight:700}
.oc3-db em{display:none;margin-top:8px;font:500 11px/1 var(--f-mono);font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:#b5a8ec}
.oc3-db.done em{display:inline-block}.oc3-db.done .oc3-dos{display:none}
.oc3-db.done em::before{content:"✓ "}
.oc3-mem{width:230px;padding:12px 14px;border-radius:14px;font:400 14px/1.4 var(--f-sans);color:rgba(244,245,242,.88);background:#17222d;
  border:1px solid color-mix(in srgb,var(--c) 40%,transparent);box-shadow:none}
.oc3-mem small{display:block;margin-bottom:5px;font:500 10.5px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--c)}

/* scroll hint */
.oc3-live .oc3-hint{display:block;position:absolute;z-index:3;left:50%;bottom:clamp(28px,5vh,56px);transform:translateX(-50%);font:500 11px/1 var(--f-mono);letter-spacing:.2em;text-transform:uppercase;color:rgba(244,245,242,.45);transition:opacity .4s}
.oc3-hint::after{content:"";display:block;width:1px;height:34px;margin:10px auto 0;background:linear-gradient(rgba(244,245,242,.5),transparent);animation:oc3-hint 1.8s ease-in-out infinite}
@keyframes oc3-hint{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* reduced motion: one still frame of the whole scene above the stacked text */
.oc3-still .oc3-cv{display:block;position:relative;height:min(78vh,720px)}
.oc3-still .oc3-layer{display:block;position:absolute;left:0;right:0;top:0;height:min(78vh,720px);z-index:1;pointer-events:none}
.oc3-still .oc3-copy{padding-top:48px}

/* Guard (2026-11-26): the checkpoint card, the outgoing messages, the log in your systems; At once: the systems bar */
.oc3-guard{display:flex;flex-direction:column;width:300px;box-sizing:border-box;padding:13px 16px 10px;border-radius:16px;background:#17222d;border:1px solid rgba(232,207,134,.32)}
.oc3-guard b{display:block;margin-bottom:8px;font:500 11px/1.3 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:#e8cf86}
.oc3-guard i{display:flex;align-items:center;gap:10px;padding:4px 0;font:400 13.5px/1.3 var(--f-sans);font-style:normal;color:rgba(244,245,242,.42);transition:color .3s}
.oc3-guard i::before{content:"";flex:none;width:16px;height:16px;box-sizing:border-box;border-radius:50%;border:1.5px solid rgba(244,245,242,.22);display:grid;place-items:center;font:700 10px/1 var(--f-sans);color:#0f1720;transition:background .3s,border-color .3s}
.oc3-guard i[data-s="run"]{color:rgba(244,245,242,.82)}
.oc3-guard i[data-s="run"]::before{border-color:rgba(232,207,134,.3);border-top-color:#e8cf86;animation:oc3-spin .7s linear infinite}
.oc3-guard i[data-s="ok"]{color:#f4f5f2}
.oc3-guard i[data-s="ok"]::before{content:"✓";background:#7fcf9f;border-color:#7fcf9f}
@keyframes oc3-spin{to{transform:rotate(360deg)}}
.oc3-pii,.oc3-hold{display:flex;flex-direction:column;gap:4px;padding:9px 13px;border-radius:12px;background:#17222d;border:1px solid rgba(255,255,255,.12);white-space:nowrap;transition:border-color .3s}
.oc3-pii small,.oc3-hold small{font:500 10px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:rgba(244,245,242,.5)}
.oc3-pii em,.oc3-hold em{font:500 14px/1.2 var(--f-mono);font-style:normal;letter-spacing:.02em;color:#f4f5f2}
.oc3-pii.masked{border-color:rgba(127,207,159,.55)}.oc3-pii.masked em{color:#bfe8d4}
.oc3-hold b{display:none;font:500 12.5px/1.3 var(--f-sans);color:#efa98f}
.oc3-hold.held{border-color:rgba(239,169,143,.55)}.oc3-hold.held b{display:block}
.oc3-db-log{display:none;margin-top:8px;font:500 11px/1 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#e8cf86}
.oc3-db.guard .oc3-dos{display:none}.oc3-db.guard .oc3-db-log{display:inline-block}
.oc3-bar{display:flex;align-items:center;gap:14px;padding:12px 20px;border-radius:16px;background:#17222d;border:1px solid rgba(169,155,220,.38);white-space:nowrap}
.oc3-bar b{font:500 15px/1.2 var(--f-sans);color:#f4f5f2}
.oc3-bar small{font:500 11px/1.3 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#b5a8ec}

@media (max-width:820px){
  .oc3-guard{width:calc(50vw - 34px);box-sizing:border-box;padding:10px 11px}.oc3-guard b{font-size:9.5px;margin-bottom:5px}
  .oc3-guard i{gap:7px;padding:3px 0;font-size:11.5px}.oc3-guard i::before{width:13px;height:13px;font-size:8px}
  .oc3-pii,.oc3-hold{padding:7px 10px;max-width:calc(50vw - 30px);box-sizing:border-box;white-space:normal}.oc3-pii em,.oc3-hold em{font-size:10.5px}   /* left of the line, never past the edge */.oc3-hold b{font-size:11px;white-space:normal;max-width:150px}
  .oc3-bar{flex-direction:column;gap:4px;width:calc(100vw - 48px);box-sizing:border-box;text-align:center;white-space:normal}
  .oc3-live .oc3{height:760vh}
  .oc3-live .oc3.oc3-home{height:880vh}
  .oc3-live .oc3-copy{left:20px;right:20px;top:auto;bottom:clamp(84px,13vh,120px)}
  .oc3-live .oc3-txt{width:auto;top:auto;bottom:0}
  .oc3-live .oc3-txt h2:not(.oc3-title){font-size:clamp(48px,14vw,72px)}
  .oc3-live .oc3-txt p{font-size:15.5px}
  .oc3-live .oc3-intro .oc3-title{font-size:clamp(38px,11vw,56px)}
  .oc3-ch{width:46px;height:46px;margin:-23px 0 0 -23px;padding:11px;border-radius:14px}
  .oc3-tip{display:none}
  .oc3-tg em{display:none}
  .oc3-tg .oc3-ic{width:38px;height:38px;padding:9px}
  .oc3-st{font-size:0;gap:0;width:auto;align-items:flex-start;text-align:left}.oc3-st b{font-size:17px}   /* phones: right of the vertical line */
  .oc3-core small{display:none}   /* phones: the steps sit right under the disc */
  .oc3-mem{width:calc(50vw - 20px);font-size:12.5px;padding:10px 12px}

  .oc3-do{font-size:11px;padding:6px 10px}
  .oc3-db{padding:7px 12px 7px 7px;width:calc(100vw - 48px);box-sizing:border-box}.oc3-db em{font-size:10px;letter-spacing:.06em}.oc3-db small{display:none}   /* phones: one slim bar under the channel row */
  .oc3-db>span{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.oc3-db b{font-size:14px}
  .oc3-db svg{width:30px;height:30px;padding:7px}.oc3-dos{margin-top:0}.oc3-db em{margin-top:0}
  .oc3-live .oc3-hint{display:none}
}
@media (prefers-reduced-motion:reduce){.oc3-hint::after{animation:none}}
