/* Self-hosted fonts (SIL Open Font License 1.1; licenses in /fonts/). Served from this site, so no request goes to Google. */
@font-face {
  font-family: 'Funnel Display';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/funnel-display-v3-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Funnel Display';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/funnel-display-v3-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: 'Host Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/host-grotesk-italic-v5-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Host Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/host-grotesk-italic-v5-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: 'Host Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/host-grotesk-v5-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/host-grotesk-v5-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;
}

/* New Locals: site styles. Tokens first; components follow in page order. */
:root {
  --blue: #3140EE;
  --blue-deep: #2330C9;
  --blue-tint: #E3E5FD;
  --ink: #17171C;
  --soft: #5E5B66;
  --paper: #F4F1EC;
  --paper-2: #EAE5DC;
  --white: #FFFFFF;
  --porch: #FFB547;
  --line: rgba(23, 23, 28, 0.14);
  --city-1: #B9472C;
  --city-2: #2E6B57;
  --city-3: #E8DFCC;

  --display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Host Grotesk", "Helvetica Neue", Arial, sans-serif; /* labels: text face, medium, tabular figures. No monospace. */

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.4rem + 4vw, 4.25rem);
  --step-5: clamp(3.25rem, 1.2rem + 8vw, 8.5rem);

  --gutter: 16px;
  --wrap: 1200px;
  --r-tile: 18px;
  --r-field: 10px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; max-width: 66ch; text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 46ch; }
