:root {
  --black: #494948;
  --gray: #494948;
  --cob: #8c8c8c;
  --blue: #2e6387;
  --smoke: #eaeaea;
  --snow: #f4f4f4;
  --font-sm: 0.8rem;
 /*--font-base: calc(16px + (20 - 16) * ((100vw - 320px) / (1366 - 320)));
  --font-lg: 21px;
  --font-2xl: 1.5rem;
  --font-3xl: 3rem;*/

  /* Base paragraph size: min 16px, max 19px */
  --font-base: clamp(16px, calc(16px + (19 - 16) * ((100vw - 320px) / (1920 - 320))), 19px);

  /* Large text: scales proportionally from font-base */
  --font-lg: clamp(21px, calc(21px + (25 - 21) * ((100vw - 320px) / (1920 - 320))), 25px);

  /* 2XL text */
  --font-2xl: clamp(1.5rem, calc(24px + (30 - 24) * ((100vw - 320px) / (1920 - 320))), 30px);

  /* 3XL text */
  --font-3xl: clamp(3rem, calc(48px + (60 - 48) * ((100vw - 320px) / (1920 - 320))), 60px);

  --grid-gap: 40px;
  --grid-4-1: 3fr 3fr 3fr 3fr;
  --grid-4-2: 3fr 3fr 3fr 3fr;
  --grid-2: 6fr 6fr;
  --grid-1: 1fr;
  --grid-84:8fr 4fr;
  --grid-48:4fr 8fr;
  --screen-fit: 90vh;
  --font-symbol: 'Material Symbols Outlined';
}
img.toplogo {
    width: 300px!important;
}
p,h3 {
    margin-block-start: 0!important;
	margin-block-end: 15px!important;
}
body{
	margin:0 auto!important;
}
h3.paddingtop {
    margin-top: 65px;
}

