/* Britain's missing number 13. Identity: a street of front doors at dusk; gilt numerals on lit fanlights.
   The street is always drawn at dusk; the page has paper by day and night by night. Colours live in tokens. */
@font-face{font-family:"Fraunces";font-weight:100 900;font-style:normal;font-display:swap;src:url("fonts/fraunces-normal-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fraunces";font-weight:100 900;font-style:normal;font-display:swap;src:url("fonts/fraunces-normal-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-weight:200 900;font-style:normal;font-display:swap;src:url("fonts/SourceSerif4-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-weight:200 900;font-style:normal;font-display:swap;src:url("fonts/SourceSerif4-400-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-weight:100 700;font-style:normal;font-display:swap;src:url("fonts/IBMPlexSans-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-weight:100 700;font-style:normal;font-display:swap;src:url("fonts/IBMPlexSans-400-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --bg:#f4efe4;--surface:#fbf8f1;--ink:#16181d;--ink-soft:#3d424c;--line:#d3c9b4;--line-soft:#e4dccb;
  --accent:#8c1d18;--gold:#a8741a;--gold-ink:#5c3d06;--hi:#b3261e;--hi-soft:rgba(179,38,30,.16);
  --bar-c:#6d7584;--bar-soft:rgba(109,117,132,.22);--dot-has:#3f5a7a;--dot-miss:#c0392b;--map-bg:#f4efe4;
  --pill:#ffd58a;--pill-ink:#1a1206;
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;--sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--head:"Fraunces",Georgia,"Times New Roman",serif;
  --bar:44px;color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){
  --bg:#0c1320;--surface:#131c2c;--ink:#eef0f4;--ink-soft:#bcc3cf;--line:#28344a;--line-soft:#1b2537;
  --accent:#ffc46b;--gold:#ffcf7a;--gold-ink:#ffdf9e;--hi:#ff8a6b;--hi-soft:rgba(255,138,107,.2);
  --bar-c:#8d98ab;--bar-soft:rgba(141,152,171,.25);--dot-has:#9fc3ff;--dot-miss:#ffb454;--map-bg:#0c1320;
  --pill:#ffd58a;--pill-ink:#1a1206;color-scheme:dark}}
:root[data-theme=dark]{
  --bg:#0c1320;--surface:#131c2c;--ink:#eef0f4;--ink-soft:#bcc3cf;--line:#28344a;--line-soft:#1b2537;
  --accent:#ffc46b;--gold:#ffcf7a;--gold-ink:#ffdf9e;--hi:#ff8a6b;--hi-soft:rgba(255,138,107,.2);
  --bar-c:#8d98ab;--bar-soft:rgba(141,152,171,.25);--dot-has:#9fc3ff;--dot-miss:#ffb454;--map-bg:#0c1320;
  --pill:#ffd58a;--pill-ink:#1a1206;color-scheme:dark}

*{box-sizing:border-box}
[hidden]{display:none!important}
svg[hidden]{display:none}
html{scroll-padding-top:calc(var(--bar) + 12px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:1.0625rem;line-height:1.6}
a{color:inherit;text-decoration-color:var(--accent);text-underline-offset:.16em;text-decoration-thickness:.09em}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--bg);padding:.5rem .8rem;z-index:50}
.skip:focus{left:8px;top:8px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* topbar: slim, takes the dusk colour over the street */
.topbar{position:sticky;top:0;z-index:30;height:var(--bar);display:flex;align-items:center;gap:.9rem;padding:0 .9rem;background:var(--bg);border-bottom:1px solid var(--line);font-family:var(--sans);font-size:.84rem;transition:background .3s,color .3s,border-color .3s}
.topbar.dusk{background:#0b1626;color:#eef0f4;border-color:#1c2d48}
.topbar.dusk .topnav{visibility:hidden}
.topbar .home{display:flex;align-items:center;gap:.45rem;font-weight:600;text-decoration:none;white-space:nowrap}
.topnav{display:flex;gap:1rem;overflow-x:auto;scrollbar-width:none;white-space:nowrap;min-width:0}
.topnav::-webkit-scrollbar{display:none}
.topnav a{text-decoration:none;color:inherit;opacity:.78}
.topnav a:hover{opacity:1}
.spacer{flex:1}
.lang-switch{font-weight:600;text-decoration:none;border:1px solid currentColor;border-radius:999px;padding:.12rem .55rem;white-space:nowrap;opacity:.85}
.icon-btn{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;flex:none;opacity:.85}
.progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none}
.progress span{display:block;height:100%;background:var(--gold);transform-origin:0 50%;transform:scaleX(0)}

/* hero: the street */
.hero{background:#0b1626;color:#eef0f4;padding:0 0 1.4rem;position:relative}
.hero-text{max-width:46rem;margin:0 auto;padding:2.2rem 1rem .6rem}
.kicker{font-family:var(--sans);font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;color:#ffcf7a;margin:0 0 .5rem}
h1{text-wrap:balance;font-family:var(--head);font-weight:600;font-size:clamp(2.1rem,6.2vw,3.7rem);line-height:1.04;margin:0 0 .8rem;letter-spacing:-.01em;font-variation-settings:"SOFT" 50,"opsz" 96}
.deck{font-size:clamp(1.08rem,2.3vw,1.28rem);line-height:1.5;color:#dfe3ea;margin:0 0 .4rem}
.deck b{color:#ffd58a;font-weight:600}
.shared{font-family:var(--head);font-size:1.3rem;line-height:1.3;color:#fff;border-left:3px solid #ffd58a;padding:.1rem 0 .1rem .7rem;margin:0 0 .8rem}
.shared b{color:#ffd58a}
.street-wrap{position:relative;margin:.8rem 0 0}
.street{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.street::-webkit-scrollbar{display:none}
.street svg{display:block;height:clamp(300px,34vw,440px);width:auto;max-width:none}
.street .gilt{font-family:var(--head);font-weight:650;fill:#4a2c06;paint-order:stroke;stroke:#ffe9b8;stroke-width:.6px}
.street .chrome{font-family:var(--sans);font-weight:600;fill:#e4e6ea}
.street .ghost{font-family:var(--head);font-weight:600}
.street .gaplabel{font-family:var(--sans);font-weight:700;font-size:16px;fill:#1a1206}
.street-cap{max-width:46rem;margin:.5rem auto 0;padding:0 1rem;font-family:var(--sans);font-size:.86rem;color:#bcc3cf}
.find{max-width:46rem;margin:.4rem auto 1.2rem;padding:0 1rem}
.find label{display:block;font-family:var(--sans);font-size:.9rem;font-weight:600;margin:0 0 .35rem;color:#eef0f4}
.find-row{display:flex;gap:.5rem;flex-wrap:wrap}
.find input{flex:1 1 12rem;min-width:0;font:600 1.1rem var(--sans);letter-spacing:.04em;text-transform:uppercase;padding:.7rem .85rem;border-radius:10px;border:1px solid #3a4a66;background:#131f33;color:#fff}
.find input::placeholder{color:#8e9ab0;text-transform:none;letter-spacing:0;font-weight:400}
.btn{font:600 .92rem var(--sans);padding:.62rem 1rem;border-radius:10px;border:1px solid var(--line);background:transparent;color:inherit;cursor:pointer;min-height:44px}
.find .go{background:#ffd58a;color:#1a1206;border-color:#ffd58a}
.find .clear{border-color:#3a4a66;color:#eef0f4}
.egs{font-family:var(--sans);font-size:.85rem;color:#bcc3cf;margin:.6rem 0 0}
.egs button{font:inherit;color:#ffd58a;background:none;border:0;border-bottom:1px dotted #ffd58a;padding:0 .1rem;margin:0 .25rem;cursor:pointer}
.pick{max-width:46rem;margin:.6rem auto 0;padding:0 1rem;display:flex;flex-wrap:wrap;gap:.4rem}
.pick button{font:500 .88rem var(--sans);padding:.42rem .7rem;border-radius:999px;border:1px solid #3a4a66;background:#131f33;color:#eef0f4;cursor:pointer;min-height:40px}
.pick button[aria-current=true]{background:#ffd58a;color:#1a1206;border-color:#ffd58a}
.result{max-width:46rem;margin:.9rem auto 0;padding:0 1rem}
#result{margin-top:.4rem;padding-bottom:.6rem;border-bottom:1px solid #22324d}
.result p{margin:.2rem 0;font-size:1.1rem;color:#eef0f4}
.result .big{font-family:var(--head);font-size:1.5rem;line-height:1.25;color:#fff}
.result .big b{color:#ffd58a}
.result .meta{font-family:var(--sans);font-size:.86rem;color:#bcc3cf}
#msg{max-width:46rem;margin:.5rem auto 0;padding:0 1rem;font-family:var(--sans);font-size:.9rem;color:#ffb4a0;min-height:1px}
.share-row{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:.7rem 0 0;font-family:var(--sans);font-size:.85rem}
.share-row>span:first-child{opacity:.75;margin-right:.2rem}
.share-row a,.share-row button{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;opacity:.85}
.share-row a:hover,.share-row button:hover{opacity:1;color:var(--gold)}
@media (pointer:coarse){.share-row a,.share-row button{width:44px;height:44px}}
.hero .share-row{color:#eef0f4}

/* sections */
.s{padding:3.2rem 1rem 1rem}
.wrap{max-width:42rem;margin:0 auto}
.wide{max-width:64rem;margin:0 auto}
.wide>h2,.wide>p,.wide>h3,.wide>.lede,.wide>.big-num,.fig.narrow{max-width:42rem;margin-left:auto;margin-right:auto}
h2{text-wrap:balance;font-family:var(--head);font-weight:600;font-size:clamp(1.55rem,3.6vw,2.2rem);line-height:1.12;margin:0 0 .8rem}
h2 a{text-decoration:none}
h3{font-family:var(--head);font-weight:600;font-size:1.2rem;margin:1.6rem 0 .4rem}
.lede{font-size:1.15rem;color:var(--ink)}
p{margin:0 0 1rem}
.big-num{font-family:var(--head);font-size:clamp(3rem,10vw,5.5rem);line-height:1;color:var(--hi);margin:0 0 .3rem;font-weight:600}
.fig{margin:1.4rem auto 1.6rem;max-width:64rem}
.fig figcaption{font-family:var(--sans);font-size:.86rem;color:var(--ink-soft);max-width:42rem;margin:.5rem auto 0}
.chart{display:block;width:100%;height:auto;font-family:var(--sans)}
.chart text{fill:var(--ink-soft);font-size:12px}
.chart .lab{fill:var(--ink);font-size:12px;font-weight:600}
.chart .hi{fill:var(--hi)}
.chart .bar{fill:var(--bar-c)}
.chart .ax{stroke:var(--line);stroke-width:1}
.chart .ci{stroke:var(--ink-soft);stroke-width:1.2}
.chart .line13{fill:none;stroke:var(--hi);stroke-width:2.4}
.chart .linec{fill:none;stroke:var(--bar-c);stroke-width:2;stroke-dasharray:5 4}
.chart .band{fill:var(--bar-soft)}
.chart .zero{stroke:var(--ink-soft);stroke-width:1;stroke-dasharray:3 3}
.note{font-family:var(--sans);font-size:.88rem;color:var(--ink-soft)}
.claims{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.6rem}
.claims li{border-left:3px solid var(--line);padding:.2rem 0 .2rem .8rem;font-size:.98rem}
.claims li b{font-family:var(--sans);font-size:.82rem;display:block;color:var(--ink-soft);font-weight:600}
.verdict{border:1px solid var(--line);border-radius:12px;padding:1rem 1.1rem;background:var(--surface);margin:1.2rem 0}

/* map */
.map-box{position:relative;max-width:46rem;margin:1rem auto;aspect-ratio:1/1.12;background:var(--bg)}
.map-box canvas{width:100%;height:100%;display:block}
.legend{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;font-family:var(--sans);font-size:.85rem;color:var(--ink-soft);margin:.5rem 0 0}
.legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.35rem;vertical-align:-1px}
.tbl-wrap{max-width:46rem;margin:1rem auto;overflow-x:auto}
table{border-collapse:collapse;width:100%;font-family:var(--sans);font-size:.9rem}
th,td{padding:.45rem .5rem;border-bottom:1px solid var(--line-soft);text-align:left}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums}
thead th{font-weight:600;color:var(--ink-soft);border-bottom:1px solid var(--line)}
tr.rule-no th::after{content:" ●";color:var(--dot-has)}
tr.rule-yes th::after{content:" ●";color:var(--dot-miss)}
.more-rows{margin:.7rem 0 0}
.council-find{max-width:46rem;margin:.6rem auto;display:flex;gap:.5rem}
.council-find input{flex:1;font:1rem var(--sans);padding:.55rem .7rem;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}

/* sources, footer, rail, to-top */
.src{padding-left:1.1rem;font-size:.95rem}
.src li{margin:.3rem 0}
.foot{border-top:1px solid var(--line);margin-top:3rem;padding:1.4rem 1rem 2.4rem;font-family:var(--sans);font-size:.85rem;color:var(--ink-soft);display:flex;gap:1.2rem;flex-wrap:wrap;justify-content:center}
.rail{position:fixed;right:6px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:20;opacity:0;transition:opacity .4s;pointer-events:none}
.rail.on{opacity:1;pointer-events:auto}
.rail a{position:relative;display:block;width:12px;height:12px;border-radius:50%}
.rail a::before{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--ink-soft);opacity:.45}
.rail a[aria-current=true]::before{background:var(--gold);opacity:1}
.rail a span{position:absolute;right:18px;top:50%;transform:translateY(-50%);white-space:nowrap;font-family:var(--sans);font-size:.78rem;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:.1rem .4rem;opacity:0;pointer-events:none}
.rail a:hover span,.rail a:focus-visible span{opacity:1}
@media (max-width:760px){.rail{display:none}}
.to-top{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:600 .8rem var(--sans);cursor:pointer;z-index:25}
.d-page{max-width:40rem;margin:2rem auto;padding:0 1rem}
.d-page img{width:100%;height:auto;border-radius:8px}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media (max-width:600px){.street::-webkit-scrollbar{display:none}
.street svg{height:min(330px,48vh)}.hero-text{padding-top:1.4rem}}
.kicker .nw{white-space:nowrap}
