/* ==========================================================================
   So'rah case study — 04 Structure (information architecture · flows)
   Every diagram on this page is rebuilt in the green So'rah look from the
   Figma flow/tree data (assets/data/structure.js). Original FigJam boards only
   appear as small "working board" thumbnails that open in the lightbox.
   ========================================================================== */

/* node palette (light panels) — fills only; "stroke = state" */
:root {
  --n-screen: var(--s-mint);        --n-screen-t: var(--s-ink);
  --n-action: var(--s-green);       --n-action-t: #fff;
  --n-list: var(--s-forest);        --n-list-t: #fff;
  --n-popup: var(--s-lime-2);       --n-popup-t: var(--s-forest);
  --n-dec: var(--s-lime);           --n-dec-t: var(--s-night);
  --n-end: var(--s-night);          --n-end-t: #fff;
  --w-def: rgba(24, 24, 24, .26);
  --w-on: var(--s-green);
  --w-red: var(--s-error);
}
.th-night, .th-forest {
  --n-screen: #E6FFE2; --n-list: #1F6B19; --n-end: #fff; --n-end-t: var(--s-night);
  --w-def: rgba(255, 255, 255, .28); --w-on: var(--s-lime);
}
.th-paper .st-fc, .th-sage .st-fc { --n-screen: #fff; }

/* ---------- hero: live mini-map ---------- */
.st-hm { max-width: 640px; }
.st-hm__card { position: relative; padding: clamp(18px, 2vw, 34px); border-radius: var(--r-card); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 40px 80px -40px rgba(7,30,4,.45); display: grid; justify-items: center; }
.st-hm__root { padding: .7em 1.4em; border-radius: 14px; background: var(--s-forest); color: #fff; font: 600 clamp(15px, calc(22 * var(--fx)), 22px)/1 var(--font); }
.st-hm__wires { width: 100%; height: clamp(40px, 4.4vw, 70px); overflow: visible; }
.st-hm__wires path { fill: none; stroke: var(--s-green); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 300; stroke-dashoffset: 300; animation: st-draw 1.4s var(--ease) .5s forwards; }
.st-hm__wires path:nth-child(2) { animation-delay: .6s; } .st-hm__wires path:nth-child(3) { animation-delay: .7s; } .st-hm__wires path:nth-child(4) { animation-delay: .8s; }
@keyframes st-draw { to { stroke-dashoffset: 0; } }
.st-hm__tabs { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.st-hm__tabs span { text-align: center; padding: .65em .3em; border-radius: 12px; background: var(--s-green); color: #fff; font: 600 clamp(12px, calc(17 * var(--fx)), 17px)/1.1 var(--font); opacity: 0; transform: translateY(10px); animation: st-pop .7s var(--ease-back) forwards; }
.st-hm__tabs span:nth-child(1) { animation-delay: 1.1s; } .st-hm__tabs span:nth-child(2) { animation-delay: 1.2s; } .st-hm__tabs span:nth-child(3) { animation-delay: 1.3s; } .st-hm__tabs span:nth-child(4) { animation-delay: 1.4s; }
@keyframes st-pop { to { opacity: 1; transform: none; } }
.st-hm__flow { position: relative; width: 100%; margin-top: clamp(22px, 2.6vw, 44px); padding-top: clamp(16px, 1.6vw, 26px); border-top: 1px dashed transparent; display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.st-hm__flow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: repeating-linear-gradient(90deg, rgba(24,24,24,.18) 0 6px, transparent 6px 12px); }
.st-hm__flow > span { flex: none; padding: .5em .7em; border-radius: 10px; background: var(--s-mint); font: 500 clamp(10px, calc(14 * var(--fx)), 14px)/1.1 var(--font); white-space: nowrap; }
.st-hm__flow > i { flex: 1 1 8px; min-width: 6px; height: 1.5px; background: rgba(24,24,24,.28); }
.st-hm__flow > .st-hm__dot { border-radius: 999px; background: var(--s-night); color: #fff; }
.st-hm__flow > .st-hm__dot--start { background: var(--s-lime); color: var(--s-night); }
.st-hm__walker { position: absolute; left: 0; bottom: -14px; width: 10px; height: 10px; border-radius: 50%; background: var(--s-green); box-shadow: 0 0 0 4px rgba(141,219,29,.35); animation: st-walk 6s var(--ease-io) 1.6s infinite; }
@keyframes st-walk { 0% { left: 2%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: 96%; opacity: 0; } }
.st-hm .ptr { position: absolute; z-index: 2; }
.st-hm .ptr.st-hm__pa { left: 3%; top: -4%; }
.st-hm .ptr.st-hm__pb { right: 4%; bottom: 23%; }
@media (max-width: 600px) { .st-hm__flow > span:nth-of-type(3), .st-hm__flow > span:nth-of-type(5) { display: none; } .st-hm__flow > i:nth-of-type(3), .st-hm__flow > i:nth-of-type(5) { display: none; } }

/* ---------- shared: working-board thumbnails ---------- */
.st-board { margin-top: var(--s-6); display: grid; grid-template-columns: minmax(0, 300px) auto; align-items: end; gap: var(--s-3); }
.st-board img { width: 100%; height: auto; max-height: 190px; object-fit: cover; object-position: left top; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -26px rgba(7,30,4,.5); transition: transform .5s var(--ease), box-shadow .5s; }
.st-board img:hover, .st-board img:focus-visible { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 26px 50px -26px rgba(7,30,4,.6); }
.st-board figcaption { display: grid; gap: .6em; justify-items: start; padding-bottom: .3em; }
.st-board figcaption .ptr { margin-left: -4px; }
.st-board--dark figcaption { color: rgba(255,255,255,.7); }
@media (max-width: 600px) { .st-board { grid-template-columns: 1fr; } }

/* ---------- shared: legend ---------- */
.st-legend { display: flex; flex-wrap: wrap; gap: .5em 1.1em; align-items: center; color: var(--fg-soft); }
.st-legend li { display: inline-flex; align-items: center; gap: .5em; }
.st-legend i { width: 16px; height: 12px; border-radius: 4px; background: var(--n-screen); }
.st-legend .k-action { background: var(--n-action); }
.st-legend .k-list { background: var(--n-list); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.st-legend .k-popup { background: var(--n-popup); }
.st-legend .k-decision { width: 12px; height: 12px; border-radius: 2px; transform: rotate(45deg); background: var(--n-dec); }
.st-legend .k-end { width: 13px; height: 13px; border-radius: 50%; background: var(--n-end); }
.st-legend .k-red { width: 20px; height: 3px; border-radius: 2px; background: var(--w-red); }
.st-legend--light .k-screen { box-shadow: inset 0 0 0 1px rgba(11,73,7,.12); }

/* ---------- shared: flow canvas (nodes in HTML, wires in SVG, one coordinate space) ---------- */
.st-fc { position: relative; width: 100%; }
.fc__canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fc__wires { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.fc__w { fill: none; stroke: var(--w-def); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, stroke-width .35s, opacity .35s; }
.fc__w--red { stroke: var(--w-red); }
.fc__w.is-on { stroke: var(--w-on); stroke-width: 3.2; }
.fc__w--red.is-on { stroke: var(--w-red); }
.fc__mk-def { fill: none; stroke: var(--w-def); stroke-width: 1.6; }
.fc__mk-on { fill: none; stroke: var(--w-on); stroke-width: 1.6; }
.fc__mk-red { fill: none; stroke: var(--w-red); stroke-width: 1.6; }
.fc__wl { position: absolute; transform: translate(-50%, -50%); padding: 2px 7px; border-radius: 6px; background: var(--bg); color: var(--fg-soft); font: 600 13px/1.2 var(--font); white-space: nowrap; transition: color .3s, background .3s; }
.fc__wl.is-on { color: var(--bg); background: var(--w-on); }
.fc__n { position: absolute; display: grid; place-items: center; text-align: center; padding: 6px 10px; border-radius: 14px; font: 500 15px/1.22 var(--font); letter-spacing: -.005em; background: var(--n-screen); color: var(--n-screen-t); transition: transform .45s var(--ease-back), box-shadow .35s, opacity .35s, filter .35s; }
.fc__n--action { background: var(--n-action); color: var(--n-action-t); font-weight: 600; border-radius: 999px; }
.fc__n--list { background: var(--n-list); color: var(--n-list-t); font-weight: 600; }
.fc__n--popup { background: var(--n-popup); color: var(--n-popup-t); font-weight: 600; border-radius: 18px 18px 18px 4px; }
.fc__n--start, .fc__n--end { border-radius: 50%; background: var(--n-end); color: var(--n-end-t); font-weight: 600; font-size: 14px; padding: 0; }
.fc__n--start { background: var(--s-lime); color: var(--s-night); }
.fc__n--decision { background: none; padding: 0; color: var(--n-dec-t); font-weight: 600; font-size: 13.5px; line-height: 1.15; }
.fc__n--decision i { position: absolute; inset: 14.6%; border-radius: 10px; background: var(--n-dec); transform: rotate(45deg); transition: box-shadow .35s; }
.fc__n--decision span { position: relative; max-width: 66%; }
.fc__sub { position: absolute; transform: translateX(-50%); width: 190px; text-align: center; font: 500 13px/1.3 var(--font); color: var(--fg-soft); }
.fc__sticky { position: absolute; padding: 12px 12px 18px; border-radius: 4px; background: var(--s-lime-2); color: var(--s-forest); font: 500 13px/1.35 var(--font); box-shadow: 0 14px 24px -14px rgba(7,30,4,.45); transform: rotate(-2deg); }
/* states */
.fc__n.is-on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--w-on); }
.fc__n--decision.is-on { box-shadow: none; }
.fc__n--decision.is-on i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--w-on); }
.fc__n.is-cur { transform: scale(1.08); }
.has-path .fc__n:not(.is-on) { opacity: .38; }
.has-path .fc__w:not(.is-on) { opacity: .3; }
.has-path .fc__wl:not(.is-on) { opacity: .4; }
.fc__n .ptr { position: absolute; left: 62%; bottom: 78%; z-index: 2; }
.fc__n .ptr__label { font-size: 13px; }
.fc__n .ptr__arrow { width: 18px; }
/* drawing on reveal */
.st-fc.is-prep .fc__w { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); marker-end: none; animation: none; }
.st-fc.is-prep.is-drawn .fc__w { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--i, 0) * 28ms), stroke .35s, stroke-width .35s, opacity .35s; }
.st-fc.is-prep .fc__n, .st-fc.is-prep .fc__wl, .st-fc.is-prep .fc__sub, .st-fc.is-prep .fc__sticky { opacity: 0; scale: .85; }
.st-fc.is-prep.is-drawn .fc__n, .st-fc.is-prep.is-drawn .fc__wl, .st-fc.is-prep.is-drawn .fc__sub, .st-fc.is-prep.is-drawn .fc__sticky { opacity: 1; scale: 1; transition: opacity .6s var(--ease) calc(var(--i, 0) * 30ms + 200ms), scale .7s var(--ease-back) calc(var(--i, 0) * 30ms + 200ms); }
/* red cancellation path: a flowing dash */
.fc__w--red.is-flow { stroke-dasharray: 9 9; animation: st-flow 1.1s linear infinite; }
@keyframes st-flow { to { stroke-dashoffset: -18; } }
.fc__w.is-trace { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: st-draw .7s var(--ease) forwards; animation-delay: calc(var(--k, 0) * 110ms); }

