/* Funding Free Speech — landing page
   Palette is sampled from the hero poster. */

@font-face {
	font-family: "Alfa Slab One";
	src: url("fonts/alfa-slab-one.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("fonts/barlow-condensed-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("fonts/barlow-condensed-600.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("fonts/source-serif-4.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--navy: #012043;
	--navy-soft: #1d3557;
	--red: #910b07;
	--red-dark: #6f0805;
	--paper: #fbf4e2;
	--paper-deep: #f5e0b2;
	--gold: #ecb77a;
	--ink: #1b1a17;
	--ink-soft: #4a4538;
	--rule: #d8c59a;

	--slab: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
	--label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--body: "Source Serif 4", Charter, "Iowan Old Style", Georgia, serif;

	--gutter: clamp(16px, 4vw, 48px);
	--measure: 1180px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

.wrap {
	max-width: var(--measure);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip {
	position: absolute;
	left: -9999px;
}
.skip:focus {
	left: 8px;
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--paper);
	color: var(--navy);
}

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

/* ---------- Masthead ---------- */

.mast {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--navy);
	color: var(--paper);
	border-bottom: 3px solid var(--red);
}
.mast .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
}
.mast__name {
	font-family: var(--slab);
	font-size: 17px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.mast__name span {
	color: var(--gold);
}
.mast nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.4vw, 30px);
	font-family: var(--label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}
.mast nav a {
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}
.mast nav a:hover {
	border-bottom-color: var(--gold);
}
.mast nav a.mast__give {
	padding: 5px 14px 4px;
	background: var(--red);
	border: 0;
}
.mast nav a.mast__give:hover {
	background: var(--red-dark);
}

/* ---------- Hero ---------- */

.hero {
	background: var(--paper-deep);
	border-bottom: 1px solid var(--rule);
}
.hero picture,
.hero img {
	width: 100%;
	max-width: 1916px;
	margin: 0 auto;
}

/* ---------- Lede ---------- */

.lede {
	padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px);
}
.lede .wrap {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
.kicker {
	margin: 0 0 14px;
	font-family: var(--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--red);
}
.lede h1 {
	margin: 0;
	font-family: var(--slab);
	font-weight: 400;
	font-size: clamp(32px, 4.6vw, 58px);
	line-height: 1.08;
	color: var(--navy);
	text-wrap: balance;
}
.lede__body {
	padding-top: 6px;
	border-top: 3px double var(--navy);
}
.lede__body p {
	margin: 18px 0 0;
}
.lede__body p:first-child {
	font-size: 20px;
	line-height: 1.5;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	align-items: center;
	margin-top: 28px;
}
.btn {
	display: inline-block;
	padding: 13px 24px 12px;
	background: var(--red);
	color: #fff;
	font-family: var(--label);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 4px 4px 0 var(--navy);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
	background: var(--red-dark);
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--navy);
}
.btn--light {
	background: var(--paper);
	color: var(--navy);
	box-shadow: 4px 4px 0 var(--red);
}
.btn--light:hover {
	background: #fff;
	box-shadow: 2px 2px 0 var(--red);
}
.textlink {
	font-family: var(--label);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	color: var(--navy);
}
.textlink:hover {
	color: var(--red);
}

/* ---------- Section heads ---------- */

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 14px;
	border-bottom: 4px solid var(--navy);
}
.section-head h2 {
	margin: 0;
	font-family: var(--slab);
	font-weight: 400;
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.1;
	color: var(--navy);
}
.section-head p {
	margin: 0;
	font-family: var(--label);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
	text-align: right;
}

/* ---------- Platform ledger ---------- */

