.swarm-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.swarm-hero .page-title { margin-bottom: 16px; }
.swarm-sub { font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.03em; margin-bottom: 18px; }
.hero-description { color: #d0dadd; font-size: .98rem; line-height: 1.7; max-width: 46ch; margin-bottom: 24px; }
.hero-robot { background: #f3f3f3; border: 1px solid #ffffff25; }
.hero-robot img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: contain; }
.hero-robot figcaption { margin: 0; padding: 14px 18px; color: #c2cece; background: #18262c; font-size: .54rem; line-height: 1.5; }
.explore-link { display: inline-flex; gap: 18px; margin-top: 30px; font: .67rem var(--mono); color: #f7f4ee; text-decoration: none; border-bottom: 1px solid #ffffff60; padding-bottom: 7px; }
.contribution-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.section-intro, .next-heading { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 500; }
.work-list > div { border-top: 1px solid var(--rule); padding: 18px 0; }
.work-list > div:first-child { padding-top: 0; border: 0; }
.work-list dt { font: 700 .65rem var(--mono); text-transform: uppercase; color: var(--red); letter-spacing: .08em; margin-bottom: 9px; }
.work-list dd { font-size: .98rem; line-height: 1.65; }
.research-note { font-size: .88rem; color: #666; }
.explore-link:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
@media (max-width: 900px) { .swarm-hero { gap: 24px; }.contribution-layout { gap: 32px; } }
@media (max-width: 760px) { .swarm-hero { grid-template-columns: 1fr; gap: 32px; }.hero-robot img { aspect-ratio: 1.6; }.contribution-layout { grid-template-columns: 1fr; gap: 28px; }.section-intro { max-width: 27ch; }.next-heading br { display: none; } }
@media (max-width: 480px) { .s-header { gap: 10px; }.s-header .s-label { white-space: normal; line-height: 1.6; }.s-header .s-rule { min-width: 16px; }.s-header .s-num { flex-shrink: 0; } }

#cad { scroll-margin-top: 80px; }
.cad-viewer { border: 1px solid var(--rule); background: #e8e9e5; }
.cad-stage { position: relative; height: clamp(340px, 55vw, 600px); overflow: hidden; }
#cad-fallback { width: 100%; height: 100%; object-fit: contain; }
#cad-canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#cad-canvas:active { cursor: grabbing; }
#cad-canvas[hidden], #cad-fallback[hidden] { display: none; }
#cad-status { position: absolute; bottom: 18px; left: 18px; right: 18px; width: fit-content; padding: 10px 14px; background: #f7f4eeec; color: #343b3d; font: .68rem/1.5 var(--mono); border: 1px solid var(--rule); }
#cad-status:empty { display: none; }
.cad-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px; border-top: 1px solid var(--rule); background: var(--paper); }
#cad-hint { font: .62rem/1.6 var(--mono); color: #555; }
.cad-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cad-actions button { font: .65rem/1.4 var(--mono); padding: 10px 12px; border: 1px solid #a4aaa8; background: transparent; color: var(--ink); min-height: 40px; cursor: pointer; }
.cad-actions button:disabled { opacity: .4; cursor: default; }.cad-actions button[aria-pressed="true"] { background: #263d45; color: white; }
.cad-actions button:hover:enabled { border-color: var(--red); }
.cad-viewer :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.swarm-video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: #17242b; border: 1px solid var(--rule); }
.schematic-intro { max-width: 70ch; line-height: 1.7; margin-bottom: 24px; font-size: .98rem; }

.cad-actions { align-items: center; }
.shell-label { font: .65rem var(--mono); }
.cad-actions select { font: .65rem var(--mono); padding: 10px 12px; min-height: 40px; background: transparent; color: var(--ink); border: 1px solid #a4aaa8; }
