@font-face {
	font-family: "Grand Hotel";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/grand-hotel.woff2") format("woff2");
}
@font-face {
	font-family: Lato;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/lato-regular.woff2") format("woff2");
}
@font-face {
	font-family: Lato;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/fonts/lato-bold.woff2") format("woff2");
}
@font-face {
	font-family: "Yanone Kaffeesatz";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("/assets/fonts/yanone-kaffeesatz-light.woff2") format("woff2");
}
@font-face {
	font-family: "Yanone Kaffeesatz";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/yanone-kaffeesatz-regular.woff2") format("woff2");
}
:root {
	--blue: #287abd;
	--ink: #292929;
	--paper: #fafafa;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-width: 320px;
	background: var(--paper);
	color: var(--ink);
	font:
		16px/1.5 Lato,
		Arial,
		sans-serif;
}
a {
	color: var(--ink);
	text-decoration-line: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
	text-decoration-skip-ink: auto;
}
a.external {
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23fff' stroke='%23000' d='M1.5 4.518h5.982V10.5H1.5z'/%3E%3Cpath fill='%23000' d='M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z'/%3E%3Cpath fill='%23fff' d='m9.995 2.004.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z'/%3E%3C/svg%3E%0A");
	display: inline-block;
	background-position: center right;
	background-repeat: no-repeat;
	background-size: 12px 12px;
	padding-right: 15px;
}
header {
	background: var(--blue);
	border-bottom: 1px solid #17619f;
	box-shadow: 0 2px 10px #0003;
}
.nav-wrap {
	max-width: 1140px;
	margin: auto;
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 24px;
}
.brand {
	flex-shrink: 0;
}
.brand img {
	display: block;
	width: 240px;
	height: auto;
}
.nav {
	display: flex;
	gap: 28px;
	align-items: center;
	flex-shrink: 0;
}
.nav a {
	color: #fff;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: none;
	text-transform: uppercase;
	font:
		300 24px/1 "Yanone Kaffeesatz",
		sans-serif;
}
.nav a:hover {
	text-decoration-line: underline;
	text-decoration-thickness: 0.08em;
}
.nav a.external,
.footer-links a.external,
footer p a.external {
	background-image: none;
	padding-right: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.nav a.external::after,
.footer-links a.external::after,
footer p a.external::after {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	transform: translateY(-2px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.25' d='M1.5 4.5v6h6v-3M4.5 1.5h6v6M10.5 1.5l-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
}
.content {
	max-width: 1140px;
	width: 100%;
	margin: 0 auto 72px;
	padding: 0 20px;
}
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	margin-top: 60px;
}
.layout.full {
	display: block;
}
main h1 {
	font:
		400 52px/1.1 "Grand Hotel",
		serif;
	margin: 0 0 24px;
}
.entry p {
	margin: 24px 0;
}
.entry ul {
	margin: 0;
}
.entry p + ul {
	margin-top: -24px;
}
.entry h2,
.entry h3 {
	font-family: "Yanone Kaffeesatz", sans-serif;
	font-weight: 300;
	line-height: 1.2;
	margin: 28px 0 12px;
}
.entry h2 {
	font-size: 32px;
}
.entry h3 {
	font-size: 26px;
}
.entry hr {
	border: 0;
	border-top: 1px solid #0002;
	margin: 30px 0;
}
.entry figure {
	margin: 24px 0;
}
.entry img {
	display: block;
	width: 100%;
	height: auto;
}
.entry figure + figure {
	margin-top: 24px;
}
.entry figure img {
	max-height: 520px;
	object-fit: cover;
}
.sidebar h2 {
	font:
		300 30px/1 "Yanone Kaffeesatz",
		sans-serif;
	text-transform: uppercase;
	margin: 10px 0 30px;
}
.sidebar {
	margin-top: 0;
}
.sidebar section {
	margin: 0 0 58px;
}
.sidebar .green {
	color: green;
	font-weight: 700;
}
.map {
	width: 100%;
	height: 300px;
	border: 0;
}
.home-intro {
	margin-top: 0;
}
.home-intro h1 {
	/* Keep the serif fallback smaller while Grand Hotel loads. */
	font-size-adjust: 0.4;
}
.home-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 24px 0;
}
.home-gallery img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
}
.thoughts {
	text-align: center;
	margin: 24px;
}
.thoughts img {
	width: 75px;
	margin: auto;
}
footer {
	background: var(--blue);
	color: #fff;
	padding: 50px 0 18px;
}
.footer-inner {
	max-width: 1140px;
	margin: auto;
}
.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	text-align: center;
	gap: 20px;
	margin-bottom: 65px;
}
footer a {
	color: #fff;
	border-bottom: none;
	text-decoration: none;
}
footer p {
	text-align: center;
	font: 16px/1.5 Lato, sans-serif;
	margin: 0;
}
.footer img {
	height: 30px;
	vertical-align: middle;
}
@media (max-width: 820px) {
	.nav-wrap {
		padding: 12px 20px;
		display: block;
	}
	.brand img {
		margin: auto;
	}
	.nav {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
		max-width: 480px;
		margin: 20px auto 0;
		row-gap: 15px;
	}
	.nav a {
		justify-self: center;
		font-size: 24px;
	}
	.content {
		width: 100%;
		padding: 0 12px;
	}
	.layout {
		display: block;
		margin-top: 35px;
	}
	.sidebar {
		margin-top: 55px;
	}
	main h1 {
		font-size: 44px;
	}
	.footer-inner {
		padding: 0 12px;
	}
	.home-gallery {
		gap: 4px;
	}
}

