* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 2rem 1rem;
	color: #25211c;
	background: #f7f3ea;
	font-family: Georgia, serif;
	line-height: 1.5;
}

.edge-nav {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	width: 11rem;
	transform: translateY(-50%);
	border: 2px solid #25211c;
	border-right: 0;
	border-radius: 12px 0 0 12px;
	overflow: hidden;
	background: #f7f3ea;
	box-shadow: 0 4px 14px rgba(37, 33, 28, 0.18);
}

.edge-nav a {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid #c8b9a7;
	color: #25211c;
	font-size: 0.85rem;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.edge-nav a:last-child {
	border-bottom: 0;
}

.edge-nav a:hover,
.edge-nav a:focus-visible,
.edge-nav a.active {
	background: #25211c;
	color: #f7f3ea;
}

.site-header {
	position: relative;
	width: calc(100% + 2rem);
	margin: -2rem 0 1.5rem -1rem;
	background: #25211c;
}

.site-header > img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.site-logo {
	position: absolute;
	top: 0.75rem;
	left: 1rem;
	color: #fff;
	text-shadow: 0 1px 3px #000;
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
}

.header-title {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	margin: 0;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: clamp(2rem, 6vw, 4.5rem);
	line-height: 1.05;
	text-align: center;
	text-shadow: 2px 2px 5px #000;
}

.slideshow {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: min(100%, 900px);
	min-height: 360px;
	margin: 0 auto;
}

.slides {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 360px;
	overflow: hidden;
}

.slide {
	display: none;
	width: 70%;
	max-width: 70%;
	max-height: 100%;
	object-fit: contain;
}

.slide.active {
	display: block;
}

.slide-arrow {
	flex: 0 0 3rem;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	color: #fff;
	background: #25211c;
	font-size: 1.5rem;
	cursor: pointer;
}

.slide-arrow:hover,
.slide-arrow:focus-visible {
	background: #9a5b39;
}

.slide-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.75rem auto 2rem;
}

.slide-dot {
	width: 0.7rem;
	height: 0.7rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c8b9a7;
	cursor: pointer;
}

.slide-dot.active,
.slide-dot:hover,
.slide-dot:focus-visible {
	background: #9a5b39;
}

h1,
h2,
h3 {
	width: min(100%, 900px);
	margin-right: auto;
	margin-left: auto;
}

h3 {
	font-size: 1rem;
	font-weight: normal;
}

.feature-card {
	width: min(100%, 900px);
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.5rem;
	align-items: center;
	padding: 1rem;
	background: #fffaf3;
	border: 2px solid #e3d3bc;
	border-radius: 20px;
	box-shadow: 0 5px 15px rgba(37, 33, 28, 0.06);
}

.feature-card img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: 16px;
}

.feature-copy h2 {
	margin-bottom: 0.5rem;
}

.photo-grid {
	width: min(100%, 900px);
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.photo-card {
	margin: 0;
	padding: 0.75rem;
	background: #fffaf3;
	border: 2px solid #e3d3bc;
	border-radius: 16px;
	text-align: center;
}

.photo-card img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 12px;
}

.photo-card figcaption {
	margin-top: 0.7rem;
	font-weight: bold;
	color: #25211c;
}

@media (max-width: 600px) {
	.edge-nav {
		top: auto;
		right: 0.5rem;
		bottom: 0.5rem;
		left: 0.5rem;
		flex-direction: row;
		width: auto;
		transform: none;
		border: 2px solid #25211c;
		border-radius: 12px;
	}

	.edge-nav a {
		flex: 1;
		padding: 0.55rem 0.35rem;
		border-right: 1px solid #c8b9a7;
		border-bottom: 0;
		font-size: 0.7rem;
	}

	.edge-nav a:last-child {
		border-right: 0;
	}

	.site-header > img {
		height: 180px;
	}

	.slideshow {
		gap: 0.5rem;
		min-height: 240px;
	}

	.slides {
		height: 240px;
	}

	.slide-arrow {
		flex-basis: 2.5rem;
		width: 2.5rem;
		height: 2.5rem;
	}

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

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

.page-nav {
  width: min(100%, 900px);
  margin: 3rem auto 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 2px solid #25211c;
  font-family: Georgia, serif;
}

.page-nav .page-btn {
  background: #25211c;
  color: #f7f3ea;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.page-nav .page-btn:hover {
  background: #9a5b39;
  transform: translateY(-2px);
}

.page-nav .page-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.page-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.page-dots a {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #25211c;
  text-decoration: none;
  color: #25211c;
  font-weight: bold;
}

.page-dots a.active {
  background: #25211c;
  color: #f7f3ea;
}

.page-label {
  font-style: italic;
  color: #9a5b39;
}