@media (max-width: 991px) {
  :root {
      --font-3xl: var(--font-2xl);
      --font-2xl: var(--font-lg);
      --grid-gap: 15px;
      --grid-2: 1fr;
      --grid-84:1fr;
      --grid-48:1fr;
      --grid-4-1:1fr;
      --grid-4-2: 1fr 1fr;
      --screen-fit: 75vh;
 }
}
.featured-image-tag {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

::selection {
  background-color: var(--black);
  color:var(--smoke);
}
body{
  background: var(--smoke);
	color:var(--black);
	  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
html{
	overflow-x:hidden;
}
h3 {
  font-weight:400;
}
p {
    margin-bottom: 0;
}
body, button, input, select, optgroup, textarea, a{
  font-family: "Source Code Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: var(--gray);
  font-size: var(--font-base);
	line-height: normal!important;
}
section{
  padding:40px;
  max-width:1560px;
	margin:0 auto!important;
}
.sec-full{
  padding:40px;
}
section.project{
	padding-bottom:0;
}
.wrapped-title{
	padding:40px 40px 0 40px;
}



.wrapped-title .entry-title {
    padding: 20px 0;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}
section.home-entry {
    display: grid;
    grid-template-columns: var(--grid-2);
    gap: var(--grid-gap);
	align-items: center;
}


.image-sec{
  align-items: center;
  width: 100%;
	  max-width:1480px;
  overflow: hidden;
  height: 80vh;
  /*background-attachment: fixed;*/
  background-size: cover;
  background-position: center;
}
.background-image{
  align-items: center;
  width: auto;
  overflow: hidden;
  min-height: 50vh;
  background-size: cover;
  background-position: center;
}
.image-sec img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid84{
  display: grid;
  grid-template-columns: var(--grid-84);
  gap: var(--grid-gap);
}
.entry-title{
  font-size: var(--font-3xl);
  margin:0;
  line-height:1.2;
  letter-spacing: -1px;
  font-weight: 400;
  text-transform: uppercase;
}
@media screen and (max-width: 1449px) {
  .entry-title{
      font-size: calc(64/1366*100vw);
 }
  section{
      padding:var(--grid-gap);
 }
	.service-sec{
    grid-template-columns: 1fr 1fr 1fr!important;
}
}

.aftertitle-about{
	padding: 0 40px;
}
@media screen and (max-width: 991px) {
  .entry-title{
      font-size: calc(64/768*100vw);
 }
	.aftertitle-about{
	padding: 0 20px;
}
  .intro, .service-text{
      grid-template-columns: 1fr !important;
 }
  section, .wrapped-title{
      padding:20px;
 }
	.service-item{
      padding:20px!important;
 }
	.service-sec{
    grid-template-columns: 1fr 1fr!important;
}
	.site-header{
		padding:10px 20px!important;
	}
}

@media screen and (max-width: 767px) {
		.service-sec{
    grid-template-columns: 1fr!important;
}
}


a:hover, a:focus, a:active{
  color: var(--blue);
}
 a:visited{
  color: var(--gray);
}
.contactpage-info *{
  font-weight: 400;
}
.gmap {
    max-width: 1560px;
}
.uk-text-emphasis {
    color: #2e6387 !important;
}
.gmap iframe{
  width:100%;
  height:100%;
  min-height: 40vh;
}
small, small a{
    font-size: 13px;
}
.contact-page{
  gap:var(--grid-gap);
  grid-template-columns: var(--grid-48);
  display: grid;
}
/* Header 
--------------------------------------------- */
.site-title img {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
 height: 40px!important;
  display: block;

}

.site-header.sticky-logo .site-title img {
  opacity: 1;
}



.site-header {
  z-index: 10;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  background-color: var(--smoke);  padding-bottom:10px;
  padding: 10px 40px;
  max-width:1560px;
	margin:0 auto!important;
}

a.entry-title{
	display:block;
	text-decoration:none;
	width:100%;
}

.header-left {
  display: flex;
  align-items: center;
}
.header-right{
  display:flex;
  justify-content: center;
  align-items: center;
}
.header-wraper{
  width:auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 1vw 0;
  display: grid;
  gap:var(--grid-gap);
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 2px solid var(--gray);
  border-top: 2px solid var(--gray);
}
#primary-menu {
  color: var(--gray);
  list-style: none;
  margin: 0 5px;
  display: flex;
  gap: 1em;
  padding-inline-start: 0;
}
#primary-menu li a, .header-wraper a{
  text-decoration: none;
  color: var(--gray);
  transition: text-decoration 0.2s ease-out;
  will-change: text-decoration;
  text-transform: uppercase;
	font-size: var(--font-lg);
}
.logo {
    height: 40px !important;
    width: auto !important;
    z-index: 10;
    position: -webkit-sticky;
    position: sticky;
    top: 1vw;
}
#primary-menu li a:hover, .header-wraper a:hover{
  text-decoration: underline;
}
a.header-cta {
  text-align: right;
}
.site-title{
  margin: 0;
  width: fit-content;
}
.site-title a {
  height: 40px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.site-title a:hover{
  opacity: 0.8;
}
.mobile-menu-toggle {
  display: none;
}

.mobile-menu.show::after {
  backdrop-filter: blur(5px);
  display: block;
  z-index: -1;
  position: absolute;
  content: '';
  width: 110%;
  height: 100vh;
  margin-left: -10%;
}
.mobile-menu{
  display: none;
}

.flex-col{
  display: flex;
  flex-direction: column;
  justify-content: space-between
}
/*mobile menu
-----------------------------*/
@media (max-width: 990px) {
  .header-right-item {
      display: none;
 }
  .header-right {
      justify-content: flex-end;
 }
 .mobile-menu-wraper {
  width: 100%;
}
  .mobile-menu{
      width:100vw;
      background-color: var(--smoke);
      flex-direction: column;
      gap: 10vh;
      padding: 35px 10px;
 }
 .mobile-menu a{
 font-size: var(--font-3xl);
 }  
.mobile-contact{
  display:flex;
  flex-direction: column;
}
  #primary-menu {
      display: flex;
      flex-direction: column;
      padding: 0;
      margin:0;
      line-height: 1.4;
      font-size: var(--font-3xl);
 }
  .cont-grid {
      display: grid;
      grid-template-columns: 4fr 4fr;
      gap: 5vw;
      align-content: center;
      align-items: center;
 }
  .mobile-menu-toggle {
      display:flex;
      color: var(--gray);
      padding: 5px;
      cursor: pointer;
      text-align: center;
      font-size: 36px;
      width: 40px;
      height: 40px;
      border-radius:50%;
 }
  .header-wraper {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
 }
}
/* Footer --------------------------------------------- */
footer.site-footer{
background-color: #111;
}
.site-footer section{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--grid-gap);
}
.footer-credits{
  color:var(--smoke);
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--grid-gap);
}
.footer-info{
  color:var(--smoke);
  width:100%;
}
.grid-44{
  display: grid;
  grid-template-columns: var(--grid-2);
}

.footer-credits div:first-child {
  margin-top: 20px;
}
.footer-info a{
  color:var(--smoke);
}
ul.footer-menu a{
  color: var(--smoke);
}
ul.footer-menu{
  margin-top: 1em!important;
}
#footer-menu, ul.footer-menu{
  padding:0;
  margin:0;
}

