/* Shared Nutastack design. Opaque content, restrained floating navigation. */
:root,:root[data-theme="light"]{
 color-scheme:light;--bg:#f6f6f7;--surface:#fff;--surface-2:#ededf0;--surface2:#ededf0;
 --text:#202124;--muted:#62666c;--line:#dedfe3;--accent:#096d68;--accent-2:#096d68;--lime:#096d68;--blue:#096d68;
 --code:#13191f;--radius:24px;--max:1200px;--shadow:0 12px 40px rgba(24,30,36,.055);
 --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;--ease:cubic-bezier(.22,.61,.36,1)
}
:root[data-theme="dark"]{
 color-scheme:dark;--bg:#101113;--surface:#1b1d20;--surface-2:#25282c;--surface2:#25282c;
 --text:#f1f2f4;--muted:#a8adb5;--line:#373b41;--accent:#76d6cb;--accent-2:#76d6cb;--lime:#76d6cb;--blue:#76d6cb;
 --code:#0b0d10;--shadow:0 16px 48px rgba(0,0,0,.14)
}
html{scroll-padding-top:130px}body{font-family:var(--sans);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;color:var(--text)}
h1,h2,h3,h4{color:var(--text);letter-spacing:-.035em;line-height:1.15;text-wrap:balance}p{line-height:1.65}a{color:var(--accent);text-underline-offset:4px}a:hover{color:var(--accent)}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.wrap{width:min(var(--max),calc(100% - 64px))}.skip-link{position:fixed;top:8px;left:24px;z-index:100;transform:translateY(-180%);background:var(--surface);color:var(--text);padding:12px 20px;border-radius:20px}.skip-link:focus{transform:none}
/* One shared header across the reference and project pages. */
.topbar{position:sticky;top:12px;z-index:30;width:min(1280px,calc(100% - 32px));margin:12px auto 0;border:1px solid color-mix(in srgb,var(--line) 75%,transparent);border-radius:24px;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);box-shadow:0 4px 22px #00000005}
.topbar .navrow{width:100%;padding:10px 18px;min-height:64px;gap:18px;display:flex;align-items:center}.brand{gap:10px;min-width:max-content;color:var(--text)}.brand:hover{text-decoration:none;color:var(--text)}.brand-name{letter-spacing:-.035em;font-size:20px;font-weight:740}.brand-sub{display:none}.mark{width:32px;height:32px;border:0;border-radius:10px;background:var(--text);color:var(--surface);font:650 17px var(--sans)}
.navlinks{gap:2px;margin-left:auto;display:flex;align-items:center}.navlinks a,.navlinks button{min-height:44px;padding:11px 12px;font-size:13px;line-height:22px;white-space:nowrap;font-weight:550;letter-spacing:0;border-radius:999px;color:var(--muted);transition:background .18s var(--ease),color .18s var(--ease);text-decoration:none;border:0;background:transparent}.navlinks a:hover,.navlinks button:hover{background:var(--surface-2);color:var(--text)}.navlinks a.active,.navlinks button.active{color:var(--text);background:var(--surface-2);box-shadow:none}.tools{display:flex;gap:4px}.utility{min-width:44px;min-height:44px;border:0;border-radius:50%;font-size:13px;font-weight:600;background:transparent;color:var(--text);padding:10px;transition:background .18s var(--ease)}.utility:hover{background:var(--surface-2);color:var(--text)}.utility:active,.primary-btn:active{transform:scale(.97)}
.eyebrow,.project-label{color:var(--muted);font:600 11px/1.5 var(--sans);letter-spacing:.12em;text-transform:uppercase}.eyebrow{margin-bottom:16px}.primary-btn,.event-link{border-radius:999px;min-height:44px}.primary-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--bg);padding:12px 23px;border:0;font-size:14px;font-weight:600;text-decoration:none;transition:opacity .18s var(--ease),transform .18s var(--ease)}.primary-btn:hover{opacity:.86;color:var(--bg);text-decoration:none}.text-link{font-size:14px;font-weight:600;display:inline-flex;min-height:44px;align-items:center;gap:7px}.quiet-link{font-size:13px;color:var(--muted);display:inline-flex;align-items:center;min-height:44px}.hero-actions,.feature-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px}
/* Home: the work takes the place of a sidebar. */
.site-home>.grid{display:block;padding-top:0;padding-bottom:0}.site-home>.grid>main{min-width:0;outline:none}.site-home .sidebar{display:none}.site-home>.hero{padding:96px 0 72px}.site-home .hero-panel{min-height:0;display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.site-home .hero-panel h1{font-size:clamp(44px,5.8vw,78px);font-weight:650;letter-spacing:-.052em;line-height:1.06;max-width:21ch;white-space:pre-line;margin:20px 0 26px}.site-home .hero-panel p{max-width:52ch;font-size:19px;color:var(--muted);margin-bottom:26px;line-height:1.65}.site-home .hero-mark{display:none}.site-home:not([data-view="blog"])>.hero{display:none}
.home-projects{padding:8px 0 88px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:32px}.section-heading h2{font-size:clamp(28px,3.2vw,40px);font-weight:620;max-width:23ch;margin:0}.section-heading>.section-heading p{margin-bottom:0}.section-heading>p{max-width:34ch;font-size:15px;line-height:1.65;color:var(--muted);margin:0 0 3px}.section-heading .eyebrow{margin-bottom:12px}
.featured-projects{display:grid;grid-template-columns:1fr 1fr;gap:24px} .api-feature{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center}.api-feature .feature-copy>p:not(.project-label){min-height:0}.api-feature .feature-image{aspect-ratio:1.78;margin:24px 26px;border-radius:12px}.api-feature .feature-image img{height:100%;object-fit:cover;object-position:top}@media(max-width:760px){.api-feature{grid-template-columns:1fr}.api-feature .feature-image{margin-top:0}}.featured-project{min-width:0;background:var(--surface);border-radius:26px;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 50%,transparent)}.feature-copy{padding:34px 34px 25px}.feature-copy .project-label{margin-bottom:14px}.feature-copy h3{font-size:38px;letter-spacing:-.04em;margin:0 0 20px;font-weight:650}.feature-copy h3 span{display:block;font-size:21px;color:var(--muted);letter-spacing:-.02em;font-weight:500;margin-top:5px}.feature-copy>p:not(.project-label){font-size:16px;color:var(--muted);max-width:43ch;min-height:80px;margin-bottom:12px}.feature-links{gap:16px}.feature-image{display:block;margin:0 26px;background:#10171e;border-radius:12px 12px 0 0;border:1px solid #36434e;overflow:hidden;aspect-ratio:1.75;transition:transform .35s var(--ease);transform-origin:center bottom;box-shadow:0 12px 30px #0002}.feature-image:hover{transform:translateY(-5px);text-decoration:none}.feature-image img{display:block;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top}.window-chrome{height:29px;background:#1b2530;border-bottom:1px solid #36434e;display:flex;align-items:center;padding:0 11px;gap:5px;color:#b1bac4;font:10px var(--sans)}.window-chrome i{width:5px;height:5px;border-radius:50%;background:#6c7985}.window-chrome span{margin-left:8px}
.home-reading{padding:0 0 88px}.reading-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;border-top:1px solid var(--line)}.reading-entry{position:relative;display:flex;gap:22px;padding:32px 30px 28px 0;border-bottom:1px solid var(--line);color:var(--text);transition:opacity .2s var(--ease)}.reading-entry:hover{text-decoration:none;opacity:.72}.reading-entry h3{font-size:25px;letter-spacing:-.03em;margin:5px 0 10px}.reading-entry small{font-size:10px;font-weight:600;letter-spacing:.08em;color:var(--muted)}.reading-entry p{margin:0;font-size:15px;color:var(--muted);max-width:34ch}.reading-symbol{padding-top:7px;color:var(--muted);flex:0 0 38px;font:28px/1 var(--mono)}.entry-arrow{position:absolute;right:0;top:48px;font-size:23px;color:var(--muted)}
.home-personal{display:grid;grid-template-columns:160px 1fr;gap:48px;align-items:center;padding:48px;background:var(--surface);border-radius:26px;margin-bottom:40px}.home-personal>img{width:160px;height:160px;object-fit:cover;object-position:50% 28%;border-radius:50%;background:var(--surface-2)}.home-personal h2{font-size:30px;font-weight:620;margin-bottom:15px}.home-personal p:not(.eyebrow){font-size:16px;color:var(--muted);max-width:60ch;margin-bottom:12px}.home-personal .quiet-link{margin-left:24px}.home-coffee{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:34px 0 50px;margin-bottom:24px}.home-coffee h2{font-size:21px;letter-spacing:-.02em;margin-bottom:8px}.home-coffee p{max-width:62ch;color:var(--muted);font-size:14px;margin:0}.coffee-actions{min-width:190px;text-align:right}.coffee-actions .coffee-link{margin:0;background:var(--surface-2);color:var(--text);border-radius:999px;font-weight:600;padding:11px 20px;min-height:44px;font-size:13px}.coffee-actions .coffee-link:hover{background:var(--line)}.coffee-actions details{margin-top:8px;position:relative}.coffee-actions summary{font-size:12px;color:var(--muted);padding:8px;min-height:40px}.coffee-actions details[open] .coffee-qr{position:absolute;right:0;top:44px;z-index:2;box-shadow:var(--shadow)}
/* Project reading layouts. Large images stay readable, detail unfolds on request. */
.site-home[data-view="projects"] .grid,.site-home[data-view="about"] .grid,.site-home[data-view="imprint"] .grid{padding-top:68px}.site-home .card{box-shadow:none}.site-home .page-card{padding:40px;border:0;background:var(--surface);border-radius:26px}.site-home #view-projects>.card{margin-bottom:32px}.site-home #view-projects>.agentic-intro{padding:0;background:none;margin-bottom:48px}.site-home .agentic-intro h1{font-size:clamp(38px,5vw,60px);font-weight:650;max-width:20ch;margin:16px 0 22px}.agentic-intro>p{font-size:18px!important;max-width:62ch}.agentic-subnav{gap:8px;margin-top:24px;flex-wrap:wrap}.agentic-subnav a{border-radius:999px;min-height:44px;font:550 13px var(--sans);padding:10px 17px;background:var(--surface);color:var(--text);border:1px solid var(--line)}.project-choices{display:none}.project-section h3{font-size:clamp(29px,3.8vw,44px);font-weight:620;margin:12px 0 20px;max-width:28ch}.project-section>p{max-width:72ch;font-size:17px}.notice{background:var(--surface-2);border:0;border-radius:12px;color:var(--muted);font-size:13px;padding:16px 20px}.github-note{margin-top:24px}.nutadoc-showcase{margin-top:32px}.nutadoc-showcase>h3{font-size:22px;margin-bottom:20px}.nutadoc-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px}.nutadoc-shot{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}.nutadoc-shot img{width:100%;height:240px;display:block;object-fit:cover;object-position:top;transition:opacity .2s}.nutadoc-shot a:hover img{opacity:.85}.nutadoc-shot-copy{padding:22px}.nutadoc-shot-copy h4{font-size:18px}.nutadoc-shot-copy p{font-size:14px;margin-bottom:0}.nutadoc-shot:first-child{grid-column:auto}.nutadoc-demo-link{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;margin:12px 0 0;box-shadow:none}.nutadoc-demo-link:hover{background:transparent}.nutadoc-demo-link strong{font-size:17px;color:var(--text)}.nutadoc-demo-link p{font-size:14px;margin-top:6px;color:var(--muted);margin-bottom:0}.nutadoc-demo-link>span{font-size:13px;white-space:nowrap}.flow-shots{grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}.flow-shot{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}.flow-shot:first-child{grid-column:1/-1}.flow-shot:not(:first-child) .real-shot{height:280px;object-fit:cover;object-position:top}.flow-shot .project-copy{padding:22px}.flow-shot h4{font-size:20px;margin-bottom:10px}.real-shot-note{font-size:11px;padding:14px 22px 0}.flow-shot p{font-size:14px}.nutaflow-live{border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.nutaflow-live-head{padding:24px;gap:22px}.nutaflow-live-head h4{font-size:20px}.nutaflow-live-head p{font-size:14px}.nutaflow-live iframe{height:640px;background:#101822}.release-band{background:var(--surface-2);border:0;border-radius:14px;padding:24px}.release-date{font-family:var(--sans);color:var(--text);font-size:25px}.event-link{background:none;border:1px solid var(--line);color:var(--text);padding:10px 18px;font-size:13px}.event-link:hover{background:var(--surface-2);text-decoration:none}.site-home #agentic-method,.site-home #replicator-log{max-width:100%}.agentic-method>p,.trek-log>p,.replicator-story>p{max-width:70ch;font-size:17px}.site-home .agentic-method h2,.site-home .trek-log h2{font-size:clamp(30px,4vw,44px);max-width:28ch}.method-steps{gap:18px;margin:32px 0}.method-step{border:0;border-top:1px solid var(--line);background:transparent;border-radius:0;padding:20px 0}.method-step small{color:var(--muted);font-family:var(--sans)}.method-step strong{font-size:16px}.method-step p{font-size:14px}.hobby-note{border:0;border-radius:0;background:transparent;padding:0}.trek-figure{border:0;border-radius:18px;margin:32px 0;overflow:hidden;background:var(--surface-2)}.trek-figure img{max-height:560px;object-fit:cover}.trek-figure figcaption{font-family:var(--sans);color:var(--muted);font-size:12px;padding:12px 20px}.trek-log h3{font-size:26px}.replicator-story{padding:0;border:0;background:transparent}.fan-note{font-size:12px!important}
.site-home #view-about,.site-home #view-imprint{max-width:850px;margin:0 auto 72px}.site-home #view-about .page-card,.site-home #view-imprint .page-card{padding:52px}.site-home #view-about h1,.site-home #view-imprint h1{font-size:clamp(36px,5vw,54px);margin:20px 0 28px;font-weight:640}.site-home #view-about p{font-size:17px;max-width:65ch}.about-portrait{float:right;width:110px;height:110px;border-radius:50%;margin:0 0 20px 26px;object-fit:cover}.focus-grid{gap:0 24px}.focus{border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:18px 0}.focus b{font-size:15px}.focus span{font-size:13px}
.footer{border-top:1px solid var(--line);padding:30px 0 36px;font-size:11px;line-height:2;gap:20px;display:flex;justify-content:space-between;color:var(--muted)}.footer a{color:var(--muted)}
/* Reference pages share the same typography, surfaces and controls. */
body:not(.site-home)>.hero{padding:70px 0 42px}body:not(.site-home) .hero-panel{background:none;border:0;padding:0;box-shadow:none;border-radius:0;display:block;min-height:0}body:not(.site-home) .hero-panel h1{font-size:clamp(40px,5.5vw,68px);font-weight:650;letter-spacing:-.045em;line-height:1.06;margin:18px 0 24px;max-width:22ch}body:not(.site-home) .hero-panel p{font-size:18px;max-width:65ch}body:not(.site-home) .hero-mark{display:none}.page-layout{gap:32px;padding-top:12px}.article-card{border:0;border-radius:22px;box-shadow:none;padding:38px}.toc-card{box-shadow:none;border-radius:18px;border-color:var(--line)}.toc-title{font-family:var(--sans);letter-spacing:.03em}.chapter{scroll-margin-top:130px}.chapter>h2{font-size:29px;letter-spacing:-.035em;margin-top:35px}.article-card p{line-height:1.75}.article-card .lead{font-size:17px}.reference-tools{background:var(--surface-2);border:0;border-radius:16px;padding:22px}.reference-tools input{background:var(--surface);border-radius:10px;min-height:46px}.filters button{border-radius:999px;min-height:44px}.callout{border-radius:12px;box-shadow:none}.tw{border-radius:12px}.top{border-radius:999px;min-height:44px}
.platform-hero{padding:78px 0 66px;gap:48px}.platform-hero h1{font-size:clamp(42px,5.5vw,68px);font-weight:650;letter-spacing:-.045em;line-height:1.07}.platform-hero h1 span{color:var(--text)}.platform-hero p{font-size:18px;line-height:1.7}.hero-art{border-radius:22px}.guide-nav-shell{background:color-mix(in srgb,var(--bg) 95%,transparent);backdrop-filter:blur(12px);border-color:var(--line)}.guide-nav{gap:24px}.guide-nav a{font-family:var(--sans);font-size:12px;min-height:44px;padding-block:12px}.platform-main{--section-gap:90px}.platform-main .section-head{margin-bottom:32px}.platform-main .section-num{color:var(--muted)}.platform-main h2{font-size:clamp(30px,3.5vw,43px);font-weight:620}.platform-main p{line-height:1.75}.architecture,.route-diagram,.gateway-layout,.rag-visual{border-radius:22px;box-shadow:none}.architecture{background:var(--surface)}.runbook{border-radius:16px;box-shadow:none}.guide-section{scroll-margin-top:165px}.route-btn,.layer-button,.layer-tab{border-radius:14px}.platform-main .info-card{box-shadow:none}
@media(min-width:1500px){.site-home>.hero{padding-top:112px}}
@media(max-width:1050px){.topbar .navrow{gap:8px;padding:8px 14px}.navlinks a,.navlinks button{padding-inline:10px;font-size:12px}.brand-name{font-size:18px}.topbar .navrow{flex-wrap:wrap}.navlinks{order:3;width:100%;margin:0;justify-content:center;overflow-x:auto;scrollbar-width:none}.navlinks::-webkit-scrollbar{display:none}.tools{margin-left:auto}.topbar{border-radius:22px}.hero-panel{margin-top:0}.site-home>.hero{padding-top:64px}.feature-copy{padding:28px 26px 20px}.feature-copy>p:not(.project-label){min-height:105px}.feature-links{gap:0 15px}.platform-hero{gap:28px}.section-heading{gap:30px}.section-heading>p{max-width:28ch}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.site-home>.hero{padding:52px 0 46px}.site-home .hero-panel h1{font-size:clamp(38px,7.5vw,58px);max-width:20ch}.site-home .hero-panel p{font-size:17px}.featured-projects{gap:18px}.feature-copy{padding:24px 22px 18px}.feature-copy h3{font-size:31px}.feature-copy h3 span{font-size:18px}.feature-copy>p:not(.project-label){font-size:15px}.feature-links{display:block}.feature-links a{display:flex;font-size:13px}.feature-image{margin:0 18px;aspect-ratio:1.4}.section-heading{display:block;margin-bottom:26px}.section-heading>p{max-width:50ch;margin-top:16px}.home-projects,.home-reading{padding-bottom:60px}.home-personal{padding:30px;grid-template-columns:100px 1fr;gap:26px}.home-personal>img{width:100px;height:100px}.home-personal h2{font-size:25px}.home-personal .quiet-link{margin:0;display:flex}.home-coffee{padding-bottom:28px}.site-home .page-card{padding:28px}.nutadoc-shot img{height:190px}.nutadoc-demo-link{align-items:start;flex-direction:column;gap:10px}.flow-shot:not(:first-child) .real-shot{height:200px}.platform-hero{grid-template-columns:1fr;padding:48px 0;gap:28px}.platform-hero .hero-art{max-width:none;aspect-ratio:1.7}.platform-hero p{font-size:17px}.platform-main{--section-gap:60px}.article-card{padding:26px}.page-layout{gap:22px}.footer{flex-direction:column;gap:8px}}
@media(max-width:520px){.topbar{top:8px;margin-top:8px;width:calc(100% - 20px);border-radius:20px}.topbar .navrow{padding:7px 10px;gap:3px}.topbar .mark{width:28px;height:28px;border-radius:9px;font-size:15px}.brand-name{font-size:18px}.tools .utility{min-height:40px;min-width:40px;padding:8px}.navlinks{justify-content:space-between;gap:0}.navlinks a,.navlinks button{font-size:11px;padding:8px;min-height:44px}.site-home .hero-panel h1{font-size:39px;letter-spacing:-.05em;max-width:20ch}.site-home .hero-panel p{font-size:16px;line-height:1.7}.hero-actions{gap:8px 18px}.hero-actions .text-link{font-size:13px}.featured-projects{grid-template-columns:1fr;gap:24px}.feature-copy{padding:28px}.feature-copy h3{font-size:36px}.feature-copy h3 span{font-size:20px}.feature-copy>p:not(.project-label){min-height:0;font-size:16px}.feature-links{display:flex;gap:6px 18px}.feature-image{margin:0 22px;aspect-ratio:1.65}.section-heading h2{font-size:29px}.reading-grid{grid-template-columns:1fr;gap:0}.reading-entry{gap:15px;padding:26px 25px 26px 0}.reading-entry h3{font-size:24px}.reading-entry p{font-size:14px}.home-personal{display:block;padding:28px}.home-personal>img{width:86px;height:86px;margin-bottom:22px}.home-personal h2{font-size:27px}.home-personal p:not(.eyebrow){font-size:15px}.home-coffee{display:block}.coffee-actions{text-align:left;margin-top:18px}.coffee-actions summary{padding-left:0}.coffee-actions details[open] .coffee-qr{position:static;margin:12px 0}.site-home[data-view="projects"] .grid,.site-home[data-view="about"] .grid,.site-home[data-view="imprint"] .grid{padding-top:42px}.site-home .page-card{padding:24px 20px;border-radius:20px}.site-home .agentic-intro h1{font-size:39px}.agentic-intro>p{font-size:16px!important}.agentic-subnav{gap:6px}.agentic-subnav a{font-size:12px;padding:10px 12px}.project-section>p{font-size:16px}.project-section h3{font-size:30px}.nutadoc-gallery,.flow-shots{grid-template-columns:1fr}.nutadoc-shot:first-child,.flow-shot:first-child{grid-column:auto}.nutadoc-shot img{height:auto}.flow-shot:not(:first-child) .real-shot{height:auto}.nutaflow-live-head{display:block;padding:20px}.nutaflow-live-head a{display:inline-flex;margin-top:12px}.nutaflow-live iframe{height:500px}.release-band{display:block;padding:20px}.release-date{margin-top:16px}.trek-figure{margin:24px 0}.trek-figure img{height:auto}.site-home #view-about .page-card,.site-home #view-imprint .page-card{padding:28px 24px}.about-portrait{width:74px;height:74px;margin-left:12px}.site-home #view-about p{font-size:16px}.focus-grid{grid-template-columns:1fr}.article-card{padding:22px 18px}.chapter>h2{font-size:26px}.process{grid-template-columns:1fr 1fr}.platform-hero h1{font-size:42px}body:not(.site-home)>.hero{padding-top:44px}.guide-nav{gap:18px}.footer{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.feature-image:hover{transform:none}}
@media(prefers-reduced-transparency:reduce){.topbar,.guide-nav-shell{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){.topbar,.featured-project,.nutadoc-shot,.flow-shot{border-color:var(--text)}:root{--muted:var(--text)}}
.site-home .eyebrow,.site-home .project-label{font-size:12px;letter-spacing:.015em;text-transform:none}.site-home .hero{padding-top:72px}.project-section>h2{font-size:clamp(29px,3.8vw,44px);font-weight:620;margin:12px 0 20px;max-width:28ch}.demo-embed summary{min-height:44px;padding:14px 24px;border-top:1px solid var(--line);font-size:13px;color:var(--accent)}.demo-embed iframe{display:block;width:100%;border:0}.demo-embed[open] summary{margin-bottom:8px}.site-home .section-heading .eyebrow{margin-bottom:12px}
@media(max-width:760px){.site-home>.hero{padding-top:52px}}
@media(max-width:520px){.topbar .navlinks .nav-page,.topbar .navlinks>a{font-size:11px;padding:8px 7px;flex-shrink:0}.topbar .navlinks{overflow:visible}.topbar .brand-name{font-size:17px}.project-section>h2{font-size:30px}}
.site-home #view-about h2{font-size:23px;margin:32px 0 14px}.platform-hero .hero-actions a{border-radius:999px;padding:12px 22px;min-height:46px}.quicklinks a{min-height:44px;display:inline-flex;align-items:center;border-radius:999px;padding:8px 16px}
@media(max-width:360px){.topbar .navlinks .nav-page,.topbar .navlinks>a{font-size:10px;padding-inline:5px}.wrap{width:calc(100% - 32px)}}
.workflow-figure{margin:32px 0 40px}.workflow-figure h3{font-size:22px;margin-bottom:20px}.workflow-viewport{border:1px solid var(--line);border-radius:16px;background:#fff;padding:22px 14px;overflow:auto}.workflow-viewport img{display:block;width:100%;height:auto;min-width:740px}.workflow-figure figcaption{display:flex;gap:10px 24px;flex-wrap:wrap;padding:8px 0;font-size:12px}.workflow-figure figcaption a{display:inline-flex;min-height:44px;align-items:center}.workflow-figure figcaption a+ a{color:var(--muted)}
@media(max-width:520px){.workflow-viewport{padding:20px 14px}.workflow-figure figcaption{gap:0 16px}}

.site-home .trek-figure img{max-height:none;height:auto;aspect-ratio:3/2;object-fit:contain}

/* Editorial masthead, article previews and reading surfaces. */
:root, :root[data-theme="light"] {
  --bg: #f5f6f3;
  --surface-2: #e9eeea;
  --surface2: var(--surface-2);
  --text: #172621;
  --muted: #51615a;
  --line: #ced8d1;
  --accent: #086756;
  --folio-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
  --bg: #101713;
  --surface: #19221d;
  --surface-2: #23312a;
  --surface2: var(--surface-2);
  --text: #edf4ef;
  --muted: #b1c2b8;
  --line: #35483c;
  --accent: #8cddbf;
}
@media screen {
  body { background: var(--bg); }
  .topbar { width: min(1240px, calc(100% - 32px)); border-radius: 22px; }
  .topbar .brand-name { font-weight: 750; letter-spacing: -.04em; }
  .topbar .mark { background: #125348; border: 1px solid #357668; color: white; font: 700 17px/1 var(--folio-mono); }
  .topbar .utility { min-width: 44px; min-height: 44px; }
  .site-home .eyebrow, .site-home .project-label, .eyebrow, .plate-label {
    font: 600 11px/1.45 var(--folio-mono);
    letter-spacing: .075em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .site-home > .hero { padding-block: clamp(38px, 5vw, 76px); }
  .site-home .hero-panel, .api-reference > .hero .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    align-items: center;
    gap: clamp(32px, 5vw, 76px);
  }
  .site-home .hero-panel h1 {
    font-size: clamp(46px, 5.2vw, 76px);
    font-weight: 650;
    line-height: 1.01;
    letter-spacing: -.055em;
    max-width: 14ch;
  }
  .site-home .hero-panel p { max-width: 45ch; font-size: clamp(16px, 1.4vw, 19px); }
  .author-byline { display: flex; align-items: center; gap: 12px; font: 600 12px/1.4 var(--folio-mono); color: var(--muted); }
  .author-byline img { border-radius: 50%; width: 38px; height: 38px; }
  .cover-story { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--text); }
  .cover-story:hover { text-decoration: none; color: var(--text); border-color: var(--accent); }
  .cover-story > img { display: block; width: 100%; aspect-ratio: 1.95; height: auto; object-fit: cover; object-position: center 49%; }
  .cover-caption { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 20px; gap: 16px; }
  .cover-caption strong { display: block; font-size: clamp(19px, 2vw, 25px); font-weight: 630; letter-spacing: -.035em; line-height: 1.25; margin: 5px 0 3px; }
  .cover-caption div > span:last-child { font-size: 14px; color: var(--muted); }
  .cover-arrow { flex: none; display: grid; place-items: center; height: 38px; width: 38px; font: 21px/1 var(--sans); background: var(--surface-2); border-radius: 50%; color: var(--accent); }
  #news-section:not([hidden]) { display: grid; grid-template-columns: minmax(195px, .38fr) minmax(0, 1fr); align-items: start; gap: 20px 5%; padding: 32px 0; border-block: 1px solid var(--line); margin-bottom: clamp(50px, 6vw, 86px); }
  .news-heading { margin: 0; }
  .site-home .news-heading .eyebrow { margin: 0 0 8px; color: var(--accent); }
  .news-card.card { border: 0; border-radius: 0; border-left: 2px solid var(--accent); padding: 0 0 0 22px; background: transparent; box-shadow: none; }
  .news-card p { max-width: 78ch; overflow-wrap: anywhere; }
  .site-home .news-card h3 { margin: 7px 0; }
  .news-list { gap: 24px; }
  .news-heading h2, .section-heading h2 { font-weight: 630; letter-spacing: -.043em; }
  .feature-copy > p:not(.project-label) { min-height: 0; }
  .featured-project:not(.api-feature) { display: flex; flex-direction: column; }
  .featured-project:not(.api-feature) .feature-image { margin-top: auto; }
  .feature-image img { min-height: 0; }
  .site-home .page-card, .article-card { box-shadow: none; }
  .site-home .project-section { border-top: 1px solid var(--line); }
  .workflow-figure figcaption, .hero-art figcaption, .flow-guide .hero-image figcaption { font: 12px/1.55 var(--folio-mono); }
  .chapter { min-width: 0; }
  .chapter > p, .chapter > ul, .chapter > ol { max-width: 75ch; }
  .api-reference .request-plate { margin: 0; padding: clamp(20px, 3vw, 34px); border-radius: 20px; color: #eef9f3; background: #132c25; border: 1px solid #30564a; }
  .request-plate figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 12px/1.5 var(--folio-mono); color: #b4d4c4; }
  .request-plate .request-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; border-block: 1px solid #3d5a50; padding: 21px 0; margin: 18px 0 10px; }
  .request-line b, .request-line code { font: 500 clamp(13px, 1.3vw, 17px)/1.5 var(--folio-mono); }
  .request-line b { color: #94e1bd; }
  .request-line code { overflow-wrap: anywhere; background: none; border: none; padding: 0; color: #eef9f3; }
  .request-plate a { display: inline-flex; align-items: center; min-height: 44px; color: #a6e9cb; font-weight: 600; font-size: 14px; }
  .flow-guide { --nf-bg: var(--bg); --nf-surface: var(--surface); --nf-surface2: var(--surface-2); --nf-text: var(--text); --nf-muted: var(--muted); --nf-line: var(--line); --nf-accent: var(--accent); }
  .flow-guide .topbar .brand, .flow-guide .topbar .navlinks { display: flex; align-items: center; }
  .flow-guide .hero h1, .platform-hero h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.04; letter-spacing: -.05em; }
  .flow-guide .hero-image { margin: 0; }
  .flow-guide .hero-image img { display: block; width: 100%; height: auto; }
}
@media screen and (max-width: 800px) {
  .site-home .hero-panel, .api-reference > .hero .hero-panel { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .site-home .hero-panel h1 { max-width: 18ch; margin-block: 20px 14px; }
  .site-home .hero-panel p { margin-bottom: 18px; }
  .cover-story > img { max-height: 265px; object-fit: contain; background: #e9eef1; }
  #news-section:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
  .flow-guide .topbar .navrow { display: grid; grid-template-columns: 1fr auto; gap: 0; }
  .flow-guide .topbar .tools { grid-column: 2; grid-row: 1; }
  .flow-guide .topbar .navlinks { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; justify-content: space-between; gap: 0; }
}
@media screen and (max-width: 520px) {
  .site-home .hero-panel h1 { max-width: 12ch; font-size: clamp(42px, 10.5vw, 54px); }
  .cover-caption { padding: 15px 17px; }
  .cover-caption div > span:last-child { font-size: 13px; }
  .news-card.card { padding-left: 15px; }
  .api-reference .topbar .navrow { min-width: 0; }
  .api-reference .topbar .navlinks { min-width: 0; max-width: 100%; }
}
.snapshot-figure { margin: 20px 0; }
.snapshot-figure > a { display: block; background: white; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.snapshot-figure img { display: block; width: 100%; height: auto; }
.snapshot-figure figcaption a { display: inline-flex; min-height: 44px; align-items: center; font: 12px/1.5 var(--folio-mono); }
.api-reference .chapter h2, .api-reference .chapter h3 { overflow-wrap: anywhere; hyphens: auto; }
.api-reference #chapter-index > summary { cursor: pointer; min-height: 44px; padding-block: 10px; }
.site-home .project-choices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin: 28px 0 0; }
.site-home .project-choice { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: none; }
.site-home .project-choice:hover { text-decoration: none; border-color: var(--accent); }
.site-home .project-choice img { display: block; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; object-position: top; }
.site-home .project-choice b { font-size: 20px; padding: 17px 17px 0; }
.site-home .project-choice p { margin: 5px 17px 12px; color: var(--muted); font-size: 14px; }
.site-home .project-choice span { padding: 0 17px; margin-top: auto; color: var(--accent); font-weight: 600; }
@media(max-width: 660px) {
  .site-home .project-choices { grid-template-columns: 1fr; gap: 10px; }
  .site-home .project-choice { display: grid; grid-template-columns: 88px 1fr; align-content: center; align-items: center; padding: 12px; gap: 3px 14px; }
  .site-home .project-choice img { width: 88px; height: 68px; grid-row: 1 / 3; border-radius: 7px; object-position: top left; }
  .site-home .project-choice b { padding: 0; font-size: 18px; }
  .site-home .project-choice p { margin: 0; line-height: 1.45; }
  .site-home .project-choice span { display: none; }
}
@media print { .request-plate,.cover-story { display:none; } }
