@import "vars.css";
@import "reset.css";
@import "hamburgers.css";
@import "helper.css";
@import "swiper.css";
@import "locomotive-scroll.css";
@import "cookies.css";

/*
font-family: 'Fanwood Text', serif;
font-family: 'Playfair Display', serif;
font-family: 'Source Sans Pro', sans-serif;
*/
@font-face {
  font-family: 'Fanwood Text';
  src: url('fonts/subset-FanwoodText.woff2') format('woff2'),
      url('fonts/subset-FanwoodText.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fanwood Text';
  src: url('fonts/subset-FanwoodText-Italic.woff2') format('woff2'),
      url('fonts/subset-FanwoodText-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}



html { font-size: 62.5%; }
body { 
  min-height: 100vh; background-color: var(--white); overflow-x: hidden;
  font-family: 'Fanwood Text', serif; font-size: 2.1rem; line-height: 1.285; font-weight: 400; color: var(--grey);   
}
h1, .h1, h2, .h2, h3, .h3, h5, .h5 { font-family: 'Playfair Display', serif; font-weight: 500; color: var(--gold); }
h4, .h4 { font-family: 'Source Sans Pro', sans-serif; }

h1, .h1 { font-size: 6.4rem; line-height: 1.1; }
h2, .h2 { font-size: 4.4rem; line-height: 1.1; }
h3, .h3 { font-size: 3.2rem; line-height: 1.1; }
h4, .h4 { font-size: 2.1rem; line-height: 1.285; margin-bottom: 50px; color: var(--greyLight); }
h5, .h5 { font-size: 2.4rem; line-height: 1.1; }


@media only screen and (max-width: 1000px) {
  body { font-size: 1.8rem; }
  h1, .h1 { font-size: 3.6rem; }
  h2, .h2 { font-size: 3.0rem; }
  h3, .h3 { font-size: 2.4rem; }
  h4, .h4 { font-size: 1.6rem; }
  h5, .h5 { font-size: 1.8rem; }
}
@media only screen and (max-width: 800px) {
  h4, .h4 { margin-bottom: 25px; }
}

.more { position: relative; display: inline-block; font-family: 'Source Sans Pro', sans-serif; font-size: 1.6rem; font-weight: 700; text-decoration: none; color: var(--white); letter-spacing: 0.1em; }
.more:after { content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--white) }
::placeholder { color: var(--white); }
.anchor { display: block; margin-top: 0; }


.swiper-pagination { display: flex; align-items: center; justify-content: center; }
.swiper-pagination-bullet { width: calc(76/1088 * 100% ); height: 4px; border-radius: 0; background: #11161C; opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1; }

header, footer, section, .dropdown-content { padding-left: calc(139/1366 * 100%); padding-right: calc(139/1366 * 100%); }
footer, section { padding-top: 50px; padding-bottom: 100px; }

@media only screen and (max-width: 1000px) {
  header, footer, section, .dropdown-content { padding-left: 5%; padding-right: 5%; }
}
@media only screen and (max-width: 800px) {
  footer, section { padding-top: 25px; padding-bottom: 50px; }
}

header { position: fixed; width: 100%; height: 108px; top: 0; left: 0; z-index: 999; display: flex; background: rgba(0,0,0,0.15); }

nav { width: 100%; display: flex; }
nav a { 
  display: flex; align-items: center; height: 100%; padding: 0 5px; 
  font-family: 'Source Sans Pro', sans-serif; text-decoration: none; color: var(--white); letter-spacing: 0.1em; 
}
.logo { width: 50%; padding: 15px 0; }
.lang { margin-left: auto; }
.main-nav { position: relative; margin-right: 20px; white-space: nowrap; }
.main-nav:after {
  content: ""; display: block; width: 100%; height: 6px; background: var(--gold);
  position: absolute; left: 0; bottom: 30%; opacity: 0;
}
.main-nav.active:after, .main-nav:hover:after, .dropdown:hover .main-nav:after { opacity: 1; }
.lang:hover { color: var(--gold); }
.dropdown-content {
  position: absolute; left: 0; top: 100%; width: 100%; padding-top: 10vh; padding-bottom: 10vh;
  display: flex; align-items: flex-start; background-color: rgba(17, 22, 28, 0.89); visibility: hidden; opacity: 0;
}
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; }
.dropdown-headline, .dropdown-links { width: 50%; }
.dropdown-headline * { font-family: 'Playfair Display', serif; color: rgba(255, 255, 255, 0.37); }
.dropdown-headline em { display: block; margin-top: 10px; font-size: 1.8rem; letter-spacing: 0.05em; }
.dropdown-links > * + * { margin-top: 20px; } 

.nav-mobile { display: none; }

@media only screen and (max-width: 1000px) {

  .nav-desktop { display: none; }
  .nav-mobile { display: flex; justify-content: space-between; align-items: center; }
  nav a { padding: 0; }
  .menu { 
    position: absolute; left: 0; top: 100%; padding: 0 5% 5vh 5%; width: 100%; 
    display: flex; flex-direction: column; align-items: flex-start;
    opacity: 0; visibility: hidden; transition: opacity 0.25s;
    /*background: rgba(0,0,0,0.1);*/
    background: rgba(0,0,0,0.89);
  }
  .is-open {
    opacity: 1; visibility: visible; transition: opacity 0.25s;
  }
  .main-nav, .lang { margin-top: 15px; margin-left: 0; margin-right: 0; }  
  .main-nav:after { bottom: -3px; }
  .sub-nav { font-size: 1.6rem; margin-top: 10px; }
  .sub-nav.inset { margin-left: 1em; }
  .hamburger { display: block; padding: 0; height: 24px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after, .hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after 
  { background-color: var(--white); }
  
}


.hero { 
  position: relative; display: flex; align-items: flex-end; min-height: 100vh;
  background-position: center; background-repeat: no-repeat; background-size: cover;
}
.hero::before { content: ""; display: block; position: absolute; bottom: 0; left: 0; width: 100%; height: calc(100% - 108px); background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 100%); }
.hero div { position: relative; z-index: 1; }
.hero h3 { font-family: 'Fanwood Text', serif; font-weight: normal; color: var(--white); letter-spacing: 0.05em; padding-top: 10px; }


.services { position: relative; background-position: center; background-repeat: no-repeat; background-size: cover; }
.services:before { content: ""; position: absolute; display: block; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17,22,28,0.4); }
.tabmenu { position: relative; z-index: 1; display: flex; align-items: flex-start; margin-bottom: 100px; }
.tabmenu button { 
  display: block; background-color: transparent; border: 0; outline: 0; cursor: pointer; opacity: 0.5; transition: 0.25s; padding: 0; width: 50%; text-align: left; 
  overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; padding-right: 10px;
}
.tabmenu button h2 { color: var(--greyLight); }
.tabmenu button:hover, .tabmenu button.active { opacity: 1; transition: 0.25s; }
.tabcontent { animation: fadeEffect 1s; }
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
.tabcontent .swiper-slide {
  padding: 50px; background: rgba(17,22,28,0.9); height: auto; margin-bottom: 30px;
}
.tabcontent .swiper-slide h3 { position: relative; min-height: 106px; margin-bottom: 30px; }
.tabcontent .swiper-slide span { position: absolute; left: -30px; font-family: 'Fanwood Text', serif; }
.tabcontent .swiper-slide p { color: var(--white); margin-top: auto; }
.tabcontent .swiper-pagination { bottom: 0; }

@media only screen and (max-width: 1000px) {

  .tabcontent .swiper-slide h3 { min-height: auto; }

}

@media only screen and (max-width: 800px) {

  .tabmenu { margin-bottom: 50px; }
  .tabmenu button h2 { font-size: 2.4rem; }

}


.projects { background: var(--greyLighter); }
.swiper-projects { width: 100vw; position: relative; left: calc(-50vw + 50%); }
.swiper-projects .swiper-slide {
  display: grid;
  grid-template-columns: 50px calc(376/1088 * 100%) calc(662/1088 * 100%);
  grid-template-rows: 50px 1fr 50px;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  width: calc(100% - (278/1366 * 100%)); 
  margin-bottom: 50px;
  /*aspect-ratio: 1088 / 561;*/
  height: auto;
}
.swiper-projects .swiper-slide .img { grid-area: 1 / 1 / 4 / 4; }
.swiper-projects .swiper-slide .img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1088 / 561; max-inline-size: 100%; }
.swiper-projects .swiper-slide .txt {
  grid-area: 2 / 2 / 3 / 3; display: flex; flex-direction: column; align-items: flex-start;
  padding: 50px;  background: rgba(17,22,28,0.9);
}
.swiper-projects .swiper-slide .txt > * { margin-bottom: 30px; }
.swiper-projects .swiper-slide .txt .more { margin-bottom: 0; margin-top: auto; }
.swiper-projects .swiper-slide p { color: var(--white); }

