/* OLOBBY 통합안 — 활용 사례 페이지.
   Layering: shared/tokens.css → shared/base.css → final/patterns.css → this file.
   Colour = category: every tinted surface takes the quadrant colour of the module it shows. */

/* ─────────────── Hero: the day film ─────────────── */
.uc-hero { padding-top: clamp(26px, 4vw, 60px); }
.uc-hero__head { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); gap: 18px 52px; align-items: end; }
.uc-hero__copy { display: grid; gap: 12px; }
.uc-hero__title { font-size: clamp(1.875rem, 1.25rem + 2.8vw, 3.75rem); line-height: 1.12; }
.uc-hero__aside { display: grid; gap: 16px; padding-bottom: 2px; }
.uc-hero__aside .t-lead { font-size: 1.0625rem; }
.uc-hero__stage { margin-top: clamp(24px, 3.2vw, 42px); }

.uc-film { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(252px, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: clamp(10px, 1.8vw, 24px); }
.uc-film__screen { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-frame); background: #F4F6FD; }
.uc-film__screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #F4F6FD; }
.uc-film__bar { min-width: 0; }
.uc-film__title { font-size: 1.125rem; font-weight: 720; }
.uc-film__note { margin: 3px 0 14px; font-size: .875rem; color: var(--muted); }
.chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chapter { display: grid; gap: 2px; justify-items: start; min-height: 50px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; text-align: left; transition: border-color var(--t-fast) var(--ease); }
.chapter time { font-size: .9375rem; font-weight: 600; color: var(--q-ink); font-variant-numeric: tabular-nums; }
.chapter span { font-size: .8125rem; color: var(--ink); line-height: 1.25; }
.chapter:hover { border-color: var(--q-ink); }
.chapter.is-current { border-color: var(--action); background: #EDF4FF; box-shadow: inset 0 -2px 0 var(--action); }
.uc-film__current { display: grid; gap: 3px; min-height: 3.8em; margin: 14px 0 0; color: var(--body); font-size: .9375rem; line-height: 1.55; }
.uc-film__current strong { color: var(--ink); }
.uc-film__error { margin-top: 8px; font-size: .875rem; }
@media (max-width: 720px) {
  .uc-film { grid-template-columns: 1fr; }
  .uc-film__bar { padding: 0 2px; }
  .uc-film__note { margin-bottom: 9px; }
}
@media (min-width: 370px) and (max-width: 720px) {
  .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.uc-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; }
.uc-jump__label { margin-right: 6px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.uc-jump__link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-size: .9375rem; font-weight: 620; color: var(--ink); transition: border-color var(--t-fast) var(--ease); }
.uc-jump__link .ico { color: var(--muted); }
.uc-jump__link:hover { border-color: var(--ink); }

/* ─────────────── Day stage (pattern: .sstage) ─────────────── */
.uc-day { padding-block: var(--section) calc(var(--section) * .45); }
.uc-day__intro { margin-bottom: clamp(16px, 3vw, 40px); }
.uc-day__intro .t-lead { max-width: 40em; }
.uc-day .sstage__canvas { --lw: clamp(240px, 25vw, 360px); }
.sstage__title-ico { display: inline-block; vertical-align: -2px; margin-right: 6px; }
/* inactive big times: large text needs ≥3:1 on white (#7F8BA3 = 3.4:1); patterns.css uses --line-strong (1.5:1) */
.uc-day .sstage__big { color: #7F8BA3; }
.uc-day .sstage__step.is-active .sstage__big { color: var(--q-ink); }
.uc-day .sstage__lens { transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease); }
/* lens side (data-lens-side) lives in patterns.css with the stage */

/* ─────────────── Journey: one request item across three people ───────────────
   A lane per person, a card per step, one line through them. The line fills as the page scrolls;
   each lane crossing carries a hand-off marker; the top ruler shows which phase the item is in. */
.jl { --lanes: 160px; --row: 166px; --jl-out: #F5F8FC; position: relative; display: grid; grid-template-columns: var(--lanes) minmax(0, 1fr); grid-template-rows: auto auto; margin-top: var(--sec-gap); overflow: hidden; background-image: none; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -46px rgba(23, 36, 61, .45); }
.jl__count { grid-column: 1; grid-row: 1; align-self: center; display: flex; align-items: baseline; gap: 5px; margin: 0; padding-left: 20px; font-size: 13px; font-weight: 650; color: var(--body); }
.jl__count b { min-width: .7em; font-size: 1.625rem; font-weight: 600; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.jl__count span { margin-right: 2px; font-size: .9375rem; color: var(--muted); }
.jl .jl__phases { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: 10px; margin: 0; padding: 18px 18px 16px 0; list-style: none; }
.jl__phases li { grid-column: var(--a) / span var(--n); display: grid; gap: 8px; font-size: 13px; font-weight: 680; color: var(--muted); transition: color var(--t-mid) var(--ease); }
.jl__phases li.is-on { color: var(--ink); }
.jl__phases i { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.jl__phases i b { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 4px; background: var(--action); transition: width 320ms var(--ease); }
.jl .jl__lanes { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: repeat(3, var(--row)); margin: 0; padding: 0; list-style: none; }
.jl__lane { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: center; align-items: center; gap: 2px 12px; padding-left: 20px; border-top: 1px solid var(--line); }
.jl__lane[data-lane="client"] { background: var(--jl-out); }
.jl__lane-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.jl__lane b { align-self: end; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.jl__lane small { align-self: start; font-family: var(--font-ui); font-size: 12px; line-height: 1.4; color: var(--body); }
.jl .jl__nodes { grid-column: 2; grid-row: 2; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(3, var(--row)); column-gap: 10px; margin: 0; padding: 0 18px 0 0; list-style: none;
  background: linear-gradient(to bottom, var(--line) 0 1px, transparent 0 var(--row), var(--line) 0 calc(var(--row) + 1px), transparent 0 calc(var(--row) * 2), var(--line) 0 calc(var(--row) * 2 + 1px), transparent 0), linear-gradient(to bottom, var(--jl-out) 0 var(--row), transparent 0); }
.jn { grid-column: var(--col); align-self: center; position: relative; display: grid; gap: 8px; padding: 15px 12px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-strong), 0 10px 22px -18px rgba(23, 36, 61, .4); transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease); }
.jn[data-lane="client"] { grid-row: 1; }
.jn[data-lane="staff"] { grid-row: 2; }
.jn[data-lane="review"] { grid-row: 3; }
.jn__n { position: absolute; top: -11px; left: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 12px; font-weight: 600; color: var(--body); transition: background-color var(--t-mid), color var(--t-mid), box-shadow var(--t-mid); }
.jn__who { display: none; }
.jn__t { font-size: .9375rem; line-height: 1.36; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.jn__d { display: none; font-size: 12.5px; line-height: 1.5; color: var(--body); }
.jn__m { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px 6px; font-size: 12px; line-height: 1.3; color: var(--body); }
.jn__m .mod-ico { --size: 22px; border-radius: 6px; }
.jn__m .t-ui { color: var(--ink); }
.jn__m a.t-ui:hover, .scen__steps strong a:hover { text-decoration: underline; text-underline-offset: 4px; }
.scen__steps strong a { color: inherit; }
.jn__m .pill { grid-column: 1 / -1; justify-self: start; height: 22px; padding: 0 8px; transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
/* a status is "recorded" only once the item has reached that step */
.jl.is-tracking .jn:not(.is-done) .pill { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.jn.is-done { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--q) 70%, var(--q-ink)), 0 12px 24px -18px rgba(23, 36, 61, .45); }
.jn.is-done .jn__n { background: var(--q-ink); color: #fff; box-shadow: 0 0 0 3px #fff; }
.jn.is-now { transform: translateY(-3px); box-shadow: 0 0 0 2px color-mix(in srgb, var(--q) 70%, var(--q-ink)), 0 20px 30px -18px rgba(23, 36, 61, .55); }
.jl__path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.jl__base { fill: none; stroke: #D5DCE8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jl__done { fill: none; stroke: var(--action); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(38, 98, 217, .35)); }
.jl__token { fill: var(--action); stroke: #fff; stroke-width: 3; }
.jl__pulse { fill: none; stroke: var(--action); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.jl.is-live .jl__pulse { animation: jl-pulse 1.8s var(--ease) infinite; }
@keyframes jl-pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
/* hand-off marker: sits on the lane line the item crosses */
.jl__hop { position: absolute; z-index: 3; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1.5px #C3CCDB; color: #7F8BA3; transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.jl__hop .ico { width: 11px; height: 11px; stroke-width: 2.8; transform: rotate(90deg); }
.jl__hop.is-up .ico { transform: rotate(-90deg); }
.jl__hop.is-done { background: var(--action); color: #fff; box-shadow: 0 0 0 3px #fff, 0 4px 10px -2px rgba(38, 98, 217, .55); }
.jl__remind { grid-column: 2 / span 2; grid-row: 2; align-self: center; justify-self: center; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--q-share-soft); color: var(--q-share-ink); font-size: 12.5px; font-weight: 640; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--q-share) 45%, transparent); white-space: nowrap; }
.jl__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-small); color: var(--body); }
.jl__note .ico { color: var(--q-share-ink); }
@media (prefers-reduced-motion: reduce) { .jn, .jn__n, .jl__hop, .jl__phases i b { transition: none; } .jl__token, .jl__pulse { display: none; } }
@media (max-width: 1180px) {
  .jl { --lanes: 112px; --row: 200px; }
  .jl__lane { grid-template-columns: 34px minmax(0, 1fr); gap: 2px 8px; padding-left: 12px; } .jl__lane-ico { width: 34px; height: 34px; } .jl__lane small { display: none; } .jl__lane b { grid-row: span 2; align-self: center; font-size: .9375rem; }
  .jl__count { padding-left: 12px; } .jl__count b { font-size: 1.375rem; }
  .jl .jl__phases, .jl .jl__nodes { column-gap: 8px; padding-right: 12px; }
  .jn { padding: 14px 8px 10px; } .jn__t { font-size: .875rem; }
  /* narrow cards: the module name alone (its icon is in the lane it belongs to), never broken inside a word */
  .jn__m { grid-template-columns: minmax(0, 1fr); } .jn__m .mod-ico { display: none; } .jn__m .t-ui { overflow-wrap: normal; }
  .jl__remind { font-size: 12px; padding: 0 9px; }
}
@media (max-width: 1023px) {
  .jl { display: block; padding: 18px 16px; }
  .jl .jl__lanes, .jl__path, .jl .jl__phases, .jl__count, .jl__hop { display: none; }
  .jl .jl__nodes { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; padding: 4px 0 4px 34px; background: none; }
  .jl__nodes::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(var(--action), color-mix(in srgb, var(--action) 35%, var(--line-strong))); }
  .jn { grid-column: auto; grid-row: auto !important; padding: 14px; }
  .jn__n { top: 14px; left: -35px; }
  .jn__d { display: block; }
  .jn__who { display: inline-block; justify-self: start; padding: 2px 8px; border-radius: 6px; background: var(--paper-soft); font-size: 12px; font-weight: 700; color: var(--ink); }
  .jn[data-lane="client"] .jn__who { background: var(--q-share-soft); color: var(--q-share-ink); }
  .jn__m { grid-template-columns: auto auto minmax(0, 1fr); } .jn__m .mod-ico { display: grid; } .jn__m .pill { grid-column: auto; }
  .jl__remind { grid-column: auto; grid-row: auto; justify-self: start; }
}

/* ─────────────── Hand-offs ─────────────── */
.uc-ho__list { display: grid; gap: clamp(64px, 8vw, 120px); margin-top: clamp(40px, 5vw, 72px); }
.ho { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ho__route { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ho__arrow { color: var(--q-ink); }
.ho__copy .t-h3 { margin-top: 18px; font-size: clamp(1.375rem, 1.2rem + .55vw, 1.75rem); }
.ho__copy > p { margin-top: 12px; }
.ho__copy .ticks { margin-top: 16px; }
/* who hands the work to whom, and the state it lands in (states as the product shows them) */
.baton { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.baton__side { display: grid; justify-items: start; gap: 6px; margin: 0; }
.baton__side:last-child { justify-items: end; text-align: right; }
.baton__who { display: inline-flex; align-items: center; gap: 7px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.baton__who .ico { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--q-soft, var(--paper-soft)); color: var(--q-ink, var(--action)); }
.baton__st { padding: 3px 9px; border-radius: 7px; background: var(--paper-soft); font-size: .8125rem; font-weight: 600; color: var(--body); }
.baton__st--to { background: #fff; box-shadow: inset 0 0 0 1px #B9CDFF; color: #2662D9; }
.baton__pass { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 20px; color: var(--q-ink, var(--action)); }
.baton__pass::before { content: ""; position: absolute; left: 0; right: 6px; top: 50%; border-top: 2px dashed currentColor; opacity: .45; }
.baton__pass .ico { position: relative; width: 16px; height: 16px; }
.baton__pass i { position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: currentColor; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .ho.is-live .baton__pass i { animation: baton-pass 2.4s var(--ease, ease) infinite; } }
@keyframes baton-pass { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 70% { left: calc(100% - 22px); opacity: 1; } 85%, 100% { left: calc(100% - 22px); opacity: 0; } }
.ho__steps { display: grid; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.ho__steps li { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: .9375rem; color: var(--ink); }
.ho__steps .t-ui { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--q-ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.ho__fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.field { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px 0 7px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-family: var(--font-ui); font-size: 13px; color: var(--ink); }
.field img { width: 18px; height: 18px; }

.ho__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: clamp(18px, 2.4vw, 28px); padding: clamp(16px, 2.4vw, 32px); align-items: center; }
.ho__stage > .flow { z-index: 0; }
.ho__from { grid-column: 1 / span 7; grid-row: 1; z-index: 1; }
.ho__lens { position: relative; z-index: 2; grid-column: 8 / -1; grid-row: 1; justify-self: end; width: min(100% - 16px, var(--lw)); --lw: clamp(240px, 24vw, 320px); }
.ho__to { grid-column: 3 / -1; grid-row: 2; z-index: 1; }
.ho__cap { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #FBFCFE; font-size: 13px; font-weight: 640; color: var(--ink); }
.ho__cap .mod-ico { --size: 24px; border-radius: 6px; }
.ho .lens-src { box-shadow: 0 0 0 4px color-mix(in srgb, var(--q) 26%, transparent); }
.ho .flow__line, .ho .flow__base { stroke-width: 2.5; }

/* ─────────────── Industry scenarios ─────────────── */
.uc-scen { background: var(--paper-soft); }
.uc-scen__tabs { margin-top: clamp(28px, 4vw, 48px); }
.uc-scen__panels { margin-top: clamp(24px, 3vw, 36px); }
.seg [role="tab"] .ico { color: var(--muted); }
.seg [role="tab"][aria-selected="true"] .ico { color: var(--action); }
.scen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.scen[hidden] { display: none; }
.scen:focus-visible { outline-offset: 8px; }
.scen__label { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 650; color: var(--ink); }
.scen__copy .t-h3 { margin-top: 14px; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.scen__copy > p { margin-top: 12px; }
.scen__steps { display: grid; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.scen__steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.scen__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--q-ink); color: #fff; font-size: 12.5px; font-weight: 600; margin-top: 1px; }
.scen__steps strong { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.scen__steps p { margin-top: 2px; font-size: .9375rem; line-height: 1.6; }
/* the last line of every scenario: the state the work finishes in */
.scen__steps li.scen__done { border-bottom: 0; }
.scen__tick { width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--done); color: #fff; }
.scen__tick .ico { width: 14px; height: 14px; stroke-width: 3.2; }
.scen__done strong { font-family: var(--font-sans); font-weight: 760; color: var(--done-ink); }
.chain__tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--done); color: #fff; box-shadow: 0 0 0 5px var(--paper-soft); }
.chain__tick .ico { width: 24px; height: 24px; stroke-width: 3; }
.chain__node--done .t-ui { font-family: var(--font-sans); font-weight: 760; color: var(--done-ink); }
/* end of the day, end of the request item */
.uc-day__end { margin-top: clamp(24px, 3vw, 40px); }
.uc-day__end .donecard { max-width: 860px; }
.uc-day__end .donecard ul { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px 24px; }
.uc-day__end .donecard li { display: grid; align-content: start; gap: 2px; }
.jl__end { max-width: 860px; margin-top: 16px; transition: box-shadow var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease); }
/* the card turns green when the line reaches 8 / 8; without step tracking (phones, tablets) every step is already shown done */
.jl.is-complete ~ .jl__end, .jl:not(.is-tracking) ~ .jl__end { background: #E3F6EC; box-shadow: inset 0 0 0 1.5px var(--done); }
.jl.is-complete .jl__count b { color: var(--done-ink); }
@media (max-width: 640px) { .uc-day__end .donecard ul { grid-template-columns: 1fr; } .chain__tick { width: 44px; height: 44px; } }

.chain { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-bottom: 20px; }
.chain .flow { height: 52px; }
.chain__node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink); }
.chain__node .mod-ico { box-shadow: 0 0 0 5px var(--paper-soft), inset 0 0 0 1px rgba(23, 36, 61, .06); }
.scen__visual { position: sticky; top: calc(var(--header-h) + 24px); }
.scen__canvas { display: flow-root; padding: clamp(14px, 2.2vw, 28px); }
.scen__canvas .frame__title { padding-right: 40px; }
/* the lens hangs under the frame, overlapping its lower edge, so the marked source stays visible */
.scen__lens { position: relative; right: auto; bottom: auto; margin: clamp(-56px, -3.6vw, -28px) clamp(4px, 1vw, 12px) 0 auto; width: min(100% - 8px, var(--lw)); --lw: clamp(220px, 24vw, 320px); }
.scen__lens--wide { --lw: clamp(250px, 26vw, 360px); }

/* ─────────────── Connection map: the O-ring (the one dark section) ───────────────
   19 modules sit on the logo ring; one curve per connected pair (tools/build_links.py → ring()).
   Selected module: its curves draw in with a gradient between the two category colours; the hub in the middle names it. */
.omap { position: relative; padding-block: var(--section); overflow: hidden; isolation: isolate; }
.omap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 62% at 72% 52%, color-mix(in srgb, var(--q) 20%, transparent), transparent 72%), radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 1.4px) 0 0 / 26px 26px; }
.omap__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "copy figure" "panel figure"; grid-template-rows: auto 1fr; gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.omap__copy { grid-area: copy; display: grid; gap: 18px; }
.omap .kicker { color: #fff; }
.omap__lead { color: #C7D2E8; max-width: 31em; }
.omap__panel { grid-area: panel; }
.omap__figure { grid-area: figure; align-self: center; }

.omap__detail { padding: 22px 24px 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035)); box-shadow: inset 0 0 0 1px var(--night-line), inset 0 3px 0 -1px var(--q); }
.omap__detail-head { display: flex; align-items: center; gap: 14px; }
.omap__detail-head .mod-ico { background: #fff; }
.omap__detail-cat { font-size: 13px; font-weight: 650; color: var(--q); }
.omap__detail-name { font-size: 1.375rem; font-weight: 600; letter-spacing: 0; line-height: 1.25; color: #fff; }
.omap__detail-desc { margin-top: 14px; color: #C7D2E8; font-size: .9375rem; line-height: 1.6; }
.omap__label { margin-top: 18px; font-size: 13px; font-weight: 650; color: #fff; }
.omap__label b { margin-left: 6px; display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; }
.omap__rel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.orel { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px 0 4px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--night-line); color: #fff; font-family: var(--font-ui); font-size: 13px; transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.orel .mod-ico { --size: 26px; border-radius: 50%; background: #fff; }
.orel:hover, .orel.is-hot { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px var(--q); }
.omap__cap { min-height: 5.4em; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(8, 16, 34, .45); font-size: .875rem; line-height: 1.55; color: #C7D2E8; }
.omap__cap b { display: block; margin-bottom: 2px; font-weight: 500; color: #fff; }
.omap__more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: .9375rem; }
.omap__more .link { color: #A8C2FF; text-decoration-color: rgba(168, 194, 255, .45); }
.omap__note { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--night-line); font-size: .875rem; line-height: 1.6; color: #9AA8C3; }

.omap__ring { position: relative; width: min(100%, 600px); aspect-ratio: 1; margin-inline: auto; }
.omap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.omap__svg path { fill: none; }
.omap__halo path { stroke-width: 54; opacity: .1; }
.omap__arcs path { stroke-width: 20; }
.omap__base path { stroke: rgba(255, 255, 255, .085); stroke-width: 1.2; }
.omap__on { filter: drop-shadow(0 0 5px rgba(150, 185, 255, .35)); }
.omap__on path { stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: var(--from, 1); opacity: 0; transition: opacity 200ms linear, stroke-width 200ms var(--ease); }
.omap__on path.is-on { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 760ms var(--ease) calc(var(--k, 0) * 55ms), opacity 120ms linear calc(var(--k, 0) * 55ms), stroke-width 200ms var(--ease); }
.omap__ring.has-hot .omap__on path.is-on:not(.is-hot) { opacity: .25; transition: opacity 200ms linear; }
.omap__on path.is-hot { stroke-width: 4.2; }
.omap__mini path { stroke-width: 5; stroke-linecap: round; opacity: .2; transition: opacity var(--t-mid) var(--ease); }
.omap__mini path.is-on { opacity: 1; }
.omap__hub { position: absolute; left: 50%; top: 50%; z-index: 1; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-content: center; justify-items: center; gap: 5px; padding: 8px; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #22366A, var(--night-2) 72%); box-shadow: inset 0 0 0 1px var(--night-line), 0 0 0 9px var(--night), 0 18px 40px -8px rgba(0, 0, 0, .7); }
.omap__hub .mod-ico { --size: 40px; border-radius: 11px; background: #fff; }
.omap__hub-name { max-width: 9.5em; font-size: 13.5px; font-weight: 600; line-height: 1.2; color: #fff; }
.omap__hub-n { font-size: 12px; color: #AFC0DD; white-space: nowrap; }
.omap__hub-n b { margin-right: 1px; font-size: 15px; font-weight: 600; color: #fff; }

.cnode { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; padding: 0; border: 0; background: none; color: #8E9CB8; border-radius: 13px; }
.cnode .mod-ico { --size: 44px; border-radius: 13px; background: #B9C4D8; box-shadow: 0 0 0 3px var(--night), 0 8px 16px -8px rgba(0, 0, 0, .7); transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease); }
.cnode .mod-ico img { opacity: .6; filter: grayscale(.7); transition: opacity var(--t-mid), filter var(--t-mid); }
.cnode__name { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--font-ui); font-size: 13px; font-weight: 500; pointer-events: none; transition: color var(--t-mid); }
.cnode--r .cnode__name { left: calc(100% + 10px); }
.cnode--l .cnode__name { right: calc(100% + 10px); }
.cnode--t .cnode__name { top: auto; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); }
.cnode--b .cnode__name { top: calc(100% + 9px); left: 50%; transform: translateX(-50%); }
.cnode:hover .mod-ico, .cnode:focus-visible .mod-ico { background: #fff; transform: scale(1.08); }
.cnode:hover .mod-ico img, .cnode:focus-visible .mod-ico img, .cnode.is-related .mod-ico img, .cnode[aria-pressed="true"] .mod-ico img { opacity: 1; filter: none; }
.cnode:hover .cnode__name { color: #fff; }
.cnode.is-related { color: #fff; }
.cnode.is-related .mod-ico { background: #fff; box-shadow: 0 0 0 3px var(--night), 0 0 0 5.5px var(--q), 0 8px 16px -8px rgba(0, 0, 0, .7); }
.cnode.is-hot .mod-ico { transform: scale(1.14); box-shadow: 0 0 0 3px var(--night), 0 0 0 6px var(--q), 0 0 22px 4px color-mix(in srgb, var(--q) 55%, transparent); }
.cnode[aria-pressed="true"] { color: #fff; z-index: 3; }
.cnode[aria-pressed="true"] .mod-ico { background: #fff; transform: scale(1.2); box-shadow: 0 0 0 3px var(--night), 0 0 0 6.5px var(--q), 0 0 30px 8px color-mix(in srgb, var(--q) 55%, transparent); }
.cnode[aria-pressed="true"] .cnode__name { font-weight: 600; }
.cnode--r[aria-pressed="true"] .cnode__name { left: calc(100% + 16px); } .cnode--l[aria-pressed="true"] .cnode__name { right: calc(100% + 16px); }

.omap .omap__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: clamp(18px, 2.6vw, 30px) 0 0; padding: 0; list-style: none; font-size: 13px; color: #C7D2E8; }
.omap__legend li { display: inline-flex; align-items: center; gap: 8px; }
.omap__legend b { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; color: #fff; }
@media (prefers-reduced-motion: reduce) { .omap__on path, .omap__on path.is-on, .cnode .mod-ico, .cnode .mod-ico img { transition: none; } }

/* ─────────────── CTA ─────────────── */
.uc-cta__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: end; padding: clamp(28px, 5vw, 64px) 0 0 clamp(24px, 5vw, 64px); background: var(--action); color: #fff; }
.uc-cta__copy { display: grid; gap: 18px; align-self: center; padding-bottom: clamp(28px, 5vw, 64px); }
.uc-cta__copy .t-h2 { color: #fff; }
.uc-cta__copy p { max-width: 30em; color: #EAF0FF; }
.uc-cta__ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.uc-cta__ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.uc-cta__panel :focus-visible { outline-color: #fff; }
.uc-cta__shot { border-radius: var(--r-frame) 0 0 0; }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 1040px) {
  .uc-hero__head { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .ho { grid-template-columns: 1fr; }
  .scen { grid-template-columns: 1fr; }
  .scen__visual { position: static; }
  .uc-cta__panel { grid-template-columns: 1fr; padding-right: clamp(24px, 5vw, 64px); }
  .uc-cta__copy { padding-bottom: 0; }
  .uc-cta__shot { margin-right: calc(-1 * clamp(24px, 5vw, 64px)); }
}
@media (max-width: 680px) {
  .ho__stage { grid-template-columns: 1fr; }
  .ho__from, .ho__to { grid-column: 1; }
  .ho__from { grid-row: 1; }
  .ho__lens { grid-column: 1; grid-row: 2; justify-self: center; width: min(100% - 24px, var(--lw)); }
  .ho__to { grid-row: 3; }
  .chain__node { font-size: 12px; }

  .chain__node .t-ui { max-width: 9ch; line-height: 1.3; }
}
@media (max-width: 600px) {
  .uc-jump__label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter, .uc-day .sstage__lens { transition: none; }
}

@media (max-width: 1023px) {
  .omap__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "figure" "panel"; }
}
@media (max-width: 640px) {
  .omap__ring { width: min(100%, 360px); }
  .cnode .mod-ico { --size: 34px; border-radius: 10px; }
  .cnode__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .omap__hub { width: 27%; gap: 2px; padding: 4px; box-shadow: inset 0 0 0 1px var(--night-line), 0 0 0 5px var(--night); }
  .omap__hub .mod-ico { --size: 30px; border-radius: 8px; }
  .omap__hub-name, .omap__hub-n span { display: none; }
  .omap__hub-n b { font-size: 16px; }
  .omap__arcs path { stroke-width: 24; }
  .omap__on path { stroke-width: 3.4; } .omap__base path { stroke-width: 1.8; }
}

.story-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-block: 18px 0; font-size: .9rem; }
