/***GLOBAL VARIABLES
*****************************************************/
:root {
    /***TEXT***/
    /*--fontSize: clamp(1rem, 1.25vw, 1.5rem);*/
    --fontSizeSmall: 1rem;
    --fontSizeLarge: 1.75rem;
    --fontSizeXLarge: 3.5rem;
    --fontWeight: 400;
    --letterSpacing: 0.03em;
    --wordSpacing: 0em;
    --lineHeightNatural: 1.2;
    --lineHeightLow: 1;
    /***FONTS***/
    --Suisse_Semi_Bold: "Suisse Semi Bold", Arial, Helvetica, sans-serif;
    /***SPACES***/
    --spaceY: calc(var(--fontSizeSmall) * 1);
    --spaceX: calc(var(--fontSizeSmall) * 1.2);
    --bodySpaces: 0;
    --rowGutterSmall: calc(var(--fontSizeSmall) * var(--lineHeightNatural));
    --rowGutterMedium: calc(var(--fontSizeMedium) * var(--lineHeightNatural));
    --rowGutterLarge: calc(var(--fontSizeLarge) * var(--lineHeightLow));
    --rowGutterBetweenSections: calc(var(--rowGutterSmall) * 3);
    --colGutter: calc(var(--spaceX)*1);
    --mainTopSpace: 0;
    --mainBottomSpace: calc(var(--rowGutterLarge) * 3);
    /***SIZES***/
    --headerHeight: calc(var(--spaceY)*2 + var(--rowGutterLarge));
    --footerHeight: calc(var(--spaceY)*2 + var(--rowGutterSmall));
    --mainWidth: 1800px;
    --mainHeight: calc(100vh - var(--headerHeight) - var(--footerHeight));
    --mainWidth: 100%;
    --colWidth: calc((100vw - var(--spaceX)*2 - var(--colGutter)*var(--gridGutters)) / var(--gridColumns));
    /***GRIDS***/
    --gridColumns: 8;
    --gridGutters: calc(var(--gridColumns) - 1);
    --gridTemplate: repeat(var(--gridColumns), 1fr);
    --gridRowGap: var(--rowGutterSmall);
    --gridColGap: var(--colGutter);
    --gridGap: var(--gridRowGap) var(--gridColGap);
    /***COLOR***/
    --paletteWhite: #FFFFFF;
    --paletteGray: #999999;
    --paletteBlack: #000000;
    --paletteViolet: #f5f5ff;
    --paletteAlpha: transparent;
    --backColor: var(--paletteWhite);
    --textColor: var(--paletteBlack);
    --linkColor: var(--paletteBlack);
    --hoverColor: var(--paletteViolet);
    /***DECORATION***/
    --hoverOpacity: 0.5;
    --linkDeco: underline;
    --borderWidth: 0.1rem;
    --borderLine: var(--borderWidth) solid var(--textColor);
    /***TRANSITION***/
    --transitionDuration: 0.15s;
    --transitionDurationSlow: 0.3s;
    --transitionDurationXSlow: 0.6s;
}
  
/***FONTS
*****************************************************/
* {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
	text-size-adjust: 100%;
    -webkit-font-smoothing: smooth;
	-moz-font-smoothing: smooth;
    -moz-osx-font-smoothing: smooth;
	-ms-font-smoothing: smooth;
    -o-font-smoothing: smooth;
    text-rendering: geometricPrecision;
}
@font-face {
    font-family: "Suisse Semi Bold";
    src: url("https://melizablack.com//assets/SuisseSemiBold.woff") format('woff');
    font-display: block;
}
.font_size_small {
    font-size: var(--fontSizeSmall);
    letter-spacing: var(--letterSpacing);
    line-height: var(--lineHeightNatural);
}
.font_size_large {
    font-size: var(--fontSizeLarge);
    /*letter-spacing: var(--letterSpacing);*/
    line-height: var(--lineHeightLow);
}
.uppercase {
    text-transform: uppercase;
}
.capitalize {
    text-transform: capitalize;
}
.lowercase {
    text-transform: lowercase;
}

/***RESET
*****************************************************/
::-webkit-scrollbar {
    display: none;
}
::-webkit-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::-moz-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::-ms-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::-o-selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
::selection {
    color: var(--backColor);
    background-color: var(--textColor);
}
img::-webkit-selectio {
    color: transparent;
    background-color: transparent;
}
img::-moz-selection {
    color: transparent;
    background-color: transparent;
}
img::-ms-selection {
    color: transparent;
    background-color: transparent;
}
img::-o-selection {
    color: transparent;
    background-color: transparent;
}
img::selection {
    color: transparent;
    background-color: transparent;
}
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    /*color-scheme: light dark;*/
    scroll-behavior: smooth;
}
body {
    position: relative;
    margin: var(--bodySpaces);
    color: var(--textColor);
    background: var(--backColor);
    font-family: var(--Suisse_Semi_Bold);
    font-size: var(--fontSizeSmall);
    font-weight: 600;
    line-height: var(--lineHeightNatural);
    overflow-y: hidden;
}
body#index {
    background: var(--paletteViolet);
}

