/*
 * Refland — refrigeration spare parts.
 *
 * Design notes, so the next person knows what was deliberate:
 *
 * The audience is a refrigeration technician standing next to a failed unit
 * with a data plate in one hand and a phone in the other. The job of the page
 * is to get an article number typed and answered. So the hero is the search
 * field, not a photograph, and results are rows in an index rather than cards.
 *
 * The palette is the trade's own: a refrigeration manifold is colour-coded
 * blue for the low side, red for the high side and yellow for the charging
 * line. Blue carries the interface, yellow marks the single action that
 * matters (ask for a price), red is kept for things going wrong. The three
 * appear together once, as a thin strip under the header — the only piece of
 * pure insignia on the site.
 *
 * Monospace is used strictly for article numbers, counts and technical
 * values, where a character has to be compared against a stamped plate. It is
 * never used for labels.
 */

/* ========================================================================= */
/* Fonts                                                                      */
/* ========================================================================= */

/*
 * Inter throughout — the open font closest to Helvetica that may be shipped
 * with a site, so every visitor sees the same letters whatever their device.
 * One variable file carries every weight; a second, fetched only by a page
 * that needs it, holds the rarer Latin letters (š, ž and the like).
 * Article numbers and counts use it too, with figures of equal width so that
 * columns of numbers still line up.
 */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ========================================================================= */
/* Tokens                                                                     */
/* ========================================================================= */

:root {
	--rl-ink: #101a1e;
	--rl-steel-700: #24353c;
	--rl-steel-400: #5c7179;
	--rl-steel-200: #b4c2c7;
	--rl-line: #dbe4e7;
	--rl-frost: #eef3f4;
	--rl-paper: #ffffff;

	--rl-low: #11607e;
	--rl-low-dark: #0c4a61;
	--rl-charge: #e8b22b;
	--rl-high: #b3341f;

	--rl-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--rl-mono: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--rl-shell: 76rem;
	--rl-gutter: 1rem;
	--rl-radius: 3px;

	--rl-step--1: 0.875rem;
	--rl-step-0: 1.0625rem;
	--rl-step-1: 1.25rem;
	--rl-step-2: 1.5625rem;
	--rl-step-3: 2.125rem;
	--rl-step-4: 2.875rem;
	--rl-step-5: 3.75rem;
}

@media (min-width: 48rem) {
	:root {
		--rl-gutter: 2rem;
	}
}

/* ========================================================================= */
/* Reset and base                                                             */
/* ========================================================================= */

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

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

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

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

body {
	margin: 0;
	background: var(--rl-paper);
	color: var(--rl-ink);
	font-family: var(--rl-sans);
	font-size: var(--rl-step-0);
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	font-variant-numeric: tabular-nums;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--rl-low);
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-wrap: balance;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--rl-low);
	outline-offset: 2px;
}

.rl-shell {
	width: 100%;
	max-width: var(--rl-shell);
	margin-inline: auto;
	padding-inline: var(--rl-gutter);
}

.rl-skip {
	position: absolute;
	left: -9999px;
	z-index: 200;
	padding: 0.75rem 1rem;
	background: var(--rl-ink);
	color: #fff;
	text-decoration: none;
}

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

/* ========================================================================= */
/* Header                                                                     */
/* ========================================================================= */

.rl-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--rl-paper);
	/*
	 * The one piece of insignia: the manifold colour code. Blue low side,
	 * yellow charging line, red high side, in the order they sit on a gauge
	 * set.
	 */
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(
			to right,
			var(--rl-low) 0 42%,
			var(--rl-charge) 42% 58%,
			var(--rl-high) 58% 100%
		)
		1;
}

.rl-header__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: var(--rl-shell);
	margin-inline: auto;
	padding: 0.75rem var(--rl-gutter);
}

.rl-brand {
	display: inline-flex;
	gap: 0.625rem;
	align-items: center;
	color: var(--rl-ink);
	text-decoration: none;
}

.rl-brand__mark {
	display: block;
	width: 28px;
	height: 28px;
	color: var(--rl-low);
}

.rl-brand__mark svg {
	display: block;
	width: 28px;
	height: 28px;
}

