/*
 * theme.css — Downtown Grand Junction.
 *
 * The world: a working commercial street that answered a bust with sculpture.
 * Weathered bronze patina against warm bleached paper, red rock kept back for
 * the pieces that are actually red. Saira carries the block numerals on its
 * width axis; Faustina reads the artists' own words.
 */

/* ---------------------------------------------------------------- faces */

@font-face {
	font-family: "Saira";
	src: url("fonts/Saira-var.subset.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 50% 125%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Faustina";
	src: url("fonts/Faustina-var.subset.woff2") format("woff2-variations");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Faustina";
	src: url("fonts/Faustina-var-Italic.subset.woff2") format("woff2-variations");
	font-weight: 300 800;
	font-style: italic;
	font-display: swap;
}

/* ---------------------------------------------------------------- tokens */

:root {
	--ink: #14231f;
	--paper: #f4f1e8;
	--patina: #37796a;
	--deep: #1f4e44;
	/* 4.61:1 inside .record__flag's own tint; #b4451f read 4.32:1 there. */
	--rock: #ad421e;
	--brass: #c99a3e;
	/* Clears 4.5:1 on every canvas this text lands on: white 5.96, --paper 5.28,
	   and the three panel tints (#e9eae0 4.91, #eee6d2 4.79, #eee2d6 4.68).
	   At #6e7a72 the .eyebrow label alone failed 39 times on the homepage. */
	--stone: #5c6660;
	--white: #fff;

	--line: color-mix(in srgb, var(--patina) 28%, transparent);
	--line-strong: color-mix(in srgb, var(--patina) 55%, transparent);
	--shadow: 0 1px 0 var(--line), 0 12px 28px -22px rgb(20 35 31 / 55%);

	--display: "Saira", "Helvetica Neue", Arial, sans-serif;
	--body: "Faustina", Georgia, "Times New Roman", serif;

	--wrap: 74rem;
	--gutter: clamp(1.15rem, 4vw, 2.75rem);
	--rhythm: clamp(3rem, 7vw, 5.5rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: clamp(1rem, 0.97rem + 0.2vw, 1.09rem);
	line-height: 1.62;
	font-synthesis-weight: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--rock);
}

:focus-visible {
	outline: 3px solid var(--brass);
	outline-offset: 2px;
	border-radius: 2px;
}

.wrap {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 0.6rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 600;
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stone);
}

.section-head {
	margin: 0 0 0.35rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 650;
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem);
	line-height: 1.12;
	letter-spacing: -0.012em;
}

.section-head--light {
	color: var(--paper);
}

.section-sub {
	margin: 0 0 1.9rem;
	max-width: 46ch;
	color: var(--stone);
}

/* Text that belongs to the accessible name but would repeat what the eye
 * already read from the line beneath it. */
.hidden-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--paper);
	padding: 0.75rem 1.1rem;
	z-index: 60;
}

.skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

/* ------------------------------------------------------------- the motif */

/*
 * The block-number plate: rule, numeral, rule. It appears as the walk's section
 * marker and as the identifier on every sculpture and business, so the same
 * object does the joining everywhere it shows up.
 */
.block-number {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.28em;
	font-family: var(--display);
	color: var(--patina);
	line-height: 1;
}

.block-number__rule {
	display: block;
	height: 2px;
	background: currentcolor;
}

.block-number__num {
	font-variation-settings: "wdth" 62, "wght" 700;
	letter-spacing: 0.02em;
	font-variant-numeric: lining-nums tabular-nums;
	text-align: center;
}

.block-number__label {
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 500;
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--stone);
	text-align: center;
}

.block-number--tag {
	min-width: 3.4rem;
}

.block-number--tag .block-number__num {
	font-size: 1.15rem;
}

.block-number--tag .block-number__rule {
	height: 1.5px;
}

.block-number--lead {
	min-width: 5.5rem;
}

.block-number--lead .block-number__num {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
}

.block-number--hero {
	min-width: min(100%, 16rem);
	color: var(--patina);
}

.block-number--hero .block-number__num {
	font-size: clamp(4rem, 2.4rem + 8vw, 8.5rem);
}

.block-number--hero .block-number__rule {
	height: 3px;
}

/* ------------------------------------------------------------- proto bar */

.proto-banner {
	background: var(--ink);
	color: var(--paper);
	padding: 0.5rem var(--gutter);
}

.proto-banner__text {
	margin: 0 auto;
	max-width: var(--wrap);
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 400;
	font-size: 0.78rem;
	line-height: 1.45;
	letter-spacing: 0.005em;
}

.proto-banner strong {
	font-variation-settings: "wdth" 88, "wght" 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-right: 0.4rem;
}

/* -------------------------------------------------------------- utility */

.utility {
	background: var(--deep);
	color: var(--paper);
}

.utility__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	min-height: 2.6rem;
	padding-block: 0.3rem;
}

.utility__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.35rem;
}

.utility a {
	color: inherit;
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 500;
	font-size: 0.82rem;
	text-decoration: none;
	padding-block: 0.4rem;
	display: inline-block;
	min-height: 24px;
}

.utility a:hover {
	color: var(--brass);
	text-decoration: underline;
}

/*
 * The switch is wrapped in its own <nav> so it is not content outside a
 * landmark. `display: contents` keeps the anchor itself as the flex item of
 * .utility__inner, so the wrapper adds semantics and changes no geometry.
 */
.utility__cross {
	display: contents;
}

.utility__switch {
	border-bottom: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
}

/* ------------------------------------------------------------- masthead */

.masthead {
	background: var(--paper);
	border-bottom: 3px solid var(--patina);
}

.masthead__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	padding-block: clamp(0.9rem, 2vw, 1.4rem);
}

.lockup {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--ink);
}

.lockup__mark {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.32rem;
	width: 1.55rem;
	flex: none;
}

.lockup__rule {
	display: block;
	height: 3px;
	background: var(--patina);
}

.lockup__rule:last-child {
	width: 62%;
	background: var(--rock);
}

.lockup__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: var(--display);
}

.lockup__name {
	font-variation-settings: "wdth" 76, "wght" 700;
	font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.4rem);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.lockup__place {
	font-variation-settings: "wdth" 100, "wght" 400;
	font-size: clamp(0.78rem, 0.72rem + 0.3vw, 0.92rem);
	letter-spacing: 0.115em;
	text-transform: uppercase;
	color: var(--patina);
	margin-top: 0.22rem;
}

/* -------------------------------------------------------------- omnibox */

.omnibox {
	position: relative;
	max-width: 32rem;
	justify-self: end;
	width: 100%;
}

.omnibox--page {
	max-width: 40rem;
	justify-self: start;
	margin-bottom: 2rem;
}

.omnibox__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.omnibox__field {
	display: flex;
	border: 2px solid var(--ink);
	background: var(--white);
}

.omnibox__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.72rem 0.85rem;
	font-family: var(--body);
	font-size: 1rem;
	color: var(--ink);
	min-height: 44px;
}

.omnibox__input::placeholder {
	color: var(--stone);
	opacity: 1;
}

.omnibox__input:focus {
	outline: none;
}

.omnibox__field:focus-within {
	outline: 3px solid var(--brass);
	outline-offset: 2px;
}

.omnibox__go {
	flex: none;
	border: 0;
	border-left: 2px solid var(--ink);
	background: var(--patina);
	color: var(--white);
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 600;
	font-size: 0.85rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding-inline: 1.05rem;
	min-height: 44px;
	cursor: pointer;
}

.omnibox__go:hover {
	background: var(--deep);
}

.omnibox__hint {
	margin: 0.4rem 0 0;
	font-size: 0.8rem;
	color: var(--stone);
}

