/* Floga New York — transit-sign system: black enamel bands, white grotesk, flat stacked panels. */

@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #111111;
	--ink-raised: #1b1b1c;
	--paper: #ffffff;
	--field: #f1f0f2;
	--studio: #5d5a62;
	--on-ink-mute: #b9b6bd;
	--on-paper-mute: #57545c;
	--line-on-ink: rgba(255, 255, 255, 0.24);
	--error: #b3261e;

	--route-one: #ee352e;
	--route-ac: #0039a6;
	--route-bd: #f55d14;

	--font: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--m: clamp(16px, 4vw, 56px);
	--g: clamp(16px, 2vw, 28px);
	--rail-h: 64px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	color-scheme: dark;
	scrollbar-color: var(--studio) var(--ink);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--rail-h);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font: 400 1.0625rem/1.6 var(--font);
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	caret-color: currentColor;
}

::selection {
	background: var(--paper);
	color: var(--ink);
}

.story__body ::selection,
.contact__form ::selection,
.page__body ::selection {
	background: var(--ink);
	color: var(--paper);
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

.skip {
	position: absolute;
	left: var(--m);
	top: 8px;
	z-index: 100;
	padding: 10px 14px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	transform: translateY(-160%);
	transition: transform 0.2s var(--ease-out);
}

.skip:focus {
	transform: none;
}

/* Sign rule: the thin white line every panel carries along its top edge. */
.sign-rule {
	display: block;
	height: 2px;
	background: currentColor;
	transform-origin: left center;
}

.motion .sign-rule {
	transform: scaleX(0);
}

.icon {
	flex: none;
	width: 1em;
	height: 1em;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	font: 600 1rem/1 var(--font);
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
	transition: transform 0.3s var(--ease-out);
}

.btn:hover .icon,
.btn:focus-visible .icon {
	transform: translateX(4px);
}

.btn:active {
	transform: translateY(1px);
}

.btn--light {
	background: var(--paper);
	color: var(--ink);
}

.btn--light:hover {
	background: #e4e3e6;
}

.btn--dark {
	background: var(--ink);
	color: var(--paper);
}

.btn--dark:hover {
	background: #2b2b2d;
}

/* Rail: sticky top sign with the "you are here" bar */
.rail {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--rail-h);
	background: var(--ink);
	color: var(--paper);
}

.rail__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 100%;
	padding: 0 var(--m);
}

.rail__logo {
	display: block;
	flex: none;
	transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}

.rail__logo img {
	width: auto;
	height: 26px;
}

.rail[data-compact="false"] .rail__logo {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
}

.rail__nav {
	position: relative;
	display: flex;
	align-self: stretch;
	align-items: center;
	margin-left: auto;
}

.rail__nav ul {
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rail__nav a {
	display: block;
	padding: 8px 0;
	color: var(--on-ink-mute);
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color 0.2s var(--ease-out);
}

.rail__nav a:hover,
.rail__nav a[aria-current] {
	color: var(--paper);
}

.rail__here {
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--w, 0px);
	height: 4px;
	background: var(--paper);
	transform: translateX(var(--x, 0px));
	transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}

.rail__cta {
	min-height: 40px;
	padding: 0 14px;
	font-size: 0.9375rem;
}

/* Band: the first-viewport sign */
.band {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: max(290px, calc(38svh - var(--rail-h)));
	padding: clamp(36px, 6vh, 64px) var(--m) clamp(28px, 4.5vh, 48px);
	background: var(--ink);
}

.band > .sign-rule {
	position: absolute;
	top: 6px;
	left: var(--m);
	right: var(--m);
}

.band__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--g);
	row-gap: 36px;
	align-items: end;
}

.band__logo {
	grid-column: 1 / span 4;
	margin: 0;
}

.band__logo img {
	width: min(100%, 380px);
}

.band__sign {
	grid-column: 6 / -1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: clamp(14px, 1.8vw, 26px);
	row-gap: 22px;
}

.band__arrow {
	width: clamp(46px, 5vw, 80px);
	margin-top: 0.15em;
}

