/* Emerson Capital — main styles.
   Brand tokens are also defined in theme.json (block editor + presets);
   these mirror them for the theme's own chrome (header/footer). */

:root {
	--maxw: 1120px;
	--bg: #F4F0E6;      /* cream */
	--ink: #1C241E;     /* near-black pine */
	--muted: #5F6B60;   /* muted green-gray */
	--pine: #23402F;    /* brand green */
	--gold: #A98B5C;    /* antique gold accent */
	--line: #E2DBCB;    /* hairline on cream */
	--space: clamp(1rem, 2vw, 1.5rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: "EB Garamond", Georgia, "Times New Roman", serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--space);
}

/* Header */
.site-header {
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.25rem;
}

.site-brand {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	font-size: 1.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pine);
	text-decoration: none;
}

.site-brand img,
.custom-logo {
	display: block;
	height: auto;
}

.site-nav__menu {
	display: flex;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__menu a {
	color: var(--muted);
	text-decoration: none;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-nav__menu a:hover {
	color: var(--pine);
}

/* Page content — section patterns manage their own width/background */
.entry-content {
	overflow-x: clip;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--line);
	margin-top: 0;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 2rem;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.site-footer__menu {
	display: flex;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__menu a {
	color: var(--muted);
	text-decoration: none;
}

.site-footer__menu a:hover {
	color: var(--pine);
}
