/* ==========================================================================
   Triumvirate Investors Coalition
   Palette and type are defined once here as custom properties. To move to
   self-hosted webfonts later, drop the files in assets/fonts/ and change
   --font-display / --font-body only.
   ========================================================================== */

:root {
	--navy: #1b2a4a;
	--navy-deep: #16243f;
	--navy-soft: #24355a;
	--gold: #c9a227;
	--gold-bright: #dcb63f;
	--cream: #f2efe6;
	--cream-deep: #e8e3d5;
	--ink: #1a1a1a;
	--ink-muted: #56585c;
	--white: #fff;
	--line: rgba(27, 42, 74, 0.14);
	--line-light: rgba(242, 239, 230, 0.18);

	--font-display: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
	--font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--container: 72rem;
	--gutter: 1.25rem;
	--radius: 4px;
	--shadow: 0 1px 2px rgba(22, 36, 63, 0.06), 0 8px 24px rgba(22, 36, 63, 0.08);
	--shadow-lift: 0 2px 4px rgba(22, 36, 63, 0.08), 0 16px 40px rgba(22, 36, 63, 0.14);
}

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

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 1.5rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
	color: inherit;
	text-underline-offset: 0.2em;
}

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* --------------------------------------------------------------- layout */

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

.section {
	padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}

.section--tight { padding-block: clamp(2.25rem, 1.75rem + 3vw, 4rem); }

.section--navy {
	background: var(--navy);
	color: var(--cream);
}

.section--navy h2,
.section--navy h3 { color: var(--white); }

.section--alt { background: var(--cream-deep); }

.section__head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

.section__head--tight { margin-bottom: 1.5rem; }

.stack-top { margin-top: 2.5rem; }
.stack-none { margin-top: 0; }

.lede {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	color: var(--ink-muted);
}

.section--navy .lede { color: rgba(242, 239, 230, 0.82); }

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 0.9rem;
}

.rule {
	width: 3.5rem;
	height: 2px;
	background: var(--gold);
	border: 0;
	margin: 0 0 1.5rem;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--gold);
	color: var(--navy-deep);
	padding: 0.75rem 1.25rem;
	font-weight: 700;
}

.skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	color: var(--cream);
	border-bottom: 1px solid var(--line-light);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--white);
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1.2;
	max-width: 17rem;
}

.brand__logo {
	flex: 0 0 auto;
	width: 2.5rem;
	height: 2.5rem;
	display: block;
}

.brand__mark {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	color: var(--cream);
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	padding: 0.6rem 0.8rem;
	font: inherit;
	font-size: 0.875rem;
	cursor: pointer;
}

.nav-toggle__bars {
	display: block;
	position: relative;
	width: 1.05rem;
	height: 2px;
	background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav {
	display: none;
}

.nav.is-open {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--navy-deep);
	border-bottom: 1px solid var(--line-light);
	padding: 0.5rem var(--gutter) 1.25rem;
}

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

.nav__list > li { margin: 0; }

.nav__list > li > a {
	display: block;
	padding: 0.85rem 0;
	text-decoration: none;
	color: var(--cream);
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	border-bottom: 1px solid var(--line-light);
}

.nav__list > li > a:hover { color: var(--gold-bright); }

.nav__list > .current-menu-item > a { color: var(--gold); }

@media (min-width: 48rem) {
	.nav-toggle { display: none; }

	.nav,
	.nav.is-open {
		display: block;
		position: static;
		background: transparent;
		border: 0;
		padding: 0;
	}

	.nav__list {
		display: flex;
		align-items: center;
		gap: clamp(1rem, 0.4rem + 1.6vw, 2.25rem);
	}

	.nav__list > li > a {
		padding: 0.35rem 0;
		border-bottom: 2px solid transparent;
	}

	.nav__list > .current-menu-item > a { border-bottom-color: var(--gold); }
}

/* --------------------------------------------------------------- hero */

.hero {
	background: var(--navy-deep);
	color: var(--cream);
	padding-block: clamp(3.5rem, 2.5rem + 6vw, 7.5rem);
	position: relative;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -60% auto;
	width: min(34rem, 70%);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 162, 39, 0.16), transparent 68%);
	pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero__title {
	color: var(--white);
	max-width: 20ch;
	margin-bottom: 1rem;
}

.hero__lede {
	font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
	color: rgba(242, 239, 230, 0.85);
	max-width: 52ch;
}

.hero--page { padding-block: clamp(2.75rem, 2rem + 4vw, 5rem); }

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-top: 2rem;
}

/* --------------------------------------------------------------- buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.875rem;
	padding: 0.7rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--gold {
	background: var(--gold);
	color: var(--navy-deep);
}

.btn--gold:hover { background: var(--gold-bright); }

.btn--ghost {
	border-color: rgba(242, 239, 230, 0.4);
	color: var(--cream);
}

.btn--ghost:hover {
	border-color: var(--gold);
	color: var(--gold-bright);
}

.btn--navy {
	background: var(--navy);
	color: var(--cream);
}

.btn--navy:hover { background: var(--navy-soft); }

/* --------------------------------------------------------------- grids */

.grid {
	display: grid;
	gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
}

