@font-face{font-family:Anton;src:url("../../../Resources/Fonts/Anton-Regular.ttf") format("truetype");font-display:swap}
@font-face{font-family:"Google Sans";src:url("../../../Resources/Fonts/GoogleSans-Latin.woff2") format("woff2");font-weight:400 700;font-display:swap}
:root{--ink:#11110f;--yellow:#f2e85c;--muted:#bdbdb2;--line:#3c3c35;color-scheme:dark;font:400 16px/1.6 "Google Sans",Arial,sans-serif;color:#f1f0e8;background:var(--ink)}
*{box-sizing:border-box}body,figure,dl,dd,p,h1,h2,h3{margin:0}html{scroll-padding-top:1rem}img{display:block;width:100%;height:auto}a{color:inherit;text-underline-offset:.25em}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid currentColor;outline-offset:4px}[hidden]{display:none!important}::selection{background:var(--yellow);color:var(--ink)}
.wrap{width:min(1400px,91%);margin-inline:auto}.mast,footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px;border-bottom:1px solid var(--line);color:var(--yellow);font-size:.88rem}.mast a,footer a{text-decoration:none}.mast a:hover,footer a:hover,.contents a:hover{text-decoration:underline}.skip{position:absolute;left:1rem;top:-12rem;background:var(--yellow);color:var(--ink);padding:.6rem;z-index:3}.skip:focus{top:1rem}
.hero{display:grid;grid-template-columns:minmax(0,.81fr) minmax(0,1.19fr);gap:clamp(30px,5vw,88px);align-items:center;padding:clamp(40px,5vw,88px) 0}.label,dt,figcaption,.contents{font-size:.8rem}.label{letter-spacing:.08em;text-transform:uppercase;font-weight:550}.label span,figcaption b{color:var(--yellow);margin-inline:.3em}h1,h2{font-family:Anton,Impact,sans-serif;font-weight:400;line-height:1.08;letter-spacing:-.015em}.intro{container-type:inline-size}h1{font-size:min(20cqw,9rem);color:var(--yellow);text-transform:uppercase;margin:.18em 0 .2em}.deck{font-size:clamp(1.4rem,2.25vw,2.35rem);line-height:1.17;letter-spacing:-.035em;max-width:25ch}.intro>p:last-child{margin-top:1.2rem;color:var(--muted);max-width:48ch}.capture{overflow:hidden}.capture img,.levels figure img,.copy figure img{aspect-ratio:16/9;object-fit:contain;background:#1c1d17}.capture figcaption{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);min-height:46px;padding:4px 0}.capture button,.level-switch button{background:transparent;color:var(--yellow);border:1px solid #63634d;padding:6px 12px;font-size:.81rem}.capture button:hover,.level-switch button:hover{border-color:var(--yellow)}figcaption{color:var(--muted);padding-top:.6rem}
.facts{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(40px,8vw,160px);border-block:1px solid var(--line);padding:clamp(42px,6vw,78px) 0}.facts dt{color:#aaa99f;font-size:clamp(.9rem,1.5vw,1.15rem);line-height:1.1;letter-spacing:.04em;text-transform:uppercase;font-weight:400}.credits dt{color:var(--yellow)}.facts dd{margin-top:clamp(34px,4vw,60px);font-size:clamp(1.32rem,2.3vw,2.2rem);line-height:1.5;letter-spacing:-.025em;color:#d3d3c9}.fact-overview strong{color:#f1f0e8;font-weight:600}.fact-role strong{display:block;color:var(--yellow);font-size:clamp(1.9rem,3.3vw,3.3rem);line-height:1.15;letter-spacing:-.035em;font-weight:600}.fact-role span{display:block;margin-top:1.15em}.contents{position:fixed;right:calc(18px + env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:20;color:var(--yellow)}.contents-toggle{min-width:96px;min-height:48px;padding:10px 16px;border:1px solid var(--yellow);background:var(--yellow);color:var(--ink);font-size:.8rem;font-weight:600;letter-spacing:.08em}.contents-toggle:hover{background:#fff;border-color:#fff}.contents-panel{position:absolute;right:0;bottom:calc(100% + 8px);width:min(280px,calc(100vw - 36px));padding:12px;background:rgba(17,17,15,.96);border:1px solid var(--yellow);box-shadow:0 14px 36px #0009;backdrop-filter:blur(10px)}.contents-panel a{display:block;padding:10px 12px;color:#f1f0e8;text-decoration:none;line-height:1.3}.contents-panel a:hover,.contents-panel a:focus-visible{background:var(--yellow);color:var(--ink);text-decoration:none}
.chapter{padding:clamp(52px,7vw,104px) 0;border-bottom:1px solid var(--line)}.split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(40px,8vw,130px)}h2{font-size:clamp(2.25rem,4.4vw,4.85rem);max-width:19ch;margin:.28em 0 .4em}.copy,.lead,.evidence p,.level-copy p,.credits{color:#d3d3c9}.copy{max-width:66ch}.copy p+p,.copy figure,.copy a:last-child{margin-top:1rem}.copy a:last-child{display:inline-block}.copy a,.code a{color:var(--yellow)}kbd{font:550 .88em "Google Sans",sans-serif;border:1px solid #68685d;padding:1px 5px;border-radius:3px;color:inherit;white-space:nowrap}
.critique{background:var(--yellow);color:var(--ink);padding:clamp(45px,5vw,75px) 0}.critique .copy,.critique a,.critique ::selection{color:var(--ink)}.critique .copy{align-self:center}.critique h2{max-width:20ch}.comparison,.levels{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,65px);margin-top:2rem}.evidence{border-top:1px solid var(--line);padding-top:16px}.evidence h3,.levels h3{font-weight:550;font-size:clamp(1.2rem,2vw,1.75rem);line-height:1.3}.evidence h3{color:var(--yellow)}.evidence h3 span{margin-left:.5rem;color:#f1f0e8}.evidence p{margin:.75rem 0 1.2rem}.code{background:#20211b;border-left:2px solid var(--yellow);padding:1.2rem}.code pre{overflow-x:auto;font: .83rem/1.7 monospace;color:var(--yellow);margin:0}.lead{max-width:64ch}.levels{align-items:start}.level-switch{display:flex;gap:6px;margin-bottom:20px}.level-switch button[aria-pressed=true]{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.level-copy p{margin-top:.85rem}.level-copy strong{display:block;color:#f1f0e8;font-weight:550}.credits dd{margin:2px 0 16px}.credits small{color:var(--muted)}footer{padding:24px 0;border-bottom:0}
@media(max-width:800px){.hero,.split,.comparison,.levels{grid-template-columns:1fr;gap:24px}.hero{padding:34px 0}.intro>p:last-child{max-width:62ch}h1{font-size:clamp(4rem,13vw,7.5rem)}.chapter{padding-block:46px}.mast{min-height:60px}.comparison,.levels{margin-top:1.5rem}.critique h2{max-width:23ch}.code pre{font-size:.76rem}}
@media(max-width:700px){.facts{grid-template-columns:1fr;gap:42px}.facts dd{margin-top:22px;font-size:clamp(1.32rem,4vw,1.7rem)}.fact-role span{margin-top:.65em}}
@media(max-width:440px){.wrap{width:89%}.mast,footer{font-size:.76rem}.label,dt,figcaption,.contents{font-size:.75rem}.deck{font-size:1.55rem}.comparison,.levels,.split,.hero{min-width:0}.evidence,.copy,.intro,.level-copy{min-width:0}}

@font-face{font-family:GameNoto;src:url("game-assets/NotoSans-ExtraBold.ttf") format("truetype");font-display:swap}
.playable{min-width:0}.game-stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#1c1d17}.game-stage canvas{display:block;width:100%;height:100%;aspect-ratio:16/9;outline:none}.game-stage canvas:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}.game-start{position:absolute;inset:0;display:grid;place-items:center;text-align:center;isolation:isolate}.game-start>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.game-start:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);z-index:-1}.game-start p{font-size:clamp(.8rem,1.4vw,1.1rem);font-weight:550;text-shadow:0 2px 8px #000}.game-start button{margin-top:16px;border:0;background:var(--yellow);color:var(--ink);padding:12px 19px;font-weight:600;font-size:clamp(.95rem,1.7vw,1.3rem)}.game-start button:hover{background:#fff}.game-start button span{font-size:.75em;padding-left:.5em}.game-caption{min-height:46px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted);font-size:.8rem}.game-caption b{color:var(--yellow);margin:0 .35em}.game-caption button{background:none;border:1px solid var(--line);color:var(--yellow);padding:5px 10px;font-size:.8rem}.game-caption button:hover{border-color:var(--yellow)}.game-controls{display:flex;flex-wrap:wrap;gap:5px 15px;padding-top:13px;color:var(--muted);font-size:.78rem;line-height:1.7}.game-controls strong{color:var(--yellow);font-weight:550}.game-controls kbd{font-size:1em;padding:0;border:0;color:#f1f0e8}.game-device-note,.game-status{font-size:.76rem;color:var(--muted);margin-top:7px}.game-status:empty{display:none}@media(min-width:801px){.hero{grid-template-columns:minmax(0,.67fr) minmax(0,1.33fr)}}@media(max-width:800px){.game-controls{gap:4px 10px}}@media(max-width:600px){.game-device-note{color:var(--yellow)}.game-controls{font-size:.72rem}.game-caption{font-size:.72rem}}
.team-art{min-width:0}.team-art>div{aspect-ratio:16/9;background:#111 url("game-assets/background.png") center/cover;display:grid;place-items:center;overflow:hidden}.copy figure.team-art img{width:100%;height:100%;object-fit:contain;background:transparent}.team-art figcaption{border-bottom:1px solid var(--line);padding-bottom:.6rem}.iteration-block{margin-top:clamp(52px,7vw,90px)}.credits dt{font-size:1.05rem;line-height:1.35}.credits small{display:block;font-size:.76rem;font-weight:400;margin-top:.2rem}.credits dd{margin:.55rem 0 1.7rem}

/* CarrotDash story: team origin, Gopher decision, and two later interface moments. */
.hero,.chapter,.critique,.reflection{scroll-margin-top:20px}
.chapter-heading,.case-heading{max-width:960px;margin-bottom:clamp(34px,5vw,70px)}
.chapter-heading h2,.case-heading h2{max-width:17ch}
.chapter-heading .lead,.case-heading .lead{font-size:clamp(1.12rem,1.7vw,1.55rem);line-height:1.5}
.origin-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(30px,5vw,80px);align-items:start}
.origin-story{border-top:1px solid var(--line)}
.story-step{display:grid;grid-template-columns:3.2rem 1fr;gap:1rem;padding:1.35rem 0;border-bottom:1px solid var(--line)}
.step-number,.moment-number{color:var(--yellow);font-size:.82rem;letter-spacing:.07em}
.story-step h3,.moment h3{font-size:clamp(1.2rem,2vw,1.7rem);line-height:1.25;font-weight:550}
.story-step p,.moment>p:last-child{margin-top:.6rem;color:var(--muted)}
.origin-art>div{aspect-ratio:16/9;display:grid;place-items:center;background:#203020 url("game-assets/background.png") center/cover;overflow:hidden}
.origin-art img{width:100%;height:100%;object-fit:contain}
.origin-art figcaption,.moment figcaption{border-bottom:1px solid var(--line);padding-bottom:.7rem}
.critique{padding-block:clamp(52px,7vw,98px)}
.critique-layout,.reflection-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(34px,6vw,100px);align-items:center}
.critique h2{max-width:14ch}
.critique-layout>div:last-child,.reflection-layout>div:last-child{font-size:clamp(1.15rem,1.9vw,1.65rem);line-height:1.55}
.gopher{padding-block:clamp(70px,9vw,140px)}
.gopher .case-heading h2{font-size:clamp(3rem,6vw,6.5rem);max-width:13ch}
.comparison{gap:clamp(20px,3vw,48px);margin-top:0}
.compare-card{min-width:0;background:#191915;border-top:3px solid var(--yellow);padding:clamp(16px,2.4vw,34px)}
.compare-card header{min-height:8.4rem}
.compare-version{font-size:.8rem;letter-spacing:.08em;color:var(--yellow)}
.compare-version span{color:var(--muted);margin-left:1em;letter-spacing:0}
.compare-card h3{font-size:clamp(1.65rem,2.5vw,2.55rem);line-height:1.15;margin:.65rem 0 1.2rem;font-weight:550}
.compare-card>p{margin-top:1.2rem;color:var(--muted);font-size:clamp(1rem,1.45vw,1.2rem)}
.compare-card .capture img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#263b1b}
.v1-diagram{min-width:0}
.v1-diagram>.diagram-grid{height:auto;aspect-ratio:16/9;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);width:100%;padding:8% 22%;background:#a3c767 url("game-assets/background.png") center/cover}
.diagram-grid>span{display:grid;place-items:center;background:#735a3b;border:1px solid #a17b50}
.diagram-grid .carrot-cell{position:relative}
.diagram-grid .carrot-cell:after{content:"→";position:absolute;right:-.35em;top:35%;z-index:2;color:var(--yellow);font-size:clamp(1.2rem,3vw,2.5rem);font-weight:700;text-shadow:0 2px 5px #000}
.diagram-grid .gopher-cell{outline:3px dashed var(--yellow);outline-offset:-5px}
.diagram-grid img{width:85%;height:85%;object-fit:contain}
.diagram-route{display:flex;justify-content:space-between;gap:.4rem;margin-top:.75rem;color:var(--yellow);font-size:.76rem;text-transform:uppercase;letter-spacing:.05em}
.v1-diagram figcaption{border-bottom:1px solid var(--line);padding-bottom:.65rem;min-height:46px}
.feedback-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:clamp(30px,5vw,70px)}
.feedback-strip>div{background:var(--ink);padding:clamp(18px,2.5vw,36px)}
.feedback-strip span{display:block;color:var(--yellow);font-size:.75rem;letter-spacing:.08em}
.feedback-strip strong{display:block;margin-top:1.25rem;font-size:clamp(1.2rem,2vw,1.9rem);font-weight:550}
.feedback-strip p{margin-top:.45rem;color:var(--muted)}
.signal-visual{display:flex;align-items:center;gap:.7rem;min-height:4.1rem;margin-top:.7rem;color:var(--yellow);font-size:1.5rem}.signal-visual img{width:3.1rem;height:3.1rem;object-fit:contain}.signal-visual kbd{font-size:1.15rem;padding:.3rem .7rem;border-color:var(--yellow);color:var(--yellow)}.signal-visual i{font-style:normal;font-size:2.6rem;line-height:1}.signal-visual .enemy-cleared{opacity:.36;filter:grayscale(1);text-decoration:line-through}
.gopher-takeaway{font-size:clamp(1.4rem,2.7vw,2.8rem);line-height:1.3;max-width:30ch;margin:clamp(40px,6vw,90px) 0 0;color:var(--yellow)}
.moment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,48px)}
.moment figure img{aspect-ratio:16/9;object-fit:contain;background:#24351d}
.moment-number{margin-top:2rem}
.moment h3{margin-top:.5rem}
.more-link{display:inline-flex;align-items:center;gap:1rem;color:var(--yellow);margin-top:clamp(30px,5vw,65px);font-size:1.05rem}
.reflection{padding-block:clamp(60px,8vw,115px);background:#e6df6c;color:var(--ink)}
.reflection h2{max-width:15ch}
.reflection-layout>div:last-child p+p{margin-top:2rem}
.next-question{border-top:1px solid #11110f55;padding-top:1rem}
.next-question strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.07em}
.critique .label span,.reflection .label span{color:var(--ink)}
@media(max-width:800px){.origin-layout,.critique-layout,.reflection-layout,.moment-grid{grid-template-columns:1fr}.compare-card header{min-height:0}.comparison{gap:24px}.origin-art{max-width:680px}.critique-layout,.reflection-layout{gap:20px}.feedback-strip{grid-template-columns:1fr}.feedback-strip strong{margin-top:.5rem}.gopher .case-heading h2{font-size:clamp(3rem,10vw,5rem)}}
@media(max-width:520px){.story-step{grid-template-columns:2.2rem 1fr;gap:.6rem}.v1-diagram>.diagram-grid{padding-inline:15%}.diagram-route{font-size:.65rem}.compare-card{padding:16px}.gopher-takeaway{font-size:1.65rem}}

/* CarrotDash follows the portfolio case-study type and reading surfaces. */
:root{
  --display:Anton,Impact,"Arial Narrow",sans-serif;
  --body:"Google Sans",Arial,sans-serif;
  --paper:#fafaf8;
  --paper-deep:#ecece8;
  --line-soft:rgba(17,17,17,.12);
  --reading-muted:#5d5d5a;
}
.wrap{width:min(1240px,calc(100% - 44px))}
.mast,footer{border-color:rgba(242,232,92,.25)}
.hero{display:block;padding:clamp(76px,9vw,136px) 0 48px}
.intro{container-type:normal}
.intro .label{color:var(--muted);font-size:.8125rem;font-weight:400;letter-spacing:.025em}
.intro h1{max-width:none;margin:16px 0 30px;color:var(--yellow);font:400 clamp(3.4rem,11vw,10rem)/1 var(--display);letter-spacing:-.015em;overflow-wrap:anywhere}
.intro .deck{max-width:34ch;font-size:clamp(1.5rem,3vw,2.5rem);line-height:1.2}
.intro-copy>p:last-child{max-width:65ch;margin:20px 0 48px;color:#d2d2c8;font-size:1.125rem;line-height:1.65}
.playable{max-width:1120px}
.game-stage{background:#181815}
.game-caption{min-height:54px}
.game-controls{padding-top:18px}
.contents-toggle{min-width:64px;min-height:44px;padding:8px 10px;background:var(--ink);color:var(--yellow);font-size:.72rem}
.contents-toggle:hover{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}
.facts{gap:clamp(36px,6vw,96px);padding:clamp(44px,6vw,76px) 0 clamp(56px,7vw,88px);border-block:0}
.facts dt{font-size:.8125rem;color:#aaa99c}
.facts dd{margin-top:22px;color:#d2d2c8;font-size:1.125rem;line-height:1.65;letter-spacing:0;max-width:65ch}
.fact-role strong{font-size:1.5rem;line-height:1.25;color:var(--yellow);letter-spacing:0}
.fact-role span{margin-top:14px}
.chapter,.critique{--line:var(--line-soft);color:var(--ink);background:var(--paper)}
.chapter{position:relative;isolation:isolate;padding:clamp(64px,8vw,108px) 0;border:0}
.chapter::before{content:"";position:absolute;z-index:-1;inset-block:0;left:50%;width:100vw;transform:translateX(-50%);background:inherit;pointer-events:none}
.chapter.origin,.chapter.gopher{background:var(--paper)}
.chapter.extension,.critique{background:var(--paper-deep)}
.chapter .label,.critique .label{color:var(--reading-muted);font-size:.8125rem;font-weight:400;letter-spacing:.025em}
.chapter .label span,.critique .label span{color:var(--reading-muted)}
.chapter h2,.critique h2{max-width:22ch;margin:14px 0 22px;color:var(--ink);font:400 clamp(2.25rem,5vw,4.85rem)/1.1 var(--display);letter-spacing:-.015em;text-transform:uppercase;overflow-wrap:anywhere}
.chapter-heading,.case-heading{max-width:1000px;margin-bottom:clamp(36px,5vw,68px)}
.chapter-heading .lead,.case-heading .lead{max-width:68ch;color:var(--ink);font-size:1.125rem;line-height:1.65}
.origin-layout{display:block}
.origin-story{max-width:960px}
.origin-story,.story-step{border-color:var(--line-soft)}
.story-step{grid-template-columns:40px minmax(0,1fr);gap:20px;padding:25px 0}
.step-number,.moment-number{color:var(--reading-muted)}
.story-step h3,.moment h3{color:var(--ink);font-size:clamp(1.25rem,2vw,1.75rem)}
.story-step p,.moment>p:last-child{max-width:65ch;color:var(--reading-muted);font-size:1rem;line-height:1.65}
.origin-art{max-width:560px}
.origin-art figcaption,.moment figcaption,.capture figcaption,.v1-diagram figcaption{color:var(--reading-muted);border-color:var(--line-soft)}
.critique{padding:clamp(72px,8vw,112px) 0}
.critique-layout{display:block}
.critique h2{max-width:22ch;margin-bottom:28px}
.critique-layout>div:last-child{max-width:68ch;color:var(--ink);font-size:1.125rem;line-height:1.7}
.gopher .case-heading h2{max-width:17ch;font-size:clamp(2.6rem,5.5vw,5.2rem)}
.comparison{display:block;margin-top:20px}
.compare-card{display:grid;grid-template-columns:minmax(150px,.5fr) minmax(0,1.15fr) minmax(210px,.72fr);gap:clamp(22px,3vw,44px);align-items:start;padding:clamp(26px,4vw,50px) 0;background:transparent;border-top:1px solid var(--line-soft)}
.compare-card:last-child{border-bottom:1px solid var(--line-soft)}
.compare-card header{min-height:0}
.compare-version{color:var(--reading-muted);font-size:.8125rem}
.compare-version span{display:block;margin:8px 0 0;color:var(--reading-muted)}
.compare-card h3{margin:20px 0 0;color:var(--ink);font-size:clamp(1.5rem,2.3vw,2.25rem)}
.compare-card>p{margin:0;color:var(--reading-muted);font-size:1rem;line-height:1.7}
.compare-card figure{min-width:0}
.compare-card .capture img{object-fit:contain;background:#263b1b}
.v1-diagram>.diagram-grid{padding-inline:24%}
.diagram-route{color:var(--reading-muted)}
.feedback-strip{gap:0;margin-top:clamp(42px,6vw,80px);background:transparent;border-color:var(--line-soft)}
.feedback-strip>div{background:var(--paper);border-right:1px solid var(--line-soft)}
.feedback-strip>div:last-child{border-right:0}
.feedback-strip span,.signal-visual{color:var(--ink)}
.feedback-strip strong{color:var(--ink)}
.feedback-strip p{color:var(--reading-muted);line-height:1.6}
.signal-visual kbd{color:var(--ink);border-color:var(--ink)}
.gopher-takeaway{max-width:36ch;color:var(--ink);font-size:clamp(1.7rem,3vw,2.7rem)}
.moment-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(28px,4vw,60px)}
.moment figure img{background:#d7dfce}
.moment-number{margin-top:18px}
.more-link{margin-top:clamp(36px,5vw,64px);padding:18px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);color:var(--ink);font-weight:700;text-decoration:none}
.more-link:hover{text-decoration:underline}
.reflection{background:var(--ink);color:#f1f0e8;padding:clamp(80px,9vw,128px) 0}
.reflection .label,.reflection .label span{color:#aaa99c}
.reflection h2{max-width:18ch;color:var(--yellow);font-size:clamp(2.4rem,5vw,4.85rem)}
.reflection-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start}
.reflection-layout>div:last-child{font-size:1.125rem;line-height:1.7}
.next-question{border-color:rgba(242,232,92,.25)}
.team-credit{margin-top:clamp(64px,8vw,112px);padding-top:24px;border-top:1px solid rgba(242,232,92,.25);color:#aaa99c;font-size:.875rem;line-height:1.65}
.team-credit h3{margin:0 0 18px;color:#f1f0e8;font-size:.8125rem;font-weight:550;letter-spacing:.04em}
.team-credit ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,56px);margin:0;padding-left:1.2rem}
.team-credit li strong{color:#f1f0e8;font-weight:600}
@media(max-width:699px){.team-credit ul{grid-template-columns:1fr;gap:14px}}
footer{border-top:1px solid rgba(242,232,92,.25)}
@media(max-width:900px){
  .compare-card{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
  .compare-card header{grid-column:1/-1}
  .origin-layout{grid-template-columns:1fr}
}
@media(max-width:699px){
  .hero{padding:64px 0 34px}
  .intro h1{font-size:clamp(2.85rem,10.6vw,5rem);margin-bottom:22px}
  .intro .deck{font-size:clamp(1.4rem,5vw,1.9rem)}
  .intro-copy>p:last-child{margin-bottom:34px;font-size:1rem}
  .facts{gap:32px;padding:44px 0 64px}
  .facts dd{margin-top:12px;font-size:1rem}
  .chapter{padding-block:56px}
  .chapter h2,.critique h2{font-size:clamp(2rem,8vw,3rem)}
  .chapter-heading .lead,.case-heading .lead,.critique-layout>div:last-child{font-size:1rem}
  .critique{padding-block:60px}
  .gopher .case-heading h2{font-size:clamp(2.25rem,8vw,3.4rem)}
  .compare-card{grid-template-columns:1fr;gap:16px}
  .compare-card header{grid-column:auto}
  .compare-card h3{margin-top:8px}
  .compare-card>p{margin-top:0}
  .feedback-strip{grid-template-columns:1fr}
  .feedback-strip>div{border-right:0;border-bottom:1px solid var(--line-soft)}
  .feedback-strip>div:last-child{border-bottom:0}
  .moment-grid{grid-template-columns:1fr;gap:42px}
  .reflection{padding-block:64px}
  .reflection-layout{grid-template-columns:1fr;gap:24px}
  .reflection-layout>div:last-child{font-size:1rem}
}
@media(min-width:900px){
  .hero{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);column-gap:clamp(40px,6vw,96px);row-gap:0;align-items:start}
  .intro{display:contents}
  .intro .label,.intro h1{grid-column:1/-1}
  .intro-copy{grid-column:1;grid-row:3;min-width:0}
  .intro-copy>p:last-child{margin-bottom:0}
  .playable{grid-column:2;grid-row:3}
}

/* Read the earlier interaction, then the iteration; media frames share one size. */
.comparison{max-width:980px}
.compare-card{grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:clamp(20px,4vw,52px);align-items:center;padding:24px 0}
.compare-copy{min-width:0}
.compare-copy .compare-version{margin:0;color:var(--reading-muted);font-size:.8125rem;line-height:1.3;letter-spacing:.04em;text-transform:uppercase}
.compare-card .compare-copy h3{margin:10px 0 0;font-size:clamp(1.4rem,2vw,1.8rem);font-weight:550;line-height:1.25}
.compare-copy>p:last-child{max-width:56ch;margin:10px 0 0;color:var(--reading-muted);font-size:1rem;line-height:1.6}
.compare-card figure{width:100%;max-width:300px;justify-self:end}
.compare-card .v1-diagram>.diagram-grid{padding:7% 14%}
.compare-card .capture video{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:contain;
  background:#263b1b;
}
.gopher .case-heading{margin-bottom:28px}
.iteration-bridge{max-width:980px;margin:clamp(32px,5vw,56px) 0 16px;color:var(--ink);font-size:1.125rem;line-height:1.5}
.capture figcaption{justify-content:flex-end;min-height:0;padding:8px 0 0;border:0}
.capture button{
  flex:none;
  padding:2px 0;
  border:0;
  border-bottom:1px solid currentColor;
  background:transparent;
  color:var(--ink);
  line-height:1.5;
}
.capture button:hover{border-color:transparent}
.feedback-strip{max-width:980px;margin-top:24px;border:0;border-top:1px solid var(--line-soft)}
.feedback-strip>div{padding:18px 20px;background:transparent}
.feedback-strip>div:first-child{padding-left:0}
.feedback-strip>div:last-child{padding-right:0}
.feedback-strip .signal-visual{min-height:2.8rem;gap:.4rem;margin-top:.35rem}
.feedback-strip .signal-visual img{width:2.2rem;height:2.2rem}
.feedback-strip strong{font-size:1rem;font-weight:550;line-height:1.35}
.feedback-strip p{font-size:.875rem}
.moment-grid{display:block;max-width:980px}
.moment{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:clamp(20px,4vw,52px);align-items:center;padding:24px 0;border-top:1px solid var(--line-soft)}
.moment:last-child{border-bottom:1px solid var(--line-soft)}
.moment-copy{min-width:0}
.moment-copy .moment-number{margin:0;color:var(--reading-muted);font-size:.8125rem;line-height:1.3}
.moment-copy h3{margin:10px 0 0}
.moment-copy>p:last-child{max-width:56ch;margin:10px 0 0;color:var(--reading-muted);font-size:1rem;line-height:1.6}
.moment figure{width:100%;max-width:300px;justify-self:end}
.moment figure img{width:100%;aspect-ratio:16/9;object-fit:contain}
.extension .chapter-heading .lead span{display:block}
.extension .chapter-heading .lead span+span{margin-top:.7em}
.more-link{
  gap:.35rem;
  margin-top:clamp(32px,5vw,60px);
  padding:0;
  border:0;
  color:var(--ink);
  font-size:1rem;
  font-weight:400;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.25em;
}
.more-link:hover{text-decoration-thickness:2px}
.mast a:focus-visible,footer a:focus-visible,.contents a:focus-visible,
.contents-toggle:focus-visible,.capture button:focus-visible,.more-link:focus-visible,
.game-start button:focus-visible,.game-caption button:focus-visible{
  outline:3px solid var(--yellow);
  outline-offset:4px;
}
.chapter .more-link:focus-visible,.capture button:focus-visible{
  outline-color:var(--ink);
}
@media(max-width:900px){
  .origin-layout{grid-template-columns:1fr}
}
@media(max-width:699px){
  .compare-card{grid-template-columns:1fr;gap:16px;padding:24px 0}
  .compare-card figure{max-width:min(100%,320px);justify-self:start}
  .moment{grid-template-columns:1fr;gap:16px}
  .moment figure{max-width:min(100%,320px);justify-self:start}
  .feedback-strip>div{padding:22px 0;border-right:0;border-bottom:1px solid var(--line-soft)}
}
@media(prefers-reduced-motion:reduce){
  .contents-toggle,.capture button,.more-link{scroll-behavior:auto;transition:none;animation:none}
}

/* Five-part case-study flow: play, motivation, making, iteration, outcome. */
.cast-showcase{margin-top:clamp(28px,4vw,48px)}
.origin-content{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:end;gap:clamp(24px,3vw,48px)}
.origin-narrative{min-width:0;align-self:end;padding-bottom:18px}
.origin-narrative p{margin:0;color:var(--ink);font-size:1.125rem;line-height:1.65}
.origin-narrative p+p{margin-top:.8em}
.origin-content .cast-showcase{position:relative;min-width:0;margin-top:0;align-self:end}
.origin-content .cast-slide{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:clamp(12px,1.6vw,20px);min-height:clamp(320px,35vw,410px);padding:18px 20px 50px;text-align:center}
.origin-content .cast-slide img{width:min(100%,190px)}
.origin-content .cast-slide>div{width:100%}
.origin-content .cast-slide p{margin-inline:auto}
.cast-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none}
.cast-track::-webkit-scrollbar{display:none}
.cast-track:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.cast-progress{position:absolute;right:0;bottom:6px;left:0;display:flex;justify-content:center;align-items:center;gap:9px;min-height:24px;margin-top:0;pointer-events:none}
.cast-progress span{width:7px;height:7px;border-radius:50%;background:#c7c9c0;transition:width .2s ease,background-color .2s ease}
.cast-progress .is-active{width:18px;border-radius:999px;background:var(--ink)}
.cast-slide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5vw,72px);min-width:0;min-height:clamp(330px,44vh,460px);padding:32px clamp(16px,4vw,56px);scroll-snap-align:start;text-align:left}
.cast-slide figure{display:grid;place-items:center;min-width:0}
.cast-slide img{width:min(100%,220px);height:auto;aspect-ratio:1;object-fit:contain}
.cast-slide>div{min-width:0}
.cast-slide h3{color:var(--ink);font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2;font-weight:550}
.cast-slide p{max-width:48ch;margin:10px 0 0;color:#26291e;font-size:1rem;line-height:1.65}
.cast-slide .cast-type{margin:0 0 10px;color:var(--reading-muted);font-size:.8125rem;line-height:1.3;font-weight:600;letter-spacing:.07em;text-transform:uppercase}
.ownership-block>h3,.iteration-heading h3{color:var(--ink);font-size:1.25rem;line-height:1.3;font-weight:550}
.ownership-block{max-width:1000px;margin-top:clamp(40px,6vw,72px)}
.ownership-intro{max-width:70ch;margin:18px 0 0;color:var(--ink);font-size:1.125rem;line-height:1.65}
.ownership-list{display:grid;grid-template-columns:1fr;gap:12px;max-width:70ch;margin:18px 0 0;padding-left:1.15rem;color:var(--reading-muted);line-height:1.65}
.ownership-block .team-credit{margin-top:38px;padding-top:0;border-top:0;color:var(--reading-muted)}
.ownership-block .team-credit h3,.ownership-block .team-credit li strong{color:var(--ink)}
.ownership-block .team-credit.is-visible h3{animation:credit-enter .45s ease-out both}
.ownership-block .team-credit.is-visible li{animation:credit-enter .45s ease-out both}
.ownership-block .team-credit.is-visible li:nth-child(2){animation-delay:.1s}
@keyframes credit-enter{from{opacity:.65;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.iteration-heading{margin:clamp(44px,6vw,72px) 0 20px}
.iteration-heading h3{font-size:clamp(1.35rem,2.2vw,1.75rem)}
.iteration-heading .lead{margin-top:12px;font-size:1rem;line-height:1.65}
@media(max-width:699px){
  .origin-content{grid-template-columns:1fr;gap:20px}
  .origin-narrative{max-width:68ch;padding-bottom:0}
  .origin-content .cast-slide{min-height:300px;padding:18px 8px 48px}
  .origin-content .cast-slide img{width:min(100%,150px)}
  .cast-slide{grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);gap:16px;min-height:320px;padding:24px 8px}
  .cast-slide img{width:min(100%,150px)}
  .cast-slide h3{font-size:clamp(1.3rem,5vw,1.7rem)}
  .cast-slide p{font-size:.9375rem;line-height:1.5}
  .cast-slide .cast-type{font-size:.75rem}
}
@media(prefers-reduced-motion:reduce){.ownership-block .team-credit.is-visible h3,.ownership-block .team-credit.is-visible li{animation:none}}
@media(prefers-reduced-motion:reduce){.cast-progress span{transition:none}}

/* Keep the project introduction and playable game as separate reading sections. */
.hero{
  display:block;
  padding:clamp(64px,8vw,112px) 0 clamp(32px,5vw,60px);
}
.hero .intro{display:block;min-width:0;margin-bottom:clamp(34px,5vw,64px)}
.hero .intro .label{color:var(--muted);font-size:.8125rem;line-height:1.4;text-transform:none}
.hero .intro h1{
  margin:14px 0 0;
  font-size:clamp(3.6rem,7vw,7rem);
  line-height:.95;
  overflow-wrap:normal;
}
.play-section{position:relative;overflow:hidden;padding:clamp(56px,7vw,96px) 0 clamp(64px,8vw,104px);scroll-margin-top:20px;color:var(--ink);background:var(--paper)}
.play-section .playable{width:min(1120px,calc(100% - 44px));margin-inline:auto}
#origin{border-top:0}
#feedback{border-top:0}
.play-section .game-stage{width:100%;background:#181815}
.keyboard-panel {
  display: grid;
  width: min(100%, 760px);
  margin: clamp(28px, 4vw, 44px) auto 20px;
  gap: 12px;
}
.keyboard-panel .more-link { justify-self: end; text-align: right; margin: 0; }
/* Each control is a separate key well, sculpted keycap, and recessed top. */
.laptop-keyboard{
  --key-gap:clamp(3px,.65vw,5px);
  --key-depth:clamp(7px,1.25vw,12px);
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:var(--key-gap);
  width:100%;
  aspect-ratio:2.95;
  padding:var(--key-gap);
  border:1px solid #57534f;
  border-radius:8px;
  background:linear-gradient(135deg,#3b3835,#272522 65%,#34312d);
  box-shadow:inset 0 1px 1px #a29b92,0 2px 0 #77716a,0 13px 22px rgba(32,28,26,.22),0 23px 35px rgba(32,28,26,.09);
}
.laptop-keyboard .key-escape{grid-column:1;grid-row:1}
.laptop-keyboard .key-up{grid-column:2;grid-row:1}
.laptop-keyboard .key-guide{grid-column:3;grid-row:1}
.laptop-keyboard .key-one{grid-column:4;grid-row:1}
.laptop-keyboard .key-two{grid-column:5;grid-row:1}
.laptop-keyboard .key-three{grid-column:6;grid-row:1}
.laptop-keyboard .key-left{grid-column:1;grid-row:2}
.laptop-keyboard .key-down{grid-column:2;grid-row:2}
.laptop-keyboard .key-right{grid-column:3;grid-row:2}
.laptop-keyboard .key-space{grid-column:4/7;grid-row:2}
.laptop-keyboard button{
  --cap-top:#f5f2eb;
  --cap-highlight:#fffefa;
  --cap-shadow:#c3bdb4;
  --cap-wall:#b2aba2;
  --cap-wall-dark:#726c65;
  --cap-ink:#282522;
  display:block;
  position:relative;
  min-width:0;
  min-height:0;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:8px;
  background:#24221f;
  box-shadow:inset 0 4px 7px rgba(0,0,0,.78),inset 0 0 0 1px rgba(8,7,6,.85),0 1px 0 rgba(255,255,255,.11);
  cursor:pointer;
  touch-action:none;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  -webkit-user-select:none;
}
.laptop-keyboard .keycap{
  display:block;
  position:absolute;
  inset:1px 1px calc(var(--key-depth) + 1px);
  border:1px solid color-mix(in srgb,var(--cap-wall) 70%,white);
  border-radius:9px 9px 10px 10px;
  background:linear-gradient(105deg,rgba(255,255,255,.34),transparent 27%,rgba(0,0,0,.09) 86%),linear-gradient(180deg,var(--cap-highlight) 0%,var(--cap-wall) 45%,var(--cap-wall-dark) 100%);
  box-shadow:inset 2px 1px 2px rgba(255,255,255,.78),inset -3px -2px 4px rgba(0,0,0,.19),0 4px 0 var(--cap-wall-dark),0 9px 6px rgba(0,0,0,.58),0 13px 12px rgba(0,0,0,.36);
  transform:perspective(420px) rotateX(3deg);
  transform-origin:50% 100%;
  transition:transform 115ms cubic-bezier(.2,.8,.3,1.3),box-shadow 115ms ease;
  pointer-events:none;
}
.laptop-keyboard .keycap-top{
  display:grid;
  place-items:center;
  position:absolute;
  inset:3px 4px calc(var(--key-depth) * .58) 4px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.62);
  border-radius:7px 7px 8px 8px;
  background:radial-gradient(ellipse at 51% 58%,rgba(0,0,0,.085),transparent 72%),linear-gradient(142deg,var(--cap-highlight) 0%,var(--cap-top) 48%,var(--cap-shadow) 100%);
  box-shadow:inset 2px 2px 4px rgba(255,255,255,.88),inset -3px -4px 7px rgba(44,37,31,.18),0 1px 1px rgba(28,23,19,.25);
}
.laptop-keyboard .keycap-top::after{
  content:"";
  position:absolute;
  inset:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") center/64px 64px;
  mix-blend-mode:multiply;
  opacity:.055;
  pointer-events:none;
}
.laptop-keyboard .key-legend{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:.08em;
  color:var(--cap-ink);
  font-size:clamp(.95rem,2vw,1.25rem);
  font-weight:720;
  letter-spacing:-.025em;
  line-height:1;
  text-shadow:0 1px 0 rgba(255,255,255,.48);
  transform:translateY(-1px);
}
.laptop-keyboard .key-legend small{font-size:.8em;font-weight:650}
.laptop-keyboard .key-guide{--cap-top:#aab9a2;--cap-highlight:#c8d3c1;--cap-shadow:#84957c;--cap-wall:#73856e;--cap-wall-dark:#445941;--cap-ink:#1d2b1c}
.laptop-keyboard .key-space{--cap-top:#fb7041;--cap-highlight:#ffad78;--cap-shadow:#d84c2c;--cap-wall:#c84a2a;--cap-wall-dark:#80301f;--cap-ink:#2e160e}
.laptop-keyboard .key-space .key-legend{text-shadow:0 1px 0 rgba(255,210,170,.4)}
.laptop-keyboard button:is(:active,.is-pressed,.is-physical-pressed) .keycap{
  transform:translateY(calc(var(--key-depth) * .72)) perspective(420px) rotateX(3deg);
  box-shadow:inset 2px 1px 2px rgba(255,255,255,.65),inset -3px -2px 4px rgba(0,0,0,.22),0 1px 0 var(--cap-wall-dark),0 3px 3px rgba(0,0,0,.43),0 5px 6px rgba(0,0,0,.25);
}
.laptop-keyboard button:is(:active,.is-pressed,.is-physical-pressed) .keycap-top{box-shadow:inset 2px 3px 6px rgba(0,0,0,.14),inset -2px -2px 3px rgba(255,255,255,.56)}
.laptop-keyboard button:focus-visible{outline:3px solid #e26737;outline-offset:4px;z-index:2}
@media(max-width:599px){
  .keyboard-panel{width:min(100%,390px)}
  .laptop-keyboard{--key-gap:3px;--key-depth:7px;aspect-ratio:2.92}
  .laptop-keyboard button{border-radius:5px}
  .laptop-keyboard .keycap{border-radius:6px}
  .laptop-keyboard .keycap-top{inset:2px 2px calc(var(--key-depth) * .58);border-radius:4px}
  .laptop-keyboard .key-legend{font-size:clamp(.72rem,3vw,.88rem)}
  .laptop-keyboard .key-space .key-legend{font-size:clamp(.8rem,3.5vw,1rem)}
}
@media(prefers-reduced-motion:reduce){.laptop-keyboard .keycap{transition:none}}
/* WebGL draws the physical caps; the existing buttons remain the accessible hit targets. */
.laptop-keyboard.is-3d{position:relative;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;isolation:isolate}
.laptop-keyboard.is-3d canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.laptop-keyboard.is-3d button{z-index:1;border:0;border-radius:0;background:transparent;box-shadow:none}
.laptop-keyboard.is-3d .keycap{visibility:hidden}
.laptop-keyboard.is-3d button:focus-visible{outline:3px solid #e26737;outline-offset:-2px;border-radius:7px}
/* Section 04: three changes, one evidence frame per change. */
.gopher .case-heading{max-width:75ch;margin-bottom:clamp(32px,5vw,64px)}
.gopher .case-heading h2{max-width:none;font-size:clamp(2.6rem,5.5vw,5.2rem)}
.gopher .case-heading .lead{max-width:70ch}
.gopher .change-unit{padding:clamp(32px,5vw,60px) 0;border-top:1px solid var(--line-soft)}
.gopher .change-unit:first-of-type{padding-top:0;border-top:0}
.gopher .change-heading{max-width:70ch;margin-bottom:24px}
.gopher .change-number{color:var(--reading-muted);font-size:.8125rem;line-height:1.4;text-transform:uppercase;letter-spacing:.04em}
.gopher .change-heading h3{margin:10px 0;color:var(--ink);font-size:clamp(1.5rem,2.5vw,2.25rem);font-weight:600;line-height:1.2}
.gopher .change-heading>p:last-child{color:var(--ink);font-size:1.0625rem;line-height:1.6}
.gopher .change-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);gap:clamp(22px,4vw,56px);align-items:center}
.gopher .change-visual,.gopher .pace-visual{min-width:0}
.gopher .change-controls{display:flex;flex-wrap:wrap;gap:clamp(18px,3vw,32px);margin-bottom:12px;border-bottom:1px solid var(--line-soft)}
.gopher .change-controls button{min-height:44px;padding:6px 0 9px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--reading-muted);font-size:.9375rem;font-weight:500;line-height:1.25}
.gopher .change-controls button[aria-pressed="true"]{border-bottom-color:var(--ink);color:var(--ink);font-weight:650}
.gopher .change-controls button:hover{color:var(--ink)}
.gopher .change-controls button:focus-visible,.gopher .capture button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.gopher .change-stage figure{width:100%;min-width:0}
.gopher .change-stage figure>.diagram-grid,.gopher .change-stage figure>img,.gopher .change-stage video,.gopher .pace-frame>img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#dce5d4}
.gopher .change-stage .diagram-scene{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;overflow:hidden;background:#a3c767 url("game-assets/background.png") center/cover}
.gopher .change-stage .diagram-board{position:relative;width:max(110px,31%);max-width:240px;aspect-ratio:365/369}
.gopher .change-stage .diagram-board-art{display:block;width:100%;height:100%;object-fit:fill}
.gopher .change-stage .diagram-carrot,.gopher .change-stage .diagram-gopher{position:absolute;width:27%;height:29%;object-fit:contain}
.gopher .change-stage .diagram-carrot{left:4%;top:35%}
.gopher .v1-diagram .diagram-carrot{animation:carrot-blocked 3.2s ease-in-out infinite}
.gopher .change-stage .diagram-gopher{left:37%;top:36%}
.gopher .change-stage .diagram-blocked{position:absolute;left:33.4%;top:33.4%;width:33.2%;height:33.2%;border:2px dashed var(--yellow);font-size:0}
.gopher .v1-diagram .diagram-blocked{animation:blocked-cell 3.2s ease-in-out infinite}
@keyframes carrot-blocked{0%,12%,68%,100%{transform:translateX(0)}30%,42%{transform:translateX(52%)}50%{transform:translateX(43%)}58%{transform:translateX(-3%)}}
@keyframes blocked-cell{0%,28%,46%,100%{border-color:var(--yellow)}34%,40%{border-color:#fff}}
.gopher .change-stage .capture video{background:#a3c767}
.gopher .change-stage .capture{position:relative;border-radius:0}
.gopher .change-stage .capture video{border-radius:0}
.gopher .capture .clip-control{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:0;background:rgba(17,17,15,.76);color:#fff;font-size:1rem;line-height:1;cursor:pointer}
.gopher .capture .clip-control:hover{background:rgba(17,17,15,.92)}
.gopher .change-stage figcaption,.gopher .pace-visual figcaption{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:34px;padding:6px 0 0;border:0;color:var(--reading-muted);font-size:.8125rem;line-height:1.35}
.gopher .capture figcaption button{padding:2px 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:var(--ink);font-size:.8125rem}
.gopher .change-note{max-width:30ch;color:var(--reading-muted);font-size:1rem;line-height:1.6}
.gopher .gopher-evidence{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:clamp(12px,1.4vw,20px);align-items:start}
.gopher .gopher-evidence figure{min-width:0}
.gopher .gopher-evidence .diagram-scene,.gopher .gopher-evidence .gopher-later>video{display:grid;place-items:center;width:100%;aspect-ratio:16/9;overflow:hidden;background:#a3c767 url("game-assets/background.png") center/cover}
.gopher .gopher-evidence .diagram-board{position:relative;width:31%;max-width:240px;aspect-ratio:365/369}
.gopher .gopher-evidence .diagram-board-art{display:block;width:100%;height:100%;object-fit:fill}
.gopher .gopher-evidence .diagram-carrot,.gopher .gopher-evidence .diagram-gopher{position:absolute;width:27%;height:29%;object-fit:contain}
.gopher .gopher-evidence .diagram-carrot{left:4%;top:35%;animation:none}
.gopher .gopher-evidence.is-playing .diagram-carrot{animation:carrot-blocked 3.2s ease-in-out 1 both}
.gopher .gopher-evidence .diagram-gopher{left:37%;top:36%}
.gopher .gopher-evidence .diagram-blocked{position:absolute;left:33.4%;top:33.4%;width:33.2%;height:33.2%;border:2px dashed var(--yellow);font-size:0;animation:none}
.gopher .gopher-evidence.is-playing .diagram-blocked{animation:blocked-cell 3.2s ease-in-out 1 both}
.gopher .gopher-evidence .gopher-later>video{display:block;object-fit:contain}
.gopher .gopher-evidence figcaption{min-height:0;padding:12px 0 0;border:0;color:var(--ink);font-size:clamp(.875rem,1.35vw,1rem);line-height:1.5}
.gopher .gopher-evidence .gopher-shift-arrow{align-self:end;padding-bottom:2px;color:var(--ink);font-size:1.5rem;line-height:1;text-align:center}
@media(max-width:760px){.gopher .gopher-evidence{grid-template-columns:minmax(0,1fr);gap:20px}.gopher .gopher-evidence .gopher-shift-arrow{justify-self:center;transform:rotate(90deg)}}
.gopher .pace-frame{position:relative;overflow:hidden}
.gopher .pace-layout{display:block}
@media(max-width:760px){
  .gopher .change-layout{grid-template-columns:minmax(0,1fr);gap:16px}
  .gopher .change-note{max-width:65ch}
}
@media(prefers-reduced-motion:reduce){.gopher .gopher-evidence.is-playing .diagram-carrot,.gopher .gopher-evidence.is-playing .diagram-blocked{animation:none}}

/* CarrotDash-only adjustments after the shared case-study stylesheet. */
html[data-case-study="carrot-dash"] body #play{background:var(--ds-surface);border:0}
html[data-case-study="carrot-dash"] body #origin{padding-block:clamp(44px,5vw,72px);border-top:0}
html[data-case-study="carrot-dash"] body #origin .chapter-heading{margin-bottom:clamp(20px,2.5vw,32px)}
html[data-case-study="carrot-dash"] body #feedback .change-stage .capture{border-radius:0}
html[data-case-study="carrot-dash"] body #making{padding-bottom:clamp(28px,4vw,56px)}
html[data-case-study="carrot-dash"] body #feedback{padding-top:clamp(28px,4vw,56px);border-top:0}
.game-start{pointer-events:none}
.game-start>img{object-fit:cover}
.game-start:after{display:none}
.game-help{margin-top:12px;border-top:0;color:var(--ink)}
.game-help summary{width:fit-content;padding:12px 0;cursor:pointer;font-size:.875rem}
.game-help summary:hover{text-decoration:underline}
.game-help[open] summary{color:var(--ink)}
.game-help .game-controls{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:0;
  padding:4px 0 0;
  color:var(--ink);
  font-size:.8125rem;
  line-height:1.45;
}
.game-controls>div{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;
  min-width:0;
  min-height:92px;
  padding:12px;
  border:1px solid rgba(17,17,15,.28);
  background:rgba(255,255,255,.35);
}
.game-controls dt{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0;font-size:inherit}
.game-controls dd{min-width:0;color:var(--ink);font-size:inherit}
.game-controls .key-or{margin-inline:0;color:var(--ink);font-size:.6875rem}
.game-help .game-controls kbd{
  padding:1px 5px;
  border:1px solid rgba(17,17,15,.5);
  border-radius:2px;
  color:var(--ink);
  font-size:.75rem;
  line-height:1.45;
}
.game-help .game-device-note{margin:10px 0 0;padding:0 0 16px;color:var(--ink);font-size:.8125rem;line-height:1.5}
.game-status:not([data-error]){
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.game-help summary:focus-visible{
  outline:3px solid var(--ink);
  outline-offset:4px;
}
.facts{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:clamp(32px,6vw,90px);
  max-width:none;
  padding:0;
  margin-bottom:0;
}
.facts dd{margin-top:12px;font-size:1.0625rem;line-height:1.6}
.facts .fact-role strong{font-size:1.4rem}
.facts .fact-role span{margin-top:10px}
@media(max-width:899px){
  .hero{padding:54px 0 40px}
  .hero .intro h1{font-size:clamp(3.3rem,10vw,5.6rem);margin:12px 0 0}
}
@media(max-width:520px){
  .hero{padding-top:38px}
  .hero .intro h1{font-size:clamp(3rem,11vw,4rem)}
  .facts dd{font-size:1rem}
  .game-help .game-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:599px){
  .facts{grid-template-columns:1fr;gap:26px}
}
@media(min-width:700px){
  [data-case-study="carrot-dash"] .gopher .case-heading h2{max-width:none;white-space:nowrap;font-size:clamp(34px,4.7vw,58px)}
}
