      /* stage: the strap hangs from above the section edge */
      .bdg-stage { position: relative; height: clamp(560px, 64vw, 700px); perspective: 1400px; }
      .bdg-strap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
      .bdg-strap path { fill: none; stroke-linecap: round; }
      .bdg-strap .s-band { stroke: var(--coral); stroke-width: 22; }
      .bdg-strap .s-stitch { stroke: rgba(40,28,28,.35); stroke-width: 1; stroke-dasharray: 3 5; }
      .bdg-pivot {
        --bx: 0px; --by: 0px; --rz: 0deg; --ry: -14deg; --rx: 4deg;
        position: absolute; left: 50%; top: 0; width: var(--bw); height: calc(var(--bw) * 1.45);
        --bw: clamp(250px, 26vw, 320px);
        margin-left: calc(var(--bw) / -2);
        transform: translate3d(var(--bx), calc(var(--by) + var(--drop)), 0) rotateZ(var(--rz));
        transform-origin: 50% 0; transform-style: preserve-3d;
        --drop: calc(clamp(560px, 64vw, 700px) - var(--bw) * 1.45 - 70px);
      }
      .bdg-clip {
        position: absolute; left: 50%; top: -34px; width: 34px; height: 44px; margin-left: -17px;
        border-radius: 8px 8px 6px 6px; transform: translateZ(4px);
        background: linear-gradient(90deg,#8A948F,#E5E8E8 38%,#BBBDBA 60%,#5E6666);
        box-shadow: inset 0 -10px 0 -4px rgba(40,28,28,.35);
      }
      .bdg-clip::after { content: ""; position: absolute; left: 50%; top: 7px; width: 14px; height: 6px; margin-left: -7px; border-radius: 4px; background: rgba(40,28,28,.55); }
      .bdg-card {
        position: absolute; inset: 0; transform-style: preserve-3d; cursor: grab; touch-action: none;
        transform: rotateX(var(--rx)) rotateY(var(--ry));
      }
      .bdg-card:active { cursor: grabbing; }
      .bdg-slab { position: absolute; inset: 0; border-radius: 16px; background: #CFD1D1; }
      .bdg-slab:nth-child(1) { transform: translateZ(-2.4px); background: #BBBDBA; }
      .bdg-slab:nth-child(2) { transform: translateZ(-1.2px); }
      .bdg-slab:nth-child(3) { transform: translateZ(0); }
      .bdg-slab:nth-child(4) { transform: translateZ(1.2px); }
      .bdg-slab:nth-child(5) { transform: translateZ(2.4px); background: #BBBDBA; }
      .bdg-face {
        position: absolute; inset: 0; border-radius: 16px; overflow: hidden;
        backface-visibility: hidden; -webkit-backface-visibility: hidden;
        display: flex; flex-direction: column;
        box-shadow: inset 0 0 0 1px rgba(40,28,28,.08);
      }
      .bdg-front { transform: translateZ(3px); background: var(--paper); color: var(--ink); }
      .bdg-back  { transform: rotateY(180deg) translateZ(3px); background: var(--paper); color: var(--ink); padding: 22px 20px 18px; }
      .bdg-slot { position: absolute; left: 50%; top: 12px; width: 44px; height: 8px; margin-left: -22px; border-radius: 6px; background: var(--ink); opacity: .85; z-index: 3; }
      .bdg-top { display: flex; justify-content: space-between; align-items: center; padding: 30px 18px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(40,28,28,.62); }
      .bdg-top img { height: 14px; width: auto; display: block; }
      .bdg-mark { position: relative; flex: 1; margin: 0 14px; border-radius: 10px; overflow: hidden; background: linear-gradient(125deg, var(--coral-wash, #F7DBDA) 0%, var(--coral) 100%); }
      .bdg-mark canvas, .bdg-mark img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
      .bdg-mark img { object-fit: contain; }
      .bdg-mark .bdg-still { height: 86%; top: 7%; }
      .bdg-id { padding: 14px 18px 18px; display: grid; gap: 6px; }
      .bdg-name { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.02em; margin: 0; }
      .bdg-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(40,28,28,.62); }
      .bdg-meta span { white-space: nowrap; }
      .bdg-pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(111,183,160,.18); color: var(--ink); }
      .bdg-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-pop); }
      /* sheen: a warm clearcoat that slides with the card's turn — coral-wash
         and sage only, never a rainbow foil */
      .bdg-sheen {
        position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
        background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.34) 44%, rgba(247,219,218,.28) 50%, rgba(111,183,160,.16) 56%, transparent 68%);
        background-size: 260% 100%; background-position: var(--sheen, 50%) 0; mix-blend-mode: soft-light;
      }
      .bdg-back h3 { margin: 12px 0 2px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(40,28,28,.62); display: flex; justify-content: space-between; }
      .bdg-ledger { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
      .bdg-row, .bdg-split { display: flex; align-items: baseline; gap: 6px; font-size: 12px; line-height: 1.25; margin: 0; }
      .bdg-row__k { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: rgba(40,28,28,.7); }
      .bdg-row__d { flex: 1; min-width: 10px; border-bottom: 1px dotted rgba(40,28,28,.3); transform: translateY(-3px); }
      .bdg-row__v { text-align: right; }
      .bdg-row__v b { color: var(--sage-pop); font-weight: 700; margin-left: 4px; }
      .bdg-scope { margin: 12px 0 0; padding: 9px 10px; border-radius: 8px; background: rgba(40,28,28,.05); font-size: 12px; line-height: 1.4; }
      .bdg-scope span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(40,28,28,.6); }
      .bdg-sig { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; border-bottom: 1px solid rgba(40,28,28,.4); padding-bottom: 2px; }
      .bdg-sig em { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--coral); }
      .bdg-sig span, .bdg-foot { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(40,28,28,.6); }
      .bdg-split { margin-top: 10px; }
      .bdg-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 8px; }
      .bdg-foot b { color: var(--coral); font-weight: 500; }

      /* WebGL upgrade (badge3d.js): the canvas draws the badge; the CSS badge
         stays in the accessibility tree as the readable text, visually hidden. */
      .bdg-stage.is-gl { perspective: none; }
      .bdg-gl { position: absolute; left: 0; width: 100%; pointer-events: none; display: block; }
      .bdg-stage.is-gl { touch-action: pan-y; }
      .bdg-stage.is-gl .bdg-strap { display: none; }
      .bdg-stage.is-gl .bdg-pivot {
        position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden;
        clip: rect(0 0 0 0); clip-path: inset(50%); margin: -1px; transform: none; opacity: 0;
      }

      /* no JS: no 3D, both faces stacked and readable */
      .deliverable-compliance:not(.has-badge-js) .bdg-stage { height: auto; margin-top: 0; perspective: none; }
      .deliverable-compliance:not(.has-badge-js) .bdg-strap, .deliverable-compliance:not(.has-badge-js) .bdg-slab, .deliverable-compliance:not(.has-badge-js) .bdg-clip { display: none; }
      .deliverable-compliance:not(.has-badge-js) .bdg-pivot { position: relative; left: auto; margin: 0 auto; transform: none; height: auto; }
      .deliverable-compliance:not(.has-badge-js) .bdg-card { position: relative; transform: none; display: grid; gap: 16px; }
      .deliverable-compliance:not(.has-badge-js) .bdg-face { position: relative; transform: none; min-height: calc(var(--bw) * 1.45); }

