:root {
	--ink: #01256A;
	--ink-soft: #123B85;
	--cream: #F7F3EA;
	--paper: #FBF8F2;
	--gold: #EC051F;
	--gold-dark: #B80317;
	--teal: #01256A;
	--charcoal: #23262B;
	--line: rgba(1, 37, 106, 0.14);
	--radius: 3px;
}
.logo-img {
width:200px !important;}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: var(--cream);
	color: var(--charcoal);
	font-family: 'IBM Plex Sans', sans-serif;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 32px;
}

.narrow {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 32px;
}

.eyebrow {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal);
	font-weight: 500;
}

h1, h2, h3 {
	font-family: 'Fraunces', serif;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gold);
	color: var(--cream);
	padding: 11px 20px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 14px;
	border: 1px solid var(--gold);
	transition: background 0.18s ease, transform 0.18s ease;
	cursor: pointer;
}
.btn:hover {
	background: var(--gold-dark);
	transform: translateY(-1px);
}
.btn-outline {
	background: transparent;
	border: 1.3px solid var(--ink);
	color: var(--ink);
}
.btn-outline:hover {
	background: var(--ink);
	color: var(--cream);
}
.btn-block {
	width: 100%;
	justify-content: center;
	padding: 15px 20px;
	font-size: 15px;
}

/* ============================================================
   Scroll reveal — sections fade + rise into view as you scroll.
   Class is added automatically by scroll-reveal.js, not hand-placed
   per block. Skipped entirely for prefers-reduced-motion users (see JS).
   ============================================================ */
.reveal-on-scroll {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(247, 243, 234, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
/* FIX: backdrop-filter on the header creates a new containing block for
   any position:fixed descendants inside it (like .primary-nav below),
   which breaks full-screen fixed positioning on mobile. Turning the
   blur off only while the mobile nav is open removes that side effect
   at the exact moment it matters. */
body.nav-open .site-header {
	backdrop-filter: none;
}
.nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}
.logo {
	font-family: 'Fraunces', serif;
	font-weight: 700;
	font-size: 19px;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	flex: 1 1 auto;
	min-width: 0; /* lets the logo actually shrink/grow inside the flex row instead of overflowing */
}
.logo-img {
	max-height: 40px;
	width: auto;
	display: block;
}

.logo span {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal);
	font-weight: 500;
	margin-top: 3px;
}
.nav-list {
	list-style: none;
	display: flex;
	gap: 36px;
	align-items: center;
}
.nav-list a {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink);
	position: relative;
	padding: 4px 0;
}
.nav-list a:not(.btn):hover::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1.5px;
	background: var(--teal);
}

/* Mobile hamburger toggle button — hidden on desktop */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 200;
	position: relative;
}
.nav-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}
/* Once open, bars turn cream (visible against dark overlay) and form an X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
	background: var(--cream);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
	background: var(--ink);
	color: rgba(247, 243, 234, 0.7);
	padding: 56px 0 32px;
	border-top: 1px solid rgba(247, 243, 234, 0.12);
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12.5px;
	color: rgba(247, 243, 234, 0.45);
	flex-wrap: wrap;
	gap: 12px;
}
.footer-nav-list {
	list-style: none;
	display: flex;
	gap: 20px;
}
.footer-nav-list a {
	color: rgba(247, 243, 234, 0.6);
	font-size: 12.5px;
}
.footer-nav-list a:hover {
	color: var(--cream);
}
	/* Logo fills the available width next to the hamburger button —
	   only width is set, height stays auto, so the image scales
	   proportionally and never stretches or distorts. */
	.logo-img {
		max-height: none !important;
		max-width: 100% !important;
		height: auto !important;
	}

/* ============================================================
   Mobile — full-screen nav overlay
   ============================================================ */
@media (max-width: 860px) {
	.wrap, .narrow {
		padding: 0 20px;
	}


    .nav-row {
        height: auto;
        min-height: 76px;
        padding: 12px 20px;
        gap: 20px;
    }


	/* Logo fills the available width next to the hamburger button —
	   only width is set, height stays auto, so the image scales
	   proportionally and never stretches or distorts. */
	.logo-img {
		max-height: none !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}
	.logo span {
		display: none; /* tagline text gets crowded out at this size — hide on mobile */
	}

	.nav-toggle {
		display: flex;
	}
	/* Bars stay dark navy even when open now — no dark overlay behind them anymore */
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
		background: var(--ink);
	}

	/* Light dropdown panel that pushes down just below the header,
	   not a full-screen overlay. Anchored to .nav-row (position:relative
	   below), so it sits directly under the logo row. */
	.nav-row {
		position: relative;
	}
	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 12px 24px rgba(27, 42, 74, 0.12);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		z-index: 90;
	}
	.primary-nav.is-open {
		max-height: 500px;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.nav-list li {
		display: block !important;
		border-bottom: 1px solid var(--line);
	}
	.nav-list li:last-child {
		border-bottom: none;
	}
	.nav-list a {
		display: block;
		padding: 18px 24px;
		font-family: 'IBM Plex Sans', sans-serif;
		font-size: 14px;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--ink);
		text-align: left;
	}
	.nav-list a:hover {
		color: var(--teal);
	}
	.nav-list a::after {
		display: none; /* no underline accent in this style */
	}
	/* Highlights whichever page you're currently on — WordPress adds
	   "current-menu-item" to the <li> automatically */
	.nav-list .current-menu-item a {
		color: var(--teal);
	}
	.nav-list a.btn {
		background: var(--gold);
		color: var(--cream);
		font-family: 'IBM Plex Sans', sans-serif;
		text-transform: none;
		letter-spacing: normal;
		text-align: center;
		padding: 16px 24px;
	}
	.nav-list a.btn:hover {
		background: var(--gold-dark);
		color: var(--ink);
	}
}