/* Museband's restrained editorial typography, with local fonts for both regions. */
@font-face {
  font-family: 'R1 Syne';
  src: url('/fonts/syne-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --type-body: 1.0625rem;
  --type-heading: 2rem;
  --ink: #1d1d1f;
  --muted: #626268;
}
body { font-family: Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
#app main :is(h2,h3) {
  font-family: 'R1 Syne', Helvetica, Arial, 'PingFang SC', sans-serif;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: pretty;
}
#app main h3 { font-size: clamp(24px, 2.2vw, 32px) !important; }
#app main :is(h4,h5,h6) { font-weight: 500; letter-spacing: 0; }
#app main :is(p,li,dd) { line-height: 1.65; }
#app .r1-editorial-intro {
  padding: clamp(36px, 4vw, 80px) 6vw clamp(64px, 7vw, 140px);
  background: #f6f5f4;
  color: #000;
  text-align: left;
}
#app .r1-editorial-intro #hero-title {
  max-width: none;
  margin: 0;
  font-family: Helvetica, Arial, 'PingFang SC', sans-serif;
  font-size: clamp(40px, 4.4vw, 88px) !important;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
}
#app .r1-editorial-intro .r1-editorial-description {
  margin: clamp(24px, 2.2vw, 44px) 0 0;
  max-width: none;
  font-family: 'R1 Syne', Helvetica, Arial, 'PingFang SC', sans-serif;
  font-size: clamp(24px, 3vw, 60px) !important;
  color: #000;
  line-height: 1.4;
  letter-spacing: 0;
}
#app .r1-editorial-intro .r1-editorial-credit {
  margin: clamp(24px, 1.8vw, 36px) 0 0;
  font-size: clamp(16px, 1.55vw, 30px) !important;
  color: #000;
  line-height: 1.4;
}
#app .r1-editorial-cover { margin: 0 0 clamp(40px, 5vw, 80px); background: #f6f5f4; }
#app .r1-editorial-cover img { display: block; width: 100%; height: auto; max-width: none; clip-path: inset(3px 1px 0); }
#app .module-disclosure > .module-summary {
  grid-template-columns: minmax(0,1fr) 36px;
  min-height: 112px;
  padding: 32px 0;
  gap: 24px;
}
#app .module-summary .module-title {
  font-family: 'R1 Syne', Helvetica, Arial, 'PingFang SC', sans-serif;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}
#app .module-expand-icon { background: transparent; border-radius: 0; }
#app .module-summary:hover .module-expand-icon { background: transparent; }
#app .r1-project-history { max-width: 75ch; margin: 16px 0 28px; }
@media (max-width: 760px) {
  #app .module-disclosure > .module-summary { min-height: 96px; padding: 24px 0; gap: 20px; }
  #app .module-summary .module-title { font-size: 28px !important; }
  #app main :is(h2,h3) { text-wrap: pretty; }
}

