:root {
	--white: #fafbf9;
	--ink: #253e37;
	--accent_1: #234c46;
	--accent_2: #e3e8dc;
	/*--accent_1: #326976;*/
	/*--accent_2: #e2f3f3;*/
	--accent_2: #daefef;
	--line: #c9d0c2;
}

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

html {
	font-family: system-ui, sans-serif;
	font-size: 1rem;
	color: var(--ink);
	background: var(--white);
	line-height: 1.7;
}

html:focus-within {
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: normal;
	line-height: 1.15;
	text-wrap: balance;
	margin: 0 0 1.5rem;
}

h1 {
	font-size: clamp(3rem, 5.5vw, 4rem);
}

h2 {
	font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

h1:only-child, h2:only-child, h3:only-child, h4:only-child, h5:only-child, h6:only-child {
	margin-bottom: 0;
}

p {
	margin: 0 0 1.25rem;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
	text-underline-offset: 0.25em;
}

a:hover {
	text-decoration-thickness: 2px;
}

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

section[id] {
	scroll-margin-top: 2rem;
}

.section__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 2rem 1rem;
}

.menu-nav .section__inner {
	padding-block: 1rem;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -5rem;
	padding: 0.75rem 1rem;
	background: var(--white);
	z-index: 1;
}

.skip-link:focus {
	top: 1rem;
}

.header__links {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 1rem;
}

.social-icons,
.social-links,
.site-nav ul,
.facilities {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 0.25rem;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--accent_1);
}

.social-icons a:hover {
	background: var(--accent_2);
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-decoration: none;
	flex-shrink: 0;
}

.logo__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.2rem;
	height: 5.2rem;
	padding: 8px;
	border: 2px solid var(--accent_1);
	border-radius: 50%;
	filter: brightness(0);
}

.logo__image img {
	width: 100%;
	height: auto;
}

.logo__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	filter: brightness(0);
}

.logo__text img {
	height: 2.5rem;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-nav a,
.menu-nav a {
	display: inline-block;
	padding-block: 0.5rem;
	text-decoration: none;
}

.site-nav a:hover,
.menu-nav a:hover,
.menu-nav a:focus-visible {
	text-decoration: underline;
}

.section-intro,
.footer {
	background: var(--accent_1);
	color: var(--white);
}

.columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 5vw, 5rem);
}

.intro-layout {
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
}

.columns img {
	width: 100%;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 2rem;
	padding: 0.8rem 1.4rem;
	margin-block: 0.5rem 1.5rem;
	background: var(--white);
	color: var(--accent_1);
	text-decoration: none;
}

.button:hover {
	background: var(--accent_2);
}

.cafe-layout {
	align-items: center;
}

.cafe-layout img {
	aspect-ratio: 1.15;
	object-fit: cover;
}

.section-history {
	background: var(--accent_2);
}

.history-layout {
	grid-template-columns: 0.85fr 1.15fr;
}

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

.facilities {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 2rem;
}

.facilities li {
	padding-block: 0.85rem;
	border-bottom: 1px solid var(--line);
}

.visit-layout {
	grid-template-columns: 0.75fr 1.25fr;
	margin-top: 2.5rem;
}

.opening-hours {
	margin: 0 0 2.5rem;
}

.opening-hours div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.5rem;
	border-bottom: 1px solid var(--line);
}

.opening-hours dd {
	margin: 0;
	white-space: nowrap;
}

address {
	font-style: normal;
}

.visit-details p {
	margin-top: 1rem;
}

