/*
 * Design «Вечір»: graphite and gold, the brand's evening carriers — the
 * signboard on the facade (logobook p. 8), the black card on graphite
 * (p. 10), the gold logo on the graphite envelope (p. 12), the black ribbon
 * with the wordmark (p. 11) and the gold plate (p. 7). Built on
 * designs/_base (the contract — site/CLAUDE.md, «Дизайни»): these rules are
 * outside the base's layer, so they win over it.
 *
 * Colour: graphite is the ground; gold is the logo, the lines of the price
 * list, the prices and the main button — as text only on graphite (5.7:1 on
 * #282829, 5.1:1 on the panel). The courses and the text pages are a light
 * pause on beige, where gold is never text or a button's outline. Pure black
 * is the ribbon only.
 */

:root {
	/*
	 * Graphite tones measured on the logobook: the ground of p. 10 is the
	 * base's --sr-graphite (#282829); the sign's panel of p. 8 and the black
	 * card of p. 10.
	 */
	--b-panel: #2e3032;
	--b-card: #191919;
	/* Gold where the ground is graphite; on a light ground the text colour. */
	--b-accent: var(--sr-gold);
	--b-ease: cubic-bezier(0.2, 0.7, 0.1, 1);

	--sr-bg: var(--sr-graphite);
	--sr-surface: var(--b-panel);
	--sr-text: var(--sr-beige);
	--sr-muted: color-mix(in srgb, var(--sr-text) 72%, transparent);
	--sr-header-bg: var(--sr-graphite);
	--sr-size-h1: clamp(2.375rem, 1.75rem + 2.4vw, 4.25rem);
	--sr-size-h2: clamp(1.875rem, 1.5rem + 1.5vw, 2.875rem);
	--sr-section: clamp(2.5rem, 7vw, 6rem);
}

/* The editor's palette (theme.json) speaks in the design's colours. */
.design-b {
	--wp--preset--color--base: var(--sr-graphite);
	--wp--preset--color--contrast: var(--sr-beige);
}

/*
 * The light grounds: the courses and the text pages on the brand's beige.
 * Muted text and lines are mixed again from the new text colour.
 */
.sr-courses,
.sr-page--courses,
.sr-page--course,
.sr-page--text {
	--sr-bg: var(--sr-beige);
	--sr-surface: var(--sr-nude-1);
	--sr-text: var(--sr-black);
	--sr-muted: color-mix(in srgb, var(--sr-text) 68%, transparent);
	--sr-line: color-mix(in srgb, var(--sr-text) 15%, transparent);
	--b-accent: var(--sr-text);
	background: var(--sr-bg);
	color: var(--sr-text);
}

/* The gold plate (p. 7): black text on gold; its main button is graphite. */
.b-plate {
	--sr-bg: var(--sr-gold);
	--sr-text: var(--sr-black);
	--sr-muted: color-mix(in srgb, var(--sr-text) 80%, transparent);
	--sr-line: color-mix(in srgb, var(--sr-text) 20%, transparent);
	--sr-button-bg: var(--sr-graphite);
	--sr-button-text: var(--sr-beige);
	--b-accent: var(--sr-text);
	background: var(--sr-bg);
	color: var(--sr-text);
}

/* Type. */
h1,
h2,
h3 {
	letter-spacing: -0.01em;
}

a {
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	transition: text-decoration-color var(--sr-fast) ease-out, color var(--sr-fast) ease-out;
}

a:hover {
	text-decoration-color: var(--b-accent);
}

/* Focus in the text colour of its ground: beige on graphite, black on beige and on gold. */
:focus-visible {
	outline: 2px solid var(--sr-text);
	outline-offset: 3px;
}