.swiper-button-next { display: block; width: 44px; height: 44px; right: 5%; top: calc(50% + 22px); 
  margin-top: 0; border-top: solid 2px var(--gold); border-right: solid 2px var(--gold); border-radius: 0 5px 0 0;
  transform: rotate(45deg);
}
.swiper-button-prev { width: 44px; height: 44px; left: 5%; top: calc(50% + 22px); 
  margin-top: 0; border-bottom: solid 2px var(--gold); border-left: solid 2px var(--gold); border-radius: 0 5px 0 0;
  transform: rotate(45deg); }
.swiper-button-next:after { display: none; }
.swiper-button-prev:after { display: none; }

@media only screen and (max-width: 1000px) {
  .swiper-projects .swiper-slide {
    grid-template-columns: 50px calc(50% - 25px) calc(50% - 25px);
    grid-template-rows: 50px 1fr 50px;
    width: 90%; 
  }
  .swiper-button-next, .swiper-button-prev { display: none; }
}

@media only screen and (max-width: 800px) {
  .swiper-projects .swiper-slide {
    grid-template-columns: 5% 90% 5%;
    grid-template-rows: 50px 1fr 50px;
    width: 100%; 
  }
}


.whatdowedo { display: flex; justify-content: space-between;; }
.whatdowedo .txt { width: calc(703/1088 * 100%); }
.whatdowedo .txt h3 { font-family: 'Fanwood Text', serif; }
.whatdowedo .txt p { max-width: 50%; }
.whatdowedo .txt > * + * { margin-top: 30px; }
.whatdowedo .numbers { width: calc(290/1088 * 100%); }
.whatdowedo .numbers div { text-align: center; font-family: 'Source Sans Pro', sans-serif; font-size: 1.8rem; font-weight: bold; color: var(--gold); }
.whatdowedo .numbers > * + * { margin-top: 30px; }
.whatdowedo .numbers p { font-family: 'Fanwood Text', serif;  font-weight: normal; font-size: 12rem; line-height: 1; color: var(--blue); margin-bottom: 15px; }

