/* Hallmark · shape: Almanac Index · genre: editorial · theme: custom, pinned by request (the city sites' design.md: Cubbon Park in February: rain-tree green over red laterite paths, the grey of the old gneiss at Lalbagh's rock, the pink of the tabebuia in bloom.) · job: visit · idea: "today's Bengaluru in one screen: the sky and the air as a mono table, what is on record, what changed, the map" · vibe: "rain-tree green, tabebuia pink, paper"
 * paper: oklch(96.2% 0.008 140) · accent: oklch(41% 0.095 152) · display: Fraunces · body: Source Sans 3 · hero: Index, the almanac table beside the record's figures under a one-line head · nav: masthead with the live dateline in mono, six registers · footer: mast · imagery: a map of the neighbourhoods drawn from their positions; no photographs we do not own · signature: the almanac table, sunrise to the last row, today and tomorrow
 * look: asked for (the owner's brief pins the paper, Fraunces and one accent per city; the layout is vizag.in's, reviewed there) · copy: verbatim (place names, hours and addresses are OpenStreetMap's own words) · axes: light/roman-serif/chromatic · posture: restrained (the accent is the link and the one action; the stamp colour marks an alert) · surface: tinted · contrast: checked by engine/check_theme.js · fold: pass · motion: the house grammar (the dateline figures and almanac rows settle once, rows rise once) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: E, a register of thousands of rows can drown a reader; the kinds are the first cut, the neighbourhoods the second, and every list opens with a find box */
/* Hallmark · waive 65 · the stamp says the look was asked for: the brief pins the tinted paper, Fraunces and the city's accent · Fraunces is a low-contrast optical serif, not a didone */
/* Hallmark · waive 79 · the hero's content is the almanac table ending above the next section · the measure stops at the head block because the almanac is a table rather than text, and that table is the hero itself */
/* Hallmark · dismissed 58 · the first window holds the almanac, a table of ten rows by two days, read as one object; the register window holds the kinds with their counts and leading entries, a table as well */
/* Hallmark · waive 71 · a register's row is one ruled line (name, facts, hours) and its title sits in that line · the rows are a directory's list, and the rule above each row does the separating */
/* Hallmark · waive 78 · the group heads inside a register are list labels at the row's size · only the page's own head is a section head on a list page */
/* Hallmark · waive 59 · a list page is one head and one long list · the space under the head belongs to the find box */
/* Hallmark · waive 49b · place names are OpenStreetMap's own words and wrap where they must on a narrow phone · the copy is verbatim, and a venue's own name is never shortened by us */
/* bengaluru.co.in tokens: rain-tree green as the accent, tabebuia pink as the stamp, on Hallmark's role names. Light first (a city read in daylight); night is the same set, a choice made with the footer toggle. */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-outlier: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius-card: 2px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.01em;
  --color-paper: oklch(96.2% 0.008 140); --color-paper-2: oklch(99.3% 0.004 140); --color-paper-3: oklch(92.2% 0.014 140); --color-ink: oklch(20.5% 0.018 160); --color-ink-2: oklch(39.5% 0.025 160); --color-muted: oklch(45% 0.022 160); --color-rule: oklch(86.5% 0.016 140); --color-rule-2: oklch(75% 0.022 140); --color-accent: oklch(41% 0.095 152); --color-accent-ink: oklch(99.3% 0.004 140); --color-coral: oklch(52% 0.18 355); --color-coral-ink: oklch(99.3% 0.004 140); --color-tide: oklch(48% 0.11 150); --color-focus: oklch(41% 0.095 152); --color-error: oklch(52% 0.18 355); --color-success: oklch(48% 0.11 150);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --color-paper: oklch(18.5% 0.012 160); --color-paper-2: oklch(22% 0.015 160); --color-paper-3: oklch(25.5% 0.018 160); --color-ink: oklch(95.5% 0.006 140); --color-ink-2: oklch(84% 0.012 150); --color-muted: oklch(70% 0.02 155); --color-rule: oklch(31% 0.018 160); --color-rule-2: oklch(38.5% 0.022 160); --color-accent: oklch(78% 0.11 150); --color-accent-ink: oklch(17.5% 0.012 160); --color-coral: oklch(78% 0.12 355); --color-coral-ink: oklch(17.5% 0.012 160); --color-tide: oklch(78% 0.11 150); --color-focus: oklch(78% 0.11 150); --color-error: oklch(78% 0.12 355); --color-success: oklch(78% 0.11 150);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }


