/* @group FONTS */

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-VariableFont_wght.woff2') format('woff2 supports variations'),
       url('../fonts/Jost-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

/* @end */

/* @group VARIABLES */

:root {
	
/*	--color-base: 				#000000;
	--color-primary: 		#03498A;
	--color-highlight: 	#15B1FF;
	--color-white:				#FFFFFF;*/
	
	--font-family: 'Jost', Helvetica, Arial, sans-serif;
	
	--font: 			350 clamp(18px, 2.0vw, 20px)/1.4rem var(--font-family);
	--font-menu: 	450 1.5rem/1.2em var(--font-family);
	--font-h1: 		450 2.25rem/1.1em var(--font-family);
	--font-h2: 		430 1.4rem/1.1em var(--font-family);
	--font-sm: 		350 .85rem/1.2em var(--font-family);
	
	--font-weight-bold: 450;
	
	--gap-column: clamp(3rem, 8vw, 4rem);
	
	--shadow-image: 0 0 1rem rgba(0,0,0,.15);
	
}

@media (max-width: 799px) {
	
	root: {
		
		--font-h2: 400 1.4rem/1.25em var(--font-family);
		
	}
	
}

/* @group Colors */

@property --color-base {
  syntax: "<color>";
  inherits: true;
  initial-value: #000000;
}

@property --color-primary {
  syntax: "<color>";
  inherits: true;
  initial-value: #03498A;
}

@property --color-highlight {
  syntax: "<color>";
  inherits: true;
  initial-value: #15B1FF;
}

@property --color-white {
  syntax: "<color>";
  inherits: true;
  initial-value: #FFFFFF;
}

/* @end */

/* @end */

/* @group BASE */

html,
body {
	min-width: 320px;
	font: var(--font);
}

strong {
	font-weight: var(--font-weight-bold);
}

h1 {
	font: var(--font-h1);
}

* + h1 {
	margin-top: 1em;
}

h1:has(+ *) {
	margin-bottom: .25em;
}

h2 {
	font: var(--font-h2);
}

* + h2 {
	margin-top: 1em;
}

h2:has(+ *) {
	margin-bottom: .75em;
}

p:has(+ *) {
	margin-bottom: 1em;
}

/* @group Lists */

.main ul:not([class]):has(+ *) {
    margin-bottom: 1em;
}

	.main ul:not([class]) li {
	   display: flex;
	}
	
		.main ul:not([class]) li::before {
	    content: "•";
	    flex: 0 0 1.25em;
			padding-right: .25em;
			text-align: center;
		}
	
	.main ul:not([class]) li:has(+ li) {
	   margin-bottom: .5em;
	}
	
ol {
  counter-reset: counter;
}

ol:has(+ *) {
	margin-bottom: 1em;
}

	ol li {
		display: table;
	  counter-increment: counter;
	}
	
		ol li::before {
		  content: counter(counter) ".";
	    display: table-cell;
	    width: 2em;
			padding-right: .3em;
			text-align: right;
		}

/* @end */

/* @group Links */

.news a,
.main a {
	color: var(--color-primary);
	transition: color .15s ease-in-out 0s;
}

.news a:hover,
.main a:hover,
.links a:hover {
	color: var(--color-highlight);
}

.text a {
	font-weight: var(--font-weight-bold);
}

a.overview {
	display: block;
	margin-top: 2em;
	
}

/* @end */

/* @end */

/* @group Body */

.body {
	min-width: 320px;
	min-height: 100vh;
}

/* @end */

/* @group Header */

.header {
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-content: flex-start;
	color: var(--color-primary);
}

body:has(.cover) .header,
body:has(.hero) .header {
	color: var(--color-white);
}

	.header .banner {
		display: flex;
		align-content: space-between;
	}
	
	.header .menu {
		margin-bottom: 2vw;
		margin-left: 8.5vw;
	}
	
	.header .colophon {
		display: flex;
		flex-direction: column;
		row-gap: 1.5rem;
		width: max-content;
		margin-top: auto;
	}
	
	.header .toggle {
		display: none;
	}
	
	@media (max-width: 999px) {
		
		.header {
			position: fixed;
			z-index: 10;
			top: 0;
			right: 0;
			left: 0;
		}
		
		.header--fixed {
			background-color: var(--color-primary);
			color: var(--color-white);	
		}
		
			.header .colophon {
				display: none;
				margin-top: 3rem;
			}
			
		body:has(> .cover) .header {
			bottom: 0;
		}
			
			body:has(> .cover) .header .colophon {
				display: block;
				margin-top: auto;
			}
		
			.header--fixed .toggle {
				pointer-events: auto;
				display: flex;
			}
		
			.header--fixed .menu {
				display: none;
			}
		
			.header--fixed.header--open .menu {
				display: flex;
			}
			
			.header--fixed.header--open .colophon {
				display: block;
			}

	}
	
	@media (min-width: 1000px) {
		
		.header {
			position: fixed;
			z-index: 10;
			top: 0;
			bottom: 0;
			left: 0;
		}
		
	}

/* @end */

/* @group Logo */

.logo {
	pointer-events: auto;
	width: 100vw;
	margin-left: -.15em;
	font-size: 13.9vw;
	font-weight: 300;
	line-height: .75;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	transition: all .3s ease-in-out 0s, color .15s ease-in-out 0s;
}

	@media (max-width: 799px) {
		
		.logo {
			font-weight: 340;
		}
		
	}
	
	@media (max-width: 999px) {
		
		.logo {
			padding-block: 1.5rem;
		}
		
		.logo--fixed {
			/*margin-left: 2.5vw;*/
			padding-block: 1rem;
			font-size: clamp(24px, 10vw, 38px);
			font-weight: 360;
		}
		
	}
	
	@media (min-width: 1000px) {
		
		.logo {
			pointer-events: auto;
			margin-top: 2rem;
			margin-bottom: 1rem;
		}
		
		.logo--fixed {
			height: min-content;
			width: 23vw;
			margin-inline: 2vw;
			white-space: normal;
			font-size: 4.8vw;
			font-weight: 400;
			line-height: 1;
		}
		
		.logo--bicolored:not(.logo--fixed) {
			background: linear-gradient(90deg, var(--color-white) 51%, var(--color-primary) 51%);
		  -webkit-background-clip: text;
		  -webkit-text-fill-color: transparent;
		}
		
		.logo:hover,
		.logo--bicolored:not(.logo--fixed):hover {
			color: var(--color-highlight);
			background: none;
			-webkit-background-clip: unset;
			-webkit-text-fill-color: unset;
		}
		
	}

/* @end */

/* @group Toggle */

.toggle {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-inline: 1rem;
	color: var(--color-background);
	background-color: var(--color-primary);
	text-align: center;
}

/* @group Hamburger */

.hamburger {
	position: relative;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--color-white);
}

	.hamburger > * {
		display: block;
		position: absolute;
		top: 50%;
		height: 2px;
		width: 100%;
		background-color: currentColor;
		transition: all 300ms ease-in-out 0s;
		transform: translateY(-50%);
	}
	
	.hamburger > *:nth-child(1) {
		transform: translateY(calc(-50% + .5em));
	}

	.hamburger > *:nth-child(3) {
		transform: translateY(calc(-50% - .5em));
	}
	
	.hamburger--open > *:nth-child(1),
	.hamburger--open > *:nth-child(3) {
		width: 80%;
		margin-inline: auto;
	}
	
	.hamburger--open > *:nth-child(1) {
		transform: rotate(45deg);
	}
	
	.hamburger--open > *:nth-child(2) {
		opacity: 0;
	}
	
	.hamburger--open > *:nth-child(3) {
		transform: rotate(-45deg);
	}