.sr-eyebrow {
	margin-bottom: 1rem;
	color: var(--sr-muted);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.sr-head__lead,
.sr-page__lead {
	color: var(--sr-muted);
}

.sr-head {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Buttons: square, gold with black text; hover turns them to the text colour. */
.sr-button {
	font-weight: 600;
	letter-spacing: 0.02em;
}

.sr-button:hover,
.sr-button--soft:hover {
	border-color: var(--sr-text);
	background: var(--sr-text);
	color: var(--sr-bg);
}

.sr-button--soft {
	border-color: color-mix(in srgb, var(--sr-text) 55%, transparent);
}

.sr-link {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.sr-price {
	color: var(--b-accent);
}

/* Sections: the ground changes between them, so no rule is drawn. */
.sr-section {
	border-top: 0;
}

/* Header: the facade's graphite; the gold logo in the middle, like the sign of p. 8. */
.sr-header {
	box-shadow: inset 0 -1px 0 var(--sr-line);
}

.sr-header__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0 1rem;
}

.sr-logo {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	margin: 0;
	color: var(--sr-gold);
}

.sr-menu-toggle {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	border-color: color-mix(in srgb, currentColor 40%, transparent);
}

.sr-header__book {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}

/* Without JS the menu's links wrap under the bar. */
.sr-nav {
	grid-column: 1 / -1;
	grid-row: 2;
}

.sr-nav__link {
	color: var(--sr-muted);
	font-weight: 500;
	text-decoration: none;
	transition: color var(--sr-fast) ease-out, box-shadow var(--sr-fast) ease-out;
}

.sr-nav__link:hover,
.sr-nav__link[aria-current="page"] {
	color: var(--sr-text);
	text-decoration: none;
	box-shadow: inset 0 -1px 0 var(--sr-gold);
}

/*
 * On the front page and the 404 the sign under the header carries the big
 * logo: the header's middle stays empty until the page is scrolled (with
 * JS; without it the logo stays), and the wordmark shows when the logo's
 * link has the focus.
 */
.js:not(.is-scrolled) :is(.home, .error404) .sr-logo__full {
	opacity: 0;
}

.js:not(.is-scrolled) :is(.home, .error404) .sr-logo:focus-visible .sr-logo__compact {
	opacity: 1;
}

.js:not(.is-scrolled) .home .sr-header {
	box-shadow: none;
}

@media (min-width: 1024px) {
	.sr-nav {
		grid-column: 1;
		grid-row: 1;
	}

	.sr-nav__list {
		gap: 0 1.5rem;
	}
}

/* The full-screen menu. */
.sr-menu__top .sr-mark {
	color: var(--sr-gold);
}

.sr-menu__link[aria-current="page"] {
	text-decoration-color: var(--sr-gold);
}

/* The phone's booking bar: the ring sits inside the gold. */
.sr-bookbar :focus-visible {
	outline-color: var(--sr-black);
	outline-offset: -5px;
}

/*
 * First screen — the sign (p. 8): the gold full logo, the title and booking
 * centred on the sign's panel; beside it one portrait as a window in the
 * facade. On a phone the window runs the screen's full width under the sign.
 */
.b-hero {
	padding-block: 0;
}

.b-hero__inner {
	display: grid;
	gap: 0;
}

.b-hero__sign {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 1.25rem 1.75rem;
	text-align: center;
}

.b-hero__logo {
	height: clamp(6.25rem, 4.5rem + 4.5vw, 10.5rem);
	margin-bottom: clamp(1.25rem, 2.5vw, 2.5rem);
	color: var(--sr-gold);
}

.b-hero .sr-eyebrow {
	margin-bottom: 0.75rem;
}

.b-hero .sr-hero__title {
	max-width: 12em;
	text-wrap: balance;
	font-size: var(--sr-size-h1);
	line-height: 1.04;
}

.b-hero .sr-hero__lead {
	max-width: 34rem;
	text-wrap: balance;
	margin-top: 0.875rem;
	color: var(--sr-muted);
}

.b-hero__actions {
	justify-content: center;
	width: 100%;
	margin-top: 1.5rem;
}

.b-hero__social {
	display: none;
}

.b-hero .sr-jumps {
	justify-content: center;
	gap: 0 1.25rem;
	margin-top: 0.5rem;
}

.b-hero .sr-jumps a {
	padding: 0 0.25rem;
	border: 0;
	background: none;
	color: var(--sr-text);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--sr-gold) 70%, transparent);
	text-underline-offset: 0.4em;
}

