:root {
	--wc-bg: #f6f8f6;
	--wc-surface: #ffffff;
	--wc-surface-2: #edf2ee;
	--wc-text: #18222d;
	--wc-muted: #5b6671;
	--wc-border: #dce3df;
	--wc-primary: #184f3a;
	--wc-primary-strong: #103c2b;
	--wc-primary-soft: #dfeee6;
	--wc-gold: #c8a245;
	--wc-gold-soft: #f5ecd4;
	--wc-danger: #a64031;
	--wc-shadow: 0 18px 44px rgba(24, 34, 45, 0.1);
	--wc-radius: 8px;
	--wc-font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--wc-font-serif: "Source Serif 4", Georgia, serif;
}

html[data-theme="dark"] {
	--wc-bg: #0f1720;
	--wc-surface: #17212d;
	--wc-surface-2: #1f2b37;
	--wc-text: #f3f6f3;
	--wc-muted: #b7c1bd;
	--wc-border: #2d3b48;
	--wc-primary: #75b894;
	--wc-primary-strong: #9cd3b3;
	--wc-primary-soft: #1a3428;
	--wc-gold: #dfc46a;
	--wc-gold-soft: #332b18;
	--wc-danger: #e58a72;
	--wc-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
	background: var(--wc-bg);
	color: var(--wc-text);
	font-family: var(--wc-font-sans);
	font-size: 16px;
	line-height: 1.65;
	transition: background-color 180ms ease, color 180ms ease;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: var(--wc-primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--wc-primary-strong);
}

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

button,
input,
select,
textarea {
	font: inherit;
}

.container {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 1000;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--wc-text);
	color: var(--wc-bg);
	border-radius: 6px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
	background: var(--wc-surface);
	border-bottom: 1px solid var(--wc-border);
}

.utility-bar {
	background: var(--wc-primary-strong);
	color: #fff;
	font-size: 0.875rem;
}

html[data-theme="dark"] .utility-bar {
	background: #0b1218;
}

.utility-bar__inner,
.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.utility-links {
	display: flex;
	gap: 18px;
}

.utility-links a {
	color: #fff;
	text-decoration: none;
}

.masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 18px;
}

.brand__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--wc-text);
	text-decoration: none;
}

.brand__seal,
.custom-logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 50%;
}

.brand__text {
	display: grid;
	gap: 2px;
}

.brand__name {
	font-family: var(--wc-font-serif);
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	font-weight: 700;
	line-height: 1.1;
}

.brand__tagline {
	color: var(--wc-muted);
	font-size: 0.9rem;
}

.masthead__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-search {
	position: relative;
	width: min(280px, 28vw);
}

.site-search input {
	width: 100%;
	min-height: 42px;
	padding: 9px 42px 9px 14px;
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	background: var(--wc-surface-2);
	color: var(--wc-text);
}

.site-search button {
	position: absolute;
	top: 7px;
	right: 8px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: var(--wc-primary);
	cursor: pointer;
}

.site-search button::before {
	position: absolute;
	inset: 7px 8px 8px 7px;
	content: "";
	border: 2px solid var(--wc-surface);
	border-radius: 50%;
}

.site-search button::after {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 8px;
	height: 2px;
	content: "";
	background: var(--wc-surface);
	transform: rotate(45deg);
}

.theme-toggle,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	background: var(--wc-surface);
	color: var(--wc-text);
	cursor: pointer;
}

.theme-toggle {
	gap: 8px;
	padding: 8px 12px;
}

.theme-toggle__icon {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wc-gold);
	box-shadow: inset -6px -4px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] .theme-toggle__icon {
	background: var(--wc-primary-strong);
	box-shadow: 0 0 0 4px rgba(156, 211, 179, 0.14);
}

.menu-toggle {
	display: none;
	width: 44px;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle span:not(.screen-reader-text) {
	width: 18px;
	height: 2px;
	background: currentColor;
}

.nav-wrap {
	border-top: 1px solid var(--wc-border);
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	display: block;
	padding: 13px 14px;
	color: var(--wc-text);
	font-weight: 700;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a {
	color: var(--wc-primary);
}

.primary-menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--wc-surface);
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	box-shadow: var(--wc-shadow);
}

