* {
  box-sizing: border-box;
}

:root {
  --text: #222;
  --muted: #777;
  --light: #f7f7f7;
  --page-x: clamp(20px, 8vw, 120px);
}

html {
  background: #fff;
  color: var(--text);
  font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.v6-visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px !important;
  overflow: hidden;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.canvas {
  margin: 0 auto;
  max-width: 1440px;
  min-height: 100vh;
  padding: 92px var(--page-x) 80px;
}

.site-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 94px;
}

.site-title {
  color: #222;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(34px, 3.1vw, 42px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 31px;
  padding-top: 7px;
}

.site-nav a,
.menu-toggle,
.project-title,
.back-link {
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.6;
  text-transform: uppercase;
}

.site-nav a {
  color: #999;
  text-decoration: none;
}

.site-nav a.active,
.site-nav a:hover,
.site-title:hover {
  color: #111;
}

.menu-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  color: #999;
  cursor: pointer;
  display: none;
  margin: 0 auto 40px;
  padding: 0;
}

.projects-grid {
  display: grid;
  gap: 38px 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  color: #404040;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

.project-image-wrap {
  aspect-ratio: 1 / 1;
  background: var(--light);
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
}

.project-image-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-card:hover .project-image-wrap {
  opacity: 0.88;
}

.project-title {
  display: block;
}

.content-page {
  color: #575757;
  margin: 0 auto;
}

.content-page a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page p {
  margin: 0 0 1.35em;
}

.content-page h1,
.content-page h2,
.content-page h3 {
  color: #222;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0 0 0.9em;
  text-transform: uppercase;
}

.content-page h1 {
  font-size: 2em;
}

.content-page h2 {
  font-size: 1.6em;
}

.content-page h3 {
  font-size: 1.3em;
}

.back-link {
  color: #999;
  display: inline-block;
  margin-bottom: 38px;
  text-decoration: none !important;
}

.back-link:hover {
  color: #111;
}

.sqs-layout {
  width: 100%;
}

.sqs-row {
  display: grid;
  gap: 0 36px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sqs-col-1,
.span-1 { grid-column: span 1; }
.sqs-col-2,
.span-2 { grid-column: span 2; }
.sqs-col-3,
.span-3 { grid-column: span 3; }
.sqs-col-4,
.span-4 { grid-column: span 4; }
.sqs-col-5,
.span-5 { grid-column: span 5; }
.sqs-col-6,
.span-6 { grid-column: span 6; }
.sqs-col-7,
.span-7 { grid-column: span 7; }
.sqs-col-8,
.span-8 { grid-column: span 8; }
.sqs-col-9,
.span-9 { grid-column: span 9; }
.sqs-col-10,
.span-10 { grid-column: span 10; }
.sqs-col-11,
.span-11 { grid-column: span 11; }
.sqs-col-12,
.span-12 { grid-column: span 12; }

.sqs-block {
  margin-bottom: 24px;
}

.sqs-block-html {
  padding-top: 2px;
}

.sqs-html-content > :last-child,
.sqs-block-content > :last-child {
  margin-bottom: 0;
}

.spacer-block {
  min-height: 24px;
}

.sqs-block-image-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.sqs-block-image-figure {
  margin: 0 auto;
}

.image-block-wrapper,
.image-inset,
.sqs-image-shape-container-element {
  width: 100%;
}

.sqs-image-shape-container-element.has-aspect-ratio {
  position: relative;
}

.sqs-image-shape-container-element.has-aspect-ratio img {
  inset: 0;
  position: absolute;
}

.image-caption,
.image-caption p,
figcaption {
  color: #777;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 12px;
}

.embed-block-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.embed-block-wrapper > iframe,
.embed-block-wrapper .sqs-video-wrapper,
.embed-block-wrapper .sqs-video-wrapper iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.sqs-embed-container iframe {
  max-width: 100%;
}

.about-page .sqs-row {
  align-items: start;
}

.about-page img {
  width: 100%;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

@media (max-width: 750px) {
  .canvas {
    padding: 16px 20px 60px;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    display: block;
    margin-bottom: 84px;
    text-align: center;
  }

  .site-nav {
    border-bottom: 1px solid #ddd;
    display: none;
    gap: 0;
    margin: 0 0 34px;
    padding: 0 0 16px;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    display: block;
    font-size: 16px;
    line-height: 2.5;
  }

  .projects-grid {
    gap: 16px 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-image-wrap {
    margin-bottom: 4px;
  }

  .project-title {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .content-page {
    margin-top: -34px;
  }

  .sqs-row {
    display: block;
  }

  .sqs-row > [class*="sqs-col"],
  .sqs-row > [class*="span-"] {
    width: 100%;
  }

  .sqs-block {
    margin-bottom: 22px;
  }

  .spacer-block {
    display: none;
  }
}