/* @end */

/* @end */

/* @group Menu */

.menu {
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	row-gap: .333333333em;
	width: max-content;
	font: var(--font-menu);
	text-transform: uppercase;
	letter-spacing: .09em;
	transition: all .3s ease-in-out 0s;
}

	.menu a {
		transition: color .15s ease-in-out 0s;
	}

	.menu a:hover,
	.menu a.active {
		color: var(--color-highlight);
	}

/* @end */

/* @group Colophon */

.colophon {
	pointer-events: auto;
	margin-left: 8.5vw;
	font-weight: var(--font-weight-bold);
}

	.colophon .channels {
		display: inline-grid;
		gap: 24px;
		grid-template-columns: repeat(2, max-content);
	}
	
		.colophon .channels a {
			width: 48px;
			height: 48px;
			text-indent: 52px;
			white-space: nowrap;
			overflow-x: hidden;
			transition: all .15s ease-in-out 0s;
		}
		
		.colophon .channels a:hover {
			width: 52px;
			height: 52px;
			margin: -2px;
		}

/* @end */

/* @group Channels */

.channels {
	
}

	.channels a {
		content: "";
		display: inline-flex;
		align-items: center;
		background-size: auto 100%;
		background-position: left;
		background-repeat: no-repeat;
		white-space: nowrap;
		vertical-align: bottom;
		transition: all .15s ease-in-out 0s;
	}
	
	.channels a[href*="spotify.com"] {
	  background-image: url(../images/spotify.svg);
	}
	
	.channels a[href*="instagram.com"] {
	  background-image: url(../images/instagram.svg);
	}
	
	.channels a[href*="facebook.com"] {
	  background-image: url(../images/facebook.svg);
	}
	
	.channels a[href*="youtube.com"] {
	  background-image: url(../images/youtube.svg);
	}
	
	.channels a[href*="apple.com"] {
	  background-image: url(../images/apple.svg);
	}
	
	.channels a[href*="amazon"] {
	  background-image: url(../images/amazon.svg);
	}

