/* Hallmark · shape: Almanac Index · genre: editorial · theme: custom, pinned by request (design.md: the Bay, a ship's almanac and a Survey sheet) · job: visit · idea: "today's Vizag in one screen: the sea and the sky as a mono table, what is on record, what changed, the map" · vibe: "sand, steel-blue water, the first coral of the sun"
 * paper: oklch(96.0% 0.013 82) · accent: oklch(46.7% 0.096 243) · 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 UV, today and the next two days
 * look: asked for (design.md, the owner's brief of 2026-10-25, pins sand paper, Fraunces and the sea; the cream serif look was requested, not reached for) · copy: verbatim (place names, hours and addresses are OpenStreetMap's own words) · axes: light/roman-serif/chromatic-blue · posture: restrained (the sea is the link and the one action; coral is the stamp) · surface: tinted · contrast: pass · fold: pass · motion: design.md 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 four thousand 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: design.md, the owner's brief, pins sand paper, Fraunces and the sea, with coral only as the stamp · the Bay palette is the brief's own and Fraunces is a low-contrast optical serif, not a didone */
/* Hallmark · waive 79 · the hero's content is the almanac table ending about 90 px 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 · hero-review: in-thread · 4 findings · 4 resolved (a stray comma in the lead; the almanac head wrapping to four lines on a phone; the side column pushing the action under the fold, so the ledger left the hero and the figures list shortened; the table past the 375 screen, now in a scroll wrapper) */
/* Hallmark · finish-review: in-thread · 2 findings · 2 resolved (the kinds register over the word budget, trimmed to three entries a row; muted text at 4.3:1, darkened) · gap: none, the almanac is the page */
/* 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 twelve kinds with their counts and leading entries, a table as well */
@import url("./tokens.css");
@import url("./base.css");

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; }
}
