:root{color-scheme:dark;--blue:#234de8;--ink:#fff8dc;--muted:#ced7ff;--coral:#ff8a6c;--citrus:#edee83;--line:rgba(240,244,255,.35);font-family:Arial,Helvetica,sans-serif;background:var(--blue);color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,a,[role=slider]{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,[role=slider]:focus-visible{outline:3px solid var(--ink);outline-offset:5px}button[hidden]{display:none!important}button{touch-action:manipulation}::selection{background:var(--citrus);color:var(--blue)}
.masthead{height:83px;margin:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:2}.edition{font-size:10px;letter-spacing:.19em;display:flex;align-items:center;gap:13px}.woven-mark{font-family:Georgia,serif;font-size:35px;line-height:1;transform:rotate(-25deg);display:inline-block}.text-button{padding:0;min-height:44px;background:none;border:0;font-size:12px;letter-spacing:.025em;display:flex;align-items:center;gap:18px}.text-button span{font-size:23px}.workbench{position:relative;height:calc(100svh - 133px);min-height:745px;isolation:isolate;overflow:hidden}h1{position:absolute;top:30px;left:44px;margin:0;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;letter-spacing:-.075em;font-size:clamp(80px,7vw,108px);line-height:.84;z-index:2;pointer-events:none}.title-period{color:var(--coral)}
.chapters{position:absolute;top:29px;right:44px;display:flex;gap:30px;z-index:3}.chapters button{position:relative;padding:0 0 11px;min-height:57px;display:grid;grid-template-columns:auto auto;align-items:center;gap:0 12px;background:transparent;border:0;border-bottom:1px solid transparent;font-size:16px;white-space:nowrap}.chapters button>span{font-size:10px;letter-spacing:.1em;grid-column:1/-1;text-align:left;color:var(--muted);margin-bottom:8px}.chapters button[aria-pressed=true]{border-color:var(--ink)}.chapter-dot{display:block;width:9px;height:9px;border-radius:50%}.a-dot{background:var(--coral)}.b-dot{background:var(--citrus)}.pair-dot{background:linear-gradient(90deg,var(--coral) 50%,var(--citrus) 50%)}
.chapter-copy{position:absolute;left:48px;top:263px;max-width:281px;z-index:2}.eyebrow{font-size:10px;letter-spacing:.17em;margin:0 0 18px;color:var(--muted)}.chapter-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:400;line-height:1.08;letter-spacing:-.025em;margin:0 0 17px}.chapter-copy>p:not(.eyebrow):not(.target){font-size:14px;line-height:1.6;max-width:250px;margin:0}.target{font-size:12px;margin-top:17px;display:flex;align-items:center;gap:7px}.target strong{font-weight:500}.target>span{font-size:25px;margin-left:6px}#rope{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.anchor-note{position:absolute;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.09em;white-space:nowrap;pointer-events:none}.anchor-note>span{font-size:32px;font-weight:200}.fiber-label{position:absolute;z-index:1;font-size:22px;font-family:Georgia,serif;font-style:italic;pointer-events:none;white-space:nowrap;background:#193cbd;box-shadow:inset 0 0 0 1px rgba(255,248,220,.4);padding:3px 7px;border-radius:3px}.fiber-label span{font-family:Arial,sans-serif;font-style:normal;font-size:8px;letter-spacing:.13em;margin-left:6px}.fiber-label:first-letter{font-weight:bold}#fiber-label-a,#fiber-label-b{color:var(--ink)}
.dial-dock{position:absolute;z-index:3;width:250px;transform:translate(-50%,-50%);text-align:center}.dial-caption{font-size:10px;letter-spacing:.15em;margin:0 0 11px;display:inline-block;background:var(--blue);padding:4px 9px}.turn-controls{display:flex;align-items:center;justify-content:center;gap:17px}.step-button{flex-shrink:0;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--blue);font-size:29px;font-weight:300;line-height:1}.step-button:active{background:var(--ink);color:var(--blue)}.dial-wrap{position:relative}.turn-dial{width:112px;height:112px;border-radius:50%;position:relative;display:grid;place-items:center;touch-action:none;cursor:grab;user-select:none;background:var(--blue);box-shadow:0 0 0 6px var(--blue)}.turn-dial:active{cursor:grabbing}.turn-dial>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.dial-track{stroke:var(--ink);stroke-width:.8;fill:none}.dial-ticks{stroke:var(--ink);stroke-width:.6;opacity:.5}#dial-hand{stroke:var(--coral);fill:var(--coral);stroke-width:2}#turn-count{font-family:Georgia,'Times New Roman',serif;font-size:34px;font-style:italic;letter-spacing:-.035em;pointer-events:none;font-variant-numeric:tabular-nums;color:var(--ink);background:var(--blue);padding:0 3px}.direction{position:absolute;top:100%;font-size:9px;letter-spacing:.06em;margin-top:8px}.direction-s{left:2px}.direction-z{right:2px}#dial-help{font-size:10px;color:var(--muted);margin:29px 0 0;letter-spacing:.02em}
.principle{position:absolute;bottom:33px;left:48px;max-width:375px;z-index:2}.tiny-rule{display:block;height:1px;width:32px;background:var(--ink);margin-bottom:18px}.principle>p{font-family:Georgia,serif;font-style:italic;font-size:19px;line-height:1.3;margin:0 0 16px}.principle .model-note{font-family:Arial,sans-serif;font-style:normal;font-size:10px;line-height:1.7;color:var(--muted);margin:0;letter-spacing:.01em}.model-note strong{font-weight:400;color:var(--ink)}.result-panel{position:absolute;bottom:30px;right:48px;width:370px;z-index:3}.tally{display:flex;gap:18px;color:var(--ink);font-size:11px;letter-spacing:.08em;margin-bottom:15px}.tally>span{padding:3px 6px;background:#193cbd;box-shadow:inset 0 0 0 1px rgba(255,248,220,.3);border-radius:3px}.tally b{font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);font-size:16px;letter-spacing:0;margin-left:5px}.result-panel h2{font-family:Georgia,serif;font-style:italic;font-size:30px;font-weight:400;letter-spacing:-.03em;margin:0 0 8px}.result-panel>p{font-size:12px;line-height:1.5;margin:0;min-height:36px;max-width:345px}.result-buttons{display:flex;gap:12px;margin-top:17px;flex-wrap:wrap}.result-buttons button{min-height:46px;border-radius:0;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:17px;padding:0 16px}.result-buttons button span{font-size:21px;line-height:1}.primary-button{border:1px solid var(--ink);background:var(--ink);color:var(--blue);flex:1}.release-button{border:1px solid var(--line);background:var(--blue);flex:1}.split-button{border:0;border-bottom:1px solid var(--line);background:none;padding-left:0!important;padding-right:0!important;flex:1.65}.result-buttons button:active{transform:translateY(1px)}body[data-stage=pair] .release-button{background:var(--ink);color:var(--blue);border-color:var(--ink)}body[data-result=held] #result-title{color:var(--citrus)}body[data-result=loose] #result-title{color:var(--coral)}footer{min-height:50px;margin:0 44px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:8px;letter-spacing:.13em;color:var(--muted)}footer a{font-size:10px;letter-spacing:0;color:var(--ink);min-height:44px;display:flex;align-items:center;text-decoration:none}.footer-divider{margin:0 12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.chapter-copy{top:285px}.workbench{min-height:820px}.result-panel{width:410px}}
@media(max-width:1050px) and (min-width:701px){.masthead,footer{margin-left:28px;margin-right:28px}h1{left:28px;font-size:88px}.chapters{right:28px;gap:20px}.chapter-copy{left:28px;max-width:230px;top:260px}.chapter-copy h2{font-size:27px}.chapter-copy>p:not(.eyebrow):not(.target){max-width:210px}.principle{left:28px;max-width:300px}.principle>p{font-size:17px}.result-panel{right:28px;width:335px}}
@media(max-width:700px){.masthead{height:58px;margin:0 20px}.edition{font-size:8px;letter-spacing:.10em;gap:8px}.woven-mark{font-size:29px}.text-button{font-size:10px;gap:7px}.text-button span{font-size:20px}.workbench{height:calc(100svh - 103px);min-height:704px;overflow:hidden}h1{top:17px;left:20px;font-size:52px;letter-spacing:-.07em;line-height:1}h1 br{display:none}h1 br:after{content:' '}.chapters{top:81px;left:20px;right:20px;justify-content:space-between;gap:16px}.chapters button{font-size:13px;min-height:46px;gap:0 8px;padding-bottom:8px}.chapters button>span{font-size:8px;margin-bottom:5px}.chapter-dot{width:7px;height:7px}.chapter-copy{top:150px;left:20px;right:20px;max-width:none}.eyebrow{display:none}.chapter-copy h2{font-size:24px;margin:0 0 8px}.chapter-copy h2 br{display:none}.chapter-copy h2 br:after{content:' '}.chapter-copy>p:not(.eyebrow):not(.target){font-size:12px;line-height:1.5;max-width:345px}.target{font-size:10px;margin-top:7px;gap:5px}.target>span{font-size:20px;line-height:1}.dial-dock{width:234px}.turn-controls{gap:18px}.turn-dial{width:88px;height:88px}#turn-count{font-size:29px}.dial-caption{font-size:9px;line-height:12px;margin-bottom:4px;padding:2px 7px}#dial-help{font-size:9px;line-height:12px;margin-top:20px}.direction{margin-top:6px;font-size:8px}.anchor-note{font-size:8px;gap:4px}.anchor-note>span{font-size:25px}.fiber-label{font-size:17px}.fiber-label span{font-size:7px;margin-left:4px}.principle{display:none}.result-panel{bottom:10px;left:20px;right:20px;width:auto}.tally{margin-bottom:9px;gap:12px;font-size:10px}.tally b{font-size:14px}.result-panel h2{font-size:26px;margin-bottom:6px}.result-panel>p{font-size:11px;min-height:33px;line-height:1.45;max-width:360px}.result-buttons{margin-top:10px;gap:10px}.result-buttons button{min-height:44px;font-size:11px;padding:0 12px;gap:7px}.result-buttons button span{font-size:19px}footer{margin:0 20px;min-height:40px;font-size:7px;letter-spacing:.055em}footer a{font-size:9px;min-height:40px}.footer-divider{margin:0 5px}}
@media(max-width:360px){.masthead{margin:0 16px}.edition{font-size:7px}.workbench{min-height:646px}h1{left:16px;font-size:46px;top:16px}.chapters{left:16px;right:16px;top:71px;gap:12px}.chapters button{font-size:12px}.chapter-copy{top:133px;left:16px;right:16px}.chapter-copy h2{font-size:22px}.chapter-copy>p:not(.eyebrow):not(.target){font-size:11px}.result-panel{left:16px;right:16px;bottom:9px}.result-panel h2{font-size:24px}.result-panel>p{font-size:10px;min-height:29px}.tally{margin-bottom:8px}.result-buttons{margin-top:8px;gap:8px}.result-buttons button{font-size:10px}.dial-caption{font-size:8px}.turn-dial{width:76px;height:76px}#turn-count{font-size:26px}.dial-dock{width:222px}.turn-controls{gap:16px}#dial-help{margin-top:20px;font-size:8px}.fiber-label span{display:none}footer{margin:0 16px;font-size:6px}footer a{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:700px){footer{min-height:45px;box-sizing:border-box}footer a{min-height:44px}}
@media(max-width:360px){.workbench{min-height:637px}}