.band__arrow .icon {
	width: 100%;
	height: auto;
}

.band__where {
	margin: 0;
}

.band__line1 {
	display: block;
	font-weight: 600;
	font-size: clamp(2rem, 4.1vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.032em;
	text-wrap: balance;
}

.band__line2 {
	display: block;
	margin-top: 0.5em;
	color: var(--on-ink-mute);
	font-weight: 500;
	font-size: clamp(1.05rem, 1.5vw, 1.4rem);
	letter-spacing: -0.01em;
}

.band__actions {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}

/* Live open/closed mark: a solid dot when open, a ring when closed. */
.status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.status__dot {
	flex: none;
	width: 11px;
	height: 11px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.status[data-open="true"] .status__dot {
	background: currentColor;
}

/* Hero photograph */
.hero {
	position: relative;
	height: max(380px, 62svh);
	margin: 0;
	overflow: hidden;
	background: var(--studio);
}

.hero picture,
.hero img {
	width: 100%;
	height: 100%;
}

.hero img {
	object-fit: cover;
	object-position: 52% 7%;
	transform-origin: 52% 30%;
}

.motion .hero img {
	transform: scale(1.05);
}

.tag {
	position: absolute;
	bottom: clamp(16px, 2.5vw, 28px);
	right: var(--m);
	padding: 9px 12px;
	background: var(--ink);
	color: var(--paper);
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1.2;
}

/* Story */
.story {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	background: var(--ink);
}

.story__sign {
	grid-column: 1 / span 5;
	padding: clamp(56px, 8vw, 120px) var(--m);
}

.story__sign .sign-rule {
	margin-bottom: clamp(28px, 3vw, 40px);
}

.story__sign .sign__title {
	position: sticky;
	top: calc(var(--rail-h) + 48px);
}

.sign__title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(2.25rem, 4.4vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.032em;
}

.story__body {
	grid-column: 6 / -1;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	color: var(--ink);
}

.story__text {
	padding: clamp(56px, 8vw, 120px) var(--m) clamp(48px, 6vw, 88px) clamp(28px, 5vw, 88px);
}

.story__text p {
	max-width: 34em;
	margin: 0 0 1.1em;
}

.story__text .story__lead {
	margin-bottom: 1em;
	font-weight: 500;
	font-size: clamp(1.3rem, 1.9vw, 1.7rem);
	line-height: 1.38;
	letter-spacing: -0.015em;
}

.story__text .story__signoff {
	margin: 2em 0 0;
	font-weight: 600;
}

.story__strip {
	margin: auto 0 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-top: 2px solid var(--ink);
	background: var(--paper);
}

.story__strip picture,
.story__strip img {
	width: 100%;
	height: 100%;
}

.story__strip img {
	object-fit: cover;
	object-position: 50% 30%;
}

/* Pieces: photograph field with the directory board stacked on it */
.pieces {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	min-height: min(94svh, 900px);
	background: var(--studio);
}

.pieces__photo {
	position: relative;
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 0;
	overflow: hidden;
}

.pieces__photo picture,
.pieces__photo img {
	width: 100%;
	height: 100%;
}

.pieces__photo img {
	object-fit: cover;
	object-position: 36% 28%;
}

.pieces__photo .tag {
	right: auto;
	left: var(--m);
}

.board {
	position: relative;
	z-index: 1;
	grid-column: 8 / -1;
	grid-row: 1;
	align-self: end;
	margin: var(--m) var(--m) var(--m) 0;
	padding: clamp(28px, 3vw, 44px);
	background: var(--ink);
	color: var(--paper);
}

.board .sign-rule {
	margin-bottom: 28px;
}

.board .sign__title {
	font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.board__list {
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.board__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 20px;
	padding: 15px 0;
	border-top: 1px solid var(--line-on-ink);
}

.board__item {
	font-weight: 600;
	font-size: 1.2rem;
	letter-spacing: -0.012em;
}

.board__fur {
	color: var(--on-ink-mute);
	font-size: 0.9375rem;
}

.board__note {
	margin: 24px 0 0;
	padding-top: 18px;
	border-top: 2px solid var(--paper);
	font-weight: 500;
}

/* Visit: one black directory board, the map set into it */
.visit {
	background: var(--ink);
	color: var(--paper);
}

.visit__sign {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: clamp(16px, 2vw, 32px);
	align-items: start;
	padding: clamp(64px, 9vw, 128px) var(--m) clamp(44px, 5vw, 72px);
	background: var(--ink);
	color: var(--paper);
}

.visit__sign > .sign-rule {
	position: absolute;
	top: clamp(28px, 4vw, 52px);
	left: var(--m);
	right: var(--m);
}

.visit__arrow {
	width: clamp(46px, 5.6vw, 92px);
	margin-top: 0.2em;
}

.visit__arrow .icon {
	width: 100%;
	height: auto;
}

.visit__sign .sign__title {
	font-size: clamp(2.6rem, 6vw, 6rem);
	line-height: 0.98;
}

.visit__address {
	margin: 0.8em 0 0;
	color: var(--on-ink-mute);
	font-weight: 500;
	font-size: clamp(1.05rem, 1.6vw, 1.45rem);
	line-height: 1.4;
}

.visit__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.visit__info {
	grid-column: 1 / span 5;
	padding: 0 var(--m) clamp(56px, 6vw, 88px);
}

.visit__info > .sign-rule {
	height: 1px;
	margin-bottom: clamp(36px, 4vw, 56px);
	opacity: 0.5;
}

.info-h {
	margin: 40px 0 12px;
	color: var(--on-ink-mute);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0;
}

.sign-rule + .info-h {
	margin-top: 0;
}

.hours {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
	padding: 14px 0;
	border-top: 2px solid currentColor;
	vertical-align: baseline;
}

.hours tr:last-child th,
.hours tr:last-child td {
	border-bottom: 2px solid currentColor;
}

.hours th {
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
}

.d-short {
	display: none;
}

.hours td {
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
}

.today {
	display: inline-block;
	margin-left: 10px;
	padding: 3px 8px 4px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	font-size: 0.8125rem;
	line-height: 1.2;
	vertical-align: 1px;
}

.today[hidden] {
	display: none;
}

.status--board {
	margin-top: 18px;
}

.fine {
	margin: 6px 0 0;
	color: var(--on-ink-mute);
	font-size: 0.9375rem;
}

/* Level plate, as on a building directory */
.floor {
	display: inline-grid;
	place-items: center;
	width: 1.45em;
	height: 1.45em;
	margin-right: 0.55em;
	background: var(--paper);
	color: var(--ink);
	font-weight: 700;
	font-size: 0.9em;
	line-height: 1;
	vertical-align: 0.06em;
}

.subway {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 0;
	font-weight: 600;
	font-size: 1.125rem;
}

.routes {
	display: inline-flex;
	gap: 6px;
}

.route {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1;
}

.route--ac {
	background: var(--route-ac);
}

.route--bd {
	background: var(--route-bd);
}

.route--one {
	background: var(--route-one);
}

.visit__phone {
	margin: 0 0 40px;
	font-weight: 600;
	font-size: 1.5rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

.visit__phone a {
	text-decoration: none;
}

.visit__phone a:hover {
	text-decoration: underline;
}

.visit__map {
	position: relative;
	grid-column: 6 / -1;
	min-height: 600px;
	background: #dcdbdf;
	border-left: 2px solid var(--ink);
}

.visit__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.06);
}

/* Contact */
.contact {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	background: var(--ink);
}

.contact__aside {
	grid-column: 1 / span 5;
	padding: clamp(56px, 8vw, 120px) var(--m);
}

.contact__aside .sign-rule {
	margin-bottom: clamp(28px, 3vw, 40px);
}

.contact__lead {
	max-width: 26em;
	margin: 28px 0 40px;
	color: var(--on-ink-mute);
	font-size: 1.125rem;
}

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

.contact__list li {
	border-top: 1px solid var(--line-on-ink);
}

.contact__list li:last-child {
	border-bottom: 1px solid var(--line-on-ink);
}

.contact__list a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 0;
	font-weight: 500;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact__list a:hover span {
	text-decoration: underline;
}

.contact__list .icon {
	order: 2;
	width: 22px;
	height: 22px;
	margin-left: auto;
}

.contact__form {
	grid-column: 6 / -1;
	padding: clamp(56px, 8vw, 120px) var(--m) clamp(56px, 8vw, 120px) clamp(28px, 5vw, 88px);
	background: var(--paper);
	color: var(--ink);
}

/* Contact Form 7 (plugin CSS is disabled; the essentials live here) */
.wpcf7 .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7-form-control-wrap {
	position: relative;
	display: block;
}

.f-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
}

.f-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.f-wide {
	grid-column: 1 / -1;
}

.f-field label {
	font-weight: 600;
	font-size: 0.9375rem;
}

.f-field label span {
	color: var(--on-paper-mute);
	font-weight: 400;
}

.f-field input,
.f-field select,
.f-field textarea {
	width: 100%;
	padding: 14px 14px 12px;
	border: 0;
	border-bottom: 2px solid var(--ink);
	border-radius: 0;
	background: var(--field);
	color: var(--ink);
	font: inherit;
	transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
	appearance: none;
}

.f-field textarea {
	min-height: 168px;
	resize: vertical;
}

.f-field select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	cursor: pointer;
}

