/* Reversible BIG-inspired layout experiment. Remove this stylesheet and the
   big-template body class to return to the previous STRATA layout. */
@media (min-width: 761px) {
  body.big-template .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 184px;
    height: 100vh;
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom: 0;
    border-right: 1px solid #dededb;
  }

  body.big-template .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    font-size: 15px;
    margin-top: 30px;
  }

  body.big-template .main-nav .nav-contact {
    display: block;
    width: auto;
    margin-top: 4px;
    padding: 0;
    border: 0;
  }

  body.big-template main,
  body.big-template .site-footer {
    margin-left: 184px;
  }
}

body.big-template .projects {
  padding: 130px 6.2vw 145px;
  background: #fff;
}

body.big-template .section-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
  row-gap: 28px;
  margin-bottom: 38px;
}

body.big-template .section-heading .section-index { grid-column: 1 / -1; }
body.big-template .section-heading h2 { grid-column: 1; }
body.big-template .section-heading .section-note { grid-column: 2; }

body.big-template .portfolio-categories[hidden] { display: flex; }
body.big-template .portfolio-categories {
  display: flex;
  gap: 28px;
  align-items: center;
  border-top: 1px solid #d9d9d5;
  border-bottom: 1px solid #d9d9d5;
  padding: 16px 0;
  margin-bottom: 22px;
  color: #777;
  font: 11px "Oswald Local", "Oswald", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.big-template .portfolio-categories .category-active { color: #111; }
body.big-template .portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 20px; }
body.big-template .portfolio-grid > .project-card:first-child { grid-column: 1 / -1; }

body.big-template .project-card[hidden] { display: block; }
body.big-template .project-visual { height: clamp(330px, 54vw, 700px); background: #f0f0ed; }
body.big-template .project-template-card .project-visual { height: clamp(240px, 33vw, 440px); }
body.big-template .project-meta { grid-template-columns: 1fr auto; gap: 18px; padding-top: 17px; }
body.big-template .project-meta > div:first-child { gap: 15px; }
body.big-template .project-detail { grid-column: 1; grid-row: 2; gap: 22px; }
body.big-template .project-arrow { grid-column: 2; grid-row: 1 / span 2; }
body.big-template .project-note { margin-top: 54px; text-align: left; }

@media (max-width: 760px) {
  body.big-template .site-header {
    position: relative;
    inset: auto;
    width: auto;
    height: 78px;
    padding: 0 6vw;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid #dededb;
  }

  body.big-template .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    padding: 24px 6vw 30px;
    background: #fff;
    border-bottom: 1px solid #dededb;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body.big-template .main-nav.open { display: flex; }
  body.big-template .main-nav .nav-contact {
    display: block;
    width: auto;
    margin-top: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #dededb;
  }
  body.big-template .menu-toggle { display: flex; }
  body.big-template main,
  body.big-template .site-footer { margin-left: 0; }
  body.big-template .projects { padding: 88px 7vw 100px; }
  body.big-template .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  body.big-template .section-heading .section-index,
  body.big-template .section-heading h2,
  body.big-template .section-heading .section-note { grid-column: 1; }
  body.big-template .portfolio-categories { gap: 16px; overflow-x: auto; white-space: nowrap; font-size: 9px; }
  body.big-template .portfolio-grid { grid-template-columns: 1fr; gap: 34px; }
  body.big-template .portfolio-grid > .project-card:first-child { grid-column: auto; }
  body.big-template .project-visual { height: 105vw; max-height: 570px; }
  body.big-template .project-template-card .project-visual { height: 72vw; }
  body.big-template .project-meta { grid-template-columns: 1fr auto; }
  body.big-template .project-detail { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  body.big-template .project-arrow { grid-column: 2; grid-row: 1; }
}