/* Continuous project story: four chapters, quiet captions, open image layouts. */
#app .module-static {
  margin: 0 auto;
  padding-block: clamp(48px, 6vw, 96px);
  border: 0;
}
#app .module-static + .module-static { border-top: 1px solid #e5e5e5; }
#app .module-static > .module-heading { margin-bottom: 32px; min-height: 0; }
#app .module-heading > .module-title {
  font-size: clamp(32px, 3.6vw, 52px) !important;
  font-weight: 400;
  line-height: 1.2;
}
#app .module-content { padding: 0; }
#app .module-content > .section.wrap,
#app .module-content > .section.wrap:first-child { padding-block: 0; }
#app .module-content > .section.wrap + .section.wrap { padding-top: 64px; }
#app :is(.r1-reading-copy, .r1-process-intro) { max-width: 76ch; }
#app .r1-reading-copy p,
#app .r1-process-intro { margin: 0 0 20px; }
#app .r1-product-brief { margin-top: 24px; }
#app .r1-reading-copy p { color: #4e4e53; }
#app .r1-process-intro { color: var(--muted); }
#app .r1-detail-copy { margin-top: 20px; color: var(--muted); max-width: 48ch; }
#app :is(.narrative-extra, .design-process) {
  background: transparent;
  border-radius: 0;
  border-inline: 0;
  padding-inline: 0;
  box-shadow: none;
}
#app .narrative-extra > summary { grid-template-columns: minmax(0, 1fr) 24px; }
#app .narrative-extra > summary > small { display: none; }
#app .narrative-extra > summary::after { grid-column: 2; grid-row: 1; }
#app .narrative-extra > summary > span { font-weight: 400; }
#app .design-process > summary h3 { font-family: inherit; font-size: 17px !important; }
#app :is(.section-head, .original-sketch-heading) { border: 0; }
#app #chapter-10 .form-decisions { margin-block: 40px 48px; }
#app :is(.form-decision, .shoulder-refinement-step, .engineering-workshop-photo, .engineering-photo-grid > figure) {
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
#app .form-decision { padding: 0; }
#app .form-decision-meta { padding: 0 0 16px; border: 0; }
#app :is(.r1-caption-label, .r1-material-caption strong) {
  font-family: Helvetica, Arial, 'PingFang SC', sans-serif;
  font-weight: 500; font-size: 17px !important; letter-spacing: 0;
  line-height: 1.5; color: var(--ink);
}
#app .r1-caption-label { margin: 0 0 8px; }
#app .shoulder-step-heading .r1-caption-label { margin: 0; }
#app .design-preview { padding: 0; margin: 28px 0 0; }
#app .design-preview::before { content: none; }
#app .design-preview .design-detail-card { border-radius: 0; background: transparent; }
#app .design-preview .design-detail-card figcaption { padding: 16px 0 0; }
#app .design-preview .design-detail-card p { display: block; max-width: none; }
#app .design-preview .design-detail-card .r1-caption-label { margin-bottom: 8px; }
#app .component-detail-pair { gap: 32px; }
#app .component-detail-pair figcaption { padding-top: 16px; }
#app :is(.rear-service-study, .prototype-study-row, .engineering-photos, .grasp-pose-study) { border: 0; border-radius: 0; box-shadow: none; }
#app .cmf-study { margin-top: 0; }
#app .cmf-layout { gap: 24px; }
#app .cmf-copy > h3 { font-size: 24px !important; margin-bottom: 20px; }
#app .cmf-surfaces { gap: 28px; }
#app .cmf-surfaces li { border: 0; padding: 0 0 20px; gap: 8px; }
#app .cmf-surfaces p { margin: 0; }
#app .cmf-row-number { color: #8c8c90; }
#app .r1-material-caption strong { display: block; margin-bottom: 8px; }
#app :is(.gripper-feature, .base-detail) { border-radius: 0; background: #f6f5f4; }
#app .gripper-feature-copy { padding: 40px 32px 40px 0; }
#app .gripper-feature-copy > h3 { font-size: clamp(26px, 2.7vw, 36px) !important; margin-bottom: 20px; }
#app .gripper-feature-copy > .gripper-feature-note { margin-top: 20px; }
#app .gesture-study figcaption > .eyebrow { display: none; }
#app .gesture-study { border: 0; }
#app .r1-interaction-note { margin: 36px 0 20px; }
#app .stage-outcome-status { border: 0; background: none; padding: 0; display: block; }
#app .stage-outcome-status .stage-status { display: block; border: 0; background: none; border-radius: 0; padding: 0; margin-bottom: 12px; }
#app .stage-outcome-status p { max-width: 76ch; }
#app .r1-closing-title { font-size: 28px !important; margin: 0 0 24px; }
#app .r1-project-history { margin-bottom: 20px; }
@media (max-width: 900px) {
  #app .gripper-feature-copy { padding: 28px 24px; }
}
@media (max-width: 760px) {
  #app .module-static { padding-block: 40px; }
  #app .module-static > .module-heading { margin-bottom: 24px; }
  #app .module-heading > .module-title { font-size: 32px !important; }
  #app .module-content > .section.wrap + .section.wrap { padding-top: 40px; }
  #app .cmf-surfaces { gap: 0; }
  #app .component-detail-pair { gap: 40px; }
  #app .narrative-extra > summary > span { font-size: 16px !important; }
}
@media (max-width: 580px) {
  #app .design-preview .design-detail-gallery { grid-template-columns: 1fr; gap: 28px; }
  #app .design-preview .design-detail-frame { aspect-ratio: 1.6; }
}
#app .module-heading > .module-title { color: var(--ink); }
#app :is(.cmf-image-wrap, .grasp-pose-image, .gesture-study-image, .rear-service-image, .prototype-photo) { border-radius: 0; }