.visit-layout iframe {
	width: 100%;
	height: 100%;
	min-height: 450px;
	border: 0;
	background: var(--accent_2);
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.event {
	padding-block: 1rem;
	overflow-wrap: anywhere;
}

.event--image {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: start;
	gap: 2rem;
}

.event__image {
	width: 100%;
}

.event--image > h2 {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.event + .event {
	margin-top: 2rem;
	padding-top: 3rem;
	border-top: 1px solid var(--line);
}

.event__details {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 3rem;
	margin: 0 0 1.5rem;
}

.event__details dt {
	font-weight: 600;
}

.event__details dd {
	margin: 0;
}

.event__media {
	display: block;
	width: 100%;
	margin-top: 1.5rem;
}

.event__embed {
	aspect-ratio: 16 / 9;
	border: 0;
}

.menu-nav {
	position: sticky;
	top: 0;
	z-index: 2;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.menu-nav ul {
	display: flex;
	gap: 0.5rem 1.5rem;
	list-style: none;
	margin-block: 0;
	overflow-x: auto;
}

.menu-nav a {
	white-space: nowrap;
}

.menu-nav__picker {
	display: none;
}

.menu-nav__picker select {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 0.25rem;
	font: inherit;
	color: var(--ink);
	background: var(--white);
}

.section-menu[id] {
	scroll-margin-top: calc(var(--menu-nav-height, 5rem) + 1rem);
}

.section-menu + .section-menu {
	border-top: 1px solid var(--line);
}

.menu-heading {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 20rem;
	padding: 2.5rem;
	overflow: hidden;
	background: var(--accent_1);
	color: var(--white);
}

.menu-heading::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(16, 35, 30, 0.7), rgba(16, 35, 30, 0.1)),
		linear-gradient(0deg, rgba(16, 35, 30, 0.1), transparent 75%);
}

.menu-heading h2 {
	max-width: 20ch;
	margin-bottom: 0;
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.menu-heading img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.menu-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.5;
}

.menu-table__name-column {
	width: 28%;
}

.menu-table__price-column {
	width: 8rem;
}

.menu-table th, .menu-table td {
	padding: 1rem 0.75rem;
	vertical-align: top;
	text-align: left;
	overflow-wrap: anywhere;
}

.menu-table__title th {
	position: sticky;
	top: var(--menu-nav-height, 6rem);
	z-index: 1;
	padding: 0.8rem 0.6rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
	color: var(--accent_1);
	background: var(--accent_2);
	border-bottom: 1px solid var(--line);
}

.menu-table__title h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	margin: 0;
	font-size: inherit;
}

.menu-table__served-until {
	margin-left: auto;
	font-size: 1.2rem;
	text-align: right;
}

.menu-table__item th, .menu-table__item td {
	border-top: 1px solid var(--line);
}

.menu-table__item th {
	font-weight: 600;
}

.menu-table .menu-table__price {
	text-align: right;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.menu-info {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0 0 0 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--accent_1);
	background: transparent;
	cursor: pointer;
}

.menu-dialog {
	width: min(32rem, calc(100% - 2rem));
	max-height: calc(100% - 2rem);
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: 0.5rem;
	color: var(--ink);
	background: var(--white);
	overflow-wrap: anywhere;
}

.menu-dialog::backdrop {
	background: rgba(16, 35, 30, 0.65);
}

.menu-dialog form {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.menu-dialog h2 {
	flex: 1;
	margin: 0;
}

.menu-dialog button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	color: inherit;
	background: transparent;
	cursor: pointer;
}

@media screen and (max-width: 650px) {
	.menu-nav--ready ul {
		display: none;
	}

	.menu-nav .menu-nav__picker {
		display: block;
		padding-block: 0.5rem;
	}

	.event--image {
		grid-template-columns: 1fr;
	}

	.menu-table__served-until {
		flex-basis: 100%;
		text-align: left;
	}

	.menu-dialog-ready .menu-table__description,
	.menu-dialog-ready .menu-table__description-column {
		display: none;
	}

	.menu-dialog-ready .menu-table__name-column {
		width: auto;
	}

	.menu-dialog-ready .menu-info:not([hidden]) {
		display: inline-flex;
		vertical-align: middle;
	}

	.menu-dialog-ready .menu-table__item th,
	.menu-dialog-ready .menu-table__item td {
		vertical-align: middle;
	}

	.menu-table th, .menu-table td {
		padding-inline: 0.5rem;
	}

	.menu-table__price-column {
		width: 6.5rem;
	}
}

@media screen and (max-width: 900px) {
	.footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media screen and (max-width: 650px) {
	.menu-heading {
		min-height: 15rem;
		padding: 1.5rem;
		margin-bottom: 2rem;
	}

	.site-nav ul {
		justify-content: center;
		gap: 0.5rem 1.5rem;
	}

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

	.intro-layout {
		gap: 0;
	}

	.cafe-copy {
		grid-row: 1;
	}

	.visit-layout iframe {
		height: 350px;
		min-height: 0;
	}
}

@media screen and (min-width: 600px) {
	.header {
		display: flex;
		justify-content: space-between;
	}

	.header__links {
		padding-top: 0;
	}

	.social-icons {
		justify-content: flex-end;
	}

	.logo {
		flex-direction: row;
		justify-content: normal;
	}

	.logo__text {
		align-items: flex-start;
	}
}

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