.rl-brand__name {
	font-size: var(--rl-step-1);
	font-weight: 700;
	letter-spacing: -0.02em;
}

/*
 * The logo is a hairline drawing: it is shipped pre-thickened at each size, so
 * it must be displayed at the size it was made for rather than scaled by CSS.
 */
.rl-brand__logo {
	display: block;
	height: 44px;
	width: auto;
}

@media (max-width: 30rem) {
	.rl-brand__logo {
		height: 34px;
	}
}

.rl-footer__logo {
	display: block;
	height: 44px;
	width: auto;
	margin-bottom: 0.25rem;
}

/* --- mobile toggle --- */

.rl-burger {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--rl-steel-200);
	border-radius: var(--rl-radius);
	background: var(--rl-paper);
	font: inherit;
	font-size: var(--rl-step--1);
	font-weight: 600;
	color: var(--rl-steel-700);
	cursor: pointer;
}

.rl-burger__bars {
	display: grid;
	gap: 4px;
	width: 16px;
}

.rl-burger__bars span {
	display: block;
	height: 2px;
	background: currentColor;
}

/*
 * Phones: logo, language switch and menu button on one line.
 *
 * At the default sizes the three need about 376px, so on a 375px iPhone and
 * the very common 360px Android the menu button dropped onto a row of its
 * own. Trimming the spacing, the logo by two pixels and the button's side
 * padding brings it to about 349px. Below 352px — older and smaller phones —
 * the button keeps its icon and loses the visible word, which stays in the
 * markup as the button's name for screen readers.
 */
@media (max-width: 26rem) {
	.rl-header__inner {
		gap: 0.625rem;
	}

	.rl-brand__logo {
		height: 32px;
	}

	.rl-burger {
		padding-inline: 0.6rem;
	}
}

@media (max-width: 22rem) {
	.rl-burger {
		justify-content: center;
		min-width: 2.75rem;
		min-height: 2.5rem;
	}

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

.rl-nav {
	display: none;
	flex-basis: 100%;
	padding-bottom: 0.5rem;
}

.rl-nav.is-open {
	display: block;
}

.rl-nav__list {
	display: grid;
	gap: 0.125rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.rl-nav__link {
	display: block;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--rl-line);
	font-size: var(--rl-step-0);
	font-weight: 500;
	color: var(--rl-steel-700);
	text-decoration: none;
}

.rl-nav__link.is-current {
	color: var(--rl-low);
	font-weight: 600;
}

.rl-header__aside {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.75rem;
}

@media (min-width: 56rem) {
	.rl-burger {
		display: none;
	}

	.rl-nav {
		display: flex !important;
		flex-basis: auto;
		gap: 2rem;
		align-items: center;
		padding-bottom: 0;
	}

	.rl-nav__list {
		display: flex;
		gap: 1.75rem;
		margin: 0;
	}

	.rl-nav__link {
		padding: 0.25rem 0;
		border-bottom: 2px solid transparent;
	}

	.rl-nav__link:hover {
		border-bottom-color: var(--rl-steel-200);
	}

	.rl-nav__link.is-current {
		border-bottom-color: var(--rl-low);
	}

	.rl-header__aside {
		padding-top: 0;
		gap: 1.25rem;
	}

	/*
	 * Wide enough for the full nav: send the switcher to the far right and
	 * drop the auto margin, or it would eat the free space and crowd the
	 * navigation up against the logo.
	 */
	.rl-lang {
		order: 3;
		margin-left: 0;
	}
}

.rl-phone {
	font-family: var(--rl-mono);
	font-size: var(--rl-step--1);
	font-weight: 500;
	color: var(--rl-ink);
	text-decoration: none;
	white-space: nowrap;
}

.rl-phone:hover {
	color: var(--rl-low);
}

.rl-lang {
	display: inline-flex;
	border: 1px solid var(--rl-steel-200);
	border-radius: var(--rl-radius);
	overflow: hidden;
	/*
	 * On a phone this sits in the header bar itself, next to the burger,
	 * because the nav it used to live in is collapsed by default. Pushing it
	 * right with auto margin keeps it paired with the burger instead of
	 * floating in the middle of the bar.
	 */
	margin-left: auto;
}

.rl-lang__item {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--rl-steel-400);
	text-decoration: none;
}

