@charset "UTF-8";

/* ==========================================================================
   site.css — shared chrome (header + footer) for every page.
   Loaded after index.css so #header / #footer element rules here win.
   Keeps the minimal grey-ground / black-type concept; adds structure,
   a wordmark + role line, current-section marking, a real footer grid.
   ========================================================================== */

[hidden] {
	display: none !important;
}

:root {
	--ground: #DBDCDB;
	--ink: #101010;
	--ink-soft: #5c5d5b;
	--line: rgba(16, 16, 16, .28);
	--line-soft: rgba(16, 16, 16, .14);
	--mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--sans: 'Noto Sans', sans-serif;
}

/* ---- header ---------------------------------------------------------- */

#header {
	height: auto;
	margin: 0 0 4px;
	padding: 22px 0 15px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid var(--line);
}

.brand {
	display: block;
	text-decoration: none;
}

.brand__name {
	display: block;
	font-family: var(--sans);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1;
	letter-spacing: -.01em;
	color: var(--ink);
}

.brand__role {
	display: block;
	margin-top: 4px;
	font-family: var(--mono);
	font-weight: 400;
	font-size: .6rem;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.nav {
	display: flex;
	gap: 20px;
	padding-top: 3px;
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .07em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nav a {
	text-decoration: none;
	color: var(--ink-soft);
	padding-bottom: 3px;
	border-bottom: 1px solid transparent;
	transition: color .15s ease;
}

.nav a:hover,
.nav a:focus-visible {
	color: var(--ink);
}

.nav a.is-current {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

/* ---- footer -------------------------------------------------------------- */

#footer {
	height: auto;
	width: 100%;
	margin: 72px 0 0;
	padding: 0;
	text-align: left;
	border-top: 1px solid var(--line);
	font-family: var(--sans);
	font-weight: 400;
	font-size: 13px;
}

.foot__cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 34px;
	padding: 40px 0 38px;
}

.foot__cols h3 {
	margin: 0 0 12px;
	font-family: var(--mono);
	font-weight: 500;
	font-size: .62rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.foot__cols ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.foot__cols li {
	margin: 7px 0;
}

.foot__cols a {
	font-size: .85rem;
	text-decoration: none;
	color: var(--ink);
}

.foot__cols a:hover,
.foot__cols a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.foot__cols p {
	margin: 7px 0;
	font-size: .85rem;
}

.foot__muted {
	color: var(--ink-soft);
	font-size: .78rem;
}

.foot__base {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0 40px;
	border-top: 1px solid var(--line-soft);
	font-family: var(--mono);
	font-size: .66rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

/* ---- responsive ------------------------------------------------------- */

@media screen and (max-width: 700px) {
	#header {
		flex-direction: column;
		gap: 14px;
		padding-top: 18px;
	}

	.nav {
		padding-top: 0;
		gap: 18px;
	}

	.foot__cols {
		grid-template-columns: 1fr 1fr;
		gap: 26px 30px;
	}
}

@media screen and (max-width: 420px) {
	.foot__cols {
		grid-template-columns: 1fr;
	}
}
