* {
	box-sizing: border-box;
}

:root {
	/* legacy-safe fallbacks replacing OKLCH variables */
	--color-red-600: #dc2626;
	--color-green-700: #15803d;
	--color-blue-600: #2563eb;
	--color-blue-700: #1d4ed8;
	--color-slate-50: #f8fafc;
	--color-slate-100: #f1f5f9;
	--color-gray-50: #f9fafb;
	--color-gray-100: #f3f4f6;
	--color-gray-200: #e5e7eb;
	--color-gray-300: #d1d5db;
	--color-gray-500: #6b7280;
	--color-gray-600: #4b5563;
	--color-gray-700: #374151;
	--color-gray-800: #1f2937;
	--color-gray-900: #111827;
	--color-white: #ffffff;
	--background: #ffffff;
	--foreground: #111827;
	--card: #ffffff;
	--card-foreground: #111827;
	--popover: #ffffff;
	--popover-foreground: #111827;
	--primary: #111827;
	--primary-foreground: #f8fafc;
	--secondary: #f1f5f9;
	--secondary-foreground: #111827;
	--muted: #f1f5f9;
	--muted-foreground: #6b7280;
	--accent: #f1f5f9;
	--accent-foreground: #111827;
	--destructive: #dc2626;
	--destructive-foreground: #ffffff;
	--border: #e5e7eb;
	--input: #e5e7eb;
	--ring: #9ca3af;
	--chart-1: #f97316;
	--chart-2: #22c55e;
	--chart-3: #3b82f6;
	--chart-4: #eab308;
	--chart-5: #84cc16;
	--sidebar: #f8fafc;
	--sidebar-foreground: #0f172a;
	--sidebar-primary: #111827;
	--sidebar-primary-foreground: #f8fafc;
	--sidebar-accent: #f1f5f9;
	--sidebar-accent-foreground: #111827;
	--sidebar-border: #e5e7eb;
	--sidebar-ring: #9ca3af;
}

html, body {
	background-color: #fff;
	color: #222;
	padding: 0;
	margin: 0;
	font-family: "Roboto", sans-serif;
	scroll-behavior: smooth;
	min-width: 340px;
}

header {
	background-color: rgba(255, 255, 255, 0.9);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 19;
	backdrop-filter: blur(2px);
	transition: background-color 0.5s, color 0.5s, opacity 0.5s;
	will-change: background-color, color, opacity;
}

header.over-hero {
	backdrop-filter: blur(0px);
	background: linear-gradient(0deg,rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.3) 100%);
}

header.over-hero a, header.over-hero ul.navigation li a, header.over-hero div {
	color: #fff;
}

header._hidden {
	opacity: 0;
	top: -6em;
}

header span {
	font-size: 2em;
	text-transform: uppercase;
	font-weight: bold;
	display: inline-block;
	vertical-align: middle;
}

header .badge {
	background: #000;
	border-radius: 100%;
	width: 1.2rem;
	height: 1.2rem;
	color: #fff;
	font-size: 0.8em;
	text-align: center;
	line-height: 1.2rem;
}

header.over-hero .badge {
	color: #000;
	background-color: #fff;
}

header .wrapper {
	padding: 1.5rem 2em;
}

header .header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.navigation-wrap {
	margin-left: auto;
}

section#intro {
	padding: 5em 0 0 0;
}

section#intro h1 {
	display: block;
	max-width: 420px;
	margin: 0;
}

section#intro p {
	display: block;
	max-width: 270px;
	margin: 0;
}

section#intro div.intro {
	display: flex;
	flex-direction: row;
	gap: 4em;
	align-items: center;
}

section .standard-body {
	line-height: 1.4;
}

section.indent {
	margin-top: 5em;
}

footer {
	text-align: left;
	color: #222;
}

footer ul {
	list-style-type: none;
	margin: 0 0 1em 0;
	padding: 0;
	display: block;
}

footer ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

footer ul li:not(:first-child)::before {
	content: "|";
	padding: 0 0.5em;
}

footer ul li a {
	color: #595959;
	text-decoration: none;
}

footer ul li a:hover {
	text-decoration: underline;
}

footer .wrapper .between {
	display: flex;
	justify-content: space-between;
}

footer .footer-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.8em;
}

footer .switchers {
	display: flex;
	gap: 0.5em;
	align-items: center;
}

footer .switchers form {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin: 0;
}

footer .switchers select {
	border: 1px solid #ccc;
	padding: 0.3em 0.5em;
	background: #fff;
	border-radius: 0.5rem;
}

footer .copy {
	font-size: 0.9em;
}

a {
	color: #222;
	text-decoration: underline;
	-webkit-tap-highlight-color: transparent;
}

* {
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
}

.cta {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.6em;
	background: #111827;
	color: #fff;
	border: 1px solid #111827;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.cta:hover {
	background: #0f172a;
	border-color: #0f172a;
	color: #fff;
	box-shadow: 0 12px 25px rgba(17, 24, 39, 0.18);
	transform: translateY(-1px);
}

