@font-face {
  font-family: "R-sans-Heavy";
  src: url('../type/R-sans-Heavy.woff2') format('woff2'), 
  url('../type/R-sans-Heavy.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "AF-serif-Medium";
  src: url('../type/AF-serif-Medium.woff2') format('woff2'), 
  url('../type/AF-serif-Medium.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "AF-serif-Light";
  src: url('../type/AF-serif-Light.woff2') format('woff2'), 
  url('../type/AF-serif-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "AF-serif-Light";
  src: url('../type/AF-serif-LightItalic.woff2') format('woff2'), 
  url('../type/AF-serif-LightItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}


img[data-sizes="auto"] { display: block; min-width: auto; }

.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 200ms;
}

video.lazyload,
video.lazyloading {
  opacity: 1; 
}

video.lazyloaded {
  transition: opacity 200ms;
}

::-moz-selection { color: #fff; background: #000; }
::selection { color: #fff; background: #000; }

*,
*:before,
*:after { box-sizing: inherit; }

body { margin:0; padding: 0; background: #F2EEED; color: #333333; }
html { -ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; -webkit-tap-highlight-color:transparent; box-sizing: border-box; }

body, html { 
  font-family: "AF-serif-Light", "Helvetica Neue", Arial, sans-serif; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

a { transition: all 0.2s ease-in-out; }
 
h1, h2, h3, h4, h5, p { padding: 0; margin: 0; font-weight: 400; font-size: normal; }

p { font-size: 24px; line-height: 32px; letter-spacing: -1px; }
p.tiny, .tiny p { font-size: 16px; line-height: 23px; letter-spacing: -1px; }

p b {  font-family: "AF-serif-Medium", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-style: normal; }

h1, .top-style { font-size: 38px; line-height: 40px; letter-spacing: -1px; }
h1 span, .top-style span { font-size: 37px; line-height: 38px; font-family: "R-sans-Heavy", "Helvetica Neue", Arial, sans-serif; letter-spacing: -1px; display: block; }
h2 { font-size: 24px; line-height: 32px; letter-spacing: -.6px; }

.light-title { font-size: 24px; line-height: 32px; letter-spacing: -.6px; }
.heavy-title { font-size: 24px; line-height: 30px; font-family: "R-sans-Heavy", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.6px; }

.top-text.heavy {
  font-family: "AF-serif-Medium", "Helvetica Neue", Arial, sans-serif; 
}

.flexy {
  display: flex;
  align-items: center;
}

.langcol a {
  color: #b6b6b6 !important;
}

.interactive-div {
    position: relative;
    width: 100%;
    height: 100vh;  /* full height of the viewport */
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    
}

.interactive-div .top-text {
    padding-top: 86px;
    max-width: 706px;
}

.interactive-div .bottom-text {
    margin-bottom: 38px;
    max-width: 948px;
}

.interactive-div .center-image {
    max-width: 250px;
    height: auto;
    transition: transform 0.1s ease;
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-container {
  position: absolute;
  width: 250px;
  height: auto;
  margin: 0 auto;
  display: none;
  top: 50%;  
  left: 50%; 
  transform: translate(-50%, -50%); 
  opacity: 0;  
  transition: opacity 0.8s ease-in-out, transform 0.5s ease-in-out; 
}

.eyes {
    position: relative;
    height: auto;
    width: 250px;
    top: 5px;
    left: 0%;
}

.row.line,
.line {
  width: 100%;
  height: .5px;
  background: #878584;
} 

#home-latest .heavy-title,
#home-latest .light-title { padding: 60px 0 28px; }

#home-latest .light-title { text-align: right; }

#home-latest .light-title a {
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

#home-latest .light-title a:hover {
  color: #555;
}

.projects {
/*   display: flex; */
}

.project-card {
  flex: 1; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  margin-top: 20px;
  text-align: center;
}

.project-card.L {
  height: 460px;
}

.project-card.L .project-image {
  max-width: 215px;
  padding: 12px;
}

.project-card.L h2,
.project-card.L .snippet,
.project-card.L .author {
  max-width: 80%;
}

.project-card.M {
  height: 340px;
}

.carousel-cell a,
.carousel-cell a h2,
.project-highlight a,
div.projects a {
  text-decoration: none;
}

.carousel-cell a h2,
.project-highlight a h2,
.projects a .project-card h2 {
  color: #000;
}

.project-highlight a .snippet {
  color: #4C4C4C;
}

/* .carousel-horizontal .carousel-cell:hover a h2 {
  color: blue;
} */

.carousel-horizontal .carousel-cell a .project-card,
.project-highlight a .highlight-content,
.projects .project-card {
  transition: all 0.2s ease-in-out;
}

.carousel-horizontal .carousel-cell:hover a .project-card,
.project-highlight:hover a .highlight-content,
.projects .project-card:hover {
/*   background: color(srgb 0.298 0.298 0.298 / 0.05) */
background: #F7F5F4
}

.project-card.M .top-notice {
  margin-top: 20px;
}

.project-card.S {
  height: 300px;
  text-align: center;
  padding: 30px;
  background: #F7F5F4 !important
}

.carousel {
  width: 100%;
  margin: auto;
}
.carousel .carousel-cell {
  width: 100%;
  height: auto;
  margin-right: 10px;
}

.carousel-horizontal .carousel-cell {
  width: calc((100% - 60px) / 4);
  margin-right: 20px;
}


.project-card .mini-title {
  padding-bottom: 4px;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.2px;
  color: #808080;
  text-transform: uppercase;
}

.project-card.M .project-image {
  max-width: 200px;
  max-height: 150px;
  padding: 6px 18px;
}

.project-card.M h2,
.project-card.M .snippet,
.project-card.M .author {
  max-width: 90%;
}

.project-card.L h2 {
  font-size: 24px;
  line-height: 26px;
  letter-spacing: -0.3px;
  font-family: "AF-serif-Medium", "Helvetica Neue", Arial, sans-serif; 
}

.highlight-content h2 {
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -0.3px;
  font-family: "AF-serif-Medium", "Helvetica Neue", Arial, sans-serif; 
}

.project-card.M h2,
.project-card.S h2 {
  font-size: 20px;
  line-height: 22px;
  letter-spacing: -0.3px;
  font-family: "AF-serif-Medium", "Helvetica Neue", Arial, sans-serif; 
  padding-bottom: 6px;
}



.project-card .snippet {
  letter-spacing: -0.3px;
  color: #4C4C4C;
  padding-top: 9px;
  padding-bottom: 10px;

}

.project-card.L .snippet {
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 22px;
  color: #4C4C4C;
  padding-bottom: 6px;
  padding-bottom: 8px
}

.project-card.M .snippet {
  font-size: 15px;
  letter-spacing: -0.3px;
  line-height: 19px;
  color: #4C4C4C;
}

.project-card .author,
.highlight-content .author {
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.2px;
  color: #808080;
  text-transform: uppercase;
  bottom: 20px;
  position: absolute;
}

.project-card.M .author {
  bottom: 12px !important;
}


.project-card .author span,
.highlight-content .author span {
  text-transform: lowercase !important;
  letter-spacing: 0.1px;
  font-style: italic;
}

.highlight-content {
  text-align: center;
  padding: 20px 30px;
  align-items: center;
  
  justify-content: center;
  display: flex;  
  flex-direction: column;

  background: #fff;
}

.top-notice {
  width: 100%;
  position: absolute;
  top: 20px;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.2px;
  color: #333333;
  text-transform: uppercase;
}

.highlight-content h2 {
  padding-bottom: 24px;
}

.highlight-content .author {
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.2px;
  color: #808080;
  text-transform: uppercase;
}

.project-highlight {
  background: #fff;
  align-items: center;
}

.project-highlight [class^="col-"] {
  margin: 0;
  padding: 0;
}

.highlight-content {
    border-top: 0.5px solid #878584;
    border-left: 0.5px solid #878584;
    border-bottom: 0.5px solid #878584;
    border-right: none;
}

.highlight-image {
    border-top: 0.5px solid #878584;
    border-right: 0.5px solid #878584;
    border-bottom: 0.5px solid #878584;
    border-left: none;
}

.highlight-image,
.highlight-content {
  height: 560px;
}

.highlight-image {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.highlight-image img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover; /* Ensure the image covers the div */
  object-position: center; /* Center the image */
  display: block; /* Remove any inline spacing */
}



.project-card {
  border: .5px solid #878584;
  background: #FFFFFF;
}

#home-team {
  margin-bottom: 20px;
}

#home-team .top-style {
  text-align: center;
  padding: 150px 0 60px;
}

#about-intro .heavy-title {
  padding-bottom: 14px;
}

#about-intro a {
  text-decoration: none;
  color: #333333;
}

#about-intro a:hover {
  color: #555;
}

#about-services .heavy-title {
  padding: 80px 0 10px;
}

#home-team .btn {
  margin-top: 40px;
}

#opening-section {
  margin: 120px 0 80px;
  text-align: center;
}

