@charset "UTF-8";
/* Mixins
================================================== */
/* Breakpoints
================================================== */
/*
320px – very small phones (old iPhones, edge cases)

375px – modern iPhone width (very common)

450px – large phones / Pro Max

768px – iPad portrait

1024px – iPad landscape

1280px – common laptop

1440px – large monitors

1920px – full HD (usually max-width, not layout change)









*/
@media (max-width: 989px) {
  body {
    padding-bottom: 5em;
  }
}

.main-header {
  position: fixed;
  left: 0;
  width: 100%;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  padding: 1.5rem;
  font-size: 1em;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 10;
}
.main-header a.logo {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  top: -0.2em;
  text-indent: -99999px;
  overflow: hidden;
  margin-right: 1em;
}
.main-header a.logo {
  width: 7em;
  height: 2em;
  background: url(../../images/logo-stacked.svg) no-repeat left center;
  background-size: contain;
}
.main-header .menu-button {
  display: inline-block;
  padding: 0;
  border: none;
}
.main-header nav {
  display: none;
}
@media (max-width: 989px) {
  .main-header {
    overflow: visible;
    top: var(--viewport-bottom);
    bottom: auto;
    transform: translateY(-100%);
  }
}
@media (min-width: 990px) {
  .main-header {
    align-items: center;
    width: 50%;
    top: 0;
    bottom: auto;
    justify-content: flex-start;
  }
  .main-header a.logo {
    width: 11.5em;
    height: 1em;
    top: -0.05em;
    background: url(../../images/logo.svg) no-repeat left center;
    background-size: contain;
  }
  .main-header .menu-button {
    display: none;
  }
  .main-header nav {
    display: inline-flex;
  }
}