.f-field input:hover,
.f-field select:hover,
.f-field textarea:hover {
	background-color: #e9e8eb;
}

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
	outline: none;
	background-color: var(--paper);
	box-shadow: inset 0 0 0 2px var(--ink);
}

.f-field .wpcf7-not-valid {
	border-bottom-color: var(--error);
	background: #fbeeed;
}

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--error);
	font-weight: 500;
	font-size: 0.875rem;
}

.f-note {
	margin: 24px 0 0;
	color: var(--on-paper-mute);
	font-size: 0.9375rem;
}

.wpcf7-turnstile {
	margin-top: 24px;
}

.f-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 24px 0 0;
}

.f-actions .wpcf7-submit {
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font: 600 1rem/1 var(--font);
	cursor: pointer;
	transition: background-color 0.2s var(--ease-out);
	appearance: none;
}

.f-actions .wpcf7-submit:hover {
	background: #2b2b2d;
}

.f-actions .wpcf7-submit:disabled {
	cursor: progress;
	opacity: 0.6;
}

.wpcf7-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid var(--ink);
	border-right-color: transparent;
	border-radius: 50%;
}

.wpcf7 form.submitting .wpcf7-spinner {
	display: inline-block;
	animation: floga-spin 0.8s linear infinite;
}

@keyframes floga-spin {
	to {
		transform: rotate(360deg);
	}
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 16px;
	border: 2px solid var(--ink);
	font-weight: 500;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: var(--ink);
	color: var(--paper);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--error);
	color: var(--error);
}