ul {
    display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}
li {
  display: inline;
}
a {	
    color: var(--linkColor);
    text-decoration: none;
}
h1, h2, h3, h4, h5 {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding: 0;
    font-style: normal;
    font-weight: 400;
}
h1, h2 {
    font-size: var(--fontSizeLarge);
}
h3, h4 {
    font-size: var(--fontSizeSmall);
}
p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
}
span {
    display: inline;
}
form, input, textarea, submit,
iframe, embed, audio {
    margin: 0;
    padding: 0;
    color: var(--textColor);
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
    font-size: inherit;
}
input:focus, textarea:focus {
    outline: none;
}
input[name="submit"] {
	cursor: pointer;
}
:-webkit-input-placeholder {
	/*internet explorer*/
	color: var(--textColor);
}
::-moz-input-placeholder {
	/*mozilla edge*/
    color: var(--textColor);
}
::-ms-input-placeholder {
	/*microsoft edge*/
    color: var(--textColor);
}
::-o-input-placeholder {
	/*microsoft edge*/
    color: var(--textColor);
}
::placeholder {
	/*chrome, firefox, opera, safari*/
    color: var(--textColor);
}
img, video {
    vertical-align: middle;
}
img.lazy,
video.lazy {
    opacity: 0;
    transition: opacity var(--transitionDuration);
}
img.lazy.loaded,
video.lazy.loaded {
    opacity: 1;
}

/***INTRO
*****************************************************/
.intro {
	position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100vw;
    height: 100vh;
    transition: opacity var(--transitionDurationSlow);
}
.intro:not(.fade) {
	opacity: 1;
}
.intro.fade {
	opacity: 0;
}
.intro_media,
.intro_media .media_item,
.intro_media .media_item img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.intro_media .media_item {
    transition: opacity var(--transitionDuration);
}
.intro_media .media_item:not(.show) {
	opacity: 0;
}
.intro_media .media_item.show {
	opacity: 1;
}
.intro_media .media_item img {
    object-fit: cover;
}
.intro_data {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: var(--spaceY) var(--spaceX);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--fontSizeXLarge);
    line-height: var(--lineHeightLow);
    color: var(--paletteWhite);
    mix-blend-mode: difference;
}

/***HEADER AND MENU
*****************************************************/
header {
    position: fixed;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: var(--gridTemplate);
    column-gap: var(--gridColGap);
    width: 100%;
    min-height: var(--headerHeight);
    padding: var(--spaceY) var(--spaceX);
    font-size: var(--fontSizeLarge);
    line-height: var(--lineHeightLow);
    mix-blend-mode: difference;
}
body#index header h1.site_name {
    grid-column: 1/9;
    color: var(--backColor);
}
body#index header h1.site_name .tagline {
    color: var(--backColor);
}
body#project header h1.site_name {
    grid-column: 1/4;
}
header .project_name {
     grid-column: 4/9;
     color: var(--backColor);
}
header a {
    opacity: 1;
    text-decoration: none;
    transition-property: opacity;
    transition-duration: var(--transitionDuration);
    color: var(--backColor);
}
header a:hover {
    opacity: var(--hoverOpacity);
}
/*
nav.menu {
    display: inherit;
}
nav.menu ul {
    display: flex;
    justify-content: end;
    gap: var(--colGutter);
}
nav.menu li.menu_item {
    display: inline;
}
nav.menu li.menu_item.active a {
    text-decoration: var(--linkDeco);
}
*/

/***MAIN TEMPLATE
*****************************************************/
main.content {
    position: relative;
    margin-inline: auto;
    /*margin-block: var(--mainTopSpace) var(--mainBottomSpace);*/
    max-width: var(--mainWidth);
    min-height: var(--mainHeight);   
}
section:not(:first-child) {
    margin-top: var(--rowGutterBetweenSections);
}

/***TEXT***/
/*
.text.font_size_small,
.text .font_size_small {
    font-size: var(--fontSizeSmall);
    line-height: var(--lineHeightSmall);
}
.text.font_size_medium,
.text .font_size_medium {
    font-size: var(--fontSizeMedium);
    line-height: var(--lineHeightNatural);
}
.text.font_size_large,
.text .font_size_large {
    font-size: var(--fontSizeLarge);
    line-height: var(--lineHeightLow);
}
*/

