/* Brand layer for the Research Lab (loaded after design.css).
   Cream paper + ink + signal red, Playfair headlines — matches ../refined.css. */
:root{--bg:#F3EDDD;--bg2:#FBF8F0;--panel:#FBF8F0;--text:#1D1F1E;--sub:#6b655c;--muted:#8c857a;--stroke:rgba(29,31,30,.14)}
body{background:var(--bg)}
body::selection{background:#C8372B;color:#fff}
.site-header{background:rgba(251,248,240,.95);border-bottom:1px solid rgba(29,31,30,.14);box-shadow:none}
.brand-name strong{font:800 17px/1.1 'Playfair Display',Georgia,serif;letter-spacing:0;color:#1D1F1E}
.brand-name small{font:700 10px/1.7 'DM Sans',Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#C8372B}
.primary-nav{color:#1D1F1E;font-weight:500}
.primary-nav a:hover,.head-profile:hover{color:#C8372B}
.btn-primary{background:#1D1F1E;border-color:#1D1F1E;border-radius:999px}
.btn-primary:hover{background:#C8372B;border-color:#C8372B}
.btn{border-radius:999px}
h1,h2,h3{letter-spacing:-.01em}
/* section rhythm: alternate cream / paper like the homepage */
.intro-strip,.pipeline-section,.software-section,.papers-section{background:#FBF8F0}
.featured-section,.demo-section,.video-section{background:#F3EDDD}
.intro-strip,.pipeline-section,.papers-section{border-top:1px solid rgba(29,31,30,.1);border-bottom:1px solid rgba(29,31,30,.1)}
a:focus-visible,button:focus-visible{outline:2px solid #C8372B;outline-offset:3px}
/* Playfair needs looser tracking than the old display face */
main h1,main h2,main h3,.hero-section h1{letter-spacing:-.005em!important}