.rl-lang__item + .rl-lang__item {
	border-left: 1px solid var(--rl-steel-200);
}

.rl-lang__item:hover {
	background: var(--rl-frost);
	color: var(--rl-low);
}

.rl-lang__item.is-current {
	background: var(--rl-ink);
	color: #fff;
}

/* The flags. The language not in use is shown fainter; the one in use sits
   on the dark ground the letters used to have. */
.rl-flag {
	display: block;
	width: 24px;
	height: 16px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.rl-lang__item:not(.is-current) .rl-flag {
	opacity: 0.75;
}

.rl-lang__item:hover .rl-flag,
.rl-lang__item:focus-visible .rl-flag {
	opacity: 1;
}

.rl-lang__item.is-current .rl-flag {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* ========================================================================= */
/* Hero — the search field is the subject                                     */
/* ========================================================================= */

.rl-hero {
	background: var(--rl-frost);
	border-bottom: 1px solid var(--rl-line);
}

.rl-hero__inner {
	width: 100%;
	max-width: var(--rl-shell);
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--rl-gutter) clamp(2.5rem, 5vw, 3.5rem);
	max-width: min(var(--rl-shell), 100%);
}

.rl-hero__eyebrow {
	margin: 0 0 1rem;
	max-width: 36rem;
	font-size: var(--rl-step--1);
	font-weight: 500;
	color: var(--rl-low);
}

.rl-hero__title {
	margin: 0;
	max-width: 24ch;
	font-size: clamp(2.125rem, 6.2vw, 3.75rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.rl-hero__text {
	margin: 1.25rem 0 0;
	max-width: 56ch;
	font-size: var(--rl-step-1);
	line-height: 1.5;
	color: var(--rl-steel-700);
}

/* --- the instrument --- */

.rl-find {
	margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
	max-width: 42rem;
}

.rl-find--compact {
	margin-block: 2rem;
}

.rl-find__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: var(--rl-step--1);
	font-weight: 500;
	color: var(--rl-steel-700);
}

.rl-find__bar {
	display: flex;
	align-items: stretch;
	background: var(--rl-paper);
	border: 1px solid var(--rl-steel-200);
	border-bottom: 3px solid var(--rl-low);
	border-radius: var(--rl-radius);
	transition: box-shadow 120ms ease, border-color 120ms ease;
}

.rl-find__bar:focus-within {
	border-color: var(--rl-low);
	box-shadow: 0 0 0 3px rgba(17, 96, 126, 0.16);
}

.rl-find__icon {
	flex: none;
	width: 22px;
	height: 22px;
	align-self: center;
	margin-left: 1rem;
	color: var(--rl-steel-400);
}

.rl-find input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 1rem 0.75rem;
	border: 0;
	background: transparent;
	font-family: var(--rl-mono);
	font-size: var(--rl-step-0);
	letter-spacing: 0.01em;
	color: var(--rl-ink);
	-webkit-appearance: none;
	appearance: none;
}

.rl-find input[type="search"]::placeholder {
	font-family: var(--rl-sans);
	letter-spacing: 0;
	color: var(--rl-steel-400);
}

.rl-find input[type="search"]:focus {
	outline: none;
}

.rl-find__go {
	flex: none;
	padding-inline: 1.25rem;
	border: 0;
	background: var(--rl-ink);
	font: inherit;
	font-size: var(--rl-step--1);
	font-weight: 600;
	color: #fff;
	cursor: pointer;
}

.rl-find__go:hover {
	background: var(--rl-low);
}

.rl-find__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
	margin: 0.75rem 0 0;
	font-size: var(--rl-step--1);
	color: var(--rl-steel-400);
}

.rl-find__count {
	font-family: var(--rl-mono);
	font-size: var(--rl-step-0);
	font-weight: 600;
	color: var(--rl-ink);
}

.rl-find__sep {
	width: 1px;
	height: 1em;
	background: var(--rl-steel-200);
}

.rl-find__updated time {
	font-family: var(--rl-mono);
}

/* The stock sentence, with a green dot in front of it. */
.rl-find__stock {
	display: inline-flex;
	align-items: baseline;
	gap: 0.45rem;
	font-weight: 600;
	color: var(--rl-ink);
}

