/* Site chrome: reset, sticky nav, footer. Direction A from design/final. */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: #fff;
	color: #111;
	font-family: Inter, system-ui, sans-serif;
	line-height: 1.5;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 20;
	width: auto;
	height: auto;
	clip-path: none;
	background: #fff;
	padding: 10px 14px;
}

/* Wordmark */
.brand {
	display: flex;
	align-items: baseline;
	gap: 14px;
	font: 400 40px/1 "Great Vibes", cursive;
	text-decoration: none;
	color: #2a2ad0;
}

.brand small {
	font: 600 10px/1 Inter, system-ui, sans-serif;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #777;
}

/* Sticky nav */
.nav {
	position: sticky;
	top: 0;
	z-index: 10;
	height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 48px;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid #eee;
}

.links {
	display: flex;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 600 12px/1 Inter, system-ui, sans-serif;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.links a { text-decoration: none; }

.links .current-menu-item > a,
.links .current_page_item > a {
	border-bottom: 2px solid #111;
	padding-bottom: 6px;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-right: -11px;
	padding: 0;
	border: 0;
	background: none;
	appearance: none;
	cursor: pointer;
	margin-left: auto;
	-webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	background: #111;
	box-shadow: 0 7px 0 #111, 0 -7px 0 #111;
}

/* Footer */
.foot {
	background: #111;
	color: #ddd;
	padding: 48px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
}

.foot .brand { color: #fff; }

.foot .links { color: #fff; }

.foot .social {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font: 600 12px/1 Inter, system-ui, sans-serif;
	letter-spacing: 0.05em;
}

.foot .social a { color: #fff; text-decoration: none; }
.foot .social a:hover { text-decoration: underline; }

.foot p {
	margin: 12px 0 0;
	font: 400 12px/1.6 Inter, system-ui, sans-serif;
	color: #888;
}

.foot .contact a { color: #bbb; }

/* Phone */
@media (max-width: 782px) {
	.nav { height: 56px; padding: 0 18px; }
	.brand { font-size: 30px; }
	.brand small { display: none; }

	.js .nav-toggle { display: block; }

	/* Without JS the links wrap onto a second row instead of hiding. */
	.nav { flex-wrap: wrap; align-items: flex-start; height: auto; min-height: 56px; padding-top: 12px; }
	.nav .brand { line-height: 36px; }
	.nav .links { gap: 16px; flex-wrap: wrap; padding: 8px 0 12px; font-size: 11px; }
	.js .nav { height: 56px; flex-wrap: nowrap; align-items: center; padding-top: 0; }
	.js .nav .brand { line-height: 1; }

	.js .nav .links {
		display: none;
		position: absolute;
		top: 56px;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 18px 14px;
		background: #fff;
		border-bottom: 1px solid #eee;
	}

	.js .nav.is-open .links { display: flex; }
	.js .nav .links a { display: inline-block; padding: 14px 0 8px; }
	.js .nav .links .current-menu-item > a,
	.js .nav .links .current_page_item > a { padding-bottom: 6px; margin-bottom: 8px; }

	.foot { flex-direction: column; padding: 32px 18px; }
	.foot .links { flex-wrap: wrap; gap: 16px 24px; }
}

/* Fallback content template */
.content { max-width: 860px; margin: 0 auto; padding: 64px 18px; }
.content h1 { font: 800 44px/1.05 Inter, system-ui, sans-serif; letter-spacing: -0.02em; }