/* stacked list fallback for flows (small screens) */
.st-fl { display: none; counter-reset: fl; }
.st-fl li { position: relative; display: grid; gap: .35em; padding: .9em 1em .9em 3em; border-radius: 14px; background: var(--tile); }
.st-fl li + li { margin-top: 8px; }
.st-fl li::before { counter-increment: fl; content: counter(fl, decimal-leading-zero); position: absolute; left: 1em; top: 1em; font: 500 12px/1.4 var(--font-mono); color: var(--fg-soft); }
.st-fl b { font-weight: 600; }
.st-fl small { color: var(--fg-soft); font-size: var(--t-micro); }
.st-fl .k { display: inline-block; margin-right: .5em; padding: .15em .55em; border-radius: 999px; font: 600 11px/1.4 var(--font); letter-spacing: .04em; text-transform: uppercase; background: var(--n-screen); color: var(--n-screen-t); vertical-align: 1px; }
.st-fl .k--action { background: var(--n-action); color: var(--n-action-t); }
.st-fl .k--decision { background: var(--n-dec); color: var(--n-dec-t); }
.st-fl .k--popup { background: var(--n-popup); color: var(--n-popup-t); }
.st-fl .k--list { background: var(--n-list); color: var(--n-list-t); }
.st-fl .k--start, .st-fl .k--end { background: var(--n-end); color: var(--n-end-t); }
.st-fl .is-red { color: var(--s-error); }
@media (max-width: 900px) {
  .st-fc:not(.st-fc--pan) > .fc__canvas { display: none; }
  .st-fc:not(.st-fc--pan) { height: auto !important; }
  .st-fl { display: block; }
}