.masthead .omnibox__hint {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.omnibox__results {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: 40;
	inset-inline: 0;
	top: calc(100% + 0.35rem);
	background: var(--white);
	border: 2px solid var(--ink);
	box-shadow: 0 18px 40px -24px rgb(20 35 31 / 60%);
	max-height: min(28rem, 70vh);
	overflow-y: auto;
}

.omnibox--page .omnibox__results {
	position: static;
	max-height: none;
	margin-top: 0.6rem;
}

.obgroup__head {
	margin: 0;
	padding: 0.5rem 0.85rem 0.3rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 650;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--stone);
	border-top: 1px solid var(--line);
}

.obgroup:first-child .obgroup__head {
	border-top: 0;
}

.obitem {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	padding: 0.55rem 0.85rem;
	text-decoration: none;
	color: var(--ink);
	border-top: 1px solid color-mix(in srgb, var(--stone) 18%, transparent);
	min-height: 44px;
}

.obitem:first-of-type {
	border-top: 0;
}

.obitem:hover,
.obitem[data-active="true"] {
	background: color-mix(in srgb, var(--patina) 12%, transparent);
	color: var(--ink);
}

.obitem__num {
	font-family: var(--display);
	font-variation-settings: "wdth" 62, "wght" 700;
	font-variant-numeric: tabular-nums;
	color: var(--patina);
	flex: none;
	min-width: 2.6rem;
}

.obitem__name {
	font-weight: 600;
}

.obitem__meta {
	margin-left: auto;
	font-size: 0.8rem;
	color: var(--stone);
	text-align: right;
}

.obempty {
	padding: 0.9rem 0.85rem;
	margin: 0;
	color: var(--stone);
	font-size: 0.9rem;
}

/* ---------------------------------------------------------- primary nav */

.primary {
	background: var(--paper);
	border-top: 1px solid var(--line);
}

.primary__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 clamp(1rem, 2.4vw, 2.1rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary__list a {
	display: inline-block;
	padding: 0.7rem 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 550;
	font-size: 0.92rem;
	letter-spacing: 0.015em;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	min-height: 44px;
}

.primary__list a:hover {
	border-bottom-color: var(--rock);
	color: var(--rock);
}

.primary__list a[aria-current="page"] {
	border-bottom-color: var(--patina);
	color: var(--patina);
}

.menu-btn {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	border: 2px solid var(--ink);
	color: var(--ink);
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.82rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 0.5rem 0.75rem;
	min-height: 44px;
	cursor: pointer;
}

.menu-btn__bars,
.menu-btn__bars::before,
.menu-btn__bars::after {
	display: block;
	width: 1.05rem;
	height: 2px;
	background: currentcolor;
}

.menu-btn__bars {
	position: relative;
}

.menu-btn__bars::before,
.menu-btn__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-btn__bars::before {
	top: -5px;
}

.menu-btn__bars::after {
	top: 5px;
}

/* -------------------------------------------------------------- opener */

.opener {
	padding-block: clamp(2.2rem, 5vw, 4rem) 0;
}

.opener__inner {
	display: grid;
	gap: clamp(1.8rem, 4vw, 3.4rem);
	align-items: start;
}

.opener__head {
	margin: 0 0 1rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 620;
	font-size: clamp(2.1rem, 1.3rem + 3.5vw, 3.9rem);
	line-height: 1.03;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

.opener__head em {
	font-style: normal;
	color: var(--patina);
	font-variation-settings: "wdth" 72, "wght" 700;
}

.opener__sub {
	margin: 0 0 2rem;
	max-width: 44ch;
	font-size: 1.06rem;
	color: color-mix(in srgb, var(--ink) 82%, transparent);
}

/* ----------------------------------------------------------- block rail */

.rail {
	border-top: 3px solid var(--ink);
	padding-top: 1rem;
}

.rail__head {
	margin: 0 0 1rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 650;
	font-size: 0.85rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--ink);
}

.rail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.6rem;
}

.rail__link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 0.5rem;
	padding: 0.85rem 0.6rem;
	background: var(--white);
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	min-height: 44px;
	transition: border-color 120ms ease, transform 120ms ease;
}

.rail__link:hover {
	border-color: var(--patina);
	transform: translateY(-2px);
}

.rail__counts {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 95, "wght" 450;
	font-size: 0.74rem;
	color: var(--stone);
	text-align: center;
}

.rail__count--art {
	color: var(--rock);
	font-variation-settings: "wdth" 95, "wght" 600;
}

.rail__all {
	margin: 1.1rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 95, "wght" 550;
	font-size: 0.95rem;
}

/* -------------------------------------------------------- opener figure */

.opener__figure {
	margin: 0;
	position: relative;
}

.opener__figure img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center 42%;
	border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
	background: color-mix(in srgb, var(--stone) 16%, transparent);
}

.opener__caption {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	margin-top: 0.9rem;
	font-size: 0.9rem;
}

.opener__captiontext {
	color: var(--stone);
}

.opener__captiontext strong {
	color: var(--ink);
	font-weight: 700;
	display: block;
}

.opener__where {
	display: block;
	margin-top: 0.25rem;
	color: var(--patina);
	font-style: italic;
}

/* ------------------------------------------------------------- preview */

.preview {
	padding-block: var(--rhythm);
}

.preview__intro {
	margin-bottom: 2rem;
}

.preview__more {
	margin: 2.2rem 0 0;
}

.btn {
	display: inline-block;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.9rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 0.85rem 1.5rem;
	text-decoration: none;
	min-height: 44px;
}

.btn:hover {
	background: var(--patina);
	color: var(--white);
}

/* The second choice in a pair, so the pair reads as one primary and one aside. */
.btn--quiet {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--quiet:hover {
	background: transparent;
	color: var(--deep);
	box-shadow: inset 0 0 0 1.5px var(--patina);
}

/* --------------------------------------------------------------- block */

.block {
	border-top: 1px solid var(--line-strong);
	padding-top: 1.4rem;
	margin-bottom: 2.6rem;
}

.block__head {
	display: flex;
	align-items: baseline;
	gap: 1.2rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
}

.block__head .block-number {
	flex: none;
}

.block__title {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 86, "wght" 620;
	font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
	letter-spacing: -0.01em;
}

.block__tally {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 95, "wght" 450;
	font-size: 0.85rem;
	color: var(--stone);
}

.block__art {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 1.6rem;
}

.art {
	display: grid;
	grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
	gap: 1.1rem;
	align-items: start;
}

.art--nophoto {
	grid-template-columns: minmax(0, 1fr);
}

.art__photo img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
	background: color-mix(in srgb, var(--stone) 16%, transparent);
}

.art__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
}

.art__title {
	margin: 0.25rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 620;
	font-size: 1.18rem;
	letter-spacing: -0.005em;
}

.art__by,
.piece__by {
	margin: 0;
	font-size: 0.92rem;
	color: var(--stone);
}

.art__awards,
.piece__awards {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.art__awards li,
.piece__awards li {
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 600;
	font-size: 0.68rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ink);
	background: color-mix(in srgb, var(--brass) 42%, transparent);
	padding: 0.22rem 0.5rem;
}