body { font-size: var(--text-md); line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 144; letter-spacing: var(--tracking-display); line-height: 1.05; }
h1 { font-size: var(--text-display-s); max-width: 22ch; }
h2 { font-size: var(--text-section); max-width: 30ch; }
h3 { font-size: var(--text-title); font-weight: 600; }
.lead { font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); max-width: 52ch; }
.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
a:hover { color: var(--color-accent); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { color: var(--color-accent-ink); background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn--quiet:hover { background: var(--color-paper-3); color: var(--color-ink); }
@media (prefers-reduced-motion: reduce) { .btn, .row { transition: background-color var(--dur-short) linear; } }

.top { border-bottom: 1px solid var(--color-rule); background: var(--color-paper); }
.top-row { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; }
.brand { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 144; font-size: 1.6rem; text-decoration: none; color: var(--color-ink); line-height: 1; }
.brand:hover { color: var(--color-ink); }
.tld { color: var(--color-accent); }
.dateline { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); }
.dateline > span + span { padding-left: var(--space-md); border-left: 1px solid var(--color-rule-2); }
.nav { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav a { text-decoration: none; color: var(--color-ink-2); font-weight: 600; white-space: nowrap; padding-block: var(--space-xs); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--color-ink); }
.nav a[aria-current] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.menu-link, .menu-close { display: none; }

.hero { padding-block: var(--space-xl) var(--space-xl); }
.hero + .section { padding-top: var(--space-3xl); }
.hero-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-xl); }
.hero-head .lead { justify-self: end; max-width: 44ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.hero-grid > * { min-width: 0; }
.almanac-wrap { position: relative; overflow-x: auto; max-width: 100%; min-width: 0; }
.almanac { width: 100%; border-collapse: collapse; }
.almanac th, .almanac td { padding: var(--space-xs) var(--space-sm); text-align: left; border-top: 1px solid var(--color-rule); vertical-align: baseline; }
.almanac thead th { border-top: 0; color: var(--color-muted); font-weight: 400; font-size: var(--text-sm); }
.almanac thead th:first-child { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-ink); white-space: nowrap; }
.almanac tbody th { white-space: nowrap; }
.almanac thead th.today { color: var(--color-accent); font-weight: 600; }
.almanac tbody th { font-weight: 400; color: var(--color-ink-2); }
.almanac td { font-size: var(--text-md); }
.almanac td:nth-child(2) { color: var(--color-ink); font-weight: 600; }
.side-h { font-size: var(--text-xl); margin-bottom: var(--space-sm); }
.side-h + .side-h, .ledger-list + .side-h { margin-top: var(--space-xl); }
.figures-list, .ledger-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.figures-list li, .ledger-list li { padding-block: var(--space-xs); border-bottom: 1px solid var(--color-rule); }
.figures-list a { text-decoration: none; color: var(--color-ink); display: flex; gap: var(--space-sm); align-items: baseline; }
.figures-list a:hover { color: var(--color-accent); }
.figures-list .num { font-size: var(--text-lg); font-weight: 600; min-width: 4ch; text-align: right; }
.ledger-list .num { color: var(--color-muted); font-size: var(--text-sm); margin-right: var(--space-sm); }
.hero-actions { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.hero-link { color: var(--color-ink-2); }
.source-line { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-md); }