.b-hero .sr-jumps a:hover {
	text-decoration-color: var(--sr-gold);
}

.b-hero__window {
	margin: 0 calc(-1 * var(--sr-gutter));
	background: var(--b-panel);
}

.b-hero__window img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 600px) {
	.b-hero__social {
		display: inline-flex;
	}
}

@media (min-width: 768px) {
	.b-hero__sign {
		padding-block: 2.5rem 3rem;
	}

	.b-hero__window {
		width: min(100%, 32rem);
		margin: 0 auto 3rem;
	}
}

@media (min-width: 1024px) {
	/* Even margins above and below, so the services begin within the first screen. */
	.b-hero__inner {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: var(--sr-gap);
		padding-block: 2rem;
	}

	.b-hero__sign {
		grid-column: 1 / span 7;
		justify-content: center;
		padding: 3rem 2rem;
		background: var(--b-panel);
	}

	/*
	 * The window is as tall as the sign and at least square: a 4:5 portrait
	 * made the row taller than the sign and left an empty band under both.
	 * The crop keeps the upper part, where a portrait's face is.
	 */
	.b-hero__window {
		position: relative;
		grid-column: 8 / -1;
		align-self: stretch;
		width: 100%;
		margin: 0;
		aspect-ratio: 1;
	}

	.b-hero__window img {
		position: absolute;
		inset: 0;
		object-position: 50% 20%;
	}

	.b-hero--sign-only .b-hero__sign {
		grid-column: 1 / -1;
	}
}

/*
 * Services — the evening menu: one column in the middle of the page, on the
 * front page as on the services page; each group under a gold line, prices
 * in gold in one vertical. The groups' names are headings, so they keep the
 * text colour.
 */
.sr-services > .sr-container,
.sr-page--services > .sr-container {
	max-width: calc(56rem + 2 * var(--sr-gutter));
}

.sr-group__head {
	align-items: baseline;
}

.sr-group__title {
	font-family: var(--sr-font);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sr-group__count {
	font-size: 0.9375rem;
}

.sr-group__list {
	margin-top: 0.75rem;
	border-top-color: var(--b-accent);
}

/*
 * «Записатися →» under the price is a text link: only the word is
 * underlined (not the arrow, as the design's .sr-link would), in gold like
 * the group's line, and the link turns gold under the pointer.
 */
.sr-service__book {
	text-decoration: none;
}

.sr-service__book-label {
	text-decoration-color: var(--b-accent);
}

.sr-service__book:hover {
	color: var(--b-accent);
}

.sr-service__name {
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	line-height: 1.2;
}

.sr-service__name a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.2em;
}

.sr-service__name a:hover {
	text-decoration: underline;
	text-decoration-color: var(--b-accent);
}

.sr-service__desc {
	color: var(--sr-muted);
}

.sr-service__facts .sr-price {
	font-size: 1.125rem;
}

@media (min-width: 768px) {
	.sr-service {
		padding-block: 1.5rem;
	}
}

/* Chips: the groups of services and the portfolio's filter as tabs. */
.sr-chip {
	padding: 0 0.875rem;
	border: 0;
	background: none;
	color: var(--sr-muted);
	box-shadow: inset 0 -1px 0 var(--sr-line);
	transition: color var(--sr-fast) ease-out, box-shadow var(--sr-fast) ease-out;
}

.sr-chip:hover {
	color: var(--sr-text);
	box-shadow: inset 0 -1px 0 var(--sr-text);
}

.sr-chip[aria-current="page"],
.sr-chip[aria-pressed="true"] {
	background: none;
	color: var(--sr-text);
	box-shadow: inset 0 -2px 0 var(--b-accent);
}

.sr-chips {
	gap: 0 0.25rem;
}

.sr-sticky {
	margin-bottom: 1.5rem;
}

/* The ribbon of p. 11: the white wordmark repeated on black, standing still. */
.b-ribbon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(4.5rem, 3rem + 6vw, 8.25rem);
	height: 56px;
	overflow: hidden;
	background: var(--sr-black);
}