.rl-find__stock::before {
	content: "";
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #1f8a4c;
	box-shadow: 0 0 0 3px rgba(31, 138, 76, 0.18);
	transform: translateY(-1px);
}

/* ========================================================================= */
/* Section furniture                                                          */
/* ========================================================================= */

.rl-section-title {
	margin: 0;
	font-size: var(--rl-step-1);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.rl-index,
.rl-services,
.rl-faq,
.rl-intro {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* --- questions ---
 *
 * <details> rather than scripted panels: it opens without JavaScript, it is
 * keyboard operable for free, and the answers sit in the markup whether a
 * panel is open or shut, which is what matters for anything reading the page
 * rather than looking at it.
 */

.rl-faq {
	background: var(--rl-frost);
	border-top: 1px solid var(--rl-line);
}

.rl-faq__list {
	margin-top: 1.25rem;
	border-top: 1px solid var(--rl-line);
}

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

.rl-faq__q {
	padding: 0.95rem 2rem 0.95rem 0;
	position: relative;
	font-size: var(--rl-step-0);
	font-weight: 600;
	color: var(--rl-ink);
	cursor: pointer;
	list-style: none;
}

.rl-faq__q::-webkit-details-marker {
	display: none;
}

/* A plus that becomes a minus, drawn from the two sides of a square. */
.rl-faq__q::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 11px;
	height: 11px;
	margin-top: -6px;
	border-right: 2px solid var(--rl-steel-400);
	border-bottom: 2px solid var(--rl-steel-400);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.rl-faq__item[open] .rl-faq__q::after {
	transform: rotate(-135deg);
}

.rl-faq__q:hover {
	color: var(--rl-low);
}

.rl-faq__a {
	padding: 0 2rem 1.1rem 0;
	max-width: 62ch;
	color: var(--rl-steel-700);
}

.rl-faq__a p {
	margin: 0 0 0.75rem;
}

.rl-faq__a p:last-child {
	margin-bottom: 0;
}

.rl-index__head {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: baseline;
	justify-content: space-between;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--rl-ink);
}

.rl-index__all {
	margin: 0;
	font-size: var(--rl-step--1);
}

.rl-index__all a {
	color: var(--rl-low);
}

/* --- category index: the contents page of a parts catalogue --- */

.rl-index__list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	column-gap: 3rem;
}

@media (min-width: 42rem) {
	.rl-index__list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 68rem) {
	.rl-index__list--brands {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.rl-index__item a {
	display: grid;
	grid-template-columns: auto minmax(1.5rem, 1fr) auto;
	gap: 0.5rem;
	align-items: baseline;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--rl-line);
	color: var(--rl-ink);
	text-decoration: none;
}

.rl-index__item a:hover .rl-index__name,
.rl-index__item a:focus-visible .rl-index__name {
	color: var(--rl-low);
}

.rl-index__name {
	font-size: var(--rl-step-0);
	font-weight: 500;
}

/* Leader rule, as in a printed index. */
.rl-index__rule {
	align-self: center;
	height: 1px;
	background: repeating-linear-gradient(
		to right,
		var(--rl-steel-200) 0 2px,
		transparent 2px 5px
	);
}

.rl-index__n {
	font-family: var(--rl-mono);
	font-size: var(--rl-step--1);
	color: var(--rl-steel-400);
}

/* ========================================================================= */
/* Intro                                                                      */
/* ========================================================================= */

.rl-intro {
	background: var(--rl-ink);
	color: #fff;
}

.rl-intro__inner {
	display: grid;
	gap: 1rem 4rem;
}

@media (min-width: 52rem) {
	.rl-intro__inner {
		grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
		align-items: start;
	}
}

.rl-intro__title {
	margin: 0;
	font-size: var(--rl-step-2);
	letter-spacing: -0.025em;
}

.rl-intro__text {
	margin: 0;
	max-width: 62ch;
	font-size: var(--rl-step-1);
	line-height: 1.55;
	color: #cfdbdf;
}

/* ========================================================================= */
/* Services                                                                   */
/* ========================================================================= */

.rl-services__list {
	display: grid;
	gap: 0;
	margin-top: 0.5rem;
}

@media (min-width: 48rem) {
	.rl-services__list {
		grid-template-columns: 1fr 1fr;
		column-gap: 3rem;
	}
}

.rl-service {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--rl-line);
}