@media only screen and (max-width: 1000px) {
  .whatdowedo .txt { flex: 1; width: auto; padding-right: 50px; }
  .whatdowedo .txt p { max-width: none; }
  .whatdowedo .numbers { width: auto; }
}
@media only screen and (max-width: 800px) {
  .whatdowedo { flex-direction: column; }
  .whatdowedo > * + * { margin-top: 50px; }
  .whatdowedo .txt { flex: auto; width: 100%; padding-right: 0; }
  .whatdowedo .numbers { width: 100%; }
  .whatdowedo .numbers p { font-size: 10rem; }
}

.values { 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  margin-top: 50px;
 }
.value { display: flex; }
.value h3 { font-family: 'Fanwood Text', serif; padding-right: 15px; margin-right: 15px; border-right: 1px solid var(--greyLight); }
.value h5 { margin-bottom: 15px; }

@media only screen and (max-width: 800px) {

  .values { display: block; }
  .values > * + * { margin-top: 50px; }

}

.about-whoarewe h1 { margin-bottom: 30px;}
.about-whoarewe h1 + h5 { font-family: 'Fanwood Text', serif; color: var(--grey); margin-bottom: 30px; max-width: 50%;}
.team { display: flex; justify-content: space-between; }
.team-member { width: calc((100% - 26px) / 3); }
.team-member .txt { padding: 30px calc(46/354 * 100%); }
.team-member .txt > * + * { margin-top: 15px; }
.team-member .txt h4 { font-family: 'Fanwood Text', serif; color: var(--gold); font-weight: normal; font-size: 2.6rem; margin: 0; }
.team-member .txt h5 { color: var(--gold); font-size: 1.4rem; margin-top: 0; }
.team-member .txt p { max-height: 137px; overflow: hidden; }
.team-member .txt .more { color: var(--grey); }
.team-member .txt .more::after { background:var(--grey); }

@media only screen and (max-width: 1000px) {
  .about-whoarewe h1 + h5 { max-width: none;}
}

@media only screen and (max-width: 800px) {
  .team { flex-direction: column; }
  .team-member { width: 100%; }
  .team-member .txt { padding: 30px 0; }
  .team-member .txt p { max-height: 70px; }
  /*.team-member .txt p { max-height: none; }*/
  /*.team-member .txt .more { display: none; }*/
}


