/* Working Theory: permanent KTHQ visual language. No seasonal overrides. */
.wt-page{--wt-bg:#08111f;--wt-panel:rgba(13,33,56,.72);--wt-line:rgba(214,226,241,.18);--wt-cream:#f5efe3;--wt-text:#d8e4ef;--wt-muted:#a4b3c5;--wt-teal:#36d4c7;--wt-gold:#e6b84c;--wt-display:"Arial Narrow","Rajdhani",Impact,sans-serif;background:var(--wt-bg);color:var(--wt-text);font-family:Inter,sans-serif}
.wt-page main{max-width:1180px;min-height:70vh;margin:auto;padding:132px 28px 100px}
.wt-page main a,.wt-page .wt-skip{color:#7ab8ff;text-underline-offset:4px}
.wt-page main a:hover{color:#b4d7ff}
.wt-page :focus-visible{outline:3px solid var(--wt-gold);outline-offset:5px}
.wt-page main :is(h1,h2,h3,p,li,a){overflow-wrap:break-word}
.wt-page main :is(h1,h2,h3){font-family:var(--wt-display);font-weight:900;letter-spacing:0;color:var(--wt-cream);text-wrap:pretty}
.wt-page main h1{max-width:1040px;margin:18px 0 26px;font-size:clamp(3.25rem,6.6vw,6rem);line-height:.95}
.wt-page main h2{font-size:2.35rem;line-height:1.06;margin:0 0 18px}
.wt-page main h3{font-size:1.8rem;line-height:1.12;margin:0 0 14px}
.wt-skip{position:fixed;top:-100px;left:16px;z-index:10001;background:var(--wt-bg);padding:14px 18px;border:1px solid var(--wt-gold);border-radius:8px}
.wt-skip:focus{top:8px}
.wt-kicker{display:flex;align-items:center;gap:.65rem;color:var(--wt-teal);font-size:.76rem;font-weight:800;line-height:1.5;text-transform:uppercase;letter-spacing:0}
.wt-kicker::before{content:"";width:2.2rem;height:2px;flex:none;background:currentColor}
.wt-lede{max-width:740px;font-size:clamp(1.15rem,2.1vw,1.45rem);line-height:1.55;color:#e5e5df}
.wt-intro{max-width:690px;margin-top:24px;font-size:1rem;line-height:1.7;color:#b8c7d6}
.wt-header{position:relative;padding-bottom:36px;border-bottom:1px solid rgba(230,184,76,.5)}
.wt-header::after{content:"";position:absolute;left:0;bottom:-1px;width:4rem;height:3px;background:var(--wt-gold)}
.wt-header .wt-meta{margin-top:26px}
.wt-section-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;margin:22px 0 44px;padding:0 0 18px;border-bottom:1px solid var(--wt-line)}
.wt-section-nav a{display:inline-flex;align-items:center;min-height:48px;font-size:.88rem;font-weight:650;text-decoration:none}
.wt-page main .wt-section-nav a{color:var(--wt-text)}
.wt-page main .wt-section-nav a:hover{color:var(--wt-teal)}
.wt-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:20px;color:var(--wt-muted);font-size:.78rem;line-height:1.5}
.wt-meta span:first-child{color:var(--wt-teal)}
.wt-index main{max-width:none;padding:0 0 100px}
.wt-hero{min-height:46svh;padding:132px max(28px,calc((100% - 1124px)/2)) 56px;background:linear-gradient(180deg,transparent 55%,#08111f 100%),linear-gradient(90deg,rgba(6,13,25,.96),rgba(8,17,31,.82) 38%,rgba(8,17,31,.38) 74%,rgba(8,17,31,.7)),url('/images/working-theory-mentoring-room.jpg') center right/cover no-repeat}
.wt-page .wt-hero h1{text-wrap:balance;max-width:1124px;font-size:clamp(3.25rem,6.3vw,5rem);line-height:.9;margin:20px 0 24px}
.wt-hero .wt-lede{max-width:650px}
.wt-index .wt-section-nav,.wt-index main>section{width:calc(100% - 56px);max-width:1124px;margin-left:auto;margin-right:auto}
.wt-index .wt-section-nav{margin-top:18px;margin-bottom:32px}
.wt-index main>.wt-intro{width:calc(100% - 56px);max-width:1124px;margin:6px auto 0;color:var(--wt-muted)}
.wt-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.wt-list>li{min-width:0}
.wt-list>li:first-child{grid-column:1/-1}
.wt-piece-link{display:flex;flex-direction:column;align-items:flex-start;gap:20px;height:100%;padding:30px;border:1px solid var(--wt-line);border-radius:8px;background:var(--wt-panel);box-shadow:0 24px 70px rgba(2,7,15,.24);backdrop-filter:blur(16px);text-decoration:none}
.wt-page main .wt-piece-link h2{margin:0 0 14px;font-size:2.25rem;line-height:1.04;color:var(--wt-cream)}
.wt-piece-link p{font-size:.97rem;line-height:1.65;color:#b8c7d6;max-width:64ch}
.wt-piece-link:hover{border-color:rgba(54,212,199,.65);background:rgba(17,46,70,.88)}
.wt-page main .wt-piece-link:hover h2{color:#fff9ed}
.wt-piece-link[aria-disabled="true"]{opacity:.65;cursor:default}
.wt-list>li:first-child .wt-piece-link{padding:36px 40px;border-color:rgba(54,212,199,.5);background:linear-gradient(115deg,rgba(54,212,199,.09),transparent 75%),var(--wt-panel)}
.wt-page main .wt-list>li:first-child h2{max-width:850px;font-size:clamp(2.4rem,4.2vw,3.4rem)}
.wt-piece-link .wt-start{margin-bottom:16px;color:var(--wt-gold);font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}
.wt-status{display:inline-flex;align-items:center;gap:8px;margin-top:auto;font-size:.74rem;font-weight:700;line-height:1.4}
.wt-live{color:#69dfba}.wt-live::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(105,223,186,.1)}
.wt-soon{color:var(--wt-muted)}
.wt-layout{display:grid;grid-template-columns:minmax(0,740px) minmax(220px,264px);gap:64px;align-items:start}
.wt-article{grid-column:1;grid-row:1;min-width:0}
.wt-rail{grid-column:2;grid-row:1;position:sticky;top:94px;min-width:0;padding:24px;border:1px solid var(--wt-line);border-radius:8px;background:var(--wt-panel);backdrop-filter:blur(16px);box-shadow:0 24px 70px rgba(2,7,15,.24)}
.wt-page main .wt-rail h2{font-size:1.4rem;line-height:1.15;margin:0 0 20px}
.wt-rail>a{display:inline-flex;align-items:center;min-height:44px;font-size:.87rem;font-weight:650}
.wt-rail .wt-note{margin-top:12px}
.wt-mentor-card{display:flex;align-items:center;gap:16px;padding:0 0 26px;margin-bottom:34px;border-bottom:1px solid var(--wt-line)}
.wt-initials{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid rgba(54,212,199,.5);border-radius:50%;font-family:var(--wt-display);font-weight:700;font-size:1.4rem;color:var(--wt-teal)}
.wt-mentor-card strong{font-size:.94rem;line-height:1.5}
.wt-mentor-card p{font-size:.78rem;color:var(--wt-muted);margin-top:4px;line-height:1.6}
.wt-prose{max-width:72ch;color:var(--wt-text);font-size:18.5px;line-height:1.75}
.wt-prose p{margin:0 0 1.4em}
.wt-page main .wt-prose h2{margin:1.65em 0 .65em;font-size:2.3rem;line-height:1.08;scroll-margin-top:110px}
.wt-page main .wt-prose h3{margin:1.55em 0 .65em;font-size:1.8rem;line-height:1.15}
.wt-prose>h2:first-child{margin-top:0}
.wt-prose :is(ul,ol){margin:1.5em 0;padding-left:1.5em}
.wt-prose li{padding-left:.3em;margin:0 0 1em}
.wt-prose li:last-child{margin-bottom:0}
.wt-prose li::marker{color:var(--wt-teal);font-weight:700}
.wt-prose ol{padding:28px 28px 28px 54px;border:1px solid var(--wt-line);border-radius:8px;background:var(--wt-panel);backdrop-filter:blur(16px);box-shadow:0 24px 70px rgba(2,7,15,.24)}
.wt-prose blockquote{padding:8px 0 8px 24px;margin:32px 0;border-left:2px solid var(--wt-gold);color:var(--wt-cream)}
.wt-prose sup{position:relative;font-size:.68em;line-height:0;vertical-align:super;white-space:nowrap}
.wt-page main .wt-prose sup a.wt-fn{display:inline-block;position:relative;color:var(--wt-teal);font-weight:700;text-decoration:none;line-height:1;min-width:1.15em;padding:0 .18em;text-align:center}
.wt-prose sup a.wt-fn::before{content:"";position:absolute;inset:-12px -5px}
.wt-page main .wt-prose sup a.wt-fn:hover{text-decoration:underline;color:#96eee6}
.wt-sources,.wt-box,.wt-next{padding:30px;border:1px solid var(--wt-line);border-radius:8px;background:var(--wt-panel);backdrop-filter:blur(16px);box-shadow:0 24px 70px rgba(2,7,15,.42)}
.wt-sources{margin-top:48px;font-size:.87rem;line-height:1.75;color:var(--wt-muted)}
.wt-page main .wt-sources h2{font-size:1.9rem}
.wt-sources ol{padding-left:22px;margin:0}
.wt-sources li{padding-left:5px;margin-top:22px;scroll-margin-top:110px}
.wt-sources li:first-child{margin-top:0}
.wt-sources p{margin:8px 0}
.wt-sources a{overflow-wrap:anywhere}
.wt-note,.wt-disclaimer{color:var(--wt-muted);font-size:.84rem;line-height:1.75}
.wt-disclaimer{margin:28px 0}
.wt-box{margin:28px 0;line-height:1.75}
.wt-box p+p{margin-top:14px}
.wt-box h2{margin-bottom:16px}
.wt-shelf-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:36px}
.wt-shelf-grid .wt-box{margin:0;min-width:0}
.wt-form{margin-top:28px;max-width:680px}
.wt-form fieldset{padding:0;border:0;min-width:0}
.wt-form label{display:block;margin:20px 0 8px;color:var(--wt-cream);font-size:.9rem;font-weight:600;line-height:1.6}
.wt-form input:not([type=checkbox]),.wt-form textarea{display:block;width:100%;min-height:48px;padding:13px 15px;border:1px solid rgba(214,226,241,.3);border-radius:8px;background:rgba(6,15,27,.75);color:var(--wt-text);font:inherit;font-size:1rem;line-height:1.5}
.wt-form textarea{min-height:150px;resize:vertical}
.wt-form input:focus,.wt-form textarea:focus{border-color:var(--wt-teal)}
.wt-form .wt-check{display:flex;gap:14px;align-items:flex-start;font-weight:400}
.wt-form input[type=checkbox]{flex:none;width:20px;height:20px;margin-top:4px;accent-color:var(--wt-teal)}
.wt-page button.wt-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:18px 8px 0 0;padding:12px 20px;border:1px solid var(--wt-cream);border-radius:8px;background:var(--wt-cream);color:var(--wt-bg);font:800 .9rem Inter,sans-serif;line-height:1.5;cursor:pointer}
.wt-page button.wt-button:hover{background:#fff9ed}
.wt-page button:is(#account-signout,#admin-logout,#back-to-nick){background:rgba(245,239,227,.08);color:var(--wt-cream);border-color:rgba(245,239,227,.38)}
.wt-page button:disabled{opacity:.55;cursor:not-allowed}
.wt-message{margin-top:20px;color:#edcd83;font-size:.9rem;line-height:1.7;overflow-wrap:anywhere}
.wt-page main details{margin:26px 0}
.wt-page main summary{padding:14px 0;min-height:48px;cursor:pointer;color:var(--wt-cream);font-weight:700;line-height:1.6}
.wt-take{display:block;width:100%;padding:16px;margin:12px 0;border:1px solid var(--wt-line);border-radius:8px;background:rgba(8,17,31,.6);color:var(--wt-text);font:inherit;text-align:left;cursor:pointer}
.wt-take strong,.wt-take span{display:block;overflow-wrap:anywhere}
.wt-take span{font-size:.8rem;color:var(--wt-muted);margin-top:8px;line-height:1.5}
.wt-take span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wt-take:hover{border-color:var(--wt-teal)}
.wt-page [hidden]{display:none!important}
.wt-plain{white-space:pre-wrap;overflow-wrap:anywhere}
.wt-page .footer{padding-bottom:130px}
.wt-next{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:36px 0}
.wt-next a{text-decoration:none}
.wt-next .wt-next-label{display:block;color:var(--wt-teal);font-size:.74rem;font-weight:800;text-transform:uppercase;margin-bottom:12px}
.wt-next strong{display:block;color:var(--wt-cream);font:900 1.9rem/1.1 var(--wt-display)}
.wt-next .wt-all{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border:1px solid rgba(245,239,227,.38);border-radius:8px;background:rgba(245,239,227,.08);color:var(--wt-cream);font-size:.85rem;font-weight:700;white-space:nowrap}
.wt-progress{position:fixed;top:0;left:0;z-index:10002;width:100%;height:3px;background:var(--wt-teal);transform:scaleX(0);transform-origin:left;pointer-events:none}
/* Keep the frozen template markup available to authors without presenting work labels. */
.wt-preview,.wt-placeholder,.wt-template main>header .wt-meta{display:none}
@keyframes wt-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.wt-page main>.wt-header,.wt-hero>:is(.wt-kicker,h1,.wt-lede,.wt-intro){animation:wt-enter .9s ease-out both}
@media(min-width:801px){.wt-utility main{max-width:1080px}.wt-utility main>.wt-prose{max-width:72ch}.wt-utility main>.wt-box{padding:36px}}
@media(max-width:800px){
 .wt-page main{padding:112px 24px 80px}
 .wt-page main h1{font-size:clamp(3rem,7vw,4.6rem)}
 .wt-layout{display:flex;flex-direction:column;gap:32px}
 .wt-rail{position:static;order:0;width:100%;padding:20px}
 .wt-page main .wt-rail h2{margin-bottom:10px}
 .wt-rail-cards{display:flex;gap:12px;overflow-x:auto;max-width:100%}
 .wt-rail-cards .wt-take{width:230px;min-width:230px;margin:10px 0}
 .wt-rail>a{min-height:44px}.wt-rail .wt-note{margin-top:0}
 .wt-article{order:1;width:100%}
 .wt-list{gap:16px}.wt-piece-link{padding:24px}
 .wt-list>li:first-child .wt-piece-link{padding:30px}
 .wt-index main{padding:0 0 80px}
 .wt-hero{padding:114px 24px 40px;min-height:auto}
 .wt-index .wt-section-nav,.wt-index main>section{width:calc(100% - 48px)}
 .wt-shelf-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
 .wt-page main{padding:100px 20px 64px}
 .wt-page main h1{font-size:3.15rem;line-height:.95;margin:20px 0 24px}
 .wt-page main h2{font-size:2rem}.wt-page main h3{font-size:1.6rem}
 .wt-kicker{font-size:.7rem;gap:10px}.wt-kicker::before{width:1.6rem}
 .wt-lede{font-size:1.14rem;line-height:1.55}
 .wt-header{padding-bottom:28px}
 .wt-section-nav{gap:4px 20px;margin:14px 0 28px;padding-bottom:12px}
 .wt-section-nav a{font-size:.8rem}
 .wt-index main{padding:0 0 80px}
 .wt-hero{padding:108px 20px 34px;background-position:center right}
 .wt-page .wt-hero h1{font-size:3rem;line-height:.94}
 .wt-index main>.wt-intro{width:calc(100% - 40px);font-size:.94rem;line-height:1.7;margin-top:8px}
 .wt-index .wt-section-nav,.wt-index main>section{width:calc(100% - 40px)}
 .wt-list{grid-template-columns:1fr}
 .wt-list>li:first-child{grid-column:auto}
 .wt-piece-link,.wt-list>li:first-child .wt-piece-link{padding:26px 22px;gap:20px}
 .wt-page main .wt-piece-link h2{font-size:2rem;line-height:1.06}
 .wt-page main .wt-list>li:first-child h2{font-size:2.35rem}
 .wt-piece-link p{font-size:.94rem}
 .wt-meta{gap:8px 16px;font-size:.76rem}
 .wt-prose{font-size:17px;line-height:1.75;max-width:72ch}
 .wt-page main .wt-prose h2{font-size:2rem;margin-top:1.7em}
 .wt-page main .wt-prose h3{font-size:1.65rem}
 .wt-prose ol{padding:24px 20px 24px 44px}
 .wt-prose li{padding-left:2px}
 .wt-prose sup a.wt-fn::before{inset:-14px -7px}
 .wt-mentor-card{margin-bottom:28px;padding-bottom:24px}
 .wt-box,.wt-sources,.wt-next{padding:24px 20px}
 .wt-sources{font-size:.84rem;margin-top:36px}
 .wt-next{grid-template-columns:1fr;gap:24px}
 .wt-next strong{font-size:1.8rem}
 .wt-next .wt-all{justify-self:start}
 .wt-form{margin-top:22px}
 .wt-page button.wt-button{max-width:100%;white-space:normal}
 .wt-page .footer{padding-bottom:150px}
}
@media(prefers-reduced-motion:reduce){.wt-page{scroll-behavior:auto}.wt-page *, .wt-page *::before,.wt-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Mentor take view and shelf lists */
#mentor-piece>.wt-button{margin:0 0 28px}
#mentor-take-label{margin:0 0 10px}
#mentor-take-name{margin:0 0 6px}
#mentor-take-role{margin:0 0 18px}
#mentor-take-philosophy{margin:0 0 30px;padding:14px 18px;border-left:2px solid var(--wt-teal);background:rgba(8,17,31,.5);font-style:italic;line-height:1.7}
#mentor-take-body{margin-bottom:30px}
#mentor-profile-link{display:inline-block;margin-top:6px}
.wt-shelf-list{list-style:none;margin:0;padding:0}
.wt-shelf-list li{padding:16px 0;border-top:1px solid var(--wt-line)}
.wt-shelf-list li:first-child{border-top:0;padding-top:4px}
.wt-shelf-list strong{display:block;font-size:1.05rem}
.wt-shelf-list .wt-by{color:var(--wt-muted);font-size:.9rem}
.wt-shelf-list p{margin:6px 0 0}
.wt-shelf-list .wt-note{margin-top:8px}
.wt-shelf-list li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;align-items:start}
.wt-cover{position:relative;display:grid;place-items:center;width:72px;aspect-ratio:2/3;border:1px solid var(--wt-line);border-radius:4px;background:linear-gradient(160deg,rgba(54,212,199,.18),rgba(8,17,31,.9));overflow:hidden}
.wt-cover>span{font-family:var(--wt-display);font-weight:900;font-size:1.9rem;color:var(--wt-cream);opacity:.7}
.wt-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#0b1626}
@media(max-width:520px){.wt-shelf-list li{grid-template-columns:56px minmax(0,1fr);gap:14px}.wt-cover{width:56px}}

/* Photo section tabs. Labels remain visible and the whole card is a link. */
.wt-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;border:0}
.wt-page main .wt-section-nav a{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:0;padding:0;overflow:hidden;border:1px solid var(--wt-line);border-radius:8px;background:var(--wt-panel);backdrop-filter:blur(12px);box-shadow:0 14px 32px rgba(2,7,15,.2);color:var(--wt-cream);font-size:.96rem;font-weight:750;line-height:1.35;text-decoration:none}
.wt-nav-pieces{--wt-tab-accent:#36d4c7}
.wt-nav-shelf{--wt-tab-accent:#e6b84c}
.wt-nav-mentors{--wt-tab-accent:#7ab8ff}
.wt-nav-photo{display:block;flex:none;width:100%;height:144px;object-fit:cover;object-position:center}
.wt-nav-mentors .wt-nav-photo{object-position:center 38%}
.wt-nav-label{display:flex;align-items:center;justify-content:center;min-width:0;min-height:54px;padding:12px 16px;background:rgba(8,20,35,.94);text-align:center}
.wt-page main .wt-section-nav a:hover{border-color:var(--wt-tab-accent);color:var(--wt-cream)}
.wt-section-nav a:hover .wt-nav-label{background:rgba(17,46,70,.98)}
.wt-page main .wt-section-nav a[aria-current]{border-color:var(--wt-tab-accent)}
.wt-section-nav a[aria-current]::after{content:"";position:absolute;bottom:0;left:22px;right:22px;height:3px;background:var(--wt-tab-accent);border-radius:3px 3px 0 0}
@media(max-width:800px){.wt-page main .wt-section-nav a{font-size:.88rem}.wt-nav-photo{height:120px}.wt-nav-label{min-height:52px;padding:10px 12px}}
@media(max-width:600px){.wt-section-nav{gap:8px}.wt-page main .wt-section-nav a{font-size:.77rem}.wt-nav-photo{height:88px}.wt-nav-label{min-height:52px;padding:8px 5px}.wt-nav-mentors .wt-nav-photo{object-fit:cover;object-position:center 32%}.wt-section-nav a[aria-current]::after{left:14px;right:14px}}