/* ---------- 01 · IA-MVP tree ---------- */
.st-iat { position: relative; padding-top: var(--s-2); border-radius: var(--r-card); }
.st-iat:focus-visible { outline-offset: 10px; }
.ptr.st-iat__tag { position: absolute; right: 4%; top: 2%; z-index: 3; }
.iat__root { display: flex; justify-content: center; }
.iat__node--root { padding: .8em 1.8em; border-radius: 16px; background: var(--s-forest); color: #fff; font: 600 var(--t-h4)/1 var(--font); letter-spacing: -.01em; transition: box-shadow .3s; }
.iat__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.iat__wires path { fill: none; stroke: rgba(11,73,7,.28); stroke-width: 2; stroke-linecap: round; transition: stroke .3s, stroke-width .3s; }
.iat__wires path.is-path { stroke: var(--s-green); stroke-width: 3.5; }
.st-grow .iat__wires path { stroke-dasharray: var(--len); stroke-dashoffset: calc(var(--len) * (1 - var(--wp, 0))); }
.iat__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-top: clamp(60px, calc(110 * var(--fx)), 110px); align-items: start; }
.iat__tab { display: block; width: 100%; padding: .8em 1em; border-radius: 14px; background: var(--s-green); color: #fff; text-align: center; font: 600 var(--t-body)/1.1 var(--font); }
.iat__list { position: relative; margin-top: var(--s-3); padding-left: 18px; display: grid; gap: 10px; }
.iat__list::before { content: ""; position: absolute; left: 4px; top: -14px; bottom: 18px; width: 2px; border-radius: 2px; background: rgba(11,73,7,.16); }
.iat__list > li { position: relative; }
.iat__list > li::before { content: ""; position: absolute; left: -14px; top: 1.15em; width: 11px; height: 2px; border-radius: 2px; background: rgba(11,73,7,.16); }
.iat__box { padding: .75em .95em; border-radius: 14px; background: #fff; transition: background .3s, color .3s, opacity .3s, box-shadow .3s; }
.iat__box > b { display: block; font: 600 var(--t-small)/1.25 var(--font); }
.iat__items { margin-top: .5em; display: grid; gap: .25em; font-size: var(--t-micro); color: var(--fg-soft); }
.iat__items li, .iat__sub li { position: relative; padding-left: 1em; transition: color .25s; }
.iat__items li::before, .iat__sub li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--s-green); opacity: .7; }
.iat__sub { margin-top: .25em; display: grid; gap: .15em; }
.iat__item { padding: .45em .2em; font: 500 var(--t-small)/1.3 var(--font); transition: color .3s, opacity .3s; }
.iat__item > .iat__sub { font-size: var(--t-micro); color: var(--fg-soft); font-weight: 400; }
.iat__group > span { display: block; padding: .3em 0; font: 600 var(--t-micro)/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--s-forest); }
.iat__group > .iat__list { margin-top: 6px; gap: 8px; }
.iat__group > .iat__list .iat__box { padding: .6em .9em; }
.iat__note { padding: .8em .9em .9em; border-radius: 16px; background: rgba(141,219,29,.22); transition: background .4s, box-shadow .4s; }
.iat__note > span { display: block; font: 500 var(--t-micro)/1.35 var(--font); color: var(--s-forest); }
.iat__note > .iat__list { margin-top: .6em; padding-left: 0; }
.iat__note > .iat__list::before, .iat__note > .iat__list > li::before { display: none; }
.iat__toggle { margin-top: .8em; display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(11,73,7,.35); font: 600 var(--t-micro)/1 var(--font); color: var(--s-forest); transition: background .25s, color .25s, box-shadow .25s; }
.iat__toggle:hover { box-shadow: inset 0 0 0 1.5px var(--s-forest); }
.iat__toggle i { width: 26px; height: 15px; border-radius: 999px; background: rgba(11,73,7,.2); position: relative; transition: background .25s; }
.iat__toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-back); }
.iat__toggle[aria-pressed="true"] { background: var(--s-forest); color: #fff; box-shadow: none; }
.iat__toggle[aria-pressed="true"] i { background: var(--s-lime); }
.iat__toggle[aria-pressed="true"] i::after { transform: translateX(11px); }
.iat__note.is-active { background: var(--s-lime); box-shadow: 0 18px 40px -22px rgba(21,158,23,.8); }
.iat__note.is-active .iat__box { animation: st-nudge .6s var(--ease-back); }
@keyframes st-nudge { 40% { transform: scale(1.05); } }
/* path highlight */
.has-path .iat__box, .has-path .iat__item, .has-path .iat__tab, .has-path .iat__group > span, .has-path .iat__note > span, .has-path .iat__toggle { opacity: .42; }
.has-path .is-path { opacity: 1 !important; }
.iat__tab.is-path, .iat__node--root.is-path { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--s-lime); }
.iat__box.is-path { background: var(--s-mint); }
.iat__box.is-hit { background: var(--s-forest); color: #fff; }
.iat__box.is-hit .iat__items { color: rgba(255,255,255,.8); }
.iat__item.is-hit, .iat__items li.is-hit { color: var(--s-green); font-weight: 600; }
.iat__box.is-hit .iat__items li.is-hit { color: var(--s-lime); }
/* grow on scroll */
.st-grow .iat__g { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .45s var(--ease), transform .6s var(--ease-back); }
.st-grow .iat__g.is-grown { opacity: 1; transform: none; }
.st-grow.has-path .iat__g.is-grown:not(.is-path):not(.iat__group):not(.iat__note) { opacity: .42; }
.st-iat__live { min-height: 1.5em; margin-top: var(--s-3); }
@media (max-width: 1100px) { .iat__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); } .iat__wires { display: none; } .iat__cols { margin-top: var(--s-4); } }
@media (max-width: 600px) { .iat__cols { grid-template-columns: 1fr; } }

