*{box-sizing:border-box}body{margin:0;background:#f6f1e6;color:#213a35;font:16px/1.5 system-ui,sans-serif}main{max-width:1160px;margin:auto;padding:0 clamp(16px,4vw,54px) 28px}header{display:flex;align-items:center;gap:15px;border-bottom:1px solid #c0b6a4;height:65px}header>span{font:700 26px Georgia}.amp{color:#a2402b;font-style:italic}small,.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:760}.intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5%;padding:24px 0}.intro h1{font:clamp(40px,5.1vw,74px)/1 Georgia,serif;letter-spacing:-.05em;margin:12px 0}.intro h1 i{color:#a14630}.intro p:not(.eyebrow){max-width:40ch}.photo{border:0;display:block;position:relative;padding:0;background:#44301c;overflow:hidden;border-radius:5px;width:100%;height:clamp(155px,17vw,212px)}.photo img{width:100%;height:100%;object-fit:cover}.photo span{position:absolute;bottom:12px;left:14px;background:#f6ead4ef;color:#302d24;font:600 13px system-ui;padding:7px 14px;border-radius:20px}.photo:active img{transform:scale(1.02)}.work{border-top:2px solid #304e43;padding-top:14px}.heading,.controls,.controls label{display:flex;align-items:center;gap:10px}.heading{justify-content:space-between}.heading h2{font:32px Georgia;margin:0}label{font-size:13px;font-weight:650}select,button{font:inherit;color:inherit;cursor:pointer}select,.controls button{border:1px solid #b1a58f;border-radius:5px;background:#fffaf0;padding:8px 12px}#guide,#message{font-size:14px}.paper{padding:12px 8px;background:#ebdcb6;border:1px solid #c6b489;border-radius:4px;overflow:auto;box-shadow:inset 0 0 20px #886d3520}#grid{min-width:580px;display:grid;grid-template-columns:30px repeat(16,minmax(26px,1fr));grid-auto-rows:30px;align-items:stretch}.note,.tick{align-self:center;text-align:center;font-size:11px;font-weight:700}.cell{display:grid;place-items:center;border:0;border-right:1px solid #b7a98780;border-bottom:1px solid #b7a98780;background:transparent}.cell:nth-child(17n + 2),.cell:nth-child(17n + 6),.cell:nth-child(17n + 10),.cell:nth-child(17n + 14){border-left:1px solid #988358}.cell:after{content:'';border:1px solid #b6a681;width:6px;height:6px;border-radius:50%}.cell[aria-pressed=true]:after{width:13px;height:13px;background:#25413b;border:2px solid #716645;box-shadow:0 1px 0 #fff3d2}.cell.current,.tick.current{background:#d7985b70}.controls{margin-top:14px;flex-wrap:wrap}.controls label{margin-left:auto}.controls #play{background:#21493d;color:white;border-color:#21493d;min-width:110px}input{accent-color:#92472e;width:95px}output{min-width:60px}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b5471a;outline-offset:-2px}#message{color:#565d4d;min-height:1.5em}@media(max-width:660px){.intro{grid-template-columns:1fr}.photo{height:145px}.intro p{margin:8px 0 14px}.controls label{margin-left:0}.heading h2{font-size:26px}.paper{margin-right:-6px}.intro h1{font-size:46px}}