.primary-menu li:hover > ul,
.primary-menu li:focus-within > ul {
	display: block;
}

.primary-menu ul ul {
	top: -9px;
	left: calc(100% + 8px);
}

.primary-menu ul a {
	padding: 9px 10px;
	font-weight: 600;
}

.hero {
	position: relative;
	isolation: isolate;
	padding: clamp(56px, 7vw, 92px) 0;
	background:
		linear-gradient(90deg, rgba(10, 23, 18, 0.85), rgba(10, 23, 18, 0.4)),
		var(--hero-image) center / cover;
	color: #fff;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: end;
	gap: clamp(28px, 5vw, 64px);
}

.hero__copy {
	max-width: 720px;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--wc-gold);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.notice-panel h2,
.footer-brand h2 {
	margin: 0;
	font-family: var(--wc-font-serif);
	line-height: 1.06;
}

.hero h1 {
	max-width: 760px;
	font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.hero p:not(.eyebrow) {
	max-width: 650px;
	margin: 18px 0 0;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: var(--wc-radius);
	font-weight: 800;
	text-decoration: none;
}

.button--primary {
	background: var(--wc-gold);
	color: #17212d;
}

.button--secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-panel,
.notice-panel,
.page-shell,
.page-sidebar,
.post-card {
	background: var(--wc-surface);
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	box-shadow: var(--wc-shadow);
}

.hero-panel {
	padding: 22px;
	color: var(--wc-text);
}

.hero-panel h2 {
	margin: 0 0 12px;
	font-size: 1.2rem;
}

.hero-panel ul,
.footer-list,
.page-sidebar ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-panel a,
.footer-list a,
.page-sidebar a {
	color: inherit;
	text-decoration: none;
}

.hero-panel a {
	display: block;
	padding: 10px 0;
	border-top: 1px solid var(--wc-border);
	font-weight: 700;
}

.section {
	padding: clamp(46px, 7vw, 78px) 0;
}

.section--quick {
	background: var(--wc-surface);
}

.section--content {
	padding-top: 0;
}

.section-heading {
	max-width: 720px;
	margin-bottom: 24px;
}

.section-heading h2,
.notice-panel h2 {
	font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.service-grid--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 22px;
}

.service-card {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 14px;
	min-height: 132px;
	padding: 18px;
	background: var(--wc-surface);
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	color: var(--wc-text);
	text-decoration: none;
}

.service-card:hover {
	border-color: var(--wc-primary);
	transform: translateY(-2px);
}

.service-card__icon {
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: var(--wc-radius);
	background: var(--wc-primary-soft);
}

.service-card__icon::before,
.office-row::after {
	position: absolute;
	content: "";
}

.service-card__icon::before {
	inset: 11px;
	border: 2px solid var(--wc-primary);
	border-radius: 3px;
}

.service-card__title {
	display: block;
	font-weight: 800;
}

.service-card__text {
	display: block;
	margin-top: 4px;
	color: var(--wc-muted);
	font-size: 0.94rem;
	line-height: 1.45;
}

.split-layout,
.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}

.office-list {
	display: grid;
	gap: 10px;
}

.office-row {
	position: relative;
	display: block;
	padding: 18px 52px 18px 18px;
	background: var(--wc-surface);
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	color: var(--wc-text);
	text-decoration: none;
}

.office-row strong,
.office-row em {
	display: block;
}

.office-row em {
	margin-top: 3px;
	color: var(--wc-muted);
	font-style: normal;
}

.office-row::after {
	top: 50%;
	right: 20px;
	width: 9px;
	height: 9px;
	border-top: 2px solid var(--wc-primary);
	border-right: 2px solid var(--wc-primary);
	transform: translateY(-50%) rotate(45deg);
}

.notice-panel,
.page-sidebar,
.page-shell,
.post-card {
	padding: 24px;
}

.page-hero {
	padding: clamp(46px, 7vw, 76px) 0;
	background: var(--wc-primary-soft);
	border-bottom: 1px solid var(--wc-border);
}

.page-hero h1 {
	max-width: 900px;
	font-size: clamp(2rem, 5vw, 4rem);
}