.b-ribbon span {
	flex: none;
	width: 5.5rem;
	height: 1.125rem;
	background: var(--sr-white);
	-webkit-mask: var(--b-ribbon) center / contain no-repeat;
	mask: var(--b-ribbon) center / contain no-repeat;
}

/* Works — side by side with no field between them, on the sign's panel. */
.sr-works {
	background: var(--b-panel);
}

.sr-work-grid {
	gap: 2px;
	margin-inline: calc(-1 * var(--sr-gutter));
}

.sr-work__link {
	background: var(--sr-graphite);
}

.sr-work__img {
	transition: transform 400ms var(--b-ease);
}

.sr-work__link:focus-visible {
	outline-offset: -4px;
}

/*
 * A phone's front page shows three rows of two, so the page stays within
 * eight screens; «Усі роботи» leads to the rest. The viewer skips the hidden.
 */
@media (max-width: 767.98px) {
	.sr-works .sr-work-grid > .sr-work:nth-child(n + 7) {
		display: none;
	}
}

@media (min-width: 768px) {
	.sr-work-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2px;
	}
}

@media (min-width: 1024px) {
	.sr-work-grid {
		gap: 2px;
	}
}

/* The portfolio: three to a row, 21 works make seven rows. */
@media (min-width: 768px) {
	.sr-page--portfolio .sr-work-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/*
 * A service's works (part «service-works»): the same flush works on the
 * panel. From 768 they stand in one row of up to six, in the middle under
 * their centred head, none wider than a work on the front page; five or six
 * on a tablet go three to a row. On a phone an odd last work takes the
 * whole row, so no row has a hole.
 */
.sr-service-works {
	background: var(--b-panel);
}

@media (max-width: 767.98px) {
	.sr-service-works .sr-work:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 768px) {
	.sr-service-works .sr-head,
	.sr-service-works .sr-more {
		text-align: center;
	}

	.sr-service-works .sr-work-grid {
		grid-template-columns: none;
		grid-auto-columns: minmax(0, 22.5rem);
		grid-auto-flow: column;
		justify-content: center;
	}
}

@media (min-width: 768px) and (max-width: 1023.98px) {
	.sr-service-works .sr-work-grid:has(> .sr-work:nth-child(5)) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-flow: row;
	}
}

/* Reviews: three quotes in words, vertical lines between them. */
.sr-review-list {
	gap: 0;
}

.sr-review {
	padding: 1.5rem 0;
	border-top: 1px solid var(--sr-line);
	border-radius: 0;
	background: none;
}

.sr-review-list > li:first-child .sr-review {
	padding-top: 0;
	border-top: 0;
}

.sr-review__text {
	font-family: var(--sr-font-heading);
	font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.625rem);
	line-height: 1.35;
}

.sr-review__by {
	margin-top: 1.25rem;
}

.sr-review__name {
	color: var(--b-accent);
}

@media (min-width: 768px) {
	.sr-review-list > li .sr-review,
	.sr-review-list > li:first-child .sr-review {
		padding: 0 1.5rem;
		border-top: 0;
		border-left: 1px solid var(--sr-line);
	}

	.sr-review-list > li:first-child .sr-review {
		padding-left: 0;
		border-left: 0;
	}
}

@media (min-width: 1024px) {
	.sr-review-list > li .sr-review {
		padding-inline: 2.5rem;
	}
}

/*
 * Courses: the light pause on beige; a portrait beside each course. On a
 * phone the actions run under the photo across the card; wider, they stand
 * under the text.
 */
.sr-course {
	grid-template-columns: 8.25rem minmax(0, 1fr);
	grid-template-areas:
		"img text"
		"actions actions";
	align-items: start;
	gap: 1rem 1.25rem;
	padding: 0;
	border: 0;
}

.sr-course__text {
	grid-area: text;
}

.sr-course__actions {
	grid-area: actions;
	margin: 0;
}

.sr-course__img {
	grid-area: img;
	width: 100%;
	aspect-ratio: 4 / 5;
}

.b-course--text {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"text"
		"actions";
}

