@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

* {
  font-family: Lato;
  font-weight:300;
}
:root {
  --blue:#246B8B;
}
img {
  max-width:100%;
  height:auto;
}
.wide {
  width:90rem;
  max-width:90%;
  margin:0 auto;
}
@keyframes details-show {
  from {
    opacity:0;
    transform: var(--details-translate, translateY(-0.5em));
  }
}
h1, h2, h3, h4 {
  font-weight: 900;
}

h1 {
  font-size:1.5rem;
}
h2 {
  font-size:1.25rem;
}
.hero-slider-wrap {
  display:block;
  padding:0;
  margin:0;
  list-style-type:none;
}
nav ul {
  list-style-type:none;
  padding:0;
}
details ul {
  display:block;
  position:absolute;
  background:white;
  left:0;
  right:0;
  padding:1rem 0.5rem;
  z-index:99999;
}

details li {
  padding:0.25rem 0;
}

.hero-project, .hero-contact {
  display:flex;
  position:relative;
  flex-wrap:wrap;
  justify-content: center;
}

.map-wrapper {
  width:100%;
}

.map-wrapper iframe {
  margin-bottom:0;
}
.hero-project-image {
  position:relative;
  padding-bottom:calc(56.25%);
  width: 100%;
}
.hero-project-image-wrap {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;

}

.hero-project-info {
  background:white;
  padding:1rem 2rem;
  width:80%;
  margin-top:-2rem;
  position: relative;
}

.project-info {
  border-collapse:collapse;
  margin-bottom:1rem;
}
.project-info tr {

  border-bottom: 1px dotted black;
}

.project-info tr:last-child {
  border-bottom:0;
}

.project-info td {
  padding:0.5rem 0.5rem;
  width:50%;
}
.project-info td:first-child {
  font-weight:bold;
  padding-left:0;
}
.button {
  border:0.25rem solid black;
  color:black;
  text-transform: uppercase;
  text-decoration: none;
  padding:0.5rem 2rem;
  font-weight:900;
  display:inline-block;
  transition: all 0.8s;
}
.button::after {
  content:"\27F6";
  margin-left:0.5rem;
  display:inline-block;
  transition: all 0.2s;
}
.button:hover, .button:active, .button:focus {
  background:var(--blue);
  border: 0.25rem solid var(--blue);
  color:white;

}
.button:hover::after {
  transform: translatex(0.5rem);
}
.single-project-gallery {
  display: flex;
  flex-wrap:wrap;
  gap:  1rem;
  margin-bottom:4rem;
}

.single-project-gallery a {
  width:15rem;
  position:relative;
  padding-bottom:10rem;
  display:Block;
  overflow:hidden;
  max-width:calc(50% - 0.5rem)
}

.single-project-gallery img {
  position:absolute;
  left:0;
  bottom:0;
  right:0;
  top:0;
  object-fit: cover;
}

.personnel-list {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-bottom:4rem;
  margin-top:2rem;
}

.single-person {
  width:calc(50% - 0.5rem)
}

.social-media svg {
  height:1.5rem;
  margin-right:0.5rem;
}
@media screen and (min-width:60rem) {
  summary {
    display:none;
  }
  details ul {
    position:relative;
  }
  details li {
    display:inline-block;
    padding:0.25rem 2rem;
  }
  details li:last-of-type {
    padding-right:0;
  }
}

details[open] > *:not(summary) {
  animation: details-show 250ms ease-in-out;
}

a {
  color:var(--blue);
}
summary {
  cursor:pointer;
  list-style-type: none;
}
.hero-slide-wrapper {
  padding-bottom:50%;
  position:relative;
  display:flex;
  justify-content: center;
  align-items:center;
}
.hero-background {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
}
.hero-background-img {
  display:block;
  object-fit: cover;
  object-position:top center;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%,-50%);
  left: 50%;
  top: 50%;
  position:absolute;
  max-width:100%;
  max-height:100%;
}

.hero-content {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  justify-content: center;
  align-items:center;
  text-align:center;
  transition: all 0.8s;
}

.hero-content:hover {
  backdrop-filter: blur(0.25rem);
}

.hero-heading, .hero-heading a {
  z-index:2;
  color:white;
  text-decoration:none;
  text-shadow:0.25rem 0.25rem 0.5rem rgba(0,0,0,0.5);
}

.hero-heading h4 {
  font-weight:900;
  font-size:2rem;
  margin-bottom:0.5rem;
}

.narrow {
  width:54rem;
  max-width:90%;
  margin:0 auto;
}