.content-layout {
	padding-block: clamp(36px, 6vw, 70px);
}

.content-list {
	display: grid;
	gap: 18px;
}

.page-content {
	overflow-wrap: anywhere;
}

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

.page-content h2,
.page-content h3,
.post-card h2 {
	line-height: 1.2;
}

.page-content h2,
.post-card h2 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.page-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.page-content th,
.page-content td {
	padding: 10px;
	border: 1px solid var(--wc-border);
}

.featured-media {
	margin: 0 0 24px;
}

.featured-media img {
	border-radius: var(--wc-radius);
}

.text-link {
	font-weight: 800;
}

.site-footer {
	background: #111a22;
	color: #e9efeb;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 34px;
	padding-block: 46px;
}

.site-footer h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 1.1rem;
}

.footer-brand h2 {
	font-size: 1.6rem;
}

.footer-brand p {
	max-width: 480px;
	color: #bfc9c5;
}

.footer-list a {
	color: #dbe5df;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: #bfc9c5;
	font-size: 0.9rem;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: #dbe5df;
	text-decoration: none;
}

@media (max-width: 1180px) {
	.utility-bar__inner {
		align-items: center;
		flex-direction: row;
		gap: 10px;
		padding-block: 8px;
	}

	.utility-links {
		display: none;
	}

	.masthead {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		gap: 10px;
		padding-block: 12px;
		width: min(100% - 24px, 1120px);
		max-width: calc(100vw - 24px);
	}

	.brand {
		min-width: 0;
		flex: 1;
		max-width: calc(100vw - 124px);
	}

	.brand__link {
		gap: 10px;
		min-width: 0;
		max-width: 100%;
	}

	.brand__seal,
	.custom-logo {
		width: 44px !important;
		height: 44px !important;
		flex: 0 0 44px;
	}

	.brand__name {
		display: block;
		max-width: 100%;
		overflow: hidden;
		font-size: 1.35rem;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.brand__tagline {
		display: none;
	}

	.masthead__actions {
		display: flex;
		flex: 0 0 auto;
		gap: 8px;
		width: auto;
		max-width: 92px;
	}

	.site-search {
		display: none;
	}

	.theme-toggle {
		width: 44px;
		padding: 0;
	}

	.theme-toggle__text {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.nav-wrap {
		display: none;
	}

	body.menu-open .nav-wrap {
		display: block;
	}

	.primary-menu {
		display: block;
		padding-block: 8px;
	}

	.primary-menu a {
		padding: 12px 0;
	}

	.primary-menu ul {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 16px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.hero__inner,
	.split-layout,
	.content-layout {
		grid-template-columns: 1fr;
	}

	.hero h1 {
		max-width: 100%;
		font-size: clamp(2rem, 5.5vw, 2.8rem);
		overflow-wrap: break-word;
	}

	.service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.footer-bottom__inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 14px;
	}
}

@media (max-width: 700px) {
	.utility-bar {
		display: none;
	}

	.brand__name {
		font-size: 1.25rem;
	}

	.hero {
		padding-block: 42px;
		overflow: hidden;
	}

	.hero h1 {
		font-size: clamp(1.9rem, 9vw, 2.45rem);
		line-height: 1.08;
	}

	.hero p:not(.eyebrow) {
		font-size: 1rem;
	}
}

@media (max-width: 560px) {
	.container {
		width: min(100% - 24px, 1120px);
	}

	.brand__seal,
	.custom-logo {
		width: 40px !important;
		height: 40px !important;
		flex-basis: 40px;
	}

	.brand__name {
		font-size: 1.05rem;
	}

	.theme-toggle,
	.menu-toggle {
		width: 40px;
		min-height: 40px;
	}

	.hero h1 {
		font-size: 1.95rem;
	}

	.hero__actions,
	.service-grid,
	.service-grid--compact {
		grid-template-columns: 1fr;
	}

	.hero__actions {
		display: grid;
	}

	.button {
		width: 100%;
	}
}

@media (max-width: 380px) {
	.brand__name {
		font-size: 1rem;
	}

	.masthead__actions {
		gap: 6px;
	}
}

@media (min-width: 1181px) {
	.utility-links {
		display: flex;
		gap: 10px 14px;
	}
}
