@charset "UTF-8";
/* CSS Document */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	text-align: left;
	box-sizing: border-box;
}

html, body {
	background-size: cover;
} 

:root {
	--dark: #191919;
	--grey: #BFBFBF;
	--blue: #2D28A9;
	--darkpink: #52293C;
	--pink: #F287B7;
	--palepink: #FFD7E9;
	--light: #FFF6F1;
	--footer-h: 3.875rem; } 

html { scroll-padding-bottom: var(--footer-h); }
main { padding-bottom: var(--footer-h); }

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

[tabindex="-1"]:focus { outline: none; }

@font-face {
  font-family: 'Satoshi Light';
  src:  url('../sources/fonts/Satoshi-Light.woff2') format('woff2'),
  			url('../sources/fonts/Satoshi-Light.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi Medium';
  src:  url('../sources/fonts/Satoshi-Medium.woff2') format('woff2'),
  			url('../sources/fonts/Satoshi-Medium.ttf') format('truetype');
  font-display: swap;
}

/********** PAGE ITEMS **********/

body {
	background-color: var(--dark);
}

main {
	padding: 0 6rem;
}

h1, h2, h3, h4, h5, p, small, blockquote, figcaption, ul, a, form, form label, form input, form textarea, time {
	color: var(--light);
	display: block;
	position: relative;
}

h1, h3, h4, h5, strong, nav, button, a, form input, form textarea, time {
	font-family: 'Satoshi Medium', sans-serif;
}

h2, p, ul, blockquote, figcaption, small, form label, ::placeholder {
	font-family: 'Satoshi Light', sans-serif;
}

h1 {
	font-size: clamp(4.5rem, 12vw, 14rem);
	letter-spacing: -0.6vw;
	line-height: 1;
	padding: 0 0 2rem 0;
	margin: 0 0 0 -1rem;
	position: relative;
	z-index: 10;
}

h2 {
	font-size: 4rem;
	line-height: 1.1;	
	padding: 5rem 0 1.5rem 0;
	letter-spacing: -0.1vw;
	color: var(--palepink);
}

h3 {
	font-size: 1.75rem;
	line-height: 1.1;	
	padding: 3rem 0 1rem 0;
}

h4 {
	font-size: 1.375rem;
	line-height: 1.4;	
	padding: 2.5rem 0 0 0;
	color: var(--pink);
}

p, figcaption {
	font-size: 1rem;
	line-height: 1.4;	
	padding: 1.25rem 0 0 0;
}

p a {
	display: inline-block;
}

strong, time {
	color: var(--palepink);
}

ul {
	padding: 1.5rem 0 2rem 2rem;	
}

li {
	padding: 0 0 0.5rem 0;	
}

small {
	font-size: .875rem;
	padding: 1rem 0;
	display: block;
}

header {
	padding: 27vh 6rem 3rem 6rem;
	min-height: 100vh;
}

article {
	padding: 3rem 0;
}

section {
	padding: 0 0 5rem 0;
	width: 75%;
	max-width: 52rem;
}

button, a, form input {
	transition: all 0.3s ease-in-out;
	cursor: pointer;
}

figcaption {
	text-align: right;
	color: var(--palepink);	
	display: block;
	position: relative;
}

footer {
	padding: 1rem 2.5rem;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, var(--dark), transparent);
	z-index: 60;
}

nav ul {
	padding: 0;
}

nav ul li {
	display: inline-block;
	margin: 0 2rem 0 0;
}

nav ul li a {
	text-decoration: none;
}

nav ul li a:hover, p a:hover {
	color: var(--pink);
}

blockquote {
	font-size: 2rem;
	color: var(--pink);
}

blockquote:first-letter {
	margin-left: -.75rem;
}

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


/********** FORM **********/

form {
	padding: 1.5rem 0;
}

form label {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0 0 0.25rem 0;
}

form input, form textarea {
	background: rgba(10, 10, 10, 0.1);
	border: 1px solid var(--palepink);
	font-size: 1rem;
	border-radius: 0;
	padding: .375rem .5rem;
}

form input {
	margin: 0 0 1rem 0;
}

form textarea {
	margin: 0 0 2rem 0;
}

form input:hover, form textarea:hover {
	background: rgba(10, 10, 10, 0.5);
	border: 1px solid var(--darkpink);
}

form input:active, form textarea:active {
	border: 1px solid var(--light);	
}

form input::placeholder, form textarea::placeholder {
	color: var(--grey);
}


/********** STYLING **********/

.tagline {
	font-size: 1.75rem;
	line-height: 1.1;
	letter-spacing: 1vw;	
	padding: 0 0 1rem 0;
	text-transform: uppercase;
	z-index: 10;
}

