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

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Special Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html,
body {
  height: 100%;
  overflow-y: auto;
}

.special-gothic-expanded-one-regular { 
    font-family: "Special Gothic Expanded One", sans-serif; 
    font-weight: 400; 
    font-style: normal; 
}

.special-gothic-uniquifier { 
  font-family: "Special Gothic", sans-serif; 
  font-optical-sizing: auto; 
  font-weight: 12px; 
  font-style: normal; 
  font-variation-settings: "wdth" 100; 
} 

a {
  color: #000000;
  text-decoration: none;
  line-height: 0.25;
}

a:hover {
  color: #515151
}



/*Nav*/
.nav-column {
  position: fixed;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 3em;
}

.logo img {
  width: 100%;
  max-width: 200px;
  box-align: center;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 2em;
}

.nav-links a {
  font-size: 1rem;
  box-align: center;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-parent {
  font-size: 1rem;
}

.nav-sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 1.25rem;
  margin-top: 0.15rem;
}

.nav-sub a {
  font-size: 0.8rem;
  color: #515151;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 2;
}



/*Grids and Grid Content*/
.grid {
  display: block;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  padding-left: calc(200px + 4rem);
  max-width: 1200px;
  margin: auto;
}

.grid img { 
  width: 100%; 
  height: auto; 
} 

.image-center {
  min-height: calc(100vh - 4rem);
  display: grid;
  place-items: center;
  padding-left: 2em; 
}

.links {
  clear: both;
  margin-top: 1rem;
}

.list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-bottom: 1rem;
}

.list-items li {
  list-style: none;
  font-style: italic;
  line-height: 1.5;
}

.list-items li::marker {
  content: none;
}

.clients-heading {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.text-viewport {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
}

.text-wrap {
  grid-row: 2;
}

.text-wrap img {
  float: right;
  width: 300px;
  max-width: none;
  margin: 3rem 0 1rem 1.5rem;
}

.text-wrap::after {
  content: "";
  display: block;
  clear: both;
}

.secondary-wrap img {
  float: left;
  width: 200px;
  margin: 1rem 1.5rem 1.5em;
}

@media (max-width: 700px) {
  .nav-column {
    position: static;
    width: auto;
  }

  .grid {
    padding-left: 2rem;
  }
}



/*Photo Column*/
.photo-column {
  width: 100%;
  display: block;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-gallery img {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
  break-inside: avoid;
  object-fit: cover;
}

.masonry-gallery img.three-two {
  aspect-ratio: 3 / 2;
}

.masonry-gallery img.two-three {
  aspect-ratio: 2/3
}

@media (max-width: 1100px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 700px) {
  .masonry-gallery {
    column-count: 1;
  }
}

.video-container { 
  position: relative; 
  padding-bottom: 56.25%; /* 16:9 ratio */ 
  height: 0; 
  overflow: hidden; 
} 

.video-container iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border: 6px; 
}

.image-module {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: .5em;
}

.menu-close {
  display: none;
}



/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2000;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  color: #111;
}



/* Mobile and Tablet*/
@media (max-width: 700px) {

  html {
    font-size: 90%;
  }
  
  /*Nav*/

  .nav-column {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    padding: 0 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    background: #fff;
    z-index: 1100;
    transform: none;
  }

  .logo img {
    max-width: 72px;
    height: auto;
    display: block;
  }

  .nav-toggle {
    display: block;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111;
    transition: 0.3s ease;
  }

  .nav-toggle span:nth-child(1) {
    top: 0;
  }

  .nav-toggle span:nth-child(2) {
    top: 9px;
  }

  .nav-toggle span:nth-child(3) {
    top: 18px;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 20vh 0 0 0;
    margin: 0;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .nav-column.open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.5rem;
    line-height: 1;
    width: auto;
    text-align: center;
  }

  .nav-links a:first-child {
    gap: 3rem;
  }

  .nav-links p {
    margin: 0;
  }

  .nav-column {
    position: relative;
    z-index: 1100;
  }

  .grid {
    padding-top: 0.75rem;
  }

  .image-center {
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-top: 3rem;
  }

  .image-center img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    object-position: 55% 20%;
  }

  .image-row {
    grid-template-columns: 1fr;
  }

  .image-module {
    padding-top: 4rem;
  }

  .masonry-gallery {
    padding-top: 4rem;
  }

  .text-wrap {
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .text-wrap img {
    order: -1;            
    float: none;         
    display: block;
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding-bottom: 1rem;
  }

  .secondary-wrap {
    max-width: 150px;
  }
}



/*Footer*/
.site-footer {
  width: 100%;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #515151;
}

.site-footer p {
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .site-footer {
    font-size: 0.7rem;
    padding: 1.5rem 1rem;
  }
}
