:root{--bg:#fdf6e3;--card:#fffdf6;--ink:#1f1d1a;--soft:#6e675c;--red:#e4572e;--red-dk:#b93a17;--teal:#17bebb;--teal-dk:#0b6664;--rule:#ddd2b8;--r:8px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,sans-serif;font-size:17px;line-height:1.6}
h1{font-family:"Press Start 2P",ui-monospace,monospace;font-weight:400;font-size:36px;line-height:1.35;margin:0 0 24px}
h2{font-size:28px;font-weight:700;line-height:1.2;margin:0 0 16px}
h3{font-size:18px;font-weight:700;line-height:1.2;margin:32px 0 12px}
p{margin:0 0 16px}
a{color:var(--teal-dk)}
img{display:block;width:100%;height:auto}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.shell{width:100%;max-width:1120px;margin:0 auto;padding-left:24px;padding-right:24px}
.narrow{max-width:800px}
.measure{max-width:70ch}
.fine{font-size:14px;color:var(--soft);max-width:70ch}
.jump{position:absolute;left:-9999px}
.jump:focus{left:8px;top:8px;padding:8px 12px;background:var(--card);z-index:5}
.mast{background:var(--card)}
.mast-row{display:flex;justify-content:space-between;align-items:center;min-height:64px;gap:16px}
.mast-name{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap}
.mast-name img{width:32px;height:32px;border-radius:4px}
.mast-nav{display:flex;gap:16px}
.mast-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap}
.mast-nav a:hover{color:var(--red-dk);text-decoration:underline}
.bars{display:grid;grid-template-columns:4fr 2fr 1fr 1fr;height:8px}
.bars i:nth-child(1){background:var(--ink)}.bars i:nth-child(2){background:var(--red)}.bars i:nth-child(3){background:var(--teal)}.bars i:nth-child(4){background:var(--rule)}
.open{padding:48px 0}
.open-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:start}
.lead{font-size:18px;max-width:60ch}
.facts{list-style:none;margin:24px 0 0;padding:0;border-top:2px solid var(--ink)}
.facts li{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--rule)}
.facts span{color:var(--soft)}
.facts strong{text-align:right}

