@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#102d49;--ink:#f4f4eb;--muted:#b1c2cf;--line:#ffffff24;--lime:#d4e693;--soft:#193b56}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:5px}button{cursor:pointer}.header{margin:auto;padding:28px 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}.identity{display:flex;align-items:center;gap:17px;font-weight:600}.identity small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:6px}.monogram{font:38px Georgia,serif;letter-spacing:-4px}.monogram span{font:23px sans-serif;color:var(--lime);padding-left:6px}.header nav{display:flex;gap:30px;align-items:center;font-size:12px;color:var(--muted)}.header nav a{padding:9px 0}.header nav a.active{color:var(--ink);border-bottom:1px solid var(--lime)}.header nav span{font-size:9px;margin-left:3px}.header nav b{color:var(--lime);margin-left:12px}.layout{margin:auto;display:grid;grid-template-columns:238px minmax(0,1fr)}.rail{padding:32px 22px 30px 44px;border-right:1px solid var(--line)}.rail-top{display:flex;justify-content:space-between;margin-bottom:25px;align-items:center}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600}.rail-all{font-size:10px;color:var(--muted)}#weeknav{display:grid;gap:2px}.weeklink{display:flex;align-items:center;gap:12px;padding:10px 8px;border-left:2px solid transparent;border-radius:0 4px 4px 0}.weeklink:hover{background:#ffffff09}.weeklink.active{border-color:var(--lime);background:#ffffff0b}.weeklink .num{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.weeklink .label{font-size:11px;line-height:1.35}.weeklink .dot{margin-left:auto;width:4px;height:4px;border-radius:50%;background:var(--lime);flex-shrink:0}.weeklink.pending{color:#8aa1b4}.rail-foot{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:11px}.rail-foot small{display:block;color:var(--muted);font-size:10px;margin-top:8px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--lime);border-radius:50%;margin-right:7px}main{min-width:0;padding:44px 48px 60px}.kicker{display:flex;align-items:center;gap:10px;color:var(--lime);font-size:10px;letter-spacing:2px;text-transform:uppercase;margin:0 0 26px}.kicker:before{content:'';width:24px;height:1px;background:var(--lime)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif}h1{font-weight:500;font-size:clamp(44px,5.3vw,82px);letter-spacing:-4px;line-height:1.08;margin-bottom:24px}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--lime)}.intro-line{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:35px}.intro-line p{font-size:14px;line-height:1.85;color:var(--muted);max-width:440px;margin:0}.text-link{font-size:12px;padding-bottom:9px;border-bottom:1px solid var(--line);white-space:nowrap;display:inline-flex;gap:30px;align-items:center}.text-link span{color:var(--lime)}.hero-project{display:grid;grid-template-columns:1.1fr 1fr;background:#e7e9df;color:#15334a;min-height:330px;position:relative;overflow:hidden}.project-art{background:#e0e3d7;position:relative;display:flex;align-items:center;justify-content:center;min-height:330px;overflow:hidden}.project-art:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#15334a09 1px,transparent 1px),linear-gradient(90deg,#15334a09 1px,transparent 1px);background-size:24px 24px}.project-art img{width:95%;height:300px;object-fit:contain;position:relative;mix-blend-mode:multiply}.art-caption{position:absolute;bottom:16px;left:19px;font:9px monospace;letter-spacing:1px}.project-copy{padding:34px;display:flex;flex-direction:column;justify-content:center;align-items:start}.tag{font-size:9px;letter-spacing:1.3px;text-transform:uppercase;border:1px solid #15334a40;border-radius:20px;padding:6px 10px;display:inline-block;margin-bottom:23px}.project-copy h2{font-size:35px;font-weight:500;letter-spacing:-1.5px;margin-bottom:13px}.project-copy p{font-size:13px;line-height:1.8;max-width:310px;color:#466071}.project-copy .text-link{margin-top:12px;border-color:#15334a55}.project-copy .text-link span{color:inherit}.section-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:18px;margin:43px 0 22px;gap:20px}.section-head h2{font-size:22px;font-weight:500;letter-spacing:-.5px;margin:0}.section-head small{font-size:10px;color:var(--muted)}.highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.highlight{display:block}.highlight .image{height:150px;overflow:hidden;background:var(--soft);position:relative}.highlight img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.highlight:hover img{transform:scale(1.04)}.highlight .number{position:absolute;left:10px;top:10px;background:var(--bg);font-size:9px;padding:5px 7px}.highlight h3{font-size:14px;font-weight:500;margin:14px 0 6px}.highlight p{font-size:11px;color:var(--muted);line-height:1.6}.highlight h3 span{float:right;color:var(--lime)}.closing{margin-top:42px;padding-top:24px;border-top:1px solid var(--line);display:flex;gap:24px;align-items:center}.closing img{width:56px;height:56px;object-fit:cover;border-radius:50%}.closing p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.closing a{margin-left:auto}footer{margin:auto;display:flex;justify-content:space-between;gap:25px;padding:23px 44px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}footer a:first-child{color:var(--ink)}footer span{color:var(--muted);margin-left:10px}.page-title{font-size:clamp(38px,4.5vw,62px);letter-spacing:-2px}.lead{color:var(--muted);line-height:1.9;max-width:680px}.filters{display:flex;gap:10px;margin:30px 0;flex-wrap:wrap}.filters input{background:transparent;border:1px solid var(--line);padding:12px 15px;color:var(--ink);flex:1;min-width:180px;border-radius:4px}.filters input::placeholder{color:var(--muted)}.filter{border:1px solid var(--line);padding:10px 15px;background:transparent;color:var(--muted);border-radius:4px}.filter.active{background:var(--lime);color:var(--bg)}.journal-row{display:grid;grid-template-columns:45px 1fr auto 20px;align-items:center;gap:18px;border-top:1px solid var(--line);padding:23px 5px}.journal-row:hover{background:#ffffff05}.journal-row .num{font-size:12px;color:var(--muted)}.journal-row h3{font-size:16px;font-weight:500;margin:0}.pill{font-size:10px;color:var(--lime);border:1px solid #d4e69340;border-radius:20px;padding:5px 9px}.pill.missing{color:var(--muted);border-color:var(--line)}.prose{max-width:730px}.prose h2{font-size:25px;margin-top:38px;font-weight:500}.prose p,.prose li{color:var(--muted);font-size:14px;line-height:1.9}.prose li{margin-bottom:10px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:32px 0;padding:24px 0;border-block:1px solid var(--line)}.facts small{display:block;color:var(--muted);font-size:10px;margin-bottom:9px}.facts strong{font-size:13px;font-weight:500}.document-frame{width:100%;border:0;display:block;background:#fff;border-radius:4px;margin-top:25px;min-height:650px}.week-actions{display:flex;justify-content:space-between;gap:20px;margin-top:25px}.empty{padding:45px 0;color:var(--muted);line-height:1.8}.skip{position:fixed;top:-60px;background:var(--lime);color:var(--bg);padding:10px;z-index:10}.skip:focus{top:10px}.about-photo{width:100%;max-height:350px;object-fit:cover;object-position:center 35%;margin:25px 0}.project-wide{margin:30px 0}.project-wide img{height:400px;width:100%;object-fit:contain}.doc-note{font-size:11px;color:var(--muted);line-height:1.7}.external{color:var(--lime)}
@media(min-width:1500px){main{padding-inline:65px}.hero-project{min-height:390px}.project-art img{height:360px}.highlight .image{height:190px}}@media(max-width:1100px){.layout{grid-template-columns:205px minmax(0,1fr)}.rail{padding-left:25px;padding-right:15px}main{padding:35px 28px}h1{letter-spacing:-2.5px}.header{padding:24px 28px}.header nav{gap:18px}.project-copy{padding:24px}.project-copy h2{font-size:29px}.intro-line{align-items:start;flex-direction:column;gap:19px}.highlight .image{height:125px}}@media(max-width:760px){.header{padding:20px;align-items:start;flex-direction:column;gap:20px}.header nav{width:100%;justify-content:space-between;gap:10px;font-size:11px}.layout{display:block}.rail{padding:15px 20px;border-right:0;border-bottom:1px solid var(--line)}.rail-top{margin:0}.rail #weeknav,.rail-foot{display:none}main{padding:30px 20px 45px}h1{font-size:52px;letter-spacing:-2.8px}.hero-project{grid-template-columns:1fr}.project-art{min-height:260px}.project-art img{height:260px}.project-copy{padding:28px}.project-copy h2{font-size:35px}.highlights{grid-template-columns:1fr;gap:24px}.highlight{display:grid;grid-template-columns:115px 1fr;gap:16px}.highlight .image{height:105px;grid-row:span 2}.highlight h3{margin:12px 0 0}.highlight p{margin:0}.closing{align-items:start;flex-wrap:wrap}.closing p{flex:1}.closing a{margin-left:80px}footer{padding:22px 20px;flex-wrap:wrap;line-height:1.7}footer>span{display:none}.journal-row{grid-template-columns:27px 1fr 15px;gap:10px}.journal-row h3{font-size:14px}.journal-row .pill{grid-column:2;grid-row:2;justify-self:start}.journal-row .arrow{grid-column:3;grid-row:1}.facts{gap:10px}.facts strong{font-size:11px}.page-title{font-size:43px}.project-wide img{height:280px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* A clearer version of the original vertical glass selector. */
@media(min-width:761px){.rail{padding-top:31px}.rail-top{margin-bottom:20px}#weeknav{position:relative;padding:15px 8px;border:1px solid #c5e4f02b;border-radius:42px;background:linear-gradient(150deg,#b9dfef15,#ffffff03 48%,#79b5cc12);box-shadow:inset 1px 1px 0 #ffffff0d,0 18px 45px #071b2c25;gap:3px}.weeklink{border:1px solid transparent;border-radius:28px;padding:8px 7px;gap:10px;min-height:43px;transition:background .2s,border-color .2s}.weeklink .num{display:flex;align-items:center;justify-content:center;width:27px;height:27px;flex:0 0 27px;border:1px solid #c5e4f033;border-radius:50%;font-size:10px;transition:background .2s,color .2s}.weeklink .label{font-size:10px}.weeklink.active{background:linear-gradient(110deg,#d4e69322,#d4e69307);border-color:#d4e69355;box-shadow:0 0 20px #d4e69308}.weeklink.active .num{background:var(--lime);color:var(--bg);border-color:var(--lime)}.weeklink:hover{background:#c5e4f014;border-color:#c5e4f033}.weeklink .dot{width:3px;height:3px;margin-right:3px}.rail-foot{margin-top:20px}}
/* The original scrolling glass capsule, with a readable companion label. */
:root{--bg:#1b4772;--soft:#234e74;--muted:#c0d0de}
#wheel-toggle{display:none}.wheel-controls{display:flex;justify-content:center;gap:14px;margin:20px 0 17px}.wheel-controls button{width:51px;height:49px;border:1px solid #b9d8eb70;border-radius:17px;background:#c4e1f021;color:#e9f4fa;font:25px system-ui;box-shadow:inset 0 1px #ffffff20;transition:background .2s}.wheel-controls button:hover:not(:disabled){background:#c4e1f03b}.wheel-controls button:disabled{opacity:.28;cursor:default}.wheel-topic{text-align:center;min-height:91px}.wheel-topic>span{display:block;font-size:9px;letter-spacing:2px;color:var(--lime);margin-bottom:8px}.wheel-topic strong{display:block;font-size:12px;font-weight:500;line-height:1.6}.wheel-topic a{display:inline-block;font-size:10px;margin-top:9px;border-bottom:1px solid #ffffff44;padding-bottom:4px}.wheel-lens{display:none}
@media(min-width:761px){.layout{grid-template-columns:minmax(0,1fr) 205px}.layout main{grid-column:1;grid-row:1;padding-left:44px;padding-right:38px}.rail{grid-column:2;grid-row:1;border-right:0;border-left:1px solid var(--line);padding:30px 25px 20px;position:sticky;top:0;align-self:start}.rail-top{margin-bottom:20px;gap:6px}.rail-top .eyebrow{font-size:8px;letter-spacing:1.3px}.rail-all{font-size:9px}#weeknav{position:relative;display:block;height:clamp(280px,calc(100vh - 350px),620px);padding:0;width:140px;margin:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;border-radius:68px;border:1px solid #c9e2ed60;background:radial-gradient(circle 69px at 50% 29%,#c0ecff30 0,#c0ecff24 80%,transparent 100%),linear-gradient(180deg,#cee7ec1a,#172f4933);box-shadow:inset 0 0 0 18px #a0cddd0a,inset 0 0 0 19px #c9e2ed24,0 18px 45px #112d4420;mask-image:linear-gradient(transparent,#000 7%,#000 92%,transparent)}#weeknav::-webkit-scrollbar{display:none}.wheel-track{padding:calc(clamp(280px,calc(100vh - 350px),620px)*.29 - 64px) 0 calc(clamp(280px,calc(100vh - 350px),620px)*.71 - 64px);display:block}.wheel-item{height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;position:relative;outline-offset:-6px!important}.wheel-orb{display:flex;justify-content:center;align-items:center;width:55px;height:55px;background:linear-gradient(130deg,#c8e5e92a,#d6f4ff12);border:1px solid #c9e2ed4f;border-radius:50%;box-shadow:inset 0 1px 1px #e6faff10;transition:all .25s}.wheel-orb>span{font-size:10px;color:#e5f5ff65;letter-spacing:1px}.wheel-label{font-size:16px;font-weight:800;letter-spacing:2px;color:#c4d0dfaa;text-shadow:0 2px 4px #12365255;transition:color .2s}.wheel-item.is-centered .wheel-label,.wheel-item:hover .wheel-label{color:#fff}.wheel-item.is-centered .wheel-orb{background:#b4dce739;border-color:#d9f4fa80;box-shadow:0 0 28px #8bbfdf30}.wheel-item.active .wheel-orb{border:2px solid var(--lime)}.wheel-item.active .wheel-label{color:var(--lime)}.rail .rail-foot{display:none}}
.chapter-opening figure{margin:26px 0 20px;background:#163856}.chapter-opening figure img{width:100%;height:330px;object-fit:cover;display:block}.chapter-opening figcaption{padding:12px 15px;font-size:11px;color:var(--muted)}.reader-guide{border-block:1px solid var(--line);margin:24px 0}.reader-guide summary{padding:16px 0;cursor:pointer;list-style:none;font-size:12px}.reader-guide summary span{float:right;color:var(--lime)}#docoutline{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding-bottom:18px}#docoutline button{background:none;text-align:left;border:0;border-top:1px solid #ffffff13;color:var(--muted);padding:11px 0;font-size:11px;line-height:1.5}#docoutline button:hover{color:white}.material-stories{display:grid;grid-template-columns:1.15fr 1fr;gap:25px}.material-stories img{width:100%;height:260px;object-fit:cover}.material-stories a:nth-child(2){padding-top:65px}.material-stories h3{font-size:23px;line-height:1.4;font-weight:500;letter-spacing:-.6px;margin:14px 0}.material-stories .eyebrow{color:var(--lime);font-size:8px;letter-spacing:1.6px}.material-stories a>div{padding:22px 0}.material-stories p{font-size:12px;color:var(--muted);line-height:1.9}.material-stories .text-link{font-size:11px}
@media(max-width:760px){.rail{padding:14px 20px}.rail-top{float:left;margin-top:12px;gap:14px}.rail-top .eyebrow{font-size:9px}.rail-top .rail-all{display:none}#wheel-toggle{display:block;margin-left:auto;padding:10px 12px;font-size:11px}.wheel-controls,.wheel-topic{display:none}.rail.wheel-open #weeknav{display:block;height:320px;width:140px;margin:24px auto 0;border-radius:65px;border:1px solid #c9e2ed60;overflow:auto;position:relative;padding:0;background:radial-gradient(circle 65px at 50% 29%,#c0ecff30,transparent),linear-gradient(#cee7ec1a,#172f4933);scrollbar-width:none;overscroll-behavior:contain}.wheel-open .wheel-track{padding:29px 0 163px}.wheel-open .wheel-item{height:128px;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center}.wheel-open .wheel-orb{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border:1px solid #c9e2ed70;background:#cee7ec22;border-radius:50%}.wheel-orb>span{font-size:10px;color:var(--muted)}.wheel-label{font-size:15px;font-weight:700;letter-spacing:2px}.wheel-item.active{color:var(--lime)}.wheel-open .wheel-controls{display:flex}.wheel-open .wheel-topic{display:block;min-height:75px}.material-stories{grid-template-columns:1fr}.material-stories a:nth-child(2){padding:0}.material-stories img{height:240px}.chapter-opening figure img{height:240px}#docoutline{grid-template-columns:1fr}}
/* Precision lens: retain the scrolling capsule, refine its material and hierarchy. */
@media(min-width:761px){.rail{border-left:0;padding-inline:24px}.rail-top{margin-bottom:24px}.rail-top .eyebrow{color:#e4eff7;font-size:8px;letter-spacing:2.2px}.rail-all{color:#c6dbe9b3;font-size:9px}#weeknav{width:152px;border-radius:78px;border:1px solid #bad8eb55;background:radial-gradient(ellipse 76px 89px at 50% 29%,#a8d1e62b 0,#6ca6cc12 65%,transparent 100%),linear-gradient(110deg,#aad5e512,#071f381c 40%,#aad5e510);box-shadow:inset 1px 0 0 #def5ff1c,inset -1px 0 0 #08284055,0 20px 50px #0b24482b;mask-image:linear-gradient(transparent,#000 2%,#000 98%,transparent)}.wheel-track{background-image:linear-gradient(90deg,transparent 17px,#d9effb18 17px,#d9effb18 18px,transparent 18px,transparent calc(100% - 18px),#d9effb18 calc(100% - 18px),#d9effb18 calc(100% - 17px),transparent calc(100% - 17px));border-radius:inherit}.wheel-item{gap:13px}.wheel-orb{width:48px;height:48px;position:relative;border-color:#cee7f13b;background:linear-gradient(145deg,#c0e2ec16,#8bb5d109);box-shadow:inset 0 1px #e6faff0f;transition:width .25s,height .25s,background .25s,border .25s,box-shadow .25s}.wheel-orb>span{color:#cbdce8a6;font-size:15px;letter-spacing:-.5px;font-weight:400;font-variant-numeric:tabular-nums;transition:font-size .25s,color .25s}.wheel-label{font-size:10px;letter-spacing:3px;font-weight:600;color:#c5d9e3a1;text-shadow:none}.wheel-item.is-centered .wheel-orb{width:68px;height:68px;border-color:#d4ebf3aa;background:radial-gradient(circle at 35% 28%,#d1e8ec30,#83b1cb10 75%);box-shadow:inset 0 0 18px #c4e9f51c,0 7px 23px #0b2b492b}.wheel-item.is-centered .wheel-orb:before{content:'';position:absolute;inset:-7px;border:1px solid #d5ecf13b;border-radius:50%}.wheel-item.is-centered .wheel-orb:after{content:'';position:absolute;left:-23px;right:-23px;top:50%;height:1px;background:linear-gradient(90deg,#d5ecf177 0 9px,transparent 9px calc(100% - 9px),#d5ecf177 calc(100% - 9px))}.wheel-item.is-centered .wheel-orb>span{font-size:27px;letter-spacing:-1px;color:#f0f5f3}.wheel-item.is-centered .wheel-label{color:#eff5f8;letter-spacing:3.2px}.wheel-item.active .wheel-orb{border-width:1px;border-color:var(--lime)}.wheel-item.active .wheel-orb>span{color:var(--lime)}.wheel-item.active .wheel-label{color:var(--lime)}.wheel-controls{gap:10px;margin:20px 0}.wheel-controls button{height:42px;width:61px;border-radius:13px;font-size:22px;border-color:#b8d8e74a;background:linear-gradient(145deg,#c5e3ed15,#accfdf08);box-shadow:inset 0 1px #ffffff10}.wheel-controls button:hover:not(:disabled){background:#c8e6ed26;border-color:#d1e8ef8c}.wheel-topic{max-width:158px;margin:auto;padding-top:17px;border-top:1px solid #b8d8e72e;text-align:left;min-height:121px}.wheel-topic>span{font-size:8px;letter-spacing:2px;color:#c6deea8c;margin-bottom:11px}.wheel-topic strong{font-family:Manrope,system-ui;font-size:13px;line-height:1.7;letter-spacing:-.15px;color:#f4f6f4;font-weight:500}.wheel-topic a{font-size:9px;border-bottom:0;color:var(--lime);margin-top:10px;letter-spacing:.4px}}
@media(max-width:760px){.wheel-open .wheel-orb>span{font-size:17px;font-variant-numeric:tabular-nums}.wheel-open .wheel-item.is-centered .wheel-orb{border-color:#d5ecf1aa;box-shadow:0 0 0 6px #d5ecf112}.wheel-open .wheel-label{font-size:11px;letter-spacing:3px}.wheel-open .wheel-topic{max-width:220px;margin:auto}.wheel-open .wheel-topic strong{font-size:13px}.wheel-controls button{border-radius:13px;height:42px;width:61px}}
/* One editorial system for every recovered document. */
.document-reader{margin:24px 0 32px;background:#f4f4ed;color:#1b3b53;padding:clamp(24px,4vw,65px);border-radius:4px;font:16px/1.9 'DM Sans',system-ui,sans-serif;overflow-wrap:anywhere}.document-reader>*{margin-left:auto;margin-right:auto}.document-reader div,.document-reader main,.document-reader section,.document-reader article,.document-reader header,.document-reader aside{display:block;margin-left:auto;margin-right:auto;background:transparent;border:0;position:static;width:auto;height:auto;padding:0;float:none}.document-reader header{margin-bottom:35px}.document-reader h1,.document-reader h2,.document-reader h3,.document-reader h4{font-family:Manrope,system-ui,sans-serif;color:#17384e;line-height:1.35;letter-spacing:-.7px;font-weight:600;scroll-margin-top:30px}.document-reader h1{font-size:31px;margin-bottom:22px;letter-spacing:-1px}.document-reader h2{font-size:25px;margin:50px 0 20px;padding-top:25px;border-top:1px solid #15334a20}.document-reader h3{font-size:19px;margin:32px 0 14px;letter-spacing:-.3px}.document-reader h4{font-size:16px;margin-top:24px}.document-reader p{margin:0 0 22px;color:#3b5362}.document-reader ul,.document-reader ol{padding-left:24px;margin-block:20px 30px}.document-reader li{padding-left:4px;margin-bottom:10px;color:#3b5362}.document-reader strong,.document-reader b{color:#1d3d52;font-weight:600}.document-reader a{color:#1b608c;text-decoration:underline;text-decoration-color:#1b608c60;text-underline-offset:4px}.document-reader a:hover{text-decoration-color:#1b608c}.document-reader img{display:block;max-width:100%;width:auto;max-height:650px;object-fit:contain;margin:22px auto;border-radius:3px}.document-reader figure{margin:30px 0}.document-reader figure img{margin:0 auto}.document-reader figcaption{font-size:12px;line-height:1.7;color:#657b88;margin-top:10px;text-align:left}.document-reader .doc-gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin:30px 0}.document-reader .doc-gallery figure{margin:0}.document-reader .doc-gallery img{width:100%;max-height:430px;object-fit:contain}.document-reader video{display:block;width:100%;max-height:600px;background:#132e45;margin:25px 0;border-radius:4px}.document-reader table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.7;margin:28px 0;display:block;overflow:auto}.document-reader th{background:#e4e9e1;text-align:left;font-weight:600;color:#1d3d52}.document-reader td,.document-reader th{padding:13px 16px;border-bottom:1px solid #17384e25;min-width:110px;vertical-align:top}.document-reader td{color:#425c6b}.document-reader pre{background:#17354b;color:#e7efee;padding:23px;border-radius:4px;overflow:auto;font:12px/1.8 ui-monospace,SFMono-Regular,monospace;margin:28px 0;white-space:pre;overflow-wrap:normal}.document-reader code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.86em}.document-reader p code,.document-reader li code{padding:3px 5px;background:#17384e0d;border-radius:3px}.document-reader blockquote{border-left:2px solid #8b9c6a;margin:30px 0;padding:2px 0 2px 22px;color:#466171}.document-reader details{border-block:1px solid #17384e25;margin:22px 0;padding:15px 0}.document-reader summary{cursor:pointer;font-weight:600}.document-reader .missing-asset{display:block;padding:14px 17px;background:#e5e9dd;border-left:2px solid #8b9c6a;color:#536149;font-size:12px;margin-block:20px}.document-reader hr{border:0;border-top:1px solid #17384e22;margin:35px 0}.loading-note{color:#567080;font-size:13px}.document-reader [id]{scroll-margin-top:30px}.document-reader svg{max-width:100%;height:auto}.document-reader input,.document-reader select{max-width:100%}
@media(max-width:760px){.document-reader{font-size:15px;line-height:1.85;padding:24px 20px;margin-inline:-5px}.document-reader h1{font-size:25px}.document-reader h2{font-size:22px;margin-top:38px}.document-reader h3{font-size:18px}.document-reader .doc-gallery{grid-template-columns:1fr;gap:24px}.document-reader pre{font-size:11px;padding:16px}.document-reader td,.document-reader th{padding:10px}}
.wheel-mobile-title,.wheel-mobile-arrow{display:none}
@media(min-width:761px){.wheel-window{width:154px;margin:auto;border:1px solid #bdd9e85e;border-radius:78px;overflow:hidden;box-shadow:inset 1px 0 #e8f7fd0d,0 18px 38px #0b24481a}#weeknav{width:152px;margin:0;border:0;border-radius:77px;box-shadow:none;mask-image:linear-gradient(transparent,#000 15px,#000 calc(100% - 15px),transparent)}.wheel-track{background-image:none}}
@media(max-width:760px){.rail{padding:14px 20px;background:#163c602b}.rail-top{margin-top:10px}.rail-top .eyebrow{font-size:9px;letter-spacing:1.8px}#wheel-toggle{border-radius:8px;border-color:#b9d7e442;background:#c9e6f00a;color:#eef3f5;padding:10px 14px;font-size:11px}.rail .wheel-window{display:none}.rail.wheel-open .wheel-window{display:block;width:100%;margin:16px 0 0;border-radius:12px;border:1px solid #c0dae535;overflow:hidden;background:#173c5e;box-shadow:0 15px 30px #102c4520}.rail.wheel-open #weeknav{display:block;width:100%;height:min(52vh,430px);max-height:430px;margin:0;border:0;border-radius:0;background:none;box-shadow:none;mask-image:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#85a9bf44 transparent}.rail.wheel-open .wheel-track{padding:6px 10px;background:none}.rail.wheel-open .wheel-item{height:auto;min-height:63px;display:grid;grid-template-columns:34px minmax(0,1fr) 15px;gap:13px;padding:12px 8px;border-bottom:1px solid #d5e8ee12;text-align:left;border-radius:0}.rail.wheel-open .wheel-item:last-child{border-bottom:0}.rail.wheel-open .wheel-orb,.rail.wheel-open .wheel-item.is-centered .wheel-orb{width:30px;height:30px;border:1px solid #d5e8ee2e;border-radius:8px;box-shadow:none;background:#c9e6f00a}.rail.wheel-open .wheel-orb>span{font-size:11px;color:#c4d9e5;letter-spacing:0}.rail.wheel-open .wheel-label{display:none}.rail.wheel-open .wheel-mobile-title{display:block;font-size:12px;line-height:1.55;letter-spacing:0;color:#dae5ec}.rail.wheel-open .wheel-mobile-arrow{display:block;font-size:12px;color:#a1bacb}.rail.wheel-open .wheel-item.active{background:#d4e6930b;border-radius:7px}.rail.wheel-open .wheel-item.active .wheel-orb{background:var(--lime);border-color:var(--lime)}.rail.wheel-open .wheel-item.active .wheel-orb>span{color:#17384f}.rail.wheel-open .wheel-item.active .wheel-mobile-title{color:var(--lime)}.rail.wheel-open .wheel-controls,.rail.wheel-open .wheel-topic{display:none}.rail.wheel-open .wheel-orb:before,.rail.wheel-open .wheel-orb:after{display:none}.rail.wheel-open .wheel-item:hover{background:#ffffff06}}
.document-reader iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;border-radius:4px;margin:22px 0;background:#17354b}
/* A consistent field journal: image, subject, process, reflection. */
#weekrows{display:grid;grid-template-columns:1fr 1fr;gap:28px 24px;margin-top:32px}.journal-row.journal-card{display:block;border:0;padding:0;background:transparent}.journal-card-art{height:220px;position:relative;background:#183b59;overflow:hidden;border-radius:3px}.journal-card-art>img{width:100%;height:100%;object-fit:cover;transition:transform .4s,filter .4s;filter:saturate(.8)}.journal-card:hover .journal-card-art>img{transform:scale(1.035);filter:saturate(1)}.card-week{position:absolute;left:13px;top:13px;font-size:8px;letter-spacing:1.5px;background:#17354be8;color:#f3f3ec;padding:7px 9px;border-radius:2px}.journal-card-copy{padding:19px 0 10px}.journal-card-copy .card-tools{font-size:9px;letter-spacing:.7px;color:var(--lime);margin:0 0 10px}.journal-card-copy h3{font-family:Manrope;font-size:19px;font-weight:500;line-height:1.55;letter-spacing:-.4px;padding-right:25px;position:relative;margin:0 0 12px}.journal-card-copy h3 span{position:absolute;right:0;top:0;font-size:17px;font-weight:400;color:var(--muted)}.card-status{font-size:10px;color:var(--muted);border-bottom:1px solid #ffffff25;padding-bottom:5px}.type-art{background:linear-gradient(125deg,#e3e7d9,#cbd9d3);color:#22435b;display:flex;align-items:center;justify-content:center}.type-number{font:90px/1 Georgia,serif;letter-spacing:-6px;opacity:.7}.type-caption{position:absolute;bottom:20px;left:20px;font-size:10px;letter-spacing:1px}.not-documented .type-art{background:transparent;color:var(--muted);border:1px dashed #c9dfeb40}.not-documented .type-number{opacity:.3}.not-documented .card-tools{color:var(--muted)}.filters{border-block:1px solid var(--line);padding:18px 0;gap:8px}.filters input{border:0;background:#ffffff07;border-radius:3px;min-height:44px}.filter{font-size:11px;border-radius:3px}.related-notes .journal-row{padding-block:19px}.related-notes .journal-row h3{font-size:14px}.about-opening{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;align-items:center;margin:15px 0 45px}.about-opening figure{margin:0}.about-opening img{width:100%;height:330px;object-fit:cover;object-position:center 30%;border-radius:3px;filter:saturate(.7)}.about-opening figcaption{font-size:10px;color:var(--muted);margin-top:12px}.about-opening .lead{font-size:13px}.about-opening .page-title{font-size:clamp(39px,4.6vw,65px)}.back-to-journal{display:inline-block;font-size:10px;color:var(--muted);margin-bottom:30px;letter-spacing:.3px}.back-to-journal:hover{color:white}.document-reader{box-shadow:0 15px 40px #122f4610}.document-reader h1{font-size:30px}.document-reader>header:first-child{margin-bottom:35px}.prose h2{font-weight:500}.page-title{max-width:950px}.section-head h2{font-size:22px}.header nav a{transition:color .2s}.header nav a:hover{color:white}.text-link:hover{border-color:var(--lime)}
@media(max-width:1000px) and (min-width:761px){.journal-card-art{height:170px}.journal-card-copy h3{font-size:16px}.about-opening{grid-template-columns:1fr;gap:20px}.about-opening img{height:260px;max-width:360px}}
@media(max-width:760px){#weekrows{gap:27px 15px}.journal-card-art{height:160px}.journal-card-copy{padding:14px 0 5px}.journal-card-copy h3{font-size:14px;padding-right:18px;letter-spacing:-.2px}.journal-card-copy h3 span{font-size:13px}.journal-card-copy .card-tools{font-size:8px;line-height:1.7}.card-week{left:8px;top:8px;font-size:7px;letter-spacing:.7px;padding:5px 6px}.card-status{font-size:9px}.type-number{font-size:64px}.type-caption{font-size:8px;left:12px;bottom:12px;right:10px}.filters{gap:7px}.filters input{flex-basis:100%}.about-opening{grid-template-columns:1fr;gap:25px;margin-bottom:30px}.about-opening .page-title{font-size:43px}.about-opening img{height:300px;max-width:100%}.section-head h2{font-size:19px}.back-to-journal{margin-bottom:22px}}
@media(max-width:410px){#weekrows{grid-template-columns:1fr}.journal-card-art{height:210px}.journal-card-copy h3{font-size:18px}.journal-card-copy .card-tools{font-size:9px}.card-week{font-size:8px;padding:7px 9px}.card-status{font-size:10px}}
.document-reader .doc-chip{display:inline-block;border:1px solid #17384e28;border-radius:20px;padding:3px 9px;margin:3px 4px 3px 0;font-size:10px;letter-spacing:.2px;line-height:1.8;color:#456271;background:#17384e05}
.document-tool{display:block;width:100%;height:850px;border:0;background:#f4f4ed;border-radius:4px;margin:28px 0}
/* Pollen, cells and connections: a quiet bee identity. */
:root{--lime:#bde2bc}.brand-hive{display:flex;width:46px;height:46px;align-items:center;justify-content:center;flex-shrink:0}.bee-mark{width:40px;height:40px;stroke:var(--lime);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.identity small{font-size:8px;letter-spacing:1.5px}.hive-hero{position:relative;padding-right:120px}.hive-cell-signature{position:absolute;right:25px;top:13px;width:110px;height:150px;opacity:.65}.hive-cell-signature span{position:absolute;display:flex;align-items:center;justify-content:center;width:60px;height:68px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#bde2bc11;color:#bde2bc;font:10px ui-monospace,monospace}.hive-cell-signature span:before{content:'';position:absolute;inset:1px;clip-path:inherit;background:var(--bg);z-index:-1}.hive-cell-signature span:nth-child(2){left:52px;top:32px;font:22px Georgia,serif}.hive-cell-signature span:nth-child(3){top:64px}.hive-hero h1{position:relative;z-index:1}.card-week{clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 50%,calc(100% - 6px) 100%,6px 100%,0 50%);border-radius:0;padding-inline:12px}.resource-note{margin:auto;border-top:1px solid var(--line);padding:58px 8%;display:grid;grid-template-columns:240px minmax(0,1fr);gap:65px;align-items:center;position:relative;overflow:hidden;background:linear-gradient(110deg,#15375735,transparent)}.resource-visual{color:var(--lime);position:relative;align-self:center}.hive-diagram{width:240px;height:215px;opacity:.6}.resource-visual>span{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin:10px 0 0 15px}.resource-story{max-width:760px}.resource-story .kicker{font-size:8px;letter-spacing:2px;margin-bottom:20px}.resource-story h2{font-size:clamp(32px,3.5vw,47px);font-weight:500;letter-spacing:-1.6px;margin-bottom:19px;line-height:1.2}.resource-story h2 em{font-family:Georgia,serif;font-weight:400;color:var(--lime)}.resource-story>p{font-size:13px;color:var(--muted);line-height:1.9;max-width:650px}.resource-story .resource-practice{font-size:11px;color:#eceddf;margin-bottom:23px}.resource-links{display:flex;gap:30px;align-items:center;flex-wrap:wrap}.resource-links .text-link{font-size:11px;gap:20px}.resource-source{font-size:10px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#ffffff33}.resource-story .resource-rule{font-size:10px;line-height:1.8;margin:20px 0 0;color:#b8cbd9;max-width:580px}.resource-rule strong{font-weight:500;color:var(--ink)}.resource-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:35px 0 20px;margin:30px 0;border-block:1px solid var(--line)}.resource-principles section>span{font-size:8px;color:var(--lime);letter-spacing:1.6px}.resource-principles h2{font-size:22px;font-weight:500;letter-spacing:-.6px;line-height:1.4;margin:17px 0}.resource-principles p{font-size:12px;line-height:1.9;color:var(--muted)}
/* Unframed navigation: the lens and circles carry the identity. */
@media(min-width:761px){.wheel-window{border:0!important;box-shadow:none!important;overflow:hidden;background:none!important}#weeknav{border:0!important;box-shadow:none!important;background:radial-gradient(ellipse 68px 83px at 50% 29%,#b3d2dc16,transparent 90%)!important;mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 18px),transparent)}.wheel-track{background:none!important}.wheel-controls button{border:0;background:#c5e3ed0b;box-shadow:none;border-radius:50%;width:40px;height:40px}.wheel-controls button:hover:not(:disabled){background:#c5e3ed1f;border:0}.wheel-topic{border-top:1px solid #bde2bc1a}}
@media(max-width:1000px) and (min-width:761px){.hive-hero{padding-right:40px}.hive-cell-signature{right:-10px;opacity:.25}.resource-note{padding:45px 35px;gap:35px;grid-template-columns:180px 1fr}.hive-diagram{width:180px}}
@media(max-width:760px){.identity small{font-size:7px;letter-spacing:1.2px}.brand-hive{width:36px;height:40px}.bee-mark{width:34px;height:34px}.hive-hero{padding-right:0}.hive-cell-signature{right:0;top:8px;opacity:.2;transform:scale(.8);transform-origin:top right}.hive-hero h1{font-size:49px}.resource-note{padding:36px 22px;grid-template-columns:1fr;gap:20px}.resource-visual{display:flex;align-items:center;gap:20px}.hive-diagram{width:98px;height:89px;flex-shrink:0}.resource-visual>span{font-size:7px;line-height:1.8;max-width:110px;letter-spacing:1.5px;margin:0}.resource-story h2{font-size:36px}.resource-links{gap:19px}.resource-principles{grid-template-columns:1fr;gap:22px}.resource-principles h2 br{display:none}.rail.wheel-open .wheel-window{border:0;box-shadow:none;background:#163b5c66}.rail.wheel-open #weeknav{border:0;box-shadow:none}#wheel-toggle{border:0;border-radius:0;background:transparent;padding-inline:0;border-bottom:1px solid #bde2bc44}.rail.wheel-open .wheel-item{border-bottom-color:#d5e8ee0c}.rail.wheel-open .wheel-item.active .wheel-orb{background:var(--lime)}}
.design-references{margin:35px 0;padding:25px 0;border-block:1px solid var(--line);max-width:760px}.design-references .eyebrow{font-size:8px;color:var(--lime)}.design-references p{font-size:12px;line-height:1.9;color:var(--muted);margin:13px 0 0}.design-references a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#bde2bc55;color:var(--ink)}
body[data-route="resources"] .resource-note{display:none}

/* Reading pages share the site's blue canvas. */
.document-reader {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  padding: clamp(12px, 2vw, 28px) 0;
  border-top: 1px solid var(--line);
}
.document-reader :is(h1, h2, h3, h4, strong, b) { color: var(--ink); }
.document-reader :is(p, li, td, figcaption, blockquote) { color: var(--muted); }
.document-reader :is(a, a:hover) { color: var(--lime); text-decoration-color: #bde2bc99; }
.document-reader :is(h2, hr, details, td, th) { border-color: var(--line); }
.document-reader th { background: var(--soft); color: var(--ink); }
.document-reader :is(.doc-chip, .missing-asset) {
  background: var(--soft);
  color: var(--ink);
  border-color: var(--line);
}
.document-reader :is(p, li) code { background: #102d4966; }

/* Original journal terminals, including the coloured Git Bash prompt. */
.document-reader :is(.terminal-window, .terminal) {
  margin: 22px auto;
  border: 1px solid #ffffff30;
  border-radius: 10px;
  overflow: hidden;
  background: #0c0c0c;
}
.document-reader .terminal-window .terminal-header,
.document-reader .terminal .terminal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f3f3f3;
  color: #333;
  border-bottom: 1px solid #cfcfcf;
  font: 13px/1.45 system-ui, sans-serif;
}
.document-reader :is(.terminal-window, .terminal) :is(.header-left, .terminal-left) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.document-reader :is(.terminal-window, .terminal) :is(.app-icon, .terminal-icon) {
  flex: 0 0 15px;
  height: 15px;
  margin: 0;
  border-radius: 3px;
  background: linear-gradient(135deg, #7b61ff, #00d4ff, #00c853, #ffd54f);
}
.document-reader :is(.terminal-window, .terminal) :is(.title, .terminal-title) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document-reader .terminal-window .win-controls {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  margin: 0 0 0 auto;
}
.document-reader :is(.terminal-window, .terminal) .terminal-body {
  padding: 12px 14px 16px;
  background: #0c0c0c;
  color: #e6e6e6;
}
.document-reader :is(.terminal-window, .terminal) pre {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #e6e6e6;
  font: clamp(13px, 1.15vw, 15.5px)/1.5 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.document-reader :is(.terminal-window, .terminal) pre code { font: inherit; }
.document-reader :is(.terminal-window, .terminal) :is(.copy, .copybtn) {
  display: block;
  margin: 0 0 9px auto;
  padding: 4px 10px;
  background: #ffffff16;
  color: #fff;
  border: 1px solid #ffffff33;
  border-radius: 6px;
  cursor: pointer;
  font: 12px/1.5 system-ui, sans-serif;
}
.document-reader .terminal .terminal-head .copybtn {
  margin: 0 0 0 auto;
  background: #293745;
}
.document-reader :is(.terminal-window, .terminal) :is(.copy, .copybtn):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.document-reader .terminal-window :is(.user, .green) { color: #2bd84a; }
.document-reader .terminal-window .host { color: #c55cff; }
.document-reader .terminal-window :is(.path, .yellow) { color: #f2c94c; }
.document-reader .terminal-window :is(.branch, .cyan) { color: #4dd0e1; }
.document-reader .terminal-window .red { color: #ff6262; }
.document-reader .terminal-window .blue { color: #6aa9ff; }
.document-reader .terminal-window .dim { color: #bdbdbd; }

@media (min-width: 761px) {
  body.reading-page .layout { grid-template-columns: minmax(0, 1fr) 106px; }
  body.reading-page .rail { padding-inline: 12px; }
  body.reading-page .rail-top { justify-content: center; }
  body.reading-page .rail-top .eyebrow { display: none; }
  body.reading-page :is(.wheel-window, #weeknav) { width: 82px; }
  body.reading-page .wheel-label { display: none; }
  body.reading-page .wheel-item .wheel-orb { width: 40px; height: 40px; }
  body.reading-page .wheel-item.is-centered .wheel-orb { width: 50px; height: 50px; }
  body.reading-page .wheel-item.is-centered .wheel-orb > span { font-size: 22px; }
  body.reading-page .wheel-controls { gap: 4px; }
  body.reading-page .wheel-controls button { width: 36px; height: 36px; }
  body.reading-page .wheel-topic { text-align: center; overflow-wrap: anywhere; }
  body.reading-page .wheel-topic strong { font-size: 10px; }
}
@media (max-width: 760px) {
  .document-reader { margin-inline: 0; }
  .document-reader .terminal-window .win-controls { display: none; }
}

.document-reader .terminal .terminal-head {
  background: #152c42;
  color: #edf3f8;
  border-bottom-color: #ffffff24;
}
.document-reader :is(.terminal-window, .terminal) .dim { color: #bdbdbd; }

/* Short reflections and media details share the journal's reading layout. */
.field-note {
  margin: 24px 0 32px;
  padding: 14px 18px;
  border-inline-start: 2px solid #f2adc7;
  background: #f2adc70d;
  max-width: 70ch;
}
.field-note p { margin: 0; color: var(--ink); line-height: 1.65; }
.field-note .field-note-label {
  margin-bottom: 5px;
  color: #f8bdd3;
  font-size: .78rem;
  font-weight: 700;
}
.media-caption {
  display: block;
  margin-block: 8px 22px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.6;
}
figure .media-caption { margin-bottom: 0; }
.media-spec {
  display: block;
  margin-top: 3px;
  color: var(--lime);
  font: .75rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.document-reader :is(img, video, iframe)[data-captioned] { margin-bottom: 0; }

/* Journal navigation and welcome page */
.academy-logo {
  display: block;
  width: 48px;
  height: 44px;
  object-fit: contain;
}
.identity {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.identity small { margin-top: 3px; }
.layout [hidden] { display: none !important; }
.panel-toggle, #wheel-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
}
.panel-toggle::after {
  content: '−';
  color: var(--lime);
}
.panel-toggle[aria-expanded="false"]::after { content: '+'; }
#docoutline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}
#docoutline :is(a, button) {
  display: block;
  padding: 10px 5px;
  color: var(--muted);
  text-align: left;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.45;
}
#docoutline :is(a, button):hover { color: var(--ink); }
.welcome {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(53vh, 490px);
  margin-bottom: 34px;
  padding: 30px clamp(22px, 5vw, 72px);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 22%, #37708b55, transparent 65%), #142f49;
}
.welcome h1 { font-size: clamp(43px, 6vw, 96px); }
.welcome > p:not(.kicker) { color: var(--muted); font-size: clamp(15px, 2vw, 19px); }
.welcome-links { display: flex; flex-wrap: wrap; gap: 10px 23px; margin-top: 14px; }
.welcome-links a { white-space: normal; }
@media (min-width: 761px) {
  body .layout, body.reading-page .layout {
    --left-panel: clamp(130px, 15vw, 216px);
    --right-panel: 194px;
    grid-template-columns: var(--left-panel) minmax(0, 1fr) var(--right-panel);
  }
  body.reading-page .layout { --right-panel: 112px; }
  body .layout.outline-collapsed { --left-panel: 56px; }
  body .layout.wheel-collapsed { --right-panel: 56px; }
  .layout > main {
    grid-column: 2;
    padding-inline: clamp(16px, 3vw, 48px);
  }
  .outline-panel, body .layout > .rail {
    position: sticky;
    top: 0;
    align-self: start;
    padding: 16px 10px;
  }
  .outline-panel { grid-area: 1 / 1; border-right: 1px solid var(--line); }
  body .layout > .rail { grid-area: 1 / 3; border-left: 1px solid var(--line); }
  #docoutline { max-height: calc(100vh - 90px); overflow-y: auto; }
  .outline-collapsed #outline-toggle, .wheel-collapsed #wheel-toggle {
    writing-mode: vertical-rl;
    padding: 10px 5px;
    justify-content: center;
  }
}
@media (max-width: 760px) {
  .outline-panel, .layout > .rail {
    padding: 8px 20px;
    border-bottom: 1px solid var(--line);
  }
  .panel-toggle, #wheel-toggle { margin-bottom: 0; }
  #docoutline { max-height: 42vh; overflow-y: auto; }
  .welcome { min-height: 340px; }
}

.resource-note[hidden] { display: none; }
.document-tool { background: var(--bg); }
html.standalone-document body {
  margin: 0;
  padding: clamp(16px, 3vw, 48px);
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 'DM Sans', system-ui, sans-serif;
}
.standalone-document body::before, .standalone-document body::after { display: none; }
.standalone-document :is(main, .wrap, .container, .page, .shell) {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}
.standalone-document :is(header, section, article, .card, .panel) {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.standalone-document header { position: static; }
.standalone-document :is(h1, h2, h3, h4) { color: var(--ink); line-height: 1.3; }
.standalone-document :is(p, li, td, th, figcaption, small, .muted, .lead, .subtitle) { color: var(--muted); }
.standalone-document a { color: var(--lime); text-decoration: underline; }
.standalone-document :is(img, video, svg) { max-width: 100%; height: auto; }
.standalone-document :is(pre, table) { max-width: 100%; display: block; overflow: auto; }
.standalone-document pre { background: var(--soft); color: var(--ink); padding: 16px; }
.standalone-document figure { margin: 24px 0; }
@media (max-width: 600px) {
  .standalone-document :is(.grid, .cols, .two-col) { display: block; }
}


/* Revised journal entries share the reading layout and retain their source files. */
.integrated-edition :is(header, footer) { margin-block: 1rem 2rem; }
.integrated-edition > :is(section, footer) { margin-block: 2rem; }
.integrated-edition .edition-original { display: inline-block; margin-top: 2rem; font-size: .85rem; }
.integrated-edition iframe { width: 100%; }
.integrated-edition iframe[src$=".html"] { height: min(680px, 80vh); }
.integrated-edition figure { max-width: 100%; }
.integrated-edition svg { max-width: 100%; }

.week-actions { flex-wrap: wrap; gap: .75rem 1.5rem; }
.week-actions .text-link { white-space: normal; }
main:focus:not(:focus-visible) { outline: none; }
.integrated-edition :is(h2, h3, h4) { text-wrap: pretty; }
.integrated-edition :is(p, li) { max-inline-size: 78ch; }
.integrated-edition :is(img, video, iframe, canvas) { max-inline-size: 100%; }
.integrated-edition :is(figure, details) { min-inline-size: 0; }
.integrated-edition footer { display: block; border-top: 1px solid var(--line); padding: 1rem 0; }
.integrated-edition footer p { margin-block: .65rem; }

.integrated-edition [data-blender-study] h4 { color: var(--lime); margin-top: 2.75rem; }
.integrated-edition [data-blender-study] figure { margin: 1.5rem 0; }
.integrated-edition [data-blender-study] figure a { display: block; }
.integrated-edition [data-blender-study] figure img { width: 100%; border: 1px solid var(--line); }
.integrated-edition [data-blender-pair] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.integrated-edition [data-blender-pair] figure { margin: .5rem 0 1rem; }
@media (max-width: 760px) { .integrated-edition [data-blender-pair] { grid-template-columns: 1fr; } }

.header-controls { display: flex; gap: 2rem; align-items: center; }
.language-picker { display: flex; gap: 2px; align-items: center; flex-shrink: 0; padding: 3px; border: 1px solid var(--line); border-radius: 6px; }
.language-picker button { background: transparent; color: var(--muted); border: 0; border-radius: 3px; padding: 8px 10px; font-size: 11px; }
.language-picker button[aria-pressed="true"] { background: var(--lime); color: #15334a; }
@media (max-width: 950px) { .header-controls { gap: 1rem; } }
@media (max-width: 760px) {
 .header-controls { flex-direction: column; align-items: stretch; gap: .75rem; width: 100%; }
 .header-controls .language-picker { align-self: flex-start; }
 .header-controls nav { flex-wrap: wrap; }
}

/* Journal front page and reading layout */
.header {
  max-width: 1680px;
  padding-block: 18px;
}
.identity { flex-direction: row; align-items: center; gap: 12px; }
.identity-label { white-space: nowrap; }
.header nav a { min-height: 40px; display: flex; align-items: center; gap: 5px; }
.header nav b { margin-left: 2px; }
.layout { max-width: 1680px; }
body[data-route="home"] .layout { display: block; }
body[data-route="home"] :is(.outline-panel, .rail) { display: none; }
body[data-route="home"] .layout > main { padding: clamp(20px,4vw,56px) clamp(20px,5vw,80px) 52px; }

.welcome {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,1fr);
  min-height: 0;
  padding: 0;
  margin-bottom: clamp(34px,5vw,72px);
  background: #153854;
  border-color: #ffffff32;
  border-radius: 5px;
  overflow: hidden;
}
.welcome-copy {
  padding: clamp(24px,4.4vw,76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.welcome h1 {
  font-size: clamp(39px,5vw,80px);
  line-height: 1.06;
  letter-spacing: -.065em;
  margin-bottom: .48em;
}
.welcome h1 em { letter-spacing: -.052em; }
.welcome-lead { max-width: 44ch; color: var(--muted); line-height: 1.7; margin-bottom: 0; font-size: clamp(14px,1.3vw,17px); }
.welcome-links { align-items: center; gap: 14px 24px; margin-top: 26px; }
.journal-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  background: var(--lime);
  color: #15334a;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
}
.journal-primary:hover { background: #d8eed4; }
.welcome-photo {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: clamp(280px,34vw,520px);
  background: #102d49;
}
.welcome-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 52% 54%; }
.welcome-photo figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
}
.welcome-photo figcaption a {
  display: inline-flex;
  gap: 12px;
  background: #102d49;
  color: #f4f4eb;
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 3px;
}
.welcome-photo figcaption span { color: var(--lime); }
.featured-project {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
  background: #e7e9df;
  color: #15334a;
  border-radius: 5px;
  overflow: hidden;
}
.featured-project .project-art { min-height: 250px; height: 100%; }
.featured-project .project-art img { height: clamp(230px,27vw,370px); }
.featured-copy { padding: clamp(26px,4.4vw,70px); align-self: center; }
.featured-copy .kicker { color: #36576b; margin-bottom: 14px; }
.featured-copy .kicker::before { background: currentColor; }
.featured-copy h2 { font-size: clamp(38px,5vw,68px); margin-bottom: 14px; letter-spacing: -.055em; line-height: 1; }
.featured-copy p:not(.kicker) { color: #36576b; max-width: 48ch; line-height: 1.75; }
.featured-copy .text-link { border-color: #15334a50; }
.featured-copy .text-link span { color: #36576b; }
.home-journal .highlights { gap: clamp(14px,2vw,28px); }
.home-journal .highlight .image { border-radius: 4px; height: auto; aspect-ratio: 16 / 9; }
.home-journal .highlight h3 { font-size: clamp(15px,1.5vw,21px); }
.home-journal .highlight p { font-size: 13px; }
.document-reader :is(p, ul, ol, blockquote) { max-inline-size: 76ch; margin-inline: 0; }
.document-reader :is(p, li, figcaption) { line-height: 1.72; }
.document-reader :is(img, video, iframe) { border-radius: 4px; }
.document-reader details { padding-inline: 12px; background: #102d4933; }
.document-reader summary { color: var(--lime); }
#docoutline :is(a, button):focus-visible { outline-offset: -2px; }

@media(max-width: 1020px) {
  .welcome-copy { padding: 28px; }
  .welcome-links { gap: 12px; }
}
@media(max-width: 760px) {
  .header {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px 8px;
    padding: 12px 20px 4px;
  }
  .header-controls { display: contents; }
  .header-controls nav { grid-column: 1 / -1; grid-row: 2; }
  .header-controls .language-picker { grid-column: 2; grid-row: 1; align-self: center; }
  .language-picker button { padding: 7px; font-size: 10px; min-height: 34px; }
  .academy-logo { width: 37px; height: 35px; }
  .welcome { grid-template-columns: minmax(0,1fr); }
  .welcome h1 { font-size: clamp(38px,9vw,60px); }
  .welcome-copy { padding: 24px 20px; }
  .welcome-copy .kicker { margin-bottom: 15px; }
  .welcome-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .welcome-photo figcaption { bottom: 8px; left: 8px; right: 8px; }
  .welcome-photo figcaption a { font-size: 10px; padding: 7px 9px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project .project-art { min-height: 190px; }
  .featured-project .project-art img { height: 190px; }
  .home-journal .highlight .image { height: 100%; min-height: 90px; aspect-ratio: auto; }
  .home-journal .highlight h3 { margin-top: 4px; }
}
@media(max-width: 365px) {
  .header { padding-inline: 12px; }
  .identity { gap: 6px; font-size: 13px; }
}


/* Chapter grids follow the source editions and adapt to the actual reading width. */
.document-reader { container: chapter / inline-size; }
.document-reader [data-chapter-layout] {
  --chapter-columns: 2;
  display: grid;
  grid-template-columns: repeat(var(--chapter-columns), minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
  width: 100%;
  margin: 1.55rem 0 2rem;
}
.document-reader [data-columns="1"] { --chapter-columns: 1; }
.document-reader [data-columns="3"] { --chapter-columns: 3; }
.document-reader [data-columns="4"] { --chapter-columns: 4; }
.document-reader [data-chapter-layout] > * { min-width: 0; max-width: 100%; margin-inline: 0; }
.document-reader [data-chapter-layout] > [data-chapter-full] { grid-column: 1 / -1; }
.document-reader [data-chapter-layout="hero"] {
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  padding: clamp(18px, 2.8vw, 40px);
  background: #12334f;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: .25rem;
}
.document-reader [data-chapter-layout="hero"] :is(h2, h3) { border: 0; padding: 0; margin: 0 0 1rem; text-wrap: balance; }
.document-reader [data-chapter-layout="hero"] h2 { font-size: clamp(23px, 3vw, 37px); line-height: 1.17; }
.document-reader [data-chapter-layout="hero"] :is(p, li) { line-height: 1.6; }
.document-reader [data-chapter-layout="hero"] :is(figure, img, video) { margin-block: 0; }
.document-reader [data-chapter-visual] { align-self: center; }
.document-reader [data-chapter-visual] img { display: block; margin-block: 0; }
.document-reader [data-chapter-layout="hero"] [data-chapter-layout] { margin-block: 0; }
.document-reader [data-chapter-layout="reverse"] > :first-child { order: 2; }

.document-reader [data-chapter-layout="cards"] > :is(article, section, div, a, li, details),
.document-reader [data-chapter-inset] {
  background: #133651;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(14px, 2vw, 23px);
}
.document-reader [data-chapter-inset] { margin-block: 1.2rem; border-inline-start: 2px solid var(--lime); }
.document-reader [data-chapter-layout="cards"] { align-items: stretch; }
.document-reader [data-chapter-layout="cards"] > a { display: block; text-decoration: none; }
.document-reader [data-chapter-layout="cards"] :is(h2, h3, h4) { margin-top: 0; padding-top: 0; border-top: 0; }
.document-reader [data-chapter-layout="cards"] :is(p, li) { font-size: .92em; line-height: 1.58; }
.document-reader [data-chapter-layout="cards"] :is(p, ul, ol):last-child,
.document-reader [data-chapter-inset] p:last-child { margin-bottom: 0; }
.document-reader [data-chapter-layout="media"] { align-items: start; gap: 18px; }
.document-reader [data-chapter-layout="media"] > :is(figure, img, a, div, article),
.document-reader [data-chapter-layout="split"] > figure { margin-block: 0; }
.document-reader [data-chapter-layout="media"] :is(img, video, iframe) { margin-block: 0; }
.document-reader [data-chapter-layout="media"] img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  background: #102d49;
}
.document-reader [data-chapter-layout] > :is(ul, ol) { padding-inline-start: 1.3rem; }
.document-reader figure figcaption { border-inline-start: 2px solid #bde2bc54; padding-inline-start: 10px; }
.document-reader figure figcaption:empty { display: none; }
.document-reader .chapter-image-link { display: block; cursor: zoom-in; width: fit-content; max-width: 100%; margin-inline: auto; }
.document-reader [data-chapter-layout="media"] .chapter-image-link { width: 100%; }
.document-reader .chapter-image-link:hover img { box-shadow: 0 0 0 1px var(--lime); }
.document-reader :is(pre, table) { max-inline-size: 100%; }
.document-reader [data-chapter-layout="media"] iframe { min-height: 0; }
#docoutline button[data-depth="3"] { padding-inline-start: 15px; border-top: 0; }
@container chapter (max-width: 850px) {
 .document-reader [data-columns="4"] { --chapter-columns: 2; }
}
@container chapter (max-width: 650px) {
 .document-reader [data-columns="3"] { --chapter-columns: 2; }
}
@container chapter (max-width: 550px) {
 .document-reader [data-chapter-layout] { --chapter-columns: 1; }
 .document-reader [data-chapter-layout="hero"] { grid-template-columns: minmax(0,1fr); }
 .document-reader [data-chapter-layout="reverse"] > :first-child { order: 0; }
}


.document-reader [data-chapter-layout="links"] { gap: .55rem .8rem; }
.document-reader [data-chapter-layout="links"] > a {
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  font-size: .86em;
}
.document-reader [data-chapter-layout="links"] > a:hover { border-color: var(--lime); }
.document-reader [data-chapter-layout="hero"] video { max-height: 440px; object-fit: contain; }
.document-reader img[data-chapter-diagram] { background: #e7e9df; padding: .75rem; }
.document-reader svg[data-chapter-icon] {
  display: inline-block;
  width: 1.65rem;
  max-height: 1.65rem;
  vertical-align: middle;
  color: var(--lime);
  fill: currentColor;
}
.document-reader[data-led-notes] svg[viewBox="0 0 260 260"] { display: block; width: min(30%, 170px); margin: 0 auto; }
.document-reader[data-led-notes] [data-led-part="led-body"] { fill: #f28177; }
.document-reader[data-led-notes] [data-led-part="led-base"] { fill: #b44942; }
.document-reader[data-led-notes] :is([data-led-part="rays"], [data-led-part="arrow"], [data-led-part="arrow-head"]) { stroke: #bde2bc; stroke-width: 3; fill: none; }
.document-reader[data-led-notes] :is([data-led-part="leg"], [data-led-part="symbol-line"], [data-led-part="symbol-circle"], [data-led-part="diode"]) { stroke: #c0d0de; stroke-width: 2; fill: none; }
.document-reader[data-led-notes] [data-chapter-layout="intro"] { gap: 0; }
.document-reader[data-led-notes] [data-chapter-layout="intro"] h2 { margin-top: 1.1rem; }
.document-reader[data-led-notes] [data-chapter-layout="cards"] > div { font-size: .84em; }


.document-reader [data-budget-export] {
  background: var(--lime);
  color: #15334a;
  border: 0;
  border-radius: 4px;
  padding: .65rem 1rem;
  font-weight: 700;
  margin: .45rem 0;
}
.document-reader :is(#doc-bom, [data-budget-estimate]) input {
  min-width: 64px;
  max-width: 100%;
  padding: .35rem .45rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: #102d49;
  color: var(--ink);
}


/* Each objective states the evidence and links to its place in the chapter. */
.chapter-objectives {
  margin: 1.45rem 0 2.3rem;
  padding: clamp(16px, 2.4vw, 30px);
  background: #12344f;
  border: 1px solid var(--line);
  border-radius: 8px;
  scroll-margin-top: 24px;
}
.chapter-objectives > header { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; justify-content: space-between; }
.chapter-objectives h2 { font-size: clamp(21px, 2vw, 29px); font-weight: 650; margin: 0; line-height: 1.2; }
.chapter-objectives > header a { font-size: .82rem; color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.chapter-objectives > p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: .5rem 0 .75rem; }
.chapter-objectives ul { list-style: none; margin: 0; padding: 0; }
.chapter-objectives li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: .65rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
}
.objective-icon {
  display: grid;
  place-items: center;
  width: 1.48rem;
  height: 1.48rem;
  font-size: .96rem;
  line-height: 1;
  color: var(--muted);
  border: 1px solid currentColor;
  border-radius: 50%;
}
.chapter-objectives h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .32rem .7rem; font-size: .98rem; line-height: 1.35; margin: 0; }
.objective-state { font: 600 .72rem/1.35 'DM Sans', sans-serif; color: var(--muted); }
.chapter-objectives [data-objective-status="d"] :is(.objective-icon, .objective-state) { color: #dbefb2; }
.chapter-objectives [data-objective-status="d"] .objective-label { text-decoration: line-through; text-decoration-color: #dbefb28c; text-decoration-thickness: 1px; }
.chapter-objectives [data-objective-status="p"] :is(.objective-icon, .objective-state) { color: var(--lime); }
.chapter-objectives li p { max-width: 76ch; color: var(--muted); line-height: 1.48; font-size: .88rem; margin: .27rem 0 .2rem; }
.objective-evidence { color: var(--lime); font-size: .79rem; text-decoration: underline; text-underline-offset: 3px; }
.document-reader [data-original-checklist] { margin: 1.4rem 0; padding: .8rem 1rem; border-radius: 5px; }
.document-reader [data-original-checklist] summary { font-size: .86rem; }
.document-reader img { height: auto; }
.document-reader figure:has(img) { min-width: 0; }
.document-reader [data-chapter-layout="media"] > figure:has(img),
.document-reader [data-chapter-layout="media"] > article:has(img),
.document-reader [data-chapter-layout="media"] > div:has(img) {
  border-radius: 5px;
  border: 1px solid var(--line);
  padding: .55rem;
  background: #133651;
}
.document-reader [data-chapter-layout="media"] figcaption { margin-top: .65rem; }
@media (max-width: 760px) {
  .chapter-objectives { margin-block: 1.2rem 1.55rem; }
  .chapter-objectives li { padding-block: .66rem; }
}


.chapter-objectives [data-objective-status="d"] .objective-label {
  color: #dbefb2;
  text-decoration-color: #dbefb277;
}
.chapter-objectives [data-objective-status="d"] .objective-icon {
  background: #d9efaa1a;
}

.chapter-objectives .objective-label { color: #dbefb2; }

[data-week-overview] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px clamp(16px, 2.3vw, 30px);
  margin: 1.25rem 0 1.6rem;
  padding: clamp(16px, 2.4vw, 28px);
  background: #173c5a;
  border: 1px solid var(--line);
  border-radius: 7px;
}
[data-week-overview] h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
}
[data-week-overview] h3 { margin: 0 0 .5rem; color: var(--lime); font-size: .88rem; line-height: 1.3; }
[data-week-overview] p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.58; }
.home-evidence {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(20px,4vw,62px);
  padding: clamp(24px,4vw,58px) 0;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.home-evidence h2 { font-size: clamp(25px,3vw,40px); line-height: 1.17; margin: 0 0 14px; letter-spacing: -.035em; }
.home-evidence p { color: var(--muted); max-width: 50ch; line-height: 1.65; margin: 0; }
.home-evidence-links { display: grid; gap: 7px; }
.home-evidence-links a {
  display: grid;
  gap: .25rem;
  position: relative;
  padding: 13px 35px 13px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #143550;
}
.home-evidence-links a:hover { border-color: var(--lime); }
.home-evidence-links a::after { content: '↗'; position: absolute; top: 15px; right: 14px; color: var(--lime); }
.home-evidence-links span { font-size: .82rem; color: var(--muted); }
@media (max-width: 1100px) {
 [data-week-overview] { grid-template-columns: minmax(0,1fr); gap: 0; }
 [data-week-overview] > div { margin-top: .65rem; }
}
@media (max-width: 760px) {
 .home-evidence { grid-template-columns: minmax(0,1fr); }
}


/* A common reading surface, with accents drawn from the individual chapters. */
body:where([data-route^="week"]:not([data-route="weeks"])) {
  --bg: #f7f4eb;
  --ink: #20323e;
  --muted: #475861;
  --line: #d4cdbd;
  --soft: #ede9dc;
  --lime: #315f63;
  --chapter-wash: #eeece0;
  background: var(--bg);
  color: var(--ink);
}
body[data-route="week2"] { --lime: #155e85; --chapter-wash: #e8eef3; }
body[data-route="week6"] { --lime: #12645d; --chapter-wash: #e8efec; }
body[data-route="week7"] { --lime: #285344; --chapter-wash: #e9eee5; }
body[data-route="week7"] .document-reader [data-chapter-layout="hero"] { --chapter-wash: #efe2cf; }
body[data-route="week8"] { --lime: #255e58; --chapter-wash: #e9f0ee; }
body[data-route="week9"] { --lime: #1d6251; --chapter-wash: #edeadd; }
body[data-route="week10"] { --lime: #35634c; --chapter-wash: #f1e7d7; }
body[data-route="week11"] { --lime: #41695b; --chapter-wash: #e7eee1; }
body[data-route="week12"] { --lime: #416750; --chapter-wash: #f5e8ce; }
body[data-route^="week"]:not([data-route="weeks"]) > :is(.header, footer) {
  --bg: #102d49;
  --ink: #f4f4eb;
  --muted: #c0ced8;
  --line: #ffffff30;
  --lime: #bde2bc;
  background: var(--bg);
  color: var(--ink);
}
body[data-route^="week"]:not([data-route="weeks"]) .language-picker button[aria-pressed="true"] { color: #203b50; }
body[data-route^="week"]:not([data-route="weeks"]) .layout > .rail { display: none; }
body[data-route^="week"]:not([data-route="weeks"]) #docoutline[hidden] { display: none; }
body[data-route^="week"]:not([data-route="weeks"]) .outline-panel { color: #203b50; }
body[data-route^="week"]:not([data-route="weeks"]) .outline-panel button { color: inherit; }
body[data-route^="week"]:not([data-route="weeks"]) #docoutline button:hover { background: var(--soft); }
body[data-route^="week"]:not([data-route="weeks"]) :is(
  .chapter-objectives, [data-week-overview], .field-note,
  .document-reader [data-chapter-layout="hero"],
  .document-reader [data-chapter-layout="cards"] > :is(article, section, div, a, li, details),
  .document-reader [data-chapter-inset]
) { background: var(--chapter-wash); }
body[data-route^="week"]:not([data-route="weeks"]) .field-note { border-color: var(--lime); }
body[data-route^="week"]:not([data-route="weeks"]) .field-note .field-note-label { color: var(--lime); }
body[data-route^="week"]:not([data-route="weeks"]) .chapter-objectives .objective-label { color: var(--ink); text-decoration: none; }
body[data-route^="week"]:not([data-route="weeks"]) .chapter-objectives [data-objective-status="d"] :is(.objective-icon, .objective-state) { color: #356047; }
body[data-route^="week"]:not([data-route="weeks"]) .document-reader [data-chapter-layout="media"] :is(img, :is(figure, article, div):has(> img, > a > img)) { background: var(--soft); }
body[data-route^="week"]:not([data-route="weeks"]) .document-reader :is(p, li) code { background: var(--soft); }
body[data-route^="week"]:not([data-route="weeks"]) .document-reader :is(.terminal-window, .terminal) {
  --ink: #f4f4eb;
  --muted: #c0ced8;
}
@media (min-width: 761px) {
  body[data-route^="week"]:not([data-route="weeks"]) .layout {
    grid-template-columns: var(--left-panel) minmax(0, 1fr);
    max-width: 1450px;
  }
  body[data-route^="week"]:not([data-route="weeks"]) .layout > main { width: min(100%, 1160px); margin-inline: auto; }
}

/* The index is a visual directory; the chapter navigation stays with the reading pages. */
body[data-route="weeks"] .layout {
  display: block;
  max-width: 1340px;
}
body[data-route="weeks"] .layout > :is(.outline-panel, .rail) { display: none; }
body[data-route="weeks"] #weekrows {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px) clamp(14px, 2vw, 26px);
}
body[data-route="weeks"] .journal-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}
body[data-route="weeks"] .journal-card-art {
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
}
body[data-route="weeks"] .journal-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-route="weeks"] .card-status { display: none; }
body[data-route="weeks"] .journal-card-copy { padding-bottom: 1rem; }
body[data-route="weeks"] .filters { max-width: 780px; }
body[data-route^="week"]:not([data-route="weeks"]) .chapter-opening figure { background: var(--chapter-wash); }
body[data-route^="week"]:not([data-route="weeks"]) .chapter-opening figcaption { color: var(--muted); }
body[data-route^="week"]:not([data-route="weeks"]) .chapter-opening img { object-fit: contain; }
@media (max-width: 900px) {
  body[data-route="weeks"] #weekrows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  body[data-route="weeks"] #weekrows { grid-template-columns: minmax(0, 1fr); }
}

body:where([data-route^="week"]:not([data-route="weeks"])) { background: #102d49; }
body[data-route^="week"]:not([data-route="weeks"]) > .layout { background: var(--bg); }

/* Navy for orientation, paper for reading, colour from the workshop for each chapter. */
:root {
  --bg: #172a3e;
  --soft: #263d52;
  --muted: #c7d2dc;
  --lime: #bde2bc;
}
body:where([data-route^="week"]:not([data-route="weeks"])) {
  --bg: #faf8f2;
  --ink: #243444;
  --line: #d8d1c3;
  --soft: #f0ece2;
  background: var(--journal-navy);
}
body[data-route^="week"]:not([data-route="weeks"]) > :is(.header, footer) {
  --bg: var(--journal-navy);
  --lime: var(--journal-mint);
}
body[data-route="home"] .welcome,
body[data-route="home"] .welcome-copy {
  background: #21364a;
}
body[data-route="home"] .home-evidence-links a { background: #233b50; }
body[data-route="weeks"] .journal-card-art { background: #263d52; }
body[data-route="weeks"] .journal-card:hover h3 { color: var(--journal-mint); }
body[data-route="week7"] { --lime: #285344; --chapter-wash: #e9eee5; }
body[data-route="week7"] .document-reader [data-chapter-layout="hero"] {
  --chapter-wash: #efe2cf;
  border-inline-start: 4px solid #568365;
}
body[data-route="week10"] .document-reader [data-chapter-inset] { --chapter-wash: #e8eee6; }
body[data-route="week11"] .document-reader [data-chapter-layout="hero"] {
  --chapter-wash: #e7eee1;
  border-inline-start: 4px solid #41695b;
}
body[data-route="week12"] .document-reader [data-chapter-layout="hero"] {
  border-inline-start: 4px solid #568365;
}

.chapter-objectives { --objective-green: #c4e8bd; }
body[data-route^="week"]:not([data-route="weeks"]) .chapter-objectives {
  --objective-green: #2d6045;
}
.chapter-objectives :is(.objective-label, .objective-state, .objective-icon, .objective-evidence, header > a),
.chapter-objectives [data-objective-status] :is(.objective-state, .objective-icon) {
  color: var(--objective-green) !important;
}
.chapter-objectives [data-objective-status] .objective-label { text-decoration: none; }
.onair-pitch { margin-block: 0 3rem; }
.onair-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.1rem, 3vw, 3rem);
  background: #213b40;
  border: 1px solid #a3c8af45;
  border-radius: 8px;
}
.onair-hero h1 { margin: 0 0 1rem; }
.onair-hero h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.2; }
.onair-hero p, .onair-story p, .onair-modules p { line-height: 1.65; }
.onair-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.onair-links a { border: 1px solid #bde2bc80; padding: .6rem .75rem; border-radius: 4px; }
.onair-links a:first-child { background: #bde2bc; color: #172a3e; }
.onair-story, .onair-gallery, .onair-modules > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.5rem);
  margin-top: 1.4rem;
}
.onair-story section, .onair-modules section {
  border-top: 1px solid #bde2bc60;
  padding-top: 1rem;
}
.onair-modules { margin-block: 2rem; }
.onair-pitch figure { margin: 0; min-width: 0; }
.onair-pitch img { display: block; width: 100%; border-radius: 5px; }
.onair-gallery img { height: clamp(150px, 24vw, 320px); object-fit: cover; }
.onair-pitch figcaption { margin-top: .5rem; font-size: .83rem; color: #c7d2dc; }
body[data-route="project"] .layout > .rail { display: none; }
@media (min-width: 761px) {
  body[data-route="project"] .layout { grid-template-columns: var(--left-panel) minmax(0, 1fr); }
}
@media (max-width: 780px) {
  .onair-hero, .onair-story, .onair-modules > div { grid-template-columns: minmax(0, 1fr); }
}

.journal-project-next { margin-block: 2rem; }
.onair-media { margin-block: 2.5rem; }
.onair-media p { max-width: 72ch; line-height: 1.65; color: var(--muted); }
.onair-media figure { margin: 0; min-width: 0; }
.onair-media :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #172a3e;
  border-radius: 5px;
}
.onair-media figcaption { margin-top: .65rem; }
.onair-media figcaption a { color: var(--journal-mint); text-decoration: underline; }
@media (max-width: 600px) {
  .onair-media .onair-gallery { grid-template-columns: minmax(0, 1fr); }
}

.onair-concept {
  margin-block: 2.5rem;
  padding: clamp(1rem, 3vw, 2.4rem);
  background: #eaf0e6;
  color: #213b35;
  border-radius: 8px;
}
.onair-concept > p { max-width: 70ch; line-height: 1.65; }
.onair-concept-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.4rem 0;
  padding: 0;
}
.onair-concept-steps li {
  overflow: hidden;
  background: #f8faf5;
  border-radius: 5px;
  border: 1px solid #c7d8cb;
}
.onair-concept-steps img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.onair-concept-steps li > div { padding: .9rem; }
.onair-concept-steps h3 { margin-bottom: .4rem; }
.onair-concept-steps p { margin: 0; line-height: 1.55; }
.onair-concept-note { font-size: .92rem; }
.onair-concept .journal-primary { background: #284f40; color: #fff; white-space: normal; }
@media (max-width: 660px) {
  .onair-concept-steps { grid-template-columns: minmax(0, 1fr); }
  .onair-concept-steps img { aspect-ratio: 16 / 9; }
}

.onair-concept-feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-bottom: 2rem;
}
.onair-concept-feature p { line-height: 1.65; }
.onair-concept-label { color: #35634c; font-weight: 650; }
.onair-concept-feature figure { margin: 0; }
.onair-concept-feature img { display: block; width: 100%; height: auto; border-radius: 5px; }
.onair-concept-feature figcaption { margin-top: .55rem; font-size: .85rem; color: #35634c; }
@media (max-width: 850px) {
  .onair-concept-feature { grid-template-columns: minmax(0, 1fr); }
}

.onair-history {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2.25rem);
  margin-block: 2rem;
  color: #213b35;
  background: #f4f1e6;
  border-radius: 8px;
}
.onair-history figure { margin: 0; min-width: 0; }
.onair-history img { display: block; width: 100%; height: auto; }
.onair-history figcaption { margin-top: .5rem; font-size: .85rem; }
.onair-history p { line-height: 1.65; }
.video-evidence { margin-block: 1rem; }
.video-evidence img { width: 100%; max-height: 250px; object-fit: contain; margin: 0 0 .5rem; }
.video-evidence video { display: block; width: 100%; max-height: 420px; }
@media (max-width: 720px) {
  .onair-history { grid-template-columns: minmax(0, 1fr); }
  .onair-history > div { grid-row: 1; }
}