footer { background:var(--greyDark); color: var(--white); }
footer a { color: var(--white); }
.contacts { display: flex; }

.form { width: 50%; border-right: 1px solid rgba(255,255,255,0.22); padding-right: calc(100/1088 * 100%); }
form { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
form > * { margin-top: 50px; }
form input { 
  width: calc(50% - 9px); border: 0; border-bottom: 1px solid var(--white); background: transparent; padding-bottom: 10px;
  font-family: 'Fanwood Text', serif; font-size: 2.1rem; line-height: 1.285; font-weight: 400; color: var(--white);
}
form textarea { 
  width: 100%; border: 1px solid var(--white); background: transparent; padding: 15px; height: 160px;
  font-family: 'Fanwood Text', serif; font-size: 2.1rem; line-height: 1.285; font-weight: 400; color: var(--white);
}
form fieldset { width: 100%; border: 0; padding: 0; display: flex; align-items: flex-start; }
.button {
  border: 1px solid var(--white); background: transparent; padding: 20px 50px;
  font-family: 'Source Sans Pro', sans-serif; font-size: 1.8rem; color: var(--white);
  cursor: pointer;
}

.error, .checkmark.error { border-bottom: solid 1px red; border-color: red; }

.container { display: flex; flex: 1; position: relative; padding-left: 40px; cursor: pointer; user-select: none; margin-left: 50px; }
.container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: absolute; top: 0; left: 0; height: 25px; width: 25px; background-color: transparent; border: 1px solid var(--white); }
.checkmark:after { content: ""; position: absolute; display: none; }
.container input:checked ~ .checkmark:after { display: block; }
.container .checkmark:after { left: 9px; top: 5px; width: 5px; height: 10px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); }

.data { display: flex; flex-direction: column; justify-content: space-between; width: 50%; padding-left: calc(100/1088 * 100%); }
.data a { text-decoration: none; }
.data .social { display: flex; align-items: center; }
.data .social a { margin-left: 15px; opacity: 0.25; }

@media only screen and (max-width: 800px) {

  .contacts { flex-direction: column; }
  .form { width: 100%; border-right: 0; padding-right: 0; }
  form input { width: 100%; }
  form fieldset { flex-direction: column; }
  .container { margin-top: 25px; margin-left: 0; align-items: center; }
  .container br { display: none; }
  .data { width: 100%; padding-left: 0; margin-top: 50px; }
  .data > * + * { margin-top: 50px; }

}


.project-img { position: relative; padding: 0; aspect-ratio: 16 / 9; }
.project-img h1 { position: absolute; z-index: 3; left: calc(139/1366 * 100%); right: calc(139/1366 * 100%); bottom: 100px;}
.swiper-project { aspect-ratio: 16 / 9; }
.swiper-project .swiper-slide { height: auto; }
.swiper-project .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-project .swiper-slide::before { 
  content: ""; display: block; position: absolute; z-index: 2; bottom: 0; left: 0; width: 100%; height: calc(100% - 108px); background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 100%); 
}
.swiper-project .swiper-pagination { bottom: 50px; }
.swiper-project .swiper-pagination-bullet { background: var(--white); }

.project-txt { display: flex; justify-content: space-between; }
.project-data { 
  width: calc((100% - 50px) / 3); padding: 50px; background: rgba(204, 166, 107, 0.1); 
  display: flex; flex-direction: column; font-size: 2.4rem;
}
.project-data > * + *, .project-description > * + * { margin-top: 30px; }
.project-data span { color: var(--gold); }
.project-description { column-count: 2; column-gap: 50px; break-inside: avoid; width: calc((100% - 50px) / 3 * 2); }

.nounderline { text-decoration: none; }

@media only screen and (max-width: 1000px) {

  .project-img h1 { left: 5%; right: 5%; }
  .project-data { width: calc((100% - 50px) / 2); }
  .project-description { column-count: 1; width: calc((100% - 50px) / 2); }

}

@media only screen and (max-width: 800px) {

  .project-img, .swiper-project { aspect-ratio: auto; height: 100vh; }
  .swiper-project .swiper-pagination { bottom: 25px; }
  .project-img h1 { bottom: 50px;}
  .project-txt { flex-direction: column; }
  .project-data, .project-description { width: 100%; }
  .project-data { font-size: 1.8rem; padding: 30px; }
  .project-description { margin-top: 50px; }

}