/* Portfolio narrative outside; screenshot-calibrated Brownie styling inside.
   These illustrative scenes are not production Brownie screens or live records. */
#bsmc-challenge[data-challenge-ready] {
  --walk-header: 64px;
  --walk-top: calc(var(--walk-header) + 24px);
  display: block;
  padding: clamp(48px, 7vw, 88px) var(--page-padding, 24px);
  background: #f4f4f4;
}
#bsmc-challenge .walk-heading { max-width: 1312px; margin: 0 auto 48px; }
#bsmc-challenge .walk-heading h2 { max-width: 800px; font-size: clamp(2rem, 3.4vw, 3.1rem); }
#bsmc-challenge .walk-body { max-width: 1312px; margin: auto; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 32px; align-items: start; }
#bsmc-challenge .walk-index { position: sticky; top: var(--walk-top); z-index: 3; min-width: 0; max-height: calc(100svh - var(--walk-top) - 20px); overflow: auto; scrollbar-width: thin; }
#bsmc-challenge .walk-index a { display: flex; align-items: baseline; gap: 10px; padding: 9px 10px 9px 0; color: #6f6f6f; font: 400 13px/1.35 "IBM Plex Sans", Arial, sans-serif; text-decoration: none; border-right: 2px solid transparent; }
#bsmc-challenge .walk-index a span { min-width: 16px; color: #8d8d8d; font-size: 10px; font-variant-numeric: tabular-nums; }
#bsmc-challenge .walk-index a:hover { color: #161616; }
#bsmc-challenge .walk-index a[aria-current="location"] { color: #972d07; border-color: #972d07; font-weight: 600; }
#bsmc-challenge .walk-index a:focus-visible { outline: 2px solid #972d07; outline-offset: 2px; }
#bsmc-challenge .walk-steps { min-width: 0; }
#bsmc-challenge .walk-step { margin: 0; padding: 32px 0 56px; border-top: 1px solid #dedbd5; scroll-margin-top: calc(var(--walk-top) + 16px); }
#bsmc-challenge .walk-copy { padding-right: 4px; }
#bsmc-challenge .walk-copy .card-label { color: #972d07; font: 400 12px/1.5 "IBM Plex Sans", Arial, sans-serif; text-transform: none; margin: 0 0 16px; }
#bsmc-challenge .walk-copy h3 { color: #161616; font: 400 clamp(1.45rem, 2.2vw, 2rem)/1.12 "IBM Plex Sans", Arial, sans-serif; margin: 0 0 22px; letter-spacing: -.02em; }
#bsmc-challenge .walk-copy h3:focus { outline: none; }
#bsmc-challenge .walk-copy h3:focus-visible { outline: 2px solid #972d07; outline-offset: 6px; }
#bsmc-challenge .walk-copy p:not(.card-label) { color: #525252; font-size: 16px; line-height: 1.65; margin-bottom: 0; }
#bsmc-challenge .walk-inline { margin-top: 28px; }
#bsmc-challenge .walk-stage { display: none; }
#bsmc-challenge.walk-wide .walk-body { grid-template-columns: 168px minmax(210px, .78fr) minmax(380px, 1.4fr); }
#bsmc-challenge.walk-wide .walk-step { display: block; min-height: max(500px, 74svh); padding: clamp(106px, 16svh, 150px) 0 68px; }
#bsmc-challenge.walk-wide .walk-step:last-child { min-height: max(620px, 86svh); }
#bsmc-challenge.walk-wide .walk-inline { display: none; }
#bsmc-challenge.walk-wide .walk-stage { display: block; position: sticky; top: var(--walk-top); min-width: 0; padding: 0; }
/* Every scene is inert illustration markup: no faux clickable controls. */
#bsmc-challenge .walk-scene { --paper:#f8f5ea; --rule:#e6e1d2; --flame:#c73f18; --leaf:#3e5d46; --pale:#dceee1; position: relative; margin: 0; padding: 26px; background: var(--paper); color: #111; font: 400 17px/1.4 "Crimson Pro", Georgia, serif; min-width: 0; overflow: hidden; border: 1px solid var(--rule); }
#bsmc-challenge .walk-scene[hidden] { display:none!important; }
#bsmc-challenge .walk-scene * { box-sizing:border-box; }
#bsmc-challenge .walk-scene p, #bsmc-challenge .walk-scene h4 { margin:0; }
#bsmc-challenge .ws-top { display:flex; justify-content:space-between; align-items:baseline; gap:16px; border-bottom:1px solid var(--rule); padding-bottom:18px; margin-bottom:22px; }
#bsmc-challenge .ws-top h4 { font:500 25px/1.12 "Crimson Pro",Georgia,serif; }
#bsmc-challenge .ws-note { color:#706d66; font:400 10px/1.3 "Roboto Condensed","Arial Narrow",Arial,sans-serif; white-space:nowrap; }
#bsmc-challenge .ws-panel { background:#fff; border:1px solid var(--rule); border-radius:6px; padding:18px; }
#bsmc-challenge .ws-line { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--rule); }
#bsmc-challenge .ws-line:last-child { border:0; }
#bsmc-challenge .ws-line:first-child { padding-top:0; }
#bsmc-challenge .ws-line strong, #bsmc-challenge .ws-person strong { font-weight:500; }
#bsmc-challenge .ws-person { display:flex; align-items:center; gap:10px; }
#bsmc-challenge .ws-avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; flex:none; background:#ece8db; color:#3a3a3a; font:500 12px "Roboto Condensed","Arial Narrow",Arial,sans-serif; }
#bsmc-challenge .ws-label { display:block; color:#6f6f6f; font:400 12px/1.45 "Roboto Condensed","Arial Narrow",Arial,sans-serif; }
#bsmc-challenge .ws-tag { display:inline-block; padding:4px 7px; color:var(--leaf); background:var(--pale); border:1px solid var(--leaf); border-radius:4px; font:500 10px/1.3 "Roboto Condensed","Arial Narrow",Arial,sans-serif; letter-spacing:.4px; text-transform:uppercase; white-space:nowrap; }
#bsmc-challenge .ws-tag.neutral { color:#6f6f6f; border-color:var(--rule); background:#fff; }
#bsmc-challenge .ws-action { display:inline-block; margin-top:18px; padding:9px 14px; color:white; background:#3a3a3a; border-radius:5px; font:600 11px/1.3 "Roboto Condensed","Arial Narrow",Arial,sans-serif; text-transform:uppercase; letter-spacing:.6px; }
#bsmc-challenge .ws-footer { display:flex; align-items:center; gap:8px; margin-top:20px; padding-top:16px; border-top:1px solid var(--rule); color:var(--leaf); font:400 13px/1.45 "Roboto Condensed","Arial Narrow",Arial,sans-serif; }
#bsmc-challenge .ws-footer:before { content:"✓"; font-size:16px; }
#bsmc-challenge .ws-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; }
#bsmc-challenge .ws-field { display:block; border-bottom:1px solid var(--rule); padding:7px 0; }
#bsmc-challenge .ws-field span { display:block; color:#6f6f6f; font:400 11px "Roboto Condensed","Arial Narrow",Arial,sans-serif; margin-bottom:3px; }
#bsmc-challenge .ws-check { display:inline-grid; place-items:center; width:21px; height:21px; border:1px solid var(--leaf); background:var(--pale); color:var(--leaf); font:500 13px Arial,sans-serif; }
#bsmc-challenge .ws-family { position:relative; display:grid; gap:14px; margin:18px 0 0 17px; padding-left:26px; border-left:1px solid #c8c4b8; }
#bsmc-challenge .ws-family .ws-person { position:relative; }
#bsmc-challenge .ws-family .ws-person:before { content:""; position:absolute; left:-26px; top:17px; width:18px; height:1px; background:#c8c4b8; }
#bsmc-challenge .ws-subhead { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 18px; }
#bsmc-challenge .ws-subhead strong { font:500 20px/1.2 "Crimson Pro",Georgia,serif; }
#bsmc-challenge .ws-datebar { display:flex; gap:6px; margin-bottom:18px; font:500 12px "Roboto Condensed","Arial Narrow",Arial,sans-serif; }
#bsmc-challenge .ws-datebar span { padding:8px 12px; border:1px solid var(--rule); background:#fff; }
#bsmc-challenge .ws-datebar .selected { background:#111;color:white; }
#bsmc-challenge .ws-event { padding:18px; background:#fff; border:1px solid var(--rule); border-radius:6px; }
#bsmc-challenge .ws-event strong { display:block; font-size:24px; font-weight:500; margin:9px 0 14px; line-height:1.15; }
#bsmc-challenge .ws-time { color:var(--flame); font:600 12px/1.4 "Roboto Condensed","Arial Narrow",Arial,sans-serif; }
#bsmc-challenge .ws-steps { display:flex; align-items:center; gap:8px; font:500 12px "Roboto Condensed","Arial Narrow",Arial,sans-serif; margin-bottom:20px; color:#6f6f6f; }
#bsmc-challenge .ws-steps i { flex:1; height:1px; background:var(--rule); }
#bsmc-challenge .ws-steps .done { color:var(--leaf); }
#bsmc-challenge .ws-meter { height:12px; background:#e6e1d2; margin:20px 0 10px; }
#bsmc-challenge .ws-meter i { display:block; height:100%; background:var(--leaf); width:41.67%; }
#bsmc-challenge .ws-big { font:400 45px/1 "Crimson Pro",Georgia,serif; }
#bsmc-challenge .ws-big small { font-size:20px; color:#6f6f6f; }
#bsmc-challenge .ws-table { width:100%; border-collapse:collapse; font-size:16px; }
#bsmc-challenge .ws-table th { padding:8px 7px; background:var(--paper); text-align:left; color:#3a3a3a; font:600 11px "Roboto Condensed","Arial Narrow",Arial,sans-serif; text-transform:uppercase; }
#bsmc-challenge .ws-table td { padding:12px 7px; border-bottom:1px solid var(--rule); }
#bsmc-challenge .ws-table th:last-child,#bsmc-challenge .ws-table td:last-child { text-align:right; }
#bsmc-challenge .ws-row-highlight { background:#f8f5ea; }
#bsmc-challenge .ws-expand { margin:14px 0 0; padding:14px; background:var(--paper); border-left:2px solid var(--leaf); }
#bsmc-challenge .ws-mail { border-top:3px solid #3a3a3a; }
#bsmc-challenge .ws-mail h4 { font:500 25px/1.2 "Crimson Pro",Georgia,serif; margin:15px 0 12px; }
#bsmc-challenge .ws-timeline { margin:0 0 0 9px; border-left:1px solid #c8c4b8; padding:0 0 0 23px; }
#bsmc-challenge .ws-timeline>div { position:relative; padding:0 0 24px; }
#bsmc-challenge .ws-timeline>div:before { content:""; position:absolute; top:5px; left:-28px; width:9px; height:9px; border-radius:50%; background:var(--leaf); }
#bsmc-challenge .ws-timeline strong { font-weight:500; }
#bsmc-challenge .ws-swatches { display:flex; gap:8px; margin:18px 0; }
#bsmc-challenge .ws-swatches i { height:28px; flex:1; border:1px solid var(--rule); }
#bsmc-challenge .ws-reuse { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
#bsmc-challenge .ws-reuse .ws-panel { padding:13px; }
#bsmc-challenge .ws-reuse strong { display:block; font-size:18px; font-weight:500; margin-bottom:10px; }
/* Static markup is the final state; animation progressively reveals it. */
#bsmc-challenge .walk-scene [data-at] { display:none; }
#bsmc-challenge .walk-scene [data-at~="2"] { display:inline; }
#bsmc-challenge .walk-scene[data-frame="0"] [data-at], #bsmc-challenge .walk-scene[data-frame="1"] [data-at] { display:none; }
#bsmc-challenge .walk-scene[data-frame="0"] [data-at~="0"], #bsmc-challenge .walk-scene[data-frame="1"] [data-at~="1"] { display:inline; }
#bsmc-challenge .walk-scene[data-frame="0"] [data-reveal], #bsmc-challenge .walk-scene[data-frame="1"] [data-reveal="2"] { visibility:hidden; }
#bsmc-challenge .walk-scene[data-frame="0"] .ws-meter i { width:36.11%; }
#bsmc-challenge .walk-scene[data-frame="1"] .ws-meter i { width:38.89%; }
#bsmc-challenge .walk-scene[data-playing] .ws-meter i { transition:width 500ms ease-out; }
@media(max-width:1099px), (max-height:659px) {
  #bsmc-challenge .walk-body { grid-template-columns:150px minmax(0,1fr); gap:24px; }
}
@media(max-width:760px) {
  #bsmc-challenge[data-challenge-ready] { padding:40px 20px 24px; }
  #bsmc-challenge .walk-heading { margin-bottom:22px; }
  #bsmc-challenge .walk-body { display:block; }
  #bsmc-challenge .walk-index { top:var(--walk-header); display:flex; gap:18px; background:#f4f4f4; margin:0 -4px 24px; padding:0 4px; max-height:60px; overflow-x:auto; overflow-y:hidden; border-bottom:1px solid #dedbd5; scroll-padding:8px; }
  #bsmc-challenge .walk-index a { flex:none; border-right:0; border-bottom:2px solid transparent; padding:15px 1px 12px; min-height:46px; font-size:13px; }
  #bsmc-challenge .walk-index a span { display:none; }
  #bsmc-challenge .walk-step { scroll-margin-top:calc(var(--walk-header) + 76px); padding-top:26px; padding-bottom:36px; }
  #bsmc-challenge .walk-copy h3 { font-size:27px; margin-bottom:16px; }
  #bsmc-challenge .walk-copy .card-label { margin-bottom:10px; }
  #bsmc-challenge .walk-scene { padding:18px; font-size:16px; }
  #bsmc-challenge .ws-top h4 { font-size:24px; }
  #bsmc-challenge .ws-panel { padding:14px; }
  #bsmc-challenge .ws-table { font-size:14px; }
  #bsmc-challenge .ws-table th { font-size:10px; }
  #bsmc-challenge .ws-event strong { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) {
  html:has(#bsmc-challenge) { scroll-behavior:auto!important; }
  #bsmc-challenge *,#bsmc-challenge *:before { animation:none!important; transition:none!important; }
}
@media print {
  #bsmc-challenge .walk-index { display:none; }
  #bsmc-challenge .walk-body,#bsmc-challenge.walk-wide .walk-body { display:block; }
  #bsmc-challenge .walk-step,#bsmc-challenge.walk-wide .walk-step { display:block; min-height:0; padding:22px 0; break-inside:avoid; }
  #bsmc-challenge .walk-stage { display:none!important; }
  #bsmc-challenge .walk-inline,#bsmc-challenge.walk-wide .walk-inline { display:block; }
}
@media(min-width:1100px) and (min-height:660px) {
  #bsmc-challenge.walk-wide .walk-scene { min-height:520px; }
}
#bsmc-challenge .walk-scene [data-date="2"] { background:#111; color:#fff; }
#bsmc-challenge .walk-scene[data-frame="0"] [data-date="2"] { background:#fff; color:#111; }
#bsmc-challenge .walk-scene[data-frame="0"] [data-date="1"] { background:#111; color:#fff; }
@media(max-width:480px) {
  #bsmc-challenge .ws-table { table-layout:fixed; overflow-wrap:anywhere; }
  #bsmc-challenge .ws-table th,#bsmc-challenge .ws-table td { padding-left:3px; padding-right:3px; }
  #bsmc-challenge .ws-top { gap:8px; }
  #bsmc-challenge .ws-note { font-size:9px; }
  #bsmc-challenge .ws-tag { font-size:9px; padding:3px 5px; }
  #bsmc-challenge .ws-subhead { flex-wrap:wrap; }
  #bsmc-challenge .ws-datebar { gap:4px; }
  #bsmc-challenge .ws-datebar span { padding:7px 9px; }
}