.art__statement {
	margin: 0.5rem 0 0;
	font-size: 0.95rem;
	color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.art__price,
/*
 * The join, at the number.
 *
 * On the five Main Street numbers where a sculpture and a storefront share an
 * address, each side names the other. It is the one line on the page that
 * states the structural argument out loud, so it is set on the patina rule
 * rather than left to read as another meta line.
 */
.piece__join,
.shop__join {
	margin: 0.55rem 0 0;
	padding-left: 0.7rem;
	border-left: 2px solid var(--patina);
	font-size: 0.9rem;
	color: var(--ink);
}

.piece__join a,
.shop__join a {
	color: inherit;
	text-decoration-color: var(--patina);
	text-underline-offset: 0.18em;
}

.piece__price {
	margin: 0.55rem 0 0;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.art__pricelabel,
.piece__pricelabel {
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 550;
	font-size: 0.68rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--stone);
}

.art__priceval,
.piece__priceval {
	font-family: var(--display);
	font-variation-settings: "wdth" 78, "wght" 650;
	font-variant-numeric: tabular-nums;
	font-size: 1.05rem;
	color: var(--rock);
}

/* --------------------------------------------------------------- shops */

.block__shops,
.shops {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.shop {
	display: grid;
	grid-template-columns: 3.6rem 1fr;
	gap: 1rem;
	padding: 0.95rem 0;
	border-top: 1px solid color-mix(in srgb, var(--stone) 24%, transparent);
	align-items: start;
}

.shop:first-child {
	border-top: 1px solid var(--line-strong);
}

.shop__name {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 600;
	font-size: 1.02rem;
	line-height: 1.28;
}

.shop__kind {
	margin: 0.15rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.78rem;
	color: var(--stone);
	letter-spacing: 0.02em;
}

.shop__sub::before {
	content: " · ";
}

.shop__desc {
	margin: 0.4rem 0 0;
	font-size: 0.93rem;
	color: color-mix(in srgb, var(--ink) 76%, transparent);
	max-width: 58ch;
}

/*
 * Gift-card acceptance is a per-listing fact, but stamping an identical row on
 * every business turns the walk into wallpaper. When a whole block accepts, the
 * list says so once at the top; the per-shop pill appears only on mixed blocks.
 */
.shop__card {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.35rem 0 0;
	padding: 0.15rem 0.45rem 0.15rem 0.35rem;
	border: 1px solid color-mix(in srgb, var(--patina) 50%, transparent);
	background: color-mix(in srgb, var(--patina) 10%, transparent);
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 550;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	color: var(--deep);
}

.shop__cardmark {
	width: 1.05rem;
	height: 0.72rem;
	flex: none;
	border: 1.5px solid var(--patina);
	background: linear-gradient(
		to bottom,
		var(--patina) 0 32%,
		transparent 32% 100%
	);
}

.shops__all {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.9rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 500;
	font-size: 0.85rem;
	color: var(--deep);
}

.shops__empty {
	margin: 1.2rem 0 0;
	color: var(--stone);
	font-style: italic;
}

/* -------------------------------------------------------------- origin */

.origin {
	background: var(--deep);
	color: var(--paper);
	padding-block: var(--rhythm);
}

.origin__inner {
	display: grid;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.origin__year {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 58, "wght" 700;
	font-size: clamp(5rem, 3rem + 11vw, 12rem);
	line-height: 0.82;
	letter-spacing: 0.01em;
	/* 3.10:1 on --deep at display size; 78% patina was 2.70:1. */
	color: color-mix(in srgb, var(--patina) 70%, var(--paper));
	font-variant-numeric: tabular-nums;
	border-top: 3px solid currentcolor;
	border-bottom: 3px solid currentcolor;
	padding-block: 0.06em;
}

.origin__text p {
	margin: 0 0 1rem;
	max-width: 58ch;
	color: color-mix(in srgb, var(--paper) 88%, transparent);
}

.origin__link {
	margin-top: 1.5rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 550;
}

/* --brass is tuned for the light canvas; on --deep it reads 3.66:1, so the
   origin block lifts it locally rather than moving the global token. */
.origin__link a {
	color: #d4b067;
}

.origin__link a:hover {
	color: var(--white);
}

/* --------------------------------------------------------------- tasks */

.tasks {
	padding-block: var(--rhythm);
}

.tasks__list {
	margin: 1.4rem 0 0;
	border-top: 3px solid var(--ink);
}

.tasks__row {
	display: grid;
	grid-template-columns: minmax(0, 15rem) 1fr;
	gap: 0.4rem 2rem;
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--line);
}

.tasks__row dt {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 620;
	font-size: 1.12rem;
}

.tasks__row dt a {
	text-decoration: none;
	color: var(--ink);
	border-bottom: 2px solid var(--patina);
	display: inline-block;
	min-height: 24px;
}

.tasks__row dt a:hover {
	color: var(--rock);
	border-bottom-color: var(--rock);
}

.tasks__row dd {
	margin: 0;
	color: color-mix(in srgb, var(--ink) 78%, transparent);
	max-width: 62ch;
}

/* ------------------------------------------------------------ pageheads */

.pagehead {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(1.8rem, 4vw, 3rem);
}

.pagehead--block {
	background: var(--paper);
}

.pagehead__title {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 640;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.pagehead__lede {
	margin: 0.7rem 0 0;
	max-width: 56ch;
	font-size: 1.04rem;
	color: color-mix(in srgb, var(--ink) 80%, transparent);
}

.crumbs {
	margin-bottom: 0.9rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 500;
	font-size: 0.85rem;
}

.pagehead--block .pagehead__inner {
	display: grid;
	gap: 0.6rem;
	justify-items: start;
}

/* ------------------------------------------------- counted page graphics */

/*
 * Four graphics drawn from the content model, not decoration: the shape of the
 * walk, where the gift card works, the arrival sequence parking's record does
 * establish, and what that record is missing.
 *
 * They deliberately do NOT share a frame. The first version gave all four the
 * same bordered box and the card-monoculture lint caught it immediately, which
 * was the correct call — four different kinds of statement wearing one costume
 * is the exact smell. Each now gets the treatment its content asks for.
 */
.walkstrip,
.spread,
.ledger,
.sequence {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.walkstrip__figure figcaption,
.spread__figure figcaption,
.ledger__figure figcaption,
.sequence__figure figcaption {
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--stone);
}

/* The walk is a band of street: rules above and below, nothing boxing it in. */
.walkstrip__figure {
	margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
	padding-block: clamp(1rem, 2.4vw, 1.6rem);
	border-block: 1px solid var(--line);
}

.walkstrip__figure figcaption {
	margin-top: 0.8rem;
}

/* The merchant spread reads as a pulled-out finding, so it hangs off a rule. */
.spread__figure {
	margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
	padding-left: clamp(0.9rem, 2vw, 1.4rem);
	border-left: 3px solid var(--patina);
}

.spread__figure figcaption {
	margin-top: 0.6rem;
}

/* The arrival sequence is a held moment: a tinted field, no border. */
.sequence__figure {
	margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
	padding: clamp(1.1rem, 2.6vw, 1.8rem);
	background: color-mix(in srgb, var(--patina) 7%, var(--white));
}

.sequence__figure figcaption {
	margin-top: 0.9rem;
}

/* The coverage ledger needs no frame at all — the filled and hollow cells are
 * already the structure, and boxing a list of absences overstates it. */
.ledger__figure {
	margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
}

.ledger__figure figcaption {
	margin-top: 0.7rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------- street index */

.street {
	padding-block: clamp(2rem, 4vw, 3.2rem);
}

.street__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: 1.4rem;
	counter-reset: none;
}

.street__card {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	text-decoration: none;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color 120ms ease, transform 120ms ease;
}

.street__card:hover {
	border-color: var(--patina);
	transform: translateY(-3px);
}

/*
 * The marker travels with the reader.
 *
 * Saira's width axis is the whole motion. The block plate on the card at
 * reading position opens from the compressed card identifier (wdth 62) to the
 * open section marker (wdth 100), and its rules reach full strength — the same
 * numeral doing the same job, arriving the way a street number arrives when you
 * keep walking. Nothing animates on its own: the marker moves only because the
 * reader did, and no colour changes, so contrast is identical in both states.
 */
.street__item .block-number__num {
	transition: font-variation-settings 260ms ease;
}

.street__item .block-number__rule {
	opacity: 0.55;
	transition: opacity 260ms ease;
}

.street__item[data-walk-here] .block-number__num {
	font-variation-settings: "wdth" 100, "wght" 700;
}

.street__item[data-walk-here] .block-number__rule {
	opacity: 1;
}

/*
 * Reduced motion keeps the cue and drops the travel: the current block is still
 * marked, it just arrives instantly instead of opening.
 */
@media (prefers-reduced-motion: reduce) {
	.street__item .block-number__num,
	.street__item .block-number__rule {
		transition: none;
	}
}

.street__figure img,
.street__nophoto {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 40%;
	display: block;
}

.street__nophoto {
	background:
		repeating-linear-gradient(
			135deg,
			color-mix(in srgb, var(--patina) 12%, transparent) 0 10px,
			transparent 10px 20px
		),
		var(--paper);
}

.street__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	padding: 1rem 1.1rem 1.25rem;
}

.street__name {
	font-family: var(--display);
	font-variation-settings: "wdth" 86, "wght" 620;
	font-size: 1.25rem;
	margin-top: 0.3rem;
}

.street__tally {
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.82rem;
	color: var(--stone);
}

.street__lead {
	margin-top: 0.35rem;
	font-style: italic;
	font-size: 0.92rem;
	color: var(--patina);
}

.street__aside {
	margin-top: var(--rhythm);
	border-top: 3px solid var(--ink);
	padding-top: 1.6rem;
}

.offmain {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.offmain__item {
	display: grid;
	grid-template-columns: 5.5rem 1fr auto;
	gap: 1rem;
	align-items: baseline;
	padding: 0.85rem 0;
	border-top: 1px solid color-mix(in srgb, var(--stone) 24%, transparent);
}

.offmain__title {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 1.02rem;
}

.offmain__by {
	color: var(--stone);
	font-size: 0.9rem;
}

.sourcenote {
	margin-top: var(--rhythm);
	padding: 1.1rem 1.2rem;
	background: color-mix(in srgb, var(--patina) 9%, transparent);
	border-left: 3px solid var(--patina);
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--ink) 80%, transparent);
	max-width: 72ch;
}

/* ----------------------------------------------------------- block page */

.blockrail {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--ink);
	color: var(--paper);
}

