:root {
	--svc-bg: #fbfbf8;
	--svc-surface: #ffffff;
	--svc-text: #171717;
	--svc-muted: #5f6468;
	--svc-line: #d9ded8;
	--svc-accent: #0f766e;
	--svc-accent-strong: #124e48;
	--svc-focus: #b45309;
	--svc-radius: 8px;
	--svc-shell: min(1120px, calc(100vw - 32px));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--svc-bg);
	color: var(--svc-text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeSpeed;
}

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

a {
	color: var(--svc-accent-strong);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

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

:focus-visible {
	outline: 3px solid var(--svc-focus);
	outline-offset: 3px;
}

.site-shell {
	width: var(--svc-shell);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: 12px;
	z-index: 10;
	transform: translateY(-160%);
	padding: 8px 12px;
	background: var(--svc-text);
	color: #fff;
	border-radius: var(--svc-radius);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	border-bottom: 1px solid var(--svc-line);
	background: rgba(251, 251, 248, 0.96);
}

.site-header__inner {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-title {
	color: var(--svc-text);
	font-size: 1.1rem;
	font-weight: 800;
	text-decoration: none;
}

.primary-nav {
	display: flex;
	align-items: center;
}

.menu-toggle {
	display: none;
	border: 1px solid var(--svc-line);
	border-radius: var(--svc-radius);
	background: var(--svc-surface);
	color: var(--svc-text);
	padding: 8px 12px;
	font: inherit;
}

.primary-nav ul,
.footer-nav ul {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a,
.footer-nav a {
	color: var(--svc-text);
	font-weight: 650;
	text-decoration: none;
}

.hero {
	background: linear-gradient(135deg, #e6f4ef, #fff8e8 62%, #f7fbff);
	border-bottom: 1px solid var(--svc-line);
}

.hero__inner {
	padding-block: clamp(48px, 8vw, 104px);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--svc-accent-strong);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.hero h1,
.entry h1,
.archive-header h1 {
	margin: 0;
	font-size: clamp(2rem, 6vw, 4.25rem);
	line-height: 1.05;
}

.hero p {
	max-width: 720px;
	margin: 20px 0 0;
	color: var(--svc-muted);
	font-size: 1.15rem;
}

.site-main {
	min-height: 55vh;
}

.content-list {
	padding-block: 40px;
}

.elementor-content {
	width: 100%;
}

.svc-elementor-page .site-main {
	overflow-x: clip;
}

.svc-elementor-page .elementor img {
	height: auto;
}

.entry {
	padding-block: 28px;
	border-bottom: 1px solid var(--svc-line);
}

.entry:last-child {
	border-bottom: 0;
}

.entry__header h1,
.entry__header h2 {
	margin: 0;
	line-height: 1.16;
}

.entry__header h2 {
	font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.entry__header a {
	color: var(--svc-text);
	text-decoration: none;
}

.entry__meta,
.archive-description {
	color: var(--svc-muted);
}

.entry__media {
	margin: 22px 0;
	overflow: hidden;
	border-radius: var(--svc-radius);
	background: var(--svc-line);
}

.entry__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.entry__content {
	max-width: 760px;
}

.entry__content > *:first-child {
	margin-top: 0;
}

.entry__content > *:last-child {
	margin-bottom: 0;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block: 28px;
}

.page-numbers,
.post-page-numbers {
	min-width: 40px;
	padding: 8px 12px;
	border: 1px solid var(--svc-line);
	border-radius: var(--svc-radius);
	background: var(--svc-surface);
	text-align: center;
	text-decoration: none;
}

input,
textarea,
select,
button {
	max-width: 100%;
	font: inherit;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
	width: 100%;
	border: 1px solid var(--svc-line);
	border-radius: var(--svc-radius);
	padding: 11px 12px;
	background: var(--svc-surface);
	color: var(--svc-text);
}

button,
input[type="submit"] {
	border: 0;
	border-radius: var(--svc-radius);
	background: var(--svc-accent-strong);
	color: #fff;
	padding: 11px 16px;
	font-weight: 750;
	cursor: pointer;
}

.site-footer {
	border-top: 1px solid var(--svc-line);
	padding-block: 32px;
	background: #eef5f1;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.site-credit {
	margin: 18px 0 0;
	color: var(--svc-muted);
}

@media (max-width: 720px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 16px;
	}

	.primary-nav {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
	}

	.menu-toggle {
		display: inline-flex;
		width: max-content;
	}

	.primary-nav ul {
		display: none;
		align-items: stretch;
		flex-direction: column;
		width: 100%;
		gap: 0;
	}

	.primary-nav.is-open ul {
		display: flex;
	}

	.primary-nav li {
		border-top: 1px solid var(--svc-line);
		padding-block: 10px;
	}

	.footer-nav ul {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
	}
}