/* ---------- 02 · Profile New IA ---------- */
.st-pf__count { display: flex; align-items: center; gap: var(--s-4); }
.st-pf__count .stat__l { max-width: 20ch; }
.st-pf__arrow { width: clamp(28px, 3vw, 48px); color: var(--s-green); flex: none; }
.st-pf__bar { display: flex; flex-wrap: wrap; align-items: end; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-5); }
.st-pf__find { display: grid; gap: .55em; color: var(--s-forest); }
.st-pf__find input { width: min(360px, 80vw); padding: .85em 1.1em; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(11,73,7,.22); font: 500 var(--t-small)/1.2 var(--font); color: var(--s-ink); transition: box-shadow .25s; }
.st-pf__find input:hover { box-shadow: inset 0 0 0 1.5px rgba(11,73,7,.5); }
.st-pf__find input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--s-green), 0 0 0 4px rgba(141,219,29,.35); }
.st-pf__bar .chips { gap: 8px; }
.st-pf__bar .chip { font-size: var(--t-micro); }
.st-pf__hits { min-height: 1.4em; flex-basis: 100%; }
.st-pf__root { display: flex; justify-content: center; margin-bottom: var(--s-4); }
.st-pf__root span { padding: .8em 2em; border-radius: 16px; background: #fff; font: 600 var(--t-h4)/1 var(--font); box-shadow: 0 18px 40px -24px rgba(7,30,4,.35); }
.st-pf__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.pf__card { border-radius: var(--r-card); background: rgba(255,255,255,.72); padding: var(--s-3) var(--s-3) var(--s-4); transition: opacity .3s, background .3s, transform .4s var(--ease), box-shadow .3s; }
.pf__card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: .5em; font: 600 var(--t-body)/1.2 var(--font); letter-spacing: -.01em; }
.pf__card h3 small { font: 500 var(--t-micro)/1 var(--font-mono); color: var(--fg-soft); }
.pf__card ul { margin-top: .7em; display: grid; gap: .3em; font-size: var(--t-small); }
.pf__card li { position: relative; padding-left: 1em; transition: color .2s; }
.pf__card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--s-green); }
.pf__card li > ul { margin: .35em 0 .4em; font-size: var(--t-micro); color: var(--fg-soft); }
.pf__card li.pf__head { font-weight: 600; }
.pf__card--empty { background: rgba(255,255,255,.45); }
.pf__card--empty h3 { color: var(--s-forest); }
.is-q .pf__card { opacity: .32; }
.is-q .pf__card.is-hit { opacity: 1; background: #fff; box-shadow: 0 20px 40px -26px rgba(7,30,4,.45); transform: translateY(-3px); }
.pf__hit { background: var(--s-lime-2); color: var(--s-forest); border-radius: 4px; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 1100px) { .st-pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .st-pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-pf__count { gap: var(--s-2); } }
@media (max-width: 480px) { .st-pf__grid { grid-template-columns: 1fr; } }

/* ---------- 03 · walker ---------- */
.st-walk { position: relative; }
.st-walk__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.st-walk__ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.st-walk__ctl .btn { padding: .8em 1.2em; }
.st-walk__ctl .btn--ghost { background: #fff; }
.st-walk__status { flex: 1 1 260px; color: var(--fg-soft); }
.st-walk__status b { color: var(--fg); }
.st-walk__log { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--s-3); min-height: 2em; }
.st-walk__log li { display: inline-flex; align-items: center; gap: 6px; padding: .35em .7em; border-radius: 999px; background: #fff; font-weight: 500; animation: st-pop .45s var(--ease-back) both; opacity: 0; transform: translateY(6px); }
.st-walk__log li em { font-style: normal; font-weight: 700; color: var(--s-green); }
.st-walk__log li + li::before { content: "→"; margin-right: 2px; color: var(--fg-soft); }

/* ---------- 04 · screens and their contents ---------- */
.st-sc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start; counter-reset: sc; }
.sc__card { position: relative; border-radius: var(--r-card); background: var(--s-paper); padding: var(--s-3); transition: background .3s, box-shadow .35s, transform .45s var(--ease), opacity .3s; }
.sc__card h3 { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .55em .8em; border-radius: 12px; background: var(--s-green); color: #fff; font: 600 var(--t-body)/1.15 var(--font); }
.sc__card h3 small { font: 500 12px/1 var(--font-mono); opacity: .75; }
.sc__parts { margin-top: var(--s-2); display: grid; gap: 8px; }
.sc__p { border-radius: 12px; background: #fff; padding: .6em .8em; font-size: var(--t-small); transition: background .25s, box-shadow .25s; }
.sc__p > b { font-weight: 600; display: block; }
.sc__p--block { background: var(--s-mint); }
.sc__p ul { margin-top: .35em; display: grid; gap: .15em; font-size: var(--t-micro); color: var(--fg-soft); }
.sc__p li { position: relative; padding-left: .95em; }
.sc__p li::before { content: ""; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--s-green); }
.sc__p li.sc__h { padding-left: 0; color: var(--fg); font-weight: 500; }
.sc__p li.sc__h::before { display: none; }
.sc__go { display: inline-flex; align-items: center; gap: .45em; margin-top: .5em; font: 600 12px/1.2 var(--font); color: var(--s-forest); }
.sc__go i { font-style: normal; padding: .25em .6em; border-radius: 999px; background: var(--s-lime-2); color: var(--s-forest); }
.sc__go--act i { background: var(--s-green); color: #fff; }
.sc__p[data-to] { cursor: default; }
.sc__p[data-to]:hover, .sc__p[data-to]:focus-visible, .sc__p.is-src { background: var(--s-forest); color: #fff; }
.sc__p[data-to]:hover ul, .sc__p.is-src ul { color: rgba(255,255,255,.78); }
.sc__p[data-to]:hover .sc__go, .sc__p.is-src .sc__go { color: var(--s-lime-2); }
.sc__card.is-target { background: var(--s-lime-2); transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(7,30,4,.55); }
.sc__card.is-target h3 { background: var(--s-forest); }
.sc__end { display: inline-flex; margin-top: .6em; padding: .4em .9em; border-radius: 999px; background: var(--s-night); color: #fff; font: 600 12px/1 var(--font); }
.sc__start { position: absolute; left: var(--s-3); top: -12px; padding: .35em .8em; border-radius: 999px; background: var(--s-lime); color: var(--s-night); font: 600 12px/1 var(--font); }
@media (max-width: 1100px) { .st-sc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .st-sc { grid-template-columns: 1fr; } }

/* ---------- 05 · final journey (pinned) ---------- */
.st-ff { color: #fff; }
.st-ff__in { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: calc(100svh - var(--gap) * 2); padding-block: calc(var(--bar-h) + var(--s-2)) var(--s-4); }
.st-ff__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-5); }
.st-ff__head .t-h2 { max-width: 30ch; font-size: clamp(26px, calc(48 * var(--fx)), 48px); }
.st-ff__head .st-board { margin-top: var(--s-2); grid-template-columns: minmax(0, 220px) auto; }
.st-ff__head .st-board img { max-height: 46px; }
.st-ff__side { display: grid; gap: var(--s-2); justify-items: start; }
.st-ff__head .st-legend { max-width: 520px; color: rgba(255,255,255,.72); }
.st-ff__view { position: relative; margin-top: var(--s-4); overflow: hidden; }
.st-ff__view .st-fc--pan { position: relative; }
.st-ff__view .fc__canvas { will-change: transform; }
.st-ff__view::before, .st-ff__view::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--gutter); z-index: 2; pointer-events: none; }
.st-ff__view::before { left: 0; background: linear-gradient(90deg, var(--s-night), transparent); }
.st-ff__view::after { right: 0; background: linear-gradient(-90deg, var(--s-night), transparent); }
.st-ff__panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5); align-items: start; margin-top: var(--s-3); }
.st-ff__k { color: var(--s-lime); }
.st-ff__t { margin-top: .5em; font-weight: 500; }
.st-ff__t b { font-weight: 700; }
.st-ff__nav { display: flex; align-items: center; gap: 8px; margin-top: var(--s-3); }
.st-ff__btn { padding: .75em .95em; }
.st-ff__btn svg { width: 1.1em; }
.st-ff__nav .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.st-ff__nav .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.st-ff__btn:disabled { opacity: .35; pointer-events: none; }
.st-ff__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; margin-left: 8px; }
.st-ff__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad-brand); transition: transform .5s var(--ease); }
.st-ff__notes { color: rgba(255,255,255,.82); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.st-ff__cols { columns: 2 260px; column-gap: var(--s-5); }
.st-ff__notes h4 { break-after: avoid; margin-bottom: .4em; font: 600 var(--t-micro)/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--s-lime-2); }
.st-ff__notes ul { break-inside: auto; margin-bottom: 1em; display: grid; gap: .3em; }
.st-ff__notes li { position: relative; padding-left: 1em; break-inside: avoid; }
.st-ff__notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--s-lime); }
.st-ff__notes p { color: rgba(255,255,255,.6); }
.st-ff__notes.is-swap { animation: st-swap .5s var(--ease); }
@keyframes st-swap { from { opacity: 0; transform: translateY(10px); } }
.st-ff__foot { margin-top: var(--s-4); }
.st-ff__foot .st-board { margin-top: 0; }
.st-ff__list { display: none; }
/* stacked mode (≤900px or reduced motion) */
.st-ff.is-stacked .st-ff__in { min-height: 0; padding-block: var(--s-7); }
.st-ff.is-stacked .st-ff__panel { display: none; }
.st-ff.is-stacked .st-ff__view { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: var(--s-2); }
.st-ff.is-stacked .st-ff__view::before, .st-ff.is-stacked .st-ff__view::after { display: none; }
.st-ff.is-stacked .st-ff__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--s-5); }
.ffl__card { border-radius: var(--r-card); background: rgba(255,255,255,.06); padding: var(--s-4); }
.ffl__card .t-eyebrow { color: var(--s-lime); }
.ffl__card h3 { margin-top: .5em; font: 600 var(--t-body)/1.3 var(--font); }
.ffl__card .st-ff__notes { overflow: visible; margin-top: var(--s-2); }
.ffl__card .st-ff__cols { columns: 1; }
.ffl__card .ptr { position: relative; margin: .6em 0 0 -4px; }
@media (max-width: 1100px) { .st-ff.is-stacked .st-ff__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .st-ff.is-stacked .st-ff__list { grid-template-columns: 1fr; } }