.blockrail--flat {
	position: static;
	background: transparent;
	color: inherit;
	margin-top: 1.6rem;
}

.blockrail__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 0.4rem;
}

.blockrail__label {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--paper) 65%, transparent);
	flex: none;
}

.blockrail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem;
}

.blockrail__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.1rem;
	min-height: 44px;
	padding-inline: 0.4rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 66, "wght" 650;
	font-variant-numeric: tabular-nums;
	font-size: 1.05rem;
	color: inherit;
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.blockrail__link:hover {
	color: var(--brass);
	border-bottom-color: var(--brass);
}

.blockrail__link[aria-current="page"] {
	color: var(--white);
	border-bottom-color: var(--patina);
	background: color-mix(in srgb, var(--patina) 40%, transparent);
}

.blockrail--flat .blockrail__link {
	color: var(--patina);
	border: 1px solid var(--line);
}

.blockpage {
	padding-block: clamp(2rem, 4vw, 3.2rem);
	scroll-margin-top: 4rem;
}

.standing,
.open,
.onblock {
	margin-bottom: var(--rhythm);
}

.standing__list {
	display: grid;
	gap: clamp(1.8rem, 3.5vw, 3rem);
	margin-top: 1.6rem;
}

/*
 * Mobile-first single column. The two-column alternating layout lives entirely
 * inside the wide breakpoint below, because `.piece:nth-child(even)` outranks a
 * plain `.piece` rule and would otherwise keep its columns at every width — which
 * squeezed a photo-less piece into a one-word-wide column on a phone.
 */
.piece {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.2rem, 3vw, 2.4rem);
	align-items: start;
	padding-bottom: clamp(1.8rem, 3.5vw, 3rem);
	border-bottom: 1px solid var(--line);
}

.piece:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.piece--nophoto .piece__body {
	max-width: 62ch;
}

.piece__photo {
	margin: 0;
}

.piece__photo img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
	background: color-mix(in srgb, var(--stone) 16%, transparent);
}

.piece__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.piece__title {
	margin: 0.3rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 640;
	font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.95rem);
	letter-spacing: -0.012em;
	line-height: 1.08;
}

.piece__statement {
	margin: 0.9rem 0 0;
	padding-left: 1rem;
	border-left: 3px solid color-mix(in srgb, var(--patina) 45%, transparent);
	max-width: 54ch;
}

.piece__statement p {
	margin: 0;
	font-style: italic;
	color: color-mix(in srgb, var(--ink) 84%, transparent);
}

.piece__statement footer {
	margin-top: 0.45rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 500;
	font-size: 0.72rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--stone);
	font-style: normal;
}

.open__head {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 1.2rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.8rem;
	min-height: 36px;
	border: 1px solid var(--line-strong);
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 500;
	font-size: 0.82rem;
}

.chip:hover {
	border-color: var(--patina);
	color: var(--deep);
}

.chip[aria-current="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.chip__n {
	font-variant-numeric: tabular-nums;
	color: var(--stone);
	font-size: 0.75rem;
}

.chip[aria-current="true"] .chip__n {
	color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.onblock__list {
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.6rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 550;
}

.onblock__note {
	margin: 0.9rem 0 0;
	font-size: 0.87rem;
	color: var(--stone);
	max-width: 62ch;
}

.keepwalking {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 3px solid var(--ink);
	padding-top: 1.3rem;
}

.keepwalking__link {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	text-decoration: none;
	color: var(--ink);
	min-height: 44px;
}

.keepwalking__link--next {
	margin-left: auto;
	align-items: flex-end;
	text-align: right;
}

.keepwalking__dir {
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 600;
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--stone);
}

.keepwalking__link:hover .block-number {
	color: var(--rock);
}

.keepwalking__link:hover .keepwalking__dir {
	color: var(--rock);
}

/* --------------------------------------------------------------- prose */

.prose {
	padding-block: clamp(2rem, 4vw, 3.4rem);
	max-width: 68ch;
}

.prose h1 {
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 640;
	font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin: 0 0 0.8rem;
}

.prose--404 {
	min-height: 42vh;
}

/* At 375px "That one isn't on Main Street." dropped "Street." onto a line of
   its own. Balancing the heading is the same control the opener already uses. */
.prose--404 h1 {
	text-wrap: balance;
}

/* -------------------------------------------------------------- footer */

.footer {
	background: var(--ink);
	color: var(--paper);
	padding-block: var(--rhythm) 2rem;
	margin-top: var(--rhythm);
}

.footer__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 2rem;
}

.footer__name {
	margin: 0 0 0.5rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 76, "wght" 700;
	font-size: 1.15rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.footer__note {
	margin: 0;
	font-size: 0.88rem;
	color: color-mix(in srgb, var(--paper) 72%, transparent);
	max-width: 34ch;
}

.footer__head {
	margin: 0 0 0.7rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 600;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--brass);
}

.footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.15rem;
}

.footer__nav a {
	color: var(--paper);
	text-decoration: none;
	font-size: 0.93rem;
	display: inline-block;
	padding-block: 0.3rem;
	min-height: 24px;
}

.footer__nav a:hover {
	color: var(--brass);
	text-decoration: underline;
}

.footer__legal {
	margin-top: 2.4rem;
	padding-top: 1.2rem;
	border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
}

.footer__legal p {
	margin: 0;
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--paper) 62%, transparent);
	max-width: 78ch;
}

/* ------------------------------------------------------- split pagehead */

/*
 * The two long indexes open with a photograph beside their opening line rather
 * than above it. Both usable frames of downtown are portrait, and a wide crop of
 * a portrait photograph cuts the sculpture off at the knees, so the picture
 * keeps its own shape and the words sit next to it.
 */
.pagehead--split {
	background: var(--paper);
	border-bottom: 3px solid var(--patina);
	padding-block: clamp(1.5rem, 3vw, 2.2rem);
}

.pagehead__split {
	display: grid;
	gap: clamp(1.4rem, 4vw, 2.8rem);
	align-items: center;
}

