/* Hallmark · shape: Conversational FAQ · genre: modern-minimal · theme: Terrazzo (deal 1/3, seed forts-forts-india-register-66dc·e0b14a64·2026-11-24·r0) · job: visit · draw: b820eb
 * hero: Stage · nav: search-led bar · footer: mast · imagery: photographs of the forts from Wikimedia Commons, each credited, and a map drawn only with the forts · signature: India drawn in forts, each dot a fort at its own place and no border on the map · terrazzo: off-white
 * axes: light/geometric-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, a register is mostly tables, so the map card leads every state and every fort without a photograph and each question on the front page is answered by a different object */
/* Hallmark · waive 44c · /forts/raigad-fort/ at 1440 x 900: the head is 200px tall and the photograph and the facts fill the rest of the screen · the inner pages are reference pages that open on their photograph, map or table, not landing pages; the front page hero fills its screen */
/* Hallmark · waive 49b · /forts/ at 1024px: "Fort of São Tiago of Banastarim" wraps to two lines in a three-column list · these links are the forts' own names as the register records them, and a name is never shortened; the site's own links (the bar, the buttons) stay on one line */
/* Hallmark · waive 82 · the front page's map: 651 dots, each at its fort's own latitude and longitude, over the coast · the marks are a map of real places, not a tally: where each one stands is the information, and the number itself is set in type in the caption under the map */
/* Hallmark · answered F1 · the straight marks sit inside quotations, printed exactly as their sources set them */
:root {
  color-scheme: light;
  --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;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --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;
  --color-paper: oklch(96% 0.009 82); --color-paper-2: oklch(92% 0.012 82); --color-paper-3: oklch(87.5% 0.014 80);
  --color-plate: oklch(99.5% 0.003 82);
  --color-ink: oklch(16% 0.006 60); --color-ink-2: oklch(27% 0.006 60); --color-muted: oklch(46% 0.01 60);
  --color-rule: oklch(81% 0.012 80);
  --color-accent: oklch(53% 0.15 38); --color-accent-soft: oklch(91% 0.035 45); --color-accent-ink: oklch(99.5% 0.003 82); --color-focus: oklch(50% 0.16 38);
  --font-display: "Syne", ui-sans-serif, sans-serif; --font-body: "Onest", ui-sans-serif, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 2px;
  --shadow-card: 14px 14px 0 var(--color-paper-3); --shadow-card-hover: 14px 14px 0 var(--color-ink);
  --tracking-display: -0.025em; --display-weight: 700;
}

*, *::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) 25%, transparent); }
: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-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
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; } }
/* photographs: natural con=4 */
[data-slot] > img { filter: contrast(1.04); }