.primary-button {
	font-size: 1.25rem;
	background-color: var(--palepink);
	color: var(--dark);
	border-radius: 3rem;
	padding: 1rem 3rem;
	margin-left: -.5rem;
	border: 2px solid var(--palepink);
	width: auto;
	display: inline-block;
	text-decoration: none;
}

.primary-button:hover {
	background-color: var(--pink)!important;
	color: var(--blue)!important;
	border: 2px solid var(--pink)!important;
}

/*.secondary-button {
	font-size: 1.25rem;
	background-color: transparent;
	color: var(--palepink);
	border-radius: 3rem;
	padding: 1rem 3rem;
	margin-left: 3rem;
	border: 2px solid var(--palepink);
}

.secondary-button:hover {
	background-color: transparent;
	color: var(--pink);
	border: 2px solid var(--pink);
}*/

.pause-button {
	background: var(--dark);
	color: var(--palepink);
	font-size: .875rem;
	line-height: 1;
	padding: .375rem 1rem .5rem 1rem;
	border: 1px solid var(--palepink);
	border-radius: 4rem;
	position: fixed;
	top: 1rem;
	right: 2rem;
	z-index: 70;
}

.pause-button:hover {
	color: var(--pink);
	border: 1px solid var(--pink);
}

#motion-toggle[aria-pressed="true"] { 
	color: var(--dark);
	background: var(--pink);
	border: 1px solid var(--pink);
}

.reading-list ul {
  display: grid;
  grid-template-columns: 3fr 1fr; 
  column-gap: 1rem;
  row-gap: 0.5rem;
  list-style: none;
  margin: 0;
	padding: 1.5rem 0 0 0; 
	width: 100%; 
}

.reading-list li {
  display: grid;
  grid-template-columns: subgrid; 
  grid-column: 1 / -1; 
  border-bottom: 1px solid var(--darkpink);
}

.reading-list li:last-of-type {
  border-bottom: none;
}

.reading-list li cite:first-letter {
	margin-left: -.3125rem;
}

.reading-list li cite {
	color: var(--pink);	
	font-size: 1.25rem;
}

.reading-list li span {
	padding-top: .3125rem;
}

.gallery {
  display: flex;
  gap: 1.25rem;
  position: relative;
  width: calc(100% + 12rem);
  left: -6rem;
	padding: 0 1.25rem 2rem 1.25rem;
}

.art {
  position: relative;
  flex: 1; 
  aspect-ratio: 1/1; 
  overflow: hidden;
}