/* Footer */
.footer {
	position: relative;
	padding: clamp(64px, 8vw, 112px) var(--m) 28px;
	background: var(--ink);
	color: var(--paper);
	border-top: 1px solid var(--line-on-ink);
}

.footer > .sign-rule {
	position: absolute;
	top: clamp(24px, 3vw, 36px);
	left: var(--m);
	right: var(--m);
}

.footer__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px var(--g);
	align-items: start;
}

.footer__logo {
	grid-column: 1 / span 4;
}

.footer__logo img {
	width: min(100%, 300px);
}

.footer__col {
	grid-column: span 3;
}

.footer__col:nth-child(2) {
	grid-column: 5 / span 3;
}

.footer__col:last-child {
	grid-column: span 2;
}

.footer__h {
	margin: 0 0 12px;
	color: var(--on-ink-mute);
	font-weight: 600;
	font-size: 0.9375rem;
}

.footer__col p {
	margin: 0;
	font-variant-numeric: tabular-nums;
}

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

.footer__social a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 3px 0;
	text-decoration: none;
}

.footer__social a:hover span {
	text-decoration: underline;
}

.footer__social .icon {
	width: 20px;
	height: 20px;
}

.footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: clamp(56px, 7vw, 96px);
	padding-top: 20px;
	border-top: 1px solid var(--line-on-ink);
	color: var(--on-ink-mute);
	font-size: 0.875rem;
}

