/* CSS RESET ===================================================== */

* {
	margin: 0;
	padding: 0;
	border: 0;
}

ol,
ul {
	list-style: none;
}

button {
	background: none;
	cursor: pointer;
	font: inherit;
	color: inherit;
}


/* BASE ===================================================== */

:root {
	--black: rgb(32, 32, 32);
	--grey: rgb(144, 144, 144);
	--white: rgb(255, 255, 255);
	--cream: rgb(243, 240, 238);
	--darker-cream: rgb(217, 213, 206);

	--grid-one-quarter: 0.8rem;
	--grid-half: 1.6rem;
	--grid-three-quarters: 2.4rem;
	--grid: 3.2rem;
	--grid2: 6.4rem;
	--grid3: 9.6rem;
	
	--page-padding: clamp(2.4rem, 0.46944rem + 3.861vw, 6.4rem); /* 500px to 1536px 24px to 64px */
}

html {
	font-size: clamp(56.25%, 53.23% + 0.0965vw, 62.5%); /* 500px to 1536px 9px to 10px */
}

body {
	color: var(--black);
	font-family: ff-scala-sans-pro, sans-serif;
	font-variant-ligatures: common-ligatures;
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
}

/* body::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	min-height: 2000%;
	background-image: url("images/32px.png");
	background-size: 6.4rem 3.2rem;
	background-position: center top;
	z-index: 9999;
	pointer-events: none;
} */

a:link,
a:visited { 
	color: var(--black); 
	text-decoration: none;
}

a:hover,
a:active { 
	color: var(--grey); 
	text-decoration: none; 
}


/* STRUCTURE ===================================================== */

main {
	background-color: var(--cream);
	padding-bottom: 16rem;
}

header,
.column {
	padding: 0 var(--page-padding);
}

.column {
	max-width: 76.8rem;
	margin: 0 auto;
}

.wide-column {
	max-width: 140.8rem;
}


/* IMAGES ===================================================== */

img {
	width: 100%;
	height: auto;
}

.column img,
.video-embed {
	margin: var(--grid) 0 var(--grid2) 0;
}

.portrait {
	max-width: 38.4rem;
}

.video-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.video-embed iframe,
.video-embed video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.figcaption {
	font-size: 1.6rem;
	line-height: var(--grid-three-quarters);
	padding: var(--grid-one-quarter) 0 var(--grid2) 0;
	margin-top: calc(-1 * var(--grid2));
}


/* HEADER ===================================================== */