/* A visual introduction before research, then the supplied skeleton starts the process. */
#app .r1-editorial-cover { margin-bottom: 24px; }
#app .r1-opening-renders {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px; margin-bottom: 16px; scroll-margin-top: 24px;
}
#app .r1-opening-renders figure { margin: 0; min-width: 0; }
#app .r1-opening-image {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: clamp(400px, 47vw, 640px); background: #f6f5f4; overflow: hidden;
}
#app .r1-opening-front .r1-opening-image { padding: 28px; }
#app .r1-opening-robot { display: block; width: auto; height: 100%; max-width: 100%; }
#app .r1-opening-grasp img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
#app .r1-opening-enlarge { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffffffd9; color: #444; }
#app :is(.r1-opening-renders, .r1-starting-framework) figcaption { padding-top: 12px; color: var(--muted); font-size: 14px !important; }
#app #initial-architecture { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px 48px; }
#app .r1-starting-framework { grid-column: 1; margin: 0; min-width: 0; }
#app .r1-starting-framework > a { display: block; position: relative; background: #eff0e9; }
#app .r1-starting-framework img { display: block; width: 100%; height: auto; }
#app #initial-architecture .initial-architecture-copy { grid-column: 2; padding-top: 36px; align-self: center; }
#app #initial-architecture .initial-architecture-copy p + p { margin-top: 20px; }
#app .r1-framework-viewer { grid-column: 1 / -1; width: 100%; margin-top: 0; }
#app .r1-framework-viewer .initial-model { width: 100%; }
@media(max-width:760px) {
 #app .r1-opening-renders { grid-template-columns: 1fr; gap: 28px; }
 #app .r1-opening-image { height: auto; aspect-ratio: 1; }
 #app .r1-opening-front .r1-opening-image { height: 460px; aspect-ratio: auto; }
 #app #initial-architecture { grid-template-columns: 1fr; gap: 24px; }
 #app #initial-architecture .initial-architecture-copy { grid-column: 1; padding-top: 0; }
}
#app .r1-starting-framework > a { height: auto; overflow: hidden; }
#app .r1-opening-front img[hidden] { display: none; }