.art img {
  animation: cycle 18s infinite;
  animation-fill-mode: both;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art:nth-child(1) img:nth-child(1) { animation-delay: 0s; }
.art:nth-child(1) img:nth-child(2) { animation-delay: -3s; }
.art:nth-child(1) img:nth-child(3) { animation-delay: -6s; }
.art:nth-child(1) img:nth-child(4) { animation-delay: -9s; }
.art:nth-child(1) img:nth-child(5) { animation-delay: -12s; }
.art:nth-child(1) img:nth-child(6) { animation-delay: -15s; }

.art:nth-child(2) img:nth-child(1) { animation-delay: -1s; }
.art:nth-child(2) img:nth-child(2) { animation-delay: -4s; }
.art:nth-child(2) img:nth-child(3) { animation-delay: -7s; }
.art:nth-child(2) img:nth-child(4) { animation-delay: -10s; }
.art:nth-child(2) img:nth-child(5) { animation-delay: -13s; }
.art:nth-child(2) img:nth-child(6) { animation-delay: -16s; }

.art:nth-child(3) img:nth-child(1) { animation-delay: -2s; }
.art:nth-child(3) img:nth-child(2) { animation-delay: -5s; }
.art:nth-child(3) img:nth-child(3) { animation-delay: -8s; }
.art:nth-child(3) img:nth-child(4) { animation-delay: -11s; }
.art:nth-child(3) img:nth-child(5) { animation-delay: -14s; }
.art:nth-child(3) img:nth-child(6) { animation-delay: -17s; }

@keyframes cycle {
	0%, 33% {
  	opacity: 1;
  }
  36%, 94%{
  	opacity: 0;
  }
  97%, 100%{
  	opacity: 1;
  }
}

.logo {
	position: fixed;
	right: 0;
	bottom: 7rem;
	z-index: 50;
}

.logo img {
	width: 7rem;
}

.intro {
	font-size: 1.75rem;
	z-index: 10;
}

.button-wrapper {
	padding: 2rem 0 0 0;
}

.header-images img {
	position: absolute;
}

.designer {
	top: 45%;
	width: 19%;
}
.designer:nth-of-type(odd) { left: 1%; }
.designer:nth-of-type(even) { left: 1.5%; }

.wizard {
	top: .5%;
	width: 15%;
}
.wizard:nth-of-type(odd) { left: 12%; }
.wizard:nth-of-type(even) { left: 12.5%; }

.spacewoman {
	top: -1%;
	width: 14%;
}
.spacewoman:nth-of-type(odd) { left: 40%; }
.spacewoman:nth-of-type(even) { left: 40.5%; }

.artist {
	top: 2%;
	width: 16%;
}
.artist:nth-of-type(odd) { right: 18%; }
.artist:nth-of-type(even) { right: 17.5%; }

.revolutionary {
	top: 57%;
	width: 15%;
}
.revolutionary:nth-of-type(odd) { left: 41%; }
.revolutionary:nth-of-type(even) { left: 41.5%; }

.rebel {
	top: 46%;
	width: 15%;
}
.rebel:nth-of-type(odd) { right: 27%; }
.rebel:nth-of-type(even) { right: 26.5%; }

.anarchist {
	top: 42%;
	width: 10%;
}
.anarchist:nth-of-type(odd) { right: 13%; }
.anarchist:nth-of-type(even) { right: 12.5%; }

.swordswoman {
	top: 15%;
	width: 16%;
}
.swordswoman:nth-of-type(odd) { right: 1%; }
.swordswoman:nth-of-type(even) { right: .5%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  transform: translateY(-100%); /* parked just above the viewport */
}

.skip-link:focus {
  transform: translateY(0);
}


/********** ANIMATION STYLING **********/

.load-in-top {
	animation: slideInFromTop 1.5s ease-out both;
}

.header-images img:nth-of-type(8n+1) { animation-delay: 0.4s;	}
.header-images img:nth-of-type(8n+2) { animation-delay: 0.6s;	}
.header-images img:nth-of-type(8n+3) { animation-delay: 0.8s;	}
.header-images img:nth-of-type(8n+4) { animation-delay: 1s;	}
.header-images img:nth-of-type(8n+5) { animation-delay: 1.2s;	}
.header-images img:nth-of-type(8n+6) { animation-delay: 1.4s; }
.header-images img:nth-of-type(8n+7) { animation-delay: 1.6s;	}
.header-images img:nth-of-type(8n+8) { animation-delay: 1.8s; }

@keyframes slideInFromTop {
  0% {
    transform: translateY(-100vw);
  }
  100% {
    transform: translateY(0);
  }
}

.fade-in-bottom h2,
.fade-in-bottom h3,
.fade-in-bottom h4,
.fade-in-bottom p,
.fade-in-bottom form,
.fade-in-bottom .art,
.fade-in-bottom .scroll,
.fade-in-bottom li,
.fade-in-bottom blockquote,
.fade-in-bottom figcaption,
.fade-in-bottom time,
.fade-in-bottom .primary-button {
  opacity: 0;
}

.js .fade-in-bottom h2,
.js .fade-in-bottom h3,
.js .fade-in-bottom h4,
.js .fade-in-bottom p,
.js .fade-in-bottom form,
.js .fade-in-bottom .art,
.js .fade-in-bottom .scroll,
.js .fade-in-bottom li,
.js .fade-in-bottom blockquote,
.js .fade-in-bottom figcaption,
.js .fade-in-bottom time,
.js .fade-in-bottom .primary-button { 
	opacity: 0 
}
 
.scrolled.fade-in-bottom h2,
.scrolled.fade-in-bottom h3,
.scrolled.fade-in-bottom h4,
.scrolled.fade-in-bottom p,
.scrolled.fade-in-bottom form,
.scrolled.fade-in-bottom .art,
.scrolled.fade-in-bottom .scroll,
.scrolled.fade-in-bottom li,
.scrolled.fade-in-bottom blockquote,
.scrolled.fade-in-bottom figcaption,
.scrolled.fade-in-bottom time,
.scrolled.fade-in-bottom .primary-button {
  animation: fadeInBottom 1.5s ease-in-out both;
}
  
@keyframes fadeInBottom {
    0% {
        transform: translateY(2.5rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scrolled.fade-out-top {
    animation: fadeOutTop 2s ease-in-out both;
    animation-delay: 0s!important;
}
  
@keyframes fadeOutTop {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
    }
}

.mobile-library {
	position: relative;
	aspect-ratio: 3 / 1;
}

.mobile-library img {
	animation: library 5s infinite;
	position: absolute;
	top: 0;
	left: 0;
}

.mobile-library img:nth-of-type(2) { animation-delay: 1s; }
.mobile-library img:nth-of-type(3) { animation-delay: 2s; }
.mobile-library img:nth-of-type(4) { animation-delay: 3s; }
.mobile-library img:nth-of-type(5) { animation-delay: 4s; }

@keyframes library {
	0%, 20% {
  	opacity: 1;
  }
  21%, 100% {
  	opacity: 0;
  }
}

.motion-off .art img,
.motion-off .mobile-library img { animation: none; }
.motion-off .art:not(:first-of-type) img,
.motion-off .mobile-library img:not(:first-child) { opacity: 0; }

.motion-off .load-in-top,
.motion-off .scrolled.fade-out-top,
.motion-off .scrolled.fade-in-bottom h2,
.motion-off .scrolled.fade-in-bottom h3,
.motion-off .scrolled.fade-in-bottom h4,
.motion-off .scrolled.fade-in-bottom p,
.motion-off .scrolled.fade-in-bottom form,
.motion-off .scrolled.fade-in-bottom .art,
.motion-off .scrolled.fade-in-bottom .scroll,
.motion-off .scrolled.fade-in-bottom li,
.motion-off .scrolled.fade-in-bottom blockquote,
.motion-off .scrolled.fade-in-bottom figcaption,
.motion-off .scrolled.fade-in-bottom time,
.motion-off .scrolled.fade-in-bottom .primary-button { animation: none; transform: none; }
.motion-off .fade-in-bottom h2,
.motion-off .fade-in-bottom h3,
.motion-off .fade-in-bottom h4,
.motion-off .fade-in-bottom p,
.motion-off .fade-in-bottom form,
.motion-off .fade-in-bottom .art,
.motion-off .fade-in-bottom .scroll,
.motion-off .fade-in-bottom li,
.motion-off .fade-in-bottom blockquote,
.motion-off .fade-in-bottom figcaption,
.motion-off .fade-in-bottom time,
.motion-off .fade-in-bottom .primary-button { opacity: 1; }


/********** MEDIA QUERIES **********/

/* Tablet */
@media only screen and (max-width: 1024px) {
	header { padding: 23vh 6rem 3rem 6rem; }
	article { padding: 3rem 0; }
	section { width: 100%; }
	h1 { margin: 0 0 0 -.25rem; }
	.logo img { width: 5rem; }
	.designer:nth-of-type(odd) { left: .5vw; }
	.designer:nth-of-type(even) { left: 2.5vw; }
	.wizard:nth-of-type(odd) { left: 5vw; }
	.wizard:nth-of-type(even) { left: 7vw; }
	.spacewoman:nth-of-type(odd) { left: 27vw; }
	.spacewoman:nth-of-type(even) { left: 29vw; }
	.artist:nth-of-type(odd) { right: 30vw; }
	.artist:nth-of-type(even) { right: 28vw; }
	.revolutionary:nth-of-type(odd) { left: 27vw; }
	.revolutionary:nth-of-type(even) { left: 29vw; }
	.rebel:nth-of-type(odd) { right: 36vw; }
	.rebel:nth-of-type(even) { right: 34vw; }
	.anarchist:nth-of-type(odd) { right: 15vw; }
	.anarchist:nth-of-type(even) { right: 13vw; }
	.swordswoman:nth-of-type(odd) { right: 3vw; }
	.swordswoman:nth-of-type(even) { right: 1vw; }
}

/* Mobile */
@media only screen and (max-width: 767px) {
	main { padding: 0 5rem 0 2rem; }	
	header { padding: 30vh 5rem 3rem 2rem; min-height: auto; }
	article { padding: 2rem 0; }
	h2 { font-size: 2.75rem; }
	form input, form textarea { width: 75%; }
	footer { padding: 1rem 2rem; }
	blockquote, .intro { font-size: 1.5rem; }
	blockquote:first-letter { margin-left: -.5rem; }
	.tagline { font-size: 1.25rem; }
	.reading-list li { grid-template-columns: auto; }
	.logo img { width: 4rem; }
	.gallery { left: -2rem; width: calc(100% + 7rem); }
	.designer { top: 26vh; width: 22vw; }
	.wizard { top: 1vh; width: 21vw; }
	.spacewoman { top: -1vh; width: 21vw; }
	.artist { top: 3vh; width: 21vw; }
	.revolutionary { top: 34vh; width: 18vw; }
	.rebel { top: 24vh; width: 21vw; }
	.anarchist { top: 17vh; width: 18vw; }
	.swordswoman { top: 12vh; width: 20vw; }
}

/* Motion Reduction */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html:not(.motion-on) .art img,
  html:not(.motion-on) .mobile-library img { animation: none; }
  html:not(.motion-off) { scroll-behavior: smooth; }
}