/* Equipment area cards */
.area-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 40px;
}
.area-card {
	position: relative;
	display: block;
	border-bottom: none;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	color: #fff;
	text-decoration: underline;
	background: #222;
}
.area-card::after {
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(transparent, #000b);
	content: "";
}
.area-card picture {
	display: block;
	width: 100%;
	height: 100%;
}
.area-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}
.area-card span {
	position: absolute;
	z-index: 1;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	text-shadow: 0 1px 4px #000;
}
.area-card:hover img,
.area-card:focus-visible img {
	transform: scale(1.04);
}
@media (max-width: 820px) {
	.tools-list h3 {
		min-width: 0;
	}
	.tools-list h3 > span {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 560px) {
	.area-grid {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
		grid-template-columns: 1fr;
	}
}

.tools-search {
	margin: 0 0 32px;
}
.tools-search label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}
.tools-search-controls {
	display: flex;
	gap: 8px;
	max-width: 520px;
}
.tools-search input {
	min-width: 0;
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #0005;
	border-radius: 4px;
	font: inherit;
}
.tools-search button {
	padding: 10px 16px;
	border: 1px solid #0005;
	border-radius: 4px;
	background: #eee;
	font: inherit;
	cursor: pointer;
}
.tools-results-count {
	font-size: 14px;
	font-weight: 400;
}
.tools-toc {
	margin-top: 32px;
	padding: 16px 20px;
	border: 1px solid #0002;
	background: #fff8;
}
.tools-toc strong {
	display: block;
	margin-bottom: 8px;
}
.tools-toc ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 24px;
	margin: 0;
	padding-left: 20px;
}
.tools-list h3 {
	position: sticky;
	top: -36px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 0px;
	padding: 48px 0 10px;
	background: var(--paper);
	scroll-margin-top: -36px;
}
.category-back {
	font: 16px/1.5 Lato, Arial, sans-serif;
	white-space: nowrap;
}
.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}
.tool-card.external {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 10px;
	background: none;
	border: 1px solid #0002;
	color: var(--ink);
	text-decoration: none;
}
.tool-card.external::after {
	display: none;
}
.tool-card img {
	width: 100%;
	height: 170px;
	object-fit: contain;
	background: #eee;
}
.tool-card span {
	padding: 0 10px;
}
@media (max-width: 820px) {
	.tools-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