@font-face { font-family: "Syne"; src: url("/fonts/syne-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root { --bar-h: 4.5rem; --text-hero: clamp(2.75rem, 4.6vw, 4.75rem); --text-band: clamp(4.5rem, 10vw, 9rem); --text-mast: clamp(4rem, 15vw, 13rem); }
body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2, h3 { color: var(--color-ink); line-height: 1; }
.code { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.94em; }
small { font-size: var(--text-xs); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: -4rem; z-index: var(--z-toast); background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-md); }
.skip:focus { top: var(--space-sm); }
a { text-decoration-color: var(--color-rule); }
a:hover { text-decoration-color: var(--color-accent); }
.nojs { font-size: var(--text-sm); }
.js .nojs { display: none; }
img { filter: contrast(1.04); }

/* ---- controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 var(--space-lg); border: 0; border-radius: 0; font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; cursor: pointer; color: var(--color-ink); background: none; }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--primary:active { background: var(--color-accent); }
.btn--secondary { border: var(--rule-bar) solid currentColor; }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn--secondary:active { background: var(--color-paper-3); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[disabled] { background: var(--color-paper-3); color: var(--color-muted); cursor: progress; }
.field { display: grid; gap: var(--space-2xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); min-width: 0; }
.field input, .field select, .search input { height: 3rem; width: 100%; padding: 0 var(--space-sm); border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-plate); color: var(--color-ink); font-size: var(--text-md); }
.field input:hover, .field select:hover, .search input:hover { background: var(--color-paper); }
.field input:focus-visible, .field select:focus-visible, .search input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; background: var(--color-plate); }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: var(--space-2xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.seg__row { display: flex; flex-wrap: wrap; }
.seg label { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs); min-height: 3rem; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-ink); margin-right: calc(-1 * var(--rule-bar)); background: var(--color-plate); color: var(--color-ink); font-weight: 500; cursor: pointer; }
.seg label:hover { background: var(--color-accent-soft); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; position: relative; }

/* ---- the bar: the name, a search, three links ---- */
.bar { border-bottom: var(--rule-bar) solid var(--color-ink); }
.bar__in { display: flex; align-items: center; gap: var(--space-md) var(--space-xl); min-height: var(--bar-h); flex-wrap: wrap; padding-block: var(--space-sm); }
.wordmark { font: 700 1.5rem/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.search { display: flex; flex: 1 1 18rem; max-width: 36rem; margin-left: auto; }
.search input { border: var(--rule-bar) solid var(--color-ink); border-right: 0; min-width: 0; }
.search .btn { flex: none; }
.bar nav { display: flex; gap: var(--space-lg); }
.bar nav a { font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; padding-block: var(--space-sm); border-bottom: 2px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current] { border-bottom-color: var(--color-accent); }

/* ---- cards: the page's one container ---- */
.card { display: block; margin: 0; background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); min-width: 0; }
a.card { text-decoration: none; color: var(--color-ink); transition: box-shadow var(--dur-micro) var(--ease-out); }
a.card:hover { box-shadow: var(--shadow-card-hover); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding: var(--space-sm) var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); font-size: var(--text-sm); }
.card--plain .card__cap { border-top: 0; min-height: 6rem; align-items: end; }
.card__name { font-weight: 500; color: var(--color-ink); }
.card__cap .code { color: var(--color-accent); text-align: right; }
.card__cap--credit { flex-wrap: wrap; color: var(--color-muted); }

/* ---- the first screen: the head, and India drawn in forts ---- */
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; min-height: min(calc(100svh - var(--bar-h)), 51rem); padding-block: var(--space-xl); }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { font-size: var(--text-hero); max-width: 12ch; }
.hero__go, .sec__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__map { justify-self: end; width: min(100%, 39rem); }
.hero__map .map { width: 100%; height: auto; max-height: 39rem; padding: var(--space-sm); }
.map__coast { stroke: var(--color-rule); stroke-width: 1.3; fill: none; stroke-linejoin: round; }
.map__dot { fill: var(--color-ink); }
.mapbox { position: relative; }
.mapbox img { display: block; width: 100%; height: auto; aspect-ratio: auto; filter: none; }
.mapbox .map--over { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }
.map__dot--on { fill: var(--color-accent); stroke: var(--color-plate); stroke-width: 0.8; }
.map a:hover .map__dot--on, .map a:focus-visible .map__dot--on { fill: var(--color-ink); }
.map__t { font: 500 14px var(--font-outlier); fill: var(--color-ink); paint-order: stroke; stroke: var(--color-plate); stroke-width: 4px; stroke-linejoin: round; }
.map__tick { stroke: var(--color-accent); stroke-width: 1.6; fill: none; }

