@import url("/fonts/brand.css");

*{box-sizing:border-box}body{margin:0;background:#f7f7f7;color:#1a1c1c;font:450 16px/1.45 Inter,Arial,sans-serif}button,a{font:inherit;cursor:pointer;color:inherit}button{font-weight:600;background:none;border:0}button:focus-visible,a:focus-visible{outline:3px solid #ff7700;outline-offset:2px}[hidden]{display:none!important}.home{max-width:580px;margin:9vh auto;background:white;padding:32px}.tile{width:100%;display:flex;align-items:center;gap:18px;border-top:1px solid #e8e8e8;padding:15px 0;text-align:left}.tile img{width:96px;height:74px;object-fit:cover}.home h1,h2{font-family:Jost,Arial,sans-serif;font-weight:700}.reader{width:min(100%,480px);min-height:100svh;margin:auto;background:white;display:flex;flex-direction:column;box-shadow:0 0 60px rgba(0,0,0,.07)}.top{background:#1a1c1c;color:#fff;padding:12px 20px}.bars{display:flex;gap:4px}.bars i{flex:1;height:3px;background:#555555}.bars .seen{background:#ff7700}.meta,.nav,.links{display:flex;align-items:center;justify-content:space-between;gap:12px}.meta{margin-top:6px}.meta button{color:white;min-height:44px}.photo{background:#0d0e0e;position:relative;display:flex;align-items:center;justify-content:center;gap:3px;height:clamp(210px,42svh,370px);touch-action:pan-y}.photo img{object-fit:contain;min-width:0;flex:1;width:100%;height:100%}.copy{padding:24px clamp(20px,6vw,30px) 18px}.label{font-weight:600;font-size:14px;letter-spacing:.08em;text-transform:uppercase;border-left:3px solid #ff7700;padding-left:10px}.copy h2{font-size:clamp(29px,8vw,39px);line-height:1.08;margin:14px 0 10px}.copy p{margin:0;line-height:1.5}.links{margin:18px 0 12px;justify-content:flex-start}.links a{padding:10px 17px;border-radius:24px;text-decoration:none;font-weight:600;min-height:44px}.links a:first-child{background:#ff7700;color:#1a1c1c}.links a:nth-child(2){border:1px solid currentColor}.nav{border-top:1px solid #e8e8e8;margin-top:auto;padding:13px 20px max(13px,env(safe-area-inset-bottom))}.nav button:disabled{opacity:.35}.nav span{font-variant-numeric:tabular-nums}.home img.brand{width:112px}.home .tile strong{font:700 23px Jost,Arial,sans-serif}
.reader{touch-action:pan-y pinch-zoom}.photo img,.contents img{pointer-events:none}.contents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 24px 16px}.contents figure{margin:0}.contents img{width:100%;height:clamp(52px,8svh,86px);object-fit:contain;background:#f7f7f7;display:block}.contents figcaption{font-size:14px;line-height:1.2;margin-top:4px}.storyrail{display:flex;gap:4px}.storyrail button{min-height:44px;width:44px;padding:0}.storyrail button:after{display:block;content:"";height:4px;background:#d0d0d0;border-radius:4px}.storyrail button[aria-current=true]:after{background:#ff7700}.nav{padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom))}.hint{margin:0 24px 18px;color:#3d3d3d;font-size:14px}
.cover{background:#1a1c1c;color:#fff}
.cover .top{padding-bottom:2px}
.cover .photo{flex:1 0 auto;height:auto;min-height:0;background:#0d0e0e;display:grid;align-content:center}
.cover .photo img{display:block;width:100%;height:auto;max-height:40svh;object-fit:contain}
.cover .copy{padding:20px 22px 15px}
.cover .label{font-size:13px;letter-spacing:.12em;color:#fff}
.cover h2{margin:8px 0;font-size:clamp(32px,9vw,45px)}
.cover .copy p{color:#f7f7f7;line-height:1.42}
.cover .contents{gap:12px;padding:0 22px 12px}
.cover .contents img{height:clamp(65px,12svh,108px);object-fit:cover;background:#2f3131}
.cover .contents figcaption{font-size:15px;margin-top:5px}
.cover .hint{margin:0 22px 6px;color:#e8e8e8;font-size:13px}
.cover .nav{margin-top:0;border-color:#3d3d3d}
.nav .storyrail button{background:transparent;border-radius:0;padding:0}
@media(max-height:680px){.cover .copy{padding-top:12px}.cover .photo img{max-height:30svh}}

.meta a{color:white;text-decoration:none;min-height:44px;display:flex;align-items:center}
.storyrail{align-items:center}.storyrail a{color:inherit;padding:10px 4px;font-size:14px}.cover h1,.copy h1{font:700 clamp(30px,8.5vw,42px)/1.08 Jost,Arial,sans-serif;margin:10px 0}.home{margin:24px auto}.tile{text-decoration:none}.tile span{display:block;font-size:14px}.contents figure{min-width:0}

/* Story standard: progress fill, hidden accessible controls, touch behaviour */
.bars i{position:relative;overflow:hidden;border-radius:3px}.bars i b{position:absolute;inset:0 auto 0 0;width:0;background:#ff7700}.bars .seen{background:#ff7700}
.reader{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;will-change:transform}
.reader.paused .bars{opacity:.6}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sr-only:focus{position:fixed;width:auto;height:auto;clip:auto;margin:0;left:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:5;padding:10px 16px;border-radius:24px;background:#ffffff;color:#1a1c1c;font-weight:600;outline:3px solid #ff7700}
@media (prefers-reduced-motion:reduce){.reader{transition:none!important}}
