*{box-sizing:border-box}body{background:#f5f2ea;color:#30382f}header nav{display:flex;gap:25px;font-size:10px;letter-spacing:.12em}main{max-width:1320px;margin:auto;padding:0 5vw}.heading{display:flex;justify-content:space-between;align-items:end;padding:55px 0 38px}.heading h1{font:normal clamp(50px,6vw,88px)/1 Georgia,serif;letter-spacing:-.06em;margin:18px 0 0}.heading p{font:15px/1.8 Georgia,serif;color:#76786b}.tabs{display:flex;overflow-x:auto;border-bottom:1px solid #cbcbbf;gap:25px}.tabs button{flex:1;min-width:145px;background:none;border:0;border-bottom:2px solid transparent;color:#8b8c7f;padding:18px 0;text-align:left;font:10px monospace;cursor:pointer}.tabs button span{font:14px Georgia,serif;margin-left:14px}.tabs button[aria-selected=true]{color:#3e503d;border-bottom-color:#3e503d}#panel{display:grid;grid-template-columns:1.65fr 1fr;gap:50px;padding-top:28px;outline:none}.stage{position:relative;min-height:530px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 48% 49%,#fffcf4 0%,#eeeade 80%);border-radius:2px}.plate-number{position:absolute;top:24px;left:25px;font:9px monospace;letter-spacing:.18em;color:#969481}.stage-note{position:absolute;bottom:23px;text-align:center;font:7px monospace;letter-spacing:.18em;color:#969481}#drawing{width:100%;padding:15px}#drawing svg{display:block;width:100%;height:auto;max-height:490px}aside{padding:25px 0 20px}aside h2{font:normal 34px/1.15 Georgia,serif;letter-spacing:-.04em;margin:18px 0}aside p{font-size:13px;line-height:1.85;color:#747568}.witness{display:flex;gap:20px;align-items:center;margin:24px 0}.witness img{height:145px;width:85px;object-fit:contain;mix-blend-mode:multiply}.witness h3{font:normal 20px Georgia,serif;margin:10px 0}.witness p{font-size:11px;margin:0;max-width:180px}.witness .eyebrow{font-size:7px}.actions{border-top:1px solid #d2d0c4}.actions button{border:0;border-bottom:1px solid #d2d0c4;background:none;display:flex;justify-content:space-between;width:100%;padding:15px 0;text-align:left;font:12px Georgia,serif;color:#46543f;cursor:pointer}.actions span{font:18px Georgia;color:#9b885e}.actions button:hover{color:#9b7844}button:focus-visible,a:focus-visible{outline:2px solid #8b7646;outline-offset:5px}#explanation{padding:12px 15px;border-left:2px solid #af9867;background:#eae6db;font-size:12px}.story-link{display:inline-block;margin-top:22px;font-size:9px;letter-spacing:.08em}.footnote{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d5d2c5;margin-top:38px;padding:20px 0 30px;color:#979487;font:8px/1.8 monospace}.footnote span{letter-spacing:.12em}.route{fill:none;stroke:#ae793c;stroke-width:3;stroke-dasharray:5 19;opacity:0;stroke-linecap:round}.tracing .route{opacity:1;animation:flow 2s linear infinite}.revealed .clue{opacity:1}.clue{opacity:0;transition:opacity .4s;fill:none;stroke:#b06a42;stroke-width:2;stroke-dasharray:4 4}.pencil{stroke:#e8ddc1;stroke-width:1;fill:none}.pause .route{animation-play-state:paused}@keyframes flow{to{stroke-dashoffset:-96}}@media(prefers-reduced-motion:reduce){.tracing .route{animation:none;stroke-dasharray:5 12}}@media(max-width:760px){main{padding:0 22px}.heading{padding:32px 0 25px}.heading p{display:none}.tabs{gap:12px}.tabs button{font-size:8px}.tabs button span{display:block;margin:8px 0 0;line-height:1.5;font-size:12px}#panel{grid-template-columns:1fr;gap:0}.stage{min-height:360px}#drawing svg{max-height:370px}aside{padding-top:28px}.witness{margin:15px 0}.witness img{height:110px}.footnote{gap:20px}.footnote span{max-width:100px}header nav a:first-child{display:none}}

/* The full object is the focus, not a cropped illustration beside a portrait. */
#panel{display:block}.stage{min-height:0;height:auto;padding:35px 0 40px;overflow:visible}#drawing{width:100%;max-width:840px;margin:auto;padding:20px}#drawing svg{width:100%;height:auto;max-height:none;overflow:visible}#drawing video{display:block;width:100%;max-width:660px;aspect-ratio:1;object-fit:contain;margin:auto;background:#1a120f}.witness[hidden],[hidden]{display:none!important}aside{max-width:840px;margin:auto;padding:28px 0}aside h2{margin:12px 0}aside p{max-width:680px}.actions{display:flex;gap:25px;flex-wrap:wrap}.actions button{flex:1;min-width:180px}.stage-note{bottom:15px}.plate-number{top:15px}.footnote{margin-top:15px}@media(max-width:760px){#drawing{padding:10px}.stage{padding:28px 0 35px}#drawing svg{max-height:none}.actions{gap:5px}.actions button{min-width:140px}.heading h1{font-size:52px}}
.stage{height:min(68svh,650px);min-height:280px;padding:30px 0}#drawing{height:100%;max-width:760px;padding:12px}#drawing svg{width:100%;height:100%;max-height:100%;overflow:visible}#drawing video{height:100%;width:100%;max-width:none;object-fit:contain}.actions button{width:auto}@media(max-width:760px){.stage{height:min(62svh,470px);min-height:260px}#drawing{padding:6px}}
.heading{padding:24px 0 20px}.heading h1{font-size:clamp(42px,5vw,65px);margin-top:10px}.stage{height:min(52svh,560px)}@media(max-width:760px){.heading{padding:18px 0}.heading h1{font-size:42px}.stage{height:min(50svh,440px)}}

.expand{position:absolute;right:20px;top:15px;z-index:5;border:1px solid #b7ad92;background:#f4f0e5;color:#3e4938;padding:8px 12px;font:10px monospace;cursor:pointer}.focused header,.focused .heading,.focused .tabs,.focused aside,.focused .footnote{display:none}.focused main{max-width:none;padding:0}.focused #panel{padding:0}.focused .stage{height:100svh;min-height:0;margin:0;border-radius:0;padding:45px 0 25px}.focused #drawing{max-width:none;width:100%;height:100%;padding:8px}.focused .expand{position:fixed;top:15px;right:15px}.focused .stage-note{bottom:10px}

#penrose-canvas{display:block;width:100%;height:100%}.stage.kinetic{background:#171411}.kinetic .plate-number,.kinetic .stage-note{color:#b4ab95}.kinetic .expand{background:#242019;color:#d6ccb7;border-color:#706856}.kinetic #drawing{max-width:none;padding:0}.focused .kinetic #drawing{padding:0}
/* The page remains a single clean cream field, including the kinetic study. */
.stage,.stage.kinetic{background:#f5f2ea}.kinetic .plate-number,.kinetic .stage-note{color:#969481}.kinetic .expand{background:#f5f2ea;color:#3e4938;border-color:#b7ad92}.tabs{gap:20px}.tabs button{min-width:145px}.sources{font:11px/1.8 Georgia,serif;color:#79796c;margin:18px 0 35px}.sources summary{cursor:pointer}.sources a{text-decoration:underline}.concept{font:italic 15px/1.8 Georgia,serif;color:#835248;max-width:680px}.particle{fill:#221b1c;stroke:#f5f2ea;stroke-width:.7}.motion-label{font:9px monospace;letter-spacing:.12em;color:#955046;margin-top:15px}
#mobius-canvas{display:block;width:100%;height:100%}
@media(min-width:1000px){.tabs{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:14px}.tabs button{min-width:0}.tabs button span{display:block;margin:8px 0 0;font-size:13px}}

#ring-canvas{display:block;width:100%;height:100%}

/* Explicit model picker: every study is visible, never hidden offscreen. */
.gallery-hint{font:10px monospace;letter-spacing:.1em;margin:10px 0 12px}.gallery-hint span{font:13px Georgia,serif;letter-spacing:0;margin-left:14px;color:#77786c}.tabs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;border:0;margin-bottom:16px}.tabs button{min-width:0!important;border:1px solid #d7d4c8!important;padding:12px 9px!important;text-align:left;background:transparent;cursor:pointer;min-height:65px}.tabs button span{display:block!important;font:13px Georgia,serif!important;margin-top:7px!important}.tabs button[aria-selected=true]{background:#e9e8dc;border-color:#64704e!important;box-shadow:inset 0 -2px #64704e}.tabs button:hover{background:#edece3}.figure-nav{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d7d4c8;padding:14px 0;margin-bottom:22px}.figure-nav button{font:12px Georgia,serif;border:1px solid #b9bdac;background:transparent;padding:9px 14px;color:#45503f;cursor:pointer}.figure-nav span{font:10px monospace;color:#7b7e70}.focused .figure-nav,.focused .gallery-hint{display:none}#rhombus-canvas,#castle-canvas{display:block;width:100%;height:100%}@media(max-width:760px){.tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.gallery-hint span{display:block;margin:8px 0}.tabs button span{font-size:12px!important}.figure-nav button{padding:8px;font-size:11px}}

.model-preview{display:block;width:100%;height:100%;object-fit:contain}.render-notice{position:absolute;bottom:25px;left:0;right:0;text-align:center;font:10px/1.5 Georgia,serif;color:#7a7c6a;padding:0 25px}.stage.model3d{height:min(70svh,760px)}

.focused .tabs{display:none!important}