.pagehead__note {
	margin: 1rem 0 0;
	max-width: 54ch;
	font-size: 0.88rem;
	color: var(--stone);
	border-left: 2px solid var(--line-strong);
	padding-left: 0.85rem;
}

.pagehead__figure {
	margin: 0;
	max-width: 22rem;
}

/* Landscape frames get the room portrait ones do not need. */
.pagehead__figure--wide {
	max-width: 32rem;
}

/*
 * The full-width street shot. It runs edge to edge because the thing it shows —
 * the curve of Main Street and the planted medians down the middle of it — is
 * the one fact about this place that a cropped column cannot carry.
 */
.streetshot {
	margin: 0;
	position: relative;
	border-bottom: 3px solid var(--patina);
}

.streetshot img {
	width: 100%;
	max-height: 26rem;
	object-fit: cover;
	object-position: center 62%;
}

.streetshot__caption {
	background: var(--ink);
	color: var(--paper);
	padding: 0.85rem var(--gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
}

.streetshot__text {
	max-width: 68ch;
	font-size: 0.92rem;
	line-height: 1.5;
}

/* Attribution the licence requires, kept legible rather than hidden. */
.credit {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 98, "wght" 400;
	font-size: 0.73rem;
	letter-spacing: 0.02em;
	color: var(--stone);
}

.streetshot__caption .credit {
	margin-top: 0;
	flex: none;
	color: color-mix(in srgb, var(--paper) 62%, transparent);
}

.credit a {
	color: inherit;
	text-decoration-color: color-mix(in srgb, currentcolor 45%, transparent);
}

.credit a:hover {
	color: var(--rock);
}

.streetshot__caption .credit a:hover {
	color: var(--brass);
}

.pagehead__figure img {
	width: 100%;
	border: 1px solid var(--line-strong);
}

.pagehead__figure figcaption {
	margin-top: 0.6rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--stone);
}

/* ----------------------------------------------------------- long index */

/*
 * A single column, not a sidebar. The shared contract holds the discovery
 * surface to a quarter of the viewport so it can stay stuck to the top without
 * eating the results, and a column of stacked facets cannot fit in that budget
 * at any width. Laid across the top instead, the same facets fit in two short
 * rows and the list underneath gets the full measure.
 */
.index {
	display: grid;
	gap: clamp(1.2rem, 3vw, 1.8rem);
	padding-block: clamp(1.6rem, 4vw, 2.8rem) clamp(2.5rem, 6vw, 4rem);
	align-items: start;
}

.index__main {
	min-width: 0;
}

.index__empty {
	margin: 1.6rem 0 0;
	color: var(--stone);
	font-style: italic;
}

/*
 * The discovery bar. It stays in reach while the list scrolls because the
 * count is the thing a person checks after every choice, and a count you have
 * to scroll back up to read is a count nobody reads.
 */
.indexbar {
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-top: 3px solid var(--patina);
	padding: clamp(0.75rem, 2vw, 1rem);
	display: grid;
	gap: 0.75rem;
	align-content: start;
}

/* Grid and flex children default to min-width:auto, which lets the search field
 * push past a narrow sidebar instead of shrinking inside it. */
.indexbar,
.indexbar__form,
.indexbar__field,
.facet {
	min-width: 0;
}

.indexbar__form {
	display: grid;
	gap: 0.4rem;
	margin: 0;
}

.indexbar__label {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.74rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--stone);
}

.indexbar__field {
	display: flex;
	border: 1.5px solid var(--patina);
	background: var(--paper);
}

/*
 * Focusing the field scrolls it into view by the smallest amount that works,
 * which lands it flush with the bottom edge on the taller pageheads. The margin
 * keeps a gap there so the field a person just tabbed to is never half-clipped
 * against the fold.
 */
.indexbar__input {
	scroll-margin-block: 1.75rem;
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.5rem 0.6rem;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
}

.indexbar__input::placeholder {
	color: var(--stone);
}

.indexbar__go {
	flex: none;
	border: 0;
	border-left: 1.5px solid var(--patina);
	background: var(--patina);
	color: var(--white);
	padding-inline: 0.85rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 600;
	font-size: 0.78rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	cursor: pointer;
}

.indexbar__go:hover {
	background: var(--deep);
}

.indexbar__count {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.83rem;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--deep);
}

.indexbar__clear {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 500;
	font-size: 0.82rem;
}

/* ------------------------------------------------------------- facets */

.indexbar__facets {
	display: grid;
	gap: 0.65rem;
	min-width: 0;
}

.facet__label {
	margin: 0 0 0.35rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--stone);
}

/* One scrollable row per facet group, at every width. */
.facet__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0.2rem;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	gap: 0.35rem;
}

.facet__link {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	min-height: 32px;
	padding: 0.32rem 0.6rem;
	white-space: nowrap;
	text-decoration: none;
	color: var(--ink);
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--patina) 6%, transparent);
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.87rem;
	line-height: 1.3;
}

.facet__link:hover {
	background: color-mix(in srgb, var(--patina) 16%, transparent);
	color: var(--deep);
}

.facet__link.is-on {
	background: var(--deep);
	color: var(--paper);
}

.facet__n {
	flex: none;
	font-variant-numeric: lining-nums tabular-nums;
	font-variation-settings: "wdth" 62, "wght" 600;
	color: var(--stone);
}

.facet__link.is-on .facet__n {
	color: color-mix(in srgb, var(--paper) 78%, transparent);
}

/* -------------------------------------------------------------- listings */

.listings {
	list-style: none;
	margin: 0;
	padding: 0;
}

.listing {
	display: grid;
	grid-template-columns: 4.2rem minmax(0, 1fr);
	gap: 1.1rem;
	padding: 1rem 0;
	border-top: 1px solid color-mix(in srgb, var(--stone) 24%, transparent);
	align-items: start;
}

.listing:first-child {
	border-top: 2px solid var(--line-strong);
}

.listing:last-child {
	border-bottom: 1px solid color-mix(in srgb, var(--stone) 24%, transparent);
}

.listing__name {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 620;
	font-size: 1.06rem;
	line-height: 1.25;
	letter-spacing: -0.005em;
}

.listing__kind {
	margin: 0.18rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.78rem;
	letter-spacing: 0.03em;
	color: var(--stone);
}

.listing__sub::before {
	content: " · ";
}

.listing__desc {
	margin: 0.45rem 0 0;
	font-size: 0.93rem;
	color: color-mix(in srgb, var(--ink) 76%, transparent);
	max-width: 62ch;
}

.listing__limit {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	margin: 0.45rem 0 0;
	max-width: 58ch;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--deep);
}

.listing__limit .shop__cardmark {
	position: relative;
	top: 0.1em;
}

.listing__where {
	margin: 0.45rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.79rem;
	letter-spacing: 0.02em;
	color: var(--stone);
}

.listing__where a {
	color: inherit;
	text-decoration-color: var(--line-strong);
}

.listing__where a:hover {
	color: var(--rock);
}

/* ------------------------------------------------------------- siblings */

.siblings {
	margin-top: clamp(2rem, 5vw, 3rem);
	padding-top: clamp(1.4rem, 4vw, 2rem);
	border-top: 3px solid var(--patina);
}

.siblings__groups {
	display: grid;
	gap: 1.6rem;
	margin-top: 1.2rem;
}

.siblings__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1px;
}

.siblings__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.8rem;
	min-height: 34px;
	padding: 0.4rem 0.6rem;
	text-decoration: none;
	color: var(--ink);
	background: color-mix(in srgb, var(--patina) 6%, transparent);
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 450;
	font-size: 0.92rem;
}

.siblings__link:hover {
	background: color-mix(in srgb, var(--patina) 16%, transparent);
	color: var(--deep);
}

.siblings__link.is-on {
	background: var(--deep);
	color: var(--paper);
}

.siblings__n {
	flex: none;
	font-variation-settings: "wdth" 62, "wght" 600;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--stone);
}