header {
	background-color: var(--white);
	height: var(--grid3);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header.fixed-to-top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

header.fixed-to-top + main {
	padding-top: var(--grid3);
}

.logo {
	width: 8.2rem;
}

.nav-button {
	display: none;
}

.nav-button,
nav {
	font-size: 1.6rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

nav ul {
	display: flex;
	column-gap: var(--grid);
}

.nav-button:hover,
.nav-button:active,
nav a:hover,
nav a:active { 
	color: var(--black); 
	border-bottom: 1px solid; 
}

nav a[aria-current="page"] {
	border-bottom: 1px solid;
}

.background1 .logo path { fill: #324353; }
.background2 .logo path { fill: #946B5B; }
.background3 .logo path { fill: #AC9794; }
.background4 .logo path { fill: #949492; }
.background5 .logo path { fill: #879297; }
.background6 .logo path { fill: #3A5406; }
.background7 .logo path { fill: #7A899C; }
.background8 .logo path { fill: #06323F; }
.background9 .logo path { fill: #1C2627; }
.background10 .logo path { fill: #B0A98E; }
.background11 .logo path { fill: #36627D; }
.background12 .logo path { fill: #1C3642; }
.background13 .logo path { fill: #506E73; }
.background14 .logo path { fill: #0F2830; }
.background15 .logo path { fill: #0E2B27; }
.background16 .logo path { fill: #485263; }
.background17 .logo path { fill: #333A43; }
.background18 .logo path { fill: #4B615F; }
.background19 .logo path { fill: #54312B; }
.background20 .logo path { fill: #0F4652; }
.background21 .logo path { fill: #D28861; }
.background22 .logo path { fill: #6D5D4E; }
.background23 .logo path { fill: #A34221; }
.background24 .logo path { fill: #323B43; }
.background25 .logo path { fill: #916532; }


/* BANNER ===================================================== */

.banner {
	position: relative;
	min-height: calc(100vh - var(--grid3));
	display: flex;
	align-items: center;
	color: var(--white);
}

.banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner .column {
	position: relative;
	z-index: 1;
	width: 100%;
}


/* INTRO ===================================================== */

.intro-stripe {
	color: var(--white);
	margin-bottom: var(--grid3);
}

.background1 .intro-stripe { background-color: #324353; }
.background2 .intro-stripe { background-color: #946B5B; }
.background3 .intro-stripe { background-color: #AC9794; }
.background4 .intro-stripe { background-color: #949492; }
.background5 .intro-stripe { background-color: #879297; }
.background6 .intro-stripe { background-color: #3A5406; }
.background7 .intro-stripe { background-color: #7A899C; }
.background8 .intro-stripe { background-color: #06323F; }
.background9 .intro-stripe { background-color: #1C2627; }
.background10 .intro-stripe { background-color: #B0A98E; }
.background11 .intro-stripe { background-color: #36627D; }
.background12 .intro-stripe { background-color: #1C3642; }
.background13 .intro-stripe { background-color: #506E73; }
.background14 .intro-stripe { background-color: #0F2830; }
.background15 .intro-stripe { background-color: #0E2B27; }
.background16 .intro-stripe { background-color: #485263; }
.background17 .intro-stripe { background-color: #333A43; }
.background18 .intro-stripe { background-color: #4B615F; }
.background19 .intro-stripe { background-color: #54312B; }
.background20 .intro-stripe { background-color: #0F4652; }
.background21 .intro-stripe { background-color: #D28861; }
.background22 .intro-stripe { background-color: #6D5D4E; }
.background23 .intro-stripe { background-color: #A34221; }
.background24 .intro-stripe { background-color: #323B43; }
.background25 .intro-stripe { background-color: #916532; }


/* TYPOGRAPHY ===================================================== */

.heading1 {
	font-family: ff-scala, sans-serif;
	font-size: clamp(3.2rem, 1.65552rem + 3.0888vw, 4.8rem); /* 500px to 1536px 36px to 48px */
	line-height: 1.33333333em;
	font-weight: 400;
	text-align: center;
	padding: 1.33333333em 0 3.33333333em 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-transform: none;
	letter-spacing: 0;
}

h2 {
	font-size: 2.1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: var(--grid);
	padding: var(--grid) 0;
	font-weight: 400;
}

p {
	font-size: 2.1rem;
	line-height: var(--grid);
	padding-bottom: var(--grid);
}

.column ul,
.column ol {
	font-size: 2.1rem;
	line-height: var(--grid);
	padding-bottom: var(--grid);
	padding-left: 1em;
}

.column li p {
	padding-bottom: 0;
}

.column ul {
	list-style-type: disc;
}

.column ol {
	list-style-type: decimal;
}

blockquote p {
	font-style: italic;
	text-indent: -0.4em;
}

main p a {
	border-bottom: 1px solid var(--grey);
}


/* FOOTER ===================================================== */

footer {
	padding: var(--grid) 0;
	text-align: center;
	background-color: var(--darker-cream);
}

.credit {
	font-size: 1.2rem;
	line-height: var(--grid-half);
	padding: var(--grid) 0 var(--grid-half) 0;
}


/* HOME PAGE ===================================================== */

.featured-articles {
	padding-bottom: 1.33333333em;
}


/* ARTICLE PAGE ===================================================== */

.two-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: var(--page-padding);
}

article {
	padding-top: var(--grid3);
	grid-column: span 2;
}

.column article img {
	margin: 0;
}

.two-columns article:last-child:nth-child(odd) {
	grid-column: 2 / span 2;
}


/* RESPONSIVE ===================================================== */

@media screen and (max-width: 1000px) {

	.two-columns {
		display: block;
	}
}

@media screen and (max-width: 767px) {

	.nav-button {
		display: block;
	}

	nav {
		display: none;
		font-size: 3.6rem;
		text-align: center;
		line-height: 2em;
	}

	body.nav-shown nav {
		display: block;
		position: fixed;
		top: var(--grid3);
		left: 0;
		right: 0;
		bottom: 0;
		padding: 0 var(--page-padding);
		background-color: var(--cream);
		overflow-y: auto;
	}

	nav ul {
		display: block;
		padding: var(--grid) 0;
	}

	nav a:hover,
	nav a:active { 
		color: var(--grey);
		border-bottom: none;
	}

	nav a[aria-current="page"] {
		border-bottom: none;
	}
}