.footer__base p {
	margin: 0;
}

.footer__base a {
	text-decoration: none;
}

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

/* Inner pages */
.page__sign {
	position: relative;
	padding: clamp(72px, 9vw, 128px) var(--m) clamp(40px, 5vw, 64px);
}

.page__sign > .sign-rule {
	position: absolute;
	top: clamp(28px, 4vw, 52px);
	left: var(--m);
	right: var(--m);
}

.page__body {
	padding: clamp(40px, 5vw, 72px) var(--m) clamp(72px, 8vw, 120px);
	background: var(--paper);
	color: var(--ink);
}

.page__body > * {
	max-width: 42rem;
}

/* Layout steps */
@media (max-width: 1180px) {
	.band__logo {
		grid-column: 1 / span 5;
	}

	.band__sign {
		grid-column: 6 / -1;
	}

	.board {
		grid-column: 7 / -1;
	}
}

@media (max-width: 900px) {
	:root {
		--rail-h: 100px;
	}

	/* The rail keeps its "you are here" row on phones: a second, ruled strip of section names. */
	.rail__inner {
		flex-wrap: wrap;
		align-content: stretch;
		column-gap: 16px;
		row-gap: 0;
	}

	.rail__logo {
		display: flex;
		align-items: center;
		height: 58px;
	}

	.rail__logo img {
		height: 22px;
	}

	.rail__cta {
		margin-left: auto;
	}

	.rail__nav {
		order: 3;
		flex-basis: 100%;
		height: 42px;
		margin-left: 0;
		border-top: 1px solid var(--line-on-ink);
	}

	.rail__nav ul {
		gap: 24px;
	}

	.rail__nav a {
		font-size: 0.875rem;
	}

	.rail__here {
		height: 3px;
	}

	.band {
		min-height: 0;
		padding-top: 36px;
	}

	.band__logo,
	.band__sign {
		grid-column: 1 / -1;
	}

	.band__logo img {
		width: min(72%, 300px);
	}

	.hero {
		height: max(280px, 40svh);
	}

	.story__strip {
		aspect-ratio: 4 / 3;
	}

	.hero img {
		object-position: 55% 18%;
	}

	.story__sign,
	.story__body {
		grid-column: 1 / -1;
	}

	.story__sign .sign__title {
		position: static;
	}

	.story__text {
		padding: 48px var(--m) 40px;
	}

	.pieces {
		min-height: 0;
	}

	.pieces__photo {
		aspect-ratio: 4 / 5;
	}

	.pieces__photo img {
		object-position: 34% 30%;
	}

	.board {
		grid-column: 1 / -1;
		grid-row: 2;
		margin: -64px var(--m) var(--m);
		position: relative;
	}

	.visit__info,
	.visit__map {
		grid-column: 1 / -1;
	}

	.visit__map {
		min-height: 440px;
		border-left: 0;
	}

	.contact__aside,
	.contact__form {
		grid-column: 1 / -1;
	}

	.contact__form {
		padding: 48px var(--m) 64px;
	}

	.footer__logo {
		grid-column: 1 / -1;
	}

	.footer__col,
	.footer__col:nth-child(2),
	.footer__col:last-child {
		grid-column: span 6;
	}
}

@media (max-width: 560px) {
	.band__actions .btn {
		width: 100%;
		justify-content: space-between;
	}

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

	.f-actions .wpcf7-submit {
		width: 100%;
	}

	.d-long {
		display: none;
	}

	.d-short {
		display: inline;
	}

	.footer__col,
	.footer__col:nth-child(2),
	.footer__col:last-child {
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