@media (min-width: 40rem) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------- cards */

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card--link:hover {
	box-shadow: var(--shadow-lift);
	transform: translateY(-2px);
}

.card__title { margin-bottom: 0.4rem; }

.card__meta {
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-bottom: 0.9rem;
}

.card__body { color: var(--ink-muted); }

.card__foot {
	margin-top: auto;
	padding-top: 1.25rem;
}

.section--navy .card {
	background: var(--navy-soft);
	border-color: var(--line-light);
	box-shadow: none;
	color: var(--cream);
}

.section--navy .card__body { color: rgba(242, 239, 230, 0.8); }
.section--navy .card__meta { color: var(--gold); }

.badge {
	display: inline-block;
	align-self: flex-start;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.badge--active {
	background: rgba(24, 121, 78, 0.12);
	color: #14603d;
}

.badge--soon {
	background: rgba(27, 42, 74, 0.09);
	color: var(--navy);
}

/* --------------------------------------------------------------- team */

.person__photo {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	margin-bottom: 1.1rem;
}

.person__role {
	color: var(--gold);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.85rem;
}

.card .person__role { color: #9a7b12; }

/* --------------------------------------------------------------- facts + tables */

.facts {
	display: grid;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 40rem) {
	.facts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
	.facts--4 { grid-template-columns: repeat(4, 1fr); }
}

.fact {
	border-left: 2px solid var(--gold);
	padding-left: 1rem;
	margin: 0;
}

.fact__value {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
	line-height: 1.1;
	margin-bottom: 0.25rem;
}

.fact__label {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.section--navy .fact__label { color: rgba(242, 239, 230, 0.72); }

.table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	min-width: 30rem;
}

caption {
	text-align: left;
	padding: 1rem 1.15rem;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-muted);
	border-bottom: 1px solid var(--line);
}

th,
td {
	text-align: left;
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

thead th {
	background: var(--navy);
	color: var(--cream);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

tbody th { font-weight: 600; width: 40%; }

/* --------------------------------------------------------------- prose */

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.prose > *:first-child { margin-top: 0; }

.callout {
	border-left: 3px solid var(--gold);
	background: var(--white);
	padding: 1.25rem 1.4rem;
	margin: 0 0 1.5rem;
	border-radius: 0 var(--radius) var(--radius) 0;
	box-shadow: var(--shadow);
}

.callout--warn {
	border-left-color: #b4541b;
	background: #fdf4ec;
}

.callout__title {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8d4315;
	margin: 0 0 0.5rem;
}

.disclaimer {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--ink-muted);
	border-top: 1px solid var(--line);
	padding-top: 1.25rem;
	margin-top: 2.5rem;
	max-width: 52rem;
}

.section--navy .disclaimer {
	color: rgba(242, 239, 230, 0.66);
	border-top-color: var(--line-light);
}

/* --------------------------------------------------------------- forms */

.form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.25rem);
	box-shadow: var(--shadow);
	max-width: 38rem;
}

.field { margin: 0 0 1.15rem; }

.field__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.req { color: #b4541b; margin-left: 0.15rem; }

.field__input {
	display: block;
	width: 100%;
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--white);
	border: 1px solid rgba(27, 42, 74, 0.28);
	border-radius: var(--radius);
}

.field__input:focus-visible { border-color: var(--gold); }

textarea.field__input { resize: vertical; min-height: 7rem; }

.field--actions { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.field--actions .btn { width: 100%; }

@media (min-width: 40rem) {
	.field--actions .btn { width: auto; }
}

.form__note {
	font-size: 0.8125rem;
	color: var(--ink-muted);
	margin: 0;
}

/* Honeypot: hidden from people, reachable by bots. */
.hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.notice {
	padding: 0.9rem 1.1rem;
	border-radius: var(--radius);
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	border-left: 3px solid;
}

.notice--ok {
	background: #eef7f1;
	border-left-color: #14603d;
	color: #10402a;
}

.notice--error {
	background: #fdf0ec;
	border-left-color: #b4541b;
	color: #7d3a12;
}

/* --------------------------------------------------------------- contact aside */

.contact-layout {
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

@media (min-width: 64rem) {
	.contact-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}

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

.detail-list li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
	margin: 0;
}

.detail-list li:first-child { padding-top: 0; }
.detail-list li:last-child { border-bottom: 0; }

.detail-list strong {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-bottom: 0.3rem;
	font-weight: 700;
}

.detail-list a { color: var(--navy); }

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

.site-footer {
	background: var(--navy-deep);
	color: rgba(242, 239, 230, 0.75);
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
	font-size: 0.9375rem;
}

.site-footer h2 {
	font-size: 1.05rem;
	color: var(--white);
	margin-bottom: 0.9rem;
}

.site-footer a { color: rgba(242, 239, 230, 0.85); }
.site-footer a:hover { color: var(--gold-bright); }

.footer-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 48rem) {
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li { margin-bottom: 0.55rem; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }

.site-footer__base {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-light);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
	font-size: 0.8125rem;
	color: rgba(242, 239, 230, 0.6);
}

.site-footer .disclaimer {
	color: rgba(242, 239, 230, 0.6);
	border-top-color: var(--line-light);
	margin-top: 2rem;
}