.rl-service__title {
	margin: 0 0 0.4rem;
	font-size: var(--rl-step-1);
	font-weight: 600;
}

.rl-service__text {
	margin: 0;
	max-width: 54ch;
	color: var(--rl-steel-700);
}

/* ========================================================================= */
/* Brand logo strip (home, under the hero)                                   */
/* ========================================================================= */

.rl-logos {
	padding: 1.5rem 0 1.25rem;
	background: var(--rl-paper);
	border-bottom: 1px solid var(--rl-line);
}

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

.rl-logos__title {
	margin: 0;
	font-size: var(--rl-step--1);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rl-steel-400);
}

.rl-logos__text {
	margin: 0.3rem 0 0;
	max-width: 46rem;
	font-size: var(--rl-step--1);
	color: var(--rl-steel-700);
}

.rl-logos__all {
	flex-shrink: 0;
	font-size: var(--rl-step--1);
	font-weight: 600;
	text-decoration: none;
	color: var(--rl-low);
}

.rl-logos__all:hover {
	text-decoration: underline;
}

/*
 * The belt is two identical tracks side by side, moved left by exactly one
 * track's width and restarted — which is why the loop has no visible seam.
 * It pauses under the mouse or when a logo has keyboard focus, so a link can
 * be hit. The mask fades the ends into the page.
 */
.rl-logos__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
}

.rl-logos__belt {
	display: flex;
	width: max-content;
	animation: rl-belt calc(var(--rl-belt-n, 8) * 4.5s) linear infinite;
}

.rl-logos__viewport:hover .rl-logos__belt,
.rl-logos__viewport:focus-within .rl-logos__belt {
	animation-play-state: paused;
}

.rl-logos__track {
	display: flex;
	align-items: center;
	gap: 2.75rem;
	margin: 0;
	/* Room below for the part count that appears under a hovered logo. */
	padding: 0.25rem 1.375rem 1.1rem;
	list-style: none;
}

.rl-logo {
	flex: none;
}

.rl-logo__link {
	position: relative;
	display: flex;
	align-items: center;
	height: 3.5rem;
	padding: 0.35rem 0.5rem;
	border-radius: var(--rl-radius);
	/* In their own colours, as the makers draw them. */
	transition: transform 0.25s ease;
}

.rl-logo__link img {
	display: block;
	height: 100%;
	width: auto;
	max-width: 10.5rem;
	object-fit: contain;
}