.sr-course__name {
	font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
	line-height: 1.15;
}

.sr-course__name a {
	text-decoration: underline;
	text-decoration-color: transparent;
}

.sr-course__name a:hover {
	text-decoration-color: currentColor;
}

.sr-course__desc {
	color: var(--sr-muted);
}

.sr-course-list {
	gap: 2.5rem;
}

@media (min-width: 768px) {
	.sr-course-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.sr-course {
		grid-template-columns: 12.5rem minmax(0, 1fr);
		grid-template-areas:
			"img text"
			"img actions";
		grid-template-rows: auto 1fr;
		gap: 1.5rem 2rem;
	}

	.b-course--text {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"text"
			"actions";
	}
}

@media (min-width: 1024px) {
	.sr-course-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--sr-gap);
	}

	.sr-course {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		column-gap: clamp(1.5rem, 2.5vw, 2.5rem);
	}

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

/* About the studio: the white emblem on the black card's disc (p. 10). */
.b-disc {
	display: grid;
	place-items: center;
	width: clamp(7.5rem, 4rem + 14vw, 17.5rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--b-card);
	color: var(--sr-white);
}

.b-disc .sr-mark {
	width: 64%;
	height: auto;
}

.b-about .sr-about__inner {
	align-items: center;
}

.b-about .sr-head__title {
	max-width: 16em;
}

.b-about .sr-about__text {
	color: var(--sr-muted);
}

@media (min-width: 768px) {
	.b-about .sr-about__inner {
		grid-template-columns: auto minmax(0, 1fr);
		gap: clamp(2.5rem, 6vw, 6rem);
	}
}

/* The booking plate (p. 7): the white logo as its picture. */
.b-plate__inner {
	display: grid;
	gap: 1.5rem;
}

.b-plate__logo {
	height: clamp(4.5rem, 3rem + 5vw, 7.5rem);
	color: var(--sr-white);
}

.b-plate .sr-head__title {
	max-width: 14em;
}

@media (min-width: 768px) {
	.b-plate__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: center;
		gap: var(--sr-gap);
	}

	.b-plate__logo {
		justify-self: center;
	}
}

/* Contacts, hours, the map. */
.sr-contact__address {
	font-family: var(--sr-font-heading);
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
	line-height: 1.2;
}

