/* ts4m's bright studio: shared navigation, reading and collection surfaces. */
:root{--r-paper:#fffdf7;--r-ink:#332320;--r-lime:#ffd43b;--r-violet:#f6be43;--rg-red:#d53226;--rg-gold:#ffd43b}
body{background:#fffdf7;color:#332320}
body .masthead{--nav-paper:#fffdf7!important;--nav-ink:#63372a!important;--nav-line:#efd9bc!important;--nav-accent:#c42d22!important;--nav-tint:#ffefb8!important;background:#fffdf7;color:#63372a;border:1px solid #efd9bc;box-shadow:0 5px 0 #f6ebd8;border-radius:22px}
body .masthead-mark{background:#e63b2e;color:#fff;border-radius:9px;box-shadow:3px 3px 0 #ffd43b}body .masthead-brand{color:#bc2c23}body .masthead-brand strong>span{color:#75523f}body .masthead-nav a[aria-current]{background:#fff0b5;color:#b3271f;border-radius:10px}body .masthead-nav a:hover{background:#fff4d4;color:#b3271f}body .masthead .masthead-cta{background:#ffd43b;color:#7a321e;border-radius:99px}body .masthead .masthead-motion{border:0;color:#74442f;gap:8px;padding:5px;font-size:10px}body .masthead-toggle{border-color:#e9c6a1;color:#8a3625;background:#fff7e4}body .masthead[data-nav-ready] .masthead-nav{background:#fffdf7;color:#63372a;border-color:#efd9bc;box-shadow:0 9px 0 #f2dcac55}body .masthead-local{color:#8b402b}
body .reading-rail{background:#e63b2e}body .editorial-note{background:#fff1cb;border-radius:18px;color:#633a29}body .editorial-note h2{color:#b92d23}body .site-footer{color:#76503a}body .site-footer .site-brand,body .site-footer .footer-brand{color:#c92d23}
body.repo-page{--paper:#fffdf7;--ink:#332320;--muted:#765747;--line:#ead8be;--accent:#c93226;--green:#bc2f23;--lime:#ffd43b;background:#fffdf7;color:#332320}body.repo-page .repo-hero h1{color:#c93226}body.repo-page .repo-toc{background:#fff6df;border-color:#ead8be}body.repo-page .repo-series-links a{background:#fff4d9;color:#7b3a27;border-color:#efd8b5}body.repo-page .repo-series-links a strong{color:#b42b22}
body.artcraft-page{--bg:#fffdf7;--surface:#fff3d8;--paper:#332320;--muted:#785946;--line:#ead8be;--accent:#c93226;background:#fffdf7;color:#332320}
body.journal-archive{--paper:#fffdf7;--ink:#332320;--muted:#785747;--green:#b82f23;--lime:#ffd43b;--line:#ead8be;background:#fffdf7;color:#332320}.journal-archive .journal-intro h1{color:#ce3326}.journal-archive .journal-intro h1 em{color:#b45223}.journal-archive .scribble,.journal-archive .feature-copy p,.journal-archive .story-meta{color:#785747}.journal-archive .journal-toolbar{background:#ffd43b;border-radius:20px;box-shadow:0 7px 0 #f3dfac}.journal-archive .topics a{border-radius:99px;color:#773621}.journal-archive .topics a[aria-current=page]{background:#c93125;color:#fff}.journal-archive .feature-story:first-child{background:#fff1cd;color:#512e22;border-radius:22px;overflow:hidden;border:1px solid #efd9b4}.journal-archive .feature-story:first-child .feature-image{background:#ffe8a2}.journal-archive .feature-story:first-child p,.journal-archive .feature-story:first-child .story-meta,.journal-archive .feature-story:first-child .muted{color:#74513e}.journal-archive .feature-copy h2{color:#b72b21}.journal-archive .feature-image{border-radius:15px}.journal-archive .feature-story:first-child .feature-image{border-radius:0}.journal-archive .journal-note{background:#fff0bd;color:#602f22;border-radius:20px}.journal-archive .journal-note p{color:#74513e}.journal-archive .issue-number{color:#d83227}.journal-archive .journal-note h2{color:#b42c22}
body.showcase-page{--paper:#fffdf7;--ink:#332320;--muted:#785747;--accent:#c93226;background:#fffdf7;color:#332320}.showcase-page .hero-copy h1,.showcase-page .collection-heading h2{color:#c93226}.showcase-page .hero-copy h1 em,.showcase-page .collection-heading h2 em{color:#9b4a20}.showcase-page .hero-shelf{background:#ffd43b;border-radius:48% 48% 22px 22px;border:10px solid #fff1c2;box-shadow:10px 15px 0 #f7e6c3}.showcase-page .shelf-object{background:#fffdf7;box-shadow:8px 10px 0 #d9752c5c;border:1px solid #edb755}.showcase-page .shelf-object>span{color:#c22d22}.showcase-page .shelf-note{color:#784329}.showcase-page .collection-meta{background:#e63b2e;color:#fffaf1;border-radius:16px}.showcase-page .collection-toolbar{background:#fff0c7;border-radius:18px}.showcase-page .filters button{border-radius:99px}.showcase-page .filters button[aria-pressed=true]{background:#c32e23;color:#fff}.showcase-page .project-card{--rgx-radius:22px;background:#fff;border:1px solid #efdabd;border-radius:22px;box-shadow:9px 11px 0 #f9e9cd}.showcase-page .project-heading h2{color:#b72a21}.showcase-page .project-image{background:#ffd43b;border-radius:15px}.showcase-page .project-card:nth-child(even) .project-image{background:#f5bcaa}.showcase-page .project-image img{border-radius:8px}.showcase-page .project-tags li{background:#fff4d6;color:#8d4129;border-color:#efd1ad}.showcase-page .shelf-about{background:#ffd43b;border-radius:22px}.showcase-page .shelf-about h2{color:#a62b20}.showcase-page .button{background:#c83125;color:#fff}.showcase-page .lightbox{background:#fffdf7;color:#332320}.showcase-page .lightbox button{color:#922d22}
body.redesign-support{--paper:#fffdf7;--ink:#422a23;--red:#ce3326;--muted:#785747;background:#fffdf7;color:#422a23}.redesign-support .hero h1,.redesign-support .hero h1 em{color:#d13326}.redesign-support .hero-art{background:#ffd43b;box-shadow:13px 16px 0 #ffe69b}.redesign-support .story,.redesign-support .thanks{background:#df392b;color:#fffaf1}.redesign-support .story h2 em,.redesign-support .thanks h2 em{color:#ffdc54}.redesign-support .story-letter{background:#fffaf1;color:#633b2a;border-radius:18px;box-shadow:12px 12px 0 #b728204d}.redesign-support .need-card{background:#fff0c7;border-radius:18px}.redesign-support .needs h2 em,.redesign-support .support h2 em,.redesign-support .faq h2 em{color:#c72f24}.redesign-support .support{background:#ffdc54;color:#542e20}.redesign-support .qr-frame{border-radius:16px;box-shadow:12px 12px 0 #d8a72b}.redesign-support .thanks p{color:#fff2df}.redesign-support .button{background:#c72f24;border-color:#c72f24;color:#fff}.redesign-support .button.secondary{background:#fffaf1;color:#a32e22}.redesign-support .meal-seal{background:#ffdc54;color:#a52c21;border-color:#c55928}
.rgx-cube>span{background:var(--cube-fill,#e63b2e55);border-color:var(--cube-edge,#bf2d22)}.rgx-cube>span:nth-child(6){background:var(--cube-front,#e63b2e88)}
@media(max-width:700px){body .masthead .masthead-motion{width:47px;gap:2px;padding:3px}.masthead-motion .rgx-motion-track{width:35px;height:20px}.masthead-motion .rgx-motion-track:before{width:14px;height:14px;left:3px}.masthead-motion[aria-pressed=true] .rgx-motion-track:before{left:calc(100% - 17px)}.showcase-page .hero-shelf{border-width:7px}.journal-archive .journal-toolbar{padding:20px 16px}}
@media print{body{background:#fff;color:#222}body .masthead{display:none}}

@media(min-width:1240px){body .masthead[data-nav-ready] .masthead-nav{box-shadow:none}}
.showcase-page .hero-copy .eyebrow{color:#bf3226}.showcase-page .hero-copy .eyebrow:before{background:#e63b2e;box-shadow:0 0 0 4px #ffe3aa}.showcase-page .button{border-color:#c83125}.showcase-page .collection-meta strong{color:#fff8df}

body:is(.galaxy-page,.rust-page,.linkswift-page,.rea-page,.braise-page){--paper:#fffdf7;--ink:#332320;--muted:#785747;--line:#ead8be;--green:#bc3024;--lime:#ffe5a0;--gold:#ffd43b;background-color:#fffdf7}body.galaxy-page{background-image:none}body:is(.galaxy-page,.rust-page,.linkswift-page,.rea-page,.braise-page) h1{color:#be3024}
/* Keep code and demonstrations legible when the editorial shell becomes light. */
body.repo-page .repo-body code,body.repo-page .repo-body pre{background:#fff0ce;color:#623624}body.repo-page .repo-body pre code{background:transparent}body.repo-page .repo-hero h1 span{color:#bd3025}body.repo-page .repo-body h2{color:#b92e23}body.repo-page .repo-body h2:before{background:#ffd43b}body.repo-page .repo-toc{padding:20px 16px}.gsap-skills .motion-lab{background:#fff1cb;color:#542d21;border:1px solid #efd09c;border-radius:20px}.gsap-skills .motion-lab h2{color:#b82d23}.gsap-skills .motion-lane{border-color:#e4c9a4}.gsap-skills .motion-lane>span{color:#78533d}.gsap-skills .motion-track{background:#fffdf7}.gsap-skills .motion-dot{background:#d93428}.gsap-skills .dot-two{background:#ffca2d}.gsap-skills .dot-three{background:#78412d}.gsap-skills .reading-progress{background:#e63b2e}.gsap-skills .lab-controls button{border-radius:10px;border-color:#daaa7f}.gsap-skills .lab-controls button:hover{background:#ca3327;color:#fff}.taste-skill .taste-credits,.taste-skill .taste-workshop>.lab-credit{color:#785747}.taste-skill .taste-options button{background:#fff0ce;color:#703c25;border:1px solid #e3c39b;border-radius:10px}.taste-skill .taste-options button[aria-pressed=true]{background:#c83125;color:#fff}
body.artcraft-page{--ink:#332320;--green:#bc3024;--lime:#ffe5a0}.artcraft-page .workflow,.artcraft-page .article-card,.artcraft-page .ac-feature-grid figure,.artcraft-page .editorial-note,.artcraft-page dialog{background:#fff3d8;color:#332320;border-color:#e5cda9}.artcraft-page .feature-tab.active{background:#fff0cb}.artcraft-page .start-section{background:#ffd43b;color:#542e20}.artcraft-page .primary{background:#cb3226;color:#fff}.artcraft-page .secondary:hover{background:#fff0ce}.artcraft-page .dialog-close{background:#c83226;color:#fff}.artcraft-page .editorial-note p{color:#785747}
.artcraft-page .article-body p,.artcraft-page .article-body li{color:#634b3f}.artcraft-page .hero-description{color:#674c3c}.artcraft-page .ac-crumbs,.artcraft-page .hero-note,.artcraft-page .toc a,.artcraft-page .pill{color:#785442}.artcraft-page .primary:hover{background:#a82820;color:#fff}.redesign-support .thanks .thanks-art-note,.redesign-support .thanks .eyebrow,.redesign-support .thanks .hug-replay{color:#fff8e7}.redesign-support .thanks .love-star{color:#ffd43b}
body .rgx-sparkle{--rgx-red:#d32c24}.showcase-page .collection-meta,.redesign-support .story,.redesign-support .thanks{background:#d53226}
