/* Load Lato and Raleway -- regular and bold -- locally (see https://gwfh.mranftl.com/fonts) */

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/raleway-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/raleway-v36-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html {
	scroll-behavior: smooth;
}

body {
	color: #444;
	background-color: #e8e0c5;
	font-family: Lato, sans-serif;
}

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

main a {
	color: #0b44ed;
	text-decoration: none;
}

main a:hover,
main a:focus-visible {
	text-decoration: underline;
}

.mobile-only {
	display: block;
}

.desktop-only {
	display: none;
}

.width-limiter {
	width: 1040px;
	max-width: 86%;
	margin: 0 auto;
}

.page-wrapper {
	position: relative;
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-columns: 100vw;
	overflow-x: hidden;
}

.header-container {
	background-color: #eee;
	padding: 30px 0;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.header-content {
	width: 590px;
	max-width: 86%;
	margin: 0 auto;
	padding: 20px;
	color: #fff;
	background: #1d1d1d;
	text-align: center;
}

.header-content .site-title {
	font-family: Raleway, sans-serif;
	font-size: 1.625rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 4px;
	line-height: 1;
}

.header-content .site-title a {
	color: #fff;
	text-decoration: none;
}

.header-content .site-title a:hover,
.header-content .site-title a:focus-visible {
	text-decoration: underline;
}

.header-content .site-description {
	font-family: Raleway, sans-serif;
	font-size: 1.125rem;
	line-height: 1.25;
}

.header-content .site-description:before {
	content: "";
	display: block;
	margin: 15px auto;
	width: 100px;
	height: 2px;
	background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle-wrapper {
	background: #1d1d1d;
	display: flex;
	justify-content: space-between;
}

.mobile-menu-toggle {
	display: flex;
	align-items: center;
	font-size: 1em;
	line-height: 1;
	background: #1d1d1d;
	border: 0;
	padding: 1em .25em 1em 0;
	color: #666;
	text-transform: uppercase;
	-webkit-tap-highlight-color: transparent;
}

.mobile-menu-button-text {
	font-size: 1.125rem;
	font-family: Raleway, sans-serif;
	font-weight: 700;
}

.mobile-nav-icon {
  position: relative;
  margin: 3px 5px 0 0;
  width: 1em;
  height: 1em;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.mobile-nav-icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: .125em;
  background: #666;
  opacity: 1;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.mobile-nav-icon span:nth-child(1) {
  top: 0;
}

.mobile-nav-icon span:nth-child(2), .mobile-nav-icon span:nth-child(3) {
  top: 5px;
}

.mobile-nav-icon span:nth-child(4) {
  top: 10px;
}

.is-showing .mobile-nav-icon span:nth-child(1), 
.is-showing .mobile-nav-icon span:nth-child(4) {
  top: .5em;
  width: 0;
  left: 50%;
}

.is-showing .mobile-nav-icon span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.is-showing .mobile-nav-icon span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.mobile-nav {
	display: none;
}

.mobile-nav.is-showing {
	/* TODO: position absolute and scale position? */
	display: block;
}

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

nav a {
	display: block;
	background: #282828;
	color: rgba( 255, 255, 255, 0.4 );
	letter-spacing: 1px;
	text-transform: uppercase;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.1 );
	font-size: 0.8125rem;
	padding: 1.5rem;
	text-decoration: none;
}

nav .is-current a {
	color: #fff;
}

nav .is-current li a {
	color: rgba( 255, 255, 255, 0.4 );
}

/* submenu indent */
.mobile-nav ul ul a {
	padding-left: 2.5rem;
}

nav a:hover,
nav a:focus-visible {
	text-decoration: underline;
	color: #fff;
}

main.width-1040 {
	width: 1040px;
	max-width: 86%;
}

main {
	margin: 7.5% auto 3rem;
}

main h1 {
	font-size: 1.625rem;
	line-height: 1.2;
	margin: 0 0 1em;
}

main h2 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin-bottom: 1em;
}

main p {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 1.25rem;
}

main ul,
main ol {
	margin: 0 0 1.25rem;
	padding-left: .5rem;
}

main li {
	margin: 5px 0 0 20px; 
}

/* Kirby quirk adds <p> elements inside list items: */
main li p {
	margin: 0;
	pading: 0;
}



main figure {
	margin: 2rem 0;
}

main figure.full-width-breakout {
	position: relative;
	max-width: 100vw;
	width: 100vw;
	left: calc(50% - 50vw);
}

.inset-image {
	margin: 2rem auto 1rem;
	width: 100%;
	max-width: 300px;
}

.board-member {
	margin-top: 1.25rem;
}

.board-member + .board-member {
	margin: 2.5rem 0;
}

.board-headshot {
	margin: 0 auto 1rem;
	max-width: 400px;
}

.board-member h2 {
	margin-bottom: .5em;
}

.testimonial {
	font-family: Raleway, sans-serif;
	margin-top: 1.25rem;
	background: #eee;
	padding: 1.25rem;
}

.testimonial + .testimonial {
	margin: 2rem 0;
}

.testimonial-headshot {
	width: 150px;
	margin: 0 auto 1.25rem;
}

.testimonial cite {
	font-style: normal;
}

.testimonial cite .name {
	text-transform: uppercase;
	font-weight: 700;
	font-size: .8125rem;
	letter-spacing: 1px;
	color: #666;
}

.testimonial cite .affiliation p {
	font-size: .875rem;
	padding-left: 1.2em;
	margin: 0;
}

form.app-form {
	max-width: 700px;
}

.form-row {
	margin: 1.25rem 0;
}

.form-row label {
	display: block;
	font-weight: bold;
	font-size: 1rem;
}

.form-row input[type=email],
.form-row input[type=text] {
	font-size: 1rem;
	padding: .5em;
	width: 100%;
	border: 1px solid #4a4a4a;
	border-radius: 0;
	-webkit-appearance: none;
}

.form-row input[type=submit],
.form-row input[type=button],
form button.btn {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #1d1d1d;
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1rem;
	margin: 0;
	padding: .5em 1em;
	min-width: 150px;
	text-align: center;
	text-decoration: none;
}

form button.btn.btn-small {
	padding: .25em 1em;
}

.form-row input[type=submit]:hover,
.form-row input[type=submit]:focus-visible,
.form-row input[type=button]:hover,
.form-row input[type=button]:focus-visible,
form button.btn:hover {
	background-color: #0a9ed8;
}

.form-row select {
	display: block;
	font-family: inherit;
	width: 100%;
	border: 1px solid #4a4a4a;
	background: #fff;
	font-size: 1rem;
	padding: .5em;
	box-sizing: border-box;
	box-shadow: 0 1px 0 1px rgba(0, 0, 0, .04);
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
	height: auto;
	line-height: 1.3;
	cursor: pointer;
}

form h3.separator,
form h2.separator {
	border-top: 1px solid #ccc;
	padding-top: .5em;
	margin-bottom: .5em;
}

.msg {
	font-size: 1rem;
	padding: .5em;
}

.msg-error {
	color: #fff;
	background-color: #d0091b;
}

.msg-success {
	color: #fff;
	background-color: #060;
}

.msg a {
	color: inherit;
	text-decoration: underline;
}

.msg ul {
	padding-left: 0;
	margin: 0 0 .5em;
}

.msg + .msg {
	margin-top: 1.25rem;
}

footer {
	background-color: #1d1d1d;
	padding: 1.5rem 0;
	color: #858585;
	text-transform: uppercase;
	font-size: 0.8125rem;
	letter-spacing: 1px;
}

@media screen and (min-width:31.25em) { /* 500px */
	
	.header-container {
		padding: 60px 0;
	}
	
	.header-content .site-title {
		font-size: 1.75rem;
	}
	
	main h1 {
		font-size: 2.5rem;
	}
	
	main h2 {
		font-size: 1.75rem;
	}
	
	main p {
		font-size: 1.125rem;
	}
	
	main ul,
	main ol {
		padding-left: 1.5rem;
	}
	
	.inset-image {
		margin-top: .4rem;
		margin-bottom: 2px;
		width: 250px;
		max-width: 40%;
	}
	
	.inset-image.align-left {
		float: left;
		margin-right: 1rem;
	}
	
	.inset-image.align-right {
		float: right;
		margin-left: 1rem;
	}
	
	main form p {
		font-size: 1rem;
	}

	
} /* 500px */


@media screen and (min-width:43.75em) { /* 700px */
	
	.header-container {
		padding: 100px 0;
	}
	
	.header-content .site-title {
		font-size: 2rem;
	}
	
	.header-content {
		padding: 30px;
	}
	
	.header-content .site-description:before {
		margin: 20px auto;
		width: 200px;
	}
	
	main h1 {
		font-size: 2.8125rem;
	}
	
	main p {
		font-size: 1.1875rem;
	}
	
} /* 700px */

@media screen and (min-width:50em) { /* 800px */
	
	.mobile-only {
		display: none;
	}
	
	.desktop-only {
		display: block;
	}
	
	main figure.full-width-breakout {
		left: 0;
		max-width: 100%;
		width: auto;
	}
	
	.desktop-nav {
		background-color: #1d1d1d;
	}
	
	.desktop-nav ul {
		display: flex;
		margin-left: -20px;
	}
	
	.desktop-nav ul li {
		position: relative;
	}
	
	.desktop-nav .width-limiter > ul li + li:before {
		color: #444;
		content: "/";
		display: block;
		font-size: 16px;
		line-height: 1;
		margin: -9px 0 0 -3px;
		position: absolute;
		left: 0;
		top: 50%;
		z-index: 1000;
	}
	
	.desktop-nav ul li.has-subpages:after {
		content: "";
		display: block;
		border: 5px solid transparent;
		border-top-color: rgba(255, 255, 255, 0.5);
		position: absolute;
		z-index: 1001;
		right: 17px;
		top: 50%;
		margin-top: -3px;
		/*transition: border-color .2s ease-in-out;*/
	}
	
	.desktop-nav ul li.has-subpages:hover::after {
		border-top-color: #fff;
	}
	
	.desktop-nav ul li.has-subpages a {
		padding-right: 35px;
	}
	
	.desktop-nav ul ul {
		display: block;
		position: absolute;
		width: 260px;
		left: -9999px;
		z-index: 999;
	}
	
	.desktop-nav li:hover > ul,
	.desktop-nav li.focus > ul {
		left: 1.25rem;
	}

	.desktop-nav a {
		background: #1d1d1d;
		color: rgba( 255, 255, 255, 0.5 );
	}
	
	.desktop-nav .is-current a {
		text-decoration: underline;
	}
	
	.desktop-nav .is-current li a {
		text-decoration: none;
		color: rgba( 255, 255, 255, 0.5 );
	}
	
	.desktop-nav .is-current li a:hover,
	.desktop-nav .is-current li a:focus-visible {
		color: #fff;
		text-decoration: underline;
	}
	
	.board-member {
		display: flex;
		gap: 1rem;
	}
	
	.board-headshot {
		max-width: unset;
		flex: 0 0 250px;
		margin: .4rem 0 0;
	}
	
	.testimonial {
		display: flex;
		gap: 1rem;
	}
	
	.testimonial-headshot {
		flex: 0 0 150px;
		margin: .4rem 0 0;
	}
	
	.testimonial cite .name {
		font-size: 1rem;
	}
	
	.testimonial cite .affiliation p {
		font-size: 1rem;
		padding-left: 1.3rem;
	}
	
} /* 800px */

@media screen and (min-width:65em) { /* 1040px */

	.header-content .site-description {
		font-size: 1.25rem;
	}
	
	main {
		margin-top: 100px;
	}
	
	
} /* 1040px */