@font-face {
  font-family: 'SuisseIntl';
  src: url('fonts/SuisseIntl-Book.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('fonts/SuisseIntl-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('fonts/SuisseIntl-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('fonts/SuisseIntl-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: 'SuisseIntl', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  --font-weight: 500;
  --back-color: rgba(244,241,238,0.9);
  --text-color: #5C4E52;
  --border-radius: 1px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 80%;
}

* {
  box-sizing: border-box!important;
}
body {
  height: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--font-weight);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; text-decoration-skip-ink: auto; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 { font-size: 1rem; font-weight: var(--font-weight);}

.site-title {
    margin: 0;
    text-align: center;
}

a {
    color: var(--text-color);

    text-decoration-thickness: 0.085rem;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.125rem  ;
}


main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;

}
.studio-info {
    padding: 0.5rem;
    margin: 0 auto;
    top: 0;
    left: 0;
  width: 100%;
    position: fixed;
    z-index: 999;
    mix-blend-mode: luminosity;
    display: flex;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;

}

.toggle-about {
  margin: 0 auto;
  color: var(--text-color);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  border-radius: var(--border-radius);
  background-color: var(--back-color);
  cursor: pointer;
  outline: none;
  border: none;

}


.info-inner {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--back-color);
    color: var(--text-color);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    border-radius: var(--border-radius);
}

.info-inner p {
    margin-bottom: 0;
}

.about {
  padding: 0.25rem;
  margin: 0 auto;
  width: 100%;
  display: none; /* hidden by default, toggled via .open */
  background-color: var(--back-color);
  color: var(--text-color);
}

.about.open {
  display: flex;
  flex-direction: row;
}

.about-left, .about-right {
  flex: 1;
  padding-left: 0.5rem;
}



.works {
  flex: 1;
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #000;
  position: relative;
}

.works-left {
  flex: 1;
  position: relative;
}
.works-right {
  flex: 1;
  position: relative;
}

/* Generated project items fill the work column */
.project-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* caption at bottom */
  align-items: stretch;
  background: transparent;
}
.project-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: pointer;
}
.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 420ms ease;
}
.project-caption {
  position: relative;
  z-index: 4;
  padding: 0.5rem;
      mix-blend-mode: luminosity;
}

.project-caption ul {
  padding: 0;
  border-radius: var(--border-radius);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  list-style-type: none;
    background-color: var(--text-color);
    color: var(--back-color);
    width: fit-content;}

.works-column-generated .project-item { pointer-events: none; }
.works-column-generated .project-item.active { pointer-events: auto; }