/* Green City Map. One calm white page, one loud thing per screen (the map).
   Type: Bricolage Grotesque for headings, Public Sans for reading, JetBrains Mono for code. */
/* Fonts, served from this site (web/site/fonts/, SIL Open Font License 1.1), so no visitor's browser asks Google for them. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/bricolage-grotesque-latin-opsz-normal.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: "Public Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/public-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Public Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/public-sans-latin-wght-normal.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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.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; }
:root {
  --ink: #15201a; --ink-2: #46524b; --muted: #67746c; --line: #e3e9e5; --mist: #f6f9f7; --mint: #eef5f0;
  --green: #1f6b47; --green-dark: #0f4a30; --good: #1c5cab; --good-bg: #edf3fb; --bad: #a3262a; --bad-bg: #fbeeec;
  --amber-bg: #fff6e3; --amber: #7a5a10;
  --display: "Bricolage Grotesque", "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ramp: linear-gradient(90deg, #8c1027 0%, #d93a2b 25%, #f28c35 45%, #f5c842 58%, #6cc3c1 72%, #3a8ad3 86%, #1d4c9b 100%);   /* no grey: buildings are grey */
}
* { box-sizing: border-box; }
body { margin: 0; background: #ffffff; color: var(--ink); font: 400 16px/1.5 var(--body); }
a { color: var(--green); } a:hover { color: var(--green-dark); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
h1 { margin: 0; font: 760 56px/1.02 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
h2 { margin: 0; font: 750 34px/1.1 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
h3 { margin: 0; font: 700 20px/1.2 var(--display); }
p { margin: 0; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }

/* header and footer */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.pill { color: var(--ink); font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--ink); }
.menu { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot .in { max-width: 1200px; margin: 0 auto; padding: 28px 24px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot small { display: block; max-width: 70ch; font-size: 12.5px; margin-top: 6px; }

/* page frame */
.page { max-width: 1200px; margin: 0 auto; padding: 32px 24px 24px; display: flex; flex-direction: column; gap: 80px; }
.page.narrow { max-width: 880px; gap: 56px; }
section { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); font-weight: 600; }
.btn.ghost:hover { background: var(--mist); color: var(--ink); }
.btn.dark { background: var(--ink); border-radius: 14px; }
.btn.small { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.ghost[aria-pressed="true"] { background: var(--ink); color: #fff; }
.link { border: 0; background: none; padding: 0; color: var(--green); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* search */
.search { position: relative; max-width: 760px; }
.searchbar { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 8px 0 22px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 0 6px 24px rgb(21 32 26 / 0.08); }
.searchbar:focus-within { box-shadow: 0 0 0 4px rgb(31 107 71 / 0.2), 0 6px 24px rgb(21 32 26 / 0.08); }
.searchbar input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: 19px; }
.searchbar input:focus-visible { outline: none; }
.search.compact .searchbar { height: 50px; padding-left: 16px; border-width: 1.5px; box-shadow: none; }
.search.compact .searchbar input { font-size: 16px; height: 44px; }
.results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgb(21 32 26 / 0.16); padding: 8px; display: flex; flex-direction: column; max-height: 60vh; overflow-y: auto; }
.results button { display: flex; align-items: center; gap: 14px; text-align: left; border: 0; background: #fff; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.results button:hover, .results button.active { background: var(--mist); }
.results .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); }
.results .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.results .tx b { font-weight: 600; }
.results .tx small { font-size: 13.5px; color: var(--muted); }
.results .empty { padding: 10px 12px; color: var(--muted); font-size: 14.5px; }
.ring { flex: none; display: grid; place-items: center; border-radius: 50%; border-style: solid; font-variant-numeric: tabular-nums; }
.ring.sm { width: 38px; height: 38px; border-width: 3px; font: 600 14px/1 var(--mono); }
.ring.lg { width: 72px; height: 72px; border-width: 6px; font: 760 28px/1 var(--display); }
.tries { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--muted); }
.chip { border: 1px solid #d6ded9; background: #fff; border-radius: 999px; padding: 6px 13px; font-size: 14.5px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* home: featured city + example cities */
.hero { gap: 18px; padding-top: 8px; }
.featured { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: stretch; }
.stage { position: relative; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 3 / 2; background: #fff; }
.camera { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.6s cubic-bezier(.25, .7, .2, 1); }
.camera img { position: absolute; }
.stage .tag { position: absolute; left: 16px; top: 16px; background: rgb(255 255 255 / 0.95); border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: 14.5px; box-shadow: 0 2px 10px rgb(21 32 26 / 0.1); }
.stage .ctl { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 6px; background: rgb(255 255 255 / 0.95); border-radius: 999px; padding: 6px 8px; box-shadow: 0 2px 10px rgb(21 32 26 / 0.1); }
.dot { width: 10px; height: 10px; border-radius: 5px; border: 0; padding: 0; background: #c9d4cd; cursor: pointer; transition: width .3s ease; }
.dot[aria-pressed="true"] { width: 24px; background: var(--ink); }
.play { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--ink); display: grid; place-items: center; cursor: pointer; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .9 } 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0 } }
.ping { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; border-radius: 50%; border: 3px solid; transform: translate(-50%, -50%); animation: ping 1.6s ease-out infinite; }
.pin { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 0.3); }
.tourcard { position: absolute; left: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); background: #fff; border-radius: 18px; box-shadow: 0 14px 40px rgb(21 32 26 / 0.18); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; transition: opacity .45s ease, transform .45s ease; }
.tourcard.out { opacity: 0; transform: translateY(12px); }
.tourcard .head { display: flex; align-items: center; gap: 14px; }
.tourcard .title { font: 700 19px/1.15 var(--display); }
.tourcard .place { font-size: 14px; color: var(--muted); }
.ramp { height: 10px; border-radius: 5px; background: var(--ramp); }
.ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.traits { display: flex; flex-wrap: wrap; gap: 6px; }
.trait { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.trait.good { background: var(--good-bg); } .trait.bad { background: var(--bad-bg); }
.trait img { width: 18px; height: 18px; }
.side { display: flex; flex-direction: column; gap: 16px; }
.side h2 { font-size: 42px; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar .lab { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bar .lab b { font: 600 13px/1.4 var(--mono); }
.bar .tr { height: 6px; background: #e8ece9; border-radius: 3px; overflow: hidden; margin-top: 5px; }
.bar .fl { height: 100%; background: var(--ink); border-radius: 3px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mist); display: block; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card .nm b { font: 750 21px/1.1 var(--display); }
.card .nm span { font-size: 13px; color: var(--muted); }
.card .bar .fl { background: var(--good); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--mist); }
.step img { width: 34px; height: 34px; }
.step b { font-size: 17px; }
.step span { color: var(--ink-2); font-size: 15px; }

/* conversation blocks */
.ask { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--mint); }
.ask .q { font: 700 22px/1.25 var(--display); }
.ask .say { font-size: 16.5px; color: var(--ink-2); max-width: 60ch; }
.cmdrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.cmdrow code { flex: 1 1 360px; min-width: 0; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1.5px solid #c9d4cd; font: 500 13.5px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word; user-select: all; }
.field { height: 46px; max-width: 340px; width: 100%; padding: 0 14px; border: 1.5px solid #c9d4cd; border-radius: 12px; background: #fff; font-size: 16px; }
textarea.field { height: auto; min-height: 72px; padding: 10px 14px; resize: vertical; }
.enquiry .field { max-width: 480px; }
.say.ok { color: var(--green); font-weight: 600; }
.say.err { color: var(--bad); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.note img, .note svg { flex: none; }
.biz { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 20px; border: 1px solid var(--line); }
.biz p { font-size: 17px; }

/* city page */
.citypage { display: grid; grid-template-columns: 400px minmax(0, 1fr); height: calc(100vh - 64px); height: calc(100dvh - 64px); }
.cpanel { overflow-y: auto; padding: 22px 24px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.cpanel h1 { font-size: 40px; }
.cpanel .back { font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.cpanel .q { font: 700 18px/1.3 var(--display); }
.cpanel .answer { font-size: 15px; color: var(--ink-2); min-height: 2.6em; }
.brief { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.brief div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.brief img { width: 24px; height: 24px; }
.cmap { position: relative; min-width: 0; background: #fff; }
.cmap > canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; display: block; }
.cmap > canvas.dragging { cursor: grabbing; }
.zoom { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; }
.zoom button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 600 17px/1 var(--mono); cursor: pointer; box-shadow: 0 1px 3px rgb(0 0 0 / 0.1); }
.loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--ink-2); }
.tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 11px; font-size: 13.5px; box-shadow: 0 6px 18px rgb(0 0 0 / 0.14); display: flex; flex-direction: column; gap: 1px; max-width: 280px; }
.tip span { color: var(--ink-2); } .tip small { color: var(--muted); font-size: 12.5px; }
.scard { position: absolute; right: 14px; top: 14px; width: min(400px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 44px rgb(21 32 26 / 0.2); padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.scard header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: -6px; }
.scard .back { border: 0; background: none; padding: 4px 0; color: var(--ink-2); font-size: 14.5px; cursor: pointer; text-align: left; }
.scard .back:hover { color: var(--ink); }
.scard .why { font-size: 15px; color: var(--ink-2); }
.scard .score p { margin-top: 2px; }
.scard h2 { font-size: 24px; }
.scard .x { border: 0; background: var(--mist); width: 32px; height: 32px; border-radius: 9px; cursor: pointer; font-size: 17px; flex: none; }
.scard .score { display: flex; align-items: center; gap: 14px; }
.scard .score b { font: 700 19px/1.2 var(--display); }
.scard .score b.sm { font-size: 16px; }
.scard .chip b { font: 600 12.5px/1 var(--mono); color: var(--muted); margin-left: 2px; }
.scard h4 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.walk { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 6px 10px; font-size: 14.5px; align-items: center; }
.walk img { width: 20px; height: 20px; }
.walk .t { font: 500 13px/1.3 var(--mono); color: var(--ink-2); text-align: right; white-space: nowrap; }
.walk .far { color: var(--bad); }
.fb { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.fb .q { font-weight: 600; }

/* content pages */
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.box { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); }
.box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.box li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.box li img { width: 26px; height: 26px; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; }
.ticks li { grid-template-columns: 18px minmax(0, 1fr) !important; }
.timeline { margin: 0 0 0 13px; padding: 0; list-style: none; border-left: 2px solid #dfe7e2; }
.timeline li { position: relative; padding: 0 0 22px 30px; color: var(--ink-2); }
.timeline li b { display: block; color: var(--ink); font-size: 17px; }
.timeline li i { position: absolute; left: -14px; top: 0; font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 8px; color: var(--ink-2); }
pre.code { margin: 0; padding: 16px 18px; border-radius: 14px; background: #f4f6f5; border: 1px solid var(--line); font: 500 13px/1.6 var(--mono); overflow-x: auto; white-space: pre; }
.preview { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--amber-bg); color: var(--amber); font-size: 14.5px; }
.approve { padding: 28px; border-radius: 24px; border: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; font-size: 15px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.code-big { font: 700 30px/1 var(--mono); letter-spacing: 0.08em; }

@media (max-width: 980px) {
  .featured { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .citypage { grid-template-columns: 1fr; height: auto; }
  .cmap { order: -1; height: 62vh; min-height: 360px; }
  .cpanel { border-right: 0; overflow: visible; }
  .scard { position: fixed; left: 10px; right: 10px; bottom: 10px; top: auto; width: auto; max-height: 58vh; z-index: 40; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 720px) {
  h1 { font-size: 40px; } h2 { font-size: 28px; } .side h2 { font-size: 34px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; padding: 12px 24px 18px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu { display: inline-block; }
  .steps3, .cols2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ask { padding: 20px; }
  .tourcard { position: absolute; }
  .stage { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* the home page tour keeps its motion (it has a pause button) */
  .stage .camera { transition: transform 1.6s cubic-bezier(.25, .7, .2, 1), opacity .9s ease !important; }
  .stage .tourcard { transition: opacity .6s ease, transform .45s ease !important; }
  .stage .ping { animation: ping 1.6s ease-out infinite !important; }
}
.note .info { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid var(--ink-2); display: grid; place-items: center; font: 700 12px/1 var(--body); color: var(--ink-2); }

/* living map: key, best areas, scored parts, (i) notes on sources */
.key { position: absolute; left: 14px; bottom: 14px; max-width: min(390px, calc(100% - 28px)); display: flex; flex-direction: column; gap: 6px; padding: 9px 12px; border-radius: 14px; background: rgb(255 255 255 / 0.95); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); box-shadow: 0 2px 10px rgb(21 32 26 / 0.08); }
.key .kr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.key .ramp { display: inline-block; width: 96px; height: 8px; border-radius: 4px; }
.key .it { display: inline-flex; align-items: center; gap: 3px; }
.cpanel .h3 { font: 750 23px/1.15 var(--display); letter-spacing: -0.01em; }
.areas { gap: 10px; }
.prefs { display: flex; flex-direction: column; gap: 10px; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rank li > button, .rank li > a { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: var(--ink); text-decoration: none; cursor: pointer; }
.rank li > button:hover, .rank li > a:hover, .rank li > button[aria-current="true"] { background: var(--mist); color: var(--ink); }
.rank .pos { grid-row: 1 / span 2; color: var(--muted); font: 600 13px/1 var(--mono); }
.rank .nm { font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.rank .vd { grid-column: 2; font-size: 13px; color: var(--muted); }
.rank .sc { grid-column: 3; grid-row: 1 / span 2; min-width: 40px; padding: 6px 8px; border-radius: 9px; text-align: center; font: 750 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.rank .sc.none { border: 1.5px solid var(--line); color: var(--muted); }
.best { display: flex; flex-direction: column; gap: 6px; }
.best h3 { font-size: 17px; }
.best .rank li > a { padding: 6px 8px; }
.parts { display: flex; flex-direction: column; gap: 7px; }
.part { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 30px; gap: 10px; align-items: center; font-size: 14px; }
.part .l { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.part .t { height: 8px; border-radius: 4px; background: #edf1ee; overflow: hidden; }
.part .t i { display: block; height: 100%; border-radius: 4px; }
.part .v { text-align: right; font: 600 13px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.itip { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.4px solid var(--muted); background: #fff; color: var(--muted); display: inline-grid; place-items: center; padding: 0; font: italic 700 11px/1 var(--display); cursor: help; vertical-align: 1px; }
.itip:hover, .itip:focus-visible { color: var(--ink); border-color: var(--ink); }
.srcnote { position: fixed; z-index: 60; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.45; box-shadow: 0 10px 28px rgb(21 32 26 / 0.25); pointer-events: none; overflow-wrap: anywhere; }
@media (max-width: 720px) { .key .kr:last-child .it:nth-child(n+5) { display: none; } }

/* home: the tour's pictures of the living map (moving bits drawn on a canvas between the map and its labels), and what makes a street good */
.stage { cursor: pointer; }
.reel { position: absolute; inset: 0; overflow: hidden; background: #f6f3ec; }
.shot { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
.shot img, .shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.goods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gcard { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: var(--mist); }
.gcard img { width: 30px; height: 30px; }
.gcard b { font-size: 17px; }
.gcard span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 980px) { .goods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gcard { padding: 16px; } }

/* analytics consent (web/site/analytics.js): a small white bar at the bottom, only when the site has a measurement id */
.consent { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 16px 14px 18px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgb(21 32 26 / 0.12); font-size: 14.5px; }
.consent p { flex: 1 1 260px; color: var(--ink-2); }
.consent a { font-weight: 600; }
.consent .row { flex: none; }
.foot .linkish { border: 0; background: none; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; }
.foot .linkish:hover { color: var(--ink); text-decoration: underline; }
.foot b.name { color: var(--ink); }
#privacy { scroll-margin-top: 96px; }