/* @end */

/* @group Links */

.links {
	display: flex;
	flex-direction: column;
	row-gap: .25em;
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

/* @end */

/* @group Overlay */

.overlay {
	position: fixed;
	z-index: 1;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	display: none;
	background-color: var(--color-white);
	opacity: 0;
	transition: opacity .2s ease-in-out 0s;
}

	.overlay--fixed.overlay--open {
		display: block;
		opacity: .8;
	}

/* @end */

/* @group Cover & News */

.cover {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	overflow: hidden;
}

	.cover img {
		width: 100vw;
		height: 100vh;
		object-fit: cover;
		object-position: 50% bottom;
	}
	
	.cover .news {
		position: absolute;
		right: 0;
		top: 50%;
		width: 15rem;
		height: 15rem;
		padding: 1em;
		display: flex;
		align-items: center;
		border-radius: 50%;
		transform: translate(3rem, -25%);
		background-color: var(--color-white);
		color: var(--color-base);
	}
	
		.cover .news > * {
			width: 100%;
			padding-right: 3rem;
			text-align: right;
		}
		
	.news p:has(> *) {
		margin-bottom: clamp(.25em, 2vw, 1em);
	}
		
	@media (orientation: portrait) {
		
			.cover .news {
				top: 25%;
				width: clamp(12rem, 50vw, 14rem);
				height: clamp(12rem, 50vw, 14rem);
			}
		
	}

/* @end */

/* @group Hero */

.hero {
	
}

	.hero img {
		width: 100%;
		height: auto;
	}
	
	@media (max-width: 999px) {
		
		.hero {
			position: relative;
			z-index: -1;
		}
		
			.hero::after {
				content: "";
				display: block;
				position: absolute;
				z-index: 5;
				left: 0;
				bottom: 0;
				width: 100%;
				height: 10%;
				background: url('../images/hipstamatic-border-bottom.webp') center bottom no-repeat;
				background-size: cover;
			}
		
	}

	@media (min-width: 1000px) {
		
		.hero {
			position: fixed;
			z-index: -1;
			top: 0;
			left: 0;
			width: 50%;
			height: 100vh;
		}
		
			.hero img {
				height: 100vh;
				object-fit: cover;
			}
			
			.hero::after {
				content: "";
				display: block;
				position: absolute;
				z-index: 5;
				top: 0;
				right: 0;
				width: 15%;
				height: 100vh;
				background: url('../images/hipstamatic-border.webp') right center no-repeat;
				background-size: cover;
			}
		
	}

/* @end */

/* @group Main */

.main {
	max-width: calc(2 * 8.5vw + 55rem);
	padding-inline: 8.5vw;
	margin-bottom: 5rem;
}

	@media (max-width: 999px) {
		
		.main {
			padding-top: 3rem;
		}
		
	}

	@media (min-width: 1000px) {
		
		.main {
			margin-top: 20vw;
			margin-left: 21.5vw;
		}
		
		body:has(> .hero) .main {
			margin-left: 50vw;
			padding-inline: 6vw;
		}
		
	}

/* @end */

/* @group Text */

.text {
	max-width: 40em;
}

/* @end */

/* @group Releases */

.releases {
	display: grid;
	column-gap: var(--gap-column);
	row-gap: 3rem;
}

	.releases img {
		width: 100%;
		height: auto;
		margin-bottom: .75em;
		box-shadow: var(--shadow-image);
	}

	.releases h2 {
		margin-bottom: .2em;
	}
	
	@media (min-width: 800px) {
		
		.releases {
			grid-template-columns: repeat(2, 1fr);
		}
		
			.releases > *:nth-child(even) {
				margin-top: var(--gap-column);
			}
		
	}

/* @end */

/* @group Release */

.release {
	display: grid;
	column-gap: var(--gap-column);
	row-gap: 2rem;
}

	.release img {
		width: 100%;
		height: auto;
		box-shadow: var(--shadow-image);
	}
	
	.release .channels {
		display: flex;
		flex-wrap: wrap;
		column-gap: 1em;
		margin-top: 1em;
	}
	
		.release .channels a {
			height: 1.5em;
			margin-block: .1em;
			text-indent: 2em;
			font-weight: var(--font-weight-bold);
		}
		
		.release .channels a:hover {
			height: 1.7em;
			margin-block: 0;
		}

	@media (min-width: 800px) {
		
		.release {
			grid-template-columns: repeat(2, 1fr);
		}
		
			.release > *:nth-child(2) {
				margin-top: var(--gap-column);
			}
		
	}

/* @end */

/* @group Videos & Video */

.videos {
	display: grid;
	column-gap: var(--gap-column);
	row-gap: 2rem;
}

	.videos h2 {
		font: var(--font);
		font-weight: var(--font-weight-bold);
	}
	
	@media (min-width: 800px) {
		
		.videos {
			grid-template-columns: repeat(2, 1fr);
		}
		
			.videos > *:nth-child(even) {
				margin-top: var(--gap-column);
			}
		
	}
	
.youtube-facade {
  cursor: pointer;
  position: relative;
  width: 100%;
	height: 0;
  padding-top: 56.25%; /* 16:9 */
	overflow: hidden;
	vertical-align: bottom;
}

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

.youtube-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  background: url(../images/youtube.svg) no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/* @end */

/* @group Gallery & Splide */
	
/* @group Gallery */

	.gallery .splide {
		position: relative;
	}
	
	.splide__slide img {
	  width: 100%;
	  height: auto;
	}

	.gallery .splide__arrow {
		position: absolute;
		z-index: 1;
		top: 50%;
		color: var(--color-primary);
		transition: color .15s ease-in-out 0s;
	}
	
	.gallery .splide__arrow:hover {
		cursor: pointer;
		color: var(--color-highlight);
	}
	
	.gallery .splide__arrow--prev {
		left: 0;
		transform: translate(-100%, -50%);
	}

	.gallery .splide__arrow--next {
		right: 0;
		transform: translate(100%, -50%);
	}
	
		.gallery .splide__arrow svg {
			width: 100%;
			height: auto;
		}

	@media (max-width: 999px) {
		
		.gallery {
			margin-bottom: 3rem;
		}
		
			.gallery .splide__arrow {
				width: 7vw;
				padding: 2vw;
			}
		
	}
	
	@media (min-width: 1000px) {
		
		.gallery {
			width: 60vh;
			margin-bottom: 10vh;
			margin-inline: auto;
			transition: all .3s ease-in-out 0s;
		}
		
			.gallery .splide__arrow {
				width: 3.5rem;
				padding: 1rem;
			}
		
	}

/* @end */

/* @group Thumbnails */

.thumbnails {
  display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 3rem), 1fr));
	gap: 1rem;
}

