@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--page-gutter:min(5.5vw,79.2px);--paper:var(--surface);--line:var(--border);--orange:var(--palette-orange);--mint:var(--palette-green)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button,input{font:inherit}a,button,input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:5px}header{max-width:1440px;margin:auto;padding:30px var(--page-gutter);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{font-size:49px;font-weight:400;line-height:1}.brand-dot{color:var(--action)}nav{display:flex;gap:34px;font-size:13px;font-weight:500}.about-link{font-size:13px;border:1px solid var(--ink);padding:9px 18px;border-radius:30px}.about-link span{margin-left:18px}main{max-width:1440px;margin:auto}.hero{display:grid;grid-template-columns:1.1fr 1fr;padding:62px 5.5% 35px;min-height:615px;align-items:center;gap:20px}.eyebrow{font-family:'Space Grotesk',sans-serif;font-size:10px;letter-spacing:1.8px;font-weight:500;line-height:1.8;margin:0 0 23px;display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;border-radius:50%;background:#6b8463;display:inline-block;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Space Grotesk',sans-serif;font-weight:500}h1{font-size:clamp(42px,4.65vw,70px);line-height:1.08;letter-spacing:-3.7px;margin-bottom:26px}h1 em{font-style:normal;color:var(--action)}h2{font-size:36px;line-height:1.16;letter-spacing:-1.6px;margin-bottom:15px}h3{font-size:23px;line-height:1.25;letter-spacing:-.7px;margin:12px 0}.hero-description{font-size:16px;max-width:370px;color:var(--muted);line-height:1.8;margin-bottom:28px}.button{display:inline-flex;background:var(--action);color:var(--surface);padding:13px 21px;border-radius:4px;font-size:13px;gap:37px;align-items:center}.button:hover{background:var(--action-hover)}.hero-foot{display:flex;gap:36px;margin-top:49px;font-family:'Space Grotesk',sans-serif;font-size:9px;letter-spacing:1px;color:var(--muted)}.hero-visual{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.hero-visual img{width:100%;display:block}.visual-note{font-size:11px;color:var(--muted);text-align:right;margin-top:-15px}.ticker{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:22px 5.5%;gap:15px}.ticker span{font-size:9px;letter-spacing:1.5px;margin-right:25px;color:var(--muted)}.ticker b{font-family:'Space Grotesk',sans-serif;font-size:17px;font-weight:400}.ticker i{font-size:17px;font-style:normal;color:var(--action)}.journal{padding:73px 5.5% 70px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.section-head .eyebrow{margin-bottom:15px}.section-head h2{margin-bottom:0}.text-link{font-size:12px;border-bottom:1px solid var(--ink);padding-bottom:4px;display:inline-block;white-space:nowrap}.section-description{color:var(--muted);font-size:14px;margin-top:17px}.journal-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:31px 0 13px}.filters{display:flex;gap:8px}.filters button{background:transparent;border:1px solid var(--line);border-radius:30px;padding:6px 17px;font-size:12px;color:var(--ink);cursor:pointer}.filters button[aria-pressed=true]{background:var(--action);color:var(--surface);border-color:var(--action)}.search{display:flex;align-items:center;border-bottom:1px solid var(--line)}.search input{border:0;background:transparent;padding:8px 0;font-size:12px;color:var(--ink);width:165px}.search span{font-size:23px}.entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}.entry[hidden]{display:none}.entry-art{height:207px;display:block;position:relative;overflow:hidden;border:1px solid var(--border);background:var(--blue-soft)}.entry-art .art-circle{display:block;position:absolute;width:119px;height:119px;border:1px solid var(--ink);border-radius:50%;left:calc(50% - 60px);top:36px}.entry-art .art-line{position:absolute;width:220px;height:64px;border:1px solid var(--ink);border-radius:50%;left:calc(50% - 110px);top:62px;transform:rotate(-30deg)}.entry-art.orbital:after{content:'';width:17px;height:17px;border-radius:50%;background:var(--orange);border:1px solid var(--ink);position:absolute;top:64px;left:30%}.art-label{position:absolute;bottom:13px;left:15px;font-family:monospace;font-size:9px;letter-spacing:1px}.art-arrow{position:absolute;right:15px;top:8px;font-size:23px}.entry-art.wave{background:var(--violet-soft)}.wave .art-circle{width:230px;height:230px;border-radius:42%;top:41px;left:calc(50% - 115px);transform:rotate(35deg);box-shadow:0 0 0 13px var(--violet-soft),0 0 0 14px var(--ink),0 0 0 27px var(--violet-soft),0 0 0 28px var(--ink),0 0 0 41px var(--violet-soft),0 0 0 42px var(--ink)}.wave .art-line{display:none}.entry-art.grid{background-color:var(--blue-soft);background-image:linear-gradient(#20273712 1px,transparent 1px),linear-gradient(90deg,#20273712 1px,transparent 1px);background-size:25px 25px}.grid .art-circle{border-radius:0;transform:rotate(-25deg);background:var(--paper);width:94px;height:94px;left:calc(50% - 47px);top:49px;box-shadow:15px 15px 0 var(--ink)}.grid .art-line{border-radius:0;width:50px;height:50px;left:calc(50% - 25px);top:71px;transform:rotate(-25deg)}.entry-art:hover .art-arrow{transform:translate(3px,-3px)}.entry-meta{font-size:10px;margin-top:21px;color:var(--action)}.entry-meta span{color:var(--muted)}.entry p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:20px}.read-link{font-size:11px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px}.lower-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 5.5%}.books-block{padding:45px 40px 30px 0;border-right:1px solid var(--line)}.lower-grid h2{font-size:30px}.lower-grid p:not(.eyebrow){font-size:13px;color:var(--muted);max-width:360px}.books-block .section-head{align-items:flex-start}.book-spines{height:110px;border-bottom:1px solid var(--ink);display:flex;align-items:flex-end;gap:7px;margin:24px 0 16px}.book-spines span{border:1px solid var(--ink);height:92px;width:42px;background:var(--orange-soft);writing-mode:vertical-rl;text-align:center;font-size:9px;letter-spacing:1.5px;padding:8px}.book-spines span:nth-child(2){height:106px;width:50px;background:var(--green-soft);transform:rotate(-8deg);margin-left:7px;margin-right:6px}.book-spines span:nth-child(3){background:var(--violet-soft);height:98px}.book-spines i{font-style:normal;font-size:70px;margin-left:auto;margin-right:17px;line-height:1.2;font-weight:400}.quiet{font-size:11px!important}.now-block{padding:45px 0 35px 43px}.now-block .eyebrow{margin-bottom:14px}.now-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:13px;align-items:center;padding:20px 0;margin:24px 0}.now-row div{flex:1}.now-row strong{font-size:12px;font-weight:500;display:block}.now-row small{font-size:11px;color:var(--muted)}.closing{padding:65px 5.5%;display:flex;align-items:center;gap:27px}.closing>span{font-size:70px;line-height:1;color:var(--action)}.closing p{font-family:'Space Grotesk',sans-serif;font-size:27px;line-height:1.2;letter-spacing:-1px;margin:0}.closing a{margin-left:auto;font-size:12px}footer{background:var(--ink);color:var(--paper);padding:38px 5.5% 25px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:15px}.footer-brand-icon{margin-left:14px}footer p{font-size:12px;color:#D6DEEB;margin:0}footer>div{display:flex;gap:24px;font-size:11px}footer small{font-size:10px;color:#D6DEEB}.page-intro{padding:75px 5.5% 40px;max-width:900px}.page-intro h1{font-size:60px}.page-intro>p:last-child{color:var(--muted);max-width:550px}.content-panel{margin:0 5.5% 90px;padding:40px;border:1px solid var(--line);max-width:820px}.content-panel p{max-width:650px}.content-panel hr{border:0;border-top:1px solid var(--line);margin:35px 0}.content-panel .button{margin-top:20px}.empty{padding:55px}.empty-symbol{font-size:60px;color:var(--action)}.reading-list{list-style:none;padding:0}.reading-list li{border-bottom:1px solid var(--line);padding:20px 0}.reading-list span{display:block;color:var(--muted);font-size:13px}.post{max-width:800px;margin:auto;padding:65px 35px 90px}.post>.eyebrow{margin-top:45px}.post h1{font-size:58px}.post-summary{font-size:20px;color:var(--muted)}.post .prose{font-size:17px;line-height:1.95;margin:42px 0}.prose h2{font-size:29px;margin-top:35px}.skip{position:fixed;left:15px;top:-100px;background:var(--ink);color:white;padding:12px;z-index:10}.skip:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
@media(min-width:1500px){footer{padding-left:calc((100vw - 1280px)/2);padding-right:calc((100vw - 1280px)/2)}}
@media(max-width:900px){header{padding:23px var(--page-gutter)}nav{gap:18px}.hero{padding-top:45px;min-height:540px}h1{letter-spacing:-2px}.hero-foot{gap:14px;font-size:8px}.eyebrow{font-size:8px;letter-spacing:1.2px}.entries{gap:18px}.entry-art{height:180px}.lower-grid h2{font-size:26px}.books-block{padding-right:25px}.now-block{padding-left:25px}.books-block .section-head{display:block}.books-block .text-link{margin-top:15px}.ticker span{margin-right:0}.ticker b{font-size:14px}.closing a{max-width:130px}}
@media(max-width:640px){:root{--page-gutter:6vw}header{flex-wrap:wrap;gap:20px}.brand-icon{font-size:40px}nav{order:3;width:100%;justify-content:space-between;font-size:12px;gap:10px}.about-link{font-size:11px;padding:7px 13px}.hero{grid-template-columns:1fr;padding:39px 6% 25px;gap:0}.hero h1{font-size:49px;letter-spacing:-2.8px}.hero .eyebrow{font-size:8px}.hero-description{font-size:15px}.hero-foot{margin-top:30px;justify-content:space-between}.hero-visual{max-width:400px;width:100%;margin:7px auto 0}.hero-visual img{max-height:330px}.visual-note{font-size:10px;margin-top:-5px}.ticker{padding:18px 6%;gap:11px;flex-wrap:wrap;justify-content:flex-start}.ticker span{width:100%;font-size:8px}.ticker b{font-size:13px}.ticker i{font-size:12px}.journal{padding:45px 6%}.section-head{gap:14px}h2{font-size:29px}.text-link{font-size:10px}.section-description{font-size:13px}.journal-tools{align-items:stretch;flex-direction:column;gap:13px;margin-top:23px}.filters button{font-size:11px;padding:6px 16px}.search input{width:100%;flex:1}.entries{grid-template-columns:1fr;gap:34px}.entry-art{height:230px}.entry-art .art-circle{top:48px}.entry-art .art-line{top:75px}.wave .art-circle{top:60px}.grid .art-circle{top:60px}.grid .art-line{top:82px}.entry h3{font-size:25px}.entry p{font-size:14px}.lower-grid{grid-template-columns:1fr;margin:0 6%}.books-block{padding:35px 0;border-right:0;border-bottom:1px solid var(--line)}.books-block .section-head{display:flex}.books-block .text-link{margin-top:0}.now-block{padding:35px 0}.lower-grid h2{font-size:30px}.lower-grid p:not(.eyebrow){max-width:none}.closing{padding:38px 6%;flex-wrap:wrap;gap:20px}.closing>span{font-size:55px}.closing p{font-size:25px}.closing a{margin-left:75px;max-width:none;font-size:11px}footer{padding:30px 6%;grid-template-columns:1fr;gap:17px}footer>div{flex-wrap:wrap}.page-intro{padding:45px 6% 25px}.page-intro h1{font-size:45px;letter-spacing:-2px}.content-panel{padding:25px;margin:0 6% 55px}.post{padding:40px 6% 60px}.post h1{font-size:43px;letter-spacing:-2px}.post-summary{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Reserve Celestial Orbit for brand signatures. */
/* The logo wordmark: one class for every instance (header, footer), so the logo never appears in a different font. */
.wordmark{font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:700;font-style:normal;line-height:1.04;letter-spacing:-.7px;text-transform:none;white-space:nowrap}
@media(max-width:640px){.wordmark{font-size:14px}}
footer .brand-dot{color:var(--footer-accent)}
.brand-icon{display:flex;flex-shrink:0}.brand-icon img{display:block;width:48px;height:48px}.footer-brand{display:inline-flex;align-items:center}.footer-brand img{display:block}
.ticker .orbit-interest{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.orbit-interest img{width:22px;height:22px;display:block;flex-shrink:0}
@media(max-width:640px){.brand-icon img{width:42px;height:42px}.orbit-interest img{width:19px;height:19px}.ticker{column-gap:18px;row-gap:14px}}

/* White-led editorial system: see docs/style-guide.html and assets/tokens.json. */
body{background:var(--surface)}
.hero{padding-top:72px;padding-bottom:45px}.hero h1{font-size:clamp(44px,4.65vw,68px)}
.hero .eyebrow,.hero-foot,.ticker>span{font-size:11px;letter-spacing:1.2px}
.hero-foot{flex-wrap:wrap;gap:20px}.eyebrow{font-size:11px;letter-spacing:1.5px}
.section-description,.entry p{font-size:15px}.entry-meta,.read-link,.quiet{font-size:12px!important}
.art-label{font-size:11px}.entry-art{border-color:var(--border)}.orbital .art-circle{background:var(--surface)}
.entry-art.orbital:after{background:var(--palette-blue)}
.lower-grid{border-bottom:0;gap:24px;padding-top:32px}.books-block{background:var(--green-soft);border:0;border-top:4px solid var(--green-ink);padding:32px}.now-block{background:var(--pink-soft);border-top:4px solid var(--brand-pink);padding:32px}
.lower-grid p:not(.eyebrow){font-size:14px}.now-row strong{font-size:14px}.now-row small{font-size:12px}
.closing>span{color:var(--action)}.closing{padding-top:64px;padding-bottom:64px}
.text-link{color:var(--action);border-color:currentColor}.read-link:hover,.entry h3 a:hover,nav a:hover{color:var(--action)}
.status-dot{background:var(--green-ink)}.button{background:var(--gradient-brand);border-radius:6px;min-height:44px;font-size:14px;transition:background-color .15s ease}
.button:hover{background:var(--gradient-brand);box-shadow:0 4px 14px #7040c426}.button-secondary{background:var(--surface);color:var(--action);border:1px solid var(--action)}.button-secondary:hover{background:var(--blue-soft)}
.filters button{min-height:40px}.filters button:disabled{opacity:1;cursor:default}
.post .prose{max-width:66ch}.prose a{border-bottom:1px solid var(--ink);padding-bottom:1px}.prose blockquote,.quote-block{margin:32px 0;background:var(--blue-soft);border:0;border-left:3px solid var(--action);padding:24px 28px}
.prose blockquote p,.quote-block blockquote p{font-family:'Space Grotesk',sans-serif;font-size:23px;line-height:1.5;color:var(--ink);margin:0;letter-spacing:-.3px}
.quote-block blockquote{margin:0}.quote-block figcaption{font-size:12px;color:var(--muted);margin-top:16px}
.highlight-block{background:var(--violet-soft);padding:28px}.highlight-block .eyebrow{color:var(--violet-ink)}
footer>div{flex-wrap:wrap;row-gap:12px}footer small{font-size:11px}footer a:focus-visible{outline-color:var(--surface)}
.style-guide{padding:0 5.5% 64px}.guide-intro{max-width:1000px}.guide-intro h1{max-width:750px}
.guide-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:32px 0 0}.guide-links a{font-size:13px;color:var(--action);text-decoration:underline;text-underline-offset:5px}
.guide-section{padding:48px 0;border-top:1px solid var(--border)}.guide-section>p:not(.eyebrow){max-width:72ch;color:var(--muted)}
.swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:32px 0 48px}.swatch{display:flex;flex-direction:column;gap:5px}.swatch-colour{height:82px;border-radius:6px;margin-bottom:7px}.swatch strong{font-size:15px;font-weight:500}.swatch code{font-size:12px;color:var(--muted)}.swatch small{font-size:12px;color:var(--muted)}
.guide-split{display:grid;grid-template-columns:1fr 1fr;gap:48px}.guide-split>div,.guide-split>aside{min-width:0}.guide-split p{font-size:15px;color:var(--muted)}
.guide-split h3{font-size:23px;margin:0 0 16px}.neutral-swatches{display:flex;gap:24px;margin:24px 0;flex-wrap:wrap}.neutral-swatches>div{font-size:12px;display:flex;flex-direction:column;gap:8px}.neutral-swatches span{display:block;width:54px;height:38px;border:1px solid var(--border);border-radius:4px}.neutral-swatches code{color:var(--muted)}
.colour-budget{display:flex;height:36px;margin:28px 0;border-radius:4px;overflow:hidden}.colour-budget span:nth-child(1){width:70%;background:var(--surface-subtle)}.colour-budget span:nth-child(2){width:20%;background:var(--blue-soft)}.colour-budget span:nth-child(3){width:10%;background:var(--gradient-brand)}
.type-specimen{padding:28px;background:var(--surface-subtle)}.type-specimen .type-display{font-family:'Space Grotesk',sans-serif;font-size:42px;line-height:1.1;letter-spacing:-1.8px;color:var(--ink);margin:18px 0 24px}.type-specimen p:not(.eyebrow):not(.type-display){font-size:17px;line-height:1.9}
.spec-list{margin:0}.spec-list dt{font-size:14px;font-weight:500;color:var(--ink)}.spec-list dd{font-size:14px;color:var(--muted);margin:4px 0 20px}
.component-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.guide-caption{font-size:12px!important;margin:18px 0}.category-label{font-size:12px;color:var(--action)}.guide-examples{margin-top:40px;align-items:start}.guide-examples .quote-block{margin:0}.guide-examples .quote-block p{color:var(--ink)}
.guide-rules{padding-left:20px;font-size:14px;color:var(--muted)}.guide-rules li{margin-bottom:12px}.guide-accessibility{margin-top:32px;padding:28px;background:var(--surface-subtle)}.guide-accessibility p{max-width:85ch;margin-bottom:0;color:var(--muted)}
@media(max-width:900px){.hero .eyebrow{font-size:10px}.hero-foot{font-size:10px}.lower-grid{gap:16px}.books-block,.now-block{padding:25px}.guide-split{gap:30px}}
@media(max-width:640px){.hero{padding-top:40px}.hero h1{font-size:49px}.hero .eyebrow{font-size:10px}.hero-foot{font-size:10px;letter-spacing:.5px;gap:10px}.ticker>span{font-size:11px}.lower-grid{padding-top:24px;gap:20px}.books-block,.now-block{padding:24px}.closing{padding-top:40px;padding-bottom:40px}.style-guide{padding:0 6% 40px}.guide-section{padding:36px 0}.guide-split{grid-template-columns:1fr;gap:28px}.swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:32px}.swatch-colour{height:68px}.guide-examples{margin-top:30px}.guide-intro h1{font-size:43px}.type-specimen{padding:22px}.type-specimen .type-display{font-size:36px}.prose blockquote,.quote-block{padding:20px}.button{gap:20px}}
@media(prefers-reduced-motion:reduce){.button{transition:none}}

/* More expressive section colour, held together by one brand gradient. */
.hero h1 em{color:var(--brand-purple);background:var(--gradient-brand);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-visual{background:radial-gradient(ellipse at center, #ece5ff80, #fce3ef35 42%, transparent 68%)}
.ticker{background:var(--violet-soft);border-color:transparent}
#journal{border-top:4px solid var(--brand-blue);background:linear-gradient(180deg,var(--blue-soft),var(--surface) 190px)}
.entry[data-category="Thoughts"] .entry-art{background-color:var(--blue-soft);border-top:3px solid var(--brand-blue)}
.entry[data-category="Interests"] .entry-art{background-color:var(--cyan-soft);border-top:3px solid var(--brand-blue)}
.entry[data-category="Work"] .entry-art{background-color:var(--violet-soft);border-top:3px solid var(--brand-purple)}
.entry[data-category="Work"] .entry-meta{color:var(--brand-purple)}.entry[data-category="Interests"] .entry-meta{color:var(--brand-blue)}
.filters button[aria-pressed=true]{background:var(--gradient-brand);border-color:transparent}
.closing{margin-top:40px;background:var(--gradient-brand);color:var(--surface)}.closing>span{color:var(--surface)}.closing a{text-decoration:underline;text-underline-offset:5px}.closing a:focus-visible{outline-color:var(--surface)}
.page-work .page-intro,.page-reading .page-intro,.page-now .page-intro,.page-next .page-intro,.page-journal>.page-intro{max-width:none}
.page-work .page-intro{background:var(--violet-soft);border-top:4px solid var(--brand-purple)}
.page-reading .page-intro{background:var(--green-soft);border-top:4px solid var(--green-ink)}
.page-now .page-intro,.page-next .page-intro{background:var(--pink-soft);border-top:4px solid var(--brand-pink)}
.page-journal .page-intro{background:var(--blue-soft);border-top:4px solid var(--brand-blue)}
.page-work .journal,.page-reading .content-panel,.page-now .content-panel,.page-next .content-panel{margin-top:32px}
.gradient-specimen{background:var(--gradient-brand);color:var(--surface);padding:36px;border-radius:6px;margin:28px 0 40px}.gradient-specimen h3{font-size:30px;margin:0 0 12px}.gradient-specimen p{margin:0;max-width:65ch}.gradient-specimen code{font-size:12px;display:block;margin-top:18px}
@media(forced-colors:active){.hero h1 em{-webkit-text-fill-color:currentColor;background:none}.button,.filters button[aria-pressed=true]{border:1px solid ButtonText}.closing{color:CanvasText}}

/* Play: a warm, relaxed counterpoint to Work. */
.play-block{margin:32px 5.5% 0;padding:36px;background:var(--play-soft);border-top:4px solid var(--play-ink);display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:32px}
.play-block .eyebrow,.play-block .text-link{color:var(--play-ink)}.play-block p:not(.eyebrow){max-width:55ch;color:var(--muted);font-size:15px}.play-block h2{margin-bottom:16px}
.play-art{display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center}.play-art span{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:1px;color:var(--play-ink);text-align:center}
.page-play .page-intro{max-width:none;background:var(--play-soft);border-top:4px solid var(--play-ink)}.page-play .content-panel,.page-play .journal{margin-top:32px}.page-play .empty>img{margin-bottom:20px}
.entry[data-category="Play"] .entry-art{background-color:var(--play-soft);border-top:3px solid var(--play-ink)}.entry[data-category="Play"] .entry-meta{color:var(--play-ink)}
.filters{flex-wrap:wrap}.ticker{flex-wrap:wrap}
@media(min-width:641px) and (max-width:900px){header{flex-wrap:wrap}nav{order:3;width:100%;justify-content:space-between;gap:16px}}
@media(max-width:640px){nav{flex-wrap:wrap;justify-content:flex-start;gap:12px 22px}.play-block{margin:24px 6% 0;padding:24px;grid-template-columns:1fr;gap:24px}.play-art{flex-direction:row;justify-content:flex-start;gap:20px}.play-art img{width:68px;height:68px}.play-art span{max-width:160px;text-align:left}}

/* Neutral blocks, section-specific gradient rules. Closing band is preserved. */
.hero-visual{background:none}.ticker{background:var(--surface-subtle)}
#journal,.books-block,.now-block,.play-block,.entry-art,.highlight-block,.quote-block,.prose blockquote,.content-panel,.type-specimen,.guide-accessibility{background-color:var(--surface-subtle)}
#journal{background-image:none}.books-block,.now-block,.play-block,#journal,.entry-art,.page-intro,.post{position:relative}
.books-block,.now-block,.play-block,#journal,.entry-art,.page-work .page-intro,.page-reading .page-intro,.page-now .page-intro,.page-next .page-intro,.page-journal .page-intro,.page-play .page-intro{border-top:0}
.books-block{--section-gradient:var(--gradient-books)}.now-block{--section-gradient:var(--gradient-now)}.play-block{--section-gradient:var(--gradient-play)}
#journal{--section-gradient:var(--gradient-thoughts)}
.entry[data-category="Work"],main[data-section="work"]{--section-gradient:var(--gradient-work)}
.entry[data-category="Thoughts"],main[data-section="thoughts"]{--section-gradient:var(--gradient-thoughts)}
.entry[data-category="Interests"],main[data-section="interests"]{--section-gradient:var(--gradient-interests)}
.entry[data-category="Play"],main[data-section="play"]{--section-gradient:var(--gradient-play)}
main[data-section="books"]{--section-gradient:var(--gradient-books)}main[data-section="now"]{--section-gradient:var(--gradient-now)}
.books-block::before,.now-block::before,.play-block::before,#journal::before,.entry-art::before,.page-work .page-intro::before,.page-reading .page-intro::before,.page-now .page-intro::before,.page-next .page-intro::before,.page-play .page-intro::before,.page-journal .page-intro::before,.post::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--section-gradient,var(--gradient-strip));z-index:1}
.entry[data-category] .entry-art{border-top:0;background-color:var(--surface-subtle)}
.page-work .page-intro,.page-reading .page-intro,.page-now .page-intro,.page-next .page-intro,.page-play .page-intro,.page-journal .page-intro{background:var(--surface-subtle)}
.entry[data-category] .entry-meta,.play-block .eyebrow,.play-art span{color:var(--muted)}.play-block .text-link{color:var(--action)}
.prose blockquote,.quote-block{border-left:0;position:relative}.prose blockquote::before,.quote-block::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--section-gradient,var(--gradient-brand))}
.closing{background:var(--gradient-closing)}.quote-closing{align-items:center}.quote-closing figure{margin:0;max-width:850px}.quote-closing blockquote{margin:0}.quote-closing p{color:var(--surface)}.quote-closing .eyebrow{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:1.5px;margin-bottom:18px}.quote-closing figcaption{font-size:13px;margin-top:18px}.quote-closing .quote-placeholder{font-size:25px}.quote-closing blockquote p{font-size:clamp(24px,3vw,36px)}
.section-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.section-line{background:var(--surface-subtle);padding:20px;position:relative}.section-line::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--section-gradient,var(--gradient-strip))}.section-line strong{font-size:15px;font-weight:500}.section-line p{font-size:13px;color:var(--muted);margin:8px 0 0}
@media(max-width:640px){.quote-closing figure{flex:1;min-width:0}.quote-closing .quote-placeholder{font-size:22px}.section-lines{grid-template-columns:1fr}}

/* Section label and title colours use readable companions to the gradient rules. */
.entry[data-category="Work"],main[data-section="work"]{--section-ink:var(--work-ink)}
.entry[data-category="Thoughts"],main[data-section="thoughts"]{--section-ink:var(--thoughts-ink)}
.entry[data-category="Interests"],main[data-section="interests"]{--section-ink:var(--interests-ink)}
.entry[data-category="Play"],main[data-section="play"]{--section-ink:var(--play-ink)}
main[data-section="books"],.books-block{--section-ink:var(--books-ink)}
main[data-section="now"],.now-block{--section-ink:var(--now-ink)}
#journal{--section-ink:var(--thoughts-ink)}.play-block{--section-ink:var(--play-ink)}
.entry[data-category] .entry-meta{color:var(--section-ink,var(--ink))}
.entry[data-category] h3{color:var(--ink)}
.entry .entry-meta span{color:inherit}.entry h3 a:hover{color:inherit;text-decoration:underline;text-underline-offset:4px}
.page-intro>.eyebrow,.post>.eyebrow,.post-text>.eyebrow,.books-block .eyebrow,.now-block>.eyebrow,.play-block .eyebrow,#journal .section-head .eyebrow{color:var(--section-ink,var(--muted))}
.section-line strong{color:var(--section-ink,var(--ink))}.category-label{color:var(--thoughts-ink)}

/* Topic icon colour mirrors its closest section; labels stay in ink. */
.orbit-interest svg{display:block;width:22px;height:22px;flex-shrink:0}
.orbit-interest[data-section="work"] svg{color:#146BDA}
.orbit-interest[data-section="thoughts"] svg{color:#0C7A94}
.orbit-interest[data-section="interests"] svg{color:#C43878}
.orbit-interest[data-section="play"] svg{color:#7954D2}
.orbit-interest[data-section="books"] svg{color:#118066}
.orbit-interest[data-section="now"] svg{color:#AC5701}
@media(max-width:640px){.orbit-interest svg{width:19px;height:19px}}

/* Social accounts on About are profile links. Posts stay on X. */

/* About: an owner-supplied hero, portrait, and a quiet personal soundtrack. */
.about-masthead{padding:40px 5.5% 0}.about-cover{position:relative;min-height:260px;background:var(--surface-subtle);overflow:hidden;border-top:4px solid transparent;border-image:var(--gradient-strip) 1}
.about-banner-image{width:100%;height:320px;object-fit:cover;display:block}.banner-placeholder{min-height:260px;padding:44px 40px;display:flex;flex-direction:column;justify-content:center;gap:12px;background-image:linear-gradient(#1D233008 1px,transparent 1px),linear-gradient(90deg,#1D233008 1px,transparent 1px);background-size:36px 36px}.banner-placeholder .eyebrow{color:var(--action);margin:0}.banner-placeholder>span:last-child{font-family:'Space Grotesk',sans-serif;font-size:30px;letter-spacing:-1px;color:var(--muted)}
.about-identity{display:grid;grid-template-columns:132px minmax(0,1fr);gap:32px;padding:0 36px}.about-portrait{margin-top:-56px;position:relative;width:132px;height:132px;border:7px solid var(--surface);border-radius:50%;background:var(--surface-subtle);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.portrait-image{width:100%;height:100%;object-fit:cover}.portrait-initials{font-family:'Space Grotesk',sans-serif;font-size:37px;color:var(--muted);letter-spacing:-2px}.about-identity>div:last-child{padding-top:32px}.about-identity h1{font-size:clamp(40px,4vw,58px);letter-spacing:-2.5px}.about-intro{max-width:55ch;color:var(--muted)}
.now-playing{display:inline-flex;align-items:center;gap:14px;max-width:100%;padding:14px 18px;background:var(--surface-subtle);border-radius:6px;margin:8px 0 22px;overflow:visible}.record-icon{display:block;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:repeating-radial-gradient(circle,var(--ink) 0 3px,#465065 4px 5px);position:relative;overflow:visible}.record-icon::after{content:"";position:absolute;inset:12px;border-radius:50%;background:#D51007}.record-wave{position:absolute;inset:-7px;border-radius:50%;border:2px solid #D51007;opacity:0;pointer-events:none}.record-wave--2{inset:-12px}.now-playing.is-playing .record-wave--1{animation:record-wave 1.4s ease-out infinite}.now-playing.is-playing .record-wave--2{animation:record-wave 1.4s ease-out .35s infinite}@keyframes record-wave{0%{opacity:.65;transform:scale(.72)}100%{opacity:0;transform:scale(1.2)}}@media(prefers-reduced-motion:reduce){.now-playing.is-playing .record-wave--1,.now-playing.is-playing .record-wave--2{animation:none;opacity:0}}#music-status{min-width:0}.music-state{display:block;font-size:10px;letter-spacing:1.4px;color:var(--muted);margin-bottom:3px}.music-track{font-size:13px;display:block;overflow-wrap:anywhere;color:var(--ink)}.music-arrow{margin-left:14px;color:var(--action);flex-shrink:0}.about-bio{margin:36px 5.5% 20px;padding:0 36px 0 200px;max-width:1040px}.about-bio p:not(.eyebrow){color:var(--muted);font-size:16px;line-height:1.85}
.music-section{margin:0 5.5% 64px;padding:36px;background:var(--surface-subtle);position:relative}.music-section::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--gradient-strip)}.music-section .eyebrow{color:var(--brand-purple)}.music-section h2{font-size:31px}.music-empty{padding:20px 0;color:var(--muted);margin:0;font-size:14px}.music-window{font-size:12px;color:var(--muted);margin:24px 0 12px}.artist-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 40px}.artist-list li{padding:18px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:15px;min-width:0}.artist-rank{font-family:'Space Grotesk',sans-serif;color:var(--muted);font-size:12px;min-width:20px}.artist-list a{font-family:'Space Grotesk',sans-serif;font-size:17px;overflow-wrap:anywhere;min-width:0}.artist-list a:hover{text-decoration:underline;text-underline-offset:4px}.artist-plays{margin-left:auto;white-space:nowrap;font-size:12px;color:var(--muted)}
@media(max-width:900px){.about-identity{padding:0;gap:24px;grid-template-columns:110px minmax(0,1fr)}.about-portrait{width:110px;height:110px}.about-bio{padding-left:134px;padding-right:0}.artist-list{gap:0 24px}.artist-list a{font-size:15px}}
@media(max-width:640px){.about-masthead{padding:25px 6% 0}.about-cover,.banner-placeholder{min-height:210px}.banner-placeholder{padding:30px 24px}.banner-placeholder>span:last-child{font-size:25px;max-width:220px}.banner-placeholder .eyebrow{font-size:9px}.about-banner-image{height:230px}.about-identity{grid-template-columns:1fr;gap:0}.about-portrait{margin-top:-45px;margin-left:18px;width:98px;height:98px;border-width:6px}.portrait-initials{font-size:31px}.about-identity>div:last-child{padding-top:24px}.about-identity h1{font-size:42px;letter-spacing:-2px}.about-bio{margin:24px 6% 12px;padding:0}.now-playing{padding:12px;gap:11px;width:100%}.music-arrow{margin-left:auto}.music-section{margin:0 6% 44px;padding:25px}.music-section .section-head{align-items:flex-start;flex-direction:column;gap:14px}.music-section h2{font-size:28px}.artist-list{grid-template-columns:1fr}.artist-list a{font-size:17px}}

/* About uses one text inset, with Now Playing attached to the hero image. */
.page-about{--about-inset:40px}
.page-about .banner-placeholder{padding-left:var(--about-inset);padding-right:var(--about-inset)}
.page-about .about-identity{display:block;padding:0 var(--about-inset)}
.page-about .about-portrait{margin-left:0}
.page-about .about-identity>div:last-child{padding-top:24px}
.page-about .about-bio{padding-left:var(--about-inset);padding-right:var(--about-inset)}
.page-about .music-section{padding-left:var(--about-inset);padding-right:var(--about-inset)}
.about-cover>.now-playing{position:absolute;top:20px;right:20px;z-index:2;margin:0;width:auto;max-width:min(360px,calc(100% - 40px));background:var(--surface);border:1px solid var(--border);box-shadow:0 4px 18px #1D23300D}
.about-cover .music-track{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.page-about .quote-closing{position:relative;padding-left:calc(5.5% + var(--about-inset));padding-right:calc(5.5% + var(--about-inset))}
.page-about .quote-closing>span{position:absolute;right:5.5%;top:24px;opacity:.2;pointer-events:none}
@media(max-width:640px){.page-about{--about-inset:24px}.about-cover>.now-playing{top:16px;right:16px;max-width:calc(100% - 32px);gap:10px}.about-cover .music-arrow{margin-left:4px}.page-about .banner-placeholder{padding-top:125px;padding-bottom:35px;min-height:280px}.page-about .quote-closing{padding-left:calc(6% + var(--about-inset));padding-right:calc(6% + var(--about-inset))}}


/* About banner artwork: keep Sanele in frame, a taller desktop band, and Now Playing off his face. */
.about-banner-image{object-fit:cover;object-position:100% 15%}
@media(min-width:641px){.about-banner-image{height:clamp(360px,calc(100vw / 2.3),560px)}}
.about-cover:has(.about-banner-image)::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(115deg,rgba(29,35,48,.30) 0%,rgba(29,35,48,.10) 32%,transparent 48%)}
.about-cover:has(.about-banner-image)>.now-playing{left:16px;right:auto;max-width:228px}
@media(min-width:641px){.about-cover:has(.about-banner-image)::after{background:linear-gradient(to top left,rgba(29,35,48,.42) 0%,rgba(29,35,48,.18) 20%,transparent 42%)}.about-cover:has(.about-banner-image)>.now-playing{left:auto;top:auto;right:24px;bottom:24px;max-width:min(360px,36%)}}

/* Homepage lower sections share the Field Notes/banner outer edges and content gutters. */
.page-home{--home-gutter:var(--page-gutter)}
.page-home .hero,.page-home .ticker,.page-home #journal,.page-home .closing{padding-inline:var(--home-gutter)}
.page-home .lower-grid{margin-inline:0}
.page-home .books-block{padding-inline-start:var(--home-gutter)}
.page-home .now-block{padding-inline-end:var(--home-gutter)}
.page-home .play-block{margin-inline:0;padding-inline:var(--home-gutter)}
@media(max-width:640px){.page-home .books-block,.page-home .now-block{padding-inline:var(--home-gutter)}}

/* Fit each gradient to its word; the headline block keeps a stable line height. */
.hero-rotating{display:inline-block}
.hero h1 em.hero-rotating[data-word="learn"]{background:var(--gradient-headline-learn);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero h1 em.hero-rotating[data-word="create"]{background:var(--gradient-headline-create);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero h1 em.hero-rotating[data-word="play"]{background:var(--gradient-headline-play);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
@media(forced-colors:active){.hero h1 em.hero-rotating[data-word]{background:none;-webkit-text-fill-color:currentColor}}

/* Full-width bands; shared gutters keep their text aligned. */
body{font-variant-emoji:text}
.page-intro,.guide-intro{max-width:none;padding-inline:var(--page-gutter);background-color:var(--surface-subtle)}
.journal,.closing{padding-inline:var(--page-gutter)}
.content-panel{max-width:none;margin-inline:0;padding-inline:var(--page-gutter)}
.post{max-width:none;margin-inline:0;padding-inline:var(--page-gutter);background:var(--surface-subtle)}
.post .prose{max-width:66ch}
.page-about .about-masthead{padding-inline:0}
.page-about .about-identity{padding-inline:var(--page-gutter)}
.page-about .about-bio,.page-about .music-section{max-width:none;margin-inline:0;padding-inline:var(--page-gutter)}
.page-about .banner-placeholder{padding-inline:var(--page-gutter)}
.page-about .quote-closing{padding-inline:var(--page-gutter)}
.series-shelf{display:flex;flex-direction:column;gap:24px;margin-top:28px}
.book-front{position:relative;border:1px solid var(--books-ink);border-left:8px solid var(--books-ink);padding:24px;background:var(--surface);box-shadow:5px 5px 0 #21634A18}
.book-front strong{font-family:'Space Grotesk',sans-serif;font-size:30px;line-height:1.2}
.series-shelf strong,.series-shelf span,.series-shelf small{display:block;overflow-wrap:anywhere}
.series-shelf span{color:var(--muted);font-size:14px;margin-top:6px}
.series-shelf small{color:var(--books-ink);font-size:12px;margin-top:8px}
.series-shelf .eyebrow{color:var(--books-ink);margin-bottom:12px}
.read-path ol{list-style:none;padding:0;margin:0;counter-reset:read;display:grid;gap:0}
.read-path li{counter-increment:read;position:relative;padding:12px 0 12px 32px;border-left:1px solid var(--books-ink)}
.read-path li:before{content:counter(read);position:absolute;left:8px;top:12px;color:var(--books-ink);font-size:12px}
.read-path strong{font-size:15px;font-weight:500}
.shelf-open{margin:24px 0 0;color:var(--muted);font-size:13px}
/* On /reading/ the note sits directly in <main>, so give it the page gutter like every other band. */
main>.shelf-open{margin:24px 0 48px;padding-inline:var(--page-gutter)}
.game-set{margin:24px 0}.game-set .eyebrow{color:var(--play-ink);margin-bottom:12px}
.game-set ul{list-style:none;display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:0}
.game-set li{border:1px solid var(--play-ink);border-radius:16px 4px 16px 4px;padding:12px 16px;background:var(--surface);font-family:'Space Grotesk',sans-serif;font-size:16px}
.game-set li:nth-child(2){border-radius:4px 16px 4px 16px}
.play-collection{display:flex;align-items:center;justify-content:space-between;gap:24px}
.shelf-collection .series-shelf{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:48px}
.collection-gamepad{flex-shrink:0}
@media(max-width:640px){.shelf-collection .series-shelf{grid-template-columns:1fr;gap:24px}.play-collection{flex-direction:column;align-items:flex-start}}

/* Archive cards reach the outer band edges; their copy keeps the page gutter. */
.journal:not(#journal){padding-inline:0}
.journal:not(#journal) .entry{min-width:0;background:var(--surface-subtle);padding-bottom:24px}
.journal:not(#journal) .entry>:not(.entry-art){margin-inline:var(--page-gutter)}
 /* cards-max-three: a column is at least 280px and more than a quarter of the row, so listing grids show at most three cards per row. */
 .journal:not(#journal) .entries{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(280px,26%)),1fr))}

/* Save-slot cabinets on Play and the Bookshelf. Grey surfaces, section accents, neon bars, gold Hall of Fame trim. */
.cabinets{display:flex;flex-direction:column;gap:28px;padding:36px var(--page-gutter) 24px}
.cabinet{background:var(--surface-subtle);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:26px 24px 22px;box-shadow:0 10px 30px rgba(29,35,48,.08);position:relative;overflow:hidden}
.cabinet::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--section-gradient,var(--gradient-strip));pointer-events:none}
/* accent-strips: the thin gradient strip on top of boxes and cards always runs light (left) to dark (right). */
.cabinet--fame::before{background:linear-gradient(90deg,#E8B84A,#C4922A)}
.cabinet .eyebrow{color:var(--section-ink,var(--muted));margin:0 0 6px}
.cabinet--fame .eyebrow{color:var(--gold-ink)}
.cabinet h2{color:var(--ink);margin-bottom:6px}
.cabinet .section-kicker{color:var(--muted);margin:0 0 20px;font-size:14px}
.slot-list{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.cabinet--fame .slot-list{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:900px){.cabinet--fame .slot-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.slot{display:grid;grid-template-columns:56px 72px minmax(0,1fr);grid-template-areas:"num tile body";gap:8px 14px;align-items:center;width:100%;text-align:left;background:var(--surface-subtle);border:1px solid var(--line);border-radius:10px;padding:12px 14px;color:var(--ink);min-height:124px}
.slot-num{grid-area:num;font-family:"Space Grotesk",sans-serif;font-size:12px;letter-spacing:2px;font-weight:500;color:var(--section-ink,var(--muted));text-align:center}
.slot .cover{grid-area:tile;width:72px;height:108px;border-radius:3px;overflow:hidden;background:#141821;display:block;box-shadow:0 2px 8px rgba(29,35,48,.12)}
.slot .cover picture,.slot .cover img{display:block;width:100%;height:100%;object-fit:cover}
.slot-body{grid-area:body;min-width:0}
.slot-body h3{font-size:17px;letter-spacing:-.3px;margin:0 0 2px;color:var(--ink)}
.slot-body .meta{margin:0;font-size:12px;color:var(--muted)}
.slot-progress{margin-top:10px}
/* Progress bars follow the accent-strip rule: every fill runs light (left) to dark (right). */
.bar{height:6px;background:#E6E9EE;border-radius:99px;overflow:hidden}
.bar>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#FFB060,#FF6A00);box-shadow:0 0 8px rgba(255,106,0,.45);border-radius:99px}
.bar--partial>span{width:55%;background:linear-gradient(90deg,#FFB060,#FF6A00 55%,#C45300);box-shadow:0 0 8px rgba(255,106,0,.45)}
.bar--full>span{width:100%}
.bar--complete>span{background:linear-gradient(90deg,#64E1A5,#2EBF78 45%,#14643C);box-shadow:0 0 8px rgba(46,191,120,.35)}
.bar-label{margin:6px 0 0;font-size:11px;color:var(--muted)}
.slot-progress--hours{margin-top:12px}
.hours-meter{position:relative;padding:0 0 20px}
.bar--hours{height:8px;overflow:hidden;background:linear-gradient(90deg,rgba(196,83,0,.16) 0%,rgba(196,83,0,.16) 20%,rgba(20,100,60,.14) 20%,rgba(20,100,60,.14) 60%,rgba(112,64,196,.16) 60%,rgba(112,64,196,.16) 100%),#E6E9EE}
.bar--hours>span{width:0}
.bar--hours-orange>span{background:linear-gradient(90deg,#FFB060,#FF6A00 55%,#C45300);box-shadow:0 0 8px rgba(255,106,0,.45)}
.bar--hours-green>span{background:linear-gradient(90deg,#64E1A5,#2EBF78 45%,#14643C);box-shadow:0 0 8px rgba(46,191,120,.4)}
.bar--hours-purple>span{background:linear-gradient(90deg,#9B7AE8,#7040C4 50%,#4A1F9A);box-shadow:0 0 8px rgba(112,64,196,.45)}
.hours-ticks{position:absolute;left:0;right:0;top:0;height:8px;pointer-events:none}
.hours-tick{position:absolute;top:0;width:1px;height:10px;background:var(--ink);opacity:.35;transform:translateX(-50%)}
.hours-tick:first-child,.hours-tick:last-child{opacity:.5}
.hours-tick--band{height:12px;opacity:.55}
.hours-tick[data-hours="100"]{background:#14643C}
.hours-tick[data-hours="300"]{background:#7040C4}
.hours-tick i{position:absolute;top:12px;left:50%;transform:translateX(-50%);font-family:"Space Grotesk",sans-serif;font-size:10px;font-style:normal;font-weight:500;letter-spacing:0;line-height:1;color:var(--muted);white-space:nowrap}
.hours-tick:first-child i{left:0;transform:none}
.hours-tick:last-child i{left:auto;right:0;transform:none}
@media(max-width:640px){
  .hours-meter{padding-bottom:16px}
  .hours-tick i{display:none}
  .hours-tick--major i{display:block;font-size:9px}
}

.slot--fame{border-color:#E0C877}
.slot--fame .slot-num{color:var(--gold-ink)}
/* Books I’ve read: equal-size slots under Hall of Fame, covers at two-thirds the Recent/Hall of Fame size, at most three per row. */
.cabinet--read .slot-list{display:grid;grid-template-columns:1fr;gap:12px;align-items:stretch}
@media(min-width:720px){.cabinet--read .slot-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.cabinet--read .slot-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cabinet--read .slot--read{grid-template-columns:32px 48px minmax(0,1fr);grid-template-areas:"num tile body";align-items:center;height:96px;min-height:96px;max-height:96px;padding:12px 14px;overflow:hidden;box-sizing:border-box}
.cabinet--read .slot--read .cover{width:48px;height:72px}
.cabinet--read .slot--read .slot-body{min-width:0;overflow:hidden}
.cabinet--read .slot--read .slot-body h3{font-size:15px;line-height:1.25;letter-spacing:-.2px;margin:0 0 2px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cabinet--read .slot--read .slot-body .meta{margin:0;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cover--fallback{display:flex;align-items:center;justify-content:center;background:#141821;color:#C9D0DC;font-family:"Space Grotesk",sans-serif;font-size:13px;font-weight:500;letter-spacing:.08em}
.page-play .cabinets+.journal,.page-reading .cabinets+.journal{margin-top:8px}
@media(max-width:640px){
  .cabinet{padding:20px 14px 16px;border-radius:12px}
  .slot{grid-template-columns:40px 60px minmax(0,1fr);gap:8px 10px;padding:10px;min-height:108px}
  .slot .cover{width:60px;height:90px}
  .slot-body h3{font-size:15px;line-height:1.25}
  .slot-body .meta{line-height:1.4}
  .slot-num{font-size:11px;letter-spacing:1.4px}
}
@media(max-width:640px){
  .cabinet--read .slot--read{grid-template-columns:28px 40px minmax(0,1fr);height:80px;min-height:80px;max-height:80px;padding:10px 12px}
  .cabinet--read .slot--read .cover{width:40px;height:60px}
  .cabinet--read .slot--read .slot-body h3{font-size:14px}
  .cabinet--read .slot--read .slot-num{font-size:11px;letter-spacing:1.4px}
}
/* The first_book card is pinned at the end of Books I’ve read: same size as the others, Books-green accent. */
.cabinet--read .slot--read.slot--first{border-color:var(--books-ink);box-shadow:inset 3px 0 0 var(--books-ink)}
.cabinet--read .slot--read.slot--first .slot-num--first{color:var(--books-ink);align-self:center;display:flex;align-items:center;justify-content:center}
.cabinet--read .slot--read.slot--first .slot-num--first::before{content:"";width:8px;height:8px;background:var(--books-ink);transform:rotate(45deg);flex-shrink:0}
.cabinet--read .slot--read.slot--first .slot-badge{margin:0 0 1px;font-family:"Space Grotesk",sans-serif;font-size:9px;font-weight:500;letter-spacing:1.2px;line-height:1.3;text-transform:uppercase;color:var(--books-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cabinet--read .slot--read.slot--first .slot-body h3{margin:0 0 1px}
.cabinet--read .slot--read.slot--first .slot-note{margin:0;font-size:11px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:640px){
  .cabinet--read .slot--read.slot--first .slot-badge{font-size:8px;letter-spacing:1px}
  .cabinet--read .slot--read.slot--first .slot-note{font-size:10px}
}

/* Homepage doorway: one live detail per section, grey surfaces, section accents. */
.now-playing--home{position:static;width:auto;max-width:min(420px,100%);margin:0;background:var(--surface);border:1px solid var(--border);box-shadow:0 4px 18px #1D23300D}
.hero .now-playing--home{margin:0 0 8px}
.page-home .doorway{padding-top:28px}
.doorway{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:10px var(--page-gutter) 24px;align-items:stretch}
.doorway-card{display:flex;gap:22px;align-items:center;background:var(--surface-subtle);border:1px solid var(--line);border-radius:16px;padding:22px 24px;color:var(--ink);text-decoration:none;position:relative;overflow:hidden;min-height:100%;box-shadow:0 10px 30px rgba(29,35,48,.06);transition:transform .2s ease, box-shadow .2s ease}
.doorway-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(29,35,48,.10)}
@media (prefers-reduced-motion:reduce){.doorway-card:hover{transform:none}}
.doorway-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--section-gradient,var(--gradient-strip))}
.doorway-card--play{--section-ink:var(--play-ink);--section-gradient:var(--gradient-play)}
.doorway-card--books{--section-ink:var(--books-ink);--section-gradient:var(--gradient-books)}
.doorway-card--thoughts{--section-ink:var(--thoughts-ink);--section-gradient:var(--gradient-thoughts)}
.doorway-card--work{--section-ink:var(--work-ink);--section-gradient:var(--gradient-work)}
.doorway-card--now{--section-ink:var(--now-ink);--section-gradient:var(--gradient-now)}
.doorway-card .eyebrow{color:var(--section-ink);margin:0 0 8px}
.doorway-body{min-width:0;flex:1}
.doorway-body h2{font-size:clamp(22px,2.1vw,30px);letter-spacing:-.8px;margin:0 0 8px;color:var(--ink)}
.doorway-kicker{margin:0 0 4px;font-size:13px;color:var(--muted)}
.doorway-meta,.doorway-excerpt{margin:0 0 14px;font-size:15px;line-height:1.6;color:var(--muted)}
.doorway-cover{width:112px;height:168px;border-radius:4px;overflow:hidden;flex-shrink:0;background:#141821;box-shadow:0 4px 14px rgba(29,35,48,.16);display:block}
.doorway-cover picture,.doorway-cover img{display:block;width:100%;height:100%;object-fit:cover}
.doorway-card .text-link{color:var(--action)}
.doorway-card--play,.doorway-card--books{grid-column:span 1}
@media(min-width:900px){
  .doorway{grid-template-columns:repeat(2,minmax(0,1fr))}
  .doorway-card:last-child:nth-child(odd){grid-column:1 / -1}
}
@media(max-width:900px){
  .doorway{grid-template-columns:1fr;gap:16px}
  .doorway-card{padding:18px 16px}
}
@media(max-width:640px){
  .doorway-cover{width:88px;height:132px}
  .doorway-body h2{font-size:22px}
  .now-playing--home{max-width:100%}
}

/* Optional Grok's take on Thoughts entries: collapsed by default, native details/summary. */
.post-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 18px}
.post-tags li{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:.8px;color:var(--thoughts-ink,var(--muted));border:1px solid var(--line);border-radius:30px;padding:5px 12px;background:var(--surface)}
.grok-take{margin:36px 0 28px;max-width:66ch;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(29,35,48,.06);color:var(--ink);overflow:hidden}
.grok-take summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;cursor:pointer;list-style:none;padding:18px 22px;font-family:'Space Grotesk',sans-serif}
.grok-take summary::-webkit-details-marker{display:none}
.grok-take summary::marker{content:""}
.grok-take-title{font-size:18px;letter-spacing:-.3px;font-weight:500;color:var(--ink)}
.grok-take-hint{font-size:12px;letter-spacing:.4px;color:var(--muted);font-family:'DM Sans',sans-serif}
.grok-take summary::after{content:"";width:10px;height:10px;margin-left:auto;border-right:2px solid var(--thoughts-ink,var(--muted));border-bottom:2px solid var(--thoughts-ink,var(--muted));transform:rotate(45deg);translate:0 -3px;flex-shrink:0;transition:transform .2s ease}
.grok-take[open] summary::after{transform:rotate(225deg);translate:0 2px}
.grok-take-body{padding:0 22px 22px;border-top:1px solid var(--line)}
.grok-take-attribution{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--thoughts-ink,var(--muted));margin:16px 0 10px}
.grok-take-body p:not(.grok-take-attribution){font-size:16px;line-height:1.7;color:var(--ink);margin:0 0 14px}
.grok-take-body p:last-child{margin-bottom:0}
@media(prefers-reduced-motion:reduce){
  .grok-take summary::after{transition:none}
}
@media(max-width:640px){
  .grok-take summary,.grok-take-body{padding-left:16px;padding-right:16px}
  .grok-take-title{font-size:17px}
}

@media(min-width:641px){
  .page-home .ticker{margin-inline:var(--home-gutter);padding-inline:28px;border-radius:16px}
}
@media(prefers-reduced-motion:reduce){
  .hero-visual svg animateTransform,.hero-visual svg animateMotion{display:none}
}

/* Next projects on the section page and the home doorway card. */
.next-projects{list-style:none;padding:0;margin:0}
.next-projects>li{border-bottom:1px solid var(--line);padding:28px 0}
.next-projects>li:first-child{padding-top:0}
.next-projects>li:last-child{border-bottom:0;padding-bottom:0}
.next-projects h2{margin:0 0 6px}
.next-status{display:block;margin:0 0 10px;font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:.08em;color:var(--muted)}
.next-projects p{margin:0;max-width:650px}
.doorway-projects{list-style:none;padding:0;margin:0 0 14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
.doorway-projects li{min-width:0}
.doorway-projects strong{display:block;font-family:'Space Grotesk',sans-serif;font-weight:500;font-size:16px;letter-spacing:-.3px}
.doorway-projects span{display:block;margin-top:3px;font-size:13px;color:var(--muted)}
@media(max-width:640px){.doorway-projects{grid-template-columns:1fr;gap:10px}}

/* Work and journal cards may include a public project link. */
.entry .entry-link{display:inline-block;margin:0 0 16px;color:var(--action)}

/* Custom entry illustrations on Work cards and note pages.
   Frame matches the 16:9 SVG viewBox. Padding lives on the frame, not the
   image, so object-fit:contain cannot overflow and get clipped (esp. on iOS). */
.entry-art--custom{background:var(--surface-subtle);height:auto;aspect-ratio:16/9;display:grid;place-items:center;padding:16px 16px 28px;box-sizing:border-box}
.entry-art--custom img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;padding:0;pointer-events:none}
.post-art{margin:28px 0 0;padding:0;border:1px solid var(--border);background:var(--surface-subtle);position:relative;overflow:hidden}
.post-art img{display:block;width:100%;height:auto;max-width:100%;padding:28px 24px 20px}
@media(max-width:640px){
  .entry-art--custom{padding:14px 14px 30px}
  .entry-art--custom img{padding:0}
  .post-art img{padding:18px 12px 14px}
  /* Keep decorative journal art inside the fixed-height frame on small screens. */
  .entry-art .art-circle{top:28px}
  .entry-art .art-line{top:54px}
  .wave .art-circle{width:186px;height:186px;top:20px;left:calc(50% - 93px)}
  .grid .art-circle{top:36px}
  .grid .art-line{top:58px}
}
/* Dark mode: footer switch, token surfaces, and dark- palettes. */
footer{background:var(--footer-bg);color:var(--footer-ink)}
footer p,footer small{color:var(--footer-muted)}
footer a:focus-visible{outline-color:var(--footer-ink)}
.skip{background:var(--footer-bg);color:var(--footer-ink)}
.button,.filters button[aria-pressed=true]{color:var(--on-accent)}
/* Quote banners keep white text on the brand gradient in both themes. */
.closing,.closing>span,.closing a,.gradient-specimen,
.quote-closing p,.quote-closing blockquote,.quote-closing blockquote p,
.quote-closing figcaption,.quote-closing .eyebrow,.quote-closing .quote-placeholder{color:var(--on-accent)}
.closing a:focus-visible,.quote-closing a:focus-visible{outline-color:var(--on-accent)}
.bar,.bar--hours{background-color:var(--bar-track)}
.orbit-interest[data-section="work"] svg{color:var(--work-ink)}
.orbit-interest[data-section="thoughts"] svg{color:var(--thoughts-ink)}
.orbit-interest[data-section="interests"] svg{color:var(--interests-ink)}
.orbit-interest[data-section="play"] svg{color:var(--play-ink)}
.orbit-interest[data-section="books"] svg{color:var(--books-ink)}
.orbit-interest[data-section="now"] svg{color:var(--now-ink)}
.brand-icon .logo-dark{display:none}
[data-theme="dark"] .brand-icon .logo-light{display:none}
[data-theme="dark"] .brand-icon .logo-dark{display:block}
.theme-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid color-mix(in srgb,var(--footer-muted) 55%, transparent);border-radius:999px;background:rgba(0,0,0,.18)}
.theme-switch button{appearance:none;margin:0;background:transparent;border:0;border-radius:999px;color:var(--footer-muted);font:inherit;font-size:11px;font-weight:500;letter-spacing:.04em;line-height:1;padding:8px 13px;min-height:32px;min-width:44px;cursor:pointer}
.theme-switch button[aria-checked="true"]{background:var(--footer-ink);color:var(--footer-bg)}
.theme-switch button:hover:not([aria-checked="true"]){color:var(--footer-ink)}
.theme-switch button:focus-visible{outline:3px solid var(--footer-ink);outline-offset:2px}
[data-theme="dark"] .hero-visual{background:radial-gradient(ellipse at center, #3b2a7a55, #151a2e40 42%, transparent 68%)}
[data-theme="dark"] .entry-art.grid{background-image:linear-gradient(#E8EDF714 1px,transparent 1px),linear-gradient(90deg,#E8EDF714 1px,transparent 1px)}
[data-theme="dark"] .banner-placeholder{background-image:linear-gradient(#E8EDF712 1px,transparent 1px),linear-gradient(90deg,#E8EDF712 1px,transparent 1px)}
[data-theme="dark"] .hero-visual img,
[data-theme="dark"] .entry-art--custom img,
[data-theme="dark"] .post-art img{filter:invert(1) hue-rotate(180deg)}
/* Month and year dates on journal and work posts. */
.entry-meta time,.post>.eyebrow time,.post-text>.eyebrow time,.doorway-body .eyebrow time{white-space:nowrap}
.post>.eyebrow,.post-text>.eyebrow,.doorway-body .eyebrow{display:block}

/* Portfolio: /work/portfolio/ and the Work page doorway. */
.pf-doorway{padding-top:0;padding-bottom:56px}
.pf-doorway .doorway-card{align-items:center}
.pf-thumb{flex:0 0 clamp(150px,22vw,260px);aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--surface);display:block}
.pf-thumb img{display:block;width:100%;height:100%;object-fit:cover}
/* The Work Experience card shows the headshot as a square so the whole head and shoulders fit; nothing is cropped at any width. */
.pf-thumb.pf-thumb--portrait{flex:0 0 clamp(132px,15vw,200px);aspect-ratio:1/1;border-radius:12px}
.pf-thumb.pf-thumb--portrait img{object-position:50% 20%}
.pf-thumb--lock{display:flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--border);color:var(--section-ink,var(--action))}
.pf-portfolio-card .pf-thumb.pf-thumb--lock{display:flex}
.pf-thumb--lock svg{display:block;width:78%;height:auto}
/* Portfolio gate: one password, no username (served by deployment/portfolio-gate/gate.php). */
.gate{padding:44px var(--page-gutter) 72px;max-width:760px}
@media(max-width:640px){.gate{padding-top:32px}}
.gate-form{display:grid;gap:12px;margin:0 0 28px}
.gate-form label{font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--section-ink,var(--muted))}
.gate-row{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap}
.gate-row input{flex:1 1 240px;min-width:0;min-height:48px;padding:12px 16px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font-size:16px}
.gate-row input:focus-visible{border-color:var(--action)}
.gate-row .button{min-height:48px;border:0;cursor:pointer;gap:14px;justify-content:center;padding:13px 22px}
.gate-message{min-height:1.6em;font-size:15px;color:var(--ink)}
.gate-message:not(:empty){padding:10px 14px;border:1px solid var(--border);border-left:3px solid var(--action);border-radius:8px;background:var(--surface-subtle)}
.gate-help{margin:0 0 20px;color:var(--muted);font-size:15px}
.gate-back{margin:0}
.gate-card{margin:0 0 20px;max-width:640px}
.gate-card .pf-thumb{flex:0 0 clamp(110px,14vw,150px)}
.gate-card h3{font-size:22px;margin:0 0 8px}
.gate .gate-card .doorway-excerpt{display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset}
.gate-contacts{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0;align-items:center}
.gate-card .gate-contacts{margin-top:auto}
.gate-contacts .text-link{margin-top:0}
@media(max-width:640px){.gate-card .pf-thumb{flex:none;width:100%}}
.pf-intro p:last-of-type:not(.eyebrow){max-width:62ch}
.pf-jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.pf-jump a{font-size:13px;border:1px solid var(--border);border-radius:30px;padding:8px 16px;background:var(--surface);color:var(--ink);min-height:36px;display:inline-flex;align-items:center}
.pf-jump a:hover{border-color:var(--action);color:var(--action)}
.pf-cover{padding:32px var(--page-gutter) 0}
.pf-cover .pf-shot{border:0}
.pf-cover img{display:block;width:100%;height:auto;border-radius:16px;aspect-ratio:16/9;object-fit:cover}
.pf-section{padding:64px var(--page-gutter) 24px;position:relative}
.pf-section+.pf-section{border-top:1px solid var(--border);margin-top:40px}
.pf-section-head{margin-bottom:32px}
.pf-section-head .eyebrow,.pf-case .eyebrow,.pf-company{color:var(--section-ink,var(--muted))}
.pf-section-head .eyebrow{margin-bottom:12px}
.pf-section-head h2{margin:0}
.pf-capabilities{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0 0 40px}
.pf-capabilities li,.pf-chips li{font-family:'Space Grotesk',sans-serif;font-size:13px;letter-spacing:.2px;color:var(--ink);background:var(--surface-subtle);border:1px solid var(--border);border-radius:30px;padding:6px 14px}
.pf-timeline{list-style:none;margin:0;padding:0 0 0 0;position:relative}
.pf-timeline::before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:var(--gradient-work,var(--gradient-brand));border-radius:2px}
.pf-job{position:relative;padding:0 0 32px 40px;max-width:78ch}
.pf-dot{position:absolute;left:0;top:7px;width:16px;height:16px;border-radius:50%;background:var(--surface);border:3px solid var(--action)}
.pf-job h3{margin:0 0 4px;font-size:26px}
.pf-company{font-family:'Space Grotesk',sans-serif;font-size:15px;margin:0 0 14px!important;font-weight:500}
.pf-dates{margin:0 0 6px;font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:1.2px;color:var(--muted)}
.pf-job p{color:var(--muted);font-size:16px}
.pf-highlights{margin:18px 0 0;padding-left:0;list-style:none;display:grid;gap:10px}
.pf-highlights li{position:relative;padding-left:22px;font-size:15px;line-height:1.6}
.pf-highlights li::before{content:"*";position:absolute;left:2px;top:0;color:var(--section-ink,var(--action));font-weight:700}
.pf-case{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:40px;padding:36px 0;border-top:1px solid var(--border)}
.pf-section-head+.pf-case{border-top:0;padding-top:8px}
.pf-case-text{align-self:start;position:sticky;top:24px}
.pf-case-text .eyebrow{margin-bottom:12px}
.pf-case-text h3{font-size:28px;margin:0 0 14px;letter-spacing:-1px}
.pf-case-text p:not(.eyebrow){font-size:15px;color:var(--muted);line-height:1.75;margin-bottom:12px}
.pf-chips{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.pf-chips li{font-size:12px;padding:4px 11px}
.pf-shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.pf-shots--one{grid-template-columns:minmax(0,1fr)}
.pf-shot{margin:0;min-width:0}
.pf-shot--wide{grid-column:1/-1}
.pf-shot a{display:block;background:var(--surface-subtle);border:1px solid var(--border);border-radius:10px;overflow:hidden}
.pf-shot a:hover{border-color:var(--action)}
.pf-shot img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:var(--surface-subtle)}
.pf-shot--wide img,.pf-shots--one img{aspect-ratio:16/9}
.pf-shot figcaption{font-size:12px;color:var(--muted);margin-top:8px}
.pf-end{padding-bottom:64px}
@media(max-width:900px){.pf-case{grid-template-columns:1fr;gap:24px}.pf-case-text{position:static}.pf-section{padding-top:48px}}
@media(max-width:640px){.pf-shots{grid-template-columns:1fr}.pf-shot--wide{grid-column:auto}.pf-shot img,.pf-shot--wide img,.pf-shots--one img{aspect-ratio:16/10}.pf-job h3{font-size:23px}.pf-thumb{display:none}.pf-cover{padding-top:24px}.pf-cover img{border-radius:10px}.pf-section-head h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){.pf-shot a{transition:none}}
.pf-cover .pf-shot img{aspect-ratio:16/9;object-fit:cover;background:none;border-radius:16px}
@media(max-width:640px){.pf-cover .pf-shot img{aspect-ratio:16/9;border-radius:10px}}
.pf-case--text{grid-template-columns:minmax(0,1fr)}
.pf-case--text .pf-case-text{position:static;max-width:72ch}
.pf-profile{max-width:72ch;font-size:17px;line-height:1.75;color:var(--ink);margin:0 0 14px}
.pf-profile+.pf-profile{color:var(--muted);font-size:16px}
.pf-experience .pf-capabilities{margin-top:24px}
.pf-edu,.pf-tools{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pf-edu li,.pf-tools li{background:var(--surface-subtle);border:1px solid var(--border);border-radius:10px;padding:16px 18px;position:relative}
.pf-edu li::before,.pf-tools li::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--section-gradient,var(--gradient-strip));border-radius:10px 10px 0 0}
.pf-edu strong,.pf-tools strong{display:block;font-family:'Space Grotesk',sans-serif;font-weight:500;font-size:17px;line-height:1.3;color:var(--ink)}
.pf-edu span,.pf-tools span{display:block;margin-top:6px;font-size:14px;color:var(--muted)}
.pf-short{max-width:80ch;margin:20px 0 0;font-size:14px;color:var(--muted)}
.pf-tools-title{font-size:23px;margin:40px 0 16px}
@media(max-width:640px){.pf-edu,.pf-tools{grid-template-columns:1fr}}
.pf-latest-title{margin:22px 0 8px!important;font-family:'Space Grotesk',sans-serif;font-size:12px!important;letter-spacing:1.4px;text-transform:uppercase;color:var(--section-ink,var(--muted))!important}
.pf-latest{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pf-latest li{font-size:15px;line-height:1.55;padding:10px 14px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:8px}
.pf-tag{display:inline-block;margin-left:6px;font-size:12px;color:var(--muted);border:1px solid var(--border);border-radius:30px;padding:1px 10px;background:var(--surface);white-space:nowrap}
.pf-edu em{display:block;margin-top:8px;font-style:normal;font-size:13px;line-height:1.55;color:var(--muted)}

.pf-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(32px,6vw,80px);align-items:center}
.pf-hero-copy{min-width:0}
.pf-hero-copy>p:not(.eyebrow){max-width:56ch}
.pf-portrait{margin:0;width:clamp(260px,30vw,380px);aspect-ratio:4/5;border-radius:20px;overflow:hidden;position:relative;background:var(--surface);border:1px solid var(--border);box-shadow:0 18px 40px -22px rgba(7,16,40,.45)}
.pf-portrait::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);pointer-events:none}
.pf-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.pf-portfolio-link{padding-bottom:56px}
.pf-portfolio-card{display:flex;align-items:center;gap:28px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface-subtle);text-decoration:none;color:inherit}
.pf-portfolio-card:hover,.pf-portfolio-card:focus-visible{border-color:var(--action)}
.pf-portfolio-card h3{margin:0 0 8px;font-size:26px}
@media(max-width:820px){.pf-hero{grid-template-columns:1fr;gap:28px}.pf-portrait{order:-1;width:min(72vw,300px)}}
@media(max-width:640px){.pf-portfolio-card{flex-direction:column;align-items:flex-start;gap:16px}.pf-portfolio-card .pf-thumb{display:block;flex:none;width:100%}.pf-portfolio-card h3{font-size:23px}}

/* Entry pages: the back link keeps clear space before the image / kicker (32px narrow, 40px from 900px). */
.post-back{margin:0 0 32px;line-height:1}
.post-back+.post-layout,.post-back+.post-layout>.post-art,.post-back+.post-layout--solo>.post-text>.eyebrow:first-child{margin-top:0}
@media(min-width:900px){.post-back{margin-bottom:40px}}
/* Next / previous entry links, newest-first like the Journal: Next (newer) left, Previous (older) right; stacked on narrow screens with Next first; a missing side leaves its column empty. */
.post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}
.post-nav-link{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;min-width:0}
.post-nav-next{grid-column:1;text-align:left;align-items:flex-start}
.post-nav-prev{grid-column:2;text-align:right;align-items:flex-end}
.post-nav-label{font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--section-ink,var(--action))}
.post-nav-title{font-family:'Space Grotesk',sans-serif;font-size:18px;line-height:1.3;letter-spacing:-.4px;overflow-wrap:anywhere}
.post-nav-link:hover{border-color:var(--action)}.post-nav-link:hover .post-nav-title{color:var(--action)}
.post-nav-link:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
@media(max-width:640px){.post-nav{grid-template-columns:1fr;gap:16px;margin-top:40px}.post-nav-next,.post-nav-prev{grid-column:1}}

/* Opened journal entries: image beside the text on wide screens, stacked on narrow screens. */
.post-layout{display:block}
.post-text{min-width:0}
.post-layout:not(.post-layout--solo) .post-text{margin-top:24px}
@media(min-width:900px){
  .post-layout:not(.post-layout--solo){display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:clamp(32px,4vw,56px);align-items:start;margin:0 0 36px}
  .post-layout:not(.post-layout--solo) .post-text{margin-top:0}
  .post-layout .post-art{margin:0;position:sticky;top:24px}
  .post-layout .post-art img{padding:20px 18px 16px}
  .post-text>.eyebrow:first-child{margin-top:0}
  .post-text>h1{margin-top:0}
}

/* Journal tags: clickable topics on cards and entry pages, plus a browse row and tag pages. */
.post-tags li a,.entry-tags li a,.tag-row a{font-family:'Space Grotesk',sans-serif;letter-spacing:.8px;color:var(--section-ink,var(--thoughts-ink,var(--muted)));text-decoration:none;border:1px solid var(--line);border-radius:30px;background:var(--surface);display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:5px 12px;font-size:11px}
.post-tags li{padding:0;border:0;background:none}
.post-tags li a:hover,.entry-tags li a:hover,.tag-row a:hover{border-color:var(--action);color:var(--action)}
.post-tags li a:focus-visible,.entry-tags li a:focus-visible,.tag-row a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.entry-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:14px 0 6px}
.tag-row{padding:24px var(--page-gutter) 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.tag-row-label{font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
.tag-row ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.tag-row a{font-size:13px;letter-spacing:.3px;color:var(--ink);min-height:36px}
.tag-row a small{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:8px}
.tag-row a[aria-current="page"]{background:var(--action);border-color:var(--action);color:var(--surface)}
.tag-row a[aria-current="page"] small{color:var(--surface);border-color:currentColor;opacity:.85}
.tag-back{padding:8px var(--page-gutter) 0;margin:32px 0 0}
.journal:not(#journal)>.tag-row{padding-inline:var(--page-gutter)}

/* Tag pages: each card is a row, image beside text on wide screens (like an opened entry), stacked below 900px. */
@media(min-width:900px){
  .journal--list .entries{grid-template-columns:1fr!important;gap:24px;padding:24px var(--page-gutter) 0}
  .journal:not(#journal).journal--list .entry{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);column-gap:clamp(32px,4vw,56px);align-content:start;align-items:start;padding:24px;border:1px solid var(--border)}
  .journal:not(#journal).journal--list .entry>.entry-art{grid-column:1;grid-row:1/span 8;height:auto;aspect-ratio:16/9;margin:0}
  .journal:not(#journal).journal--list .entry>:not(.entry-art){grid-column:2;margin-inline:0}
  .journal--list .entry>.entry-meta{margin-top:4px}
  .journal--list .entry h3{font-size:26px}
}

/* Thoughts cards: kicker on the left, tag chips on the right of the same line; chips wrap below on narrow cards. */
.entry-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:21px}
.entry-head>.entry-meta{margin-top:0}
.entry-head{gap:6px 10px}
.entry-head>.entry-tags{margin:0;justify-content:flex-end;gap:4px}
.entry-head>.entry-tags a{min-height:26px;padding:2px 8px;font-size:10px;letter-spacing:.4px}
@media(min-width:900px){.journal--list .entry>.entry-head{margin-top:4px}}

/* The topic row is a <nav>; keep it clear of the header nav rules at small widths. */
nav.tag-row{justify-content:flex-start;order:0;width:auto;font-size:inherit}
/* Breathing room between the Browse by topic row and the cards (spacing scale: 32px desktop, 24px mobile). */
.journal>.tag-row{margin-bottom:32px}
@media(min-width:900px){.journal--list>.tag-row+.entries{padding-top:0}}
@media(max-width:640px){.journal>.tag-row{margin-bottom:24px}}

/* card-rows: listing cards line up across a row at every width. Each card is exactly five parts
   (image, kicker line, title, body, Read note). With subgrid the cards share the row tracks, so images,
   kicker lines and titles start at the same y and Read note links end at the same y; cards are equal height.
   Fallback without subgrid: flex column, kicker line kept to one line, Read note pushed to the bottom. */
.journal:not(#journal) .entry{display:flex;flex-direction:column}
.journal:not(#journal) .entry>.entry-body{flex:1 1 auto}
.journal:not(#journal) .entry>.read-link{margin-top:auto}
.journal:not(#journal) .entry-head{flex-wrap:wrap;min-width:0}
.journal:not(#journal) .entry-head{align-items:flex-start}
.journal:not(#journal) .entry-head>.entry-meta{flex:0 0 auto;min-height:26px;display:flex;align-items:center;gap:4px}
.journal:not(#journal) .entry-head>.entry-tags{flex-wrap:nowrap;overflow:hidden;min-width:0}
.journal:not(#journal) .entry h3{margin-top:12px}
@supports (grid-template-rows:subgrid){
  .journal:not(#journal) .entries{grid-auto-flow:row dense}
  .journal:not(#journal) .entry{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;align-content:start}
  .journal:not(#journal) .entry>.read-link{align-self:end;margin-top:0}
  .journal:not(#journal) .entry-head{align-self:start}
}
/* tag-placement: chips sit on the kicker line, right-aligned, only when the kicker line is wide enough for the
   longest allowed tag set (two tags, at most 13 characters together, e.g. Game Dev + Tools: about 243px with the date).
   Below 260px every card moves its chips to their own row under the kicker. Cards in a row are the same width, so
   they always switch together: never some chips on the kicker line and some wrapped. check.py caps the tag set. */
.journal:not(#journal) .entry-head{container:kicker/inline-size}
@container kicker (max-width:259.98px){
  .journal:not(#journal) .entry-head>.entry-meta{flex:0 0 100%}
  .journal:not(#journal) .entry-head>.entry-tags{flex:0 0 100%;justify-content:flex-start;flex-wrap:wrap;overflow:visible}
}
/* Tag pages from 900px: one card per row, image beside the text, so the subgrid does not apply. */
@media(min-width:900px){
  .journal:not(#journal).journal--list .entry{display:grid;grid-row:auto;grid-template-rows:none;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-content:start}
  .journal:not(#journal).journal--list .entry>.read-link{align-self:start;margin-top:12px}
}

/* card-frame: every listing card image uses the same 16:9 frame, custom SVG or decorative art, so card text always starts at the same height. Keep this the last rule that sizes .entry-art. */
.entry-art,.entry-art--custom{height:auto;aspect-ratio:16/9}

/* footer-layout: row 1 is the brand (left) and the theme switch (right); row 2 is the tagline (a subtitle about 7px under the brand text),
   the links (centred) and the copyright (right), all on one shared baseline. Below 900px everything stacks on the left:
   brand, tagline, links, copyright, then the theme switch. */
footer{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"brand . theme" "tag links copy";align-items:center;column-gap:32px;row-gap:0}
footer .footer-brand{grid-area:brand;justify-self:start}
footer .footer-theme{grid-area:theme;justify-self:end;display:block}
/* Desktop: the switch outline's bottom edge lines up with the bottom of the logo artwork (the lowest ink, the green body,
   ends at y=91 of the 120-unit viewBox, so 29/120 of the 42px icon above the image box bottom). Relative offset, so row 2 does not move. */
footer .footer-theme{align-self:end;position:relative;top:calc(-42px * 29 / 120)}
footer .footer-tagline{grid-area:tag;justify-self:start;align-self:baseline}
footer .footer-links{grid-area:links;justify-self:center;align-self:baseline;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;font-size:11px}
footer .footer-copy{grid-area:copy;justify-self:end;align-self:baseline;text-align:right}
@media(max-width:899.98px){
  footer{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "tag" "links" "copy" "theme";row-gap:16px}
  footer .footer-tagline{margin-top:-18px}  /* subtitle: about 7px under the brand text, like desktop */
  footer .footer-theme,footer .footer-links,footer .footer-copy{justify-self:start;text-align:left}
  footer .footer-theme{align-self:auto;top:0}
  footer .footer-links{justify-content:flex-start}
}
/* home-preview-clamp: the home Thoughts and Work cards are previews. Their excerpt is at most two lines (ellipsis) at
   every width, and the Read the note / See Work links sit at the bottom of each card, so side by side they share one baseline. */
.doorway-card--thoughts,.doorway-card--work{align-items:stretch}
.doorway-card--thoughts>.doorway-body,.doorway-card--work>.doorway-body{display:flex;flex-direction:column}
.doorway-card--thoughts .doorway-excerpt,.doorway-card--work .doorway-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.doorway-card--thoughts .doorway-body>.text-link,.doorway-card--work .doorway-body>.text-link{margin-top:auto;align-self:flex-start}
/* home-shipped: the Work card's status sits right-aligned on its kicker line ("Work · Nov 2026  Shipped"), like tags on
   Thoughts cards. The label is a compact pill drawn with an inset shadow (no border, no extra height), so the kicker line
   keeps the Thoughts card's height and both titles start on the same line. */
.doorway-body .eyebrow.doorway-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
.doorway-eyebrow-main{min-width:0}
.doorway-status{flex:none;font-family:'Space Grotesk',sans-serif;font-size:10px;line-height:1.8;letter-spacing:.8px;color:var(--section-ink,var(--muted));padding:0 9px;border-radius:30px;box-shadow:inset 0 0 0 1px var(--line);background:var(--surface);white-space:nowrap}
/* Footer X link: sits with RSS and About in the centred footer links, same size and colour; the service name is a touch brighter. */
footer .footer-social .footer-social-service{color:var(--footer-ink);font-weight:500}
/* About rework: "Welcome to Sane Creator." leads; the bio gets clear space above and below (56/64px, 40/48px on phones)
   and a readable measure, so nothing crowds the intro or the music strip. */
.page-about .about-bio{margin-top:56px;margin-bottom:64px}
.page-about .about-bio>p:not(.eyebrow){max-width:68ch}
.page-about .about-bio>p:last-child{margin-bottom:0}
@media(max-width:640px){.page-about .about-bio{margin-top:40px;margin-bottom:48px}}
/* about-columns: from 1024px the About text (Welcome, intro, Curious by nature, bio) sits in a 7fr left column and the
   Last.fm Top artists card in a 5fr right column, top-aligned with the ABOUT ME eyebrow (portrait 132px - 56px overlap
   + 24px text inset = 100px below the banner), with a clamp(56px,5vw,88px) gutter. Banner and quote stay full width;
   below 1024px everything stacks in reading order as before. */
@media(min-width:1024px){
  .page-about .about-body{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(56px,5vw,88px);align-items:start;padding-inline:var(--page-gutter);margin-bottom:72px}
  .page-about .about-body .about-identity{padding-inline:0}
  .page-about .about-body .about-bio{padding-inline:0;margin-bottom:0}
  .page-about .about-body>.music-section{margin:100px 0 0;padding:32px 32px 28px}
  .page-about .about-body>.music-section .section-head{flex-direction:column;align-items:flex-start;gap:14px}
  .page-about .about-body>.music-section h2{font-size:clamp(26px,2.2vw,31px)}
  .page-about .about-body>.music-section .artist-list{grid-template-columns:1fr}
  .page-about .about-body>.music-section .artist-list li{padding:11px 0}
  .page-about .about-body>.music-section .artist-list a{font-size:16px}
  .page-about .about-body>.music-section .music-window{margin-top:20px}
}
/* work-projects: current projects above the Work updates on /work/. Logo tile, name, status pill, one line.
   Two columns from 720px (four projects read as a balanced 2 × 2; never more than three per row), one below. */
.page-work .projects{padding:56px var(--page-gutter) 0}
.page-work .projects .section-head{margin-bottom:32px}
.project-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:720px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.project-card{display:flex;align-items:center;gap:24px;padding:24px;border:1px solid var(--border);background:var(--surface-subtle);min-width:0}
.project-logo-tile{flex:none;width:88px;height:88px;display:grid;place-items:center;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.project-logo{width:56px;height:56px;object-fit:contain;display:block}
.project-logo-tile .logo-dark{display:none}
[data-theme="dark"] .project-logo-tile .logo-light{display:none}
[data-theme="dark"] .project-logo-tile .logo-dark{display:block}
.project-text{min-width:0}
.project-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:8px}
.project-head h3{margin:0;font-size:22px}
.project-status{flex:none;font-family:'Space Grotesk',sans-serif;font-size:10px;line-height:1.8;letter-spacing:.8px;color:var(--muted);padding:0 9px;border-radius:30px;box-shadow:inset 0 0 0 1px var(--line);background:var(--surface);white-space:nowrap}
.project-status--launched{color:var(--section-ink,var(--ink))}
.project-text p{margin:0;font-size:14px;line-height:1.7;color:var(--muted)}
/* The separator: a thin line with a small ringed planet in the centre; line art in currentColor, so it follows the theme. */
.orbit-divider{display:flex;align-items:center;gap:16px;margin:56px var(--page-gutter) 0;color:var(--muted)}
.orbit-divider-line{flex:1 1 auto;height:1px;background:var(--line)}
.orbit-divider svg{flex:none;display:block}
.page-work .work-updates-head{padding:48px var(--page-gutter) 0}
.page-work .work-updates-head+.journal{margin-top:32px;padding-top:0}
@media(max-width:640px){
  .page-work .projects{padding-top:40px}
  .page-work .projects .section-head{margin-bottom:24px}
  .project-card{gap:20px;padding:20px}
  .project-logo-tile{width:72px;height:72px}
  .project-logo{width:48px;height:48px}
  .project-head{flex-direction:column;align-items:flex-start}
  .orbit-divider{margin-top:40px}
  .page-work .work-updates-head{padding-top:40px}
  .page-work .work-updates-head+.journal{margin-top:24px}
}
/* no-orphans: progressive enhancement on top of build.py typeset (&nbsp; ties after one- and two-letter words and
   between the last two words of a block). Browsers without text-wrap simply ignore these. */
h1,h2,h3,h4{text-wrap:balance}
p,li,figcaption,blockquote,dd{text-wrap:pretty}
/* A heading's last two words, too long to tie on a phone, stay together from 641px up (build.py typeset). */
@media(min-width:641px){h1 .ts-tie,h2 .ts-tie{white-space:nowrap}}