.siblings__link.is-on .siblings__n {
	color: color-mix(in srgb, var(--paper) 78%, transparent);
}

.siblings__all {
	margin: 1.5rem 0 0;
}

@media (min-width: 44rem) {
	.siblings__groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}
}

/* --------------------------------------------------------------- records */

.record {
	display: grid;
	grid-template-columns: 4.2rem minmax(0, 1fr);
	gap: 1.1rem;
	padding: 0.85rem 0;
	border-top: 1px solid color-mix(in srgb, var(--stone) 24%, transparent);
	align-items: start;
}

.record:first-child {
	border-top: 2px solid var(--line-strong);
}

.record:last-child {
	border-bottom: 1px solid color-mix(in srgb, var(--stone) 24%, transparent);
}

.record__title {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 1rem;
	line-height: 1.28;
}

.record__title a {
	color: var(--ink);
	text-decoration-color: var(--line-strong);
}

.record__title a:hover {
	color: var(--rock);
}

.record__when {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0.2rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.83rem;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--stone);
}

/* A cancelled meeting is a fact about the record, not an error in it. */
.record__flag {
	padding: 0.1rem 0.4rem;
	border: 1px solid color-mix(in srgb, var(--rock) 45%, transparent);
	background: color-mix(in srgb, var(--rock) 9%, transparent);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-variation-settings: "wdth" 92, "wght" 550;
	color: var(--rock);
}

.record__file {
	margin: 0.35rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 100, "wght" 350;
	font-size: 0.74rem;
	letter-spacing: 0.005em;
	color: var(--stone);
	overflow-wrap: anywhere;
}

/* --------------------------------------------------------------- charts */

/*
 * A counted column: one cell per record, so the reader adds them up rather than
 * reading a length off an axis that is not there. The rule under each column and
 * the numeral beneath it are the same plate the walk uses.
 */
.chart {
	margin: 0 0 2rem;
	border: 1px solid var(--line);
	background: var(--white);
	padding: clamp(0.9rem, 2.5vw, 1.3rem);
}

.chart__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.chart--wide .chart__svg {
	min-width: 34rem;
}

.chart--narrow .chart__svg {
	max-width: 28rem;
}

.chart__scroll {
	overflow-x: auto;
	overscroll-behavior-x: contain;
}

.chart__num {
	font-family: var(--display);
	font-variation-settings: "wdth" 62, "wght" 700;
	font-size: 19px;
	font-variant-numeric: lining-nums tabular-nums;
	fill: var(--patina);
	letter-spacing: 0.02em;
}

.chart__caption {
	margin-top: 1rem;
	border-top: 1px solid var(--line);
	padding-top: 0.8rem;
}

.chart__text {
	margin: 0 0 0.7rem;
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--ink) 78%, transparent);
	max-width: 60ch;
}

.chart__legend {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.15rem;
}

.chart__key {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.78rem;
	color: var(--ink);
}

.chart__swatch {
	width: 0.85rem;
	height: 0.62rem;
	flex: none;
}

.chart__swatch--deep { background: var(--deep); }
.chart__swatch--patina { background: var(--patina); }
.chart__swatch--rock { background: var(--rock); }
.chart__swatch--brass { background: var(--brass); }
.chart__swatch--stone { background: var(--stone); }
.chart__swatch--ink { background: var(--ink); }

.chart__keyn {
	font-variant-numeric: lining-nums tabular-nums;
	font-variation-settings: "wdth" 62, "wght" 600;
	color: var(--stone);
}

/* ------------------------------------------------------------ catalogue */

.catalogue {
	padding-block: clamp(1.8rem, 4vw, 2.8rem) clamp(2.5rem, 6vw, 4rem);
}

.catalogue__set + .catalogue__set {
	margin-top: clamp(2.4rem, 6vw, 4rem);
}

.catalogue__set .section-sub {
	margin-bottom: 1.6rem;
}

/* Three counted facts, set in the plate's numerals, above the catalogue proper. */
.factstrip {
	display: grid;
	gap: 0;
	margin: 0 0 clamp(2rem, 5vw, 3rem);
	border-top: 3px solid var(--patina);
	border-bottom: 1px solid var(--line);
}

.factstrip__row {
	display: grid;
	gap: 0.2rem;
	padding: 0.9rem 0;
	border-top: 1px solid var(--line);
}

.factstrip__row:first-child {
	border-top: 0;
}

.factstrip dt {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--stone);
}

.factstrip dd {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 78, "wght" 500;
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--ink);
}

.awarded {
	margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.awarded__list {
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.awarded__link {
	display: grid;
	gap: 0.15rem;
	padding: 0.7rem 0.9rem;
	text-decoration: none;
	color: var(--ink);
	background: color-mix(in srgb, var(--brass) 13%, transparent);
	border-left: 3px solid var(--brass);
}

.awarded__link:hover {
	background: color-mix(in srgb, var(--brass) 24%, transparent);
	color: var(--deep);
}

.awarded__title {
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 620;
	font-size: 1.02rem;
}

.awarded__prizes {
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.8rem;
	color: var(--stone);
}

.piece__walk {
	margin: 0.85rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.79rem;
	color: var(--stone);
}

.piece__walk a {
	color: inherit;
	text-decoration-color: var(--line-strong);
}

.piece__walk a:hover {
	color: var(--rock);
}

@media (min-width: 44rem) {
	.factstrip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(1rem, 3vw, 2.4rem);
	}

	.factstrip__row {
		border-top: 0;
	}

	.awarded__list {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	}
}

/* ---------------------------------------------------------------- events */

.events,
.giftcard,
.hub,
.ways,
.contact,
.district {
	padding-block: clamp(1.8rem, 4vw, 2.8rem) clamp(2.5rem, 6vw, 4rem);
}

.eventlist {
	list-style: none;
	margin: 0 0 clamp(2.4rem, 6vw, 3.6rem);
	padding: 0;
}

.event {
	display: grid;
	gap: 0.5rem 1.6rem;
	padding: 1.4rem 0;
	border-top: 1px solid var(--line);
	align-items: start;
}

.event:first-child {
	border-top: 3px solid var(--patina);
}

.event:last-child {
	border-bottom: 1px solid var(--line);
}

.event__when {
	display: grid;
	gap: 0.15rem;
	align-content: start;
}

.event__cadence {
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 600;
	font-size: 0.94rem;
	line-height: 1.25;
	color: var(--deep);
	font-variant-numeric: lining-nums tabular-nums;
}

.event__span {
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 400;
	font-size: 0.8rem;
	color: var(--stone);
}

.event__title {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 82, "wght" 620;
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
	line-height: 1.15;
	letter-spacing: -0.012em;
}

.event__where {
	margin: 0.2rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 450;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--stone);
}

.event__blurb {
	margin: 0.6rem 0 0;
	max-width: 60ch;
}

.event__link {
	margin: 0.6rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 500;
	font-size: 0.83rem;
}

/* The worked example: one number resolving four separate records. */
.joined {
	background: var(--ink);
	color: var(--paper);
	padding: clamp(1.5rem, 4vw, 2.4rem);
	margin-bottom: clamp(2rem, 5vw, 3rem);
}

.joined .section-head {
	color: var(--paper);
}

.joined .section-sub {
	color: color-mix(in srgb, var(--paper) 68%, transparent);
}

.joined__figure {
	margin: 1.4rem 0 0;
	max-width: 18rem;
}

.joined__figure img {
	width: 100%;
	border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent);
}

.joined__figure figcaption {
	margin-top: 0.55rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.joined__list {
	display: grid;
	gap: 0;
	margin: 0;
}

.joined__row {
	display: grid;
	gap: 0.15rem;
	padding: 0.75rem 0;
	border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
}

.joined__row dt {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.71rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--brass);
}

.joined__row dd {
	margin: 0;
	font-size: 0.98rem;
}

.joined__row dd a {
	color: var(--paper);
}