/* ---------- 06 · comparison ---------- */
.st-cmp__seg { margin-top: var(--s-3); background: rgba(255,255,255,.5); }
.st-cmp { display: grid; gap: var(--gap); }
.cmp__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap); align-items: stretch; }
.cmp__row--head { font: 600 var(--t-micro)/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); }
.cmp__row--head > * { padding: 0 var(--s-3); }
.cmp__aspect { display: flex; align-items: center; padding: var(--s-3); border-radius: var(--r-card); background: var(--s-forest); color: #fff; font: 600 var(--t-body)/1.2 var(--font); }
.cmp__lane { position: relative; display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 8px 6px; padding: var(--s-3) var(--s-3) calc(var(--s-3) + 6px); border-radius: var(--r-card); background: rgba(255,255,255,.66); min-height: 96px; transition: opacity .45s var(--ease), filter .45s, background .4s, transform .5s var(--ease); }
.cmp__lane--final { background: #fff; }
.cmp__lane > small { position: absolute; left: var(--s-3); top: 10px; font: 600 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); display: none; }
.cmp__c { display: inline-flex; align-items: center; padding: .45em .8em; border-radius: 10px; background: var(--s-mint); font: 500 var(--t-small)/1.2 var(--font); transition: background .3s, color .3s, box-shadow .3s; }
.cmp__c--action { background: var(--s-green); color: #fff; border-radius: 999px; }
.cmp__c--decision { background: var(--s-lime); color: var(--s-night); font-weight: 600; border-radius: 4px 14px 4px 14px; }
.cmp__c--list { background: var(--s-forest); color: #fff; }
.cmp__c--popup { background: var(--s-lime-2); color: var(--s-forest); }
.cmp__c--end { background: var(--s-night); color: #fff; border-radius: 999px; }
.cmp__c--note { background: transparent; padding: 0; color: var(--fg-soft); font-size: var(--t-micro); }
.cmp__a { color: var(--fg-soft); font-size: var(--t-small); }
.cmp__or { font: 600 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); padding: 0 .2em; }
.cmp__c.is-rm { position: relative; }
.cmp__c.is-add { position: relative; }
.cmp__tag { position: absolute; z-index: 2; left: 58%; top: 62%; opacity: 0; transform: translate(-6px, -6px) scale(.8); transition: opacity .35s, transform .5s var(--ease-back); pointer-events: none; }
.cmp__tag .ptr__label { margin-top: 10px; }
.st-cmp[data-v="initial"] .cmp__lane--initial, .st-cmp[data-v="final"] .cmp__lane--final { row-gap: 34px; padding-bottom: calc(var(--s-3) + 30px); }
.cmp__tag .ptr__label { font-size: 12px; }
.cmp__tag .ptr__arrow { width: 16px; }
.st-cmp[data-v="initial"] .is-rm .cmp__tag, .st-cmp[data-v="final"] .is-add .cmp__tag { opacity: 1; transform: none; }
.st-cmp[data-v="initial"] .is-rm { background: var(--s-ink); color: #fff; text-decoration: line-through; text-decoration-color: var(--s-lime); text-decoration-thickness: 2px; }
.st-cmp[data-v="final"] .is-add { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--s-green); }
.st-cmp[data-v="initial"] .cmp__lane--final, .st-cmp[data-v="final"] .cmp__lane--initial { opacity: .28; filter: saturate(.3); }
.st-cmp[data-v="initial"] .cmp__lane--initial, .st-cmp[data-v="final"] .cmp__lane--final { background: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(7,30,4,.45); }
.cmp__row--notes .cmp__lane { font-size: var(--t-small); color: var(--fg-soft); }
@media (max-width: 900px) {
  .cmp__row { grid-template-columns: 1fr; }
  .cmp__row--head { display: none; }
  .cmp__lane > small { display: block; }
  .cmp__lane { padding-top: calc(var(--s-3) + 16px); }
  .cmp__aspect { padding: var(--s-2) var(--s-3); }
}

/* ---------- 07 · sign up stepper ---------- */
.st-su__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px var(--s-3); margin-bottom: var(--s-4); }
.st-su__ctl .btn--ghost { background: #fff; }
.st-su__ctl .btn { padding: .8em 1.2em; }
.st-su__status { flex: 1 1 280px; color: var(--fg-soft); }
.st-su__status b { color: var(--fg); }
.st-su__track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); align-items: start; }
.su__step { position: relative; display: grid; gap: 8px; align-content: start; }
.su__step::after { content: ""; position: absolute; top: 24px; left: calc(100% + 2px); width: calc(var(--s-3) - 4px); height: 2px; border-radius: 2px; background: rgba(24,24,24,.18); }
.su__step:last-child::after { display: none; }
.su__card { border-radius: var(--r-card); background: #fff; padding: 10px; display: grid; gap: 6px; transition: box-shadow .4s, transform .5s var(--ease), opacity .4s, background .4s; }
.su__h { padding: .65em .8em; border-radius: 12px; background: var(--s-mint); font: 600 var(--t-small)/1.2 var(--font); }
.su__h--popup { background: var(--s-lime-2); color: var(--s-forest); border-radius: 12px 12px 12px 3px; }
.su__h--end { background: var(--s-night); color: #fff; border-radius: 999px; text-align: center; }
.su__h--home { background: var(--s-paper); }
.su__f { position: relative; padding: .55em .8em; border-radius: 10px; background: var(--s-paper); font-size: var(--t-micro); line-height: 1.3; transition: background .3s, transform .45s var(--ease-back), opacity .3s; }
.su__f em { display: inline-block; margin-left: .4em; padding: .15em .5em; border-radius: 999px; background: var(--s-sage); color: var(--s-forest); font: 600 10.5px/1.3 var(--font); font-style: normal; white-space: nowrap; }
.su__f.is-link { background: var(--s-forest); color: #fff; }
.su__act { justify-self: start; display: inline-flex; align-items: center; gap: .4em; padding: .4em .9em; border-radius: 999px; background: var(--s-green); color: #fff; font: 600 12px/1.2 var(--font); }
.su__act::before { content: "→"; }
.su__fork { display: grid; gap: 6px; }
.su__fork .seg { display: flex; }
.su__fork .seg button { flex: 1; font-size: 12.5px; padding: .55em .7em; }
.su__home { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.6); transition: opacity .4s, background .4s, box-shadow .4s; }
.su__home small { font-size: 11.5px; color: var(--fg-soft); }
.su__step.is-on .su__card { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--s-green), 0 26px 40px -28px rgba(7,30,4,.6); transform: translateY(-4px); }
.su__step.is-done .su__card { background: var(--s-mint); }
.su__step.is-done::after, .su__step.is-on::after { background: var(--s-green); }
.st-su.is-no .su__step--yes { opacity: .38; }
.st-su.is-no .su__home { background: #fff; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--s-green); }
.su__step.is-on .su__f.is-play { animation: st-field .5s var(--ease-back) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes st-field { from { opacity: 0; transform: translateX(-10px); } }
@media (max-width: 1200px) { .st-su__track { grid-template-columns: repeat(3, minmax(0, 1fr)); } .su__step:nth-child(3n)::after { display: none; } }
@media (max-width: 640px) { .st-su__track { grid-template-columns: 1fr; } .su__step::after { display: none; } }

/* ---------- 08 · restaurant IA (radial + lists) ---------- */
.st-mi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-6); align-items: start; }
.st-mi__map { position: sticky; top: calc(var(--bar-h) + var(--s-3)); aspect-ratio: 1; container-type: inline-size; }
.mi__spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mi__spokes line { stroke: rgba(255,255,255,.22); stroke-width: .35; stroke-linecap: round; transition: stroke .3s, stroke-width .3s; }
.mi__spokes line.is-on { stroke: var(--s-lime); stroke-width: .8; }
.mi__spokes circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: .25; }
.js .mi__spokes line { stroke-dasharray: 50; stroke-dashoffset: 50; }
.st-mi.is-in .mi__spokes line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--i) * 70ms), stroke .3s, stroke-width .3s; }
.mi__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 24cqw; aspect-ratio: 1; border-radius: 50%; background: var(--s-lime); color: var(--s-night); font: 700 3.6cqw/1 var(--font); box-shadow: 0 0 0 2.2cqw rgba(141,219,29,.16), 0 0 0 4.4cqw rgba(141,219,29,.07); }
.mi__n { position: absolute; transform: translate(-50%, -50%); max-width: 25cqw; padding: .6em .9em; border-radius: 14px; background: #fff; color: var(--s-forest); font: 600 clamp(11px, 2.5cqw, 16px)/1.15 var(--font); text-align: center; transition: background .3s, color .3s, transform .45s var(--ease-back), box-shadow .3s; }
.mi__n small { display: block; margin-top: .45em; font-weight: 500; font-size: .82em; color: var(--s-green); }
.mi__n:hover, .mi__n.is-on { background: var(--s-lime); color: var(--s-night); transform: translate(-50%, -50%) scale(1.08); }
.mi__n:hover small, .mi__n.is-on small { color: var(--s-forest); }
.mi__n--off { background: rgba(255,255,255,.12); color: #fff; }
.mi__n--off small { color: rgba(255,255,255,.62); }
.js .st-mi .mi__n { opacity: 0; scale: .7; }
.st-mi.is-in .mi__n { opacity: 1; scale: 1; transition: opacity .6s var(--ease) calc(var(--i) * 70ms + 300ms), scale .7s var(--ease-back) calc(var(--i) * 70ms + 300ms), background .3s, color .3s, transform .45s var(--ease-back); }
.st-mi__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.mi__t { border-radius: var(--r-card); background: rgba(255,255,255,.07); padding: var(--s-4); transition: background .35s, transform .45s var(--ease), box-shadow .35s; }
.mi__t h3 { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; font: 600 var(--t-body)/1.2 var(--font); }
.mi__t h3 small { font: 500 11px/1.2 var(--font-mono); color: rgba(255,255,255,.55); text-align: right; }
.mi__t ul { margin-top: .7em; display: grid; gap: .35em; font-size: var(--t-small); color: rgba(255,255,255,.8); }
.mi__t li { position: relative; padding-left: 1em; }
.mi__t li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--s-lime); }
.mi__t h4 { margin-top: .9em; font: 600 var(--t-micro)/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--s-lime-2); }
.mi__t h4 + ul { margin-top: .4em; }
.mi__t.is-on { background: rgba(141,219,29,.2); box-shadow: inset 0 0 0 0 transparent; transform: translateX(-4px); }
.mi__t--off { background: rgba(255,255,255,.035); }
.mi__t--wide { grid-column: 1 / -1; }
@media (max-width: 1000px) { .st-mi { grid-template-columns: 1fr; } .st-mi__map { position: relative; top: 0; max-width: 560px; width: 100%; margin-inline: auto; } }
@media (max-width: 600px) { .st-mi__lists { grid-template-columns: 1fr; } .mi__n { padding: .45em .55em; } }

