/* Shared presentation only: preserve every page's existing content and structure. */
:root,html[data-theme="light"]{--bg:#fff;--surface:#fff;--surface-strong:#f4f5ef;--text:#282b25;--text-muted:#64685c;--line:#d9dbd1;--accent:#55633e;--accent-text:#fff;--focus:#55633e;--display:Georgia,'Times New Roman',serif;--body:'Segoe UI',Arial,sans-serif;--page:min(1192px,calc(100% - 64px));--radius-lg:6px;--radius-md:6px;--shadow:none}
html[data-theme="dark"]{--bg:#191c19;--surface:#222620;--surface-strong:#2c3228;--text:#f4f4ee;--text-muted:#bec4b5;--line:#454b3e;--accent:#b5ca93;--focus:#b5ca93}
html[data-style="minimal"]{--accent:#2152b9;--focus:#2152b9;--display:Arial,Helvetica,sans-serif;--radius-lg:0px;--radius-md:0px}
html[data-style="playful"]{--accent:#97462f;--focus:#97462f;--radius-lg:24px;--radius-md:24px}
body{background-color:var(--bg);background-image:linear-gradient(to right,rgba(90,105,120,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(90,105,120,.035) 1px,transparent 1px);background-size:18px 18px;font-family:var(--body);color:var(--text)}
body::before{display:none}
.site-header{position:relative;top:0;margin-top:0;min-height:100px;border:0;border-radius:0;padding:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
.brand{font-family:var(--body);font-weight:600;letter-spacing:-.04em}
.site-nav a{font-weight:400}
.case-study-title,.case-study-section h2,.case-study-subsection h3,.section-heading h2,.about-panel h2,.site-footer h2{font-family:var(--display);font-weight:400;letter-spacing:-.035em}
.case-study-title{line-height:1.1;font-size:clamp(38px,5.4vw,70px)}
.case-study-lead{color:var(--text-muted);line-height:1.8}
.case-study-section h2{font-size:clamp(28px,3.2vw,42px);line-height:1.2}
.case-study-image,.case-study-emphasis{border-radius:var(--radius-lg);box-shadow:none}
.case-study-shell{background:transparent;box-shadow:none}
.button{box-shadow:none;border-radius:var(--radius-md)}
.site-footer{background:transparent;box-shadow:none}
@media(max-width:640px){:root{--page:calc(100% - 40px)}.site-header{min-height:88px}.case-study-title{font-size:38px}}

/* Identical homepage navigation and style controls on every test screen. */
.lab-site-header{height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:51;background:transparent;padding:0;margin:0;border:0;box-shadow:none}
.lab-site-header .wordmark{font:600 18px var(--body);letter-spacing:-.6px;text-decoration:none;color:var(--text)}
.lab-site-header .wordmark-mark{display:inline-block;color:var(--accent);font-size:32px;line-height:0;margin-left:5px;vertical-align:middle}
.lab-site-header nav{display:flex;gap:32px;font-size:14px;font-family:var(--body)}
.lab-site-header nav a{color:var(--text);text-decoration:none}
.lab-site-header nav a:hover{text-decoration:underline;text-underline-offset:5px}
.lab{position:sticky;top:0;z-index:1000;background:var(--text);color:var(--bg);display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 28px;min-height:58px;font:12px/1.65 var(--body)}
.lab-label{white-space:nowrap;font-weight:600;color:inherit;text-decoration:none}.lab-label span{font-weight:400;opacity:.75}
.style-options{display:flex;gap:5px}.style-options button{font:12px var(--body);color:inherit;background:transparent;border:1px solid transparent;padding:7px 13px;border-radius:4px;cursor:pointer}.style-options button:hover{border-color:currentColor}.style-options button[aria-pressed=true]{background:var(--bg);color:var(--text)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html{scroll-padding-top:90px}
@media(max-width:640px){.lab{position:relative;flex-direction:column;gap:7px;padding:12px 10px}.lab-label{font-size:11px}.style-options{width:100%;justify-content:center}.style-options button{padding:8px;font-size:11px}.lab-site-header{height:88px;align-items:flex-start;padding-top:25px;gap:15px;flex-wrap:wrap}.lab-site-header .wordmark{font-size:16px}.lab-site-header nav{gap:17px;font-size:12px;width:100%;padding-bottom:10px}}

/* All test screens use the homepage light color scheme. */
html[data-theme="light"] { color-scheme: light; }

.wordmark-logo { display:inline-flex;align-items:center;flex-shrink:0; }
.brand-logo { display:block;width:72px;height:60px;object-fit:contain; }
@media(max-width:640px){.brand-logo{width:56px;height:46px}.lab-site-header:has(.brand-logo){height:auto;min-height:112px;padding-top:14px;padding-bottom:12px;row-gap:5px}.scroll-nav.is-floating:has(.brand-logo){height:112px;min-height:112px}}
@media(max-width:640px){.lab-site-header nav{gap:12px;flex-wrap:wrap}.lab-site-header{height:auto;min-height:100px;padding-bottom:12px}}