.joined__row dd a:hover {
	color: var(--brass);
}

.joined__note {
	margin: 1.3rem 0 0;
	max-width: 62ch;
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--paper) 74%, transparent);
}

/* ------------------------------------------------------------- giftcard */

.giftcard__buy,
.giftcard__use,
.giftcard__terms {
	margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.buylist {
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.buylist__item {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--patina);
	padding: 1.1rem;
}

.buylist__where {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 86, "wght" 620;
	font-size: 1.08rem;
}

.buylist__at {
	margin: 0.3rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 78, "wght" 500;
	font-size: 1rem;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--deep);
}

.buylist__when {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--ink) 76%, transparent);
}

.buylist__aside {
	margin: 0.6rem 0 0;
	padding-top: 0.6rem;
	border-top: 1px solid var(--line);
	font-size: 0.85rem;
	font-style: italic;
	color: var(--stone);
}

.giftcard__cta,
.hub__cta,
.district__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1.4rem 0 0;
}

.giftcard__limit {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	max-width: 62ch;
	padding: 0.8rem 1rem;
	background: color-mix(in srgb, var(--patina) 9%, transparent);
	border-left: 3px solid var(--patina);
	font-size: 0.92rem;
	color: var(--deep);
}

.terms {
	margin: 1.2rem 0 0;
	border-top: 2px solid var(--line-strong);
}

.terms__row {
	display: grid;
	gap: 0.2rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line);
}

.terms__row dt {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--stone);
}

.terms__row dd {
	margin: 0;
	max-width: 62ch;
}

/* ------------------------------------------------------------------ hub */

.hub__why,
.hub__mix,
.hub__apply,
.district__programs,
.district__shared,
.district__bones {
	margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.hub__cols,
.district__cols {
	display: grid;
	gap: 1.1rem;
	margin-top: 1rem;
	max-width: 74ch;
}

.hub__cols p,
.district__cols p {
	margin: 0;
}

.mix {
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	gap: 0.7rem;
}

.mix__link {
	display: grid;
	gap: 0.1rem;
	padding: 0.9rem 1rem;
	text-decoration: none;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 3px solid var(--patina);
}

.mix__link:hover {
	border-left-color: var(--rock);
	color: var(--deep);
}

.mix__n {
	font-family: var(--display);
	font-variation-settings: "wdth" 62, "wght" 700;
	font-size: 1.7rem;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--patina);
}

.mix__name {
	font-family: var(--display);
	font-variation-settings: "wdth" 94, "wght" 450;
	font-size: 0.85rem;
}

.hub__rule {
	margin: 1rem 0 0;
	max-width: 66ch;
	padding-left: 0.9rem;
	border-left: 2px solid var(--line-strong);
}

.hub__note {
	margin: 1.2rem 0 0;
	max-width: 66ch;
	font-size: 0.9rem;
	color: var(--stone);
}

/* --------------------------------------------------------- getting here */

.ways__list {
	list-style: none;
	margin: 0 0 clamp(2.2rem, 5vw, 3.2rem);
	padding: 0;
	counter-reset: none;
}

.way {
	display: grid;
	gap: 0.4rem 1.6rem;
	padding: 1.3rem 0;
	border-top: 1px solid var(--line);
	align-items: start;
}

.way:first-child {
	border-top: 3px solid var(--patina);
}

.way:last-child {
	border-bottom: 1px solid var(--line);
}

.way__from {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 620;
	font-size: 1.2rem;
	line-height: 1.15;
}

.way__road {
	margin: 0.15rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 450;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--stone);
}

.way__text {
	margin: 0;
	max-width: 60ch;
}

.knowns {
	margin: 1.1rem 0 2rem;
	padding-left: 1.1rem;
	max-width: 66ch;
	display: grid;
	gap: 0.8rem;
}

/* --------------------------------------------------------------- contact */

.contact {
	display: grid;
	gap: clamp(1.6rem, 4vw, 2.6rem);
	align-items: start;
}

.contact__card {
	background: var(--ink);
	color: var(--paper);
	padding: clamp(1.3rem, 3vw, 1.9rem);
}

.contact__card .section-head {
	color: var(--paper);
}

.contact__address {
	display: grid;
	gap: 0.1rem;
	margin: 1rem 0 0;
	font-style: normal;
	font-family: var(--display);
	font-variation-settings: "wdth" 84, "wght" 500;
	font-size: 1.05rem;
	font-variant-numeric: lining-nums tabular-nums;
}

.contact__phone {
	margin: 0.8rem 0 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 68, "wght" 620;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	font-variant-numeric: lining-nums tabular-nums;
	line-height: 1;
}

.contact__phone a {
	color: var(--brass);
	text-decoration: none;
}

.contact__phone a:hover {
	color: var(--paper);
	text-decoration: underline;
}

.contact__hours,
.contact__also {
	margin: 0.9rem 0 0;
	font-size: 0.88rem;
	color: color-mix(in srgb, var(--paper) 76%, transparent);
	max-width: 40ch;
}

.msgform {
	display: grid;
	gap: 0.9rem;
	margin-top: 1.2rem;
}

.msgform__field {
	display: grid;
	gap: 0.28rem;
	margin: 0;
}

.msgform label {
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 550;
	font-size: 0.78rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--stone);
}

.msgform input[type="text"],
.msgform input[type="email"],
.msgform textarea {
	border: 1.5px solid var(--line-strong);
	background: var(--white);
	padding: 0.55rem 0.65rem;
	font: inherit;
	font-size: 0.98rem;
	color: var(--ink);
	min-height: 44px;
}

.msgform textarea {
	resize: vertical;
	line-height: 1.5;
}

.msgform input:focus-visible,
.msgform textarea:focus-visible {
	border-color: var(--patina);
}

.msgform__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0.3rem 0 0;
}

.msgform__consent input {
	width: 24px;
	height: 24px;
	flex: none;
	accent-color: var(--patina);
}

.msgform__consent label {
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--body);
	font-size: 0.92rem;
	color: var(--ink);
}

.msgform__send {
	margin: 0.4rem 0 0;
}

/* ------------------------------------------------------ creative district */

/*
 * The sibling skin. Only tokens change: the district runs warm because its own
 * writing runs warm, canyons and burning sunsets. Every structural rule above
 * this line applies unchanged, which is the argument the page is making.
 */
.route-creative-district {
	--paper: #f7efe3;
	--patina: #b4451f;
	--deep: #7c2c10;
	--rock: #37796a;
	--brass: #b8862c;
	--stone: #7b6a5e;
	--ink: #241610;

	/* Derived tokens resolve where they are declared, so the rules and shadows
	 * have to be re-derived here or they stay the DDA's green. */
	--line: color-mix(in srgb, var(--patina) 28%, transparent);
	--line-strong: color-mix(in srgb, var(--patina) 55%, transparent);
	--shadow: 0 1px 0 var(--line), 0 12px 28px -22px rgb(36 22 16 / 55%);
}

.pagehead--district {
	background: var(--paper);
	border-bottom: 3px solid var(--patina);
}

.programs {
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 0.8rem;
}

.program {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--patina);
	padding: 0.95rem 1rem;
}

.program__name {
	margin: 0;
	font-family: var(--display);
	font-variation-settings: "wdth" 86, "wght" 620;
	font-size: 1rem;
	line-height: 1.2;
}

.program__note {
	margin: 0.35rem 0 0;
	font-size: 0.87rem;
	color: color-mix(in srgb, var(--ink) 74%, transparent);
}

.bones {
	margin: 1.2rem 0 0;
	border-top: 2px solid var(--line-strong);
}

.bones__row {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}

.bones__row dt {
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 600;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--stone);
}

.bones__row dd {
	margin: 0;
	max-width: 66ch;
}