.small { font-size: var(--step--1); }
.muted { color: var(--soft); }
.mono { font-family: var(--mono); font-weight: 500; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

/* The Settle: a light phrase, then a solid one. */
.settle .new { font-weight: 300; }
.settle .local { font-weight: 800; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Icons: the supplied Noun Project line set, filled shapes on a 100-unit grid */
.icon { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 241, 236, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand .wordmark { width: 128px; }
.brand .brand-mark { height: 30px; width: auto; color: var(--blue); margin-right: -4px; }
.brand-city { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.78rem; color: var(--soft); padding-left: 14px; border-left: 1.5px solid var(--ink); line-height: 1.1; white-space: nowrap; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav .btn { color: var(--paper); padding: 10px 16px; border: 1.5px solid var(--ink); }
.nav .btn:hover { color: var(--white); border-color: var(--blue); }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .brand .wordmark { width: 112px; }
}

/* ---------- Buttons, chips, fields ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .12s ease;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-blue .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.on-blue .btn:hover { background: var(--white); color: var(--blue-deep); }
.on-blue .btn.secondary { background: transparent; border-color: rgba(244, 241, 236, .7); color: var(--paper); }
.on-blue .btn.secondary:hover { background: rgba(244, 241, 236, .12); }
.btn.small { padding: 10px 16px; font-size: 0.9rem; }
.btn.quiet { background: transparent; border-color: transparent; padding-left: 0; padding-right: 0; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 0.2em; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-weight: 600; font-size: 0.9rem; line-height: 1;
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip .count { font-weight: 500; opacity: .65; }

.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--soft); }
input[type="text"], input[type="email"], input[type="url"], input[type="date"], input[type="search"], select, textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid rgba(23, 23, 28, .22); border-radius: var(--r-field); padding: 12px 14px; width: 100%; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(49, 64, 238, .22); outline-offset: 0; }

/* ---------- Hero ---------- */
.hero { background: var(--blue); color: var(--paper); padding: 56px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .hero { padding: 96px 0 88px; } .hero .wrap { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.hero h1 { font-size: clamp(3.25rem, 1rem + 7vw, 7.5rem); line-height: 0.9; letter-spacing: -0.045em; color: var(--paper); }
.hero h1 span { white-space: nowrap; }
.hero h1 .local { display: inline-block; animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) .25s both; }
@keyframes settle { from { font-weight: 300; } to { font-weight: 800; } }
.hero .lede { margin: 28px 0 32px; color: #E4E6FD; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero a:not(.btn) { color: var(--paper); }
.hero .eyebrow { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.82rem; color: #D6D9FC; margin-bottom: 22px; display: block; }

/* "When did you get here?" card */
.tag { position: relative; background: var(--paper); color: var(--ink); padding: 28px; border-radius: var(--r-tile); max-width: 460px; width: 100%; box-shadow: 0 30px 60px rgba(14, 18, 80, .28); }
.tag h2 { font-size: 1.6rem; line-height: 1.05; margin-bottom: 16px; }
.tag .field { margin-bottom: 18px; }
.hero .tag a:not(.btn) { color: var(--blue-deep); font-weight: 600; }
.deadlines { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1.5px solid var(--ink); }
.deadlines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.deadlines .what { font-weight: 600; line-height: 1.3; }
.deadlines .when { font-family: var(--display); font-weight: 700; color: var(--blue-deep); white-space: nowrap; }
.deadlines .when.past { color: var(--ink); background: var(--porch); padding: 0 6px; border-radius: 4px; }
.deadlines .why { grid-column: 1 / -1; font-size: var(--step--1); color: var(--soft); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }
.section.tinted + .section:not(.tinted) { padding-top: 88px; }
.section.tinted { background: var(--paper-2); padding-top: 88px; }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 780px; }
.section-head p { margin: 0; }

/* The path: week one, month one, year one */
.trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trail li { position: relative; padding: 28px; border-radius: var(--r-tile); background: var(--white); border: 1px solid var(--line); }
.trail .trail-icon { display: block; width: 44px; height: 44px; color: var(--blue); margin-bottom: 18px; }
.trail .trail-icon .icon { width: 44px; height: 44px; }
.trail li:nth-child(3) .trail-icon { color: var(--porch); }
.trail .when { display: block; font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.82rem; color: var(--blue-deep); margin-bottom: 14px; }
.trail h3 { font-size: var(--step-2); margin-bottom: 10px; }
.trail p { margin-bottom: 14px; }
.trail li:nth-child(3) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.trail li:nth-child(3) .when { color: #D6D9FC; }
.trail li:nth-child(3) a { color: var(--paper); }
@media (min-width: 900px) { .trail { grid-template-columns: repeat(3, 1fr); } }

/* Category strip */
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats .chip .icon { width: 18px; height: 18px; }
.legend { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: var(--step--1); color: var(--soft); }
.local-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--porch); border: 2px solid var(--ink); flex: none; }

/* Ledger rows (places, groups) */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0 18px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.row.local { border-left-color: var(--porch); }
.row h3 { font-size: 1.15rem; font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.row .meta { font-size: var(--step--1); color: var(--soft); margin: 3px 0 6px; }
.row .blurb { margin: 0 0 8px; }
.row .links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.92rem; align-items: center; }
.row .links a { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.row .links .icon { width: 1.25em; height: 1.25em; }
.row .links a { font-weight: 600; }
.row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.row .tags li { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.72rem; padding: 4px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
.row .tags li.local { background: var(--porch); }
.row.is-selected { background: linear-gradient(90deg, var(--blue-tint), transparent 75%); }
.save-btn { font: inherit; font-size: 0.92rem; font-weight: 600; background: none; border: 0; padding: 0; min-height: 28px; color: var(--blue-deep); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; text-decoration: underline; text-underline-offset: .2em; }
.save-btn[aria-pressed="true"] { color: var(--ink); text-decoration: none; }
.save-btn[aria-pressed="true"] .icon { fill: var(--blue); stroke: var(--blue); }
.sources { font-size: 0.8rem; color: var(--soft); }
.sources summary { cursor: pointer; font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.75rem; padding: 6px 0; }
.sources a { color: var(--soft); word-break: break-word; }

/* ---------- Forms blocks ---------- */
.signup { display: grid; gap: 28px; }
@media (min-width: 900px) { .signup { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.form { display: grid; gap: 16px; }
.form .row-2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-status { font-weight: 600; padding: 12px 14px; border-radius: var(--r-field); background: var(--blue-tint); color: var(--blue-deep); }
.form-status.error { background: #FBE3DC; color: #8E2F18; }
.hp { position: absolute; left: -5000px; }

.band { background: var(--ink); color: var(--paper); padding: 64px 0; }
.band h2 { color: var(--paper); }
.band p { color: #D5D3DA; }
.band .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .band .wrap { grid-template-columns: 1.4fr auto; } }
.band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band .btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* New Locals Night card */
.night-card { display: grid; gap: 10px; background: var(--blue); color: var(--paper); border-radius: var(--r-tile); padding: 24px; margin-bottom: 28px; max-width: 420px; }
.night-mark { width: 56px; display: block; }
.night-title { font-family: var(--display); font-size: 2.4rem; line-height: .95; letter-spacing: -.035em; }
.night-title .new { font-weight: 300; } .night-title .local { font-weight: 800; }
.night-meta { font-size: 0.95rem; color: #E4E6FD; }
.night-card { margin-bottom: 20px; }
.night-copy { max-width: 46ch; margin: 0 0 24px; }
.picks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.pick { border-top: 3px solid var(--porch); padding: 16px 0 24px; }
.pick-cat { font-size: var(--step--1); font-weight: 500; color: var(--soft); }
.pick h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.15; margin: 6px 0 2px; }
.pick .meta { font-size: var(--step--1); color: var(--soft); margin: 0 0 8px; }
.pick p:last-child { margin: 0; font-size: 0.95rem; }
.picks-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 8px 0 0; }
.cats-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; margin: 56px 0 16px; }
@media (max-width: 860px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .picks { grid-template-columns: 1fr; } .pick:nth-child(n+4) { display: none; } }

/* App band */
.app-band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .app-band { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.app-phone { justify-self: center; width: min(300px, 80vw); border-radius: 40px; background: #0E0E12; padding: 10px; box-shadow: 0 30px 70px rgba(23, 23, 28, .3); }
.app-phone img { display: block; width: 100%; height: auto; border-radius: 31px; }

/* ---------- Page heads ---------- */
.page-head { padding: 64px 0 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 18px; max-width: 60ch; }
.checked-note { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.78rem; color: var(--soft); margin-top: 6px; }
.checked-note .icon { color: var(--city-2); width: 18px; height: 18px; }

/* ---------- Checklist ---------- */
.cl-layout { display: grid; gap: 40px; padding-block: 40px 80px; }
@media (min-width: 1000px) { .cl-layout { grid-template-columns: 320px 1fr; gap: 56px; align-items: start; } .cl-controls { position: sticky; top: 92px; } }
.cl-controls { display: grid; gap: 22px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 22px; }
.cl-controls fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.cl-controls legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; padding: 0; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.progress { display: grid; gap: 8px; }
.progress .bar { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.progress .fill { height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .3s ease; }
.progress .label { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.phase { margin-bottom: 48px; }
.phase h2 { font-size: var(--step-2); margin-bottom: 6px; }
.phase > p { color: var(--soft); margin-bottom: 16px; }
.item { border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.item-head { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding: 16px 0; }
.item-head input[type="checkbox"] { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.item-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.item.done .item-title { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--soft); }
.item-summary { margin: 4px 0 0; font-size: 0.98rem; }
.due { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; color: var(--blue-deep); white-space: nowrap; padding-top: 4px; }
.due.past { color: var(--ink); background: var(--porch); padding: 3px 7px; border-radius: 5px; }
.item.done .due { color: var(--city-2); background: none; }
.item details { margin: 0 0 16px 40px; }
.item summary { cursor: pointer; font-weight: 600; color: var(--blue-deep); font-size: 0.95rem; width: max-content; }
.item .detail { padding: 12px 0 4px; display: grid; gap: 12px; overflow-wrap: anywhere; }
.item .official ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.item ol { margin: 0; padding-left: 1.25em; }
.item ol li { margin-bottom: 4px; }
.item .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; }
.item .note { font-size: 0.9rem; background: var(--white); padding: 12px 14px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; }
.applies { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; padding: 0; list-style: none; }
.applies li { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.7rem; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--soft); }

/* ---------- Guide ---------- */
.guide { display: grid; }
@media (min-width: 1000px) {
  .guide { grid-template-columns: minmax(380px, 460px) 1fr; height: calc(100vh - 69px); height: calc(100dvh - 69px); }
  .guide-list { overflow-y: auto; border-right: 1px solid var(--line); }
  .guide-map { position: relative; }
  .map-toggle { display: none !important; }
}
.guide-list { padding: 24px var(--gutter) 64px; }
.guide-list h1 { font-size: var(--step-3); }
.guide-tools { display: grid; gap: 14px; margin: 20px 0 8px; }
.guide-tools .cats { gap: 8px; }
.guide-tools .chip { padding: 8px 12px; font-size: 0.86rem; }
.result-count { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.78rem; color: var(--soft); margin: 12px 0 0; }
@media (max-width: 999px) {
  .guide-tools .cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .guide-tools .cats::-webkit-scrollbar { display: none; }
}
.guide-map #map { position: absolute; inset: 0; }
@media (max-width: 999px) {
  .guide-map { position: fixed; inset: 69px 0 0 0; z-index: 30; display: none; }
  .guide.show-map .guide-map { display: block; }
  .map-toggle { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 35; box-shadow: 0 8px 24px rgba(23, 23, 28, .25); }
}
.pin { width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; border: 0; box-shadow: 0 2px 8px rgba(23,23,28,.25); cursor: pointer; padding: 0; }
.pin .icon { width: 24px; height: 24px; }
.pin.local { background: var(--porch); }
.pin.is-selected { background: var(--blue); color: var(--white); z-index: 2; transform: scale(1.15); }
.pin.anchor { background: var(--blue); width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--blue); cursor: default; }
.maplibregl-popup-content { font-family: var(--body); border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 28px rgba(23, 23, 28, .2); }
.maplibregl-popup-content strong { display: block; font-family: var(--display); }

/* Your list drawer */
.list-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 60; border-left: 1px solid var(--line); padding: 24px; overflow-y: auto; box-shadow: -12px 0 40px rgba(23, 23, 28, .18); }
.drawer h2 { font-size: var(--step-2); }
.drawer-close { position: absolute; right: 16px; top: 16px; }
.shared-banner { background: var(--porch); padding: 12px 14px; border-radius: var(--r-field); margin: 12px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-weight: 600; }

/* ---------- Prose pages ---------- */
.prose { padding-block: 40px 80px; }
.prose h2 { font-size: var(--step-2); margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; max-width: 66ch; }
.prose li { margin-bottom: 6px; }
.two-col { display: grid; gap: 48px; padding-block: 40px 80px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.offer { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.offer li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.offer h3 { font-size: 1.2rem; margin-bottom: 4px; }
.offer p { margin: 0; }
.stat { font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; }
.stats-strip { display: grid; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .stats-strip { grid-template-columns: repeat(3, 1fr); } .stat-cell + .stat-cell { border-left: 1px solid var(--line); padding-left: 20px; } }
.stat-cell { padding: 18px 20px 18px 0; }
.stat-cell p { margin: 8px 0 0; font-size: 0.95rem; }
.stat-cell + .stat-cell { border-top: 1px solid var(--line); }
@media (min-width: 800px) { .stat-cell + .stat-cell { border-top: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #E4E6FD; padding: 64px 0 40px; }
.site-footer a { color: var(--paper); }
.site-footer .wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { color: var(--paper); }
.site-footer .brand .wordmark { width: 180px; }
.site-footer .brand .brand-mark { height: 40px; color: var(--paper); }
.site-footer .brand-city { color: #D6D9FC; border-left-color: #D6D9FC; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .fine { grid-column: 1 / -1; font-size: 0.82rem; color: #D6D9FC; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 20px; }
.site-footer .fine p { max-width: none; margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print (checklist) ---------- */
@media print {
  .site-header, .site-footer, .cl-controls .no-print, .no-print, .menu-toggle { display: none !important; }
  body { font-size: 11pt; background: #fff; }
  .cl-layout { display: block; padding: 0; }
  .cl-controls { border: 0; padding: 0; }
  .page-head { padding: 0 0 12pt; }
  .item details > summary { display: none; }
  .item .detail { display: grid !important; }
  .phase { break-inside: auto; margin-bottom: 18pt; }
  .item { break-inside: avoid; }
  a { color: var(--ink); }
}

/* Neighborhoods */
.hood-promise { margin-top: 12px; max-width: 60ch; color: var(--soft); font-size: var(--step--1); }
.hood-wrap { padding-block: 32px 96px; }
.hood-jump { margin-bottom: 24px; }
.hood-map { height: 460px; border-radius: var(--r-tile); overflow: hidden; background: var(--paper-2); }
.hood-label { font: 600 0.85rem/1 var(--text); color: var(--ink); background: var(--white); border: 0; border-radius: 999px; padding: 8px 12px; box-shadow: 0 2px 8px rgba(23,23,28,.22); cursor: pointer; white-space: nowrap; }
.hood-label:hover, .hood-label.is-selected { background: var(--blue); color: var(--white); }
.hood-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.hood { padding: 32px 0 36px; border-top: 1.5px solid var(--ink); scroll-margin-top: 96px; }
.hood h2 { font-size: var(--step-3); }
.hood .meta { font-size: var(--step--1); color: var(--soft); margin: 6px 0 0; }
.hood-sum { margin: 14px 0 0; }
.hood-facts { margin: 18px 0 0; display: grid; gap: 10px; }
.hood-facts dt { font-weight: 600; font-size: var(--step--1); }
.hood-facts dd { margin: 2px 0 0; }
.hood-note { margin: 16px 0 0; padding: 12px 14px; background: var(--white); border-left: 3px solid var(--porch); border-radius: 0 10px 10px 0; font-size: 0.95rem; }
.hood-anchors { margin-top: 18px; }
.hood-anchors h3 { font-size: var(--step--1); font-weight: 600; font-family: var(--text); margin: 0 0 10px; letter-spacing: 0; }
.chip.static { cursor: default; }
.hood-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.link-btn { font: inherit; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
@media (max-width: 860px) { .hood-list { grid-template-columns: 1fr; } .hood-map { height: 340px; } }
