/* Dodo Studios, poster direction: shared overrides for the browsing pages (library, pathways, sketchpad index).
   The tools and sketchpads themselves keep their own crisp white styling. */
:root{
 --hf:'Archivo','Arial Narrow',sans-serif;
 --bf:'Instrument Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
 --ink:#241E1A;--navy:#241E1A;--muted:#4A403A;
 --pale:#E9E8E4;--block:#F2F2F0;--line:#D9D6D0;--grey:#B5B0A8;
 --orange:#DF7F2C;--purple:#8468A8;--green:#8A9C30;--blue:#4F9ED6;--magenta:#CF3486;
 font-stretch:75%;
}
/* body copy stays at normal width; only the display face is condensed */
p,li,label,input,textarea,select,small,figcaption,.lead,.nav a{font-stretch:100%}
html body{background:#F2F2F0;color:var(--ink)}

/* header: same paper as the page, no box behind the current page */
.hdr{background:rgba(242,242,240,.97);border-bottom:0}
.nav a{border-radius:0;font-weight:500}
.nav a:hover,.nav a[aria-current="page"]{background:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

/* hero bands become flat colour posters */
.band{border-bottom:0}
body.pg-lib .band{background:var(--orange)}
body.pg-paths .band{background:var(--green)}
body.pg-lib .band .disp,body.pg-paths .band .disp{color:#fff}
.band .back,.band .kick,.band .lead{color:var(--ink)}

/* square-cornered controls in place of rounded chips */
.chip,.seg button{border-radius:2px;border-color:var(--ink);background:transparent}
.chip:hover,.seg button:hover{background:#fff}
.btn{border-radius:2px}

/* footer in ink, like the home page */
.ftr{background:var(--ink);color:#F2F2F0;border-top:0}
.ftr a{color:#F2F2F0}
.ftr small,.ftr .fsub{color:#F2F2F0}

/* sketchpad index header and filters */
.dsh{background:rgba(242,242,240,.97)!important;border-bottom:0!important;font-family:var(--bf)!important;color:var(--ink)!important}
.dsh-b,.dsh-n a{color:var(--ink)!important}
.dsh-n a{font-weight:500!important;border-radius:0!important}
.dsh-n a:hover,.dsh-n a[aria-current="page"]{background:none!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.jump a{border-radius:2px}
.bbtn{border-radius:2px}
.ftr .logo{color:#F2F2F0}
.ftr .fsub{border-left-color:rgba(242,242,240,.3)}

/* big display headings in League Gothic, matching the home page */
.disp,body.pg-sk h1,body.pg-sk .grp h2{font-family:'League Gothic','Arial Narrow',sans-serif!important;font-weight:400!important;font-stretch:100%;letter-spacing:.005em}
.hero .disp{font-size:clamp(62px,10.8vw,168px);max-width:9em}
body.pg-sk h1{font-size:clamp(54px,7.7vw,100px)}
body.pg-sk .grp h2{font-size:clamp(34px,3.6vw,48px)}

/* library home: a poster like the Fieldwork section on the home page */
.lib-hero{position:relative;overflow:hidden;isolation:isolate}
.lib-hero .lh-ph{position:absolute;top:0;right:0;bottom:0;width:46%;margin:0;background:var(--orange);isolation:isolate}
.lib-hero .lh-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:45% 50%;filter:grayscale(1) contrast(1.15) brightness(1.1);mix-blend-mode:multiply}
.lib-hero .lh-ph::after{content:"";position:absolute;inset:0;background:#6A2B10;mix-blend-mode:lighten}
.lib-hero .lh-in{position:relative;z-index:1;min-height:clamp(440px,40vw,600px);display:flex;flex-direction:column}
.lib-hero .lh-tx{margin-top:auto;max-width:52%;padding-top:40px}
.lib-hero .kick{color:var(--ink);border-top:0;padding-top:0;font-family:'DM Mono',ui-monospace,monospace;font-weight:400;font-size:13px;letter-spacing:.08em}
.lib-hero .disp{color:#fff;font-size:clamp(68px,10.4vw,160px)!important;max-width:none!important;margin-top:14px;line-height:.88}
.lib-hero .acc{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;text-transform:none;letter-spacing:-.005em;font-size:1em;line-height:0}
.lib-hero .lead{color:var(--ink);max-width:30em}
@media (max-width:860px){
 .lib-hero .lh-ph{position:relative;width:auto;height:240px;display:block}
 .lib-hero .lh-in{min-height:0}
 .lib-hero .lh-tx{max-width:none;padding-top:24px}
}

/* Deeper Practice: same poster opening, green */
.pw-hero .lh-ph{background:var(--green);overflow:visible}
.pw-hero .lh-ph::after{background:#2F3A0C}
.pw-hero .lh-ph .trace{z-index:2;inset:4% 2% 4% 4%}
.pw-hero .how{display:block;margin-top:26px;font-family:'DM Mono',ui-monospace,monospace;font-size:13px;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}

/* pathway filter: white panels, selected in ink, same as the home page finder */
body.pg-paths .ptabs{background:none;border:0;gap:8px;margin-top:24px}
body.pg-paths .ptabs button{background:#fff;border:1.5px solid transparent;border-radius:3px;padding:14px 16px;min-height:76px;transition:border-color .15s}
body.pg-paths .ptabs button:hover:not([aria-pressed="true"]){background:#fff;border-color:var(--ink)}
body.pg-paths .ptabs button:hover:not([aria-pressed="true"]) b{color:var(--ink)}
body.pg-paths .ptabs button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
body.pg-paths .ptabs button[aria-pressed="true"] b,body.pg-paths .ptabs button[aria-pressed="true"] .pk{color:#fff}
body.pg-paths .ptabs b{font-family:'Instrument Sans',system-ui,sans-serif;font-weight:600;font-size:15.5px;letter-spacing:0;text-transform:none;line-height:1.25}
body.pg-paths .ptabs .pk{font-family:'DM Mono',ui-monospace,monospace;font-weight:400;font-size:11.5px;letter-spacing:.08em}
body.pg-paths .ptabs .pk i{width:9px;height:9px;border-radius:50%}
body.pg-paths .sbox{border-color:transparent}
body.pg-paths .sbox:focus-within{border-color:var(--ink)}

/* pathway headers */
body.pg-paths .pw-head{border-top:0}
body.pg-paths .pw-head .n{font-family:'DM Mono',ui-monospace,monospace;font-weight:400;font-size:13px;letter-spacing:.08em;color:var(--ink)}
body.pg-paths .pw-head .meta{margin-top:16px;font-family:'Instrument Sans',system-ui,sans-serif;font-weight:400;font-size:16px;letter-spacing:0;text-transform:none;color:var(--muted)}
body.pg-paths .pw-head .meta b{font-weight:600;color:var(--ink)}
body.pg-paths .pw-head .n i{width:10px;height:10px;border-radius:50%}
body.pg-paths .pw-head .ph{border-radius:3px}

/* levels as white cards, labs as rows inside them */
body.pg-paths .lvcols{gap:16px}
body.pg-paths .lvc{background:#fff;border-radius:3px;padding:22px 22px 8px}
body.pg-paths .lvc-h{border-bottom:0;padding-bottom:10px}
body.pg-paths .lvc-h b{font-family:'League Gothic','Arial Narrow',sans-serif;font-weight:400;font-size:40px;letter-spacing:.005em;line-height:.9}
body.pg-paths .lvc-h span{font-family:'DM Mono',ui-monospace,monospace;font-weight:400;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
body.pg-paths .lvc-l .lab{border-bottom:1px solid #ECEAE5;padding:14px 0 16px}
body.pg-paths .lvc-l .lab:last-child{border-bottom:0}
body.pg-paths .lab h4{font-family:'Archivo','Arial Narrow',sans-serif;font-weight:700;font-size:18px;text-transform:none;letter-spacing:0;line-height:1.2}
body.pg-paths .lab h4 a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
body.pg-paths .lab .go{font-family:'Instrument Sans',system-ui,sans-serif;font-weight:600;font-size:14.5px;letter-spacing:0;text-transform:none;border:0;padding:9px 14px;margin-top:12px;background:var(--ink);color:#fff;border-radius:2px;align-items:center}
body.pg-paths .lab .go:hover{background:#000;color:#fff;text-decoration:none}
body.pg-paths .note{background:#fff;border-radius:3px}