/* 
About ---------*/
.a-in h3{
	 font-size: var(--font-2xl);
	color: var(--blue);
	margin-top:0;
}

.about-text h3{
	color: var(--blue);
}
.black{
	color: var(--black)!important;
}
.about-text img {
  object-fit: cover;
}
.single-page-main{
  display: grid;
  gap: var(--grid-gap);
}
.single-page-main .about-text{
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: var(--grid-2);
  
}
.aboutpage{
	    align-items: center;
}
.single-page-main .about-text div h3{
  font-size: var(--font-2xl);
	margin-bottom:0;
}
.about-wrapper{
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
  align-items: center;
  min-height: 50vh;
  justify-content: center;
}
section.project-images {
  display: grid;
  grid-template-columns: var(--grid-4-2);
  align-content: center;
  justify-content: center;
  align-items: center;
  justify-items: stretch;
  gap: var(--grid-gap);
}
.project-images img{
  width: auto;
  object-fit:cover;
  height: -webkit-fill-available;
  aspect-ratio: 1;
}
.about span{
  font-size: var(--font-lg);
}

/* 
Services Home -------------------------------*/
.service-item p {
    margin-bottom: 0;
}
.service-cards-wrapper {
  display: grid;
  grid-template-columns: var(--grid-4-1);
  gap:var(--grid-gap);
}

.service-inner{
  display: flex;
	flex-direction:column;
  align-items: flex-start;
}
.grid {
  grid-template-columns: var(--grid-2);
  display: grid;
}


.service-item {
    background-color: var(--smoke);
    color: var(--black);
    padding: 40px;
    position: relative; 
}

/* Default: 4 columns */
.service-item:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2px;
  height: calc(100% - 80px);
  background-color: var(--black);
  transform: translateY(-50%);
  margin-right: -2px;
  z-index: 2;
}

/* 3-column layout */
@media screen and (max-width: 1449px) {
  .service-item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 2px;
    height: 85%;
    background-color: var(--black);
    transform: translateY(-50%);
    margin-right: -2px;
    z-index: 2;
  }
}

/* 2-column layout */
@media screen and (max-width: 991px) {
  .service-item:nth-child(2n):not(:nth-child(2n))::after {
    content: none;
  }
  .service-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 2px;
    height: 85%;
    background-color: var(--black);
    transform: translateY(-50%);
    margin-right: -2px;
    z-index: 2;
  }
}

/* 1-column layout (no separator needed) */
@media screen and (max-width: 767px) {
  .service-item::after {
    content: none !important;
  }
}



/*
.service-item{
  background-color:var(--smoke);
  color: var(--black);
  padding:var(--grid-gap);
  border-right: 2px solid var(--black);
}
.service-item:nth-child(4n){
	  border-right: 0px solid var(--black);
}

@media (max-width: 1448px) {
	.service-item:nth-child(3n){
	  border-right: 0px solid var(--black);
}
}

@media (max-width: 990px) {
	.service-item:nth-child(2n){
	  border-right: 0px solid var(--black);
}
}

@media (max-width: 766px) {
	.service-item{
	  border-right: 0px solid var(--black);
	  border-bottom: 2px solid var(--black);
}
	.service-item:last-child{
		  border-bottom: 0px solid var(--black)!important;
	}
}
*/
.border{
	width:100%;
	height:2px;
	background:var(--black);
}
.service-text h3, .service-n{
  font-size: var(--font-lg);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  hyphens: auto;
}
.service-n {
  font-weight: 400;
	color:var(--blue);
}
.service-sec{
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.service-right {
  display: flex;
  flex-direction: column;
}
.service-right2 {
  display: flex;
}
.about-wrapper .entry-title{
  font-weight: 400;
  text-align: center;
  flex-direction: column;
}
/* Buttons --------------------*/
.btn-a11 {
  position: relative;
  text-decoration: none;
  border: none;
  background: none;
  padding: 5px 0px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease-out;
}
.btn-a11.light {
  color: var(--gray);
}
.btn-a11.dark {
  color: var(--smoke);
}
.btn-a11::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}
.btn-a11:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.btn-a11 .material-symbols-outlined {
  margin-left: 8px;
  font-size: 18px;
}