/* Open editorial spreads, each with room for its own visual language. */
.deliverables{background:var(--paper);padding-bottom:0}
.deliverables>.section-intro{margin-bottom:70px}
.deliverable-row{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(35px,7vw,120px);padding:0 0 90px}
.deliverable-caption{max-width:450px}
.deliverable-index{display:block;font:400 12px/1.3 var(--mono);letter-spacing:.06em;color:var(--deep);margin-bottom:24px}
.deliverable-caption h3{font:500 clamp(38px,4.3vw,66px)/1.06 var(--serif);letter-spacing:-.035em;margin:0}
.deliverable-caption p{font:400 18px/1.55 var(--sans);max-width:29ch;margin:22px 0 0;color:var(--deep)}
.deliverable-art{margin:0;min-width:0;overflow:hidden}
.deliverable-art>img{display:block;width:100%;height:auto}
.deliverable-sheet .deliverable-art{max-width:760px}
.deliverable-voice{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);border-top:1px solid #281c1c25;padding-top:80px}
.deliverable-finished{border-top:1px solid #281c1c25;padding:80px 0 100px}
.deliverable-finished>.deliverable-caption{max-width:none;margin-bottom:48px}
.deliverable-finished>.deliverable-caption p{max-width:52ch}
.deliverable-finished-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:clamp(40px,8vw,140px);align-items:center}
.deliverable-discussion{max-width:600px}
.deliverable-context{font:400 11px/1.4 var(--mono);letter-spacing:.04em;color:var(--deep);margin:0 0 20px}
.deliverable-discussion h4{font:500 clamp(37px,4vw,62px)/1.06 var(--serif);letter-spacing:-.035em;margin:0 0 22px}
.deliverable-topic{font:500 18px/1.4 var(--sans);margin:0 0 12px}
.deliverable-topic-detail{font:400 15px/1.6 var(--sans);color:var(--deep);max-width:44ch;margin:0 0 32px}
.discussion-heading{display:flex;justify-content:space-between;gap:25px;font:500 12px/1.4 var(--mono);padding:0 0 13px;border-bottom:1px solid #281c1c25}
.discussion-prompts{list-style:none;padding:18px 15px 8px 0;margin:0;display:grid;gap:13px;max-height:284px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--sage) transparent}
.discussion-prompts li{padding:19px 23px;border-radius:14px;background:white;font:400 17px/1.4 var(--sans);color:var(--ink)}
.discussion-prompts li:nth-child(even){background:var(--mint);margin-left:24px}
.discussion-prompts:focus-visible{outline:2px solid var(--coral);outline-offset:5px}
.deliverable-doctor{width:100%;max-width:440px;margin:0 0 0 auto;overflow:hidden;border-radius:180px 180px 20px 20px}
.deliverable-doctor>img{display:block;width:100%;height:auto}
.deliverable-compliance{--sage-soft:#bed9c8;--sage-pop:#6fb7a0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(35px,6vw,100px);align-items:center;position:relative;overflow:hidden;background:var(--paper);color:var(--ink);margin:0 calc(-1 * var(--gutter));padding:75px var(--gutter)}
.deliverable-compliance .deliverable-caption{position:relative;z-index:2}
.deliverable-compliance .deliverable-index{color:var(--deep)}
.deliverable-compliance .deliverable-caption>p{color:var(--deep)}
.deliverable-flip{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:28px;padding:12px 23px;border:1px solid var(--ink);border-radius:28px;font:500 14px/1.3 var(--sans);color:var(--ink)}
.deliverable-flip[hidden]{display:none}
.deliverable-flip[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.deliverable-flip:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.bdg-back{padding-top:30px}
.bdg-back .bdg-permission{font:italic 400 22px/1.1 var(--serif);color:var(--coral);margin-top:auto;padding-top:14px}
.bdg-row{font-family:var(--sans)}
.bdg-meta{font-size:9px}
@media(max-width:900px){
 .deliverables>.section-intro{margin-bottom:45px}
 .deliverable-row,.deliverable-voice{grid-template-columns:1fr;gap:30px;padding-bottom:60px}
 .deliverable-caption{max-width:none}
 .deliverable-caption h3{font-size:clamp(36px,6vw,56px)}
 .deliverable-caption p{font-size:17px;max-width:44ch;margin-top:17px}
 .deliverable-index{margin-bottom:17px}
 .deliverable-sheet .deliverable-art{max-width:none}
 .deliverable-voice{padding-top:60px}
 .deliverable-voice .deliverable-caption{order:-1}
 .deliverable-finished{padding:60px 0}
 .deliverable-finished-stage{gap:30px;grid-template-columns:1fr 1fr}
 .deliverable-discussion h4{font-size:34px}
 .deliverable-topic{font-size:16px}
 .deliverable-topic-detail{font-size:14px}
 .discussion-prompts li{font-size:15px;padding:15px}
 .discussion-prompts li:nth-child(even){margin-left:10px}
 .deliverable-compliance{grid-template-columns:1fr;gap:10px;padding-top:60px;padding-bottom:35px}
 .bdg-stage{height:560px;max-width:650px;width:100%;margin:auto}
 .bdg-pivot{--bw:280px;--drop:100px}
}
@media(max-width:600px){
 .deliverable-caption h3{font-size:40px}
 .deliverable-finished-stage{grid-template-columns:1fr}
 .deliverable-doctor{grid-row:1;max-width:340px;margin:0 auto 5px;border-radius:135px 135px 16px 16px}
 .deliverable-discussion{max-width:none}
 .deliverable-discussion h4{font-size:42px}
 .discussion-prompts{max-height:278px}
 .bdg-stage{height:510px}
 .bdg-pivot{--bw:250px;--drop:78px}
 .bdg-name{font-size:26px}
 .bdg-top{font-size:8px;padding-left:15px;padding-right:15px}
 .bdg-back{padding:28px 15px 15px}
 .bdg-row{font-size:11px}
 .bdg-row__k{font-size:9px}
 .bdg-back .bdg-permission{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.bdg-card{transition:none}.bdg-stage{scroll-behavior:auto}}

/* One shared canvas for the three stills; preserve every source composition. */
.deliverable-art,.deliverable-sheet .deliverable-art,.deliverable-doctor{position:relative;width:100%;max-width:700px;aspect-ratio:1 / 1;height:auto;margin-left:auto;margin-right:auto;border-radius:0;overflow:hidden;background:var(--paper)}
.deliverable-art>img,.deliverable-doctor>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.deliverable-voice{grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr)}
.deliverable-finished-stage{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(35px,7vw,120px)}
@media(max-width:900px){
 .deliverable-voice,.deliverable-finished-stage{grid-template-columns:1fr;gap:30px}
 .deliverable-doctor{grid-row:1}
}

/* The source artworks are now genuine squares, so their pixels fill the stage. */
.deliverable-art>img,.deliverable-doctor>img{object-fit:cover}
.doctor-screen{container-type:inline-size;isolation:isolate}
.doctor-message-screen{position:absolute;left:36%;right:5%;bottom:10%;height:clamp(160px,30cqw,220px);z-index:2;overflow:hidden;border:1px solid #ffffff70;border-radius:16px;background:rgba(30,25,23,.53);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);box-shadow:0 12px 32px #281c1c24;color:var(--paper)}
.doctor-screen-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid #ffffff30;min-height:40px;font:500 clamp(10px,1.9cqw,13px)/1.25 var(--sans)}
.doctor-screen-heading button{padding:6px;min-height:32px;font:500 11px/1.2 var(--sans);color:var(--paper);text-decoration:underline;text-underline-offset:3px}
.doctor-screen-heading button:focus-visible{outline:2px solid var(--mint);outline-offset:1px}
.doctor-message-viewport{height:calc(100% - 44px);overflow:auto;padding:8px 10px;scrollbar-width:none;overscroll-behavior:contain}
.doctor-message-viewport::-webkit-scrollbar{display:none}
.doctor-message-viewport:focus-visible{outline:2px solid var(--mint);outline-offset:-3px}
.doctor-message-track{display:flex;flex-direction:column;gap:8px}
.doctor-message-track ul{list-style:none;display:grid;gap:8px;padding:0;margin:0}
.doctor-message-track li{padding:10px 12px;border-radius:10px;background:#ffffff12;border:1px solid #ffffff24;font:400 clamp(12px,2.5cqw,18px)/1.35 var(--sans);color:var(--paper)}
.doctor-message-track li:nth-child(2n){background:#bed9c824;border-color:#bed9c850}
@media(max-width:600px){.doctor-message-screen{left:29%;right:4%;bottom:5%;height:160px}.doctor-screen-heading{padding:4px 8px;gap:4px}.doctor-message-track li{padding:8px 9px}.doctor-message-viewport{padding:7px}}