.section { padding-block: var(--section-gap-s); }
.section--band { background: var(--color-paper-3); color: var(--color-ink); }
.section--list { padding-block: var(--space-2xl) var(--section-gap-s); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.section-head .lead { justify-self: end; max-width: 40ch; }
.section-foot { margin-top: var(--space-lg); }
.band-row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: center; }
.band-row .btn { justify-self: end; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.rows--cols { columns: 2; column-gap: var(--space-2xl); border-top: 0; }
.rows--cols .row { break-inside: avoid; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); gap: var(--space-xs) var(--space-lg); align-items: baseline; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }
.row:hover { background: var(--color-paper-2); }
.row-title { font-size: var(--text-title); }
.row-title a { text-decoration: none; color: var(--color-ink); }
.row-title a:hover { color: var(--color-accent); }
.row-line { color: var(--color-ink-2); }
.row-right { text-align: right; color: var(--color-ink-2); font-size: var(--text-sm); }
.row-right .num { font-size: var(--text-md); color: var(--color-ink); }
html.js-motion .row:not(.is-in), html.js-motion .figures-list li:not(.is-in), html.js-motion .ledger-list li:not(.is-in) { opacity: 0; }
.group-h { margin-top: var(--space-2xl); margin-bottom: var(--space-md); font-size: var(--text-xl); }
.group-h:first-child { margin-top: 0; }
.group-h .num { font-size: var(--text-md); color: var(--color-muted); margin-left: var(--space-xs); }
.group-h a { text-decoration: none; color: var(--color-ink); }
.plain { padding-block: var(--space-2xl) var(--section-gap-s); }
.plain--head { padding-block: var(--space-2xl) var(--space-xl); }
.plain h1 { margin-bottom: var(--space-md); }
.plain h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.plain .lead { margin-bottom: var(--space-md); }
.plain p + p { margin-top: var(--space-md); }
.narrow { max-width: calc(68ch + 2 * var(--gutter)); margin-inline: auto; }
.plain-list { padding-left: 1.2em; } .plain-list li + li { margin-top: var(--space-xs); }
.venue-grid-2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); }
.facts { display: grid; gap: 0; margin: 0 0 var(--space-xl); max-width: 60ch; }
.facts div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-xs); border-top: 1px solid var(--color-rule); }
.facts dt { color: var(--color-muted); } .facts dd { margin: 0; }
.search { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.search label { color: var(--color-ink-2); }
.search input { min-height: 48px; width: min(28rem, 100%); padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.search input:focus-visible { outline-color: var(--color-focus); }
.filter-count { margin-left: auto; font-size: var(--text-sm); color: var(--color-muted); }
.map { position: relative; height: 460px; border-radius: var(--radius-card); background: var(--color-paper-2); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.map--one { height: 320px; }
.map-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sketch-grid path { stroke: var(--color-rule); stroke-width: 1; }
.map-sketch-dots circle { fill: var(--color-accent); fill-opacity: 0.8; }
.map-fallback { position: absolute; left: var(--space-md); bottom: var(--space-md); margin: 0; padding: var(--space-xs) var(--space-sm); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); border-radius: var(--radius-card); }
.map-pin { width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--color-accent); outline: 2px solid var(--color-paper); cursor: pointer; }
.map-note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

.foot { margin-top: var(--section-gap-s); padding-block: var(--space-3xl) var(--space-2xl); border-top: 1px solid var(--color-rule); background: var(--color-paper-3); }
.foot-mark { font-family: var(--font-display); font-weight: 700; font-variation-settings: "opsz" 144; font-size: clamp(2.5rem, 7vw, 6rem); line-height: 0.95; }
.foot-line { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 44ch; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 14rem)); gap: var(--space-xl); margin-top: var(--space-2xl); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot-links a { text-decoration: none; color: var(--color-ink-2); }
.foot-links a:hover { color: var(--color-accent); }
.foot-theme { margin-top: var(--space-2xl); }
.foot-note { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); max-width: 80ch; }
.foot-note a { color: var(--color-ink-2); }

@media (max-width: 60rem) {
  .top-row { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); padding-block: var(--space-sm); }
  .dateline { order: 3; flex-basis: 100%; }
  .menu-link { display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); text-decoration: none; color: var(--color-ink); font-weight: 600; }
  .nav { display: none; }
  .nav:target { display: flex; flex-direction: column; gap: var(--space-md); position: fixed; inset: 0; z-index: var(--z-modal); padding: var(--space-2xl) var(--gutter); background: var(--color-paper); }
  .nav:target .menu-close { display: inline-flex; align-self: flex-end; min-height: 40px; align-items: center; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); border-radius: var(--radius-card); }
  .nav:target a { font-size: var(--text-xl); }
  .hero-head, .hero-grid, .section-head, .band-row, .venue-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hero-head .lead, .section-head .lead { justify-self: start; }
  .band-row .btn { justify-self: start; }
  .rows--cols { columns: 1; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row-line { grid-column: 1 / -1; }
  .almanac th, .almanac td { padding: var(--space-xs) var(--space-2xs); font-size: var(--text-sm); }
  .almanac thead th:first-child { font-size: var(--text-lg); }
  .almanac tbody th { white-space: normal; }
  .almanac { min-width: 20rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { height: 320px; }
}

/* the line about us, close under the note above it (tracker #807) */
.foot-note + .foot-note { margin-top: var(--space-sm); }

/* MapLibre's "use two fingers to move the map" note: out of the page until the map shows it, then in the site's own
   colours (its stock white on a faint black wash is unreadable over a light map) */
.map .maplibregl-cooperative-gesture-screen { visibility: hidden; background: color-mix(in oklab, var(--color-ink) 82%, transparent); color: var(--color-paper); font-family: var(--font-body); font-size: var(--text-lg); }
.map .maplibregl-cooperative-gesture-screen.maplibregl-show { visibility: visible; }
/* a long list in pages */
.pager { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); align-items: baseline; justify-content: space-between; }
.pager .lead { margin: 0; }
.pager-links { display: flex; gap: var(--space-lg); margin: 0; }
.pager-links a { color: var(--color-accent); font-weight: 600; }