/***REEL***/
.reel {
    display: flex;
    overflow-x: hidden;
    box-sizing: border-box;
}
body#index .reel {
    height: 100vh;
    padding-block: 25vh;
}
body#project .reel {
    height: 100vh;
    transition-property: transform;
    transition-duration: var(--transitionDurationSlow);
}
/*
body#project .reel.pushed {

}
*/
.reel .reel_content {
    display: flex;
    flex-wrap: nowrap;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
body#index .reel .reel_content {
    align-items: end;
}
body#project .reel .reel_content {
    align-items: center;
}
body#index .reel .reel_content .content_item a .item_media {
    pointer-events: none;
}
body#project .reel .reel_content .content_item {
    pointer-events: none;
}
body#index .reel .reel_content .content_item.ratio_16_9:not(.full) {
    height: 75%;
}
body#project .reel .reel_content .content_item.ratio_16_9:not(.full) {
    height: calc(100% - var(--headerHeight)*2);
}
body#index .reel .reel_content .content_item.ratio_4_5:not(.full) {
    height: 87.5%;
}
body#project .reel .reel_content .content_item.ratio_4_5:not(.full) {
    height: calc(100% - var(--headerHeight)*2);
}
body#index .reel .reel_content .content_item.ratio_3_2:not(.full) {
    height: 62.5%;
}
body#project .reel .reel_content .content_item.ratio_3_2:not(.full) {
    height: calc(100% - var(--headerHeight)*4);
}
body#index .reel .reel_content .content_item.ratio_1_1:not(.full) {
    height: 80%;
}
body#project .reel .reel_content .content_item.ratio_1_1:not(.full) {
    height: calc(100% - var(--headerHeight)*2);
}
.reel .reel_content .content_item.ratio_16_9.full,
.reel .reel_content .content_item.ratio_4_5.full,
.reel .reel_content .content_item.ratio_3_2_.full,
.reel .reel_content .content_item.ratio_1_1.full {
    height: 100%;
}
.reel_content .content_item .item_media {
    display: flex;
    justify-content: start;
    align-items: end;
    height: 100%;
}
.reel_content .content_item.ratio_16_9:not(.full) .item_media,
.reel_content .content_item.ratio_16_9.full .item_media {
    aspect-ratio: 16/9;
}
.reel_content .content_item.ratio_4_5:not(.full) .item_media,
.reel_content .content_item.ratio_4_5.full .item_media {
    aspect-ratio: 4/5;
}
.reel_content .content_item.ratio_3_2:not(.full) .item_media,
.reel_content .content_item.ratio_3_2.full .item_media {
    aspect-ratio: 3/2;
}
.reel_content .content_item.ratio_1_1:not(.full) .item_media,
.reel_content .content_item.ratio_1_1.full .item_media {
    aspect-ratio: 1/1;
}

.reel_content .content_item .item_media img,
.reel_content .content_item .item_media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel_content .content_item .item_media iframe {
    width: 100%;
    height: 100%;
  }
.reel_content .content_item .item_data {
    position: absolute;
    padding-top: var(--spaceY);
    font-size: var(--fontSizeSmall);
}
.reel_content .content_item a .item_data {
    opacity: 1;
    transition-property: opacity;
    transition-duration: var(--transitionDuration);
}
.reel_content .content_item a:hover .item_data {
    opacity: var(--hoverOpacity);
}

/***DATA***/
section.data {
    position: fixed;
    bottom: 0;
    display: grid;
    grid-template-columns: var(--gridTemplate);
    grid-gap: var(--gridGap);
    padding: calc(var(--footerHeight)*3) var(--spaceX) var(--spaceY);
    background: var(--backColor);
    transition-property: transform;
    transition-duration: var(--transitionDurationSlow);
}
section.data:not(.pusher) {
    transform: translateY(100%);
}
section.data.pusher {
    transform: translateY(0);
}
section.data .data_sheet {
    grid-column: 1/3;
    display: flex;
    flex-direction: column;
    row-gap: var(--rowGutterSmall);
}
section.data .data_text {
    grid-column: 3/9;
    column-count: 3;
    column-gap: var(--colGutter);
}

/***FOOTER***/
footer {
    position: fixed;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: var(--gridTemplate);
    column-gap: var(--gridColGap);
    align-items: end;
    width: 100%;
    min-height: var(--headerHeight);
    padding: var(--spaceY) var(--spaceX);
    mix-blend-mode: difference;
    transition-property: transform;
    transition-duration: var(--transitionDurationSlow);
}
footer .footer_data {
    grid-column: 1/4;
    font-size: var(--fontSizeSmall);
    letter-spacing: var(--letterSpacing);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--backColor);
}
footer .footer_data span:not(:first-child) {
    content: ". ";
}
footer .footer_data_button {
    grid-column: 4/7;
    font-size: var(--fontSizeLarge);
    line-height: var(--lineHeightLow);
    cursor: pointer;
    transition-property: opacity;
    transition-duration: var(--transitionDuration);
    color: var(--backColor);
}
footer .footer_data_button:hover {
    opacity: var(--hoverOpacity);
}
footer .footer_contact_button {
    grid-column: 7/9;
    font-size: var(--fontSizeLarge);
    text-align: right;
    line-height: var(--lineHeightLow);
    color: var(--backColor);
}
footer a {	
    opacity: 1;
    text-decoration: none;
    transition-property: opacity;
    transition-duration: var(--transitionDuration);
    color: var(--backColor);
}
footer a:hover {
    opacity: var(--hoverOpacity);
}

/***INFO
*****************************************************/
body#info {
    color: var(--paletteWhite);
    background: var(--paletteBlack);
}
body#info header {
    background: var(--paletteBlack);
}
body#info a {
    color: var(--paletteWhite);
}