.cta:active {
	transform: translateY(0);
	box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16);
}

.cta svg {
	width: 1.25em;
	height: 1.25em;
}

a:hover {
	text-decoration: none;
}

ul.navigation {
	list-style-type: none;
	margin: 0;
	display: flex;
	align-items: center;
	padding: 0.5em 0;
}

ul.navigation li {
	display: inline-block;
	margin: 0;
	padding: 0 0.8em;
	vertical-align: middle;
}

ul.navigation li a {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.9em;
	color: #595959;
	font-weight: 500;
}

ul.navigation li a.selected, ul.navigation li a:hover {
	color: #222;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: 0;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 26px;
	height: 18px;
	border: none;
	border-radius: 0;
	padding: 0;
	color: inherit;
	background: transparent;
	line-height: 1;
	transition: transform 0.15s ease;
}

.nav-toggle span {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	transform-origin: center;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }

.description-row {
	flex-wrap: wrap;
}

.photo-stage {
	position: relative;
}

.photo-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	pointer-events: none;
}

.photo-nav__btn {
	pointer-events: auto;
}

.photo-nav--overlay {
	position: absolute;
	inset: 0;
	justify-content: space-between;
}

.photo-nav--mobile {
	display: none;
	margin-top: 1rem;
}

.photo-stage .photo-skeleton {
	display: block;
	width: auto;
	max-width: 100%;
	height: calc(100vh - 12em);
	max-height: 80vh;
	aspect-ratio: 3 / 2;
	border-radius: 0;
}

.photo-stage .photo-img {
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 12em);
	display: block;
}

@media only screen and (max-width: 480px) {
	.photo-stage .photo-skeleton {
		height: auto;
		aspect-ratio: 3 / 2;
		width: 100%;
	}

	.photo-stage .photo-img {
		height: auto;
		max-height: min(70vh, calc(100vh - 28rem));
		width: 100%;
	}
}

@media only screen and (max-width: 480px) {
	.description-row {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 0.5rem;
	}

	.photo-nav--overlay {
		display: none;
	}

	.photo-nav--mobile {
		display: flex;
		justify-content: center;
	}

	header.nav-open nav.navigation-wrap {
		margin-top: 0.25rem;
	}
}

header.nav-open .nav-toggle span:nth-child(1) {
	top: 8px;
	transform: rotate(45deg);
}

header.nav-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

header.nav-open .nav-toggle span:nth-child(3) {
	top: 8px;
	transform: rotate(-45deg);
}

img.lazy {
	visibility: hidden;
	opacity: 0;
	transition: 0.2s opacity;
}

img.lazy.loaded {
	visibility: visible;
	opacity: 1;
}

input.hp {
	width: 1px !important;
	height: 1px;
	position: absolute;
	top: 0;
	left: 0;
	border: 0 none !important;
	z-index: -1;
}

input {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}

textarea {
	height: 10em;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	resize: none;
}

input[type=text], input[type=email], textarea {
	font-family: inherit;
	border: 2px solid #000;
	padding: 0.8em 0.9em;
	display: block;
	font-size: 1em;
	width: 100%;
	margin: 1em 0;
}

input[type=submit] {
	border: 2px solid #000;
	background: #fff;
	padding: 0.8em 2em;
	font-size: 1em;
	float: right;
	font-weight: bold;
}

input[type=submit]:hover {
	background: #000;
	color: #fff;
	cursor: pointer;
}

input[type=checkbox] {
	-webkit-appearance: auto;
	appearance: auto;
}

button {
	cursor: pointer;
	background: none;
	color: inherit;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}
button.chevron-button {
	color: #595959;
}
button.chevron-button:hover {
	color: #222;
	background: none;
}

#hero {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;

	background-size: cover;
	background-color: transparent;
	background-position: center center;
}

#hero .intro {
	font-size: 1.5em;
	color: #000;
}

#hero .intro h1 {
	display: inline;
	font-size: inherit;
	margin: 0;
	padding: 0;
}

#contact .wrapper {
	text-align: center;
}

#contact_form_wrapper {
	max-width: 520px;
	width: 100%;
	margin: 4em auto;
}

#contact_form_wrapper input[type=text],
#contact_form_wrapper input[type=email],
#contact_form_wrapper textarea {
	margin: 1em 0;
	width: 100%;
	border: 2px solid #111827;
	border-radius: 10px;
	padding: 1em;
	font-size: 1em;
	background: #fff;
}

#contact_form_wrapper textarea {
	min-height: 8em;
}

#contact_form_wrapper input[type=text]:focus,
#contact_form_wrapper input[type=email]:focus,
#contact_form_wrapper textarea:focus {
	outline: none;
	background: #fff;
	border-color: #111827;
	box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

#contact_form_wrapper .form-actions {
	text-align: right;
	margin-top: 1.5rem;
}

#contact_form_wrapper .btn-primary {
	background: #111827;
	color: #fff;
	font-size: 1em;
	padding: 0.85em 1.6em;
	border-radius: 10px;
	font-weight: 600;
}

