/* A shared environment; each page keeps the composition needed by its content. */
body[data-world-mode]{--world-bg:#061218;--world-panel:#0d2229;--world-text:#e8f3ed;--world-muted:#a5bfc1;--world-accent:#b4eee0;--world-rule:#c4f0df26}
body[data-world-mode]:not([data-world-mode="stage"]){background:var(--world-bg);color:var(--world-text);color-scheme:dark;--paper:#e8f3ed;--paper-2:#c5dbd6;--ink:#061218;--muted:#a5bfc1;--gold:#b4eee0;--blue:#b4eee0;--quiet:#a5bfc1;--line:#c4f0df26;--wash:#0d2229;--amber:#b4eee0;--amber-2:#d8f4d6}
body[data-world-mode="reading"],body[data-world-mode="workshop"]{font:16px/1.7 Arial,Helvetica,sans-serif;background-image:radial-gradient(ellipse at 100% 0,#1c494455,transparent 42%),radial-gradient(ellipse at 0 70%,#14343d40,transparent 40%);background-attachment:fixed}
body[data-world-mode] :is(a,button,summary,input,textarea,select):focus-visible{outline:2px solid #b4eee0;outline-offset:5px}
body[data-world-mode="reading"] :is(h1,h2,h3,h4),body[data-world-mode="workshop"] :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em;color:var(--world-text)}
body[data-world-mode="reading"] h1{font-size:clamp(42px,5.5vw,76px);line-height:1.08;text-wrap:balance;max-width:19ch}
body[data-world-mode="reading"] h2{font-size:clamp(29px,3.3vw,43px);line-height:1.15}
body[data-world-mode="reading"] h3{font-size:25px;line-height:1.25}
body[data-world-mode="reading"] :is(a,em){color:var(--world-accent)}
body[data-world-mode="reading"] em{font-style:italic}
body[data-world-mode="reading"] :is(.eyebrow,.kicker,.for){font:600 10px/1.7 Arial,sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:var(--world-muted)}
body[data-world-mode="reading"] :is(.fine,.source-caption,.status,.section-note,.method,.hero-detail,.need-a,.pitch,.role-line,.intro){color:var(--world-muted)}
body[data-world-mode="reading"] :is(p,li){overflow-wrap:break-word}
body[data-world-mode="reading"] main{max-width:1240px;padding:40px 5vw 88px;margin:auto}
body[data-world-mode="reading"] :is(.identity,.e-hero,.hero){padding:32px 0 60px;border-bottom:1px solid var(--world-rule);margin-bottom:36px}
body[data-world-mode="reading"] .e-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);gap:7vw;align-items:center}
body[data-world-mode="reading"] :is(.lede,.intro,.pitch){font-size:clamp(18px,1.6vw,22px);line-height:1.65;max-width:58ch}
body[data-world-mode="reading"] :is(.chapter,.case){position:relative;border-color:var(--world-rule);padding:56px 0;scroll-margin-top:110px}
body[data-world-mode="reading"] .chapter{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:6vw}
body[data-world-mode="reading"] .chapter-label{align-self:start;position:sticky;top:112px}
body[data-world-mode="reading"] .chapter-label>span{font:11px/1.5 Arial,sans-serif;color:var(--world-accent);display:block;margin-bottom:14px}
body[data-world-mode="reading"] .chapter-content{max-width:68ch}
body[data-world-mode="reading"] .chapter-content :is(p,ul,ol){line-height:1.8}
body[data-world-mode="reading"] :is(.proof-cover,.case-facts,.sample,.artifact,.before-after>div,.test-lab,.invitation,.chapter-content aside){background:linear-gradient(140deg,#183a3c80,#0a1e27);color:var(--world-text);border:1px solid var(--world-rule);border-radius:3px;box-shadow:0 20px 70px #0002}
body[data-world-mode="reading"] .proof-cover{padding:24px;transform:rotate(1deg)}
body[data-world-mode="reading"] .proof-cover a{display:block;padding:20px 0;border-bottom:1px solid var(--world-rule)}
body[data-world-mode="reading"] .proof-cover a:last-child{border:0}
body[data-world-mode="reading"] .proof-cover strong{font:400 25px/1.2 Georgia,serif;color:var(--world-text)}
body[data-world-mode="reading"] .proof-cover small{color:var(--world-muted);line-height:1.6}
body[data-world-mode="reading"] :is(.primary,.document-actions a:first-child,.btn.main){background:#b4eee0;color:#061218;border:1px solid #b4eee0;border-radius:2px;box-shadow:none;min-height:46px;padding:12px 18px;font:600 13px/1.5 Arial,sans-serif}
body[data-world-mode="reading"] :is(.e-actions,.document-actions,.actions){display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px}
body[data-world-mode="reading"] :is(.e-actions,.document-actions,.actions)>a{min-height:44px;display:inline-flex;align-items:center}
body[data-world-mode="reading"] .case-index{gap:0 32px;margin:24px 0 52px;counter-reset:case}
body[data-world-mode="reading"] .case-index>a{background:transparent;border-bottom:1px solid var(--world-rule);padding:28px 0;color:var(--world-text);border-radius:0}
body[data-world-mode="reading"] .case-index>a:hover{background:#b4eee008}
body[data-world-mode="reading"] .case-index strong{font:400 30px/1.2 Georgia,serif}
body[data-world-mode="reading"] :is(.case-number,.case-read,.role,.organisation,.case-body h3){color:var(--world-accent)}
body[data-world-mode="reading"] .case-body h3{font:600 12px/1.6 Arial,sans-serif;letter-spacing:1px}
body[data-world-mode="reading"] :is(pre,code){color:#d1e9e2;background:#0b222b;border-color:var(--world-rule)}
body[data-world-mode="reading"] pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:24px}
body[data-world-mode="reading"] :is(button,input,textarea,select){background:#0b222b;color:#e8f3ed;border:1px solid #b4eee055;border-radius:2px;min-height:44px}
body[data-world-mode="reading"] .evidence-screen{background:#0c242b;color:var(--world-text);border:1px solid var(--world-rule);border-radius:3px;align-items:stretch}
body[data-world-mode="reading"] .evidence-screen figure{background:#061218}
body[data-world-mode="reading"] .evidence-screen figcaption{color:var(--world-muted)}
body[data-world-mode="reading"] .demo-controls{flex-wrap:wrap;gap:10px;position:relative;top:auto}
body[data-world-mode="reading"] .demo-controls button{color:var(--world-text);background:#0b222b;border-color:var(--world-rule);padding:10px 18px}
body[data-world-mode="reading"] .demo-controls #play{background:var(--world-accent);color:#061218}
body[data-world-mode="reading"] .demo-step blockquote{font:400 clamp(19px,2vw,27px)/1.55 Georgia,serif;color:#e8f3ed}
body[data-world-mode="reading"] :is(.answer,.need,.clip,.claim,.meet,.end){background:transparent;color:var(--world-text);border-color:var(--world-rule)}
body[data-world-mode="reading"] .answer{border-left:2px solid var(--world-accent);padding:24px 30px;background:#112b3260}
body[data-world-mode="reading"] .need{padding:28px 0;border-bottom:1px solid var(--world-rule)}
body[data-world-mode="reading"] .need-q{color:var(--world-text)}
body[data-world-mode="reading"] .level{color:var(--world-muted)}
body[data-world-mode="reading"] .clip{border:1px solid var(--world-rule)}
body[data-world-mode="reading"] .clip-play{background:radial-gradient(ellipse,#245151,#0a1c23);color:#d6f2e4}
body[data-world-mode="reading"].resume main{max-width:1000px}
body[data-world-mode="reading"].resume section{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:42px;padding-top:36px;margin-top:36px}
body[data-world-mode="reading"].resume section>h2{grid-column:1;grid-row:1/8;font-size:26px}
body[data-world-mode="reading"].resume section>*:not(h2){grid-column:2;min-width:0}
body[data-world-mode="reading"].resume .entry-heading{display:block}
body[data-world-mode="reading"].resume .entry-heading h3{font-size:23px}
body[data-world-mode="reading"].letter main{max-width:840px;padding-top:55px}
body[data-world-mode="reading"].letter main>h1{margin-bottom:48px}
body[data-world-mode="reading"].letter .why-move{position:relative;opacity:1;transform:none;padding-bottom:30px;border-bottom:1px solid var(--world-rule)}
body[data-world-mode="reading"].letter .why-move p{font:400 19px/1.85 Georgia,serif;color:#cadcd7}
body[data-world-mode="reading"].letter .why-mark{font:500 13px/1.6 Arial,sans-serif;letter-spacing:1px;color:var(--world-accent)}
.world-nav{position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px;padding:14px 5vw;background:#061218f5;backdrop-filter:blur(16px);border-bottom:1px solid #c4f0df26;font:12px/1.4 Arial,sans-serif;color:#e8f3ed}
body[data-world-mode] .world-name{color:#e8f3ed;text-decoration:none;font:600 15px/1.2 Arial,sans-serif;letter-spacing:-.2px;flex-shrink:0}
.world-name span{display:block;font-size:9px;font-weight:400;letter-spacing:.7px;color:#a5bfc1;margin-top:7px}
.world-nav nav{display:flex;align-items:center;gap:22px}
body[data-world-mode] .world-nav nav>a{color:#c6ded7;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.world-menu{position:relative}.world-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:20px;min-height:44px;color:#c6ded7}
.world-menu summary::-webkit-details-marker{display:none}.world-menu[open] summary{color:white}
.world-menu>div{position:absolute;right:0;top:100%;width:240px;padding:16px;background:#0b222b;border:1px solid #9fd5c64d;box-shadow:0 20px 70px #0008;display:grid}
body[data-world-mode] .world-menu a{font-size:13px;padding:11px 12px;min-height:44px;display:block;color:#d3ebe3;text-decoration:none}
.world-menu a:hover{background:#b4eee012}.world-nav .world-motion{font:11px Arial,sans-serif;padding:10px;background:none;border:1px solid #b4eee033;color:#a5bfc1;min-height:44px;cursor:pointer}
.world-location{position:relative;display:flex;gap:14px;max-width:1240px;margin:0 auto;padding:25px 5vw 5px;font:10px/1.6 Arial,sans-serif;letter-spacing:1px;color:#9ebcbb}
body[data-world-mode] .world-location a{color:#d2ebe3;text-decoration:none}.world-progress{position:fixed;z-index:81;top:0;left:0;right:0;height:2px;transform:scaleX(var(--read,0));transform-origin:left;background:#b4eee0;pointer-events:none}
.world-next{position:relative;max-width:1240px;margin:36px auto 0;padding:46px 5vw 60px;border-top:1px solid #b4eee026;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 30px;font:15px/1.5 Arial,sans-serif;color:#d4e9e0}
.world-next>p{grid-column:1/-1;font:10px/1.6 Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#8dacab;margin:0 0 14px}
body[data-world-mode] .world-next a{border-bottom:1px solid #b4eee033;color:#d4e9e0;padding:18px 0;text-decoration:none;display:flex;justify-content:space-between;gap:12px}
body[data-world-mode="story"]{--ink:#061218;--ink-2:#0d2229;--ink-3:#183c43;--paper:#e8f3ed;--paper-2:#c5dbd6;--serif:Georgia,serif;--sans:Arial,sans-serif}
body[data-world-mode="story"] .bar{background:#061218f5;color:#e8f3ed;border-color:#b4eee026;backdrop-filter:blur(16px)}
body[data-world-mode="story"] .bar :is(.name,nav>a,button){color:#c6ded7}
body[data-world-mode="story"] :is(.exploration-entry,.try-build,.fit-section){background:#061218;color:#e8f3ed}
body[data-world-mode="story"] :is(.try-build,#fit.fit-section){background:#0d2229!important;color:#e8f3ed;--paper:#e8f3ed;--muted:#a5bfc1;--amber:#b4eee0;--amber-2:#d8f4d6}
body[data-world-mode="story"] :is(.try-build,#fit) :is(h2,h3,em,summary,.f-status,.iv-answer-text){color:#e8f3ed}
body[data-world-mode="story"] :is(.try-build,#fit) :is(textarea,input,.fit-form,.f-proof,.fit-result){background:#061218;color:#e8f3ed;border-color:#9ecdbd40}
body[data-world-mode="story"] :is(.try-build,#fit) :is(.btn-main,.f-examples button,.iv-chips button,.fit-row button){background:#b4eee0;color:#061218}
body[data-world-mode="story"] :is(.storm-opening h1,.storm-opening h2,.closing-line){font-family:Georgia,serif;color:#e8f3ed}
body[data-world-mode="story"] :is(.story-screen,.ledger-stage,.workflow-dialog,.workflow-peek,#journey .chapter .workflow-peek.crystal-tile){background:#0d2229;border-color:#b4eee030;color:#e8f3ed}
body[data-world-mode="story"] :is(.story-copy,.web-head,.web-console){color:#c5dbd6}
body[data-world-mode="story"] #web :is(.web-head,.web-console,.web-card){background:#061218ed;color:#e8f3ed;border-color:#b4eee040}
body[data-world-mode="story"] .world-background{opacity:.3}
body.world-motion-off *,body.world-motion-off *::before,body.world-motion-off *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
/* Readability is part of the shared composition, including controls and evidence. */
body[data-world-mode="reading"],body[data-world-mode="workshop"]{font-size:18px;line-height:1.75}
body[data-world-mode="reading"] :is(.fine,.source-caption,.status,.section-note,.method,.role-line,.note,.case-body p,.case-body a,.sample li p,.sample>p,.need-a,.clip figcaption span){font-size:16px;line-height:1.7;color:#b8cdcc}
body[data-world-mode="reading"] :is(.eyebrow,.kicker,.for,.level,.case-number,.case-read,.case-body h3){font-size:14px;letter-spacing:.5px}
body[data-world-mode="reading"] :is(.document-actions,.e-actions,.actions,.contact){font-size:16px}
body[data-world-mode="reading"] :is(.primary,.document-actions a:first-child,.btn.main,button,input,textarea,select){font-size:16px}
body[data-world-mode="reading"] .proof-cover small{font-size:16px}
.world-nav{font-size:16px}.world-nav .world-name{font-size:18px}.world-name span{font-size:13px}.world-nav .world-motion,.world-menu a{font-size:15px}
.world-location,.world-next>p{font-size:14px;letter-spacing:.3px}.world-next a{font-size:17px}
body.stage-world .mast-actions{font-size:16px;gap:18px}body.stage-world .identity b{font-size:16px}body.stage-world .identity span{font-size:14px}
body.stage-world :is(#motion,#stage-sound){font-size:15px}body.stage-world .scene-tabs button,body.stage-world .galaxy-nav,body.stage-world .tools-link{font-size:15px}
body.stage-world #scene-start .kicker,body.stage-world .kicker{font-size:14px;letter-spacing:.5px;line-height:1.6}
body.stage-world #scene-start h1{font-size:clamp(40px,4.6vw,66px)}
body.stage-world #scene-start .lede,body.stage-world .scene-copy .lede{font-size:19px;line-height:1.65;color:#c4d8d6}
body.stage-world #scene-start .credit,body.stage-world .scene-copy .credit{font-size:16px;line-height:1.7;letter-spacing:0;color:#b7cecf}
body.stage-world .scene :is(.quiet-link,.advance),body.stage-world #scene-start .advance,body.stage-world .opening-evidence,body.stage-world .world-status,body.stage-world .world-invitation{font-size:16px;letter-spacing:0}
body.stage-world .opening-interaction{padding-bottom:0}
body.stage-world :is(.paper-heading,.old-label span,.set-caption,.paper-fine,.receipt span,.purpose-film figcaption,.review-photo figcaption,.small-label){font-size:14px;line-height:1.6;letter-spacing:.2px}
body.stage-world .editor :is(label,input,.editor-actions,.editor-actions button,.edit-suggestion,.receipt output){font-size:17px;line-height:1.6}
body.stage-world .editor-actions{flex-wrap:wrap}
body.stage-world .draft-sheet :is(p,button,.marked-claim,.removed,.revised){font-size:17px;line-height:1.6}
body.stage-world :is(.career-object>p:last-of-type,.career-choices button,.transcript-button){font-size:17px;line-height:1.6}
body.stage-world #web :is(.web-lede,.galaxy-bridge,.galaxy-key,.web-note,.web-console button,.web-index summary,.web-ask input,.human-stars button,.human-stars .crystal-tile,.web-card p,.web-card a,.web-card-type){font-size:16px!important;line-height:1.6;letter-spacing:0;color:#c4d8d6}
body.stage-world #web .web-head .section-listen{font-size:16px!important}
.workshop-world :is(.ww-coordinate,.ww-small,.ww-stage-foot,.ww-bench-head h2,.ww-bench-head p,.f-note,.f-examples>span,.f-steps li,.f-receipt,.f-receipt small){font-size:16px;line-height:1.65;letter-spacing:0}
.workshop-world :is(button,.f-form label,.f-form textarea,.f-status,.ww-intro>p span){font-size:17px;line-height:1.6}
body[data-world-mode="story"] :is(.web-lede,.web-card p,.web-card a,.fineprint,.f-note,.fit-lede,.iv-lede,.bar nav a,.bar button){font-size:16px;line-height:1.6}
@media(max-width:600px){body[data-world-mode="reading"],body[data-world-mode="workshop"]{font-size:17px}.world-nav .world-name{font-size:16px}.world-nav nav{font-size:15px;gap:0 12px}.world-nav .world-motion{font-size:14px}.world-next a{font-size:16px}body.stage-world .mast-actions{font-size:14px;gap:4px 10px}body.stage-world .identity b{font-size:13px}body.stage-world :is(#stage-sound,#motion){font-size:13px}body.stage-world #scene-start .kicker{font-size:13px}body.stage-world #scene-start .lede,body.stage-world .scene-copy .lede{font-size:18px}body.stage-world #scene-start .credit,body.stage-world .scene-copy .credit{font-size:16px}body.stage-world .scene-tabs button,body.stage-world .galaxy-nav{font-size:13px}body.stage-world .scene-tabs button span{display:none}body.stage-world .opening-interaction{display:block}body.stage-world .world-status{margin-bottom:18px}body.stage-world #web .web-head{max-width:100%}body.stage-world .mast{height:auto;min-height:90px}}
@media(max-width:900px){body[data-world-mode="reading"] .e-hero{grid-template-columns:1fr;gap:28px}body[data-world-mode="reading"] .proof-cover{transform:none}body[data-world-mode="reading"] .chapter{grid-template-columns:1fr;gap:20px}body[data-world-mode="reading"] .chapter-label{position:static}body[data-world-mode="reading"] .chapter{padding:36px 0}.world-nav nav{gap:14px}.world-name span{display:none}}
@media(max-width:600px){.world-nav{padding:12px 5vw;gap:12px;min-height:92px;align-items:flex-start}.world-nav nav{justify-content:flex-end;gap:0 14px;flex-wrap:wrap;font-size:15px;max-width:260px}.world-nav .world-name{max-width:110px;font-size:16px;padding-top:12px}.world-nav .world-motion{font-size:14px}.world-menu>div{right:-60px;width:230px}.world-location{padding-top:20px}body[data-world-mode="reading"] main{padding-top:20px}body[data-world-mode="reading"] :is(.identity,.e-hero,.hero){padding:16px 0 32px;margin-bottom:24px}body[data-world-mode="reading"] h1{font-size:41px}body[data-world-mode="reading"].resume section{display:block;padding-top:26px;margin-top:26px}body[data-world-mode="reading"].resume section>h2{margin-bottom:24px}body[data-world-mode="reading"] :is(.chapter,.case){scroll-margin-top:130px}.world-next{grid-template-columns:1fr 1fr;gap:12px 24px;padding-top:32px}.world-next a{font-size:16px}body[data-world-mode="reading"].letter .why-move p{font-size:18px}}
@media print{body[data-world-mode]{background:white!important;color:#172323!important;color-scheme:light;--paper:white;--ink:#172323;--muted:#455451;--gold:#24483f;--line:#ccd3d0}.world-nav,.world-location,.world-next,.world-progress{display:none!important}body[data-world-mode="reading"] main{padding:0;max-width:none}body[data-world-mode="reading"] :is(h1,h2,h3,p,li,a,em,.role,.method,.organisation,.status,.intro,.section-note){color:#172323!important;text-shadow:none}body[data-world-mode="reading"] h1{font-size:28pt}body[data-world-mode="reading"] h2{font-size:15pt}body[data-world-mode="reading"] h3{font-size:12pt}body[data-world-mode="reading"].resume section{display:block;margin-top:14px;padding-top:14px}body[data-world-mode="reading"] :is(.identity,.e-hero,.hero){padding:0 0 14px;margin:0 0 14px}body[data-world-mode="reading"] :is(.proof-cover,.case-facts,.sample,.artifact,.before-after>div,.invitation){background:white!important;color:#172323!important;box-shadow:none;transform:none}body[data-world-mode="reading"] .chapter-label{position:static}body[data-world-mode="reading"] .chapter{display:block;padding:20px 0}}

/* Contact stays within the portfolio; external mail handling is optional. */
.contact-open{overflow:hidden}.contact-sheet{box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:clamp(24px,5vw,48px);border:1px solid #648b87;background:radial-gradient(ellipse at top right,#1b4448,#08191f 70%);color:#edf3ed;box-shadow:0 30px 100px #0009}.contact-sheet::backdrop{background:#020c12dc;backdrop-filter:blur(9px)}.contact-sheet form{display:flex;justify-content:flex-end}.contact-sheet :is(button,a){font:16px/1.5 Arial,sans-serif;color:#b5ebda}.contact-sheet button,.contact-page button{border:1px solid #719b90;background:#153a39;color:#d8f9ea;padding:10px 16px;min-height:44px;cursor:pointer}.contact-sheet .contact-close{background:transparent;border:0;padding:4px 0 12px}.contact-sheet h2,.contact-page h1{font:normal clamp(42px,7vw,68px)/1.1 Georgia,serif;margin:16px 0 24px}.contact-sheet p,.contact-page p{font:18px/1.65 Arial,sans-serif}.contact-sheet .contact-eyebrow,.contact-page .contact-eyebrow{font-size:14px;letter-spacing:.5px;color:#b1d4cc}.contact-sheet .contact-address,.contact-page .contact-address{font-size:clamp(20px,4vw,28px);color:#fff;user-select:text;overflow-wrap:anywhere;border-block:1px solid #52736e;padding:20px 0}.contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}.contact-actions a{padding-block:10px;text-underline-offset:5px}.contact-sheet .contact-status,.contact-sheet .contact-note{font-size:16px;color:#bfcecf}.contact-sheet :focus-visible{outline:2px solid #cdf4bd;outline-offset:4px}.contact-page main{max-width:760px!important}.contact-page .contact-note{margin-top:36px}@media print{.contact-sheet{display:none!important}}
body[data-world-mode]{font-family:'Segoe UI',Arial,sans-serif}
body[data-world-mode="reading"] :is(h1,h2,h3,h4),body[data-world-mode="workshop"] :is(h1,h2,h3){font-family:'Segoe UI',Arial,sans-serif;font-weight:600;letter-spacing:-.035em}
body[data-world-mode="reading"] :is(p,li),body[data-world-mode="workshop"] :is(p,li){font-family:'Segoe UI',Arial,sans-serif}