/* The count sits under the logo and only shows under the mouse. */
.rl-logo__n {
	position: absolute;
	left: 50%;
	bottom: -0.85rem;
	transform: translateX(-50%);
	font-family: var(--rl-mono);
	font-size: 0.6875rem;
	line-height: 1;
	color: var(--rl-steel-400);
	opacity: 0;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

a.rl-logo__link:hover,
a.rl-logo__link:focus-visible {
	transform: translateY(-2px);
}

a.rl-logo__link:hover .rl-logo__n,
a.rl-logo__link:focus-visible .rl-logo__n {
	opacity: 1;
}

@keyframes rl-belt {
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 40rem) {
	.rl-logo__link {
		height: 2.75rem;
	}

	.rl-logos__track {
		gap: 2rem;
	}

	.rl-logos__viewport {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
		mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
	}
}

/*
 * No motion: one still row that wraps, logos in colour, the second copy and
 * the edge fade gone. The global reduced-motion rule above would otherwise
 * leave the belt frozen half-way.
 */
@media (prefers-reduced-motion: reduce) {
	.rl-logos__viewport {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.rl-logos__belt {
		animation: none;
		width: auto;
	}

	.rl-logos__track {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1.5rem 2.5rem;
		padding-inline: var(--rl-gutter);
	}

	.rl-logos__track[aria-hidden="true"] {
		display: none;
	}

}

/* ========================================================================= */
/* Contact strip                                                              */
/* ========================================================================= */

.rl-cta {
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
	background: var(--rl-frost);
	border-top: 1px solid var(--rl-line);
}

.rl-cta__inner {
	display: grid;
	gap: 1.5rem 3rem;
	align-items: center;
}

@media (min-width: 52rem) {
	.rl-cta__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

.rl-cta__title {
	margin: 0 0 0.375rem;
	font-size: var(--rl-step-2);
	letter-spacing: -0.025em;
}

.rl-cta__text {
	margin: 0;
	max-width: 52ch;
	color: var(--rl-steel-700);
}

.rl-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.rl-cta__phone {
	font-family: var(--rl-mono);
	font-size: var(--rl-step-1);
	font-weight: 600;
	color: var(--rl-ink);
	text-decoration: none;
	white-space: nowrap;
}

.rl-cta__phone:hover {
	color: var(--rl-low);
}

/* ========================================================================= */
/* Buttons                                                                    */
/* ========================================================================= */

.rl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--rl-ink);
	border-radius: var(--rl-radius);
	background: var(--rl-ink);
	font-size: var(--rl-step-0);
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.rl-btn:hover {
	background: var(--rl-steel-700);
	border-color: var(--rl-steel-700);
	color: #fff;
}

.rl-btn--primary {
	border-color: var(--rl-charge);
	background: var(--rl-charge);
	color: var(--rl-ink);
}

.rl-btn--primary:hover {
	border-color: #d4a024;
	background: #d4a024;
	color: var(--rl-ink);
}

/* ========================================================================= */
/* Brochure pages                                                             */
/* ========================================================================= */

.rl-page__inner {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.rl-page__head {
	max-width: 42rem;
	margin-bottom: 2.5rem;
}

.rl-page__title {
	margin: 0;
	font-size: clamp(1.875rem, 5vw, 2.875rem);
	letter-spacing: -0.03em;
}

.rl-page__lede {
	margin: 1rem 0 0;
	font-size: var(--rl-step-1);
	color: var(--rl-steel-700);
}

.rl-page__link {
	margin-top: 2.5rem;
}

.rl-prose {
	max-width: 36rem;
}

.rl-prose p {
	margin: 0 0 1.15em;
	font-size: var(--rl-step-0);
	line-height: 1.65;
}

.rl-prose h2 {
	margin: 2rem 0 0.6rem;
	font-size: var(--rl-step-2);
}

.rl-prose h3 {
	margin: 1.75rem 0 0.5rem;
	font-size: var(--rl-step-1);
}

.rl-prose ul,
.rl-prose ol {
	margin: 0 0 1.15em;
	padding-left: 1.25rem;
}

.rl-prose li {
	margin-bottom: 0.4em;
}

.rl-prose a {
	color: var(--rl-low);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

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

.rl-contact {
	margin: 0;
	max-width: 44rem;
	border-top: 2px solid var(--rl-ink);
}

.rl-contact__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.2rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--rl-line);
}

@media (min-width: 36rem) {
	.rl-contact__row {
		grid-template-columns: 11rem minmax(0, 1fr);
		gap: 1.5rem;
	}
}

.rl-contact dt {
	font-size: var(--rl-step--1);
	color: var(--rl-steel-400);
}

.rl-contact dd {
	margin: 0;
}

.rl-contact address {
	font-style: normal;
}

.rl-contact__strong {
	font-family: var(--rl-mono);
	font-size: var(--rl-step-1);
	font-weight: 600;
	color: var(--rl-ink);
	text-decoration: none;
}

.rl-contact__strong:hover {
	color: var(--rl-low);
}

/* --- posts --- */

.rl-posts {
	margin: 0;
	padding: 0;
	max-width: 40rem;
	list-style: none;
}

.rl-posts__item {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--rl-line);
}

.rl-posts__title {
	margin: 0 0 0.4rem;
	font-size: var(--rl-step-2);
}

.rl-posts__title a {
	color: var(--rl-ink);
	text-decoration: none;
}

.rl-posts__title a:hover {
	color: var(--rl-low);
}

.rl-posts__excerpt {
	color: var(--rl-steel-700);
}

.rl-posts__excerpt p {
	margin: 0;
}

/* ========================================================================= */
/* Footer                                                                     */
/* ========================================================================= */

.rl-footer {
	margin-top: 0;
	background: var(--rl-ink);
	color: #b9c7cc;
}

.rl-footer__inner {
	display: grid;
	gap: 2.5rem;
	width: 100%;
	max-width: var(--rl-shell);
	margin-inline: auto;
	padding: clamp(2.5rem, 5vw, 3.5rem) var(--rl-gutter);
}

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

@media (min-width: 64rem) {
	.rl-footer__inner {
		grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
		gap: 3rem;
	}
}

.rl-footer__name {
	margin: 0;
	font-size: var(--rl-step-1);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.rl-footer__legal {
	display: grid;
	gap: 0.2rem;
	margin: 0.75rem 0 0;
	font-size: var(--rl-step--1);
}

.rl-footer__title {
	margin: 0 0 0.75rem;
	font-size: var(--rl-step--1);
	font-weight: 600;
	color: #fff;
}

.rl-footer__title--spaced {
	margin-top: 1.75rem;
}

.rl-footer__list {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--rl-step--1);
}

.rl-footer a {
	color: #b9c7cc;
	text-decoration: none;
}

.rl-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rl-footer__address,
.rl-footer__hours {
	margin: 0;
	font-size: var(--rl-step--1);
	font-style: normal;
	line-height: 1.6;
}

.rl-footer__maplink {
	margin: 0.6rem 0 0;
	font-size: var(--rl-step--1);
}

.rl-footer__base {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rl-footer__base p {
	width: 100%;
	max-width: var(--rl-shell);
	margin-inline: auto;
	padding: 1.25rem var(--rl-gutter);
	font-size: 0.8125rem;
}

/* ========================================================================= */
/* Pagination for post lists                                                  */
/* ========================================================================= */

.navigation.pagination {
	margin-top: 2.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--rl-steel-200);
	border-radius: var(--rl-radius);
	font-size: var(--rl-step--1);
	color: var(--rl-steel-700);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--rl-ink);
	border-color: var(--rl-ink);
	color: #fff;
}