/* ---------- 09 · accepting order ---------- */
.st-ac__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.st-ac__bar .chip[data-b="cancel"][aria-pressed="true"] { background: var(--s-error); color: #fff; }
.st-ac__status { min-height: 1.5em; margin-top: var(--s-3); }
.st-ac__status b { color: var(--fg); }

/* ---------- 10 · what this step produced ---------- */
.st-out__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6); align-items: stretch; }
.st-out .sec-num { color: var(--s-forest); }
.st-out__list { display: grid; gap: 0; counter-reset: out; }
.st-out__list li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: baseline; gap: var(--s-2); padding: .8em 0; border-bottom: 1px solid rgba(11,73,7,.18); }
.st-out__list li::before { counter-increment: out; content: counter(out, decimal-leading-zero); font: 500 var(--t-micro)/1 var(--font-mono); color: rgba(11,73,7,.7); }
.st-out__list b { font: 600 var(--t-h4)/1.15 var(--font); letter-spacing: -.01em; }
.st-out__list span { font-size: var(--t-small); color: rgba(11,73,7,.8); text-align: right; }
.st-out__next { position: relative; display: grid; align-content: space-between; gap: var(--s-5); padding: var(--s-5); border-radius: var(--r-card); background: var(--s-night); color: #fff; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease); }
.st-out__next::before { content: ""; position: absolute; inset: auto -20% -70% 10%; height: 130%; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(141,219,29,.5), transparent); transition: transform .8s var(--ease); }
.st-out__next:hover { transform: translateY(-4px); }
.st-out__next:hover::before { transform: translateY(-12%) scale(1.1); }
.st-out__next .t-eyebrow { color: var(--s-lime); }
.st-out__t { font: 300 var(--t-h3)/1.15 var(--font); letter-spacing: -.02em; }
.st-out__t em { font-style: italic; font-weight: 700; color: var(--s-lime); }
.st-out__go { display: inline-flex; align-items: center; gap: .6em; font: 600 var(--t-h4)/1 var(--font); color: var(--s-lime-2); }
.st-out__go svg { width: 1em; transition: transform .45s var(--ease); }
.st-out__next:hover .st-out__go svg { transform: translateX(10px); }
@media (max-width: 900px) { .st-out__in { grid-template-columns: 1fr; } .st-out__list li { grid-template-columns: 2.2em minmax(0, 1fr); } .st-out__list span { grid-column: 2; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  .st-hm__wires path { stroke-dashoffset: 0; }
  .st-hm__tabs span { opacity: 1; transform: none; }
  .st-hm__walker { display: none; }
  .fc__w--red.is-flow { animation: none; stroke-dasharray: none; }
  .js .mi__spokes line { stroke-dashoffset: 0; }
  .js .st-mi .mi__n { opacity: 1; scale: 1; }
  .st-walk__log li { opacity: 1; transform: none; }
}

/* pinned mode: the whole scene fits one screen; the canvas takes what is left */
.st-ff:not(.is-stacked) .st-ff__in { height: 100svh; min-height: 0; grid-template-rows: auto minmax(0, 1fr) clamp(200px, 28vh, 300px); padding-block: calc(var(--bar-h) * .85) var(--s-3); }
.st-ff:not(.is-stacked) .st-ff__head .t-h2 { font-size: clamp(24px, calc(40 * var(--fx)), 40px); max-width: none; }
.st-ff:not(.is-stacked) .st-ff__head .sec-num { margin-bottom: var(--s-2); }
.st-ff:not(.is-stacked) .st-ff__panel { min-height: 0; height: 100%; align-items: stretch; margin-top: var(--s-2); }
.st-ff:not(.is-stacked) .st-ff__notes { min-height: 0; height: 100%; overflow: hidden; -webkit-mask: linear-gradient(180deg, #000 82%, transparent); mask: linear-gradient(180deg, #000 82%, transparent); }
.st-ff:not(.is-stacked) .st-ff__step { align-self: start; }
.st-ff:not(.is-stacked) .st-ff__view { display: grid; align-content: center; margin-top: var(--s-2); }
.st-ff .fc__n { cursor: pointer; }
.st-ff.is-stacked .fc__n { cursor: default; }

/* fitted canvases may use the panel's gutters on desktop so the labels stay legible */
@media (min-width: 901px) {
  .st-fc[data-fc="v1"], .st-fc[data-fc="accept"] { width: calc(100% + var(--gutter) * 2 - 48px); margin-left: calc(var(--gutter) * -1 + 24px); }
  .st-fc[data-fc="accept"] .fc__n { font-size: 16.5px; }
  .st-fc[data-fc="accept"] .fc__n--decision { font-size: 14.5px; }
  .st-fc[data-fc="accept"] .fc__sub, .st-fc[data-fc="accept"] .fc__sticky { font-size: 14px; }
}
.st-su__ctl .btn:disabled { opacity: .38; pointer-events: none; }
@media (max-width: 1100px) { .ptr.st-iat__tag { position: relative; right: auto; top: auto; margin: 0 0 var(--s-3) -4px; } }
@media (max-width: 600px) { body[data-chapter="structure"] .ch-hero__cue { display: none; } .st-hm .ptr.st-hm__pb { bottom: 26%; } }
.st-ff.is-stacked .st-fc--pan { margin-left: var(--gutter); }
.st-fl .k { background: var(--s-mint); color: var(--s-ink); }