.thumbnail {
  
}

.thumbnail:hover {
	cursor: pointer;
}

	.thumbnail img {
	  width: 100%;
	  height: auto;
		transition: all .15s ease-in-out 0s;
	}

.thumbnails.is-active {
	border: 1px solid var(--color-highlight);
}

	.thumbnail.is-active img {
		transform: scale(1.25);
	}

/* @end */	

/* @end */

/* @group Scores & Score */

.scores {
	display: grid;
	column-gap: var(--gap-column);
	row-gap: 3rem;
}

	@media (min-width: 600px) {
			
		.scores {
			grid-template-columns: repeat(2, 1fr);
		}
		
			.scores > *:nth-child(2n) {
				margin-top: var(--gap-column);
			}
		
	}
		
.score {
	display: flex;
	align-items: center;
	column-gap: .5rem;
	margin-left: -.5rem;
}

.score:has(+ *) {
	margin-bottom: 1rem;
}

	.score__title {
		font-weight: var(--font-weight-bold);
	}

/* @end */

/* @group Audio-player */

.audio-player {
	position: relative;
	width: 3rem;
	height: 3rem;
	border: .1rem solid var(--color-white);
	border-radius: 50%;
}

.scores .audio-player {
	border-color: var(--color-primary);
}

	.audio-player svg {
		width: 100%;
		height: auto;
	}

