/* The downloaded Code Storage styles provide typography, colors, spacing and links.
   These additions scope the retained animation to the shorter INUS content. */
@keyframes flash { 0%,50% { opacity:1 } 51%,100% { opacity:0 } }
@keyframes orbit-spin { to { transform:rotate(360deg) } }
::selection { background:#ff0; color:#000 }
.brand-link { display:inline-flex; align-items:center; gap:6px; }
.brand-mark { display:block; flex:none; width:20px; height:20px; object-fit:contain; }
.main-layout { position:relative; }
.sculpture { width:600px; height:600px; flex:0 0 600px; position:relative; margin:0; }
.orbit { position:absolute; width:448px; height:448px; top:95px; left:76px; }
.orbit-text { transform-origin:224px 224px; animation:orbit-spin 60s linear infinite; }
#sculpture-canvas { position:absolute; inset:0; width:600px; height:600px; touch-action:pan-y; }
.sculpture[data-renderer="webgl"] .triangle-fallback { display:none; }
.interior { max-width:1180px; }
.interior article { max-width:600px; }
.writing-list > li { margin-bottom:24px; }
.writing-list p { margin-top:8px; }
.article-list { display:grid; gap:20px; list-style:none; padding:0; margin:0; }
.article-meta { margin:4px 0 0; color:var(--color-fg2); font-size:11px; line-height:18px; }
.research-writing { display:flex; flex-direction:column; gap:24px; width:100%; max-width:600px; }
.research-writing > h2 { margin:0; }
.people-table { width:100%; border-collapse:collapse; table-layout:fixed; font:inherit; }
.people-table th,.people-table td { padding:7px 0; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.people-table th:first-child { width:44%; padding-right:16px; }
.people-table thead th { color:var(--color-fg2); font-weight:400; border-bottom:1px solid var(--color-fg3); }
.people-table tbody th { font-weight:400; }
.community-section .fellows-heading { margin-top:28px; }
.people-table tr { scroll-margin-top:24px; }
.people-table tr:target { outline:1px solid var(--color-fg2); outline-offset:4px; }
.about-layout { display:grid; grid-template-columns:minmax(0,600px) minmax(0,600px); grid-template-areas:"intro map" "content map"; column-gap:clamp(28px,4vw,64px); row-gap:24px; align-items:start; padding-block:40px; }
.about-prose { display:flex; flex-direction:column; gap:24px; min-width:0; }
.about-intro { grid-area:intro; }
.about-content { grid-area:content; }
.about-content .community-section { width:100%; }
.contributor-map { grid-area:map; position:sticky; top:32px; align-self:start; min-width:0; margin-top:56px; }
.map-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.map-heading h2 { margin:0; font:inherit; font-weight:600; text-transform:uppercase; }
.map-heading > span { font-size:10px; color:var(--color-fg2); text-transform:uppercase; letter-spacing:.04em; }
.map-plot { position:relative; width:100%; margin-top:16px; }
.map-viewport { position:relative; overflow:hidden; touch-action:none; user-select:none; cursor:grab; }
.map-viewport.is-dragging { cursor:grabbing; }
.map-viewport:focus-visible { outline:1px solid var(--color-fg2); outline-offset:3px; }
.map-viewport.is-zoomed .map-coordinates { display:none; }
.map-graticule path { vector-effect:non-scaling-stroke; }
.map-plot svg { display:block; width:100%; height:auto; }
.map-land-base { opacity:.055; }
.map-land { opacity:.78; }
.map-graticule { fill:none; stroke:currentColor; stroke-width:.5; stroke-dasharray:1 5; opacity:.11; }
.map-frame { fill:none; stroke:currentColor; stroke-width:.8; opacity:.45; }
.map-coordinates { fill:currentColor; font:8px monospace; opacity:.55; }
.map-markers { position:absolute; inset:0; }
.map-marker { position:absolute; width:28px; height:28px; padding:0; margin:-14px 0 0 -14px; border:0; background:transparent; color:var(--color-fg); cursor:pointer; border-radius:50%; }
.map-marker[hidden] { display:none; }
.map-city-label { display:block; position:absolute; z-index:1; left:22px; top:6px; padding:1px 2px; background:var(--color-bg1); color:var(--color-fg); font-size:10px; line-height:12px; white-space:nowrap; pointer-events:auto; }
.map-viewport > .map-label-lines { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; color:var(--color-fg2); }
.map-label-lines line { stroke:currentColor; stroke-width:.6; opacity:.55; }
@media (max-width:520px) { .map-city-label { font-size:9px; } }
.map-marker.is-country::before { background:var(--color-bg1); border:1px solid currentColor; box-sizing:border-box; width:7px; height:7px; }
.map-marker::before,.map-marker::after { content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; }
.map-marker::before { width:5px; height:5px; background:currentColor; box-shadow:0 0 0 2px var(--color-bg1); }
.map-marker::after { width:13px; height:13px; border:1px solid currentColor; opacity:.35; }
.map-marker:hover::after,.map-marker.is-preview::after,.map-marker[aria-pressed="true"]::after { opacity:1; width:19px; height:19px; }
.map-marker:focus-visible { outline:1px solid currentColor; outline-offset:1px; }
.map-tooltip { position:absolute; z-index:3; box-sizing:border-box; width:260px; max-width:calc(100% - 8px); max-height:min(300px,calc(100vh - 32px)); padding:12px; overflow:auto; border:1px solid var(--color-fg3); border-radius:2px; background:var(--color-bg1); color:var(--color-fg); scrollbar-width:thin; }
.map-tooltip[hidden] { display:none; }
.map-tooltip section + section { margin-top:10px; }
.map-tooltip h3 { margin:0 0 3px; font:inherit; font-size:11px; line-height:16px; font-weight:600; }
.map-tooltip p { margin:0; color:var(--color-fg2); font-size:10px; line-height:15px; }
.gathering-photo { margin:0; }
.gathering-photo img { display:block; width:100%; height:auto; }
.gathering-photo figcaption { margin-top:12px; }
.map-controls { display:flex; align-items:center; gap:12px; padding:8px 0; border-top:1px solid var(--color-fg3); border-bottom:1px solid var(--color-fg3); }
.map-zoom-tools { display:flex; gap:2px; align-items:center; }
.map-zoom-tools button { width:28px; height:32px; padding:0; border:0; background:transparent; color:var(--color-fg); font:inherit; font-size:17px; cursor:pointer; }
.map-zoom-tools button:disabled { opacity:.3; cursor:default; }
.map-zoom-tools button:focus-visible { outline:1px solid currentColor; outline-offset:1px; }
.map-controls select { flex:1; min-width:0; height:32px; padding:0 6px 0 0; border:0; border-radius:0; background:var(--color-bg1); color:var(--color-fg); font:inherit; cursor:pointer; }
.map-reset { min-height:32px; padding:0; border:0; background:transparent; color:var(--color-fg2); font:inherit; cursor:pointer; }
.map-controls select:focus-visible,.map-reset:focus-visible { outline:1px solid currentColor; outline-offset:3px; }
.map-detail { min-height:112px; max-height:220px; overflow-y:auto; margin-top:16px; padding-right:4px; scrollbar-width:thin; }
.map-detail > p { margin:0; color:var(--color-fg2); }
.map-detail section + section { margin-top:18px; }
.map-detail h3 { margin:0 0 8px; font:inherit; font-weight:600; }
.map-detail ul { display:grid; gap:7px; list-style:none; padding:0; margin:0; }
.map-detail li { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.map-detail li .map-affiliation { color:var(--color-fg2); text-align:right; font-size:10px; }
.map-location-note { color:var(--color-fg2); font-size:10px; margin:0 0 8px; }
.map-note { margin:12px 0 0; color:var(--color-fg2); font-size:10px; line-height:16px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1080px) {
 .about-layout { grid-template-columns:minmax(0,600px); grid-template-areas:"intro" "map" "content"; row-gap:28px; }
 .contributor-map { position:static; margin-top:0; }
 .map-detail { min-height:48px; max-height:180px; }
}
.compact-details { border-top:1px solid var(--color-fg3); padding-block:12px; }
.compact-details summary { cursor:pointer; list-style:disclosure-closed inside; }
.compact-details[open] summary { list-style-type:disclosure-open; }
.compact-details summary:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.detail-count { float:right; margin-left:16px; }
.community-section { --logo-scale:.6; scroll-margin-top:32px; width:min(600px,calc(100vw - 40px)); }
.community-section h2 { margin:0 0 8px; line-height:20px; }
.community-size { font-size:28px; font-weight:600; margin-right:8px; }
.backgrounds-intro { max-width:600px; margin:0; }
.background-group { margin-top:12px; }
.background-group + .background-group { margin-top:16px; padding-top:12px; border-top:1px solid var(--color-fg3); }
.background-group-title { margin:0; font:inherit; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
.background-group .logo-wall { margin-top:6px; }
.logo-wall { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px 8px; list-style:none; margin:8px 0 0; padding:0; }
.background-link { display:flex; align-items:center; justify-content:center; box-sizing:border-box; height:60px; padding:2px 4px; color:inherit; text-decoration:none; }
.background-mark { display:flex; align-items:center; justify-content:center; width:100%; height:56px; }
.background-logo { display:block; width:calc(var(--logo-width,160px) * var(--logo-scale)); max-width:100%; height:calc(var(--logo-height,48px) * var(--logo-scale)); object-fit:contain; filter:grayscale(1); mix-blend-mode:multiply; }
/* Optical sizing: long wordmarks need more width; stacked seals need more height.
   Each asset retains its original aspect ratio inside the same centered cell. */
.background-link[data-brand="mit"] { --logo-width:164px; }
.background-link[data-brand="berkeley"] { --logo-width:150px; }
.background-link[data-brand="cmu"] { --logo-width:210px; }
.background-link[data-brand="harvard"] { --logo-width:120px; --logo-height:78px; }
.background-link[data-brand="oxford"] { --logo-width:88px; --logo-height:88px; }
.background-link[data-brand="cambridge"] { --logo-width:190px; }
.background-link[data-brand="princeton"] { --logo-width:164px; }
.background-link[data-brand="columbia"] { --logo-width:200px; }
.background-link[data-brand="deepmind"] { --logo-width:190px; }
.background-link[data-brand="nvidia"] { --logo-width:142px; }
.background-link[data-brand="meta"] { --logo-width:138px; }
.background-link[data-brand="amazon"] { --logo-width:130px; }
.background-link[data-brand="ibm"] { --logo-width:160px; --logo-height:64px; }
.background-link[data-brand="amd"] { --logo-width:140px; }
.background-link[data-brand="sakana"] { --logo-width:172px; }
.background-link[data-brand="ai2"] { --logo-width:120px; }
.background-link[data-brand="maxplanck"] { --logo-width:210px; }
.background-link[data-brand="brookhaven"] { --logo-width:176px; }
.background-link[data-brand="pytorch"] { --logo-width:158px; }
.background-link[data-brand="redhat"] { --logo-width:152px; }
.background-logo.is-reversed { filter:grayscale(1) invert(1); }
.background-logo.force-mono { filter:brightness(0); }
.supporters-section { margin-bottom:0; padding-bottom:12px; border-bottom:1px solid var(--color-fg3); }
.supporter-wall { margin-top:6px; }
.supporter-mark { display:flex; align-items:center; justify-content:center; width:100%; height:56px; overflow:hidden; }
.supporter-logo { display:block; flex:none; width:calc(var(--supporter-width,128px) * var(--logo-scale)); height:calc(var(--supporter-height,128px) * var(--logo-scale)); object-fit:contain; filter:grayscale(1) brightness(.55) contrast(12); mix-blend-mode:multiply; }
[data-supporter="lium"] .supporter-logo { filter:brightness(0); }
[data-supporter="lium"] { --supporter-width:140px; --supporter-height:48px; }
[data-supporter="thinking-machines"] { --supporter-width:190px; --supporter-height:190px; }
[data-supporter="network-school"] { --supporter-width:124px; --supporter-height:124px; }
html[data-theme="dark"] [data-supporter="lium"] .supporter-logo { filter:brightness(0) invert(1); }
html[data-theme="dark"] .supporter-logo { filter:grayscale(1) brightness(.55) contrast(12) invert(1); mix-blend-mode:screen; }
.background-link[data-brand="ibm"] .background-mark { overflow:hidden; }
.background-link[data-brand="ibm"] .background-logo { transform:scale(1.35); }
html[data-theme="dark"] .background-logo { filter:grayscale(1) invert(1); mix-blend-mode:screen; }
html[data-theme="dark"] .background-logo.is-reversed { filter:grayscale(1); }
html[data-theme="dark"] .background-logo.force-mono { filter:brightness(0) invert(1); }
@media (prefers-color-scheme:dark) {
  html[data-theme="automatic"] [data-supporter="lium"] .supporter-logo { filter:brightness(0) invert(1); }
  html[data-theme="automatic"] .supporter-logo { filter:grayscale(1) brightness(.55) contrast(12) invert(1); mix-blend-mode:screen; }
  html[data-theme="automatic"] .background-logo { filter:grayscale(1) invert(1); mix-blend-mode:screen; }
  html[data-theme="automatic"] .background-logo.is-reversed { filter:grayscale(1); }
  html[data-theme="automatic"] .background-logo.force-mono { filter:brightness(0) invert(1); }
}
@media (min-width:1024px) { .community-section { width:min(600px,calc(100vw - 80px)); } }
@media (max-width:639px) { .logo-wall { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 8px; } }
@media (max-width:520px) { .community-section { --logo-scale:.55; } .logo-wall { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 8px; } .background-link { height:56px; padding:2px 4px; } .background-mark,.supporter-mark { height:52px; } }
.open-source-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 20px; list-style:none; padding:0; margin:0; }
.open-source-list > li > a,.ecosystem-name { text-transform:uppercase; letter-spacing:.02em; font-weight:600; }
.project-links { display:block; margin-top:6px; }
.event-list { margin-top:16px; }
a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
[aria-current="page"] { text-decoration:underline; text-underline-offset:3px; }
.skip-link { position:absolute; top:-100px; left:20px; z-index:10; background:var(--color-bg1); padding:8px; }
.skip-link:focus { top:8px; }
@media (max-width:1080px) { .sculpture { display:none; } }
@media (max-width:420px) { header { gap:12px; } header > div { max-width:55%; } }
@media (prefers-reduced-motion:reduce) { .orbit-text,.kcrVOn { animation:none; } }