.sr-contact__title {
	color: var(--sr-muted);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sr-hours__row {
	padding-block: 0.625rem;
}

.sr-hours__row.is-today {
	color: var(--sr-text);
	box-shadow: inset 2px 0 0 var(--b-accent);
	padding-left: 0.75rem;
}

/*
 * Beside the address the hours' column is only as wide as the hours, and
 * the address with its actions takes the rest: at 1440 the actions stand in
 * one row.
 */
@media (min-width: 1024px) {
	.sr-contact {
		grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
	}
}

/* Inner pages. */
.sr-page {
	padding-top: clamp(2rem, 5vw, 4.5rem);
}

.sr-page__title {
	margin-bottom: 1.25rem;
}

.sr-page__lead {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* A service's page is one line of the evening menu: its facts under a gold rule. */
.sr-page--service .sr-single .sr-facts {
	padding-top: 1rem;
	border-top: 1px solid var(--b-accent);
}

/* The way back is quiet: muted and not underlined; hovered, it takes the text colour. */
.sr-back .sr-link {
	color: var(--sr-muted);
	text-decoration: none;
}

.sr-back .sr-link:hover {
	color: var(--sr-text);
}

.sr-facts {
	font-size: 1.125rem;
}

.sr-single .sr-facts {
	margin-top: 1rem;
	font-size: 1.25rem;
}

.sr-single__lead {
	color: var(--sr-muted);
	font-size: 1.1875rem;
}

.sr-content {
	line-height: 1.7;
}

.sr-content a {
	text-decoration-color: currentColor;
}

/* A service or a course: the text on the left, the photo beside it from 1024. */
.sr-single__img {
	width: 100%;
	max-width: 32rem;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--sr-surface);
}

@media (min-width: 1024px) {
	.sr-page--service .sr-single,
	.sr-page--course .sr-single,
	.sr-page--text .sr-single {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
	}

	.sr-page--service .sr-single > *,
	.sr-page--course .sr-single > *,
	.sr-page--text .sr-single > * {
		grid-column: 1;
	}

	.sr-page--service .sr-single > .sr-single__img,
	.sr-page--course .sr-single > .sr-single__img,
	.sr-page--text .sr-single > .b-page__disc {
		grid-column: 2;
		grid-row: 1 / span 12;
		justify-self: end;
		position: sticky;
		top: calc(var(--sr-header-h) + 2rem);
		margin: 0;
	}
}

/* The course's programme: a numbered list with lines between the steps. */
.sr-program {
	margin-top: 2.5rem;
}

/* The numbers hang to the left of the rules; the first rule is gold, like a group of the menu. */
.sr-program__list {
	margin: 1rem 0 0;
	padding-left: 1.75rem;
}

.sr-program__list li {
	margin: 0;
	padding: 0.75rem 0 0.75rem 0.5rem;
	border-bottom: 1px solid var(--sr-line);
}

.sr-program__list li:first-child {
	border-top: 1px solid var(--sr-gold);
}

.sr-program__list li::marker {
	color: var(--sr-muted);
	font-feature-settings: "lnum", "tnum";
}

/* The privacy policy has no disc beside it: its column stands in the middle. */
.privacy-policy .sr-page--text .sr-single {
	max-width: calc(44rem + 2 * var(--sr-gutter));
}

@media (min-width: 1024px) {
	.privacy-policy .sr-page--text .sr-single {
		display: block;
	}
}

/* A text page: the disc goes under the text on a phone. */
.b-page__disc {
	margin-top: 2.5rem;
}

.sr-page--text .sr-single > .sr-content,
.sr-page--text .sr-page__title {
	max-width: 44rem;
}

/* Footer: the menu, the contacts and the hours, then the wordmark in gold across the width (p. 12). */
.b-footer {
	padding-block: clamp(2.5rem, 6vw, 5rem) 1.25rem;
	background: var(--b-panel);
}

.b-footer .sr-footer__top {
	gap: 2rem;
}

.sr-footer__title {
	margin-bottom: 0.5rem;
	color: var(--sr-muted);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.b-footer a {
	text-decoration: none;
}

.b-footer a:hover,
.b-footer a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--sr-gold);
}

.b-footer .sr-hours {
	max-width: 22rem;
}

.b-footer__sign {
	margin-top: clamp(2rem, 5vw, 4.5rem);
	color: var(--sr-gold);
}

.b-footer__sign .sr-mark {
	width: 100%;
	height: auto;
}

.b-footer .sr-footer__bottom {
	margin-top: clamp(1.25rem, 3vw, 2.5rem);
	color: var(--sr-muted);
}

@media (min-width: 768px) {
	.b-footer .sr-footer__top {
		grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	}

	.b-footer.sr-footer--thin .sr-footer__top {
		display: grid;
	}
}

/* 404: the sign of the first screen — the gold logo and the words centred on the panel. */
.sr-page--404 {
	padding-block: clamp(1rem, 4vw, 3rem) 0;
}

.b-sign {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(2.5rem, 6vw, 5rem) 1.5rem;
	background: var(--b-panel);
	text-align: center;
}

.b-sign__logo {
	height: clamp(6.25rem, 4.5rem + 4.5vw, 10.5rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	color: var(--sr-gold);
}

.b-sign .sr-page__title {
	font-size: var(--sr-size-h1);
	text-wrap: balance;
}

.b-sign .sr-page__lead {
	margin-bottom: 1.75rem;
}

.b-sign .sr-actions {
	justify-content: center;
	width: 100%;
}

/* Sections come in once, rising 16 px; the first screen never moves. */
@media (prefers-reduced-motion: no-preference) {
	.is-motion [data-reveal] {
		transition: opacity 600ms var(--b-ease), transform 600ms var(--b-ease);
	}

	.is-motion [data-reveal]:not(.is-revealed) {
		opacity: 0;
		transform: translateY(16px);
	}
}
