:root {
  --masthead: 64px;
  --paper: #f6f3e9;
  --charcoal: #202321;
  --blueprint: #193bad;
  --vermilion: #ff512e;
  --background: #f7f6f0;
  --ink: var(--charcoal);
}
.site-header { background: #f8f6eff7; border-color: #292c3026; }
.nav-inner { height: var(--masthead); }
.nav-inner.shell { width: calc(100% - 9.4vw); max-width: 1720px; }
.desktop-nav { color: #464c49; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #173ca8; }
.desktop-nav a.is-active::after { background: #173ca8; }
.nav-actions .button-primary { color: #fff; background: var(--charcoal); border-color: var(--charcoal); border-radius: 100px; min-height: 38px; padding-block: 8px; }
.nav-actions .button-primary:hover { background: #3047a5; }
.reading-progress span { background: var(--brand); }

.desktop-nav a, .mobile-nav a { display: inline-flex; align-items: center; gap: .48rem; }
.desktop-nav a .icon, .mobile-nav a .icon { width: 18px; height: 18px; stroke-width: 1.65; }
.mobile-nav a { display: flex; justify-content: flex-start; gap: .8rem; }
.product-story {
  --shot-height: calc(100svh - var(--masthead));
  --page-edge: clamp(24px,5.4vw,100px); --rail: 56px;
  background: var(--paper); color: var(--charcoal);
}
.story-stage, .shot-inner { position: relative; isolation: isolate; }
.story-shot { overflow: clip; }
.shot-inner { height: calc(var(--shot-height) - var(--rail)); }
.shot-origin { background: #faf8f1; }
.origin-spread { --drawing-ink: #23466c; --drawing-rule: #8ca9c1; background: #faf8f1; }
.origin-field {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate; --cut: 42;
  --figure-x: 52%; --figure-width: min(96vw,calc((var(--shot-height) - var(--rail)) * 1.96));
  --figure-y: max(46.5%,calc(var(--figure-width) * .24 + 12px));
}
.origin-field .study-projection { transform: translate(-50%,-50%); }
.origin-field .study-projection[data-scene="head"] { aspect-ratio: 2/1; }
.origin-field .study-projection[data-scene="hip"] { width: min(66vw,calc((var(--shot-height) - var(--rail)) * 1.09)); }
.origin-ink { position: absolute; inset: 0; }
@media (min-width: 761px) {
  .origin-ink { mask-image: radial-gradient(ellipse 32% 46% at 9% 80%,#0001 0% 53%,#0004 72%,#000c 90%,#000 100%); }
}
.origin-annotations { pointer-events: none; z-index: 1; }
.origin-frames { position: absolute; inset: 0; background-size: 600% 500%; background-repeat: no-repeat; }
.origin-field .has-motion .study-poster { visibility: hidden; }
.part-track { --track: #7a8b9a; --chip: #f5f8fa; --tag-ink: #3b5264; --corner: min(13px,23%); position: absolute; color: var(--track); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--track) 58%,transparent); }
.part-track::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(currentColor,currentColor) left top / var(--corner) 2px,linear-gradient(currentColor,currentColor) left top / 2px var(--corner),linear-gradient(currentColor,currentColor) right top / var(--corner) 2px,linear-gradient(currentColor,currentColor) right top / 2px var(--corner),linear-gradient(currentColor,currentColor) left bottom / var(--corner) 2px,linear-gradient(currentColor,currentColor) left bottom / 2px var(--corner),linear-gradient(currentColor,currentColor) right bottom / var(--corner) 2px,linear-gradient(currentColor,currentColor) right bottom / 2px var(--corner); background-repeat: no-repeat;
}
.part-track b { position: absolute; bottom: 100%; left: 0; padding: .12em .45em; border: 1px solid var(--track); background: var(--chip); color: var(--tag-ink); white-space: nowrap; font: 550 clamp(11px,.9vw,14px)/1.35 var(--font); }
.origin-tools { position: absolute; z-index: 2; bottom: 2.3%; left: clamp(20px,3.5vw,66px); display: flex; align-items: center; color: #415b72; font-size: .73rem; }
.origin-scroll-hint, .origin-manual { display: inline-flex; gap: .42rem; align-items: center; }
.origin-tools .icon { width: 14px; height: 14px; transform: rotate(90deg); }
.origin-manual input { width: 62px; height: 18px; accent-color: #325e8a; }
.origin-annotations label.part-track { cursor: pointer; pointer-events: auto; }
.origin-annotations .receiver-track { pointer-events: none; }
.origin-spread:not(:has(#pick-panel:checked)) [data-mesh="bottom_head_shell"] { display: none; }
.origin-spread:has(#pick-panel:checked) [data-mesh="face_part"], .origin-spread:has(#pick-board:checked) [data-mesh="pcb__raspberry_pi_zero_2_w"],
.origin-spread:has(#pick-eye:checked) [data-mesh="noenoeil"], .part-track[data-mesh="left_leg"] { --track: #436e9a; --chip: #e6f0fa; --tag-ink: #173f69; --role: ' · 已选'; }
.origin-spread:has(#pick-panel:checked) [data-mesh="bottom_head_shell"], .origin-spread:has(:is(#pick-board,#pick-eye):checked) [data-mesh="face_part"],
.part-track[data-mesh="torso"] { --track: #a6733d; --chip: #fff2d9; --tag-ink: #6c431d; --role: ' · 目标'; }
.part-track b::after { content: var(--role,''); }
.part-track[data-mesh="bottom_head_shell"] b { left: auto; right: 0; top: 100%; bottom: auto; }
.panel-registration { display: none; position: absolute; inset: 0; pointer-events: none; color: #744d28; }
.origin-spread:has(#pick-panel:checked) .panel-registration { display: block; }
.panel-registration svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #b58441; stroke-width: 1.5px; stroke-dasharray: 3 4; }
.groove-pin { position: absolute; width: 7px; height: 7px; transform: translate(-50%,-50%); border: 1.5px solid currentColor; border-radius: 50%; background: #fff6dc; box-shadow: 0 0 0 1px #fff8e8; }
.groove-pin b { position: absolute; left: calc(100% + 8px); bottom: -1px; padding: .06em .35em; white-space: nowrap; background: #fff6df; border-bottom: 1px solid currentColor; font: 550 clamp(10px,.86vw,13px)/1.35 var(--font); }
.groove-pin b::before { content: ''; position: absolute; bottom: -1px; right: 100%; width: 8px; border-bottom: 1px solid currentColor; }
label.part-track:hover { outline: 1px solid var(--track); }
.origin-field .study-divider span { top: 88%; }
.shot-copy { position: relative; z-index: 2; }
.origin-spread .shot-copy { position: absolute; left: clamp(20px,3.5vw,66px); bottom: 6.5%; width: min(25vw,360px); color: #18334e; }
.origin-spread .shot-copy h1 { font-size: clamp(36px,3.85vw,73px); }
.origin-spread .case-name { margin-bottom: .65rem; font-size: clamp(22px,2.2vw,38px); color: #385f86; font-weight: 500; }
.origin-spread .shot-description { width: 95%; font-size: clamp(.95rem,1.08vw,1.14rem); color: #374e62; }
.case-name { display: block; margin: 0 0 1rem; font: 600 clamp(24px,3.1vw,53px)/1 var(--font); letter-spacing: -.035em; }
.shot-copy :is(h1,h2) { margin: 0; font: 750 clamp(44px,5vw,88px)/1.12 var(--font); letter-spacing: -.055em; }
.shot-description { margin: 1.25rem 0 0; max-width: 21em; font-size: clamp(1rem,1.16vw,1.2rem); line-height: 1.7; }
.study-entry { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; min-height: 38px; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 550; }
.study-entry:hover { color: #185b98; }
.study-entry .icon { width: 17px; height: 17px; }
/* The native part picker drives the source plates, the target and a single reply. */
.origin-field [data-scene="hip"], .origin-spread:has(#pick-leg:checked) .origin-field [data-scene="head"],
.origin-spread .study-entry-hip, .origin-spread:has(#pick-leg:checked) #open-study { display: none; }
.origin-spread:has(#pick-leg:checked) .origin-field [data-scene="hip"] { display: block; }
.origin-spread:has(#pick-leg:checked) .study-entry-hip { display: inline-flex; }
.origin-spread [data-choice] { grid-area: 1/1; visibility: hidden; }
.origin-spread:has(#pick-panel:checked) [data-choice="panel"], .origin-spread:has(#pick-board:checked) [data-choice="board"],
.origin-spread:has(#pick-eye:checked) [data-choice="eye"], .origin-spread:has(#pick-leg:checked) [data-choice="leg"] { visibility: visible; }

.assembly-selection { min-inline-size: 0; margin: 0; }
.assembly-selection {
  position: absolute; z-index: 2; top: clamp(60px,9.6vh,108px); left: clamp(20px,3.5vw,66px);
  width: clamp(220px,18.7vw,280px); padding: .62rem .76rem .57rem; border: 1px solid var(--drawing-rule);
  background-color: #f3f8fc; color: var(--drawing-ink);
}
.compact-part { display: none; }
.assembly-selection::before, .assembly-selection::after {
  content: ''; position: absolute; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--drawing-ink),var(--drawing-ink)) center / 100% 1px no-repeat, linear-gradient(var(--drawing-ink),var(--drawing-ink)) center / 1px 100% no-repeat;
}
.assembly-selection::before { top: -6px; left: -6px; }
.assembly-selection::after { bottom: -6px; right: -6px; }
.selection-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5em; padding-bottom: .4rem; border-bottom: 1px solid var(--drawing-rule); }
.selection-head h2 { display: flex; align-items: center; gap: .42em; margin: 0; font: 620 1rem/1.25 var(--font); }
.selection-head .icon { width: 1.05em; height: 1.05em; stroke-width: 1.45; }
.selection-head > span { color: #506a81; font-size: .81rem; letter-spacing: .055em; }
.selection-label { margin: .32rem 0 .23rem; color: #4c657b; font-size: .74rem; }
.selection-picks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
.selection-picks label { position: relative; cursor: pointer; }
.selection-picks input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.selection-picks span { position: relative; display: flex; align-items: center; gap: .32em; min-height: 30px; padding: .26em .32em; border: 1px solid #bdcfdd; color: #415970; font-size: .8rem; line-height: 1.3; }
.pick-profile { flex: 0 0 auto; width: 1.9em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.selection-picks input:hover + span { border-color: #6c8dae; background: #eaf2f9; }
.selection-picks input:checked + span { border-color: #4c77a4; background: #e0edf9; color: #163f69; font-weight: 600; }
.selection-picks input:checked + span::after { content: ''; position: absolute; right: 3px; top: 3px; width: 6px; height: 3px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.selection-picks input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.selection-target { display: flex; align-items: center; gap: .55em; margin-top: .42rem; padding-top: .37rem; border-top: 1px solid var(--drawing-rule); }
.selection-target > span { font-size: .74rem; color: #704a24; white-space: nowrap; }
.choice-stack { display: grid; flex: 1; min-width: 0; }
.choice-stack p { display: flex; gap: .32em; justify-content: space-between; align-items: baseline; margin: 0; }
.choice-stack strong { font-size: .84rem; line-height: 1.5; font-weight: 600; }
.choice-stack small { font-size: .69rem; color: #536c80; white-space: nowrap; }

.assistant-story { position: absolute; z-index: 2; right: clamp(20px,3.5vw,84px); top: 50%; transform: translateY(-50%); width: clamp(205px,24vw,350px); display: grid; color: #263242; }
.dialogue-case { display: grid; gap: clamp(11px,1.7vh,18px); align-content: center; }
.dialogue-question, .dialogue-answer { position: relative; margin: 0; text-wrap: balance; background: var(--bubble-paper); border: 1px solid var(--bubble-edge); }
.dialogue-question { --bubble-paper: #fffdf7; --bubble-edge: #cfc6b6; justify-self: end; width: fit-content; max-width: 87%; margin-right: 5px; padding: .67em .95em; color: #49453e; border-radius: 17px 17px 6px 17px; font-size: clamp(15px,1.15vw,20px); font-weight: 450; line-height: 1.55; }
.dialogue-answer { --bubble-paper: #eaf2f9; --bubble-edge: #abc2d6; justify-self: start; max-width: 95%; margin-left: 5px; padding: .83em .93em .85em 2.26em; color: #203b56; border-radius: 17px 18px 18px 6px; font-size: clamp(16px,1.21vw,21px); font-weight: 550; line-height: 1.65; }
.dialogue-tip { position: absolute; bottom: 5px; width: 10px; height: 12px; fill: var(--bubble-paper); stroke: var(--bubble-edge); stroke-width: 1; pointer-events: none; }
.dialogue-question .dialogue-tip { right: -9px; }
.dialogue-answer .dialogue-tip { left: -9px; transform: scaleX(-1); }
.keep-phrase { white-space: nowrap; }
.answer-mark { position: absolute; left: .79em; top: 1.03em; width: .92em; height: 1.1em; }
.part-records { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem 2rem; margin: 1rem 0; }
.part-records article { padding-top: .55rem; border-top: 1px solid #99a5a4; }
.part-records h3 { margin: 0 0 .6rem; font-size: 1rem; }
.part-records dl, .part-records dd { margin: 0; }
.part-records dl > div + div { margin-top: .45em; }
.part-records dt { font-size: .77rem; color: #53605c; }
.part-records dd { font-size: .88rem; }
.prediction-box, .scene-detection { position: absolute; pointer-events: none; color: #ffe68f; border: 2px solid currentColor; box-shadow: 0 0 0 1px #18262288; }
.prediction-box { left: 15.6%; top: 9.2%; width: 64.4%; height: 81.6%; }
.prediction-box span, .scene-detection span { position: absolute; left: -2px; bottom: 100%; padding: .1em .4em; white-space: nowrap; font: 650 13px/1.35 var(--font); background: #ffe68f; color: #242a23; }
.scene-detection { --box-color: #d4f7b3; color: var(--box-color); border-width: 1.5px; }
.scene-detection span { left: -1.5px; background: var(--box-color); font-size: clamp(10px,.9vw,13px); }
.mark-left { --box-color: #ffdf86; } .mark-right { --box-color: #98dfe0; } .mark-body { --box-color: #f2bba0; }
.mark-left span,.mark-body span { right: -1.5px; left: auto; }
.mark-left span,.mark-right span { bottom: auto; top: 100%; }
.mark-body span { left: 100%; right: auto; bottom: auto; top: -1.5px; }
.evidence-frame .scene-detection span { font-size: .78rem; }
.scene-label { margin: 0 0 1rem; font-size: .9rem; line-height: 1.35; font-weight: 650; }
.story-link { display: inline-flex; align-items: center; margin-top: 1.2rem; border-bottom: 1px solid; font-weight: 600; }
.shot-final { color: #fff8e5; background: #1e2936; }
.final-spread { display: grid; align-items: center; grid-template-columns: 42% 58%; }
.final-scene {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse at 67% 38%,#384b6c 0%,#263853 39%,#19283f 70%,#111d30 100%);
}
.final-projection { position: absolute; left: 67%; top: 50%; width: min(60vw,calc((var(--shot-height) - var(--rail)) * .79)); aspect-ratio: 4/5; transform: translate(-50%,-50%); }
.final-projection::before { content: ''; position: absolute; left: 53%; top: 86%; width: 172%; aspect-ratio: 1060/800; transform: translate(-50%,-77.5%); background: url('assets/microduck-assembly-stage.svg') center/contain no-repeat; pointer-events: none; }
.final-projection > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-frames { background-size: 600% 400%; background-repeat: no-repeat; }
.final-parts { pointer-events: none; opacity: var(--part-labels,1); }
.final-parts span { position: absolute; color: #f0e5cf; font-size: .82rem; line-height: 1.3; }
.final-parts span::before { content: ''; position: absolute; right: calc(100% + 4px); top: 50%; width: clamp(13px,2.5vw,40px); height: 1px; background: #dac7a4a6; }
.part-neck { top: 13%; left: 69%; }
.part-body { top: 50%; left: 72%; }
.part-left { top: 61%; left: 80%; }
.part-right { top: 55%; left: 14%; }
.final-parts :is(.part-left,.part-right)::before { top: 115%; left: 40%; width: 1px; height: clamp(10px,1.9vh,24px); }
.final-scene figcaption { position: absolute; right: var(--page-edge); bottom: 3.4%; font-size: .8rem; color: #edf1f7; z-index: 1; }
.final-spread .shot-copy { grid-column: 1; margin-left: var(--page-edge); }
.final-spread .case-name { color: #e8be8a; }
.final-spread .shot-description { color: #e1e5ea; max-width: 18em; }
.final-controls { margin-top: clamp(20px,3.5vh,42px); }
.final-status { font-size: .88rem; margin-bottom: .6rem; color: #fff0c6; }
.final-controls button { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-width: 100px; height: 40px; border-radius: 32px; background: #f8f2df; color: #263142; font-weight: 600; font-size: .86rem; }
.final-controls button:hover { background: white; }
.final-controls .icon { width: 14px; height: 14px; }
.shot-film { color: #f5f4e8; background: #1b2d2e; }
.film-workspace { display: grid; place-items: center; padding: clamp(18px,3.9vh,58px) clamp(20px,4.5vw,88px); }
.product-story:not(.is-paged) .film-workspace { height: auto; min-height: calc(var(--shot-height) - var(--rail)); }
.film-desk { width: min(100%,1760px); display: grid; grid-template-columns: minmax(235px,.68fr) minmax(0,2.32fr); grid-template-areas: "heading stage" "chapters stage"; align-content: center; align-items: start; gap: clamp(20px,3vh,40px) clamp(28px,3.8vw,78px); }
.film-heading { grid-area: heading; align-self: end; }
.film-heading .scene-label { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; color: #eed5a9; }
.film-heading .icon { width: 20px; height: 20px; }
.film-heading h2 { font: 700 clamp(31px,3.45vw,66px)/1.12 var(--font); letter-spacing: -.05em; }
.film-heading > p:last-child { max-width: 20em; margin-top: .85rem; color: #c4cfca; font-size: clamp(.9rem,1vw,1.1rem); line-height: 1.65; }
.film-stage { grid-area: stage; align-self: center; min-width: 0; width: min(100%,calc((var(--shot-height) - var(--rail) - 118px) * 1.6)); justify-self: center; }
.film-stage .assembly-player { position: relative; border: 1px solid #8ba19a65; border-radius: 6px; background: #102020; box-shadow: 0 16px 40px #09181552; }
.film-stage video { display: block; width: 100%; height: auto; }
.film-stage .assembly-player:has(.assembly-play:not([hidden])) video { cursor: pointer; }
.film-stage figcaption { display: flex; justify-content: space-between; gap: .5rem; margin-top: .6rem; font-size: .79rem; color: #d0d9d3; }
.film-stage .assembly-play { inset: auto auto 6% 4%; width: auto; display: inline-flex; flex-direction: row; align-items: center; gap: .55rem; padding: .38rem 1rem .38rem .4rem; border-radius: 40px; background: #f9f7e9; color: #233533; box-shadow: 0 3px 16px #0713115c; }
.film-stage .play-circle { width: 30px; height: 30px; color: #fff; background: #29403b; }
.film-stage .play-circle .icon { width: 13px; height: 13px; }
.film-stage .assembly-play strong { font: 650 .9rem var(--font); text-shadow: none; }
.film-stage .assembly-play:hover { background: #ffe5b4; }
.film-chapters { grid-area: chapters; align-self: start; display: grid; border-top: 1px solid #85968b6b; }
.film-chapters button { display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center; min-width: 0; padding: .4rem .35rem; background: transparent; color: #eef0e7; text-align: left; font-size: .92rem; border-bottom: 1px solid #85968b57; }
.film-chapters button[aria-current],.film-chapters button:hover { color: #ffe4b6; background: #324842; }
.chapter-frame { width: clamp(46px,4.1vw,75px); aspect-ratio: 8/5; background: url('assets/simulate-film-chapters.webp?v=de33b986c3') calc(var(--chapter) * 100%) center / 200% 100% no-repeat; border-radius: 2px; }
.film-chapters time { font: 500 .78rem/1.2 var(--font); font-variant-numeric: tabular-nums; color: #c4d0c7; }
.film-offline-link { display: inline-flex; margin-top: .4rem; text-decoration: underline; }
.story-rail {
  position: relative; z-index: 4; height: var(--rail); display: flex; align-items: center; gap: 1rem;
  justify-content: space-between; padding-inline: var(--page-edge); background: var(--paper); border-block: 1px solid #32372d31;
}
.shot-nav { display: flex; align-items: stretch; height: 100%; gap: clamp(20px,3vw,50px); }
.shot-nav button { position: relative; padding: 0; background: transparent; color: #59605b; font-size: .83rem; }
.shot-nav button[aria-current=step] { color: #222820; font-weight: 700; }
.shot-nav button[aria-current=step]::before { content: ''; position: absolute; top: -1px; inset-inline: 0; height: 3px; background: var(--vermilion); }
.rail-link { display: inline-flex; align-items: center; gap: .85rem; min-height: 42px; margin-left: auto; font-weight: 650; font-size: .85rem; }
.rail-link span { font: 1.25rem/1 var(--font); }
.product-story.is-paged { --shot-height: calc(100svh - var(--masthead)); height: calc(3 * var(--shot-height)); }
.is-paged .story-stage { position: sticky; top: var(--masthead); height: var(--shot-height); overflow: clip; }
.is-paged .story-shot { position: absolute; inset: 0 0 var(--rail); isolation: isolate; }
.is-paged .shot-inner { height: 100%; }
.is-paged .story-rail { position: absolute; inset: auto 0 0; }
.is-paged .story-shot.is-covered { visibility: hidden; }
.is-paged .story-shot[inert] { pointer-events: none; }
.is-paged .shot-origin { z-index: 0; }
.is-paged .shot-final { z-index: 1; opacity: var(--station,0); }
.is-paged .origin-spread :is(.shot-copy,.assistant-story,.assembly-selection,.study-legend,.origin-tools,.study-divider) { opacity: var(--origin-caption,1); }
.is-paged .origin-annotations { opacity: var(--origin-marks,1); }
.is-paged .origin-field .study-drawing { opacity: var(--origin-drawing,1); }
.is-paged .origin-field .study-material .study-projection { opacity: var(--origin-parts,1); }
.is-paged .final-spread .shot-copy, .is-paged .final-scene figcaption { opacity: var(--station-caption,0); }
.is-paged .final-projection > :is(img,.final-frames) { opacity: var(--station-parts,0); }
.is-paged .final-parts { opacity: calc(var(--part-labels,1) * var(--station-labels,0)); }
.assembly-handoff { display: none; }
.is-paged .assembly-handoff:not([hidden]) { display: block; position: absolute; z-index: 2; inset: 0 0 var(--rail); overflow: clip; pointer-events: none; }
.assembly-handoff > div { position: absolute; top: 0; left: 0; width: 672px; height: 672px; transform-origin: 0 0; background-size: 600% 500%; background-repeat: no-repeat; }
.is-paged .shot-film { z-index: 2; }
.brand-bridge { display: none; }
.is-paged .brand-bridge.is-visible {
  display: grid; place-items: center; pointer-events: none; position: absolute; z-index: 3; inset: 0 0 var(--rail);
  background: #f9f5e9;
  clip-path: polygon(var(--fold-left) 0,calc(var(--fold-right) + 12%) 0,var(--fold-right) 100%,calc(var(--fold-left) - 12%) 100%);
}
.brand-bridge svg { width: min(38vw,42svh); height: auto; overflow: visible; }
.fold-upper { transform: translate(calc(var(--unfold) * -500px), calc(var(--unfold) * 220px)); }
.fold-lower { transform: translate(calc(var(--unfold) * 500px), calc(var(--unfold) * -220px)); }

.orbit-motion { background-size: 600% 400%; }
.turntable-dialog { width: min(620px,90vw); background: var(--paper); }
.turntable-dialog .dialog-head { align-items: center; }
.turntable-dialog .dialog-head h2 { margin: 0; }
.orbit-plate { position: relative; height: min(58svh,570px); aspect-ratio: 10/13; max-width: 100%; margin: 0 auto; }
.orbit-plate.has-frame .origin-model { visibility: hidden; }
.orbit-plate.can-turn { touch-action: pan-y; cursor: grab; }
.orbit-plate.can-turn:active { cursor: grabbing; }
.orbit-control { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .87rem; }
.orbit-control input { width: min(165px,45%); height: 32px; accent-color: #2447a7; }

.study-dialog { --cut: 54; --page-edge: clamp(12px,2.4vw,30px); --figure-x: 55%; --figure-y: 51%; --figure-width: min(84%,65svh); width: min(920px,94vw); background: #f6f4eb; }
.study-dialog .dialog-head { align-items: center; }
.study-dialog .dialog-head h2 { margin: 0; }
.study-surface { position: relative; isolation: isolate; overflow: hidden; width: 100%; height: min(60svh,550px); }
.study-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .7rem; }
.study-tools label, .study-tools a { display: inline-flex; min-height: 40px; align-items: center; gap: .65rem; font-size: .9rem; }
.study-tools input { width: min(23vw,145px); accent-color: #2e4a9f; }
.study-tools a { text-decoration: underline; text-underline-offset: .23em; }
.study-sheet { position: absolute; inset: 0; overflow: hidden; }
.study-material {
  background: #f8f5eb radial-gradient(ellipse at 68% 37%, #fffef8 0%, #f8f4e9 61%, #eee8d9 100%);
}
.origin-field .study-material {
  color: #e6eef9; background: #102347 radial-gradient(ellipse at 62% 40%,#233e68 0%,#152c51 50%,#0d1d3b 100%);
}
.origin-field .study-legend > span:last-child { color: #e2eaf6; }
.origin-field .material-chips { outline: 1px solid #cdd9e657; }
.study-drawing {
  clip-path: inset(0 calc((100 - var(--cut)) * 1%) 0 0);
  background: #e9f1f6 linear-gradient(130deg,#e5eef6,#f1f6f9 77%,#e8f0f6);
}
.drawing-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(#587da523 1px,transparent 1px),linear-gradient(90deg,#587da523 1px,transparent 1px),linear-gradient(#7392b112 1px,transparent 1px),linear-gradient(90deg,#7392b112 1px,transparent 1px);
  background-size: 96px 96px,96px 96px,24px 24px,24px 24px; background-position: left top;
  mask-image: linear-gradient(140deg,#0009,#000 50%,#0009);
}
.study-projection {
  position: absolute; width: var(--figure-width); aspect-ratio: 7/6; left: var(--figure-x); top: var(--figure-y);
  transform: translate(-50%,-50%);
}
.study-poster, .study-frames, .orbit-motion, .origin-model { position: absolute; inset: 0; width: 100%; height: 100%; }
.study-frames, .orbit-motion { background-repeat: no-repeat; }
.study-frames { background-size: 600% 500%; }
.study-sheet.has-frame .study-poster { visibility: hidden; }
.study-pointers { pointer-events: none; opacity: var(--labels,1); }
.part-leader {
  position: absolute; font: 500 clamp(11px,.88vw,15px)/1.3 var(--font); letter-spacing: .06em;
  background: #f7f4e9; border: 1px solid #373b3755; padding: .32em .62em; color: #252b2c;
}
.part-leader::after { content: ''; position: absolute; width: 1px; height: clamp(16px,2.4vw,38px); background: #878c8e; transform-origin: top; }
.ring-leader { right: 87%; bottom: 40%; }
.ring-leader::after { top: 100%; right: 5px; transform: rotate(-20deg); }
.shell-leader { left: 84%; top: 3%; }

.shell-leader::after { top: 100%; left: 5px; transform: rotate(32deg); }
.study-legend {
  position: absolute; top: clamp(19px,3.7vh,44px); inset-inline: var(--page-edge);
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
  font: 650 .76rem/1.4 var(--font); letter-spacing: .13em;
}
.study-legend span { display: inline-flex; align-items: center; gap: .65em; }
.study-legend span:first-child { color: #365b7f; }
.study-legend span:first-child::before { content: ''; width: 18px; height: 7px; border-block: 1px solid currentColor; transform: skewX(-22deg); }
.optic-detail {
  position: absolute; left: var(--page-edge); top: 13%; padding: 0; text-align: left; background: transparent;
  opacity: var(--labels,1); color: #24466b;
}
.optic-window {
  width: min(13vw,20svh,190px); aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%;
  border: 1px solid #8aa7bf; background: #f4f8fb;
}
.optic-window::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid #bbccda; }
.optic-window img { width: 82%; height: 82%; object-fit: contain; }
.optic-caption { display: inline-block; font-size: .78rem; background: #e6eff8; color: #214c78; padding: .12rem .45rem; margin-top: .25rem; }
.optic-detail:hover .optic-window { border-color: #3e6e9b; }
.material-chips { width: 31px; height: 9px; background: linear-gradient(90deg,#f0c340 0 32%,#fa7e22 32% 65%,#363a3b 65%); }
.study-divider {
  position: absolute; left: calc(var(--cut) * 1%); inset-block: 0; transform: translateX(-50%);
  width: 40px; padding: 0; background: transparent; cursor: ew-resize; touch-action: pan-y; user-select: none; z-index: 3;
}
.study-divider::before { content: ''; position: absolute; inset: 0 auto; left: 50%; border-left: 1px solid #8da6b888; }
.study-divider span {
  position: absolute; display: flex; justify-content: center; align-items: center; gap: 6px; left: 50%; top: 82%;
  transform: translate(-50%,-50%); width: 46px; height: 34px; border-radius: 50px;
  background: #fcfcf8; color: #335671; border: 1px solid #87a1b5; box-shadow: 0 2px 6px #263c540f;
}
.study-divider i { width: 6px; height: 6px; border-top: 1.5px solid; border-left: 1.5px solid; transform: rotate(-45deg); }
.study-divider i + i { transform: rotate(135deg); }
.study-divider:focus-visible { outline: none; }
.study-divider:focus-visible span { outline: 3px solid #ff8652; outline-offset: 3px; }
.study-divider:hover span, .study-divider:active span { color: #193f69; background: #e4eff8; border-color: #47729b; }

.image-viewport img { margin-inline: auto; }
.assembly-player { border-radius: 0; }
.assembly-play .play-circle { color: #202622; background: #f7f2df; border: 0; }
.assembly-play:hover .play-circle { background: #ffad76; }

@media (max-width: 840px) {
  :root { --masthead: 60px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-actions { margin-left: auto; }
}
@media (min-width: 761px) and (max-width: 1040px) {
  .origin-field { --figure-x: 52%; }
  .origin-spread .shot-copy { bottom: 6%; width: 32%; }
  .origin-spread .shot-copy h1 { font-size: clamp(30px,4.35vw,47px); }
  .assistant-story { width: 24.5%; right: 2.2%; }
  .assembly-selection { width: clamp(219px,25.8vw,244px); padding: .62rem .7rem; }
}
@media (min-width: 761px) and (max-height: 700px) {
  .origin-field { --figure-y: max(44%,calc(var(--figure-width) * .24 + 12px)); }
  .assistant-story { top: 50%; }
  .assembly-selection { top: 45px; }
  .selection-picks span { min-height: 26px; }
  .selection-label, .selection-target { margin-top: .35rem; }
  .origin-spread .shot-copy { bottom: 8.2%; }
  .origin-spread .shot-description { margin-top: .7rem; }
  .origin-spread .study-entry { margin-top: .45rem; }
}
@media (max-width: 1050px) and (min-height: 680px), (max-width: 760px) {
  .film-workspace { padding: 16px clamp(17px,5vw,54px); }
  .film-desk { grid-template-columns: 1fr; grid-template-areas: "heading" "stage" "chapters"; gap: clamp(10px,2.15vh,22px); justify-items: center; }
  .film-heading,.film-stage,.film-chapters { width: min(100%,calc((var(--shot-height) - var(--rail) - 204px) * 1.6)); }
  .film-heading { display: grid; grid-template-columns: 1fr minmax(150px,.65fr); column-gap: 24px; align-items: end; }
  .film-heading .scene-label { margin: 0 0 4px; font-size: .8rem; }
  .film-heading h2 { grid-column: 1; font-size: clamp(24px,3.3vw,42px); }
  .film-heading h2 br { display: none; }
  .film-heading > p:last-child { align-self: end; grid-area: 1/2/3/3; margin: 0; font-size: .84rem; line-height: 1.5; }
  .film-chapters { grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 0; gap: 4px; }
  .film-chapters button { grid-template-columns: 1fr auto; padding: .45rem; gap: 2px 5px; border-block: 1px solid #85968b57; font-size: .82rem; }
  .chapter-frame { width: clamp(40px,5vw,54px); grid-column: 2; grid-row: 1/3; }
  .film-chapters button > span { grid-column: 1; }
  .film-chapters time { grid-column: 1; font-size: .72rem; }
}
@media (max-width: 760px) {
  :root { --masthead: 55px; }
  .product-story { --rail: 48px; --page-edge: 19px; }
  .nav-inner.shell { width: calc(100% - 36px); }
  .origin-spread, .product-story:not(.is-paged) .origin-spread {
    height: calc(var(--shot-height) - var(--rail)); display: grid;
    grid-template: "intro" auto "scene" minmax(0,1fr) / minmax(0,1fr);
  }
  .is-paged .origin-spread { background: #152c51; }
  .is-paged .origin-spread .shot-copy { background: #faf8f1; }
  .origin-field {
    --controls-band: 55px; --reply-band: clamp(125px,18svh,166px);
    position: relative; grid-area: scene; inset: auto; min-height: 0; container-type: size;
    --figure-x: 49%; --figure-y: calc(50% + (var(--controls-band) - var(--reply-band)) / 2);
    --figure-width: min(156vw,calc((100cqh - var(--controls-band) - var(--reply-band)) * 2.04));
  }
  .origin-field .study-projection[data-scene="hip"] { width: min(96vw,calc((100cqh - var(--controls-band) - var(--reply-band)) * 1.08)); }
  .origin-field .study-divider { top: 4px; bottom: auto; width: 44px; height: 44px; }
  .origin-field .study-divider::before { display: none; }
  .origin-field .study-divider span { top: 50%; width: 32px; height: 22px; }
  .origin-field .study-legend { inset: 18px var(--page-edge) 6px; align-items: flex-start; }
  .origin-field .study-legend span:last-child { position: absolute; right: 0; bottom: 0; font-size: .61rem; font-weight: 500; letter-spacing: .04em; }
  .origin-field .material-chips { width: 20px; height: 6px; }
  .origin-spread .shot-copy { position: static; grid-area: intro; width: auto; padding: .82rem var(--page-edge) .72rem; display: grid; grid-template-columns: 1fr auto; column-gap: 4px; align-items: baseline; }
  .origin-spread .case-name { margin: 0 0 .28rem; grid-column: 1/-1; font-size: 1rem; color: #374879; }
  .origin-spread .shot-copy h1 { font-size: clamp(24px,6.5vw,34px); line-height: 1.15; }
  .origin-spread .shot-copy h1 br { display: none; }
  .origin-spread .shot-description { grid-column: 1/-1; width: 100%; max-width: 37em; font-size: .83rem; margin-top: .42rem; line-height: 1.48; }
  .study-entry { grid-area: 2/2; margin: 0; min-height: 27px; font-size: .7rem; gap: .13rem; color: #314680; }
  .study-entry .icon { width: 12px; height: 12px; }
  .study-entry:hover { color: #203777; background: transparent; text-decoration: underline; }
  .assembly-selection {
    position: relative; inset: auto; grid-area: scene; place-self: start end;
    max-width: 52%; width: auto; margin: 12px var(--page-edge) 0 0; padding: 5px;
    border-color: #a4bcd0; background: #f1f7fc; box-shadow: 0 3px 12px #04182b2e;
  }
  .assembly-selection::after, .assembly-selection::before, .selection-label, .selection-target, .selection-head > span { display: none; }
  .selection-head { padding: 0 0 4px; margin-bottom: 4px; }
  .selection-picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .selection-picks span { min-height: 28px; font-size: .72rem; }
  .assistant-story {
    position: relative; grid-area: scene; align-self: end; justify-self: end; inset: auto; transform: none;
    width: min(100%,465px); padding: 0 calc(var(--page-edge) + 2px) 29px var(--page-edge); background: transparent; pointer-events: none;
  }
  .assistant-story [data-choice] { display: none; }
  .origin-spread:has(#pick-panel:checked) .dialogue-case[data-choice="panel"],
  .origin-spread:has(#pick-board:checked) .dialogue-case[data-choice="board"],
  .origin-spread:has(#pick-eye:checked) .dialogue-case[data-choice="eye"],
  .origin-spread:has(#pick-leg:checked) .dialogue-case[data-choice="leg"] { display: grid; }
  .dialogue-case { gap: .43rem; }
  .dialogue-question, .dialogue-answer { box-shadow: 0 4px 14px #06182e26; pointer-events: auto; }
  .dialogue-question { max-width: 85%; padding: .39em .78em; font-size: .83rem; line-height: 1.42; }
  .dialogue-answer { max-width: 88%; padding: .51em .82em .56em 2.05em; font-size: .87rem; line-height: 1.52; }
  .dialogue-answer .answer-mark { left: .69em; top: .75em; width: .83em; }
  .part-records { grid-template-columns: 1fr; }
  .origin-tools { left: var(--page-edge); bottom: 6px; top: auto; font-size: .62rem; }
  .origin-tools .icon { width: 10px; height: 10px; }
  .part-track b { font-size: 10px; }
  .final-spread { display: flex; flex-direction: column; justify-content: flex-end; }
  .final-projection { left: 50%; top: calc((100% - 164px) / 2); width: min(94vw,calc((var(--shot-height) - var(--rail) - 166px) * .8)); }
  .final-projection::before { width: 157%; }
  .final-spread .shot-copy { width: 100%; padding: 5px var(--page-edge) 14px; margin: 0; }
  .final-spread .case-name { display: none; }
  .final-spread h2 { font-size: clamp(30px,8vw,45px); }
  .final-spread .shot-description { margin-top: .45rem; max-width: 26em; line-height: 1.5; font-size: .9rem; }
  .final-controls { margin-top: .5rem; }
  .final-status { font-size: .78rem; margin: 0 0 .2rem; }
  .final-controls button { min-width: 92px; height: 34px; }
  .final-scene figcaption { top: 12px; bottom: auto; font-size: .71rem; }
  .story-rail { gap: .45rem; }
  .shot-nav { gap: clamp(9px,3vw,17px); }
  .shot-nav button, .rail-link { font-size: .78rem; }
  .rail-link { gap: .24rem; }
  .rail-link span { font-size: 1rem; }
  .study-dialog { --figure-x: 50%; --figure-y: 56%; --figure-width: 101%; }
  .study-surface { height: min(55svh,440px); }
  .study-legend { top: 13px; font-size: .69rem; }
  .optic-detail { top: 12%; }
  .optic-window { width: 16vw; }
  .optic-caption { font-size: .64rem; }
  .part-leader { font-size: 10px; }
  .shell-leader { left: 76%; top: 1%; }
  .ring-leader { right: 82%; }
  .film-heading,.film-chapters { width: 100%; }
  .film-stage { width: min(100%,calc((var(--shot-height) - var(--rail) - 310px) * 1.6)); }
  .film-heading { display: block; }
  .film-heading .scene-label { margin-bottom: .55rem; }
  .film-heading h2 { font-size: clamp(25px,6.5vw,38px); }
  .film-heading > p:last-child { max-width: 32em; margin-top: .6rem; }
  .film-desk { gap: 1.05rem; }
  .film-chapters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .film-chapters button { grid-template-columns: auto 1fr; column-gap: .5rem; }
  .film-chapters .chapter-frame { grid-column: 1; width: 45px; }
  .film-chapters button > span,.film-chapters time { grid-column: 2; }
  .film-stage figcaption { font-size: .72rem; }
}
@media (max-width: 370px) {
  .origin-spread .shot-copy h1 { font-size: 23px; }
  .origin-spread .study-entry { font-size: .66rem; }
  .origin-tools { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 760px), (max-height: 550px) {
  .has-compact-picker { padding: 0; border-radius: 4px; }
  .has-compact-picker .selection-head, .has-compact-picker .selection-picks { display: none; }
  .has-compact-picker .compact-part { display: flex; align-items: center; color: #1d4164; }
  .compact-part .icon { position: absolute; left: 8px; width: 15px; height: 15px; pointer-events: none; }
  .compact-part::after { content: ''; position: absolute; right: 9px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); pointer-events: none; }
  .compact-part select {
    appearance: none; box-sizing: content-box; height: 34px; margin: -5px; padding: 0 24px 0 28px;
    color: inherit; background: transparent; border: 5px solid transparent; border-radius: inherit; font: 600 .83rem var(--font);
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  .product-story { --rail: 43px; }
  .origin-spread .shot-copy { padding-block: .55rem .5rem; }
  .origin-spread .case-name { margin-bottom: .17rem; }
  .origin-spread .shot-description { font-size: .79rem; margin-top: .3rem; }
  .assistant-story { padding-bottom: 23px; }
  .dialogue-question, .dialogue-answer { font-size: .81rem; }
  .final-spread .shot-copy { padding-bottom: 10px; }
  .final-spread .shot-description { font-size: .84rem; }
  .final-projection { top: calc((100% - 145px) / 2); width: min(91vw,calc((var(--shot-height) - var(--rail) - 148px) * .8)); }
  .film-workspace { padding-block: 11px; }
  .film-desk { gap: .55rem; }
  .film-heading > p:last-child { margin-top: .35rem; font-size: .81rem; }
  .film-stage { width: min(100%,calc((var(--shot-height) - var(--rail) - 245px) * 1.6)); }
}

@media (min-width: 761px) and (max-height: 550px) {
  .product-story { --rail: 44px; }
  .origin-spread .shot-copy { bottom: 8%; }
  .origin-spread .case-name, .final-spread .case-name { font-size: clamp(18px,2.15vw,29px); margin-bottom: .4rem; }
  .origin-spread .shot-copy h1, .final-spread .shot-copy h2 { font-size: clamp(27px,3.6vw,46px); }
  .shot-copy .shot-description { font-size: .89rem; line-height: 1.5; margin-top: .65rem; }
  .origin-spread .study-entry { min-height: 28px; margin-top: .25rem; }
  .assembly-selection.has-compact-picker { top: 47px; width: auto; }
  .assistant-story { width: clamp(180px,23vw,285px); }
  .dialogue-question, .dialogue-answer { font-size: clamp(.77rem,1.12vw,.92rem); line-height: 1.52; }
  .final-controls { margin-top: .75rem; }
  .final-status { margin-bottom: .32rem; }
  .film-workspace { padding-block: 12px; }
  .film-desk { grid-template-columns: minmax(215px,.83fr) minmax(0,1.6fr); gap: .65rem 1.45rem; }
  .film-heading h2 { font-size: clamp(26px,3.15vw,42px); }
  .film-heading > p:last-child { margin-top: .5rem; font-size: .82rem; line-height: 1.48; }
  .film-heading .scene-label { margin-bottom: .45rem; font-size: .82rem; }
  .film-stage { width: min(100%,calc((var(--shot-height) - var(--rail) - 49px) * 1.6)); }
  .film-stage figcaption { margin-top: .35rem; font-size: .74rem; }
  .film-chapters button { font-size: .78rem; gap: .38rem; }
}
