@media (max-width: 760px) {

  .projects-section {
    padding: 98px 14px 120px;
  }

  .projects-heading {
    margin-bottom: 60px;
  }

  .projects-kicker {
    margin-bottom: 28px;
    font-size: 8px;
  }

  .projects-heading-row {
    display: block;
  }

  .projects-heading h2 {
    font-size: clamp(62px, 20vw, 104px);
    line-height: 0.84;
  }

  .projects-heading-row > p {
    max-width: 330px;
    margin-top: 32px;
    font-size: 13px;
    line-height: 1.62;
  }

  .projects-toolbar {
    position: sticky;
    top: var(--navbar-height);
    z-index: 50;
    margin-right: -14px;
    margin-bottom: 19px;
    margin-left: -14px;
    padding: 8px 14px 0;
    border-bottom: 0;
    background: rgba(2, 3, 2, 0.94);
    box-shadow: 0 10px 22px rgba(2, 3, 2, 0.24);
    backdrop-filter: blur(14px);
  }

  .projects-toolbar-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(244, 243, 239, 0.12);
  }

  .projects-tabs {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .projects-tab {
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: clamp(8px, 2.65vw, 11px);
    white-space: nowrap;
  }

  .projects-tab::after {
    right: 13px;
    bottom: -9px;
    left: 13px;
    height: 2px;
  }

  .projects-tab.is-active {
    background: rgba(244, 243, 239, 0.045);
  }

  .projects-tab span {
    display: none;
  }

  .projects-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 67px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid rgba(244, 243, 239, 0.12);
    border-radius: 9px;
    color: #b0afa9;
    background: rgba(244, 243, 239, 0.035);
    font: inherit;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
  }

  .projects-filter-toggle i {
    display: none;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    color: #0c0a05;
    background: #fcc751;
    font-size: 8px;
    font-style: normal;
    line-height: 16px;
    text-align: center;
  }

  .projects-filter-toggle.has-filters i {
    display: block;
  }

  .projects-filter-toggle b {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
  }

  .projects-filter-toggle b::before,
  .projects-filter-toggle b::after {
    position: absolute;
    top: 3px;
    left: 0;
    width: 8px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 220ms ease;
  }

  .projects-filter-toggle b::after {
    transform: rotate(90deg);
  }

  .projects-filter-toggle[aria-expanded="true"] b::after {
    transform: rotate(0);
  }

  .projects-filters {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease,
      padding 360ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .projects-toolbar.is-filter-open .projects-filters {
    display: flex;
    flex-wrap: wrap;
    max-height: 150px;
    padding: 11px 0 12px;
    opacity: 1;
    transform: translateY(0);
  }

  .project-filter {
    min-height: 30px;
    padding: 0 11px;
    font-size: 8px;
  }

  .projects-status {
    margin-bottom: 18px;
    font-size: 7px;
  }

  .projects-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 6px;
    gap: 9px;
  }

  .project-item.is-wide {
    grid-column: span 1;
  }

  .project-artwork {
    border-radius: 9px;
  }

  .project-item-copy {
    padding: 9px 2px 2px;
  }

  .project-item h3 {
    font-size: clamp(11px, 3.45vw, 14px);
  }

  .project-tags {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    font-size: clamp(6px, 1.9vw, 8px);
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .project-tags li {
    display: inline;
  }

  .project-tags li:not(:last-child)::after {
    margin: 0 5px;
  }

  .projects-more {
    padding-top: 58px;
  }
}

@media (max-width: 340px) {
  .projects-section {
    padding-right: 10px;
    padding-left: 10px;
  }

  .projects-toolbar {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .projects-toolbar-main {
    gap: 5px;
  }

  .projects-tab {
    padding: 0 4px;
    font-size: 8px;
  }

  .projects-filter-toggle {
    min-width: 58px;
    padding: 0 7px;
    font-size: 8px;
  }

  .projects-filter-toggle b {
    display: none;
  }

  .projects-gallery {
    gap: 7px;
  }

  .project-item-copy {
    padding-top: 8px;
  }

  .project-tags li:not(:last-child)::after {
    margin: 0 3px;
  }
}
