:root {
	color-scheme: light dark;
	--fg: #1a1a1a;
	--bg: #ffffff;
	--muted: #666666;
	--accent: #0a66c2;
	--border: #e5e5e5;
	--sidebar-bg: #fafafa;
}

@media (prefers-color-scheme: dark) {
	:root {
		--fg: #e8e8e8;
		--bg: #121212;
		--muted: #a0a0a0;
		--accent: #6db3ff;
		--border: #2a2a2a;
		--sidebar-bg: #1a1a1a;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--fg);
	background: var(--bg);
	line-height: 1.5;
}

.site-shell {
	display: flex;
	min-height: 100vh;
}

.sidebar {
	width: 280px;
	flex-shrink: 0;
	background: var(--sidebar-bg);
	border-right: 1px solid var(--border);
	padding: 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.sidebar .brand {
	font-weight: 600;
	font-size: 1.1rem;
	text-decoration: none;
	color: var(--fg);
}

.sidebar nav {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sidebar nav a {
	text-decoration: none;
	color: var(--muted);
	font-size: 0.95rem;
}

.sidebar nav a:hover,
.sidebar nav a[aria-current="page"] {
	color: var(--accent);
}

.strava-widget {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.strava-widget iframe {
	max-width: 100%;
	border-radius: 8px;
}

.strava-profile-link {
	font-size: 0.8rem;
	color: var(--muted);
	text-decoration: none;
}

.strava-profile-link:hover {
	color: var(--accent);
}

.content-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

main {
	flex: 1;
	max-width: 780px;
	padding: 3rem 2rem;
}

.site-footer {
	max-width: 780px;
	padding: 2rem;
	color: var(--muted);
	font-size: 0.85rem;
}

a {
	color: var(--accent);
}

@media (max-width: 800px) {
	.site-shell {
		flex-direction: column;
	}

	.sidebar {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid var(--border);
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.75rem 1.5rem;
		padding: 1.25rem 1.5rem;
	}

	.sidebar nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem 1rem;
	}

	main {
		padding: 2rem 1.25rem;
	}

	.site-footer {
		padding: 1.5rem 1.25rem;
	}
}

/* Simple gallery layout, shared by Home Services and Fishing pages */
.project-section {
	margin-bottom: 3rem;
}

.project-section h2 {
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.5rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
	align-items: start;
}

.gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--sidebar-bg);
}

.gallery-item p {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--muted);
}

.placeholder-note {
	background: var(--sidebar-bg);
	border: 1px dashed var(--border);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.project-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
}

.project-list li {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
}

.project-list h3 {
	margin: 0 0 0.35rem;
}

.project-list p {
	margin: 0;
	color: var(--muted);
}

.store-badges {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.photo-banner {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	margin: 1.5rem 0 2rem;
	padding-bottom: 0.25rem;
}

.photo-banner img {
	height: 220px;
	width: auto;
	max-width: none;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

@media (max-width: 800px) {
	.photo-banner img {
		height: 160px;
	}
}

.home-hero-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.home-hero-row > img {
	flex: 1 1 0;
	min-width: 150px;
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.logo-card {
	background: #ffffff;
	border-radius: 8px;
	padding: 0.5rem;
	display: flex;
	justify-content: center;
	flex: 1 1 0;
	min-width: 150px;
	margin-bottom: 0;
}

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

.beta-callout {
	background: var(--sidebar-bg);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 1.5rem;
	margin-top: 2rem;
}

.beta-callout h2 {
	margin-top: 0;
}

.beta-buttons {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.beta-button {
	display: inline-block;
	background: var(--accent);
	color: var(--bg);
	text-decoration: none;
	font-weight: 600;
	padding: 0.65rem 1.1rem;
	border-radius: 6px;
}

.beta-button:hover {
	opacity: 0.9;
}