.tape{background:var(--ink);color:var(--bg);border-radius:var(--r);padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.tape h2{font-size:22px}
.tape-label{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card);color:var(--ink);border-left:8px solid var(--red);border-radius:4px;padding:12px 16px}
.tape-label code{font:700 28px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}
.tape button{min-height:44px;padding:8px 16px;border:0;border-radius:var(--r);background:var(--red-dk);color:#fff;font:600 16px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.tape button:hover{background:#962d10}
.tape-reward{margin:16px 0 8px;font-weight:600}
.tape ol{margin:0 0 16px;padding-left:24px}
.tape .fine,.dark .fine{color:#cfc6b4}
.tape .fine{margin:0}
.block{padding-top:56px;padding-bottom:56px}
.tint{background:var(--card);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.ladder{list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end;margin:32px 0;padding:0 0 12px;border-bottom:2px solid var(--ink)}
.ladder li{display:flex;flex-direction:column;gap:8px;text-align:center;font-size:14px}
.ladder b{font-size:18px}
.ladder .col{display:block;background:var(--red);border-radius:4px 4px 0 0}
.s1 .col{height:24px}.s2 .col{height:48px}.s3 .col{height:72px}.s4 .col{height:96px}.s5 .col{height:120px}.s6 .col{height:144px}.s7 .col{height:168px;background:var(--teal)}
.steps{list-style:none;counter-reset:n;margin:24px 0;padding:0;max-width:800px}
.steps li{counter-increment:n;position:relative;padding:0 0 24px 64px}
.steps li::before{content:counter(n);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--ink);color:var(--bg);font-weight:700;line-height:40px;text-align:center}
.steps li:not(:last-child)::after{content:"";position:absolute;left:19px;top:40px;bottom:0;border-left:2px dashed var(--soft)}
.steps h3{margin:0 0 4px;line-height:40px}
.steps p{margin:0}
.film{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;align-items:center}
.flip{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
figure{margin:0}
figure img{border-radius:var(--r)}
figcaption{font-size:14px;color:var(--soft);margin-top:8px}
.ticks{margin:0;padding-left:20px}
.ticks li{margin-bottom:8px}
.keys,.odds{display:flex;flex-wrap:wrap;gap:12px 24px}
kbd{display:inline-block;min-width:28px;padding:0 8px;border:1px solid var(--soft);border-bottom-width:3px;border-radius:4px;background:var(--card);font:600 14px/24px ui-monospace,Menlo,monospace;text-align:center}
table{width:100%;border-collapse:collapse;font-size:16px}
th,td{padding:12px 12px 12px 0;text-align:left;vertical-align:top;border-bottom:1px solid var(--rule)}
thead th{font-size:14px;color:var(--soft);border-bottom:2px solid currentColor}
.dark{background:var(--ink);color:var(--bg)}
.dark th,.dark td{border-color:#4a453d}
.dark thead th{color:var(--teal)}
.tally{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px;margin:16px 0}
.tally div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #4a453d}
.tally dd{margin:0;font-weight:700;color:var(--teal)}
.pair{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:48px;margin-bottom:24px}
.pair h3{margin-top:16px}
.staff{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.staff li{display:grid;grid-template-columns:1fr 1fr 2fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--rule)}
.staff em{font-style:normal;color:var(--soft)}
.odds span{border-bottom:3px solid var(--teal)}
.price{columns:2;column-gap:48px;margin:24px 0}
.price p{display:flex;justify-content:space-between;gap:16px;margin:0;padding:8px 0;border-bottom:1px dashed var(--soft);break-inside:avoid}
details{border-bottom:1px solid var(--rule)}
summary{padding:16px 0;font-weight:600;cursor:pointer}
details p{padding-bottom:8px;max-width:70ch}
.sheet{max-width:780px;padding-top:32px;padding-bottom:64px}
.crumb{font-size:14px;color:var(--soft);margin-bottom:24px}
.plain-title{font-size:28px}
.copybody h2{font-size:22px;margin-top:32px}
.copybody{overflow-wrap:anywhere}
.signoff{background:var(--ink);color:#cfc6b4;padding:32px 0;font-size:14px}
.signoff p{max-width:70ch}
.signoff strong{color:var(--bg)}
.signoff ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;align-items:center}
.signoff a{display:inline-flex;align-items:center;min-height:44px;color:var(--bg)}
@media (max-width:860px){.open-grid,.film,.flip,.pair{grid-template-columns:minmax(0,1fr);gap:32px}.tally{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
.shell{padding-left:16px;padding-right:16px}
h1,.plain-title{font-size:28px}h2{font-size:22px}
.wide-only{display:none!important}
.mast-nav{gap:12px}
.open{padding:32px 0}.block{padding-top:48px;padding-bottom:48px}
.tape{padding:16px}
.open-grid{display:flex;flex-direction:column;align-items:stretch;gap:0}.open-copy{display:contents}.open-grid h1{order:1}.open-grid .lead{order:2}.open-grid .tape{order:3}.open-grid .facts{order:4}
.scroll td[data-l]::before{content:attr(data-l);color:var(--teal)}
.ladder{grid-template-columns:minmax(0,1fr);gap:8px;padding:0 0 16px}
.ladder li{display:grid;grid-template-columns:72px minmax(0,1fr) 48px;align-items:center;text-align:left}
.ladder b{font-size:16px}
.ladder .col{height:20px!important;border-radius:0 4px 4px 0}
.s1 .col{width:14%}.s2 .col{width:28%}.s3 .col{width:42%}.s4 .col{width:57%}.s5 .col{width:71%}.s6 .col{width:86%}.s7 .col{width:100%}
.scroll table,.scroll tbody,.scroll tr,.scroll th,.scroll td{display:block;border:0;padding:0}
.scroll thead{display:none}
.scroll tr{padding:16px 0;border-bottom:1px solid #4a453d}
.tally,.price{grid-template-columns:minmax(0,1fr);columns:1}
.staff li{grid-template-columns:minmax(0,1fr);gap:4px}
.steps li{padding-left:56px}
}
@media (max-width:360px){.mast-row{gap:8px}.mast-name{font-size:14px;gap:6px}.mast-name img{width:24px;height:24px}.mast-nav{gap:8px}.mast-nav a{font-size:14px}h1{font-size:22px}.tape-label{flex-wrap:wrap}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