/* ========================================================================= */
/* Contact: how to reach us, and where we are                                 */
/* ========================================================================= */

.rl-reach {
	display: grid;
	gap: 1rem;
	margin-bottom: 3rem;
}

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

.rl-reach__item {
	display: block;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--rl-line);
	border-bottom: 3px solid var(--rl-low);
	border-radius: var(--rl-radius);
	text-decoration: none;
}

.rl-reach__item:hover {
	border-color: var(--rl-low);
	background: var(--rl-frost);
}

.rl-reach__label {
	display: block;
	font-size: var(--rl-step--1);
	color: var(--rl-steel-400);
}

.rl-reach__value {
	display: block;
	margin-top: 0.2rem;
	font-family: var(--rl-mono);
	font-size: var(--rl-step-1);
	font-weight: 600;
	color: var(--rl-ink);
	overflow-wrap: anywhere;
}

.rl-locations {
	margin-bottom: 3rem;
}

.rl-locations__grid {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

@media (min-width: 42rem) {
	.rl-locations__grid {
		grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	}
}

.rl-location {
	padding: 1.25rem;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	background: var(--rl-paper);
}

.rl-location__name {
	margin: 0 0 0.6rem;
	font-size: var(--rl-step-1);
	font-weight: 600;
}

.rl-location__address {
	margin: 0 0 0.75rem;
	font-style: normal;
	line-height: 1.6;
}

.rl-location__hours {
	margin: 0 0 0.5rem;
	font-size: var(--rl-step--1);
	line-height: 1.6;
}

.rl-location__label {
	display: block;
	color: var(--rl-steel-400);
}

.rl-location__phone {
	margin: 0 0 0.4rem;
	font-family: var(--rl-mono);
	font-size: var(--rl-step--1);
}

.rl-location__phone a {
	color: var(--rl-ink);
	text-decoration: none;
}

.rl-location__map {
	margin: 0;
	font-size: var(--rl-step--1);
}

/* The language's name, kept for screen readers beside its flag. */
.rl-lang .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Figures of equal width wherever numbers are read down a column. */
body {
	font-variant-numeric: tabular-nums;
}