/* ---- sections: a question, its answer, then the thing itself ---- */
.sec { padding-top: var(--section-gap); }
.sec--first { padding-top: var(--section-gap-s); }
.sec__in { display: grid; gap: var(--space-xl); }
.sec__head { display: grid; gap: var(--space-md); justify-items: start; }
.sec__head h2 { font-size: var(--text-section); max-width: 22ch; }
.sec__top { display: grid; gap: var(--space-md); padding-bottom: var(--space-xl); justify-items: start; }
.tablewrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); }
.spec th, .spec td { text-align: left; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.spec thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.spec tbody th { font-weight: 500; font-size: var(--text-lg); color: var(--color-ink); }
.spec td.code, .spec th.code { text-align: right; white-space: nowrap; }
.spec td:last-child, .spec th:last-child { padding-right: 0; }
.spec--city th:first-child { width: 28%; }
.spec--city .code { width: 9rem; padding-right: var(--space-xl); }
.spec tbody tr:hover { background: var(--color-accent-soft); }
.spec tbody th a { text-decoration: none; }
.spec tbody th a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.spec--facts tbody th { font-size: var(--text-sm); color: var(--color-muted); width: 34%; }
.spec--facts td { color: var(--color-ink); }
.spec__go, .spec__note { font-size: var(--text-sm); }
.spec__note { color: var(--color-muted); }
.spec__code { color: var(--color-accent); }
.row__ref, .ref { font-size: var(--text-xs); font-weight: 500; }
.ref { color: var(--color-muted); }
.rail { list-style: none; margin: 0; padding: 0 var(--space-md) var(--space-md) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.rail li { display: grid; gap: var(--space-lg); align-content: start; }
.rail__cap { display: flex; justify-content: space-between; gap: var(--space-sm); align-items: baseline; font-weight: 500; }
.rail__cap .code { color: var(--color-muted); }
.band { margin-top: var(--section-gap); background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-3xl); --color-focus: var(--color-accent-soft); }
.band__in { display: grid; gap: var(--space-2xl); }
.band__text { display: grid; gap: var(--space-md); }
.band h2 { color: var(--color-paper); font-size: var(--text-section); }
.band .lead, .band a { color: var(--color-paper); }
.band__figs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.band__figs > div { display: grid; gap: var(--space-xs); border-top: var(--rule-bar) solid var(--color-paper); padding-top: var(--space-md); }
.band__n { margin: 0; font: 700 var(--text-band)/0.9 var(--font-display); letter-spacing: -0.04em; color: var(--color-paper); }
.band__figs dt { font-weight: 500; color: var(--color-paper); }
.close__body { display: grid; gap: var(--space-lg); justify-items: start; }
.sec--close h2 { font-size: var(--text-display); max-width: 14ch; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.rows li { display: grid; gap: var(--space-xs); align-content: start; padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); }
.rows h3 { font-size: var(--text-title); }

/* ---- a page's head ---- */
.head { padding-top: var(--space-xl); }
.head__in { display: grid; gap: var(--space-md); justify-items: start; }
.head h1 { font-size: var(--text-display-s); max-width: 22ch; }
.head__note { font-size: var(--text-sm); max-width: 66ch; }
.crumbs { display: flex; gap: var(--space-md); font-size: var(--text-sm); font-weight: 500; }

/* ---- one fort ---- */
.fort__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; padding-right: var(--space-md); }
.fort__photo img { aspect-ratio: auto; max-height: 38rem; object-fit: cover; }
.fort__photo--map .mapbox { margin: var(--space-md); max-width: 26rem; }
.fort__spec { display: grid; gap: var(--space-md); align-content: start; }
.fort__note { font-size: var(--text-sm); color: var(--color-muted); max-width: 46ch; }
.fort__locator { width: min(100%, 15rem); box-shadow: none; }
.fort__locator .mapbox { margin: var(--space-xs); }
.quote { margin: 0; display: grid; gap: var(--space-md); align-content: center; min-height: 19rem; padding: var(--space-xl); background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: var(--text-xl); line-height: 1.4; color: var(--color-ink); max-width: 34em; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* ---- a state, the A to Z, near me ---- */
.state__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.state__map { position: sticky; top: var(--space-lg); box-shadow: none; }
.state__map .mapbox { margin: var(--space-md); }
.az { display: grid; gap: var(--space-lg); }
.field--wide { max-width: 30rem; }
.az__group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11fr); gap: var(--gap-columns); border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-md); }
.az__group h2 { font-size: var(--text-section); }
.az__group ul { list-style: none; margin: 0; padding: 0; columns: 3 14rem; column-gap: var(--gap-columns); }
.az__group li { break-inside: avoid; padding-block: var(--space-2xs); }
.az__group a { font-weight: 500; color: var(--color-ink); }
.az__st { font-size: var(--text-xs); color: var(--color-muted); }
.tool { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; padding-right: var(--space-md); }
.tool__in { display: grid; gap: var(--space-lg); padding: var(--space-lg); }
.tool__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tool__msg { font-weight: 500; color: var(--color-ink); }
.tool__msg:empty { display: none; }
.tool__note { font-size: var(--text-sm); color: var(--color-muted); }
.tool__note:empty { display: none; }
.tool__out { display: grid; gap: var(--space-md); min-width: 0; }
.tool__count { font: 700 var(--text-xl)/1.15 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }
.tool__count:empty { display: none; }

