A town simulation in pale isometric line art, implemented with Ritmo ECS and PixiJs 3D
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap");
:root{font-family:"DM Sans",sans-serif;color:#3d4943;background:#f0f2ec;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}a{color:inherit;text-underline-offset:4px}button{cursor:pointer;background:transparent;border:1px solid #bdc7b7;border-radius:4px;padding:10px 12px;font-size:12px}button:hover,button[aria-pressed=true]{background:#e1e7db;border-color:#7b8d70}button:focus-visible,a:focus-visible,input:focus-visible,.model-view:focus-visible{outline:2px solid #3d6db5;outline-offset:4px}#service-study{max-width:1180px;margin:auto;padding:28px 40px 36px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #cbd1c6;padding-bottom:20px}header a{text-decoration:none;font-weight:700;font-size:18px}header span,.eyebrow,.model-label{font:10px "DM Mono",monospace;letter-spacing:.1em;color:#748073}.intro{padding:32px 0 26px}.eyebrow{margin:0 0 14px;text-transform:uppercase}h1{font-size:44px;line-height:1.08;font-weight:500;letter-spacing:-.045em;margin:0 0 16px}.intro>p:last-child{font-size:14px;line-height:1.65;margin:0;color:#748073}.study-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #cbd1c6;border-bottom:1px solid #cbd1c6;padding:16px 0}.study-controls label{display:flex;align-items:center;gap:9px;font:11px "DM Mono",monospace;flex:1;min-width:180px}.study-controls input{min-width:60px;width:100%;accent-color:#5c7154}.study-controls output{min-width:34px;color:#748073}.family{margin-top:28px}.family-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.025em;font-weight:500;margin:0}.family-heading p{font-size:12px;color:#748073;margin:0}.model-pair{display:grid;grid-template-columns:1fr 1fr;border:1px solid #cbd1c6;border-radius:6px;overflow:hidden}.model-card{min-width:0;position:relative;background:#f5f6f0}.model-card+article{border-left:1px solid #cbd1c6}.model-label{display:flex;justify-content:space-between;padding:18px 20px 0}.model-label span:first-child{color:#3d4943}.model-view{height:315px;touch-action:none;cursor:grab}.model-view:active{cursor:grabbing}.model-view canvas{width:100%;height:100%;display:block}.model-caption{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:0 20px 20px;min-height:91px}h3{font-size:19px;font-weight:500;margin:0 0 7px}.model-caption p{font-size:12px;line-height:1.55;color:#748073;max-width:320px;margin:0}.model-caption button{white-space:nowrap;font:10px "DM Mono",monospace}footer{border-top:1px solid #cbd1c6;margin-top:28px;padding-top:16px;font-size:12px;color:#748073;line-height:1.7}footer p{margin:0 0 10px}footer div{display:flex;gap:24px}footer .note{font-size:11px;margin-top:12px}
@media(max-width:700px){#service-study{padding:20px}h1{font-size:36px}.family-heading{display:block}.family-heading p{margin-top:7px}.study-controls label{flex-basis:100%}.model-view{height:250px}.model-caption{padding:0 12px 16px;display:block}.model-caption button{margin-top:12px}.model-label{padding:16px 12px 0;font-size:9px}.model-caption p{font-size:11px}h3{font-size:17px}header span{font-size:9px}.intro{padding-top:26px}}
@media(max-width:440px){#service-study{padding:16px}.model-pair{grid-template-columns:1fr}.model-card+article{border-left:0;border-top:1px solid #cbd1c6}.model-view{height:290px}.model-caption{display:flex;min-height:88px}.model-caption button{margin:0}.model-caption p{font-size:12px}footer div{flex-direction:column;gap:8px}}