.projects .filtro {
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.projects .filtro[data-category] {
    display: block; 
}

.no-link:hover {
  background: #fff !important;
  cursor: not-allowed;
}

.projects ul.filters {
  margin: 80px 0 10px;
  padding: 0;
  list-style: none;
  display: flex; /* Aligns items horizontally */
}

.projects ul.filters:hover {
  cursor: pointer;
}

.projects ul.filters li {
  text-align: left;
  padding-right: 22px;
}

.projects ul.filters li:last-child {
  padding-right: 0; /* Removes padding from the last item */
}

.projects ul.filters li.active {
  font-family: "AF-serif-Medium", "Helvetica Neue", Arial, sans-serif; 
}

#about-team .top-style {
  text-align: center;
  padding: 140px 0 60px;
}

#about-team .heavy-title {
  padding: 18px 0;
}

#about-team .btn {
  margin-top: 40px
}

#about-values {
  margin: 120px 0 0; 
}

#about-values .heavy-title {
  padding: 60px 0 10px;
}

#about-partners {
  text-align: center;
  padding: 140px 0 30px; 
}

#bio-intro img {
    width: 100%;
}

#bio-intro p.bigger {
  padding-bottom: 32px; 
}

#bio-intro p.tiny {
  padding-top: 32px;
}

