@font-face{font-family:Manrope;src:url('assets/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}@font-face{font-family:Inter;src:url('assets/inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--page:#08090b;--surface:#111318;--hover:#1b1e24;--text:#f3f2ef;--secondary:#b9bdc6;--muted:#939aa7;--border:#626875;--divider:rgba(243,242,239,.14);--accent:#00a607;--tint:#d7eed4;--gutter:48px;--gap:24px;--columns:12;--ease:cubic-bezier(.16,1,.3,1);color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;scroll-padding-top:104px;scrollbar-color:var(--border) var(--page)}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text);font-size:16px;line-height:24px}::selection{background:var(--tint);color:var(--page)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-library{position:absolute;width:0;height:0;overflow:hidden}p{margin:0 0 16px;color:var(--secondary);max-width:68ch}p:last-child{margin-bottom:0}h1,h2,h3{font-family:Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:500;margin:0;letter-spacing:-.02em;text-wrap:balance}h1{font-size:76px;line-height:88px;letter-spacing:-.025em}h2{font-size:39px;line-height:48px}h3{font-size:25px;line-height:32px}h4{font-size:16px;font-weight:500;margin:0 0 16px}.shell{width:calc(100% - var(--gutter)*2);max-width:1440px;margin-inline:auto}.note,figcaption,.edition,.field-help{font-size:13px;line-height:16px;color:var(--muted)}.lead{font-size:20px;line-height:32px}.skip{position:fixed;top:-100px;z-index:500;background:var(--accent);color:var(--page);padding:16px}.skip:focus{top:8px}header{height:72px;position:fixed;inset:0 0 auto;z-index:100;background:rgba(8,9,11,.82);backdrop-filter:blur(8px) saturate(105%);-webkit-backdrop-filter:blur(8px) saturate(105%)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font:500 25px/32px Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-.02em;white-space:nowrap}.brand span{color:var(--muted);font:400 16px/24px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;margin-left:16px}header nav{display:flex;gap:32px}header nav a:hover,footer a:hover{text-decoration:underline;text-underline-offset:4px}#menu{display:none}#mobile-nav[hidden]{display:none}main{padding-top:72px}section{padding-block:64px;scroll-margin-top:16px}.opening{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;padding-top:72px;padding-bottom:48px}.intro{grid-column:1/7;position:relative;z-index:1}.intro .lead{margin-top:32px}.intro>p:not(.lead){max-width:43ch}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--tint);text-decoration:underline;text-underline-offset:4px}.intro>.text-link{margin-top:16px}.intro-art{grid-column:8/13;align-self:center;margin:0}.intro-art img{display:block;width:100%;height:auto}.intro-art figcaption{margin-top:16px;max-width:40ch}.edition{grid-column:1/-1;display:flex;justify-content:flex-start;flex-wrap:wrap;gap:32px;margin-top:40px}.section-heading{display:block;margin-bottom:32px}.section-heading h2{margin-bottom:16px}.section-heading p{margin:0;max-width:68ch}.profiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;margin-bottom:32px}.profile{padding:0 0 12px;min-height:64px;border:0;border-bottom:2px solid transparent;background:none;text-align:left;color:var(--secondary)}.profile:hover{color:var(--text)}.profile[aria-pressed=true]{border-color:var(--accent);color:var(--text)}.profile:before{content:'';display:block;width:24px;height:24px;background:var(--profile);border-radius:50%;margin-bottom:12px}.profile-detail{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:24px;margin-bottom:24px}.profile-detail span{color:var(--muted);font-size:13px;line-height:16px}.swatches{display:grid;gap:24px;margin-bottom:40px}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.neutrals{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:24px;margin-bottom:24px}.swatch{display:flex;flex-direction:column;text-align:left;padding:0;background:none;border:0;color:var(--text);gap:8px;min-width:0}.swatch .paint{height:104px;background:var(--swatch);width:100%;display:block;box-shadow:inset 0 0 0 1px var(--divider)}.swatch .hex{font-size:13px;line-height:16px;color:var(--muted);font-variant-numeric:tabular-nums}.swatch:hover .hex{color:var(--text)}.feedback{display:flex;flex-wrap:wrap;gap:24px;margin-top:24px;font-size:13px;line-height:16px}.font-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:40px}.alphabet{font-size:76px;line-height:88px;letter-spacing:-.025em;margin-bottom:16px}.manrope{font-family:Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:500}.font-pair h3{margin-bottom:8px}.font-pair h3 span{margin-left:16px}.type-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;padding:24px 0;border-bottom:1px solid var(--divider);align-items:baseline}.type-row>.type-meta,.button-row>span{grid-column:span 2}.type-row>.type-sample,.button-row>.actions{grid-column:span 10}.type-meta{font-size:13px;line-height:16px;color:var(--muted)}.type-meta span{display:block;margin-top:8px}.type-sample{margin:0;overflow-wrap:anywhere;color:var(--text)}#type-scale{margin-bottom:24px}.actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 24px;border-radius:999px;border:1px solid transparent;background:transparent;font:500 16px/24px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);text-decoration:none;transition:background-color 150ms,color 150ms}.btn.filled{background:var(--accent);color:var(--page)}.btn.filled:hover,.btn.filled.shown-hover{background:color-mix(in srgb,var(--accent),white var(--filled-hover-white,16%))}.btn.filled:active,.btn.filled.shown-pressed{background:color-mix(in srgb,var(--accent),var(--page) 8%)}.btn.outline{border-color:var(--accent);color:var(--tint)}.btn.outline:hover,.btn.outline[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 10%,transparent)}.btn.outline:active{background:color-mix(in srgb,var(--accent) 18%,transparent)}.btn.ghost:hover{background:color-mix(in srgb,var(--text) 8%,transparent)}.btn.ghost:active{background:color-mix(in srgb,var(--text) 14%,transparent)}.btn.compact{min-height:44px;padding:9px 16px}.btn.large{min-height:56px;padding:15px 32px}.btn.icon-only{width:48px;padding:11px}.btn:disabled{background:var(--hover);color:var(--muted)}.grid-demo,.overlay{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:var(--gap)}.grid-demo{height:112px;margin:32px 0 24px}.grid-demo span{background:rgba(255,153,187,.08);border-inline:1px solid rgba(255,153,187,.25);padding-top:16px;text-align:center;color:#ffb4ce;font-size:13px}.spec-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;color:var(--muted);font-size:13px;line-height:24px;margin-bottom:16px}.spec-row>span{grid-column:span 3}.spec-row b{color:var(--text);font-weight:400}.spacing{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap;margin:32px 0 48px}.spacing div{display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:16px;color:var(--muted)}.spacing i{height:8px;width:var(--size);background:var(--accent);display:block}.rhythm-example{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}.rhythm-example h3{margin-bottom:24px}.rhythm-example .btn{margin-top:16px}.rhythm-notes p{margin:0 0 16px}.button-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:center;gap:24px;margin-top:24px}.button-row>span{color:var(--muted);font-size:13px;line-height:16px}#elements>.note{margin-top:24px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.component-pair{margin-block:64px}.component-pair h3{margin-bottom:24px}form label:not(.check-label){display:block;margin-bottom:8px;font-weight:500}input[type=email],select{width:100%;height:48px;padding:0 16px;border:1px solid var(--border);border-radius:12px;color:var(--text);background:var(--surface);caret-color:var(--accent)}input::placeholder{color:var(--muted)}.field-help{margin:8px 0 24px}input[aria-invalid=true]{border-color:#f2a5ac}.field-help.error{color:#f2a5ac}.check-label{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}select{margin-bottom:16px}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--accent);margin:0}fieldset{border:0;padding:0;margin:16px 0 24px}legend{margin-bottom:8px}.tabs{display:flex;gap:24px}.tabs button{border:0;border-bottom:2px solid transparent;min-height:48px;padding:0;background:none;color:var(--secondary);font-weight:500}.tabs button[aria-selected=true]{color:var(--tint);border-color:var(--accent)}[role=tabpanel]{padding:24px 0;min-height:120px}details{border-bottom:1px solid var(--divider);padding:24px 0}summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;font-size:20px;line-height:24px}summary::-webkit-details-marker{display:none}details[open] summary svg{transform:rotate(45deg)}summary svg{transition:transform 240ms var(--ease)}details p{margin-top:16px}.dialog-action{margin-top:32px}.switch{position:relative;border:0;background:none;width:44px;height:44px;padding:0;flex:none}.switch:before{content:'';position:absolute;width:40px;height:24px;border-radius:99px;background:var(--border);left:2px;top:10px}.switch[aria-checked=true]:before{background:var(--accent)}.switch span{position:absolute;width:20px;height:20px;background:var(--page);border-radius:50%;left:4px;top:12px;transition:transform 150ms}.switch[aria-checked=true] span{transform:translateX(16px)}.icon-specimen{display:flex;align-items:center;gap:32px;flex-wrap:wrap;margin:24px 0}.icon-specimen>svg{width:24px;height:24px}.art-pair figure{margin:0;min-width:0}.art-pair img{display:block;width:100%;height:auto}.art-pair figcaption{margin-top:16px}.art-pair h3{color:var(--text);margin-bottom:16px}.art-pair p{font-size:16px;line-height:24px}.art-pair{margin-bottom:32px}.composition-list{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px 24px;align-items:center}.composition-list>div:nth-child(odd){grid-column:span 4}.composition-list>div:nth-child(even){grid-column:span 8}.composition-list h3{margin-bottom:16px}.layout-map{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:center;min-height:152px;background:rgba(255,153,187,.035);padding-block:16px}.layout-map>span{background:var(--surface);padding:16px;font-size:16px;line-height:24px}.offset-map span:first-child{grid-column:1/8;font:500 31px/40px Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.offset-map span:last-child{grid-column:9/13}.image-map img{grid-column:1/9;max-width:100%;height:152px;width:100%;object-fit:contain}.image-map span{grid-column:9/13}.collection-map span:nth-child(odd){grid-column:1/5}.collection-map span:nth-child(even){grid-column:5/13}.motion-stage{display:flex;align-items:center;justify-content:space-between;gap:48px;padding:32px 0 48px;min-height:256px}.motion-stage h3{font-size:49px;line-height:56px;margin-bottom:24px}.motion-stage p{margin-bottom:24px}footer{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;padding:64px 0 32px}footer>.brand{grid-column:span 4}footer>div{grid-column:span 2}footer>div>a{display:block;color:var(--secondary);margin-bottom:8px}.footer-note{grid-column:1/-1;margin-top:32px;font-size:13px;line-height:16px;color:var(--muted)}.overlay{position:fixed;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:200;visibility:hidden}.overlay span{background:rgba(255,153,187,.08);border-inline:1px solid rgba(255,153,187,.16)}body.columns-on .overlay{visibility:visible}body{position:relative}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 24px;background:var(--text);color:var(--page);border-radius:999px;z-index:400;max-width:calc(100% - 32px);opacity:0;pointer-events:none;transition:opacity 150ms}#toast.visible{opacity:1}dialog{width:min(520px,calc(100% - 48px));border:0;border-radius:32px;padding:32px;background:var(--surface);color:var(--text);box-shadow:0 16px 48px rgba(0,0,0,.32)}dialog::backdrop{background:rgba(0,0,0,.64)}dialog h3{padding-right:32px;margin-bottom:24px}dialog p{margin-bottom:32px}.close-dialog{position:absolute;right:16px;top:16px}
@media(max-width:1023px){:root{--gutter:32px}h1{font-size:61px;line-height:72px}h2{font-size:31px;line-height:40px}header nav{gap:16px}.brand span{display:none}.opening{padding-top:48px}.intro{grid-column:1/7}.intro-art{grid-column:7/13}.profiles{grid-template-columns:repeat(3,1fr)}.neutrals{grid-template-columns:repeat(3,1fr)}.two-col{gap:24px}.offset-map span:first-child{font-size:25px;line-height:32px}}
@media(max-width:719px){:root{--gutter:24px;--gap:16px;--columns:4;scroll-padding-top:88px}header{height:64px}.header-inner{gap:8px}.brand{font-size:20px;line-height:24px}header .source,header .header-inner nav{display:none}#menu{display:inline-flex}#mobile-nav{display:flex;flex-direction:column;gap:0;background:var(--surface);padding:16px 24px}#mobile-nav a{min-height:44px;display:flex;align-items:center}main{padding-top:64px}h1{font-size:39px;line-height:48px}h2{font-size:25px;line-height:32px}h3{font-size:20px;line-height:24px}section{padding-block:40px}.opening{padding-top:40px;gap:24px;display:flex;flex-direction:column}.intro .lead{margin-top:24px}.intro-art{width:100%}.edition{margin-top:8px;flex-direction:column;gap:8px}.section-heading{display:block;margin-bottom:32px}.section-heading h2{margin-bottom:16px}.profiles{gap:16px;grid-template-columns:repeat(2,1fr)}.profile{min-height:64px}.profile-detail{flex-direction:column;gap:8px}.four,.neutrals{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.swatch .paint{height:80px}.font-pair{gap:24px}.alphabet{font-size:49px;line-height:56px}.font-pair h3 span{display:block;margin:8px 0 0}.font-pair p{font-size:13px;line-height:16px}.type-row{grid-template-columns:1fr;gap:16px}.type-meta span{display:inline;margin-left:12px}.spec-row{display:grid;grid-template-columns:1fr;gap:16px}.spacing{gap:24px 16px}.rhythm-example,.two-col,.composition-list{grid-template-columns:1fr;gap:32px}.button-row{grid-template-columns:1fr;gap:16px;margin-top:32px}.component-pair{margin-block:48px}.rhythm-example h3{margin-bottom:16px}.art-pair{gap:40px}.layout-map{gap:8px}.layout-map>span{padding:8px;font-size:13px;line-height:16px}.offset-map span:first-child{font-size:20px;line-height:24px}.motion-stage{flex-direction:column;align-items:flex-start;gap:32px}.motion-stage h3{font-size:31px;line-height:40px}.icon-specimen{gap:24px}footer{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 16px;padding-top:40px}footer>.brand{grid-column:1/-1}footer>div{grid-column:span 2}.footer-note{margin-top:0}dialog{padding:24px}.grid-demo span:nth-child(n+5),.overlay span:nth-child(n+5){display:none}}
@media(max-width:359px){:root{--gutter:16px}.alphabet{font-size:39px;line-height:48px}.actions{gap:16px 12px}}
.swatch .hex{overflow-wrap:anywhere}
.btn.filled:disabled:hover,.btn.filled:disabled:active{background:var(--hover);color:var(--muted)}
:root{--on-accent:#08090B;--header:rgba(8,9,11,.82);--header-solid:rgba(8,9,11,.96);--error:#F2A5AC;--grid-ink:#ffb4ce}
:root[data-theme=light]{color-scheme:light;--page:#F7F8F5;--surface:#FFFFFF;--hover:#ECEFE9;--text:#171C18;--secondary:#4A554D;--muted:#626F65;--border:#7A877D;--divider:rgba(23,28,24,.16);--on-accent:#FFFFFF;--header:rgba(247,248,245,.86);--header-solid:rgba(247,248,245,.97);--error:#AC3444;--grid-ink:#94546b}
body,header,dialog,input,select{transition:background-color 240ms,color 240ms,border-color 150ms}header{background:var(--header)}.header-actions{display:flex;align-items:center;gap:16px}.header-inner{gap:16px}.btn.filled{color:var(--on-accent)}.btn:disabled{background:var(--hover);color:var(--muted)}.field-help.error{color:var(--error)}input[aria-invalid=true]{border-color:var(--error)}.five{grid-template-columns:repeat(6,minmax(0,1fr))}.theme-explanation{margin-top:24px}.grid-demo span{color:var(--grid-ink)}.intro-art img,.art-pair img{aspect-ratio:1672/941;object-fit:cover}.motion-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.motion-stage{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:32px 0;min-height:320px}.motion-stage h3{font-size:39px;line-height:48px}#motion-image{margin:0;width:100%;overflow:clip}#motion-image img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}.motion-timeline{margin:24px 0}.timing-row{display:grid;grid-template-columns:80px 1fr 120px;gap:24px;align-items:center;margin:16px 0;font-size:13px;line-height:16px;color:var(--muted)}.timing-row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.timing-track{height:8px;background:var(--hover);overflow:hidden}.timing-track i{display:block;height:8px;background:var(--accent);transform-origin:left}.motion-table{margin:40px 0 24px}.motion-table>[role=row]{display:grid;grid-template-columns:1fr 140px 2fr;gap:24px;padding:16px 0;border-bottom:1px solid var(--divider);align-items:baseline}.motion-table>[role=row]:first-child{color:var(--muted);font-size:13px;line-height:16px}.motion-table b{font-weight:500;font-variant-numeric:tabular-nums}.motion-table [role=cell]:last-child{color:var(--secondary)}.motion-disabled *, .motion-disabled *::before{transition:none!important}
@media(min-width:720px) and (max-width:1100px){header .header-inner nav{gap:16px}header .source{display:none}}
@media(max-width:1023px){.five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:719px){.header-actions{gap:0}.header-inner{gap:4px}.header-actions .btn.compact{padding-inline:12px}.five{grid-template-columns:repeat(2,minmax(0,1fr))}.motion-stage{grid-template-columns:1fr;gap:24px}.motion-stage h3{font-size:31px;line-height:40px}.motion-controls{gap:24px}.timing-row{grid-template-columns:48px 1fr 100px;gap:12px}.motion-table>[role=row]{grid-template-columns:1fr 100px;gap:8px 16px}.motion-table [role=cell]:last-child{grid-column:1/-1}.motion-table [role=columnheader]:last-child{display:none}.motion-table b{text-align:right}footer a{overflow-wrap:anywhere}}
@media(max-width:359px){.header-actions .btn.compact{padding-inline:8px}}
@supports not(backdrop-filter:blur(24px)){header{background:var(--header-solid)}}@media(prefers-reduced-transparency:reduce){header{background:var(--header-solid);backdrop-filter:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* An open catalogue: task and response share the existing composition grid. */
.pattern-controls{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--divider)}
.pattern-controls .note{margin:0}
.pattern-panel{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;padding:48px 0;min-height:296px;align-items:start}
.pattern-panel[hidden]{display:none}
.pattern-request{grid-column:1/6}
.pattern-request h3{font-size:39px;line-height:48px;margin-bottom:16px}
.pattern-request p{color:var(--muted)}
.pattern-response{grid-column:7/13;display:block;position:relative;min-width:0}
.pattern-response>svg{position:absolute;left:-48px;top:4px;width:24px;height:24px;color:var(--tint)}
.pattern-response h3{margin-bottom:16px}
.pattern-response p{max-width:52ch}
.pattern-flow{display:flex;gap:24px;list-style:none;padding:0;margin:32px 0 0;color:var(--tint);font-size:13px;line-height:20px}
.pattern-flow li{flex:1;border-top:1px solid var(--accent);padding-top:12px}
.pattern-principle{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;border-top:1px solid var(--divider);padding-top:32px}
.pattern-principle h3{grid-column:1/6}
.pattern-principle>div{grid-column:7/13}
.pattern-principle .text-link{margin-top:8px}
@media(min-width:720px) and (max-width:900px){header .header-inner nav{display:none}#menu{display:inline-flex}#mobile-nav{display:flex;flex-direction:column;gap:0;background:var(--surface);padding:16px 32px}#mobile-nav a{min-height:44px;display:flex;align-items:center}}
@media(max-width:1023px){.pattern-request h3{font-size:31px;line-height:40px}.pattern-response{grid-column:7/13}}
@media(max-width:719px){.pattern-controls{align-items:flex-start;flex-direction:column;gap:12px;padding-bottom:16px}.pattern-panel{grid-template-columns:1fr;gap:32px;padding:32px 0;min-height:440px}.pattern-request,.pattern-response{grid-column:1/-1}.pattern-request h3{font-size:31px;line-height:40px}.pattern-response{grid-template-columns:1fr;gap:16px}.pattern-response>svg{display:none}.pattern-flow{gap:16px;margin-top:24px}.pattern-principle{grid-template-columns:1fr;gap:24px}.pattern-principle h3,.pattern-principle>div{grid-column:1/-1}}

/* Each headline line owns its crop; text remains visible without JavaScript. */
.reveal-lines{display:block}.reveal-line{display:block;position:relative;overflow:visible;padding:0;margin:0}.reveal-line.is-revealing{clip-path:inset(-.2em -4px -.35em)}.reveal-line-inner{display:block;white-space:nowrap;transform-origin:left bottom}
.media-window{overflow:clip;width:100%}.media-window img{display:block;width:100%;transform-origin:50% 50%}
.pattern-controls .btn{margin-left:auto}.pattern-controls .btn svg{width:16px;height:16px}
@media(max-width:719px){.pattern-controls{flex-direction:row;align-items:center;flex-wrap:wrap}.pattern-controls .btn{padding-inline:12px}.pattern-controls .tabs{gap:20px}}

/* A working grid: guides share the exact tracks used by the content. */
.grid-toolbar,.grid-layout-controls,.grid-inspection{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.grid-toolbar{margin-bottom:24px}.grid-page-label{font-size:13px;color:var(--secondary);gap:8px}.grid-layout-controls{margin-bottom:16px}.grid-stage{--copy-gap:24px;--action-gap:32px;position:relative;isolation:isolate;border-block:1px solid var(--divider);margin-bottom:24px}
.grid-composition{position:relative;z-index:1;display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));column-gap:var(--gap);align-items:start;padding-block:64px;min-height:0}
.grid-copy{grid-column:1/7;min-width:0}.grid-copy h3{font-size:39px;line-height:48px;margin:0}.grid-copy>p{max-width:46ch;margin:0;line-height:24px}.grid-copy>.btn{min-height:48px}.grid-art{grid-column:8/13;align-self:stretch;margin:0;min-width:0;min-height:0;position:relative}.grid-art>img,.grid-art>.media-window{position:absolute;inset:0;width:100%;height:100%}.grid-art img{width:100%;height:100%;object-fit:cover}.grid-stage[data-layout=offset] .grid-copy{grid-column:2/8}.grid-stage[data-layout=offset] .grid-art{grid-column:9/13}
.stage-columns.grid-demo{position:absolute;inset:0;height:100%;margin:0;z-index:3;pointer-events:none;opacity:1;transition:opacity 450ms var(--ease)}.stage-columns.grid-demo>span{background:rgba(255,153,187,.045);border-color:rgba(255,153,187,.23);transform-origin:top}.stage-columns.grid-demo>span.is-anchor{background:color-mix(in srgb,var(--accent) 13%,transparent);border-color:var(--accent)}
.stage-rhythm{position:absolute;inset:0;pointer-events:none;z-index:2;background:repeating-linear-gradient(to bottom,color-mix(in srgb,var(--grid-rhythm) 19%,transparent) 0 1px,transparent 1px 8px);opacity:1;transition:opacity 450ms var(--ease)}
:root{--grid-rhythm:#7dd3fc}:root[data-theme=light]{--grid-rhythm:#246396}
.grid-stage[data-columns=false] .stage-columns,.grid-stage[data-rhythm=false] .stage-rhythm,.grid-stage[data-rhythm=false] .grid-gap span{opacity:0}
.grid-gap{position:relative;pointer-events:none}.copy-gap{height:var(--copy-gap)}.action-gap{height:var(--action-gap)}.grid-gap span{display:flex;align-items:center;position:absolute;left:0;top:4px;bottom:4px;padding-left:12px;border-left:1px solid var(--grid-rhythm);font-size:13px;line-height:16px;color:var(--grid-rhythm);transition:opacity 450ms}.grid-gap span:before,.grid-gap span:after{content:'';position:absolute;left:-1px;width:5px;border-top:1px solid var(--grid-rhythm)}.grid-gap span:before{top:0}.grid-gap span:after{bottom:0}
.grid-inspect-controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.grid-inspect-controls>.note{margin-right:8px}.grid-inspect-controls [aria-pressed=true]{color:var(--tint);background:color-mix(in srgb,var(--accent) 12%,transparent)}.grid-stage .is-inspected{outline:1px solid var(--accent);outline-offset:-1px}.grid-density-label{display:flex;align-items:center;gap:16px;color:var(--secondary);font-size:13px}.grid-density-label select{width:auto;margin:0;min-width:216px}.grid-insight{min-height:48px;margin:24px 0 32px;max-width:85ch;color:var(--secondary)}
/* Global guides fade independently and never intercept interaction. */
.overlay{opacity:0;visibility:hidden;transition:opacity 450ms,visibility 0s 450ms}.overlay span{transform-origin:top}body.columns-on .overlay{opacity:1;visibility:visible;transition-delay:0s}
@media(max-width:1023px){.grid-copy h3{font-size:31px;line-height:40px}.grid-inspection{align-items:flex-start}.grid-density-label{flex-wrap:wrap}}
@media(max-width:719px){.grid-toolbar{gap:12px}.grid-toolbar .actions{gap:12px}.grid-toolbar>.btn{margin-left:auto}.grid-page-label{flex-basis:100%}.grid-layout-controls{gap:12px}.grid-composition{row-gap:32px;padding-top:56px;padding-bottom:40px;min-height:0}.grid-copy,.grid-stage[data-layout=offset] .grid-copy{grid-column:1/-1}.grid-copy h3{font-size:31px;line-height:40px}.grid-art{grid-column:1/-1;min-height:0;aspect-ratio:16/9}.grid-stage[data-layout=offset] .grid-art{grid-column:2/5}.grid-inspection{gap:16px}.grid-inspect-controls .btn{padding-inline:12px}.grid-density-label{width:100%;justify-content:space-between}.grid-density-label select{min-width:0;flex:1}.grid-insight{min-height:96px}.grid-stage .is-inspected{outline-offset:-1px}}

/* v1.3 — shared anchors, readable groups and quiet explicit states. */
.section-heading h2{text-wrap:pretty}
.intro h1{text-wrap:wrap}.intro .lead{max-width:32ch}
.font-pair,.rhythm-example,.two-col,.motion-stage{column-gap:var(--gap)}
.type-row,.button-row{column-gap:var(--gap)}
.grid-toolbar,.grid-layout-controls,.grid-inspection{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
.grid-toolbar>.actions{grid-column:1/10}.grid-toolbar>#replay-grid{grid-column:10/13;justify-self:start;padding-inline:0}
.grid-layout-controls>.tabs{grid-column:1/8}.grid-layout-controls>#grid-status{grid-column:8/13;align-self:center}
.grid-inspect-controls{grid-column:1/8}.grid-density-label{grid-column:8/13;gap:16px;min-width:0}.grid-density-label select{min-width:0;flex:1}
.stage-rhythm{background-position-y:var(--rhythm-offset,0px)}
.grid-copy .reveal-line-inner,.baseline-text{position:relative;top:var(--baseline-shift,0px)}
.grid-copy>p>.baseline-text{display:block}

.grid-toolbar .btn[aria-pressed=false]{border-color:var(--border);color:var(--secondary);background:transparent}
.grid-toolbar .btn[aria-pressed=true]{border-color:var(--tint);color:var(--tint);background:color-mix(in srgb,var(--text) 7%,transparent);box-shadow:inset 0 0 0 1px var(--tint)}
.toggle-state{min-width:24px;font-size:13px;line-height:16px;color:var(--muted)}
[aria-pressed=true]>.toggle-state{color:var(--tint)}
.grid-inspect-controls [aria-pressed=true]{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;background:color-mix(in srgb,var(--text) 7%,transparent)}
.dialog-action{column-gap:24px;row-gap:16px}.switch-note{margin-top:16px}
/* Focus thickens the existing edge inward; geometry never changes. */
button,input,select,summary,[tabindex],[contenteditable]{--control-line:var(--tint);transition:background-color 150ms,color 150ms,border-color 180ms,box-shadow 180ms var(--ease)}
.btn.outline{--control-line:var(--accent)}
:where(button,input,select,summary,[tabindex],[contenteditable]):focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--control-line)}
.btn:focus-visible,.btn.shown-focus{outline:none;border-color:var(--control-line);box-shadow:inset 0 0 0 2px var(--control-line)}
.tabs button:focus-visible,.profile:focus-visible,summary:focus-visible{box-shadow:inset 0 -3px 0 var(--control-line)}
input:is(:focus,:focus-visible),select:is(:focus,:focus-visible){outline:none;border-color:var(--control-line);box-shadow:none}
input:is([type=checkbox],[type=radio]):focus-visible{outline:1px solid var(--tint);outline-offset:2px}
input[aria-invalid=true]{--control-line:var(--error);border-color:var(--error);box-shadow:none}
input[aria-invalid=true]:is(:focus,:focus-visible){border-color:var(--error);box-shadow:none}
.switch:focus-visible{box-shadow:none}.switch:before{transition:box-shadow 180ms var(--ease),background-color 150ms}.switch:focus-visible:before{box-shadow:inset 0 0 0 3px var(--tint)}
.close-dialog:focus-visible{box-shadow:none;border-color:transparent}.close-dialog svg{transition:stroke-width 180ms}.close-dialog:focus-visible svg{stroke-width:3}
#dialog-title:focus{outline:none;box-shadow:none}
/* Chromatic text links; quiet underlines appear only on interaction. */
:root{--link:color-mix(in srgb,var(--accent) 82%,white);--link-hover:color-mix(in srgb,var(--link) 88%,white)}
:root[data-theme=light]{--link:var(--accent);--link-hover:color-mix(in srgb,var(--link) 88%,black)}
.text-link{font:inherit;background:none;border:0;padding:0;cursor:pointer;max-width:100%;text-align:left}
a:not(.btn):not(.brand):not(.skip),.text-link{color:var(--link);text-decoration-line:none;text-decoration-style:solid;text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-underline-offset:.3em;text-decoration-thickness:1px;text-decoration-skip-ink:auto;transition:color 150ms,text-decoration-color 150ms}
a:not(.btn):not(.brand):not(.skip):hover,.text-link:hover{color:var(--link-hover);text-decoration-line:underline}
.text-link svg,.external-link svg{width:16px;height:16px;flex-shrink:0}
a:focus-visible,.text-link:focus-visible{outline:none;box-shadow:none;text-decoration-line:underline;text-decoration-thickness:3px;text-decoration-color:currentColor}
a.btn:focus-visible{box-shadow:inset 0 0 0 3px var(--tint);text-decoration:none}
.link-examples{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin:24px 0}
.link-examples+p{margin-bottom:16px}
@media(max-width:1023px){.spec-row>span{grid-column:span 4}.grid-toolbar>.actions{grid-column:1/-1}.grid-toolbar>#replay-grid{grid-column:1/4}.intro-art{grid-column:8/13}}
@media(max-width:719px){
 .type-row>* , .button-row>*,.composition-list>div:nth-child(n),.spec-row>span{grid-column:1/-1}
 .grid-toolbar,.grid-layout-controls,.grid-inspection{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 .grid-toolbar>.actions,.grid-toolbar>#replay-grid,.grid-layout-controls>.tabs,.grid-layout-controls>#grid-status,.grid-inspect-controls,.grid-density-label{grid-column:1/-1}
 .grid-toolbar>#replay-grid{margin:0}.grid-toolbar .actions{gap:16px}.grid-toolbar .btn.outline{padding-inline:16px}
 .grid-inspection .grid-density-label{display:flex;flex-wrap:nowrap}.grid-density-label select{width:0}
 .dialog-action{column-gap:16px}.link-examples{flex-direction:column;align-items:flex-start;gap:24px}
 .five{grid-template-columns:repeat(2,minmax(0,1fr))}.intro .lead{max-width:34ch}
}
@media(forced-colors:active){:focus-visible{outline:3px solid Highlight!important;outline-offset:0!important}.toggle-state{color:ButtonText}}



.grid-toolbar .btn[aria-pressed]:focus-visible{border-color:var(--control-line);box-shadow:inset 0 0 0 2px var(--control-line)}

/* Native selection behaviour, one consistently positioned disclosure icon. */
.select-control{position:relative;display:block;width:100%;margin-bottom:16px;min-width:0}
.select-control select{appearance:none;-webkit-appearance:none;width:100%;margin:0;padding-right:48px}
.select-chevron{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;pointer-events:none;color:var(--secondary)}
.grid-density-label .select-control{flex:1;min-width:0;margin:0}
.grid-density-label .select-control select{width:100%;min-width:0}

/* Navigation uses the current section, rather than every link, as its accent. */
header nav a:not(.btn):not(.brand):not(.skip){color:var(--text)}
header nav a:not(.btn):not(.brand):not(.skip):hover{color:var(--link-hover)}
header nav a[aria-current="location"]:not(.btn):not(.brand):not(.skip){color:var(--link);font-weight:500}
header .brand{display:inline-flex;align-items:center;gap:12px}
.insilico-mark{width:32px;height:32px;display:block;flex:none}
.grid-copy>.btn{position:relative;top:var(--baseline-shift,0px)}
@media(max-width:719px){header .brand{gap:8px}.insilico-mark{width:28px;height:28px}dialog{border-radius:24px}}

:root[data-theme=light]{--filled-hover-white:8%}

/* Menu and brand links use colour feedback without a hover underline. */
header nav a:not(.btn):not(.brand):not(.skip):hover,footer a.brand:hover{ text-decoration-line:none }
header nav a:focus-visible{outline:2px solid var(--link);outline-offset:6px;border-radius:2px;text-decoration:none}
footer>.brand{color:var(--secondary);align-self:start;justify-self:start;transition:color 150ms}
footer>.brand:hover{color:var(--muted)}
.tooltip-bubble{position:fixed;z-index:350;max-width:min(288px,calc(100vw - 24px));padding:8px 12px;border:1px solid var(--tooltip-border);border-radius:16px;background:var(--tooltip-surface);color:var(--text);font:400 14px/20px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;pointer-events:auto;overflow-wrap:anywhere}
:root{--tooltip-surface:#1b1e24;--tooltip-border:#373b43}
:root[data-theme=light]{--tooltip-surface:#fff;--tooltip-border:#e6e8e4}

.library-example{padding:32px 0 48px;border-bottom:1px solid var(--divider);margin-bottom:32px}
.library-example:first-of-type{padding-top:0}
.fx-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}
.fx-intro>div{min-width:0}.fx-intro h3{margin-bottom:16px}
.fx-presets{display:flex;flex-wrap:wrap;gap:16px;margin:24px 0}
.fx-presets .btn[aria-pressed=true]{background:color-mix(in srgb,var(--text) 8%,transparent);border-color:var(--tint);box-shadow:inset 0 0 0 1px var(--tint)}
.fx-image-stage{width:min(100%,960px);aspect-ratio:1672/941;position:relative;background:var(--surface)}
.fx-image-size{width:100%;aspect-ratio:1672/941}
.fx-still{display:block;width:100%;aspect-ratio:1672/941;object-fit:cover}
.fx-error{height:100%;display:grid;place-items:center;padding:24px;color:var(--secondary)}
.library-example .actions{margin:24px 0 16px}
.beam-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px var(--gap);margin:32px 0}
.beam-document{background:var(--surface);padding:24px;border:1px solid var(--divider);border-radius:16px}
.beam-document h3{font-size:20px;line-height:24px;margin-bottom:16px}.beam-document p{font-size:14px;line-height:24px}
.beam-action{background:var(--surface);min-width:208px}.beam-button-note{margin-top:24px}
.beam-search-label{display:block;font-weight:500;margin-bottom:16px}
.beam-search{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:0 16px;min-height:48px}
.beam-search input{min-width:0;width:100%;height:46px;padding:0;border:0;outline:none;box-shadow:none;background:transparent;color:var(--text);font:400 16px/24px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.beam-search:focus-within{box-shadow:none;border-color:var(--tint)}
.library-results{font-size:13px;line-height:20px;color:var(--secondary);margin-top:16px;min-height:60px}
.orb-toolbar{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:24px}
.orb-states{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 var(--gap);margin-bottom:24px}
.orb-choice{display:flex;align-items:center;gap:16px;min-width:0;background:none;color:var(--text);border:0;border-bottom:1px solid var(--divider);padding:16px 0;text-align:left}
.orb-choice>span{min-width:0}.orb-choice strong{display:block;font-weight:500;line-height:24px}.orb-choice small{display:block;color:var(--secondary);font-size:13px;line-height:20px;margin-top:4px}
.orb-choice:hover strong,.orb-choice[aria-pressed=true] strong{color:var(--link)}
.orb-choice[aria-pressed=true]{border-bottom-color:var(--link)}.orb-choice canvas{flex:none}
.tooltip-specimen h3{margin-bottom:16px}.tooltip-specimen .note{margin-top:16px}
@media(max-width:1023px){.fx-intro{display:block}.beam-examples{grid-template-columns:1fr 1fr}.beam-examples>div:last-child{grid-column:auto;min-width:0}.orb-states{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:719px){.library-example{padding:24px 0 32px}.beam-examples{grid-template-columns:1fr;gap:32px}.orb-states{grid-template-columns:1fr}.fx-presets{gap:12px}.fx-presets .btn{padding-inline:12px}.orb-toolbar{gap:16px}}

/* Two upstream orb sizes, shown in their loading contexts. */
.loader-examples{display:grid;grid-template-columns:1fr 1fr;gap:32px var(--gap);margin:32px 0 40px}
.loader-preview{min-height:208px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:var(--surface);border-radius:16px;text-align:center}
.loader-preview small{color:var(--secondary);font-size:13px;line-height:20px}
.loader-inline{display:flex;align-items:center;gap:12px;min-height:56px;padding:16px 0;margin-bottom:16px;border-bottom:1px solid var(--divider)}
.loader-inline>div,.loader-preview>div{flex:none}
.orb-gallery-title{margin-bottom:8px}
@media(max-width:719px){.loader-examples{grid-template-columns:1fr;gap:24px;margin-bottom:32px}}

.beam-examples [data-beam][data-active]::after,.beam-examples [data-beam][data-fading]::after{padding:1px}

/* Light surfaces retain the library's moving mask, without dark glow layers. */
:root[data-theme=light] .beam-examples [data-beam][data-active]::after,
:root[data-theme=light] .beam-examples [data-beam][data-fading]::after{background:color-mix(in srgb,var(--link) 25%,var(--text));filter:none;padding:1px}
:root[data-theme=light] .beam-examples [data-beam]::before,
:root[data-theme=light] .beam-examples [data-beam] [data-beam-bloom]{display:none}

/* A light mint glint and dark shoulders travel together through the original mask. */
:root[data-theme=light] .beam-examples .beam-control[data-active]::after,
:root[data-theme=light] .beam-examples .beam-control[data-fading]::after{background:conic-gradient(from var(--control-beam-phase,0deg),var(--text) 0% 50%,#8cebc0 58%,#e2fff0 65%,#8cebc0 72%,var(--text) 80% 100%)}

/* Footer navigation is grouped by headings; neutral tone identifies its hierarchy. */
footer>div>a:not(.btn):not(.brand):not(.skip){color:var(--secondary)}
footer>div>a:not(.btn):not(.brand):not(.skip):hover,
footer>div>a:not(.btn):not(.brand):not(.skip):focus-visible{color:var(--text)}

/* Opening hierarchy: quieter wordmark, larger page title. */
header .brand{font-size:22px;font-weight:600;line-height:32px}
.intro h1{font-size:88px;line-height:104px}
@media(max-width:1023px){.intro h1{font-size:68px;line-height:80px}}
@media(max-width:719px){header .brand{font-size:18px;line-height:24px}.intro h1{font-size:44px;line-height:56px}}

/* Complete artwork stays inside its reserved frame, adjacent to the copy. */
.grid-copy{grid-column:1/6}
.grid-art{grid-column:6/13;align-self:center;aspect-ratio:1.45}
.grid-art img{object-fit:cover;object-position:right center}
.grid-stage[data-layout=offset] .grid-copy{grid-column:2/7}
.grid-stage[data-layout=offset] .grid-art{grid-column:7/13}
.grid-composition{align-items:center}
.motion-stage{grid-template-columns:repeat(12,minmax(0,1fr));align-items:center}
#motion-sample{grid-column:1/5}
#motion-image{position:relative;left:0;align-self:center;grid-column:5/13;aspect-ratio:1.45}
#motion-image .media-window{height:100%}
#motion-image img{height:100%;aspect-ratio:1.45;object-fit:cover;object-position:right center}
.media-window.is-media-pending{opacity:0}
:root.motion-disabled .media-window.is-media-pending{opacity:1}
:root[data-theme=dark] .fx-image-stage{background:var(--page)}
:root[data-theme=dark] .fx-image-stage{filter:url(#dark-art-field)}
@media(prefers-reduced-motion:reduce){.media-window.is-media-pending{opacity:1}}
@media(max-width:719px){.grid-copy,.grid-stage[data-layout=offset] .grid-copy,.grid-art,.grid-stage[data-layout=offset] .grid-art{grid-column:1/-1}#motion-sample,#motion-image{grid-column:1/-1}.motion-stage{grid-template-columns:1fr}}

/* Opening: the computational atlas fills the scene behind live copy. */
.opening{isolation:isolate;min-height:680px;padding-top:88px;padding-bottom:72px;align-content:start}
.opening .intro{grid-column:1/9;z-index:2}
.opening .intro .lead{max-width:42ch}
.opening .intro>p:not(.lead){max-width:43ch}
.opening .intro-art{grid-column:1/-1;grid-row:auto;position:absolute;z-index:0;top:0;right:calc(-1 * var(--gutter));width:82%;margin:0;pointer-events:none}
.opening .intro-art img{object-fit:contain}
.opening .edition{position:relative;z-index:2;margin-top:56px;text-shadow:0 2px 12px var(--page)}
.opening .intro::before{content:'';position:absolute;z-index:-1;inset:-32px 26% -40px -48px;background:radial-gradient(ellipse,rgba(8,9,11,.65),rgba(8,9,11,0) 72%);filter:blur(24px);pointer-events:none}
:root[data-theme=light] .opening .intro::before{background:radial-gradient(ellipse,rgba(247,248,245,.78),rgba(247,248,245,0) 72%)}
@media(min-width:1600px){.opening{min-height:760px;padding-top:104px}.opening .intro-art{width:90%}}
@media(min-width:720px) and (max-width:1023px){.opening{min-height:650px;padding-top:64px}.opening .intro{grid-column:1/11}.opening .intro-art{top:40px;width:96%;opacity:.85}.opening .intro>p{max-width:38ch}.opening .intro::before{inset:-32px 10% -40px -32px;background:radial-gradient(ellipse,rgba(8,9,11,.88),rgba(8,9,11,0) 80%)}}
@media(max-width:719px){
 .opening{display:flex;min-height:0;padding-top:40px;padding-bottom:48px;gap:24px}
 .opening .intro-art{position:relative;top:auto;right:auto;width:calc(100% + 2 * var(--gutter));margin:-16px calc(-1 * var(--gutter)) -8px;order:1;opacity:1}
 .opening .intro{order:0}.opening .edition{order:2;margin-top:0;gap:8px}
 .opening .intro::before{display:none}
}

/* Visual explanation: a cutaway and its linked details. */
.image-map{background:var(--page);padding-block:0}.image-map img{height:auto;aspect-ratio:3/2}.image-map>span{background:none;padding:16px 0}.image-map strong{display:block;font-weight:500;margin-bottom:12px}.image-map small{display:block;font-size:13px;line-height:20px;color:var(--secondary)}
@media(max-width:719px){.image-map img,.image-map>span{grid-column:1/-1}.image-map>span{padding:0}.image-map{gap:16px}}

/* img-fx is confined to the dedicated loading demonstration. */
.fx-image-stage[data-phase=reveal] .image-gen-shader{visibility:hidden}
#motion-sample h3{font-size:clamp(40px,3.7vw,52px);line-height:1.2}
@media(max-width:719px){#motion-sample h3{font-size:38px;line-height:48px}}
@media(max-width:359px){#motion-sample h3{font-size:34px;line-height:44px}}

/* v1.4: give the mobile opening an image-led reading sequence. */
@media(max-width:719px){
 .opening{flex-direction:column;gap:20px;padding-top:32px}
 .opening .intro{display:contents}
 .opening .intro h1{order:0;margin:0}
 .opening .intro-art{order:1;height:clamp(240px,74vw,420px);margin:-8px calc(-1 * var(--gutter)) -4px}
 .opening .intro-art .media-window{height:100%}
 .opening .intro-art img{width:100%;height:100%;object-fit:cover;object-position:right center}
 .opening .intro .lead{order:2;margin:0;max-width:32ch}
 .opening .intro>p:not(.lead){order:3;margin:0;max-width:38ch}
 .opening .intro>.text-link{order:4;align-self:flex-start;margin:0}
 .opening .edition{order:5;margin-top:12px}
}
.media-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:32px 0 64px}
.media-roles h3{font-size:20px;line-height:28px;margin-bottom:12px}
.media-roles p{color:var(--secondary);margin:0;max-width:38ch}
@media(max-width:719px){.media-roles{grid-template-columns:1fr;gap:24px;margin-bottom:48px}}

/* Light-field art stays legible behind the opening copy. */
:root[data-theme=light] .opening .intro>p{text-shadow:0 0 12px #F7F8F5,0 2px 8px #F7F8F5}
@media(min-width:720px){:root[data-theme=light] .opening .intro .lead{max-width:34ch}:root[data-theme=light] .opening .intro>p:not(.lead){max-width:40ch}}

/* Original brand artwork: legible lockup, explicit clear space. */
header .insilico-mark{width:40px;height:40px}
.brand-guidance{margin-top:80px}.brand-guidance>.section-heading{margin-bottom:40px}.brand-guidance h3{font-size:36px;line-height:44px}.brand-specimen{display:grid;grid-template-columns:3fr 4fr 5fr;gap:40px;align-items:center}.brand-clearspace{margin:0}.brand-safe-area{display:inline-flex;padding:28px;border:1px dashed var(--muted)}.brand-safe-area img{display:block}.brand-clearspace figcaption,.brand-sizes p{font-size:13px;line-height:20px;color:var(--muted);margin:16px 0 0}.brand-sizes{display:grid;gap:32px}.brand-lockup{display:inline-flex;align-items:center;white-space:nowrap;font:600 22px/32px Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-.02em;gap:12px;color:var(--text)}.brand-lockup img{display:block;flex:none}.brand-mobile{font-size:18px;line-height:24px;gap:8px}.brand-usage-copy h4{margin-bottom:16px}.brand-usage-copy p{margin:0 0 16px}.brand-guidance>.note{margin-top:32px}
@media(max-width:900px){.brand-specimen{grid-template-columns:1fr 1fr;gap:32px}.brand-usage-copy{grid-column:1/-1}}
@media(max-width:719px){header .insilico-mark{width:32px;height:32px}.brand-guidance{margin-top:56px}.brand-guidance h3{font-size:30px;line-height:38px}.brand-specimen{grid-template-columns:1fr}.brand-guidance>.section-heading{margin-bottom:32px}.brand-safe-area{padding:24px}.brand-safe-area img{width:96px;height:96px}}
/* Corner scale: size follows the surface, on an eight-pixel rhythm. */
:root{--radius-small:16px;--radius-panel:24px;--radius-image:40px;--radius-feature:64px}
.swatch .paint{border-radius:var(--radius-panel)}
input,select{border-radius:var(--radius-small)}
.layout-map,.layout-map>span{border-radius:var(--radius-panel)}
.radius-guidance{margin-top:80px;scroll-margin-top:104px}.radius-guidance h3{font-size:36px;line-height:44px}.radius-scale{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:32px 0}.radius-scale figure{margin:0}.radius-scale figure>div{height:144px;border:1px solid var(--accent);background:var(--surface);border-radius:var(--sample-radius)}.radius-scale figcaption{margin-top:16px;display:grid;gap:8px}.radius-scale strong{font-size:24px;line-height:32px;font-weight:500;color:var(--text)}.radius-scale span{font-size:14px;line-height:20px}
.brand-safe-area{position:relative;border:0}.brand-marching{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--muted);stroke-width:1;pointer-events:none}.brand-marching rect{stroke-dasharray:3 3;animation:brand-dashes 12s linear infinite;vector-effect:non-scaling-stroke}@keyframes brand-dashes{to{stroke-dashoffset:-48}}
.motion-disabled .brand-marching rect{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.brand-marching rect{animation:none}}
@media(max-width:719px){:root{--radius-panel:16px;--radius-image:24px;--radius-feature:32px}.radius-guidance{margin-top:56px}.radius-guidance h3{font-size:30px;line-height:38px}.radius-scale{grid-template-columns:1fr 1fr;gap:24px}.radius-scale figure>div{height:112px}}

.duration-number{display:inline-block;min-width:4ch;font-variant-numeric:tabular-nums;text-align:right}
.counter-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Libraries: a large image-led moment, followed by compact working specimens. */
#loading>.section-heading{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-bottom:64px}
#loading>.section-heading p{margin:0;max-width:52ch}
#image-library{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:24px;position:relative;isolation:isolate;padding:32px 0 64px;min-height:540px;align-content:center}
#image-library .fx-display{grid-column:1/9;grid-row:1;position:relative;z-index:2;isolation:isolate;font:500 clamp(48px,5.5vw,80px)/1.06 Manrope,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-.035em;margin:0 0 8px;text-shadow:0 3px 24px var(--page);pointer-events:none}
#image-library .fx-display::before{content:"";position:absolute;z-index:-1;inset:-24px 0 -24px -24px;background:radial-gradient(ellipse at 25% 50%,var(--page),transparent 75%);pointer-events:none}
#image-library .fx-description{grid-column:1/5;grid-row:2;position:relative;z-index:2;max-width:32ch;margin:0;font-size:18px;line-height:28px}
#image-library .fx-artwork{grid-column:4/13;grid-row:1/5;align-self:center;position:relative;z-index:0;min-width:0}
#image-library .fx-image-stage{width:100%;background:var(--page)}
#image-library .fx-artwork::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--page),transparent 24%)}
#image-library .actions{grid-column:1/5;grid-row:3;position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:8px 0 0}
#image-library .actions .note{min-height:20px;margin:0}
#image-library .fx-explanation{grid-column:1/5;grid-row:4;position:relative;z-index:2;margin:0;max-width:36ch;font-size:12px;line-height:18px}
.library-split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px var(--gap)}
.library-split>.fx-intro{grid-column:1/5;grid-row:1;margin:0;display:block}
.library-split>.fx-intro h3{font-size:32px;line-height:40px;letter-spacing:-.02em}
.library-split>.fx-intro p{max-width:32ch}
.beam-layout>.actions,.orb-layout>.orb-toolbar{grid-column:1/5;grid-row:2;align-self:start;margin:0}
.beam-layout>.beam-examples{grid-column:5/13;grid-row:1/4;margin:0;grid-template-columns:1fr 1fr;gap:32px var(--gap)}
.beam-layout>.beam-examples>div:last-child{grid-column:1;min-width:0}
.library-split>.note{grid-column:1/5;margin:0;font-size:12px;line-height:20px;max-width:38ch}
.orb-layout>.loader-examples{grid-column:5/13;grid-row:1/3;margin:0;align-self:start;column-gap:var(--gap)}
.orb-layout>.orb-gallery-title{grid-column:1/5;grid-row:3;align-self:start;max-width:18ch;margin:32px 0 0}
.orb-layout>.orb-states{grid-column:5/13;grid-row:3/5;margin:16px 0 0}
.orb-layout>.note{grid-row:4}
@media(min-width:720px) and (max-width:1023px){
 #loading>.section-heading{margin-bottom:40px}
 #image-library{column-gap:16px;min-height:500px}
 #image-library .fx-description,#image-library .actions,#image-library .fx-explanation{grid-column:1/6}
 #image-library .fx-artwork{grid-column:5/13}
 #image-library .fx-display{grid-column:1/11;font-size:56px}
 .library-split{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
 .beam-layout>.beam-examples{grid-template-columns:1fr;gap:24px}.beam-layout>.beam-examples>div:last-child{grid-column:auto}
 .orb-layout>.loader-examples{grid-template-columns:1fr;gap:24px}.orb-layout>.orb-states{grid-template-columns:1fr 1fr}
}
@media(max-width:719px){
 #loading>.section-heading{display:block;margin-bottom:32px}#loading>.section-heading p{margin-top:24px}
 #image-library{grid-template-columns:1fr;gap:24px;padding:16px 0 40px;min-height:0}
 #image-library .fx-display{grid-column:1;grid-row:1;font-size:clamp(36px,10vw,48px);margin:0;z-index:2}
 #image-library .fx-display::before{inset:-16px 0 -24px}
 #image-library .fx-artwork{grid-column:1;grid-row:2;margin:-56px -24px 0;width:calc(100% + 48px)}
 #image-library .fx-description{grid-column:1;grid-row:3;max-width:34ch;font-size:16px;line-height:24px}
 #image-library .actions{grid-column:1;grid-row:4;margin:0;gap:12px}
 #image-library .fx-explanation{grid-column:1;grid-row:5;max-width:40ch}
 .library-split{display:flex;flex-direction:column;gap:24px}.library-split>.fx-intro h3{font-size:25px;line-height:32px}
 .beam-layout>.beam-examples{grid-template-columns:1fr;gap:32px}.orb-layout>.loader-examples{grid-template-columns:1fr;gap:24px}
 .orb-layout>.orb-states{grid-template-columns:1fr;margin:0}.orb-layout>.orb-gallery-title{margin:8px 0 0;max-width:26ch}
}
/* Grid specimen: stronger type and a shared field with the complete form. */
@media(min-width:720px){
 .grid-copy{grid-column:1/7;grid-row:1;position:relative;z-index:2}
 .grid-copy h3{font-size:clamp(48px,4.5vw,72px);line-height:1.125;letter-spacing:-.03em}
 .grid-copy>p{max-width:34ch}
 .grid-art{grid-column:4/13;grid-row:1;aspect-ratio:1672/941;z-index:1}
 .grid-stage[data-layout=offset] .grid-copy{grid-column:2/8}
 .grid-stage[data-layout=offset] .grid-art{grid-column:5/13}
}
@media(min-width:720px) and (max-width:1023px){.grid-copy h3{font-size:40px;line-height:48px}.grid-copy>p{max-width:29ch}}
@media(max-width:719px){.grid-copy h3{font-size:36px;line-height:40px}.grid-composition{row-gap:16px}}

/* Saturated Insilico green; readable text roles in both themes. */
:root[data-profile=insilico]{--link:var(--accent);--tint:var(--accent)}
:root[data-profile=insilico] .btn.filled{background:#00A607;color:#08090B}
:root[data-profile=insilico] .btn.filled:hover,:root[data-profile=insilico] .btn.filled.shown-hover{background:#00B808}
:root[data-profile=insilico] .btn.filled:active,:root[data-profile=insilico] .btn.filled.shown-pressed{background:#009606}

/* Light-theme filled labels match the canvas, with a saturated contrast-safe green. */
:root[data-profile=insilico][data-theme=light] .btn.filled{background:#008406;color:var(--page)}
:root[data-profile=insilico][data-theme=light] .btn.filled:hover,:root[data-profile=insilico][data-theme=light] .btn.filled.shown-hover{background:#007A05}
:root[data-profile=insilico][data-theme=light] .btn.filled:active,:root[data-profile=insilico][data-theme=light] .btn.filled.shown-pressed{background:#006E05}
:root[data-profile=insilico] .btn.filled:disabled,:root[data-profile=insilico][data-theme=light] .btn.filled:disabled{background:var(--hover);color:var(--muted)}

/* Quiet download shortcut for phone touch layouts, including landscape. */
.mobile-md{display:none}
@media screen and (max-width:719px) and (hover:none) and (pointer:coarse), screen and (max-width:959px) and (max-height:500px) and (hover:none) and (pointer:coarse){
  .mobile-md{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:90;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 18px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--secondary);font-size:14px;font-weight:500;line-height:22px;text-decoration:none}
  .mobile-md svg{width:18px;height:18px;color:var(--accent)}
  .mobile-md:active{background:var(--hover);color:var(--text)}
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  html{scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  body:has(input:focus,textarea:focus,[contenteditable=true]:focus) .mobile-md{display:none}
}