.progress-circle,
.play-button {
	width: 100%;
	height: 100%;
}

.progress-circle {
  transform: rotate(-90deg);
}
	
	.progress-circle .background {
	  fill: var(--color-primary);
	}
	
	.scores .progress-circle .background {
	  fill: transparent;
	}
	
	.progress-circle .progress {
		fill: var(--color-primary);
	  stroke: var(--color-highlight);
	  stroke-width: 10;
	  stroke-dasharray: 283;
	  stroke-dashoffset: 283;
	  transition: stroke-dashoffset 0.25s;
	}
	
	.progress-circle .progress {
		fill: transparent;
	}

.play-button {
	position: absolute;
  top: 0;
  left: 0;
	color: var(--color-white);
	vertical-align: bottom;
	transition: color .15s ease-in-out 0s;
}

.scores .play-button {
	color: var(--color-primary);
}

.scores .play-button:hover {
	color: var(--color-highlight);
}

.play-button:hover {
	cursor: pointer;
}

/* @end */

/* @group Films & Film */

.films {
	display: grid;
	column-gap: var(--gap-column);
	row-gap: 2rem;
}

	.films img {
		width: 100%;
		height: auto;
		margin-bottom: .25rem;
	}
	
	.films h2 {
		font: var(--font);
		font-weight: var(--font-weight-bold);
	}
	
	.films p:has(+ *) {
		margin-bottom: .25em;
	}
	
	.films p:has(+ h2) {
		margin-bottom: unset;
	}

	.films p + h2 {
		margin-top: unset;
	}
	
	@media (min-width: 800px) {
		
		.films {
			grid-template-columns: repeat(2, 1fr);
		}
		
			.films > *:nth-child(even) {
				margin-top: var(--gap-column);
			}
		
	}
	
	.main .film ul:not([class]) li {
		column-gap: .5em;
	}
		
		.main .film ul:not([class]) li::before {
			content: "";
			flex: 0 0 1.4em;
		  width: 1.4em;
		  height: 1.4em;
			padding-right: unset;
			-webkit-mask-image: url(../images/award.svg);
		  mask-image: url(../images/award.svg);
			-webkit-mask-size: cover;
		  mask-size: cover;
			background-color: currentColor;
		}

/* @end */

/* @group Footer */

.footer {
	
}

	.footer .colophon {
		color: var(--color-primary);
	}

	@media (min-width: 1000px) {
		
			.footer .colophon {
				display: none;
			}
		
	}

/* @end */