.main-nav {
  position: fixed;
  left: 0;
  width: 50%;
  bottom: 0;
  z-index: 10;
  padding: 1.5rem;
  box-sizing: border-box;
  display: none;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
@media (max-width: 989px) {
  .main-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
@media (min-width: 990px) {
  .main-nav {
    display: block;
  }
}

.main-menu {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: baseline;
}
.main-menu li {
  display: inline-flex;
  align-items: baseline;
}
.main-menu li:not(:last-child)::after {
  content: ", ";
}

.main-content {
  box-sizing: border-box;
  padding: 1.5em 1.5rem;
}
.main-content .footer {
  margin-top: 2em;
  width: 100%;
}
.main-content .page-title {
  margin-top: 0;
  font-weight: 500;
}
.main-content article {
  width: 100%;
}
@media (min-width: 990px) {
  .main-content {
    width: 50%;
    margin-left: auto;
    min-height: 100dvh;
    margin-right: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: space-between;
  }
  .main-content .page-title {
    display: none;
  }
}

.work-categories,
.external-links {
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  align-items: baseline;
  box-sizing: border-box;
  z-index: 2;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
.work-categories ul,
.external-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.work-categories li,
.external-links li {
  display: inline-flex;
  align-items: baseline;
}
.work-categories li:not(:last-child)::after,
.external-links li:not(:last-child)::after {
  content: ", ";
}
.work-categories.with-ig li:not(:last-child)::after,
.external-links.with-ig li:not(:last-child)::after {
  content: "";
  margin: 0;
}
.work-categories.with-ig li:not(:nth-last-child(-n+2))::after,
.external-links.with-ig li:not(:nth-last-child(-n+2))::after {
  content: ", ";
}
.work-categories.with-ig li:last-child,
.external-links.with-ig li:last-child {
  margin-right: 0;
  margin-left: auto;
}

.work-categories {
  padding: 1.5rem;
  background-color: #f5f2ee;
}
.work-categories:before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(0deg, #f5f2ee 0%, rgba(245, 242, 238, 0) 100%);
}

.external-links {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.5rem;
}
@media (min-width: 990px) {
  .external-links {
    bottom: 0;
    top: auto;
  }
}

.work-categories {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 50%;
  z-index: 9;
  display: none;
}
@media (min-width: 990px) {
  .work-categories {
    display: block;
  }
}

.project-cards {
  width: 100%;
}
.project-cards > ul, .project-cards > ul > li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.project-cards > ul {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.8rem;
  margin-left: -0.8rem;
}
.project-cards > ul > li {
  width: 50%;
  box-sizing: border-box;
  padding: 0.8rem;
}

.project-card .img {
  display: block;
  position: relative;
  padding-top: 135%;
  overflow: hidden;
}
.project-card .img img {
  top: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}
.project-card .heading {
  font-weight: 500;
}

.contact-details {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: baseline;
  z-index: 2;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
.contact-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.contact-details li {
  display: inline-flex;
  align-items: baseline;
}
.contact-details li:not(:nth-last-child(-n+2))::after {
  content: ", ";
}
.contact-details li:last-child {
  margin-right: 0;
  margin-left: auto;
}
.contact-details a[data-hover]:hover span {
  display: none;
}
.contact-details a[data-hover]:hover::after {
  content: attr(data-hover);
  font-size: 1em;
}

.project-details {
  box-sizing: border-box;
  padding: 1.5rem;
}
.project-details article {
  font-size: 0.8em;
}
.project-details ul, .project-details li {
  margin: 0;
  padding: 0;
}
.project-details ul {
  margin: 1em 0;
}
.project-details li {
  padding: 0.5em 0;
  border-bottom: solid 1px;
  list-style: none;
}
@media (min-width: 990px) {
  .project-details {
    width: 50%;
    position: sticky;
    top: 0;
    float: left;
  }
  .project-details article {
    font-size: 0.6em;
  }
}

@media (min-width: 990px) {
  .project-gallery {
    margin-right: 0;
    margin-left: auto;
    width: 50%;
  }
}

.project-gallery {
  overflow: hidden;
  padding: 1.5rem;
  box-sizing: border-box;
}
.project-gallery .gallery {
  margin-right: -0.8rem;
  margin-left: -0.8rem;
  display: flex;
  flex-wrap: wrap;
}
.project-gallery .gallery-item {
  padding: 0.8rem;
  box-sizing: border-box;
}
.project-gallery .gallery-item.full-width {
  width: 100%;
}
.project-gallery .gallery-item.half-width {
  width: 50%;
}

@media (min-width: 480px) {
  .studio-people-bits {
    margin-right: -0.8rem;
    margin-left: -0.8rem;
    display: flex;
    flex-wrap: wrap;
  }
}

.studio-person {
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .studio-person {
    width: 50%;
    padding: 0.8rem;
  }
}

.studio-group {
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .studio-group {
    padding: 0.8rem;
  }
}

.studio-group-body,
.studio-person-body {
  margin: 1em auto;
  font-size: 0.8em;
  margin-bottom: 2em;
}
@media (min-width: 990px) {
  .studio-group-body,
.studio-person-body {
    font-size: 0.6em;
  }
}

.lightbox {
  cursor: pointer;
  pointer-events: all;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.studio-section {
  margin-bottom: 4em;
}

.studio-acknowledgement,
.studio-about {
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
}

.mobile-menu {
  padding: 1.5rem;
  background-color: var(--color-charcoal);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
}
.mobile-menu:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 3em;
  transform: rotate(180deg);
  background: linear-gradient(0deg, #281204 0%, rgba(40, 18, 4, 0) 100%);
}
.mobile-menu li a {
  display: block;
  padding: 0.5em 0;
}
.mobile-menu:before {
  content: "Menu";
  position: absolute;
  padding: 1.5rem;
  top: 0;
  left: 0;
}
.mobile-menu ul, .mobile-menu li {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (max-width: 989px) {
  .mobile-menu {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}
@media (min-width: 990px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu {
  opacity: 0;
  transition: 0.5s;
  pointer-events: none;
}

.menu-open .mobile-menu {
  opacity: 1;
  transition: 0.5s;
  pointer-events: auto;
}
@media (max-width: 989px) {
  .menu-open .main-header {
    background-color: rgba(0, 0, 0, 0.2);
  }
  .menu-open .main-header .logo {
    filter: invert(1);
  }
  .menu-open .main-header:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 3em;
    transform: rotate(180deg);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  }
  .menu-open .main-header:before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 3em;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  }
}