#bio-projects {
  margin: 60px 0 30px;
}

#bio-links {
  padding: 80px 0;
}


.social-icons {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin-top: 10px;
}

.social-icons li {
    display: inline-block;
}

.icon {
    width: 27px;
    height: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: #4C4C4C;
    font-size: 22px;
    text-decoration: none;
}

.icon:hover {
    opacity: 0.8;
}

.icon.goodreads {
  font-size: 18px;
  justify-content: normal !important;
}

.fa-goodreads {
  margin-right: 6px
}

.logos {
/*     display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-top: 40px */
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-top: 40px;
    flex-wrap: wrap; 
    
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    border: .5px solid #878584;
    background-color: white;
    padding: 20px;
    min-height: 140px;
    
    flex: 1 1 auto;
    max-width: fit-content;
    text-align: center; 
}

.logo img {
    max-width: 130px;
    max-height: 100px;
}

footer {
  margin-top: 120px
}

footer .top {
  padding-top: 20px
}

footer .phrase {
  letter-spacing: -0.3px;
  font-size: 24px;
  line-height: 25px;
}

footer .social-icons {
  float: right;
  margin-top: 0;
}

footer .bottom {
  padding: 50px 0 14px;
}

footer .privacy {
  text-align: right;
}

footer .privacy a {
  color: #333;
  text-decoration: none;
}