/* Visible controls within the otherwise quiet editorial layout. */
#app #initial-architecture > .initial-model { grid-column: 1; width: 100%; }
#app .r1-starting-framework .initial-model-frame { height: auto; aspect-ratio: 1; min-height: 360px; }
#app .r1-starting-framework .initial-model-poster { height: 100%; object-fit: contain; }
#app .r1-starting-framework .initial-model-toolbar { padding-top: 14px; gap: 10px; }
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center; gap: 16px; min-height: 72px; padding: 16px 20px;
  background: #f5f5f6; border: 1px solid #dddde0; border-radius: 8px;
  color: #242426; font-size: 17px; font-weight: 500; line-height: 1.45;
  list-style: none; cursor: pointer; transition: background .18s, border-color .18s;
}
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary::-webkit-details-marker { display: none; }
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary > :is(span,h3) { font-size: 17px !important; font-weight: 500; }
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary::after {
  content: '+'; display: grid; place-items: center; grid-column: 2; grid-row: 1;
  width: 36px; height: 36px; border-radius: 50%; background: #e6e6e9;
  color: #363639; font: 25px/1 Helvetica, Arial, sans-serif; font-size: 25px !important;
}
#app details[open]:not(.module-disclosure):not(.workbench-disclosure) > summary::after { content: '−'; }
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary:hover { background: #ededf0; border-color: #bdbdc3; }
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary:focus-visible { outline: 2px solid #424245; outline-offset: 4px; }
#app details[open]:not(.module-disclosure):not(.workbench-disclosure) > summary { background: #ededf0; border-color: #c9c9cf; }
#app details:not(.module-disclosure):not(.workbench-disclosure) > summary :is(.process-chevron,.joint-details-symbol) { display: none; }
@media (max-width: 760px) {
  #app #initial-architecture > .initial-model { grid-column: 1 / -1; }
  #app .r1-starting-framework .initial-model-frame { min-height: 340px; }
  #app details:not(.module-disclosure):not(.workbench-disclosure) > summary { padding: 14px 16px; gap: 12px; min-height: 68px; }
  #app details:not(.module-disclosure):not(.workbench-disclosure) > summary > :is(span,h3) { font-size: 16px !important; }
}
#app .r1-starting-framework .initial-model-label { display: none; }

/* Let the sketches lead into the three selected concepts. */
#app .r1-opening-renders { display: block; }
#app .r1-opening-grasp .r1-opening-image { height: auto; aspect-ratio: 16 / 10; }
#app .r1-opening-grasp img { object-fit: contain; object-position: center; }
#app .r1-research-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
#app .r1-research-layout > figure { margin: 0; min-width: 0; }
#app .r1-research-layout .r1-opening-image { height: clamp(520px, 49vw, 680px); }
#app .r1-research-layout figcaption { padding-top: 12px; color: var(--muted); font-size: 14px !important; }
#app .r1-research-story { min-width: 0; }
#app .r1-research-story .module-heading { margin-bottom: 28px; }
#app #research-archive { margin-top: 40px; }
#app #sketch-archive .original-sketch-gallery { margin-top: 32px; }
@media (max-width: 760px) {
  #app .r1-research-layout { grid-template-columns: 1fr; gap: 32px; }
  #app .r1-research-layout .r1-opening-image { height: 460px; }
  #app .r1-research-story .module-heading { margin-bottom: 24px; }
}
/* Clear reading hierarchy and navigation at all viewport sizes. */
#app #initial-architecture .initial-architecture-copy { align-self: start; padding-top: 0; }
#app #initial-architecture .initial-architecture-copy h3 { margin-top: 0; }
#app .initial-model-toolbar { display: grid; grid-template-columns: minmax(0,1fr); justify-items: start; }
#app .initial-model-toolbar p { white-space: nowrap; font-size: clamp(10px, 1.15vw, 14px) !important; }
#app .r1-expanded-study { margin-block: 48px; }
#app .r1-expanded-study > h3 { margin-bottom: 24px; }
#app .r1-expanded-reference { margin-block: 32px; }
#app .r1-expanded-reference > h4 { margin-bottom: 20px; }
#app .r1-expanded-reference > .narrative-extra-body { padding: 0; }
#app .topbar { position: sticky; top: 0; z-index: 50; background: #fafafcf5; backdrop-filter: blur(14px); transition: transform .22s ease; }
#app .topbar.r1-nav-hidden { transform: translateY(-110%); pointer-events: none; }
#app .topbar:focus-within { transform: translateY(0); }
#app .r1-reading-dock {
 position: fixed; z-index: 45; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
 width: max-content; max-width: calc(100% - 32px); background: #fafafcf5; backdrop-filter: blur(14px);
 border: 1px solid #dddde2; border-radius: 14px; box-shadow: 0 4px 20px #00000012; overflow: hidden;
}
#app .r1-dock-links { position: relative; display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
#app .r1-dock-links::-webkit-scrollbar { display: none; }
#app .r1-dock-links a { display: flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 10px 13px; min-height: 44px; font-size: 13px; border-radius: 9px; white-space: nowrap; color: #626268; }
#app .r1-dock-links a span { font-size: 10px; opacity: .7; }
#app .r1-dock-links a[aria-current] { background: #e8e8ed; color: #1d1d1f; }
#app .r1-dock-links a:hover { background: #ededf0; color: #1d1d1f; }
#app .r1-dock-links a:focus-visible { outline-offset: -3px; }
#app .r1-reading-meter { height: 3px; background: #e4e4e8; }
#app .r1-reading-meter i { display: block; height: 100%; background: #0071e3; }
#app .footer { padding-bottom: 110px; }
html { scroll-padding-top: 80px; }
@media (max-width: 1200px) {
 #app .form-decision-grid { grid-template-columns: 1fr; gap: 48px; }
 #app .form-decision { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0 36px; align-content: start; }
 #app .form-decision-meta { grid-column: 1/-1; }
 #app .form-decision-media { grid-column: 1; grid-row: 2 / span 2; max-width: none; margin-bottom: 0; }
 #app .form-decision-image { height: clamp(240px, 29vw, 350px); }
 #app .form-decision > :is(h4,.r1-caption-label) { grid-column: 2; grid-row: 2; margin: 20px 0 12px; align-self: end; }
 #app .form-decision > p:not(.r1-caption-label) { grid-column: 2; grid-row: 3; align-self: start; }
}
@media (max-width: 760px) {
 #app .form-decision { display: block; }
 #app .form-decision-media { margin-bottom: 24px; }
 #app .form-decision-image { height: clamp(220px, 55vw, 320px); }
 #app .topbar .wordmark span { display: none; }
 #app .topbar { padding-inline: 16px; }
 #app .header-links { gap: 12px; }
 #app .header-links > a { display: inline; font-size: 12px; }
 #app .r1-reading-dock { max-width: calc(100% - 24px); }
 #app .r1-dock-links a { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { #app .topbar { transition: none; } }
@media (max-width: 1200px) {
 #app #form-decisions > .original-sketch-heading { grid-template-columns: 1fr; gap: 16px; }
 #app #form-decisions > .original-sketch-heading p { max-width: 64ch; }
}
/* Optical placement of the gripper and mobile-base captions. */
@media (min-width: 901px) {
 #app #gripper-detail .gripper-feature-copy { position: relative; top: clamp(-48px, -3.4vw, -30px); }
 #app #mobile-base-detail .base-detail-caption { padding-top: clamp(88px, 8vw, 120px); }
}

/* Small interaction cues complement the one-time scroll entrances. */
@media (prefers-reduced-motion: no-preference) {
 #app details > summary { transition: background-color .22s ease, border-color .22s ease; }
 #app details > summary::after { transition: transform .25s ease, background-color .25s ease; }
 #app details > summary:hover::after { transform: scale(1.12); }
 #app details > summary:active::after { transform: scale(.94); }
 #app .r1-dock-links a { transition: background-color .22s ease, color .22s ease; }
 #app :is(.r1-opening-enlarge,.original-render-enlarge) { transition: transform .3s ease, background-color .3s ease; }
 #app .dimension-drawing:hover :is(.r1-opening-enlarge,.original-render-enlarge) { transform: translate(3px,-3px); background-color: white; }
}