@media (min-width: 44rem) {
	.event {
		grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	}

	.way {
		grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	}

	.buylist {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.joined__row,
	.terms__row,
	.bones__row {
		grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
		gap: 1.4rem;
		align-items: baseline;
	}

	.msgform {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.msgform__field--wide,
	.msgform__consent,
	.msgform__send {
		grid-column: 1 / -1;
	}
}

@media (min-width: 58rem) {
	.contact {
		grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
	}

	.hub__cols,
	.district__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
		max-width: none;
	}
}

/* ---------------------------------------------------------- pagination */

[data-stoa-index-pagination] {
	margin-top: 1.8rem;
	border-top: 2px solid var(--line-strong);
	padding-top: 1rem;
}

[data-stoa-index-pagination] a,
[data-stoa-index-pagination] [aria-current="page"] {
	padding-inline: 0.7rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 550;
	font-size: 0.88rem;
	font-variant-numeric: lining-nums tabular-nums;
	text-decoration: none;
	border: 1px solid var(--line-strong);
}

[data-stoa-index-pagination] a:hover {
	background: color-mix(in srgb, var(--patina) 14%, transparent);
	border-color: var(--patina);
}

[data-stoa-index-pagination] [aria-current="page"] {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--paper);
}

@media (min-width: 48rem) {
	/* The search field and the running count share a line, which buys back the
	 * height the facet rows need inside the viewport budget. */
	.indexbar__form {
		grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
		grid-template-areas:
			"label label"
			"field count";
		align-items: center;
		column-gap: 1.1rem;
	}

	.indexbar__label {
		grid-area: label;
	}

	.indexbar__field {
		grid-area: field;
	}

	.indexbar__count {
		grid-area: count;
	}

	.indexbar__facets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62rem) {
	.pagehead__split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
	}

	/* A portrait frame wants a narrow column; a landscape one is wasted in it. */
	.pagehead__split:has(.pagehead__figure--wide) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
	}
}

/* ---------------------------------------------------------- breakpoints */

@media (min-width: 55rem) {
	.opener__inner {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	}

	.origin__inner {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.block__art {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/*
	 * Alternating the photo side keeps the walk from reading as a uniform grid.
	 * The column template flips with it, so the photo keeps its narrow column
	 * instead of inheriting the wide one when it moves to the right.
	 */
	.piece {
		grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
	}

	.piece:nth-child(even) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
	}

	.piece:nth-child(even) .piece__photo {
		order: 2;
	}

	.piece--nophoto,
	.piece--nophoto:nth-child(even) {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 62rem) {
	.masthead__inner {
		grid-template-columns: 1fr auto;
		row-gap: 0.9rem;
	}

	.omnibox {
		grid-column: 1 / -1;
		order: 3;
		max-width: none;
	}

	.menu-btn {
		display: inline-flex;
	}

	.primary {
		display: none;
	}

	.primary.is-open {
		display: block;
	}

	.primary__list {
		flex-direction: column;
		gap: 0;
	}

	.primary__list li {
		border-bottom: 1px solid var(--line);
	}

	.primary__list a {
		width: 100%;
		border-bottom: 0;
		border-left: 3px solid transparent;
		padding-left: 0.6rem;
	}

	.primary__list a[aria-current="page"] {
		border-left-color: var(--patina);
		border-bottom-color: transparent;
	}
}

@media (max-width: 55rem) {
	/*
	 * These cards go full width at this breakpoint, and the reflex was to make
	 * them landscape so a photo would not dominate the column. Every sculpture
	 * photograph here is 3:4 portrait of a tall object, so 4:3 cut the subject
	 * out: Bonsai became a shop row with a small shape low in frame and its
	 * plinth gone. Square keeps the height under control without cropping the
	 * thing the caption names.
	 */
	.piece__photo img,
	.art__photo img {
		aspect-ratio: 1 / 1;
		object-position: center 38%;
	}

	/*
	 * Above this breakpoint the opener is headline beside sculpture. Stacked,
	 * source order put the photograph after the entire block rail — about
	 * 990px down, so the first phone screen was type alone on a site whose
	 * whole subject is a sculpture standing on a street. `.opener__say` is a
	 * grouping div with no semantics of its own, so it dissolves into the
	 * opener grid here and the photograph follows the headline directly. The
	 * deck moves under it, where it introduces the rail it actually describes.
	 * Spacing switches from the children's own margins to one row-gap so the
	 * two do not stack on the seams the reorder creates.
	 */
	.opener__say {
		display: contents;
	}

	.opener__inner {
		row-gap: 1rem;
	}

	.opener .eyebrow,
	.opener__head,
	.opener__sub {
		margin-bottom: 0;
	}

	.opener .eyebrow {
		order: 1;
	}

	.opener__head {
		order: 2;
	}

	.opener__figure {
		order: 3;
	}

	/* Square for the same reason as the block cards above: 3:4 of a tall
	   sculpture runs the fold, and 4:3 would cut the sculpture in half. */
	.opener__figure img {
		aspect-ratio: 1 / 1;
		object-position: center 38%;
	}

	.opener__sub {
		order: 4;
	}

	.opener .rail {
		order: 5;
	}

	.tasks__row {
		grid-template-columns: 1fr;
	}

	.offmain__item {
		grid-template-columns: 4.4rem 1fr;
		row-gap: 0.2rem;
	}

	.offmain__by {
		grid-column: 2;
	}

	.keepwalking {
		flex-direction: column;
	}

	.keepwalking__link--next {
		align-items: flex-start;
		text-align: left;
		margin-left: 0;
	}
}

@media (max-width: 34rem) {
	/* On a narrow screen the suggestion's kind belongs under its name, not
	   fighting it for the same line. */
	.obitem {
		display: grid;
		grid-template-columns: 2.6rem 1fr;
		align-items: start;
		gap: 0.15rem 0.7rem;
	}

	.obitem__num {
		grid-row: 1 / span 2;
	}

	.obitem__meta {
		margin-left: 0;
		text-align: left;
	}

	.art {
		grid-template-columns: 1fr;
	}

	.shop {
		grid-template-columns: 3rem 1fr;
		gap: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.rail__link:hover,
	.street__card:hover {
		transform: none;
	}
}

@media print {
	.proto-banner,
	.utility,
	.omnibox,
	.primary,
	.menu-btn,
	.blockrail,
	.keepwalking,
	.footer__nav {
		display: none;
	}

	body {
		background: #fff;
	}

	.piece {
		break-inside: avoid;
	}
}

/* Facet spread: real per-block counts, drawn from primitives rather than art. */
.blockchart {
	width: 100%;
	height: auto;
	display: block;
}

/* ---------------------------------------------------------------- search results
   The /search/ page. The dropdown is for someone mid-keystroke; this is for
   someone who pressed Enter or arrived from a shared URL, so it is a plain
   ranked list with the kind named under each hit rather than a grouped menu. */

.searchresults {
	margin-top: 2rem;
}

.searchresults__head {
	margin: 0 0 1.1rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 640;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	color: var(--stone);
}

.searchresults__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.searchresults__item {
	border-bottom: 1px solid var(--line);
}

.searchresults__link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.75rem;
	padding: 0.85rem 0.2rem 0.3rem;
	min-height: 44px;
	text-decoration: none;
	color: var(--ink);
}

.searchresults__link:hover .searchresults__name,
.searchresults__link:focus-visible .searchresults__name {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.searchresults__name {
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 620;
	font-size: 1.12rem;
}

.searchresults__meta {
	color: var(--stone);
	font-size: 0.95rem;
}

.searchresults__kind {
	margin: 0 0 0.8rem;
	padding: 0 0.2rem;
	font-family: var(--display);
	font-variation-settings: "wdth" 88, "wght" 650;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--patina);
}

.searchresults__empty {
	padding: 1.1rem 1.2rem 1.3rem;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--patina) 6%, transparent);
}

.searchresults__empty p {
	margin: 0 0 0.9rem;
}

.searchresults__recover {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.searchresults__recover a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--deep);
}