/* ---- the World Heritage listings ---- */
.listing__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.listing__pic { padding: 0 var(--space-md) var(--space-md) 0; }
.listing__pic img { aspect-ratio: 4 / 3; }
.listing__text { display: grid; gap: var(--space-md); align-content: start; }
.listing h2 { font-size: var(--text-section); }
.listing h3 { font-size: var(--text-title); padding-top: var(--space-sm); }
.facts { margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.facts > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-2xs) var(--gap-columns); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.facts dd { margin: 0; color: var(--color-ink); }
.chips { list-style: none; margin: 0; padding: var(--space-sm) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.chips li { display: grid; }
.chip, .chips__off { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 2.75rem; padding: 0 var(--space-md); box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); background: var(--color-plate); font-weight: 500; color: var(--color-ink); text-decoration: none; }
.chip:hover { background: var(--color-accent-soft); }
.chips__off { box-shadow: inset 0 0 0 1px var(--color-rule); color: var(--color-muted); background: none; }

/* ---- sources, the foot ---- */
.doc { padding-bottom: var(--space-xl); }
.doc h3 { font-size: var(--text-title); }
.doc__meta { font-size: var(--text-sm); padding-block: var(--space-xs) var(--space-sm); }
.register { margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.register > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-2xs) var(--gap-columns); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); scroll-margin-top: var(--space-xl); }
.register > div:target { background: var(--color-accent-soft); }
.register dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding-left: var(--space-xs); }
.register dd { margin: 0; }
.register blockquote { margin: 0; color: var(--color-ink); }
.register blockquote p { max-width: 70ch; }
.register__on { font-size: var(--text-xs); padding-top: var(--space-2xs); }
.lost { padding-block: var(--space-3xl); display: grid; gap: var(--space-lg); }
.foot { margin-top: var(--section-gap); border-top: var(--rule-bar) solid var(--color-ink); padding-block: var(--space-xl) var(--space-lg); }
.foot__mark { line-height: 0.85; }
.foot__mark .wordmark { font-size: var(--text-mast); letter-spacing: -0.04em; display: block; }
.foot__links { list-style: none; margin: 0; padding: var(--space-xl) 0 var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); }
.foot__links a { font-weight: 500; color: var(--color-ink); display: inline-block; padding-block: var(--space-xs); }
.foot__line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm) var(--space-lg); font-size: var(--text-sm); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md); }

@media (max-width: 60rem) {
  .hero__in, .fort__in, .state__in, .tool, .listing__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__in { min-height: 0; }
  .hero__map { justify-self: start; }
  .state__map { position: static; max-width: 24rem; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .az__group { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}
@media (max-width: 40rem) {
  .bar__in { gap: var(--space-xs) var(--space-md); }
  .bar nav { order: 2; margin-left: auto; gap: var(--space-md); }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .band__figs, .facts > div, .register > div { grid-template-columns: minmax(0, 1fr); }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail, .fort__in, .tool, .listing__pic { padding-right: var(--space-xs); }
  .card { box-shadow: 8px 8px 0 var(--color-paper-3); }
  .hero__go .btn, .tool__go .btn { flex: 1 1 auto; }
  .spec th, .spec td { padding-right: var(--space-sm); }
  .spec tbody th { font-size: var(--text-md); }
}