a.mobile-menu-toggle .material-symbols-outlined{
	line-height:1.4;
}
@media screen and (max-width: 991px) {
  .hide-sm{
      display:none;
 }
  .service-right{
      padding:0;
 }
	.image-sec{
		height:50vh;
	}
	
	.footer-info{
    min-height: 40vh!important;
}
}
	.footer-info{
    min-height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
		    gap: 20px;
}
/* Projects 
---------------------------*/
.project-archive-grid{
  display:grid;
  grid-template-columns: var(--grid-4-1);
  gap:var(--grid-gap);
}
.project-thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.project-thumbnail img{
  
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

.project-archive-item:hover .project-thumbnail img{
    transform: scale(1.1);

}
.archive-item-title{
  font-size:var(--font-base);
  margin-bottom: 0px;
  margin-top: 5px!important;
  line-height: 1.2;
  text-decoration: none;
  transition: text-decoration 0.3s ease-out;
  letter-spacing: -0.011em;
}
.archive-item-title:hover{
	color:var(--blue);
}
.project-archive-item-ifno span {
  font-size: 13px;
  text-transform: uppercase;
}
.project-archive-item-ifno{
  padding:10px 0;
}

.project-archive-item:hover .archive-item-title{
  text-decoration: underline;
}


.project-intro {
  margin-bottom: 20px;
  font-size: 1.2em;
}
.project-main-text {
  margin-bottom: 20px;
}
.project-featured-image img, .project-gallery img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.project-details {
  margin-top: 20px;
  font-size: 1.1em;
}
.project-details p {
  margin: 5px 0;
}
.project-navigation {
  padding: var(--grid-gap);
  display: flex;
  justify-content: space-between;
}

.intro-left img{
  width:100%;
  height: auto;
  margin-top: 20px;
}
section.intro.project-archive{
  display: grid;
  gap:var(--grid-gap);
  grid-template-columns: 8fr 4fr;
}
section.intro{
  display: grid;
  gap:var(--grid-gap);
  grid-template-columns: var(--grid-84);
}
@media screen and (max-width: 991px) {
  section.intro.project{
      gap:0;
 }
}
.home .intro .intro-item.intro-left img {
    width: 320px;
}
/* Gallery 
-------------------------------*/
.single .gallery > .wrapper {
  margin: 0 auto;
}
.single .gallery .header {
  margin-bottom: 1rem;
}
.single .gallery .header > .title {
  font-size: var(--font-xl);
}
.single .gallery .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 540px) {
  .single .gallery .grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
 }
}
@media (min-width: 720px) {
  .single .gallery .grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
 }
}
.single .gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/* Modal */


#gallery-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gray);
}
#gallery-modal.active {
  display: block;
}
#gallery-modal > .wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#gallery-modal .swiper {
  width: 100%;
  height: 100%;
}
#gallery-modal .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
#gallery-modal .swiper-slide img {
  max-width: calc(100% - 20px);
  max-height: calc(100% - 110px);
  object-fit: contain;
}
#gallery-modal .swiper-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--black);
  color: var(--smoke);
}
#gallery-modal .swiper-slide .caption > .wrapper {
  padding: 20px;
  text-align: center;
  font-size: var(--font-sm);
}
#gallery-modal .swiper-pagination {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  color: var(--cob);
}
#gallery-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9;
  margin: 20px;
  cursor: pointer;
  font-size: var(--font-2xl);
  color: var(--cob);
}
body.gallery-modal-active {
  overflow: hidden;
}

/*--------------------------------------------------------------
# Symbols
--------------------------------------------------------------*/

.symbol {
  font-family: var(--font-symbol);
  font-weight: normal;
  font-style: normal;
  font-size: var(--font-2xl);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.symbol::after {
  display: inline-block;
}

/* new */

.symbol-expand-more::after {
  content: '\e5cf';
}

.symbol-expand-less::after {
  content: '\e5ce';
}

/* Search */

.symbol-search::after {
  content: '\e8b6';
}

.symbol-add::after {
  content: '\e145';
}

.symbol-explore::after {
  content: '\e87a';
}

.symbol-chevron-right::after {
  content: '\e5cc';
}

.symbol-chevron-left::after {
  content: '\e5cb';
}

.symbol-where-to-vote::after {
  content: '\e177';
}

.symbol-pets::after {
  content: '\e91d';
}

.symbol-open-in-full::after {
  content: '\f1ce';
}

.symbol-forest::after {
  content: '\ea99';
}

.symbol-landscape::after {
  content: '\e3f7';
}

.symbol-pets::after {
  content: '\e91d';
}

.symbol-psychiatry::after {
  content: '\e123';
}

.symbol-hiking::after {
  content: '\e50a';
}

.symbol-schedule::after {
  content: '\e8b5';
}

.symbol-article::after {
  content: '\ef42';
}