#contact_form_wrapper .btn-primary:hover {
	background: #0f172a;
}

#photos h2 {
	color: #9b9b9b;
	font-size: 1.5em;
	text-align: center;
	font-weight: normal;
	margin: 0;
	padding: 2em 0;
}

.filters {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	margin-bottom: 1.5em;
}

.filters__title {
	margin: 0;
	font-size: 1.1em;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #111827;
}

.filters__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
}

.filter-button {
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	color: #111827;
	padding: 0.65em 1em;
	border-radius: 999px;
	font-size: 0.75em;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-button:hover {
	border-color: #111827;
	transform: translateY(-1px);
}

.filter-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.filter-button.active {
	background: #111827;
	color: #fff;
	border-color: #111827;
	box-shadow: 0 18px 35px rgba(17, 24, 39, 0.15);
}

.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr;
	grid-gap: 2em;
}

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

.gallery figure {
	margin: 0;
	position: relative;
	aspect-ratio: 3 / 2;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery .gallery__spacer {
	visibility: hidden;
}

/*.gallery figure:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row-start: 1;
	grid-row-end: 3;
}*/

.gallery figure.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.gallery figure.is-fading-out {
	transform: scale(0.98);
}

.gallery figure.is-fading-in {
	opacity: 1;
	transform: scale(1);
}

.gallery figure.vertical {
	grid-row: span 2;
	height: 100%;
	aspect-ratio: auto;
}

.gallery .img-skeleton {
	position: absolute;
	inset: 0;
	background: #f3f4f6;
	animation: pulse 1.2s ease-in-out infinite;
	z-index: 0;
}

.gallery img.loaded + .img-skeleton {
	display: none;
}

@keyframes pulse {
	0% { opacity: 1; }
	50% { opacity: 0.5; }
	100% { opacity: 1; }
}

.wrapper {
	margin: 0 auto;
	padding: 2rem;
	width: 100%;
	max-width: 1600px;
	height: auto;
	position: relative;
}

.wrapper.narrow {
	max-width: 800px;
}

.popup-content {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-width: 1600px;
	position: relative;
}

.clear {
	clear: both;
}

.divider {
	border-top: 1px solid #f0f0f0;
	margin: 2em 0;
}

@media only screen and (max-width: 640px) {
	section#intro h1 {
		max-width: 100%;
	}

	section#intro p {
		max-width: 100%;
	}

	section#intro div.intro {
		flex-direction: column;
		gap: 1em;
	}

	.gallery {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr;
		grid-gap: 1em;
	}

	.filters__buttons {
		gap: 0.4em;
	}

	.filter-button {
		font-size: 0.7em;
		padding: 0.55em 0.9em;
	}
}

@media only screen and (max-width: 900px) {

}

@media only screen and (max-width: 480px) {
	header .wrapper {
		padding: 1rem;
	}

	.wrapper {
		padding: 1rem;
	}

	header .header-inner {
		justify-content: flex-start;
	}

	.navigation-wrap {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		padding: 0 1rem;
	}

	ul.navigation {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		row-gap: 0.35em;
		background: #fff;
		border: 1px solid #e5e7eb;
		border-radius: 14px;
		padding: 0.5em 1rem 0.75em;
		box-shadow: 0 15px 35px rgba(17, 24, 39, 0.08);
	}

	header.nav-open ul.navigation {
		display: flex;
	}

	ul.navigation li {
		display: block;
		width: 100%;
		padding: 0.35em 0;
	}

	ul.navigation li a {
		font-size: 0.95em;
		display: block;
		width: 100%;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-left: 0.5rem;
	}

.header-actions {
	margin-left: auto;
	gap: 0.75rem;
}
}

.route-popup {
	height: 100vh;
	height: 100svh;
	height: 100dvh;
	max-height: 100dvh;
	padding-bottom: env(safe-area-inset-bottom);
}

.route-popup .wrapper {
	position: relative;
	--popup-pad: 2rem;
}

@media only screen and (max-width: 480px) {
	.route-popup .wrapper {
		--popup-pad: 1rem;
	}
}

.popup-close-btn {
	position: absolute;
	top: var(--popup-pad);
	left: var(--popup-pad);
}


.summary-mobile {
	@media (min-width: 481px) {
		display: none;
	}
}
/*
@media (prefers-color-scheme: dark) {
	html, body {
		background-color: #0d0d0d;
		color: #dfdfdf;
	}

	a {
		color: #dfdfdf;
	}

	header {
		background-color: rgba(13, 13, 3, 0.9);
	}

	input[type="text"], input[type="email"], textarea {
		border: 2px solid #dfdfdf;
		background-color: #0d0d0d;
		color: #dfdfdf;
	}

	input[type="submit"] {
		background-color: #0d0d0d;
		color: #dfdfdf;
		border: 2px solid #dfdfdf;
	}

	input[type=submit]:hover {
		color: #0d0d0d;
		background-color: #dfdfdf;
	}
}
*/
