/* Additions to the canvas styles: things the canvas runtime did in JS, plus small fixes. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
img{max-width:100%;height:auto;} /* width/height attributes only reserve space */
footer img{align-self:flex-start;}
:focus-visible{outline:3px solid #f2b632;outline-offset:3px;}
[id]{scroll-margin-top:16px;}
button{font:inherit;}
.tap{display:inline-block;padding:10px 0;margin:-10px 0;}
button.buy{cursor:pointer;-webkit-appearance:none;appearance:none;border-radius:0;}
button.buy:hover{filter:brightness(1.15);}

/* 50-place map */
.dot{position:absolute;transform:translate(-50%,-50%);width:14px;height:14px;border-radius:50%;padding:0;border:2px solid #f4efe3;background:#0b1e3a;color:#0b1e3a;font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;line-height:1;z-index:1;box-shadow:0 1px 4px rgba(11,30,58,0.45);-webkit-appearance:none;appearance:none;touch-action:manipulation;}
.dot::after{content:"";position:absolute;inset:-9px;border-radius:50%;}
.dot:hover{background:#8a5f0a;}
.dot[aria-pressed="true"]{width:30px;height:30px;background:#c08a16;z-index:3;}
.dot[aria-pressed="true"]::after{inset:-6px;}
[data-step]{min-height:48px;}
[data-step]:hover{background:#0b1e3a !important;color:#f4efe3 !important;}
a[data-place]:hover span:last-child{text-decoration:underline;}

/* text pages */
.t-page{max-width:820px;margin:0 auto;padding:clamp(40px,6cqw,84px) clamp(16px,4cqw,40px);display:flex;flex-direction:column;gap:28px;min-height:60vh;}
.t-head{display:flex;flex-direction:column;gap:16px;}
.t-kicker{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:#8a5f0a;}
.t-h1{font-family:Archivo,sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:-0.02em;line-height:0.95;font-size:clamp(34px,5.4cqw,64px);color:#0b1e3a;margin:0;}
.t-rule{width:96px;height:5px;background:#c08a16;}
.t-body{display:flex;flex-direction:column;gap:18px;}
.t-h2{font-family:Archivo,sans-serif;font-weight:800;font-size:24px;line-height:1.2;color:#0b1e3a;margin:14px 0 0;}
.t-p{font-family:'EB Garamond',serif;font-size:21px;line-height:1.5;color:#23211d;margin:0;}
.t-p a{color:#0b1e3a;font-weight:500;}

/* phone-only fixes found in the 390 px screenshots */
@container (max-width:640px){
.m-stack{margin:0 22px 0 0;}
.dot{width:11px;height:11px;border-width:1.5px;}
}

/* payment dialog (Stripe embedded Checkout mounts in #pay-form) */
#pay{width:min(1040px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-top:6px solid #c08a16;background:#ffffff;color:#23211d;box-shadow:0 24px 70px rgba(11,30,58,0.45);overflow:auto;overscroll-behavior:contain;}
html:has(#pay[open]){overflow:hidden;}
#pay::backdrop{background:rgba(11,30,58,0.72);}
.pay-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px 12px 20px;background:#ffffff;border-bottom:1px solid #c9bfa8;}
#pay-title{font-family:Archivo,sans-serif;font-weight:800;font-size:17px;line-height:1.2;color:#0b1e3a;}
#pay-title span{display:block;font-family:'IBM Plex Mono',monospace;font-weight:400;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#5e5a52;margin-top:4px;}
#pay-close{font-family:Archivo,sans-serif;font-weight:700;font-size:15px;color:#0b1e3a;background:none;border:1px solid #0b1e3a;border-radius:999px;padding:10px 18px;min-height:44px;cursor:pointer;}
#pay-close:hover{background:#0b1e3a;color:#ffffff;}
#pay-status{font-family:'EB Garamond',serif;font-size:20px;color:#5e5a52;padding:48px 20px;text-align:center;}
#pay-form{padding:16px;}
#pay-form:empty{display:none;}
@media (max-width:640px){
#pay{width:100vw;height:100dvh;max-height:none;margin:0;border-top-width:4px;}
#pay-form{padding:8px;}
}