.site-header {
  margin:0 auto;
  padding:0.5rem;
  display:flex;
  justify-content: space-between;
  position:relative;
  align-items:center;
}

.site-content {
  padding-top:2rem;
}

h1 {
  font-weight:900;
  margin-bottom:3rem;
}
p {
  margin-bottom:2rem;
}
h1::after {
  content:"";
  display:block;
  width:5rem;
  height:0.5rem;
  background:black;
  margin-top:1rem
}

.site-footer {
  border-top:1px solid lightgray;
  padding:3rem 0;
  display: grid;
  column-gap: 1rem;
  row-gap:1rem;
  grid-template-rows: 1fr 1fr 1fr;
}
iframe {
  width:100%;
  display:block;
  margin:2rem 0;
}

.swiper-button-next, .swiper-button-prev {
  color:white;
}

.logos {
  display:flex;
  gap:0.5rem;
  margin-top:4rem;
  margin-bottom:4rem;
  flex-wrap:wrap;
  align-items:center;
  justify-content: center;
}
.logos img {
  width:calc(50% - 0.25rem);
  height:auto;
}

.featured-projects {
  margin-top:4rem;
  margin-bottom:4rem;
}
.featured-projects-wrapper a {
  text-decoration:none;
  line-height:0;
  display:block;
  margin-bottom:1rem;
}
.see-more {
  background:lightgray;
  padding:2rem;
  padding-top:6rem;
  font-size:1.5rem;
  font-weight:300;
  text-decoration:none;
  color:black;
}

.see-more::after {
  content:"\27F6";
  margin-left:0.5rem;
  display:inline-block;
  transition: all 0.2s;
}
nav a {
  font-weight: 900;
  color:black;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.5s;
}
nav a:hover {
  color:var(--blue);
}
.hero-projects {
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom:4rem;
}
.hero-projects-image {
  position:relative;
  padding-bottom:calc(56.25%);
  width:100%;
}

.hero-projects-image-wrap {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}

.project-list {
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:2rem;
  margin-bottom:4rem;
}

.project-list-single {
  color:black;
  text-decoration:none;
  transition: all 0.8s;
  width:100%;
  margin-bottom:1rem;
}

.project-list-single:hover .project-list-info {
  transform:translateY(-1rem);
}

.project-list-image {
  padding-bottom:56.25%;
  position:relative;
}
.project-list-image-wrap {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}
.project-list-info {
  background:white;
  padding:1rem;
  margin-top:-3rem;
  z-index:2;
  width:60%;
  position:relative;
  display:inline-block;
  float:right;
  margin-right:2rem;
  transition: all 0.8s;
}

.project-list-info h4 {
  margin:0;
  margin-bottom:0.5rem;
}
.hero-projects-image-wrap img {
  object-fit: cover;
}
.single-project-cta {
  margin:4rem 0;
  text-align:center;
}
@media screen and (min-width:40rem) {
  .project-list-single {
    width:calc(50% - 1rem);
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size:1.5rem;
  }
}
@media screen and (min-width:60rem) {
  .logos img {
    width:calc(25% - 0.375rem);
  }
  .featured-projects-wrapper {
    display:grid;
    column-gap:1.5rem;
    row-gap:1.5rem;
    grid-template-columns: 5fr 3fr 4fr;
  
  }
  .featured-projects-wrapper a {
    margin-bottom:0;
    transition:all 0.5s;
  }
  .featured-projects-wrapper a:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 1.5rem -0.5rem rgba(0,0,0,0.2);
  }
  
  .site-footer {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows:1fr;
  }
  .column {
    display:grid;
    row-gap:1.5rem;
    align-content:start;
  }
  .hero-projects-image, .hero-projects-content {
    width:calc(50% - 0.5rem);
  }
  .hero-projects-content {
    order:1;
  }
  .hero-projects-image {
    order: 2;
    padding-bottom:calc(56.25% / 2);
  }
  .column-2 {
    margin-top:1.5rem;
  }
  .project-list-single {
    width:calc(33.3% - 0.67rem);
  }
  .hero-project, .hero-contact {
    align-items: center;
    justify-content:flex-start;
    margin-bottom:4rem;
  }
  .hero-project-info {
    margin-left:-2rem;
    position: relative;
    z-index: 2;
    margin-top:0;
  }
  .hero-project-image {
    max-width:75%;
    padding-bottom:calc(56.25% / 1.33);
  }
  .hero-project-info {
    width:calc(25% - 2rem);
  }
  .map-wrapper {
    max-width:75%;
  }
  .single-person {
    width:calc(25% - 1rem);
  }
}