.platforms {
	padding-bottom: clamp(48px, 8vw, 96px);
}
.ledger {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ledger > li {
	border-bottom: 1px solid var(--rule);
}
.entry {
	display: grid;
	grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr) auto;
	gap: 0 clamp(18px, 3vw, 44px);
	align-items: start;
	padding: clamp(24px, 3.4vw, 40px) 0;
	color: inherit;
	text-decoration: none;
}
.entry__no {
	font-family: var(--slab);
	font-size: 22px;
	line-height: 1.5;
	color: var(--red);
}
.entry h3 {
	margin: 0;
	font-weight: 400;
}
.entry__name {
	margin: 0;
	text-decoration: none;
	font-family: var(--slab);
	font-weight: 400;
	font-size: clamp(26px, 2.8vw, 34px);
	line-height: 1.1;
	color: var(--navy);
}
.entry__role {
	margin: 8px 0 0;
	font-family: var(--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.entry__head,
.entry__name,
.entry__role,
.entry__desc,
.entry__facts {
	display: block;
}
.entry__facts {
	margin-top: 12px;
	font-family: var(--label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.entry__facts span {
	white-space: nowrap;
}
.entry__facts span + span::before {
	content: "/";
	margin: 0 9px;
	color: var(--red);
}
.entry__go {
	align-self: center;
	font-family: var(--label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	text-decoration: none;
	color: var(--navy);
	border-bottom: 2px solid var(--navy);
	padding-bottom: 2px;
}
.entry__name:hover,
.entry__go:hover,
.entry__parts a:hover {
	color: var(--red);
	border-color: var(--red);
}
.entry__parts {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	border-top: 1px solid var(--rule);
}
.entry__parts li {
	display: grid;
	grid-template-columns: 172px minmax(0, 1fr);
	gap: 2px 18px;
	align-items: baseline;
	padding: 11px 0;
	border-bottom: 1px dotted var(--rule);
	font-size: 16px;
	line-height: 1.45;
}
.entry__parts li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.entry__parts a {
	justify-self: start;
	font-family: var(--label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
	border-bottom: 2px solid var(--navy);
}
@media (max-width: 560px) {
	.entry__parts li {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Foundation ---------- */

.foundation {
	background: var(--navy);
	color: var(--paper);
	padding: clamp(48px, 8vw, 96px) 0;
	border-top: 6px solid var(--red);
}
.foundation .wrap {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 72px);
}
.foundation .kicker {
	color: var(--gold);
}
.foundation h2 {
	margin: 0;
	font-family: var(--slab);
	font-weight: 400;
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.1;
	text-wrap: balance;
}
.stars {
	margin: 22px 0 0;
	color: var(--gold);
	font-size: 18px;
	letter-spacing: 0.5em;
}
.foundation__body p {
	margin: 0 0 18px;
}
.foundation__body p:first-child {
	font-size: 20px;
	line-height: 1.5;
}
.foundation .textlink {
	color: var(--paper);
}
.foundation .textlink:hover {
	color: var(--gold);
}

/* ---------- Where to start ---------- */

.start {
	padding: clamp(48px, 8vw, 96px) 0;
}
.routes {
	list-style: none;
	margin: 0;
	padding: 0;
}
.routes li {
	border-bottom: 1px solid var(--rule);
}
.routes a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 18px 0;
	text-decoration: none;
}
.routes__if {
	font-size: 20px;
}
.routes__go {
	flex: none;
	font-family: var(--label);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	border-bottom: 2px solid var(--navy);
}
.routes a:hover .routes__go {
	color: var(--red);
	border-color: var(--red);
}

/* ---------- Footer ---------- */

.foot {
	background: var(--paper-deep);
	border-top: 4px solid var(--navy);
	padding: 36px 0 40px;
	font-size: 16px;
}
.foot .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px 40px;
}
.foot__name {
	margin: 0 0 6px;
	font-family: var(--slab);
	font-size: 18px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--navy);
}
.foot p {
	margin: 0;
	color: var(--ink-soft);
}
.foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-family: var(--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.foot a {
	color: var(--navy);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.foot a:hover {
	color: var(--red);
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
	body {
		font-size: 17px;
	}
	.lede .wrap,
	.foundation .wrap {
		grid-template-columns: 1fr;
	}
	.section-head {
		display: block;
	}
	.section-head p {
		margin-top: 6px;
		text-align: left;
	}
	.entry {
		grid-template-columns: 44px minmax(0, 1fr);
		row-gap: 12px;
	}
	.entry__text,
	.entry__go {
		grid-column: 2;
	}
	.entry__go {
		justify-self: start;
	}
	.routes a {
		display: block;
	}
	.routes__if {
		display: block;
		margin-bottom: 8px;
		font-size: 18px;
	}
	.entry__facts span {
		white-space: normal;
	}
}

@media (max-width: 560px) {
	.mast nav a.is-optional {
		display: none;
	}
	.mast__name {
		font-size: 14px;
	}
	.mast nav {
		font-size: 15px;
	}
}

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

/* ---------- Refinements ---------- */

p,
.entry__desc {
	text-wrap: pretty;
}

@media (min-width: 561px) and (max-width: 860px) {
	.routes a {
		display: flex;
	}
	.routes__if {
		display: inline;
		margin-bottom: 0;
	}
}

@media (max-width: 640px) {
	.mast nav a:not(.mast__give) {
		display: none;
	}
	.mast__name {
		font-size: 15px;
	}
}

@media (max-width: 560px) {
	.entry {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
	}
	.entry__text,
	.entry__go {
		grid-column: 1;
	}
	.entry__no {
		font-size: 18px;
		line-height: 1;
	}
	.entry__facts span {
		display: block;
	}
	.entry__facts span + span::before {
		content: none;
	}
}

/* ---------- What we stand for ---------- */

.principles {
	margin-bottom: clamp(48px, 7vw, 88px);
	padding: clamp(44px, 7vw, 88px) 0;
	background: var(--paper-deep);
	border-top: 4px solid var(--navy);
	border-bottom: 4px solid var(--navy);
	box-shadow: inset 0 6px 0 var(--paper-deep), inset 0 7px 0 var(--navy), inset 0 -6px 0 var(--paper-deep), inset 0 -7px 0 var(--navy);
}
.principles .wrap {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
.principles__head {
	position: sticky;
	top: 92px;
}
.principles h2 {
	margin: 0;
	font-family: var(--slab);
	font-weight: 400;
	font-size: clamp(30px, 3.8vw, 46px);
	line-height: 1.08;
	color: var(--navy);
	text-wrap: balance;
}
.principles__head p:last-child {
	margin: 18px 0 0;
	font-size: 17px;
	color: var(--ink-soft);
}
.creed {
	margin: 0;
}
.creed div {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 6px clamp(18px, 3vw, 40px);
	padding: 22px 0;
	border-top: 1px solid rgba(1, 32, 67, 0.28);
}
.creed div:first-child {
	padding-top: 0;
	border-top: 0;
}
.creed div:last-child {
	padding-bottom: 0;
}
.creed dt {
	font-family: var(--slab);
	font-size: clamp(21px, 2vw, 25px);
	line-height: 1.2;
	color: var(--red);
}
.creed dd {
	margin: 0;
	text-wrap: pretty;
}

@media (max-width: 1000px) {
	.mast nav a.is-optional {
		display: none;
	}
}

@media (max-width: 860px) {
	.principles .wrap {
		grid-template-columns: 1fr;
	}
	.principles__head {
		position: static;
	}
}

@media (max-width: 560px) {
	.creed div {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.entry__go {
		margin-top: 12px;
	}
}
